A pharmacy medicine transmission management method, system and intelligent terminal
Patent Information
- Application Number
- CN202610849486.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-12
- Publication Date
- 2026-08-28
AI Technical Summary
[0004]针对上述中的相关技术,智能药架将所需药品推出药架,使药品自然掉落至输送带上时,若药品采用易碎包装,例如玻璃等,药品容易破碎,导致药房药品传输过程中的损坏率高,还有改进的空间
1.通过在确定药品包装属性不符合易碎包装属性的要求时,控制药架直接将药品推出,使药品自然掉落至输送带,保证取药的效率,而药品包装属性符合易碎包装属性的要求时,根据药品推出策略控制辅助承接装置辅助药架将药品推出至输送带,避免药品自然掉落导致药物损坏,进而降低药房药品传输过程中的损坏率,提高传输过程中的安全性;
Smart Images

Figure CN122656500A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of pharmacy drug dispensing, and in particular to a pharmacy drug transfer management method, system, and smart terminal. Background Technology
[0002] Smart pharmacy dispensing refers to the use of technologies such as artificial intelligence, the Internet of Things, automated equipment, and information systems to automatically dispense, verify, and distribute medicines, thereby improving pharmacy efficiency, reducing human error, and optimizing the patient's medication dispensing experience.
[0003] In related technologies, pharmacy medication dispensing typically employs a combination of smart medicine shelves and conveyor belts. After the patient pays for their prescription at the dispensing terminal, the terminal simultaneously sends the prescription information to the dispensing window. Medical staff review the prescription information, and if it is correct, the dispensing system controls the smart medicine shelf to push the required medication out of the shelf, allowing it to fall naturally onto the conveyor belt at the bottom of the shelf. The conveyor belt then transports the medication to the dispensing window for a second review by medical staff. If the review is successful, the medication is dispensed.
[0004] Regarding the aforementioned technologies, when a smart medicine shelf pushes out the required medicine and allows it to fall naturally onto the conveyor belt, if the medicine is packaged in fragile materials such as glass, it is prone to breakage, resulting in a high damage rate during the pharmacy's medicine transport process. There is still room for improvement. Summary of the Invention
[0005] In order to reduce the damage rate of medicines during the transmission process in pharmacies and improve the safety of the transmission process, this application provides a method, system and intelligent terminal for managing the transmission of medicines in pharmacies.
[0006] Firstly, this application provides a method for managing the transfer of medicines in a pharmacy, employing the following technical solution: A method for managing the transfer of medicines in a pharmacy, comprising: Collect prescription information; Identify the required drug parameters based on the prescription information; Based on the prescription, the system retrieves the corresponding drug storage location and packaging attributes from the preset drug parameter relationships. Determine whether the drug packaging properties meet the pre-defined requirements for fragile packaging properties; If not, the preset medicine rack will be controlled to push the medicine to the preset conveyor belt according to the prescription medicine parameters and the corresponding medicine storage location, and the conveyor belt will be controlled to transport the medicine. If so, the drug dispensing strategy shall be determined based on the prescription drug parameters and drug storage location; According to the drug delivery strategy, the preset auxiliary receiving device assists the preset drug rack in pushing the drug to the preset conveyor belt, and controls the conveyor belt to transport the drug.
[0007] Optionally, the steps for determining a drug dispensing strategy based on prescription drug parameters and drug storage location include: Collect the current ambient temperature; The current ambient temperature, prescription drug parameters, and drug storage location are analyzed to determine the impact energy of the drug to be retrieved. The current ambient temperature and drug packaging properties are analyzed to determine the damage energy threshold; Determine whether the impact energy of the drug meets the requirements of the damage energy threshold. If it does not meet the requirements, the preset natural exit strategy will be defined as the drug exit strategy. If the conditions are met, the drug packaging attributes and drug storage location will be analyzed to determine the receiving and discharging locations of the drugs. The system associates the receiving drug location, the launching drug location, and preset auxiliary launching strategies to generate a drug launching strategy.
[0008] Optionally, the steps of analyzing the current ambient temperature, prescription drug parameters, and drug storage location to determine the required drug impact energy include: Determine the required unit mass of the drug based on the prescribed drug parameters; Determine the storage height of medicines based on their storage location; The product of the drug storage height, the required unit mass of the drug, and the preset gravitational acceleration is used to generate the basic impact energy. Determine the quantity of medication to be dispensed based on the prescription's required medication parameters; The base impact energy is adjusted based on the required quantity of medicine and the current ambient temperature to generate the required medicine impact energy.
[0009] Optionally, the step of adjusting the base impact energy based on the required quantity of drug and the current ambient temperature to generate the required drug impact energy includes: Based on the quantity of drugs in demand, find the corresponding quantity impact correction coefficient in the preset quantity impact relationship; Based on the current ambient temperature, find the corresponding temperature shock correction coefficient in the preset temperature shock relationship; The product of the quantity impact correction factor, the temperature impact correction factor, and the basic impact energy is calculated to generate the required drug impact energy.
[0010] Optionally, the steps of analyzing the current ambient temperature and drug packaging properties to determine the breakage energy threshold include: The basic energy threshold and temperature decay coefficient are determined based on the drug packaging properties. Determine whether the current ambient temperature meets the preset ideal ambient temperature requirement; If the conditions are met, the preset uncorrected coefficient will be determined as the temperature energy correction coefficient. If it does not meet the requirements, the current ambient temperature and temperature decay coefficient will be analyzed to determine the temperature energy correction coefficient. Calculate the product of the base energy threshold and the temperature energy correction factor to generate the damage energy threshold.
[0011] Optionally, the steps of analyzing the current ambient temperature and temperature decay coefficient to determine the temperature energy correction factor include: Calculate the difference between the current ambient temperature and the ideal ambient temperature to generate the temperature impact value; Calculate the product of the temperature effect value and the temperature decay coefficient to generate the energy effect ratio; Calculate the difference between the preset no-effect ratio and the energy-effect ratio to generate a temperature-energy correction factor.
[0012] Optionally, the steps of analyzing drug packaging attributes and drug storage locations to determine drug receiving and dispensing locations include: Analyze the properties of the drug packaging to determine the maximum drop height; The location for launching the medicine is determined based on the maximum drop height and the location where the medicine is stored. The current location of the auxiliary receiving device is recorded. Determine whether the current device location meets the requirements for drug storage location; If so, then the location where the medicine is stored will be designated as the location for receiving the medicine; If not, the location for receiving the medicine will be determined based on the maximum drop height and the location where the medicine is stored.
[0013] Optionally, the steps of analyzing drug packaging properties to determine the maximum drop height include: Determine the drug acceleration threshold based on the drug packaging properties; Calculate the product of the drug acceleration threshold and the preset buffer deformation, and the quotient of the preset gravitational acceleration to generate the maximum fall height.
[0014] Secondly, this application provides a pharmacy drug transfer management system, which adopts the following technical solution: A pharmacy drug transfer management system, comprising: The data acquisition module is used to collect prescription information; A memory for storing a program for a pharmacy drug transfer management method as described in any of the preceding claims; The processor and the program in the memory can be loaded and executed by the processor to implement a pharmacy drug transfer management method as described in any of the above.
[0015] Thirdly, this application provides a smart terminal, which adopts the following technical solution: A smart terminal includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed as described in any of the preceding claims for a pharmacy drug delivery management method.
[0016] In summary, this application includes at least one of the following beneficial technical effects: 1. When the packaging properties of a medicine do not meet the requirements for fragile packaging, the medicine rack is controlled to push the medicine directly out, allowing it to fall naturally onto the conveyor belt, thus ensuring the efficiency of medicine retrieval. When the packaging properties of a medicine meet the requirements for fragile packaging, the auxiliary receiving device is controlled to push the medicine onto the conveyor belt according to the medicine pushing strategy, avoiding damage caused by the medicine falling naturally, thereby reducing the damage rate of medicines during the pharmacy's medicine transportation process and improving the safety of the transportation process. 2. By analyzing the current ambient temperature, prescription drug parameters, and drug storage location, the impact energy of the drug to be retrieved is obtained. The impact energy of the drug to be retrieved is compared with the breakage energy threshold. When the impact energy of the drug to be retrieved does not exceed the breakage energy threshold, it indicates that the drug will not break when it falls naturally. Therefore, the natural ejection strategy is defined as the drug ejection strategy. When it exceeds the threshold, the receiving position and the ejection position of the drug are analyzed, and the drug position, the ejection position, and the auxiliary ejection strategy are associated to generate a drug ejection strategy. Instead of using the auxiliary ejection method for all fragile drugs, the accuracy of the drug ejection strategy is improved. 3. The basic impact energy is obtained by calculating the product of the drug storage height, the unit mass of the drug to be taken, and the gravitational acceleration. Then, the influence of temperature on the packaging and the additional impact caused by drug stacking are taken into account in the final impact on the drug. The basic impact energy is then corrected with the quantity of drug to be taken and the current ambient temperature to obtain the impact energy of the drug to be taken, thereby improving the accuracy of the impact energy of the drug to be taken. Attached Figure Description
[0017] Figure 1 This is a flowchart of a pharmacy drug transfer management method according to an embodiment of this application.
[0018] Figure 2 This is a flowchart illustrating the steps of determining a drug dispensing strategy based on the prescription drug parameters and drug storage location in an embodiment of this application.
[0019] Figure 3This is a flowchart of the steps in this application embodiment to analyze the current ambient temperature, prescription drug parameters, and drug storage location to determine the impact energy of the drug to be retrieved.
[0020] Figure 4 This is a flowchart illustrating the steps in this application embodiment to modify the base impact energy based on the required quantity of drug and the current ambient temperature to generate the required impact energy for drug removal.
[0021] Figure 5 This is a flowchart illustrating the steps in this application embodiment to analyze the current ambient temperature and drug packaging properties to determine the damage energy threshold.
[0022] Figure 6 This is a flowchart of the steps in this application embodiment to analyze the current ambient temperature and temperature decay coefficient to determine the temperature energy correction coefficient.
[0023] Figure 7 This is a flowchart illustrating the steps in this application embodiment to analyze the drug packaging attributes and drug storage location to determine the drug receiving location and the drug ejection location.
[0024] Figure 8 This is a flowchart of the steps in this application embodiment to analyze the properties of drug packaging to determine the maximum drop height. Detailed Implementation
[0025] To make the purpose, technical solution, and advantages of this application clearer, the following description is provided in conjunction with the appendix. Figures 1 to 8 The present application will be further described in detail below with reference to embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the application.
[0026] Reference Figure 1 This application discloses a method for managing the transfer of medicines in a pharmacy, comprising the following steps: Step S100: Collect prescription information.
[0027] Prescription information refers to the prescription issued by the doctor to the patient, which includes information such as the type of medicine, brand of medicine, quantity of medicine, and medication instructions. After the patient receives the prescription, the unique information is identified at the dispensing terminal installed near the pharmacy, thereby facilitating payment and allocation of the dispensing window. After payment is completed, the prescription information is sent by the dispensing terminal to the terminal at the corresponding dispensing window for review by the medical staff picking up the medicine.
[0028] Step S101: Identify the prescription information to determine the required drug parameters.
[0029] Among them, the prescription drug parameters refer to the type, brand and quantity of drugs in the prescription. These parameters are obtained by recognizing the prescription information through the character recognition technology built into the processing terminal. By determining the prescription drug parameters, the medication required by the patient can be identified, providing basic support for subsequent medication dispensing.
[0030] Step S102: Based on the prescription, find the corresponding drug storage location and drug packaging attributes in the preset drug parameter relationship.
[0031] Among them, the drug parameter relationship refers to the correspondence between different brands and types of drugs and their storage locations and packaging attributes. Medical staff place different brands and types of drugs in their corresponding positions on the medicine shelf and convert these positions into unified coordinates, i.e., drug storage locations. Then, the drug of a certain brand and type is matched with the drug storage location, and the operator adds the drug packaging attributes to the correspondence to form a mapping table.
[0032] The drug storage location refers to the coordinate position of the brand and type of drug corresponding to the prescription drug parameters on the medicine shelf. The drug packaging attributes refer to the packaging material, maximum impact energy, and maximum acceleration of the brand and type of drug corresponding to the prescription drug parameters. These attributes are obtained by the processing terminal by looking up the brand and type of the drug corresponding to the prescription drug parameters in the mapping table corresponding to the drug parameter relationships.
[0033] Step S103: Determine whether the drug packaging properties meet the preset requirements for fragile packaging properties.
[0034] The "fragile packaging" attribute refers to packaging materials that are easily broken, including glass, and is defined by the operator. The requirement for the "fragile packaging" attribute is that the packaging material exists in the packaging materials corresponding to the "fragile packaging" attribute.
[0035] By processing the terminal to determine whether the packaging material corresponding to the drug packaging attribute exists in the packaging material corresponding to the fragile packaging attribute, it can determine whether the drug is likely to break when it falls naturally from the shelf onto the conveyor belt at the bottom, and thus determine the specific drug dispensing method.
[0036] Step S1031: If not, then according to the prescription drug parameters and the corresponding drug storage location, control the preset medicine rack to push the drug to the preset conveyor belt, and control the conveyor belt to transport the drug.
[0037] If the processing terminal determines that the packaging material corresponding to the drug packaging attribute does not exist in the packaging material corresponding to the fragile packaging attribute, it means that the drug is not easily damaged when it falls naturally. Therefore, the medicine rack is directly controlled to push the push rod according to the drug storage location and the number of drugs corresponding to the prescription drug parameters to push the drug out of the medicine rack, so that the drug falls naturally onto the conveyor belt, and the conveyor belt transports the drug to the corresponding dispensing window.
[0038] A medicine shelf is a rack used to hold and dispense medicines. The principle behind dispensing medicines from a medicine shelf is the same as that of a vending machine, and will not be elaborated here. A conveyor belt is a device used to transport medicines. The conveyor belt is installed at the bottom of the medicine shelf, covering the entire length of the shelf, to catch any medicines that fall from the shelf.
[0039] Step S1032: If so, determine the drug dispensing strategy based on the prescription drug parameters and drug storage location.
[0040] If the processing terminal determines that the packaging material corresponding to the drug packaging attribute exists in the packaging material corresponding to the fragile packaging attribute, it indicates that the drug is easily damaged when it falls naturally. Therefore, the drug ejection strategy is determined based on the prescription drug parameters and the drug storage location to ensure that the drug with fragile packaging will not be damaged during transportation.
[0041] Drug ejection strategy refers to the method of ejecting drugs from the shelf onto the conveyor belt. This includes two types: assisted ejection and direct ejection. Assisted ejection is used for drugs with a higher probability of breakage, while direct ejection is used for drugs with a lower probability of breakage. The strategy is determined by the processing terminal based on the prescription drug parameters and the drug's storage location. Specific methods are detailed in [reference needed]. Figure 2 The steps.
[0042] Step S104: According to the drug ejection strategy, control the preset auxiliary receiving device to assist the preset drug rack in ejecting the drug to the preset conveyor belt, and control the conveyor belt to transport the drug.
[0043] In this process, once the drug ejection strategy is determined, if the strategy is direct ejection, then no auxiliary receiving device is needed to eject the drug. The drug can be directly ejected from the shelf and fall onto the conveyor belt, which will then transport the drug to the dispensing window. If the strategy is assisted ejection, then the auxiliary receiving device needs to be controlled to actively receive the drug ejected from the shelf according to the corresponding receiving position of the strategy. The device should then be actively released at the corresponding ejection position, allowing the drug to fall onto the conveyor belt and be transported to the dispensing window, thus preventing the drug from breaking.
[0044] The auxiliary receiving device refers to a device used to assist in pushing out medicines. In this embodiment, a horizontal and vertical linear module is used to control the robotic arm to actively receive the falling medicines at different positions on the medicine rack to prevent the medicines from breaking. The robotic arm is equipped with the same buffer layer as the conveyor belt to further reduce the probability of medicine breakage.
[0045] Reference Figure 2 The steps for determining a drug dispensing strategy based on prescription drug parameters and drug storage location include: Step S200: Collect the current ambient temperature.
[0046] The current ambient temperature refers to the temperature of the environment in which the medicine is located. It is obtained by detecting the temperature sensor and sending it to the processing terminal. A decrease in ambient temperature will affect the mechanical behavior of the medicine packaging material and the buffer layer, such as increased brittleness and increased elastic modulus. This will lead to a decrease in the maximum impact energy that the medicine packaging can withstand and an increase in the impact energy it receives. Therefore, by detecting the current ambient temperature, data support is provided for subsequent analysis of whether the medicine will be damaged.
[0047] Step S201: Analyze the current ambient temperature, the parameters of the prescription drug to be obtained, and the location of the drug storage to determine the impact energy of the drug to be obtained.
[0048] The required impact energy for drug retrieval refers to the impact energy a drug would experience when it falls naturally from its storage location onto the conveyor belt. This energy is obtained by analyzing the current ambient temperature, the required drug parameters, and the drug's storage location at the processing terminal. Specific methods are detailed in [reference needed]. Figure 3 The steps involve determining the impact energy required to break the drug, quantifying the probability of the drug breaking naturally upon falling, and providing data support for subsequent determination of whether the drug will break.
[0049] Step S202: Analyze the current ambient temperature and drug packaging properties to determine the damage energy threshold.
[0050] The breakage energy threshold refers to the minimum impact energy required for a drug to break upon natural drop. It is obtained by analyzing the current ambient temperature and drug packaging properties at the processing terminal. Specific methods are described in [reference needed]. Figure 5 The steps involve determining the damage energy threshold to establish standard data for judging whether a drug will break, thus providing data support for subsequent determinations on whether a drug will break.
[0051] Step S203: Determine whether the impact energy of the drug to be taken meets the requirements of the damage energy threshold.
[0052] The requirement for the damage energy threshold is that it is not less than the damage energy threshold.
[0053] By processing the terminal to determine whether the impact energy of the medicine to be taken is not less than the damage energy threshold, it can be determined whether the impact energy received by the medicine when it falls naturally is too large, causing the medicine to break, and then determine the strategy for pushing the medicine out of the shelf.
[0054] Step S2031: If it does not meet the requirements, the preset natural exit strategy will be defined as the drug exit strategy.
[0055] If the processing terminal determines that the impact energy of the drug is less than the damage energy threshold, it indicates that the impact energy received by the drug when it falls naturally is small, and the probability of the drug breaking is small. Therefore, the natural ejection strategy is defined as the drug ejection strategy.
[0056] The natural ejection strategy refers to a strategy where the medicine rack pushes the medicine out, allowing it to fall naturally onto the conveyor belt and be stored in the processing terminal by the operator.
[0057] Step S2032: If the conditions are met, analyze the drug packaging attributes and drug storage location to determine the receiving location and the dispensing location of the drug.
[0058] If the processing terminal determines that the impact energy of the drug needs to be no less than the damage energy threshold, it indicates that the impact energy received by the drug when it falls naturally is large, and the probability of the drug breaking is high. Therefore, after analyzing the drug packaging attributes and drug storage location, the receiving position and the pushing position of the drug are determined, providing data support for the subsequent determination of the drug pushing strategy.
[0059] The receiving position refers to the location where the auxiliary receiving device catches the falling medicine, while the pushing position refers to the location where the auxiliary receiving device pushes the medicine out, allowing it to fall naturally onto the conveyor belt. This is determined by the processing terminal after analyzing the medicine's packaging attributes and storage location. For specific methods, please refer to [link / reference needed]. Figure 7 The steps.
[0060] Step S204: Associate the receiving drug location, the launching drug location, and the preset auxiliary launching strategy to generate a drug launching strategy.
[0061] In this step, the drug ejection strategy is the same as that in step S1032. The processing terminal stores the instructions corresponding to the receiving drug location, the ejection drug location, and the auxiliary ejection strategy in the same data packet.
[0062] The auxiliary push-out strategy refers to the instructions that control the auxiliary receiving device to perform auxiliary push-out, which are stored in the processing terminal by the operator.
[0063] Reference Figure 3 The steps to determine the required shock energy for drug retrieval, based on analysis of the current ambient temperature, prescription drug parameters, and drug storage location, include: Step S300: Determine the required unit mass of the drug based on the drug parameters required by the prescription.
[0064] The required drug unit mass refers to the unit mass of the drug corresponding to the prescription's required drug parameters, such as the mass of each bottle of drug. This mass is obtained by the processing terminal by looking up the drug type and brand in the mapping table between drug type and brand and drug unit mass based on the prescription's required drug parameters. By determining the required drug unit mass, data support is provided for subsequent calculations of the impact energy received by the drug when it falls.
[0065] Step S301: Determine the storage height of the medicines based on their storage location.
[0066] Among them, the drug storage height refers to the height of the drug on the shelf, which is determined by the processing terminal based on the vertical coordinate of the corresponding coordinate of the drug storage location. By determining the drug storage height, data support is provided for subsequent calculation of the impact energy of the drug when it falls.
[0067] Step S302: Calculate the product of the drug storage height, the required unit mass of the drug, and the preset gravitational acceleration to generate the basic impact energy.
[0068] The basic impact energy refers to the impact energy experienced by a unit mass of medicine when it falls naturally in an ideal environment. It is calculated by the processing terminal based on the storage height of the medicine, the product of the unit mass of the medicine and the acceleration due to gravity. The basic impact energy reflects the impact energy experienced by a single bottle of medicine when it falls naturally from a certain height onto the conveyor belt. Subsequently, the impact energy is corrected based on the basic impact energy by considering the impact of multiple bottles of medicine and the effect of temperature on the impact, to ensure the accuracy of the impact energy.
[0069] In this embodiment of the application, the gravitational acceleration is taken as 9.8 m / s².
[0070] Step S303: Determine the quantity of medicine to be obtained based on the prescription parameters.
[0071] The required drug quantity refers to the amount of drug that needs to be obtained, which is directly identified from the prescription drug quantity parameters by the processing terminal. This provides data support for subsequent correction of the basic impact energy based on the impact of drug collisions.
[0072] Step S304: Adjust the base impact energy according to the required quantity of medicine and the current ambient temperature to generate the required impact energy of medicine.
[0073] The required drug impact energy in this step is the same as that in step S201. It is obtained by the processing terminal by correcting the base impact energy based on the required drug quantity and the current ambient temperature. The specific method is described in [reference needed]. Figure 4This process quantifies the impact of multiple bottles of medicine and the effect of temperature on the impact, thereby improving the accuracy of the required impact energy of the medicine.
[0074] Reference Figure 4 The steps for generating the required drug impact energy, by adjusting the base impact energy based on the required drug quantity and the current ambient temperature, include: Step S400: Find the corresponding quantity impact correction coefficient in the preset quantity impact relationship based on the required quantity of medicines.
[0075] The quantity impact relationship refers to the correspondence between different drug quantities and the quantity impact correction coefficient. The more drugs there are, the stronger the impact caused by the stacking of multiple bottles of drugs falling at the same time. Therefore, the larger the quantity impact correction coefficient is. In this embodiment, when the quantity is less than 3 bottles, the quantity impact correction coefficient is 1, that is, no correction is made. When the quantity is between 3 and 5 bottles, the quantity impact correction coefficient is 1.2. When the quantity is greater than 5 bottles, the quantity impact correction coefficient is 1.5. The operator will form a mapping table by matching the quantity with the quantity impact correction coefficient.
[0076] The quantity impact correction coefficient refers to the impact coefficient of multiple bottles of medicine falling and stacking at the same time. It is obtained by the processing terminal by looking up the corresponding mapping table of quantity impact relationship according to the required quantity of medicine.
[0077] Step S401: Find the corresponding temperature shock correction coefficient in the preset temperature shock relationship based on the current ambient temperature.
[0078] Among them, the temperature shock relationship refers to the correspondence between the ambient temperature and the temperature shock correction coefficient. The lower the temperature, the greater the mechanical impact on the drug packaging and the buffer layer. Therefore, the temperature shock correction coefficient is larger. In the embodiments of this application, when the temperature is less than 5 degrees Celsius, the temperature shock correction coefficient is 1.3, and when it is not less than 5 degrees Celsius, the temperature shock correction coefficient is 1, that is, no correction is made. The operator forms a mapping table by matching the ambient temperature and the temperature shock correction coefficient one by one.
[0079] The temperature shock correction factor refers to the shock change factor caused by the effect of temperature on drug packaging and buffer layer. It is obtained by the processing terminal by looking up the mapping table corresponding to the temperature shock relationship based on the current ambient temperature.
[0080] Step S402: Calculate the product of the quantity impact correction factor, the temperature impact correction factor, and the basic impact energy to generate the required drug impact energy.
[0081] In this step, the required drug impact energy is the same as that in step S304, and is obtained by multiplying the quantity impact correction coefficient, the temperature impact correction coefficient and the basic impact energy by the processing terminal.
[0082] Reference Figure 5 The steps for determining the damage energy threshold by analyzing the current ambient temperature and drug packaging properties include: Step S500: Determine the basic energy threshold and temperature decay coefficient based on the drug packaging properties.
[0083] Among them, the basic energy threshold refers to the maximum impact energy that the drug packaging can withstand under ideal conditions, which is obtained directly from the drug packaging attributes by the processing terminal.
[0084] The temperature decay coefficient refers to the impact energy that a unit temperature change has on the impact energy that the drug packaging can withstand. It is obtained by the processing terminal by looking up the corresponding mapping table between the material and the temperature decay coefficient according to the packaging material corresponding to the drug packaging properties.
[0085] Step S501: Determine whether the current ambient temperature meets the preset ideal ambient temperature requirement.
[0086] The ideal ambient temperature refers to the temperature at which the drug packaging will not be affected by the impact energy. The specific value is determined by the operator based on the packaging material. The requirement for the ideal ambient temperature is that it should not be lower than the ideal ambient temperature.
[0087] The processing terminal determines whether the current ambient temperature is not lower than the ideal ambient temperature, thereby determining whether the ambient temperature is too low, causing mechanical changes in the drug packaging and resulting in a decrease in the impact energy that the drug packaging can withstand.
[0088] Step S5011: If the condition is met, the preset uncorrected coefficient is determined as the temperature energy correction coefficient.
[0089] If the processing terminal determines that the current ambient temperature is not lower than the ideal ambient temperature, it indicates that the ambient temperature will not cause mechanical changes in the drug packaging, resulting in a decrease in the impact energy that the drug packaging can withstand. Therefore, the uncorrected coefficient is determined as the temperature energy correction coefficient.
[0090] The uncorrected factor refers to the correction factor that does not affect the impact energy that the drug packaging can withstand, which is 1.
[0091] The temperature energy correction factor refers to the influence of temperature on the impact energy that drug packaging can withstand. In this step, the temperature energy correction factor is uncorrected.
[0092] Step S5012: If it does not meet the requirements, analyze the current ambient temperature and temperature decay coefficient to determine the temperature energy correction coefficient.
[0093] If the processing terminal determines that the current ambient temperature is lower than the ideal ambient temperature, it indicates that the low ambient temperature will cause mechanical changes in the drug packaging, leading to a decrease in the impact energy that the drug packaging can withstand. Therefore, a temperature energy correction coefficient is obtained after analyzing the current ambient temperature and the temperature attenuation coefficient. The specific method is described in [reference needed]. Figure 6 The steps.
[0094] The temperature energy correction coefficient in this step is the same as that in step S5011. The difference is that the temperature energy correction coefficient in this step is obtained by the processing terminal after analyzing the current ambient temperature and temperature decay coefficient. For the specific method, please refer to [link / reference needed]. Figure 6 The steps.
[0095] Step S502: Calculate the product of the base energy threshold and the temperature energy correction factor to generate the damage energy threshold.
[0096] The damage energy threshold in this step is the same as the damage energy threshold in step S202, and is obtained by the processing terminal by multiplying the basic energy threshold and the temperature energy correction coefficient.
[0097] Reference Figure 6 The steps for determining the temperature energy correction factor by analyzing the current ambient temperature and temperature decay coefficient include: Step S600: Calculate the difference between the current ambient temperature and the ideal ambient temperature to generate the temperature value that affects the temperature.
[0098] Among them, the temperature impact value refers to the actual temperature that affects the durability of the drug packaging, which is obtained by the processing terminal by calculating the difference between the current ambient temperature and the ideal ambient temperature.
[0099] Step S601: Calculate the product of the influence temperature value and the temperature decay coefficient to generate the energy influence ratio.
[0100] Among them, the energy impact ratio refers to the proportion of impact energy that temperature affects the pharmaceutical packaging, which is obtained by multiplying the impact temperature value and the temperature attenuation coefficient calculated by the processing terminal.
[0101] Step S602: Calculate the difference between the preset no-effect ratio and the energy-effect ratio to generate the temperature-energy correction coefficient.
[0102] The temperature-energy correction coefficient in this step is the same as the temperature-energy correction coefficient in step S5012, and is obtained by the processing terminal by calculating the difference between the no-effect ratio and the energy-effect ratio.
[0103] The no-impact ratio refers to the proportion of drug packaging that is not affected by impact energy under ideal conditions, which is 1.
[0104] ReferenceFigure 7 The steps for analyzing drug packaging attributes and drug storage locations to determine drug receiving and discharging locations include: Step S700: Analyze the properties of the drug packaging to determine the maximum drop height.
[0105] The maximum drop height refers to the height from which a medicine can fall naturally without causing damage. This is determined by the processing terminal after analyzing the medicine packaging properties. For specific methods, please refer to [reference needed]. Figure 8 The steps.
[0106] Step S701: Determine the location to launch the medicine based on the maximum drop height and the medicine storage location.
[0107] In this step, the position of the medicine being pushed out is the same as that in step S2032. The processing terminal uses the horizontal coordinate of the medicine storage location as the horizontal coordinate of the medicine being pushed out and the maximum drop height as the vertical coordinate of the medicine being pushed out, thereby obtaining the position of the medicine being pushed out. This ensures that when the auxiliary receiving device pushes out the medicine, the medicine falls naturally onto the conveyor belt without causing damage.
[0108] Step S702: Collect the current device position of the auxiliary receiving device.
[0109] The current device position refers to the position of the robotic arm in the auxiliary receiving device, which is detected by the encoder. By determining the current device position, data support is provided for subsequently determining the receiving position of the auxiliary receiving device for the medicine.
[0110] Step S703: Determine whether the current device location meets the requirements for drug storage location.
[0111] The requirement for drug storage location is that the vertical coordinate of the location must not be less than the vertical coordinate of the drug storage location.
[0112] The processing terminal determines whether the vertical coordinate of the current device position is not less than the vertical coordinate of the drug storage position, thereby determining whether it is necessary to control the auxiliary receiving device to move to the drug storage position.
[0113] Step S7031: If so, the location where the medicine is stored is determined as the location for receiving the medicine.
[0114] If the processing terminal determines that the vertical coordinate of the current device position is not less than the vertical coordinate of the drug storage position, it indicates that the auxiliary receiving device is above the drug. Therefore, the drug storage position is determined as the drug receiving position, and the auxiliary receiving device moves directly to the drug storage position to receive the drug, thereby improving the pushing efficiency.
[0115] Step S7032: If not, determine the location to receive the medicine based on the maximum drop height and the location where the medicine is stored.
[0116] If the processing terminal determines that the vertical coordinate of the current device position is less than the vertical coordinate of the drug storage position, it indicates that the auxiliary receiving device is below the drug. In this case, it would be a waste of time for the auxiliary receiving device to move to the drug storage position to receive the drug. The auxiliary receiving device only needs to move to a safe height below the drug storage position to receive the drug. Therefore, the position for receiving the drug is determined based on the maximum drop height and the drug storage position.
[0117] The location for receiving the medicine in this step is the same as the location for receiving the medicine in step S2032. The processing terminal determines the x-coordinate of the medicine storage location as the x-coordinate of the location for receiving the medicine. The maximum drop height is subtracted from the y-coordinate of the medicine storage location to obtain the y-coordinate of the location for receiving the medicine, thus obtaining the location for receiving the medicine.
[0118] Reference Figure 8 The steps for analyzing drug packaging properties to determine the maximum drop height include: Step S800: Determine the drug acceleration threshold based on the drug packaging properties.
[0119] Among them, the drug acceleration threshold refers to the maximum acceleration that the drug packaging can withstand, which is obtained by the processing terminal from the drug packaging attributes.
[0120] Step S801: Calculate the quotient of the product of the drug acceleration threshold and the preset buffer deformation with the preset gravitational acceleration to generate the maximum fall height.
[0121] The maximum fall height in this step is the same as the maximum fall height in step S700, and is obtained by the processing terminal calculating the product of the drug acceleration threshold and the buffer deformation and the quotient of the gravitational acceleration.
[0122] The buffer deformation refers to the deformation of the buffer layer on the robotic arm and conveyor belt, which is determined by the operator through experiments.
[0123] Based on the same inventive concept, embodiments of this application provide a pharmacy drug delivery management system, including: The data acquisition module is used to collect prescription information, current ambient temperature, and current device location. A memory used to store a program for a pharmacy drug transfer management method; The processor can load and execute programs in memory to implement a pharmacy drug transfer management method.
[0124] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0125] This application provides a computer-readable storage medium storing a computer program that can be loaded by a processor and executed as a pharmacy drug delivery management method.
[0126] Computer storage media include, for example, USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media that can store program code.
[0127] Based on the same inventive concept, embodiments of this application provide a smart terminal, including a memory and a processor, wherein the memory stores a computer program that can be loaded and executed by the processor to provide a pharmacy drug delivery management method.
[0128] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0129] The above are all preferred embodiments of this application and are not intended to limit the scope of protection of this application. Any feature disclosed in this specification (including the abstract and drawings) may be replaced by other equivalent or similar features unless specifically stated otherwise. That is, unless specifically stated otherwise, each feature is only one example of a series of equivalent or similar features.
Claims
1. A method for managing the transfer of medicines in a pharmacy, characterized in that, include: Collect prescription information; Identify the required drug parameters based on the prescription information; Based on the prescription, the system retrieves the corresponding drug storage location and packaging attributes from the preset drug parameter relationships. Determine whether the drug packaging properties meet the pre-defined requirements for fragile packaging properties; If not, the preset medicine rack will be controlled to push the medicine to the preset conveyor belt according to the prescription medicine parameters and the corresponding medicine storage location, and the conveyor belt will be controlled to transport the medicine. If so, the drug dispensing strategy shall be determined based on the prescription drug parameters and drug storage location; According to the drug delivery strategy, the preset auxiliary receiving device assists the preset drug rack in pushing the drug to the preset conveyor belt, and controls the conveyor belt to transport the drug.
2. The pharmacy drug transfer management method according to claim 1, characterized in that, The steps for determining a drug dispensing strategy based on prescription drug parameters and drug storage location include: Collect the current ambient temperature; The current ambient temperature, prescription drug parameters, and drug storage location are analyzed to determine the impact energy of the drug to be retrieved. The current ambient temperature and drug packaging properties are analyzed to determine the damage energy threshold; Determine whether the impact energy of the drug meets the requirements of the damage energy threshold. If it does not meet the requirements, the preset natural exit strategy will be defined as the drug exit strategy. If the conditions are met, the drug packaging attributes and drug storage location will be analyzed to determine the receiving and discharging locations of the drugs. The system associates the receiving drug location, the launching drug location, and preset auxiliary launching strategies to generate a drug launching strategy.
3. The method for managing the transfer of medicines in a pharmacy according to claim 2, characterized in that, The steps to determine the required shock energy for drug retrieval, based on analysis of the current ambient temperature, prescription drug parameters, and drug storage location, include: Determine the required unit mass of the drug based on the prescribed drug parameters; Determine the storage height of medicines based on their storage location; The product of the drug storage height, the required unit mass of the drug, and the preset gravitational acceleration is used to generate the basic impact energy. Determine the quantity of medication to be dispensed based on the prescription's required medication parameters; The base impact energy is adjusted based on the required quantity of medicine and the current ambient temperature to generate the required medicine impact energy.
4. The pharmacy drug transfer management method according to claim 3, characterized in that, The steps for generating the required drug impact energy by adjusting the baseline impact energy based on the required drug quantity and the current ambient temperature include: Based on the quantity of drugs in demand, find the corresponding quantity impact correction coefficient in the preset quantity impact relationship; Based on the current ambient temperature, find the corresponding temperature shock correction coefficient in the preset temperature shock relationship; The product of the quantity impact correction factor, the temperature impact correction factor, and the basic impact energy is calculated to generate the required drug impact energy.
5. A method for managing the transfer of medicines in a pharmacy according to claim 2, characterized in that, The steps for analyzing the current ambient temperature and drug packaging properties to determine the damage energy threshold include: The basic energy threshold and temperature decay coefficient are determined based on the drug packaging properties. Determine whether the current ambient temperature meets the preset ideal ambient temperature requirement; If the conditions are met, the preset uncorrected coefficient will be determined as the temperature energy correction coefficient. If it does not meet the requirements, the current ambient temperature and temperature decay coefficient will be analyzed to determine the temperature energy correction coefficient. Calculate the product of the base energy threshold and the temperature energy correction factor to generate the damage energy threshold.
6. A method for managing the transfer of medicines in a pharmacy according to claim 5, characterized in that, The steps for analyzing the current ambient temperature and temperature decay coefficient to determine the temperature energy correction factor include: Calculate the difference between the current ambient temperature and the ideal ambient temperature to generate the temperature impact value; Calculate the product of the temperature effect value and the temperature decay coefficient to generate the energy effect ratio; Calculate the difference between the preset no-effect ratio and the energy-effect ratio to generate a temperature-energy correction factor.
7. A method for managing the transfer of medicines in a pharmacy according to claim 2, characterized in that, The steps for analyzing drug packaging attributes and drug storage locations to determine drug receiving and dispensing locations include: Analyze the properties of the drug packaging to determine the maximum drop height; The location for launching the medicine is determined based on the maximum drop height and the location where the medicine is stored. The current location of the auxiliary receiving device is recorded. Determine whether the current device location meets the requirements for drug storage location; If so, then the location where the medicine is stored will be designated as the location for receiving the medicine; If not, the location for receiving the medicine will be determined based on the maximum drop height and the location where the medicine is stored.
8. A method for managing the transfer of medicines in a pharmacy according to claim 7, characterized in that, The steps involved in analyzing drug packaging properties to determine the maximum drop height include: Determine the drug acceleration threshold based on the drug packaging properties; Calculate the product of the drug acceleration threshold and the preset buffer deformation, and the quotient of the preset gravitational acceleration to generate the maximum fall height.
9. A pharmacy drug transfer management system, characterized in that, include: The data acquisition module is used to collect prescription information; A memory for storing a program for a pharmacy drug transfer management method as described in any one of claims 1 to 7; The processor and the program in the memory can be loaded and executed by the processor to implement the pharmacy drug transfer management method as described in any one of claims 1 to 7.
10. A smart terminal, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed as described in any one of claims 1 to 7, for managing the delivery of pharmaceuticals in a pharmacy.