An intelligent medicine management method and system based on cloud computing
By using a cloud-based intelligent drug management system, user permissions are dynamically adjusted and information is precisely pushed. Combined with environmental monitoring and equipment adjustment, the system solves the problems of imprecise permission control and insufficient storage environment monitoring in drug management, thereby improving the security and efficiency of drug management.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUIZHOU HONGYU ANIMAL HUSBANDRY TECH DEV CO LTD
- Filing Date
- 2025-10-16
- Publication Date
- 2026-04-10
AI Technical Summary
In existing drug management systems, user permission rules are fixed and difficult to adjust dynamically. Information access and modification permissions are not finely controlled, drug information update and push methods are singular, and storage environment monitoring relies on manual inspection, resulting in untimely information synchronization, insufficient storage adjustment accuracy, and potential security risks.
By using cloud-based intelligent drug management methods, access permissions are dynamically adjusted based on user roles and drug category information, and drug information changes are accurately pushed out. Combined with storage environment parameter monitoring and device type, precise adjustments are achieved, forming a complete storage environment adjustment record.
It improves the safety of drug management, the timeliness of information updates, and the compliance of storage conditions, reduces the risk of drug deterioration, and ensures the automation and traceability of drug management.
Smart Images

Figure CN120954759B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of drug information management, in particular to an intelligent drug management method and system based on cloud computing. BACKGROUND
[0002] The technical field of drug information management includes various information management methods in the process of data collection, storage, processing and use related to drugs. The core content of this field includes storage management, distribution management, use record and tracking of patient drug use of drugs. Drug information management provides efficient and safe drug management services for patients through effective monitoring, precise allocation and rational use of drugs. This field also involves the circulation of drugs within medical institutions, drug inventory management, real-time updating and querying of drug information, etc. to ensure the standardization and precision of drug management links.
[0003] Among them, the intelligent drug management method refers to the optimization of drug management process through intelligent means in the process of drug information management. This method mainly solves the technical problems of automatic recording in drug use process, efficiency of drug distribution and allocation, etc. Its technical content includes automatic identification of drug information through intelligent devices, drug inventory monitoring and allocation through data management, and real-time monitoring of patient drug use through integrated information platform. This method realizes the intelligentization and precision of drug management by setting drug management rules and combining with automatic equipment, reduces human errors, and improves the efficiency of drug management.
[0004] In the prior art, the user permission rules are relatively fixed, and it is difficult to dynamically adjust the access permission according to the user role, which causes the problem that the information access and modification permission control is not fine enough, leading to unauthorized user misoperation or information leakage. The push mode of drug information update is relatively single, lacking accurate matching for change categories and influence range, resulting in that part of the related users cannot obtain the update in time, affecting the real-time of drug management decision, the monitoring of drug storage environment relies on periodic manual inspection or simple threshold alarm mode, which is difficult to carry out fine-grained environment parameter deviation analysis, resulting in that the storage environment cannot be adjusted in time when the storage environment is abnormal, increasing the risk of drug damage, the adjustment mode of storage equipment is relatively fixed, and cannot be adjusted in combination with the type of equipment and specific environmental parameters, resulting in insufficient adjustment accuracy, causing over-adjustment or adjustment lag, so that the storage condition is difficult to keep in the best range all the time, the adjustment record of storage environment lacks systematic management, it is difficult to form a complete adjustment data chain, affecting the traceability of storage condition adjustment and the accuracy of data analysis, resulting in problems such as security risks of drug management, untimely information synchronization, and insufficient storage adjustment accuracy, affecting the management efficiency and quality control of drugs. SUMMARY
[0005] The application aims to solve the problems in the prior art and provides an intelligent medicine management method and system based on cloud computing.
[0006] To achieve the above-mentioned purpose, the application adopts the following technical scheme: an intelligent medicine management method based on cloud computing, comprising the following steps:
[0007] S1: based on user role information and medicine category information, comparing user permission rules and medicine information access rules to determine whether the user has access and modification permissions for medicine information, filtering the user operation range that meets the permission rules to obtain a medicine information access permission state;
[0008] S2: based on the medicine information access permission state, monitoring the medicine information change content, extracting the change category and influence range, filtering the users who need to receive update information, matching the notification method, and obtaining a medicine information change push task;
[0009] S3: based on the medicine information change push task, extracting the temperature, humidity, and air flow rate of the medicine storage device, calling the medicine storage requirement library, calculating the deviation value of the storage environment parameters and the standard storage requirements, determining whether the storage environment state is beyond the storage requirement range, filtering the storage abnormal situation, and obtaining a storage environment abnormal state;
[0010] S4: based on the storage environment abnormal state, matching the adjustment equipment type, filtering the executable adjustment method, determining the adjustment instruction application range, filtering the adjustment data of the corresponding equipment, and outputting the medicine storage device adjustment instruction.
[0011] As a further scheme of the application, the medicine information access permission state includes accessible medicine categories, modifiable medicine information ranges, and user permission levels, the medicine information change push task includes change categories, influence ranges, receiving users, and notification methods, and the storage environment abnormal state includes temperature deviation, humidity deviation, and air flow rate deviation, and the medicine storage device adjustment instruction includes adjustment equipment type, adjustment method, application range, and adjustment parameters.
[0012] As a further scheme of the application, the obtaining step of the medicine information access permission state is specifically:
[0013] S111: based on user role information and medicine category information, matching user permission rules and medicine information access rules to determine access permissions and obtain a user access permission matching value;
[0014] S112: calling the user access permission matching value to evaluate the user's modification permission for medicine information, using the formula:
[0015] ;
[0016] screening the user operation range meeting the modification permission condition to obtain a user modification permission evaluation value;
[0017] wherein, representing the user modification permission evaluation value, representing the access permission determination value, representing the role level weight, representing the drug data sensitivity weight, representing the modification permission parameter;
[0018] S113: comparing the access and modification permission threshold value based on the user modification permission evaluation value, screening the user operation range meeting the permission rule to obtain a drug information access permission state.
[0019] As a further scheme of the present application, the obtaining step of the drug information change pushing task is specifically:
[0020] S211: based on the drug information access permission state, detecting the drug information change content, extracting the change category and the influence range, analyzing the influence amplitude of the change category according to the drug attribute data of the change category and the original change record, and using the formula:
[0021] ;
[0022] calculating the change influence index, combining the influence range information, and obtaining the change category influence index;
[0023] wherein, representing the change influence index, representing the value of the i-th drug attribute data at the current time point t, representing the value of the i-th drug attribute data at the last time point t-1, representing the total number of drug attribute data of the change category, representing the weight coefficient of the i-th drug attribute data, representing the original change frequency weighting factor of the change category, representing the adjustment parameter of the change category;
[0024] S212: calling the change category influence index, screening the user who needs to receive the update information, analyzing the attention degree of the user to the change category, and obtaining the user update demand strength;
[0025] S213: calling the user update demand strength, matching the notification method, extracting the user preferred notification channel and demand strength threshold, screening the matched pushing method, and obtaining the drug information change pushing task.
[0026] As a further scheme of the present application, the obtaining step of the storage environment abnormal state is specifically:
[0027] S311: Based on the drug information change push task, the temperature, humidity and air flow rate of the drug storage device are extracted, the mean value of the storage environment parameters of the storage device is calculated, the temperature, humidity and air flow rate reference values in the storage requirement are set, the deviation of the storage device parameter mean value and the reference value is compared, and the storage environment parameter deviation value is obtained;
[0028] S312: Based on the storage environment parameter deviation value, it is judged whether the storage environment state exceeds the storage requirement range, the storage abnormality is screened, and the storage environment over-limit state is obtained;
[0029] S313: Based on the storage environment over-limit state, the deviation degree of the storage abnormality is analyzed, and the formula is:
[0030] ;
[0031] The storage environment abnormal state deviation value is calculated, and the storage environment abnormal state is obtained;
[0032] Among them, represents the storage environment abnormal state deviation value, represents the current storage device temperature, represents the storage requirement temperature reference value, represents the current storage device humidity, represents the storage requirement humidity reference value, represents the current storage device air flow rate, represents the storage requirement air flow rate reference value.
[0033] As a further scheme of the present application, the obtaining step of the drug storage device adjustment instruction is specifically:
[0034] S411: Based on the storage environment abnormal state, the corresponding adjustment device type is matched, the adaptability difference value of the device is calculated, the device type with adaptability difference value lower than the set threshold value is screened, and the executable adjustment device set is obtained;
[0035] S412: The executable adjustment device set is called, the executable adjustment mode is screened, the parameter variation rate corresponding to the adjustment mode is analyzed, and the adjustment mode with the variation rate within the device matching range is screened, the abnormal parameter change trend of the storage environment is identified, and the applicable adjustment mode set is obtained;
[0036] S413: Based on the applicable adjustment mode set, the influence range of the adjustment mode is evaluated, and the applicability in the key storage area is screened, and the formula is:
[0037] ;
[0038] The operation device adjusts the data variation, filters the adjustment data meeting the device compatibility, and outputs a drug storage device adjustment instruction.
[0039] Among them, representing the device adjustment data variation, representing the device adjustment parameter value of the jth adjustment mode, representing the device reference adjustment parameter value of the jth adjustment mode, representing the current storage environment temperature parameter of the jth adjustment mode, representing the reference storage environment temperature parameter of the jth adjustment mode, representing the number of adjustment modes in the applicable adjustment mode set.
[0040] As a further scheme of the present application, the method further comprises a S5 step:
[0041] S5: Based on the drug storage device adjustment instruction, extract the storage device control interface in intelligent medicine management, execute the adjustment operation, monitor the storage environment parameter change after adjustment, record the data before and after adjustment, and output the storage environment adjustment state record;
[0042] The storage environment adjustment state record includes the environment parameter before adjustment, the environment parameter after adjustment, and the adjustment execution state.
[0043] As a further scheme of the present application, the acquisition step of the storage environment adjustment state record is specifically:
[0044] S511: Based on the drug storage device adjustment instruction, extract the adjustment parameter of the storage device control interface, extract the storage environment parameter monitoring data, and use the formula:
[0045] ;
[0046] Calculate the current storage environment state deviation value, determine the adjustment requirement, and obtain the storage adjustment requirement state.
[0047] Among them, representing the current storage environment state deviation value, representing the kth storage environment monitoring parameter value, representing the kth storage environment reference value, representing the total number of monitoring data samples, representing the storage environment monitoring parameter mean value;
[0048] S512: Based on the storage adjustment requirement state, call the storage device control interface, execute the storage environment adjustment operation, identify the storage environment parameter variation, and obtain the storage parameter adjustment amplitude;
[0049] S513: Call the storage parameter adjustment range, compare the current storage environment state deviation, judge whether the adjusted parameter meets the drug storage requirement, record the data before and after adjustment, and output the storage environment adjustment state record.
[0050] An intelligent drug management system based on cloud computing, the system comprises:
[0051] The permission management module compares the permission rules and the access rules based on the user role information and the drug category information, filters the user operation range, and obtains the drug information access permission state;
[0052] The information pushing module extracts the drug information change category based on the drug information access permission state, filters the user meeting the access permission, matches the notification mode, and obtains the drug information change pushing task;
[0053] The storage environment monitoring module calls the temperature, humidity and air flow rate of the storage device based on the drug information change pushing task, matches the drug storage requirement, calculates the deviation value of the storage environment parameter and the storage requirement, judges whether it is out of the required range, filters the storage abnormality, and obtains the storage environment abnormality state;
[0054] The storage abnormality analysis module matches the adjustment device type based on the storage environment abnormality state, filters the executable adjustment mode, filters the adjustment data of the corresponding device, and obtains the drug storage device adjustment instruction;
[0055] The storage environment adjustment module calls the storage device control interface based on the drug storage device adjustment instruction, executes the adjustment operation, monitors the storage environment parameter change, records the adjustment data, and outputs the storage environment adjustment state record.
[0056] Compared with the prior art, the advantages and positive effects of the present application are that:
[0057] In the present application, by comparing and analyzing the user role information and the drug category information, the user's drug information access permission and modification permission are strictly screened, thereby limiting the user operation range, ensuring the safety and compliance of the drug data, after the drug information is changed, the changed content is automatically identified, the influence range is extracted, the users who need to receive the updated information are screened, and the appropriate notification mode is matched, the precise pushing of the drug information is realized, the timeliness and effectiveness of the information synchronization are improved, in the drug storage process, the environmental parameters such as temperature, humidity, air flow rate are extracted, and the difference calculation with the standard storage requirements is performed, the storage environment abnormality is accurately identified, the drug storage conditions are ensured to meet the requirements, the risk of drug deterioration caused by environmental factors is reduced, for the storage abnormality, the executable adjustment mode is screened, and the adjustment instruction is matched based on the storage equipment type, the precise environmental adjustment is realized, the storage stability is improved, after the storage equipment executes the adjustment operation, the environmental parameter change is monitored, and the data before and after the adjustment is recorded, a complete storage environment adjustment state record is formed, the traceability and precision of the storage condition adjustment are ensured, this kind of permission screening, change information precise pushing, environmental monitoring and intelligent adjustment mode improves the safety of drug management, the timeliness of information updating, the compliance and automation degree of storage conditions, ensures the quality stability and controllability of drugs in the storage and flow process. BRIEF DESCRIPTION OF DRAWINGS
[0058] Figure 1 It is the main step schematic diagram of the present application;
[0059] Figure 2 It is the acquisition flow chart of the drug information access permission state in the present application;
[0060] Figure 3 It is the acquisition flow chart of the drug information change pushing task in the present application;
[0061] Figure 4 It is the acquisition flow chart of the storage environment abnormality state in the present application;
[0062] Figure 5 It is the acquisition flow chart of the drug storage equipment adjustment instruction in the present application;
[0063] Figure 6 It is the acquisition flow chart of the storage environment adjustment state record in the present application. DETAILED DESCRIPTION
[0064] In order to make the purpose, technical scheme and advantages of the present application more clear, the present application is further described in detail below combined with the drawings and examples. It should be understood that the specific examples described herein are only used to explain the present application, and are not used to limit the present application.
[0065] In the description of the present application, it should be understood that the terms "length", "width", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the present application. In addition, in the description of the present application, the meaning of "a plurality of" is two or more, unless otherwise explicitly and specifically limited.
[0066] Embodiment one: please refer to Figure 1 The present application provides a technical solution: an intelligent drug management method based on cloud computing, comprising the following steps:
[0067] S1: based on user role information and drug category information, comparing user permission rules and drug information access rules to determine whether the user has access and modification permissions for drug information, filtering user operation range that meets the permission rules, and obtaining drug information access permission state;
[0068] S2: based on the drug information access permission state, monitoring the drug information change content, extracting the change category and the influence range, filtering the users who need to receive the update information, matching the notification method, and obtaining the drug information change push task;
[0069] S3: based on the drug information change push task, extracting the temperature, humidity and air flow rate of the drug storage equipment, calling the drug storage requirement library, calculating the deviation value of the storage environment parameters and the standard storage requirements, judging whether the storage environment state is out of the storage requirement range, filtering the storage abnormal situation, and obtaining the storage environment abnormal state;
[0070] S4: based on the storage environment abnormal state, matching the adjustment equipment type, filtering the executable adjustment mode, judging the adjustment instruction application range, filtering the adjustment data of the corresponding equipment, and outputting the drug storage equipment adjustment instruction;
[0071] S5: based on the drug storage equipment adjustment instruction, extracting the storage equipment control interface in the intelligent drug management, executing the adjustment operation, monitoring the storage environment parameter change after adjustment, recording the data before and after adjustment, and outputting the storage environment adjustment state record.
[0072] Drug information access permission status includes accessible drug categories, modifiable drug information scope, and user permission level; drug information change push task includes change category, affected scope, receiving users, and notification method; abnormal storage environment status includes temperature deviation, humidity deviation, and air circulation rate deviation; drug storage device adjustment instructions include adjustment device type, adjustment method, applicable scope, and adjustment parameters; storage environment adjustment status record includes environmental parameters before adjustment, environmental parameters after adjustment, and adjustment execution status.
[0073] Please see Figure 2 The specific steps for obtaining the access permission status of drug information are as follows:
[0074] S111: Based on user role information and drug category information, match user permission rules and drug information access rules to determine access permissions and obtain user access permission matching values;
[0075] Collect user role data, such as whether the user is a hospital pharmacist or outpatient doctor, and match it with drug data. Drug data includes drug category, risk level, and data sensitivity. For example, if a drug is a high-risk drug with high data sensitivity, and the user role is an outpatient doctor, they are only allowed to access non-sensitive drug information. By comparing the user's role level with the sensitivity of the drug information, a matrix matching method is used to set different access permissions for each user role and each drug category. The specific access permission judgment value is calculated. This value is obtained by numerically calculating the role permission and drug sensitivity, which can be expressed as the product of the role permission value and the drug sensitivity value. Then, based on the calculated value, users and drug information combinations that meet the permissions are filtered to obtain the user access permission matching value.
[0076] S112: Use the user access permission matching value to assess the user's permission to modify drug information, using the following formula:
[0077] ;
[0078] Filter the user operation scope that meets the modification permission conditions to obtain the user modification permission evaluation value;
[0079] in, Modify the permission assessment value on behalf of the user. This represents the access permission determination value. Represents the weight of the role level. Represents the sensitivity weight of drug data. This represents modifying permission parameters;
[0080] "Access permission decision value" indicates whether the user has access to a certain drug category, which is determined by comparing the user role and drug category information. And "user modification permission evaluation value" is based on "access permission decision value" and several factors (such as role level weight, drug data sensitivity weight, modification permission parameter) to evaluate whether the user has the right to modify the specific information of the drug. Modification permission evaluation value is calculated by comprehensive weight and parameter, ensuring that only qualified users can modify drug information, thus protecting the security and sensitivity of drug data. "Modification permission parameter" is a key parameter, which is used to measure the degree of restriction of data modification by users in a specific role and drug category;
[0081] First, confirm the user access permission matching value, which is based on user role information and drug category information, such as a certain drug belonging to high-risk category, and the user role is outpatient doctor, the matching value is 0.6. Considering the role level weight, drug data sensitivity weight and modification permission parameter for the matching value, for example, if the doctor has a certain level of permission (role level weight 0.7), and the sensitivity weight of the drug is 0.4, the modification permission parameter is set to 3, indicating that the doctor's access to sensitive data is strictly limited;
[0082] Substitute the specific values: ;
[0083] The calculation process shows that the modification permission of the outpatient doctor for the high-risk drug is extremely limited, only 0.005, which reflects that the system ensures the security and accuracy of sensitive drug information through strict calculation;
[0084] The advantage of this calculation method is to integrate the role level of the user and the sensitivity of the drug, and to ensure the rationality and accuracy of the permission allocation in a mathematical way. Through such calculation, medical institutions can effectively control the modification permission of different levels of medical staff on sensitive drug information, ensuring the compliance and safety of drug information processing. This permission calculation model can be applied to different medical scenarios, such as hospital information or drug management, helping to develop more detailed permission management strategies. Through the calculation of actual data, not only the practicality of the formula is verified, but also the effective application in real operation is ensured, which has important significance for improving the level of medical information security management.
[0085] S113: Based on the user modification permission evaluation value, compare the access and modification permission threshold value, filter the user operation range that meets the permission rules, and get the drug information access permission state;
[0086] First, the user modifies the permission evaluation value, reflecting the specific permission value of the user according to the role and the sensitivity of the accessed drug information, and further compared with the set permission threshold value, for example, if the permission evaluation value exceeds the set threshold value, the user can perform more types of operations, such as modifying or deleting drug information, the comparison process needs to support specific numerical values, and the operation category of the user is determined through logical judgment, thereby screening the user operation range that meets the access and modification permission rules, and finally determining the drug information that the user can access and the operation type that can be executed, and obtaining the drug information access permission state.
[0087] Please refer to Figure 3 , the acquisition step of the drug information change pushing task is specifically:
[0088] S211: Based on the drug information access permission state, detect the drug information change content, extract the change category and influence range, analyze the influence amplitude of the change category according to the drug attribute data of the change category and the original change record, and use the formula:
[0089] ;
[0090] Calculate the change influence index, combine the influence range information, and obtain the change category influence index;
[0091] Among them, represents the change influence index, represents the value of the ith drug attribute data at the current time point t, represents the value of the ith drug attribute data at the last time point t-1, represents the total number of drug attribute data of the change category, represents the weight coefficient of the ith drug attribute data, represents the original change frequency weighting factor of the change category, represents the adjustment parameter of the change category;
[0092] Firstly, the data collection function is involved, which regularly extracts the latest drug information from the database and compares it with the previously stored drug data, for example, at time t, the price of drug A changes, and the price of the drug at time t-1 is queried from the previously stored data, the price change amplitude is calculated, if the change amplitude exceeds the set minimum change threshold, the change data is recorded, in addition to the price information, the change of the composition, expiration date, indications and other information of the drug is also recorded, each change corresponds to a different influence weight to evaluate the influence degree of the change on the user;
[0093] Specific numerical value calculation example:
[0094] Suppose a drug involves the following change information:
[0095] Price change: Yuan, Yuan, corresponding weight ;
[0096] Ingredient content change: mg, mg, corresponding weight ;
[0097] Effective period change: months, months, corresponding weight ;
[0098] Total number of drug attributes involved in change category ;
[0099] Historical change frequency weighting factor ;
[0100] Adjustment parameters ;
[0101] Calculate the impact value of each change:
[0102] ;
[0103] ;
[0104] ;
[0105] Calculate the change impact index: ;
[0106] The final calculated change impact index is 7.57, which is used to quantify the overall impact of drug information change. A higher impact index means that the drug information has changed significantly and has a wider range of influence. The value will be combined with user selection and notification method matching to ultimately obtain the change category impact index, which is a quantitative measure of the impact of drug change categories. This measure is the key basis for determining whether to push updates to users.
[0107] S212: Call the change category impact index, filter users who need to receive update information, analyze the user's attention to the change category, and obtain the user's update demand intensity;
[0108] The change category impact index is used to screen users who need to receive update information. First, the users are screened, and the user's attention to the target drug change is calculated according to the user's drug subscription status and historical access records. For example, if a user frequently queries information about a specific drug, when the information about the drug changes, the user's update demand intensity will be relatively high. The attention model used in this process is based on user behavior data. The query frequency of the user for drug information and the impact index of drug change are considered comprehensively to obtain the user's update demand intensity, which reflects the user's sensitivity and demand urgency for drug information change. Finally, the users are screened according to the intensity. Only when the user's update demand intensity is higher than the preset threshold, the change information will be pushed to the user.
[0109] S213: Call the user update demand intensity, match the notification method, extract the user preferred notification channel and demand intensity threshold, screen the matched push method, and get the drug information change push task;
[0110] According to the user update demand intensity, the appropriate notification method is matched. The process includes selecting the most suitable notification channel, such as SMS, email or in-app notification, etc. to ensure that the information can be effectively conveyed. In the specific matching process, first check the user's preference settings to determine the user's most commonly used information receiving channel. Then, according to the user's update demand intensity and the user's set notification preference, select an optimal push method. This selection process is dynamic, taking into account the different preferences and reaction sensitivities of different users for receiving information channels. Through intelligent algorithm optimization, the push method is optimized to ensure that each drug information change can be notified to each user in the most appropriate way. Finally, the drug information change push task is generated, which is the result of setting the user's demand intensity and notification preference, ensuring the efficiency and accuracy of information transmission.
[0111] Please refer to Figure 4 The acquisition step of the storage environment abnormal state is specifically:
[0112] S311: Based on the drug information change push task, extract the temperature, humidity, and air flow rate of the drug storage device, calculate the average value of the storage environment parameters of the storage device, set the temperature, humidity, and air flow rate reference value in the storage requirements, compare the deviation of the average value of the storage device parameters and the reference value, and get the storage environment parameter deviation value;
[0113] First, the environmental parameters of the drug storage device are obtained, such as temperature, humidity, and air flow rate. The data is obtained by real-time monitoring of sensors. For example, in a large pharmacy, sensors are installed in each storage cabinet to ensure that the temperature is between 2 and 8 degrees, the humidity is maintained at 40% to 60%, and there is proper air flow to prevent drug deterioration. The drug storage requirements library is called, which contains the storage standard parameters of all drugs. The necessary temperature, humidity, and flow rate reference values are obtained by database query. The deviation between the actual measured average environmental parameters and the reference values is calculated, such as the temperature in the storage cabinet is 7 degrees, and the reference temperature is 5 degrees, so the temperature deviation is 2 degrees. Further comparison of the deviation is made to determine whether it is within the allowed range. This comparison of deviation helps to adjust the storage conditions in a timely manner to prevent damage to drugs due to improper storage. The storage environment parameter deviation value is obtained.
[0114] S312: Based on the storage environment parameter deviation value, determine whether the storage environment state exceeds the storage requirement range, filter the storage abnormality, and obtain the storage environment over-limit state;
[0115] Determine whether the storage environment is suitable. If the parameters exceed the allowed range of the drug storage standard, such as a temperature deviation of more than 3 degrees, it will be automatically marked as a storage abnormality. The determination is achieved by setting a threshold, for example, the upper limit threshold of temperature is set to 3 degrees, and any deviation exceeding this range will trigger an alarm. The abnormal cases are filtered and prioritized for handling, such as first resolving the storage cabinet with a temperature deviation of more than 5 degrees. The filtering process ensures the rational allocation of resources, optimizes the storage environment of drugs, and improves drug safety. Through a series of judgment and screening operations, the storage environment over-limit state is finally obtained.
[0116] S313: Based on the storage environment over-limit state, analyze the deviation degree of the storage abnormality, using the formula:
[0117] ;
[0118] Calculate the storage environment abnormality state deviation value to obtain the storage environment abnormality state.
[0119] Where, represents the storage environment abnormality state deviation value, represents the current storage device temperature, represents the storage requirement temperature reference value, represents the current storage device humidity, represents the storage requirement humidity reference value, represents the current storage device air flow rate, represents the storage requirement air flow rate reference value;
[0120] A comprehensive evaluation method is used to calculate the deviation degree of the abnormal state, which combines the deviations of temperature, humidity and air flow rate. In a practical drug storage environment monitoring example, the measured value of the temperature of a certain storage area is ℃, while the standard storage temperature of such drugs is ℃, the measured value of the humidity is , while the standard humidity is , the measured value of the air flow rate is m / s, while the standard requirement is m / s;
[0121] The deviation term of temperature and humidity is calculated:
[0122] ;
[0123] ;
[0124] The deviation term of air flow rate is calculated: ;
[0125] The final deviation value is calculated: ;
[0126] The calculation result reflects the deviation degree between the storage environment and the standard storage requirements. The larger the value, the more unstable the storage environment. If the preset environmental abnormality judgment threshold is 10, the storage conditions of this area have exceeded the allowed range, and adjustment measures such as reducing temperature, reducing humidity or adjusting ventilation rate need to be taken. This calculation method quantifies the deviation of each environmental parameter to form a comprehensive evaluation index, which helps to judge the overall stability of the storage environment, so as to obtain the abnormal state of the storage environment.
[0127] Please refer to Figure 5 , the acquisition step of the drug storage device adjustment instruction is:
[0128] S411: Based on the abnormal state of the storage environment, match the corresponding adjustment device type, calculate the adaptability difference value of the device, filter the device types with adaptability difference value below the set threshold, and obtain the executable adjustment device set;
[0129] By monitoring multiple environmental parameters such as temperature and humidity readings, pressure indicators, etc., data is collected by sensors in real time in the device. For example, when the temperature exceeds 30℃, the device will record an abnormal state and activate an alarm, so as to filter the device types that differ little from the set threshold. The screening process not only relies on automatic analysis, but also needs manual review to ensure the accuracy of the screening. It can ensure that only devices suitable for the current abnormal environment are selected, reduce storage problems caused by device mismatch, and obtain the executable adjustment device set.
[0130] S412: Call the executable adjustment device set, filter the executable adjustment mode, analyze the parameter variation rate corresponding to the adjustment mode, and filter the adjustment mode with the variation rate within the device matching range, identify the abnormal parameter variation trend of the storage environment, and obtain the applicable adjustment mode set;
[0131] Combined with the adjustment mode supported by the device and the current storage demand, for example, a certain drug needs to be stored in a specific temperature and humidity range, the demand parameters are input through the program interface of the adjustment device, and the device automatically calculates the parameter variation rate of multiple adjustment modes. Through software algorithm comparison, the adaptability of various adjustment modes is compared, for example, if the environment temperature needs to be reduced by 5℃, the device calculates the expected temperature after adjustment of each mode, and filters the adjustment mode that can achieve the required temperature change. This calculation is not only based on historical data analysis, but also considers the prediction of environmental trends to obtain the applicable adjustment mode set.
[0132] S413: Based on the applicable adjustment mode set, evaluate the influence range of the adjustment mode, and filter the applicability in the key storage area, using the formula:
[0133] ;
[0134] Calculate the device adjustment data variation, filter the adjustment data that meets the device compatibility, and output the drug storage device adjustment instruction;
[0135] Among them, represents the device adjustment data variation, represents the device adjustment parameter value of the jth adjustment mode, represents the device reference adjustment parameter value of the jth adjustment mode, represents the current storage environment temperature parameter of the jth adjustment mode, represents the reference storage environment temperature parameter of the jth adjustment mode, represents the number of adjustment modes in the applicable adjustment mode set;
[0136] First, the device adjustment data variation of each adjustment mode needs to be calculated to ensure that the device adjustment meets the current storage environment demand. For the current adjustment parameter and the reference adjustment parameter of each device, data acquisition is required, for example, the current device adjustment parameter is the temperature adjustment value , and the reference adjustment parameter is , the temperature parameter of the current storage environment is measured , and the reference temperature is , for example, the current environment temperature , and the reference temperature , data can be monitored by temperature and humidity sensors and stored in device data management, and the device adjustment data change amount is calculated ;
[0137] Substitute the actual measured value into the calculation: ;
[0138] Calculation results representing that the device adjustment data change amount is low, meeting the acceptable range, if exceeds the set threshold (e.g. 1.5), indicating that the adjustment scheme of the device is too aggressive or insufficient, at which time the adjustment method needs to be re-evaluated, or the operating parameters of the adjustment device are adjusted, to avoid the storage environment change range being too large to affect the stability of drug storage, based on the calculated device adjustment data change amount , screening adjustment data that meet device compatibility, and obtaining drug storage device adjustment instructions.
[0139] Please refer to Figure 6 , the acquisition step of the storage environment adjustment state record is specifically:
[0140] S511: Based on the drug storage device adjustment instructions, extract the adjustment parameters of the storage device control interface, extract the storage environment parameter monitoring data, and use the formula:
[0141] ;
[0142] Calculate the current storage environment state deviation value, determine the adjustment requirement, and obtain the storage adjustment requirement state;
[0143] wherein, representing the current storage environment state deviation value, representing the kth storage environment monitoring parameter value, representing the kth storage environment reference value, representing the total number of monitoring data samples, representing the average value of the storage environment monitoring parameters;
[0144] First, the adjustment instruction is received from the central control unit, which contains the expected storage environment parameters such as temperature, humidity, etc., the storage device control interface is called, and communication with the drug storage device is carried out through it to convey the adjustment requirement, the monitoring data involved in the process includes real-time temperature and humidity readings and the average value of the last monitoring, etc. When calculating the current storage environment state deviation value, the difference between the current reading and the expected value is compared, and the standard deviation and average deviation formula is used to evaluate the overall deviation. Assuming that the current temperature reading is 20℃, the expected temperature is 22℃, the humidity reading is 55%RH, and the expected humidity is 50%RH, the average deviation formula will calculate the deviation values of temperature and humidity;
[0145] For specific illustration, assume that the currently monitored environmental parameters have 3 readings, with temperatures of 19℃, 20℃, and 21℃, and humidities of 56%RH, 55%RH, and 54%RH, and the desired parameters are 22℃ and 50%RH;
[0146] wherein is the temperature of each monitoring, is the desired temperature, and so on, is the number of monitoring times, here , the specific numerical values are substituted: ;
[0147] the average temperature ;
[0148] Calculate the temperature part:
[0149] ;
[0150] ;
[0151] Therefore, the temperature deviation part of , and the humidity deviation can be calculated in the same way. This calculation method not only provides a direct and intuitive way to evaluate the deviation of the storage conditions, but also ensures the accuracy of the adjustment measures. In this way, the drug storage environment can be precisely controlled to ensure the effectiveness and safety of the drugs. The storage adjustment requirement state is obtained through calculation.
[0152] S512: Based on the storage adjustment requirement state, call the storage device control interface, execute the storage environment adjustment operation, identify the storage environment parameter change amount, and obtain the storage parameter adjustment amplitude;
[0153] Send specific adjustment instructions to the adjustment device through the storage device control interface, including specific operations to adjust temperature and humidity. During the adjustment process, the changes in environmental parameters will be monitored in real time, and the data before and after adjustment will be recorded. For example, if the initial temperature is 20℃ and the target temperature after adjustment is 22℃, activate the heater or cooler to achieve the required temperature adjustment. The humidity will also be adjusted as needed. Through real-time feedback control, ensure that each adjustment is accurate to reach the target state, and finally obtain the storage parameter adjustment amplitude.
[0154] S513: Call the storage parameter adjustment amplitude, compare the current storage environment state deviation, judge whether the adjusted parameters meet the drug storage requirements, record the data before and after adjustment, and output the storage environment adjustment state record;
[0155] The effect of adjustment is evaluated to ensure that the adjustment operation makes the parameters of the storage environment reach the preset standard, by comparing the environmental parameters before and after adjustment, for example, the temperature before adjustment is 20 DEG C, and the temperature after adjustment is 22 DEG C, the adjustment range is calculated, and the success of adjustment is judged by the set effect standard, such as the temperature deviation must be within ± 0.5 DEG C, if the adjustment result meets the expectation, it is recorded as success, otherwise it is recorded as needing further adjustment, in this way, the data before and after adjustment is recorded, the storage environment adjustment state record is obtained, and it is ensured that each adjustment can reach the optimal state.
[0156] An intelligent medicine management system based on cloud computing, the system comprises:
[0157] The permission management module compares the permission rules and the access rules based on the user role information and the medicine category information, filters the user operation range, and obtains the medicine information access permission state;
[0158] The information pushing module extracts the medicine information change category based on the medicine information access permission state, filters the user meeting the access permission, matches the notification mode, and obtains the medicine information change pushing task;
[0159] The storage environment monitoring module calls the temperature, humidity and air flow rate of the storage device based on the medicine information change pushing task, matches the medicine storage requirement, calculates the deviation value of the storage environment parameter and the storage requirement, judges whether it is out of the required range, filters the storage abnormality, and obtains the storage environment abnormality state;
[0160] The storage abnormality analysis module matches the adjustment device type based on the storage environment abnormality state, filters the executable adjustment mode, filters the adjustment data of the corresponding device, and obtains the medicine storage device adjustment instruction;
[0161] The storage environment adjustment module calls the storage device control interface based on the medicine storage device adjustment instruction, executes the adjustment operation, monitors the storage environment parameter change, records the adjustment data, and outputs the storage environment adjustment state record.
[0162] The above is only a preferred embodiment of the present application, and does not limit the form of the present application, any skilled person in the art can use the disclosed technical content to make changes or modifications into equivalent embodiments applied to other fields, but any simple modification, equivalent change and modification made on the basis of the technical essence of the present application to the above embodiments without departing from the technical solution content of the present application, still belongs to the protection scope of the technical solution of the present application.
Claims
1. A cloud computing-based intelligent drug management method, characterized in that, Includes the following steps: S1: Based on user role information and drug category information, compare user permission rules with drug information access rules to determine whether the user has access and modification permissions for drug information, filter the user operation scope that meets the permission rules, and obtain the drug information access permission status. S2: Based on the drug information access permission status, obtain the drug information change push task. The specific steps are: detect the drug information change content, extract the change category and impact range, and analyze the impact magnitude of the change category based on the drug attribute data of the change category and the original change record, using the formula: ; Calculate the change impact index and, in conjunction with the impact scope information, obtain the change category impact index; in, The change in the index represents the impact of the index. This represents the value of the i-th drug attribute data at the current time point t. This represents the value of the i-th drug attribute data at the previous time point t-1. The total number of drug attribute data representing the changed category. This represents the weighting coefficient of the i-th drug attribute data. The original change frequency weighting factor representing the change category. Adjustment parameters representing the change category; By calling the change category impact indicators, users who need to receive update information are filtered, the degree of user attention to the change category is analyzed, and the intensity of user update demand is obtained. The system calls upon the intensity of user update demand, matches notification methods, extracts user preference notification channels and demand intensity thresholds, filters matching push methods, and obtains drug information change push tasks. S3: Based on the drug information change push task, extract the temperature, humidity, and air circulation rate of the drug storage device, call the drug storage requirement library, calculate the deviation value between the storage environment parameters and the standard storage requirements, determine whether the storage environment status exceeds the storage requirement range, filter storage abnormalities, and obtain the storage environment abnormal status. S4: Based on the abnormal state of the storage environment, match the type of adjustment device, filter the executable adjustment method, determine the applicable scope of the adjustment instruction, filter the adjustment data of the corresponding device, and output the drug storage device adjustment instruction.
2. The cloud-based intelligent drug management method according to claim 1, characterized in that, The drug information access permission status includes accessible drug categories, modifiable drug information scope, and user permission level. The drug information change push task includes change category, scope of impact, receiving users, and notification method. The abnormal storage environment status includes temperature deviation, humidity deviation, and air circulation rate deviation. The drug storage device adjustment command includes adjustment device type, adjustment method, applicable scope, and adjustment parameters.
3. The cloud computing-based intelligent drug management method according to claim 1, characterized in that, The specific steps for obtaining the access permission status of the drug information are as follows: S111: Based on user role information and drug category information, match user permission rules and drug information access rules to determine access permissions and obtain user access permission matching values; S112: Use the user access permission matching value to evaluate the user's permission to modify drug information, using the following formula: ; Filter the user operation scope that meets the modification permission conditions to obtain the user modification permission evaluation value; in, Modify the permission assessment value on behalf of the user. This represents the access permission determination value. Represents the weight of the role level. Represents the sensitivity weight of drug data. This represents modifying permission parameters; S113: Based on the user modification permission assessment value, compare the access and modification permission thresholds, filter the user operation range that meets the permission rules, and obtain the drug information access permission status.
4. The intelligent drug management method based on cloud computing according to claim 1, characterized in that, The specific steps for obtaining the abnormal state of the storage environment are as follows: S311: Based on the drug information change push task, extract the temperature, humidity, and air circulation rate of the drug storage device, calculate the average value of the storage environment parameters of the storage device, set the benchmark values of temperature, humidity, and air circulation rate in the storage requirements, compare the deviation between the average value of the storage device parameters and the benchmark value, and obtain the storage environment parameter deviation value. S312: Based on the deviation value of the storage environment parameters, determine whether the storage environment status exceeds the storage requirement range, filter storage abnormalities, and obtain the storage environment over-limit status; S313: Based on the aforementioned storage environment exceeding limits, analyze the degree of deviation from the storage anomaly using the following formula: ; The deviation value of the abnormal state of the storage environment is calculated to obtain the abnormal state of the storage environment; in, This represents the deviation value from the abnormal state of the storage environment. Represents the current temperature of the storage device. This represents the required storage temperature baseline value. Represents the current humidity of the storage device. This represents the required humidity baseline value for storage. This represents the current airflow rate of the storage device. This represents the baseline value for the required airflow rate for storage.
5. The cloud-based intelligent drug management method according to claim 1, characterized in that, The specific steps for obtaining the drug storage device adjustment command are as follows: S411: Based on the abnormal state of the storage environment, match the corresponding adjustment device type, calculate the device's adaptability difference value, filter the device types with adaptability difference values lower than a set threshold, and obtain a set of executable adjustment devices; S412: Call the set of executable adjustment devices, filter the executable adjustment methods, analyze the parameter variation rate corresponding to the adjustment method, filter the adjustment methods whose variation rate is within the device matching range, identify the abnormal parameter change trend of the storage environment, and obtain the set of applicable adjustment methods; S413: Based on the set of applicable adjustment methods, assess the scope of influence of each adjustment method and screen its applicability within the critical storage area using the formula: ; The computing device adjusts the amount of data change, filters the adjustment data that meets the device compatibility requirements, and outputs adjustment instructions for the drug storage device. in, This represents the amount of data change that the device is adjusting. The device adjustment parameter value represents the j-th adjustment method. The reference adjustment parameter value for the j-th adjustment method is represented. The current storage environment temperature parameter represents the j-th adjustment method. The reference storage environment temperature parameter represents the j-th adjustment method. This represents the number of adjustment methods in the set of applicable adjustment methods.
6. The cloud computing-based intelligent drug management method according to claim 1, characterized in that, The method also includes step S5: S5: Based on the drug storage device adjustment command, extract the storage device control interface in intelligent drug management, execute the adjustment operation, monitor the changes in storage environment parameters after adjustment, record the data before and after adjustment, and output the storage environment adjustment status record. The storage environment adjustment status record includes the environment parameters before adjustment, the environment parameters after adjustment, and the adjustment execution status.
7. The cloud-based intelligent drug management method according to claim 6, characterized in that, The specific steps for obtaining the storage environment adjustment status record are as follows: S511: Based on the adjustment command of the drug storage device, extract the adjustment parameters of the storage device control interface, extract the storage environment parameter monitoring data, and use the formula: ; Calculate the current storage environment state deviation value, determine the adjustment requirements, and obtain the storage adjustment requirement state; in, This represents the deviation value of the current storage environment state. This represents the storage environment monitoring parameter value for the kth time. Represents the baseline value of the storage environment at the k-th time. Represents the total number of times monitoring data was sampled. This represents the average value of the storage environment monitoring parameters; S512: Based on the storage adjustment requirement status, call the storage device control interface to perform storage environment adjustment operations, identify the changes in storage environment parameters, and obtain the adjustment range of storage parameters; S513: Call the adjustment range of the storage parameters, compare the deviation of the current storage environment status, determine whether the adjusted parameters meet the drug storage requirements, record the data before and after the adjustment, and output the storage environment adjustment status record.
8. A cloud-based intelligent drug management system, characterized in that, The cloud-based intelligent drug management method according to any one of claims 1-7, wherein the system comprises: The access control module compares user role information and drug category information with permission rules and access rules, filters the scope of user operations, and obtains the access permission status of drug information. The information push module performs the following operations based on the drug information access permission status to obtain drug information change push tasks: detect drug information changes, extract change categories and impact scope, and, based on the drug attribute data of the change category and the original change records, use a formula... Calculate the change impact index, combine the impact scope information to obtain the change category impact index, filter users who need to receive update information and analyze the intensity of user update demand, call the user update demand intensity to match the notification method, extract the user's preferred notification channel and demand intensity threshold, and filter the matching push method. The storage environment monitoring module is based on the drug information change push task. It calls the temperature, humidity and air circulation rate of the storage device, matches the drug storage requirements, calculates the deviation value between the storage environment parameters and the storage requirements, determines whether it exceeds the required range, filters storage abnormalities, and obtains the abnormal state of the storage environment. The storage anomaly analysis module is based on the abnormal state of the storage environment, matches and adjusts the device type, filters the executable adjustment methods, filters the adjustment data of the corresponding device, and obtains the adjustment instructions for the drug storage device; The storage environment adjustment module calls the storage device control interface based on the adjustment command of the drug storage device, performs adjustment operations, monitors changes in storage environment parameters, records adjustment data, and outputs storage environment adjustment status records.
Citation Information
Patent Citations
Gas purification type medicine storage cabinet management method and system based on multi-dimensional data analysis
CN117423436A
Anesthesia medication management system with biological recognition function
CN120766864A