Liquid medicine dispensing instrument control method, device, equipment and medium
By using an automated liquid dispensing device, the preparation time, ratio, and air pressure are determined according to the liquid preparation requirements, and a control scheme is generated. This solves the problems of long dispensing time and low accuracy, and achieves efficient and accurate liquid dispensing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TIANJIN ZHONGHE YONGTAI TECH CO LTD
- Filing Date
- 2023-07-19
- Publication Date
- 2026-04-17
AI Technical Summary
Existing liquid dispensing instruments rely on manual operation, resulting in long dispensing times and difficulty in ensuring accuracy, thus failing to meet the demand for efficient and precise dispensing.
By obtaining the drug preparation requirements, determining the preparation time, ratio, and air pressure, a control scheme is generated, and the drug dispensing instrument is automatically controlled to dispense the drug solution, ensuring precise control of the amount of drug concentrate and saline solution.
It achieves efficient and precise dispensing of liquid medicine, improving dispensing efficiency and accuracy, and reducing the time consumed by manual operation.
Smart Images

Figure CN116850892B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of liquid medicine dispensing, and in particular to a control method, device, equipment and medium for a liquid medicine dispensing instrument. Background Technology
[0002] A medicine dispensing instrument is a device that dispenses medicines according to the required quantity. During dispensing, staff dispense the medicine from the original bottle into multiple dispensing bottles according to the required quantity.
[0003] However, manual dispensing requires staff to rely on practical experience and visual estimation to control the dispensing volume. It often takes a long time to dispense the liquid in a single dispensing bottle, and it is difficult to guarantee the dispensing accuracy, thus failing to meet the demand for efficient and accurate dispensing. Summary of the Invention
[0004] To achieve efficient and accurate dispensing of pharmaceutical solutions, this application provides a control method, device, equipment, and medium for a pharmaceutical dispensing instrument.
[0005] In a first aspect, this application provides a control method for a liquid dispensing instrument, which adopts the following technical solution:
[0006] A method for controlling a liquid medicine dispensing device includes:
[0007] Obtain the drug preparation requirements, wherein the drug preparation requirements include the quantity of drug preparation, the type of drug preparation, and the total preparation time;
[0008] The preparation time of the medicine solution is determined based on the quantity of the medicine solution prepared, the type of medicine solution prepared, and the total preparation time of the medicine solution.
[0009] Obtain the preparation ratio of the drug solution preparation type, and determine the amount of drug stock solution and saline solution based on the preparation ratio;
[0010] The gas pressure is determined based on the amount of the drug stock solution, the amount of saline solution, and the preparation time of the drug solution;
[0011] A control scheme is generated based on the gas pressure and the drug preparation requirements, and the drug dispensing instrument is controlled based on the control scheme.
[0012] By adopting the above technical solution, the preparation time of the drug solution is determined according to the actual drug solution preparation requirements. Therefore, the drug solution is prepared according to the specified preparation time, improving the efficiency of the preparation. During preparation, pressurization is required to increase the flow rate of the drug solution. Simultaneously, the specific amounts of drug concentrate and saline solution are determined. During preparation, the flow rates of the drug concentrate and saline solution are strictly controlled to achieve efficient and accurate dispensing of the drug solution.
[0013] Optionally, determining the drug preparation time based on the quantity of the drug solution, the type of drug solution, and the total preparation time includes:
[0014] Obtain the standard preparation time range for the aforementioned drug solution preparation type;
[0015] Determine whether the preparation types of the drug solutions are of the same type;
[0016] If the drug solution preparation type is the same, the first preparation time is calculated based on the quantity of drug solution prepared and the total preparation time of the drug solution.
[0017] Determine whether the first preparation time is within the standard preparation time range;
[0018] If the first preparation time is within the standard preparation time range, then the first preparation time shall be taken as the drug solution preparation time;
[0019] If the first preparation time is outside the standard preparation time range, the drug preparation time is determined based on the first preparation time and the standard preparation time range.
[0020] If the drug solution preparation type is different, the total preparation time of the drug solution is divided into multiple preparation time periods based on the standard preparation time interval and the drug solution preparation type;
[0021] The preparation time of the drug solution is determined based on the preparation time period and the standard preparation time.
[0022] Optionally, determining the amount of drug stock solution and saline solution based on the preparation ratio includes:
[0023] Obtain the total amount of medicine solution corresponding to the prepared medicine solution type;
[0024] The amount of the drug stock solution and the amount of the saline solution are determined based on the total amount of the drug solution and the preparation ratio.
[0025] Optionally, determining the gas pressure based on the amount of the original drug solution, the amount of saline solution, and the drug solution preparation time includes:
[0026] The pressurization time of the original drug solution and the pressurization time of the saline solution are determined based on the drug solution preparation time and the preparation ratio.
[0027] The gas pressure of the original drug solution is determined based on the amount of the original drug solution and the duration of pressurization of the original solution.
[0028] Based on the amount of brine and the duration of brine pressurization, the brine gas pressure is determined.
[0029] Optionally, the control scheme generated based on the gas pressure and the drug preparation requirements includes:
[0030] Obtain the start time of the preparation of the medicine solution to be prepared;
[0031] The prepared pharmaceutical solutions are labeled and arranged to generate a list of solutions to be prepared.
[0032] The pressurization time for each of the drug solutions to be prepared is determined based on the start time of drug preparation, the list of drugs to be prepared, and the gas pressure.
[0033] The list of preparations to be made and the pressurization time are combined into a control scheme.
[0034] Optionally, determining the pressurization time for each of the prepared drug solutions based on the start time of drug preparation, the list of drugs to be prepared, and the gas pressure includes:
[0035] The start and stop times of pressurization of the stock solution of the first drug solution to be prepared in the list of drugs to be prepared are determined based on the start time of drug preparation and the pressurization time of the stock solution.
[0036] The saline pressurization start and stop time of the first medicine to be prepared in the list of medicines to be prepared is determined based on the pressurization start and stop time of the original solution and the pressurization duration of the saline solution.
[0037] The pressurization time for each of the prepared pharmaceutical solutions is determined based on the pressurization start and stop time of the first prepared pharmaceutical solution, the pressurization start and stop time of the saline solution, and the preparation list.
[0038] Optionally, after generating the control scheme based on the gas pressure and the drug preparation requirements, the method further includes:
[0039] Monitor the control scheme:
[0040] Determine whether the control scheme meets the preset requirements;
[0041] If the control scheme meets the preset requirements, then the control scheme will be stored.
[0042] If the control scheme does not meet the preset requirements, the control scheme is marked based on the preset requirements, and the marked control scheme is stored.
[0043] Secondly, this application provides a control device for a liquid dispensing instrument, which adopts the following technical solution:
[0044] A control device for a liquid medicine dispensing instrument, comprising:
[0045] The preparation requirement acquisition module is used to acquire the preparation requirements of the medicine solution, wherein the preparation requirements of the medicine solution include the quantity of medicine solution to be prepared, the type of medicine solution to be prepared, and the total preparation time of the medicine solution;
[0046] The preparation time determination module is used to determine the preparation time of the medicine solution based on the quantity of the medicine solution prepared, the type of medicine solution prepared, and the total preparation time of the medicine solution.
[0047] The preparation ratio acquisition module is used to acquire the preparation ratio of the drug solution preparation type and determine the amount of drug stock solution and saline solution based on the preparation ratio;
[0048] The air pressure determination module is used to determine the air pressure based on the amount of the original drug solution, the amount of saline solution, and the preparation time of the drug solution.
[0049] The control scheme generation module is used to generate a control scheme based on the air pressure and the drug preparation requirements, and to control the drug dispensing instrument based on the control scheme.
[0050] By adopting the above technical solution, the preparation time of the drug solution is determined according to the actual drug solution preparation requirements. Therefore, the drug solution is prepared according to the specified preparation time, improving the efficiency of the preparation. During preparation, pressurization is required to increase the flow rate of the drug solution. Simultaneously, the specific amounts of drug concentrate and saline solution are determined. During preparation, the flow rates of the drug concentrate and saline solution are strictly controlled to achieve efficient and accurate dispensing of the drug solution.
[0051] Thirdly, this application provides an electronic device that adopts the following technical solution:
[0052] An electronic device includes a processor coupled to a memory;
[0053] The processor is used to execute a computer program stored in the memory, so that the electronic device executes the computer program of the drug dispensing instrument control method according to any one of the first aspects.
[0054] Fourthly, this application provides a computer-readable storage medium, which adopts the following technical solution:
[0055] A computer-readable storage medium storing a computer program capable of being loaded by a processor and executing the drug dispensing instrument control method according to any one of the first aspects. Attached Figure Description
[0056] Figure 1 This is a flowchart illustrating a method for controlling a liquid dispensing device provided in an embodiment of this application.
[0057] Figure 2 This is a structural block diagram of a drug dispensing instrument control device provided in an embodiment of this application.
[0058] Figure 3 This is a structural block diagram of the electronic device provided in the embodiments of this application. Detailed Implementation
[0059] The present application will be further described in detail below with reference to the accompanying drawings.
[0060] This application provides a method for controlling a liquid dispensing device. This method can be executed by an electronic device, which can be a server or a terminal device. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smartphone, tablet computer, desktop computer, etc., but is not limited to these.
[0061] Figure 1 This is a flowchart illustrating a method for controlling a liquid dispensing device, as provided in an embodiment of this application.
[0062] like Figure 1 As shown, the main process of this method is described below (steps S101 to S105):
[0063] Step S101: Obtain the drug preparation requirements, which include the quantity of drug preparation, the type of drug preparation, and the total preparation time.
[0064] In this embodiment, before preparing the drug solution, a corresponding control scheme needs to be formulated based on the drug solution preparation requirements, and the control scheme is used to control the drug solution dispensing device. The drug solution preparation requirements mainly include the total preparation time (how long the drug solution needs to be prepared), the type of drug solution to be prepared, and the quantity of drug solution to be prepared. It should be noted that the type of drug solution to be prepared refers to the use of a single drug stock solution, but with a different ratio to saline solution, resulting in different types of drug solutions. The quantity of drug solution to be prepared includes the individual quantity of each type of drug solution to be prepared and the total quantity of all types of drug solution to be prepared.
[0065] Step S102: Determine the preparation time of the medicine solution based on the quantity of medicine solution prepared, the type of medicine solution prepared, and the total preparation time of the medicine solution.
[0066] For step S102, obtain the standard preparation time range for each type of drug preparation; determine whether the drug preparation types are the same; if the drug preparation types are the same, calculate the first preparation time based on the quantity of drug preparation and the total preparation time; determine whether the first preparation time is within the standard preparation time range; if the first preparation time is within the standard preparation time range, use the first preparation time as the drug preparation time; if the first preparation time is outside the standard preparation time range, determine the drug preparation time based on the first preparation time and the standard preparation range; if the drug preparation types are different, divide the total preparation time into multiple preparation time periods based on the standard preparation time range and the drug preparation type; determine the drug preparation time based on the preparation time periods and the standard preparation time.
[0067] In this embodiment, the preparation time for dispensing one bottle of medicine is determined based on the quantity, type, and total preparation time of the medicine solution. Before calculating the preparation time, it is first determined whether only one type of medicine solution is being dispensed. If only one type is being dispensed, the total preparation time is divided by the quantity of medicine solution dispensed to obtain the first preparation time for dispensing one bottle of medicine. The first preparation time is then compared with the standard preparation time range corresponding to the current medicine solution type to determine if the first preparation time falls within the standard preparation time range. If it does, the first preparation time is used as the medicine preparation time. If it does not fall within the standard preparation time range, it is further determined whether the first preparation time is greater than the upper limit or less than the lower limit of the standard preparation time range. If the initial preparation time exceeds the upper limit of the standard preparation time range, a value within the standard preparation time range is selected as the preparation time. A time selection prompt is generated to instruct the staff to choose a value within the standard preparation time range, and this selected value is used as the preparation time. If the initial preparation time is less than the lower limit of the standard preparation time range, the lower limit is used as the preparation time. The difference between the initial preparation time and the lower limit is calculated, and the total time increase required is calculated based on this difference. After calculation, the total time, the difference, and the preparation type are combined to create a time increase prompt, which is then sent to the staff to indicate that the time setting is unreasonable and needs adjustment.
[0068] If there are two or more types of drug preparations in this dispensing, the time proportion of each type of drug preparation is first determined based on the lower or upper limit of the first preparation time interval being less than the standard preparation time interval. The total preparation time is then divided into multiple preparation time intervals based on the time proportions. The preparation time is then determined using the same method as for each drug preparation type. This will not be elaborated further here.
[0069] Step S103: Obtain the preparation ratio of the drug solution type, and determine the amount of drug stock solution and saline solution based on the preparation ratio.
[0070] For step S103, obtain the total amount of medicine solution corresponding to the preparation type; determine the amount of original medicine solution and saline solution based on the total amount of medicine solution and the preparation ratio.
[0071] In this embodiment, each type of drug solution preparation has its corresponding configuration ratio and total volume. When calculating the volume of the original drug solution and the saline solution, the total volume is calculated based on the specific configuration ratio. For example, if the configuration ratio is 1:4 (original drug solution: saline solution), and the total volume is 5ml, then 1ml of original drug solution and 4ml of saline solution are needed for preparation. It should be noted that the specific configuration ratio and total volume need to be set according to actual needs and are not specifically limited here.
[0072] Step S104: Determine the gas pressure based on the amount of original drug solution, the amount of saline solution, and the preparation time of the drug solution.
[0073] For step S104, the pressurization time of the original drug solution and the pressurization time of the saline solution are determined based on the drug preparation time and preparation ratio; the gas pressure of the original drug solution is determined based on the amount of original drug solution and the pressurization time of the original drug solution; and the gas pressure of the saline solution is determined based on the amount of saline solution and the pressurization time of the saline solution.
[0074] In this embodiment, the drug preparation time is the total time required to prepare and dispense one bottle of drug solution. However, since the prepared drug solution includes two components, a drug concentrate and saline solution, they need to be injected into the dispensing bottles separately during dispensing. Therefore, it is necessary to further calculate the pressurization time for the drug concentrate and the saline solution to complete the dispensing within the drug preparation time. The pressurization time here refers to the time during dispensing when the valve of the drug concentrate or saline solution storage container is opened and pressurization is performed simultaneously to obtain the required amount of drug concentrate or saline solution. The pressurization time for the drug concentrate and saline solution is calculated based on the mixing ratio. For example, if the mixing ratio is drug concentrate:saline solution = 1:4, and the drug preparation time is 20 seconds, then the pressurization time for the drug concentrate is 4 seconds, and the pressurization time for the saline solution is 16 seconds.
[0075] After obtaining the pressurization time of the original solution and the pressurization time of the saline solution, it is necessary to find the preset pressure gauge to determine the pressure of the original solution and the saline solution. The preset pressure gauge is set according to information such as the concentration of the original solution and the saline solution, so that the corresponding amount of original solution or saline solution can be obtained at the corresponding pressure and time.
[0076] Step S105: Generate a control scheme based on the air pressure and the drug preparation requirements, and control the drug dispensing instrument based on the control scheme.
[0077] For step S105, obtain the start time of drug preparation for the drug solution to be prepared; label and arrange the drug solutions to be prepared to generate a list of drugs to be prepared; determine the pressurization time of each drug solution to be prepared based on the start time of drug preparation, the list of drugs to be prepared and the gas pressure; combine the list of drugs to be prepared and the pressurization time into a control scheme.
[0078] Furthermore, based on the start time of drug preparation and the duration of stock solution pressurization, the start and stop times of stock solution pressurization for the first drug solution to be prepared in the list of drugs to be prepared are determined; based on the start and stop times of stock solution pressurization and the duration of saline pressurization, the start and stop times of saline pressurization for the first drug solution to be prepared in the list of drugs to be prepared are determined; based on the start and stop times of stock solution pressurization, saline pressurization, and the preparation list, the pressurization time for each drug solution to be prepared is determined.
[0079] In this embodiment, after obtaining the drug preparation time and the associated pressurization time and pressure, a control scheme needs to be formulated. During drug preparation, a drug dispensing device is used to dispense a large quantity of drugs. Therefore, a dispensing sequence needs to be set, and dispensing is performed sequentially. The drugs are numbered and arranged according to their quantity, generating a list of drugs to be prepared. Then, the pressurization time for each numbered drug is determined based on the drug preparation start time. First, the start and end times for each number are determined based on the drug preparation start time and duration. The start time is used as the pressurization start time for the original solution, and the end time is used as the pressurization end time for the saline solution. Then, the pressurization end time for the original solution is determined based on its pressurization duration and used as the pressurization start time for the saline solution. Then, the process is repeated sequentially based on the sequence number and drug preparation time to obtain the pressurization start and end times for each drug to be prepared. Finally, the corresponding pressure is added to obtain a control scheme with time and pressurization indicators. It should be noted that the saline solution needs to be pressurized after the valve corresponding to the original drug solution is closed. After the valve corresponding to the original drug solution is closed, the valve corresponding to the saline solution is opened and pressurized. This allows the saline solution to be used to flush the original drug solution in the pipeline, thereby further ensuring the accuracy of the preparation.
[0080] In this embodiment, the control scheme is monitored: it is determined whether the control scheme meets the preset requirements; if the control scheme meets the preset requirements, the control scheme is stored; if the control scheme does not meet the preset requirements, the control scheme is marked based on the preset requirements, and the marked control scheme is stored.
[0081] To improve the efficiency of control scheme development, after using the control scheme to control the liquid dispensing instrument, control schemes that meet preset requirements are stored for direct retrieval when the same dispensing requirements arise. Preset requirements are evaluation criteria set based on actual dispensing results. If the control scheme executes smoothly and completely, and the dispensed liquid meets the dispensing requirements, it is considered to meet the preset requirements. If an anomaly occurs during the execution of the scheme, or if some parts of the packaged liquid do not meet the dispensing requirements, the control scheme is marked and stored for modification when the same scheme is calculated.
[0082] Figure 2 This is a structural block diagram of a liquid dispensing instrument control device 200 provided in the application embodiment.
[0083] like Figure 2 As shown, the control device 200 for the liquid dispensing instrument mainly includes:
[0084] The preparation requirement acquisition module 201 is used to acquire the preparation requirements of the medicine solution, which include the quantity of medicine solution to be prepared, the type of medicine solution to be prepared, and the total preparation time of the medicine solution.
[0085] The preparation time determination module 202 is used to determine the preparation time of the medicine solution based on the quantity of medicine solution prepared, the type of medicine solution prepared, and the total preparation time of the medicine solution;
[0086] The preparation ratio acquisition module 203 is used to acquire the preparation ratio of the drug solution preparation type and determine the amount of drug stock solution and saline solution based on the preparation ratio;
[0087] The pressure determination module 204 is used to determine the pressure based on the amount of drug concentrate, the amount of saline solution, and the drug preparation time.
[0088] The control scheme generation module 205 is used to generate a control scheme based on the air pressure and the drug preparation requirements, and to control the drug dispensing instrument based on the control scheme.
[0089] As an optional implementation of this embodiment, the preparation time determination module 202 is specifically used to obtain the standard preparation time range of the drug preparation type; determine whether the drug preparation type is the same type; if the drug preparation type is the same type, calculate the first preparation time based on the drug preparation quantity and the total preparation time; determine whether the first preparation time is within the standard preparation time range; if the first preparation time is within the standard preparation time range, use the first preparation time as the drug preparation time; if the first preparation time is outside the standard preparation time range, determine the drug preparation time based on the first preparation time and the standard preparation range; if the drug preparation type is different type, divide the total preparation time of the drug preparation into multiple preparation time periods based on the standard preparation time range and the drug preparation type; and determine the drug preparation time based on the preparation time periods and the standard preparation time.
[0090] As an optional implementation of this embodiment, the preparation ratio acquisition module 203 is specifically used to acquire the total amount of medicine solution corresponding to the preparation type of medicine solution; and to determine the amount of original medicine solution and saline solution based on the total amount of medicine solution and the preparation ratio.
[0091] As an optional implementation of this embodiment, the pressure determination module 204 is specifically used to determine the pressurization time of the original drug solution and the pressurization time of the saline solution based on the drug preparation time and preparation ratio; to determine the pressure of the original drug solution based on the amount of original drug solution and the pressurization time of the original drug solution; and to determine the pressure of the saline solution based on the amount of saline solution and the pressurization time of the saline solution.
[0092] As an optional implementation of this embodiment, the control scheme generation module 205 includes:
[0093] The start time acquisition module is used to acquire the start time of the preparation of the medicine solution to be prepared;
[0094] The configuration list generation module is used to label and arrange the medicine solutions to be prepared, and generate a list of medicine solutions to be prepared.
[0095] The pressurization time determination module is used to determine the pressurization time for each drug solution to be prepared based on the start time of drug preparation, the list of drugs to be prepared, and the gas pressure.
[0096] The control scheme composition module is used to combine the list of preparations to be prepared and the pressurization time into a control scheme.
[0097] In this optional embodiment, the pressurization time determination module is specifically used to determine the pressurization start and stop time of the stock solution of the first drug solution to be prepared in the preparation list based on the start time of drug preparation and the pressurization duration of the stock solution; to determine the saline pressurization start and stop time of the saline solution of the first drug solution to be prepared in the preparation list based on the pressurization start and stop time of the stock solution and the saline pressurization duration; and to determine the pressurization time of each drug solution to be prepared based on the pressurization start and stop time of the stock solution, the pressurization start and stop time of the saline solution, and the preparation list.
[0098] As an optional implementation of this embodiment, the liquid dispensing instrument control device 200 further includes:
[0099] The control scheme monitoring module is used to monitor the control scheme.
[0100] The preset requirement judgment module is used to determine whether the control scheme meets the preset requirements;
[0101] The first scheme storage module is used to store the control scheme;
[0102] The second scheme storage module is used to mark control schemes based on preset requirements and store the marked control schemes.
[0103] In one example, the module in any of the above devices may be one or more integrated circuits configured to implement the above methods, such as one or more application-specific integrated circuits (ASICs), or one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs), or a combination of at least two of these integrated circuit forms.
[0104] For example, when modules in a device can be implemented via a processing element scheduler, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor capable of calling programs. Alternatively, these modules can be integrated together as a system-on-a-chip (SOC).
[0105] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the above-described device and module can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0106] Figure 3 This is a structural block diagram of the electronic device 300 provided in an embodiment of this application.
[0107] like Figure 3 As shown, the electronic device 300 includes a processor 301 and a memory 302, and may further include one or more of an information input / output (I / O) interface 303, a communication component 304, and a communication bus 305.
[0108] The processor 301 controls the overall operation of the electronic device 300 to complete all or part of the steps of the above-described drug dispensing instrument control method. The memory 302 stores various types of data to support the operation of the electronic device 300. This data may include, for example, instructions for any application or method operating on the electronic device 300, as well as application-related data. The memory 302 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as one or more of Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0109] I / O interface 303 provides an interface between processor 301 and other interface modules, such as keyboards, mice, and buttons. These buttons can be virtual or physical. Communication component 304 is used for wired or wireless communication between electronic device 300 and other devices. Wireless communication includes Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination thereof. Therefore, the corresponding communication component 104 may include a Wi-Fi component, a Bluetooth component, and an NFC component.
[0110] The electronic device 300 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to execute the drug dispensing instrument control method given in the above embodiments.
[0111] The communication bus 305 may include a path for transmitting information between the aforementioned components. The communication bus 305 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The communication bus 305 may be divided into an address bus, a data bus, a control bus, etc.
[0112] Electronic device 300 may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (such as in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers, and may also be servers.
[0113] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described drug dispensing instrument control method.
[0114] The computer-readable storage medium may include various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0115] The terms “comprising,” “including,” or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.
[0116] The above description is merely a preferred embodiment of this application and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this application is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the foregoing application concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions claimed in this application.
Claims
1. A method for controlling a medicine liquid dispensing device, characterized by comprising: include: Obtain the drug preparation requirements, wherein the drug preparation requirements include the quantity of drug preparation, the type of drug preparation, and the total preparation time; The preparation time of the medicine solution is determined based on the quantity of the medicine solution prepared, the type of medicine solution prepared, and the total preparation time of the medicine solution. Obtain the preparation ratio of the drug solution preparation type, and determine the amount of drug stock solution and saline solution based on the preparation ratio; The gas pressure is determined based on the amount of the drug stock solution, the amount of saline solution, and the preparation time of the drug solution; A control scheme is generated based on the gas pressure and the drug preparation requirements, and the drug dispensing instrument is controlled based on the control scheme. The method of determining the gas pressure based on the amount of the drug stock solution, the amount of saline solution, and the drug preparation time includes: The pressurization time of the original drug solution and the pressurization time of the saline solution are determined based on the drug solution preparation time and the preparation ratio. The gas pressure of the original drug solution is determined based on the amount of the original drug solution and the duration of pressurization of the original solution. The brine pressure is determined based on the brine volume and the brine pressurization time.
2. The method of claim 1, wherein, The determination of the drug preparation time based on the quantity of the drug solution, the type of drug solution, and the total preparation time includes: Obtain the standard preparation time range for the aforementioned drug solution preparation type; Determine whether the preparation types of the drug solutions are of the same type; If the drug solution preparation type is the same, the first preparation time is calculated based on the quantity of drug solution prepared and the total preparation time of the drug solution. Determine whether the first preparation time is within the standard preparation time range; If the first preparation time is within the standard preparation time range, then the first preparation time shall be taken as the drug solution preparation time; If the first preparation time is outside the standard preparation time range, the drug preparation time is determined based on the first preparation time and the standard preparation time range. If the drug solution preparation type is different, the total preparation time of the drug solution is divided into multiple preparation time periods based on the standard preparation time interval and the drug solution preparation type; The preparation time of the drug solution is determined based on the preparation time period and the standard preparation time.
3. The method according to claim 1, characterized in that, Determining the volume of the drug stock solution and the saline solution based on the preparation ratio includes: Obtain the total amount of medicine solution corresponding to the prepared medicine solution type; The amount of the drug stock solution and the amount of the saline solution are determined based on the total amount of the drug solution and the preparation ratio.
4. The method according to claim 1, characterized in that, The control scheme based on the air pressure and the drug preparation requirements includes: Obtain the start time of the preparation of the medicine solution to be prepared; The prepared pharmaceutical solutions are labeled and arranged to generate a list of solutions to be prepared. The pressurization time for each of the prepared drug solutions is determined based on the start time of drug preparation, the list of drugs to be prepared, and the gas pressure. The list of preparations to be made and the pressurization time are combined into a control scheme.
5. The method according to claim 4, characterized in that, The process of determining the pressurization time for each of the prepared drug solutions based on the start time of drug preparation, the list of drugs to be prepared, and the gas pressure includes: The start and stop times of pressurization of the stock solution of the first drug solution to be prepared in the list of drugs to be prepared are determined based on the start time of drug preparation and the pressurization time of the stock solution. The saline pressurization start and stop time of the first medicine to be prepared in the list of medicines to be prepared is determined based on the pressurization start and stop time of the original solution and the pressurization duration of the saline solution. The pressurization time for each of the prepared pharmaceutical solutions is determined based on the pressurization start and stop time of the first prepared pharmaceutical solution, the pressurization start and stop time of the saline solution, and the list of prepared solutions.
6. The method according to claim 1, characterized in that, After generating the control scheme based on the gas pressure and the drug preparation requirements, the method further includes: Monitor the control scheme: Determine whether the control scheme meets the preset requirements; If the control scheme meets the preset requirements, then the control scheme will be stored. If the control scheme does not meet the preset requirements, the control scheme is marked based on the preset requirements, and the marked control scheme is stored.
7. A control device for a liquid dispensing instrument, characterized in that, include: The preparation requirement acquisition module is used to acquire the preparation requirements of the medicine solution, wherein the preparation requirements of the medicine solution include the quantity of medicine solution to be prepared, the type of medicine solution to be prepared, and the total preparation time of the medicine solution; The preparation time determination module is used to determine the preparation time of the medicine solution based on the quantity of the medicine solution prepared, the type of medicine solution prepared, and the total preparation time of the medicine solution. The preparation ratio acquisition module is used to acquire the preparation ratio of the drug solution preparation type and determine the amount of drug stock solution and saline solution based on the preparation ratio; The air pressure determination module is used to determine the air pressure based on the amount of the original drug solution, the amount of saline solution, and the preparation time of the drug solution. The control scheme generation module is used to generate a control scheme based on the air pressure and the drug preparation requirements, and to control the drug dispensing instrument based on the control scheme. The pressure determination module is specifically used to determine the pressurization time of the original drug solution and the pressurization time of the saline solution based on the drug preparation time and preparation ratio; to determine the pressure of the original drug solution based on the amount of original drug solution and the pressurization time of the original drug solution; and to determine the pressure of the saline solution based on the amount of saline solution and the pressurization time of the saline solution.
8. An electronic device, characterized in that, Includes a processor, which is coupled to a memory; The processor is configured to execute a computer program stored in the memory, causing the electronic device to perform the method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, It includes a computer program or instructions that, when run on a computer, cause the computer to perform the method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Method for medicine dispensing machine, control device, medicine dispensing machine and medicine filling system
CN112790178A
Preparation device, preparation method, and control device
CN114642981A