A smart medicine box medication data linkage control method and system
By monitoring the drug delivery records and abnormal drug acquisition data of the smart drug box, combined with convolutional identification and linkage matching value calculation, dynamic compatibility compensation of the drug use data of the smart drug box is achieved, solving the problem of low matching between drug use data and improving the Interoperability and security of drug use data.
Patent Information
- Application Number
- CN202411232418.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2044-09-04
AI Technical Summary
The existing intelligent drug box drug data linkage control method is difficult to identify abnormal drug acquisition behavior and dynamic matching between drug data during dynamic drug use strategies at different drug use stages, resulting in a decrease in the mutual matching between drug data and the inability to achieve dynamic compatibility compensation. .
By monitoring the dosing records of the smart drug box, the dosing information of different drug use stages in the historical dosing data is extracted, the reliability of the dosing is determined, and the abnormal distribution domain of abnormal drug acquisition data is identified through convolution, and the linkage correction factor is calculated. and linkage matching values, perform linkage compensation of drug dose and linkage recommendation of drug dosage strategies.
Realize dynamic compatibility compensation for the drug data of smart medicine box, improve the mutual matching between drug data at different drug use stages, ensure the matching of drug data with the actual drug use situation of the target user, and thus improve the interoperability of drug data linkage control Sex and medication safety.
Smart Images

Figure CN118737370B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of medical data processing, and more specifically, to a method and system for linking medication data of a smart medicine box. Background Art
[0002] Medical health refers to the use of advanced scientific and technological means to improve the quality and efficiency of medical services. It covers various technologies and equipment for prevention, diagnosis, treatment and disease management, including medical devices, diagnostic tools, biotechnology, information technology and health information systems. In actual application, it focuses on improving patient care, improving the efficiency of medical processes, and promoting personalized medical and health management through innovative technologies such as the Internet of Things, artificial intelligence, big data analysis and telemedicine. For example, through technical means such as Internet of Things devices, data analysis and artificial intelligence, the automatic collection, transmission, analysis and feedback of medication data can be realized, aiming to improve patients' medication compliance, optimize medication management, reduce medical errors, and improve patients' overall health and quality of life through personalized health management plans.
[0003] Smart medicine box medication data linkage control refers to the use of built-in sensors and wireless communication technology in smart medicine boxes to monitor and record the use of medicines in the medicine box, including operations such as opening the lid and taking medicines, and transmit these data to the cloud or local server. The system can analyze the medication behavior of the target user in real time. Based on the analysis results, the smart medicine box can automatically issue medication reminders, provide personalized medication suggestions, and even trigger preset emergency notifications or alarms (such as the target user does not take the medicine according to the instructions or forgets to take the medicine) to help the target user take the medicine correctly. However, in the existing smart medicine box medication data linkage control method, when the target user uses the smart medicine box, there are abnormal medication removal and dynamic changes in medication dosage. However, under different usage However, there is a lack of unified linkage between medication risk measurement and medication dosage difference measurement in the medication stage, which makes it difficult for the smart medicine box to identify the dynamic matching between medication data when abnormal medication collection behavior and dynamic medication strategy occur when receiving and analyzing medication feedback data in different medication stages. It cannot provide accurate medication dosage standards for target users, resulting in a decrease in the mutual matching degree between medication data in different medication stages during the linkage control of smart medicine box medication data, and cannot achieve dynamic compatibility compensation during the linkage control of smart medicine box medication data. Therefore, how to achieve dynamic compatibility compensation of smart medicine box medication data and improve the mutual matching degree between medication data in different medication stages during the linkage control of smart medicine box medication data is a problem faced by the industry. Summary of the invention
[0004] The present application provides a smart medicine box medication data linkage control method and system, which can realize dynamic compatibility compensation of smart medicine box medication data, and improve the mutual matching degree between medication data under different conditions in the smart medicine box medication data linkage control.
[0005] In a first aspect, the present application provides a smart medicine box medication data linkage control method, comprising the following steps:
[0006] Monitor the medication records of the smart medicine box to obtain the historical medication data of the target user when using the smart medicine box;
[0007] Extracting medication information of the smart medicine box at different medication stages from the historical medication data, and then determining medication credibility of the smart medicine box at the current medication stage according to each medication information and medication characteristic data of the smart medicine box;
[0008] Acquire abnormal drug taking data when the target user takes medicine from the smart medicine box, perform convolution recognition on the abnormal drug taking data, obtain the abnormal distribution domain when the target user takes medicine abnormally, and determine the linkage correction factor when the target user takes medicine according to the abnormal distribution domain and the drug administration credibility;
[0009] Determine the medication cycle information when the target user takes the medication, determine the linkage matching value of the smart medicine box medication according to the medication cycle information and the dosage information of the medication in the current medication stage, and perform linkage compensation on the dosage of the medication in the smart medicine box through the linkage matching value to obtain the linkage medication amount of the smart medicine box in the current medication stage;
[0010] The medication risk of the current medication stage is determined by the linkage correction factor and the linkage medication dosage, and a linkage recommendation is made for the medication dosage strategy of the smart medicine box in the next medication stage according to the medication risk.
[0011] In some embodiments, extracting medication information of the smart medicine box at different medication stages from the historical medication data specifically includes:
[0012] For each medication phase, medication records of different medication phases are screened out from the historical medication data;
[0013] Determine the dosage of each medication through individual medication records;
[0014] The medication information of different medication stages is determined based on all medication amounts, and then the medication information of the smart medicine box at different medication stages is obtained.
[0015] In some embodiments, determining the drug administration credibility of the smart medicine box in the current drug administration stage according to each drug administration information and drug administration characteristic data of the smart medicine box specifically includes:
[0016] Obtain medication information at each stage of medication;
[0017] Determine a drug administration stability value through all drug administration amounts in the drug administration information;
[0018] Obtaining drug administration characteristic data of the smart medicine box;
[0019] The drug administration credibility of the smart medicine box in the current drug administration stage is determined according to the drug administration stability value and the drug administration characteristic data, and then the drug administration credibility of the smart medicine box in each drug administration stage is obtained.
[0020] In some embodiments, performing convolution recognition on the abnormal medication collection data to obtain the abnormal distribution domain of the target user when taking abnormal medication specifically includes:
[0021] Convolution of the abnormal medication collection behavior is performed on the abnormal medication collection data to obtain all abnormal behavior values of the target user;
[0022] The abnormal distribution domain of the target user when taking medicine abnormally is determined through all abnormal behavior values.
[0023] In some embodiments, determining the linkage matching value of the smart medicine box medication according to the medication cycle information and the dosage information of the drug in the current medication stage specifically includes:
[0024] Get the dosage information of the drug in the current medication phase;
[0025] Extracting the medication characteristic quantity of the target user in the current medication stage from the dosage information;
[0026] The linkage matching value of the drug administration of the smart medicine box is determined by the medication cycle information and the medication characteristic quantity.
[0027] In some embodiments, the linkage compensation of the dosage of the drug in the smart medicine box is performed by the linkage matching value to obtain the linkage dosage of the smart medicine box in the current medication stage, specifically including:
[0028] For each medication phase, obtain the dosage of the drug in the smart medicine box;
[0029] The dosage is adjusted by the linkage matching value to obtain the medicine output of the smart medicine box during the medication stage;
[0030] The linkage drug dosage of the smart medicine box in the current medication stage is determined through all the drug dispensing amounts.
[0031] In some embodiments, the historical medication data of the target user when using the smart medicine box is obtained by reading the database of the smart medicine box.
[0032] In a second aspect, the present application provides a smart medicine box medication data linkage control system, comprising:
[0033] The acquisition module is used to monitor the medication record of the smart medicine box and obtain the historical medication data of the target user when using the smart medicine box;
[0034] A processing module, used to extract drug administration information of the smart medicine box at different drug administration stages from the historical drug administration data, and then determine drug administration credibility of the smart medicine box at the current drug administration stage according to each drug administration information and drug administration characteristic data of the smart medicine box;
[0035] The processing module is further used to obtain abnormal drug taking data when the target user takes medicine from the smart medicine box, perform convolution recognition on the abnormal drug taking data, obtain the abnormal distribution domain of the target user when taking medicine abnormally, and determine the linkage correction factor when the target user takes medicine according to the abnormal distribution domain and the drug administration credibility;
[0036] The processing module is further used to determine medication cycle information when the target user takes medication, determine the linkage matching value of the smart medicine box medication according to the medication cycle information and the dosage information of the medication in the current medication stage, and perform linkage compensation on the dosage of the medication in the smart medicine box through the linkage matching value to obtain the linkage medication amount of the smart medicine box in the current medication stage;
[0037] The execution module is used to determine the medication risk of the current medication stage through the linkage correction factor and the linkage medication dosage, and to make linkage recommendations on the medication dosage strategy of the smart medicine box in the next medication stage according to the medication risk.
[0038] In a third aspect, the present application provides a computer device, comprising a memory and a processor, wherein the memory stores codes, and the processor is configured to obtain the codes and execute the above-mentioned smart medicine box medication data linkage control method.
[0039] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned smart medicine box medication data linkage control method is implemented.
[0040] The technical solution provided by the embodiments disclosed in this application has the following beneficial effects:
[0041] The smart medicine box medication data linkage control method and system provided by the present application first monitors the medication record of the smart medicine box to obtain the historical medication data when the target user uses the smart medicine box; secondly, extracts the medication information of the smart medicine box at different medication stages from the historical medication data, and then determines the medication credibility of the smart medicine box at the current medication stage according to each medication information and the medication feature data of the smart medicine box; then, obtains the abnormal medication data when the target user takes the medication from the smart medicine box, performs convolution recognition on the abnormal medication data, obtains the abnormal distribution domain of the target user when taking the medication abnormally, and determines the medication credibility of the smart medicine box at the current medication stage according to the abnormal distribution domain. and the drug administration credibility, determine the linkage correction factor when the target user takes the medicine; then, determine the medication cycle information when the target user takes the medicine, determine the linkage matching value of the smart medicine box medication according to the medication cycle information and the dosage information of the medicine in the current medication stage, and use the linkage matching value to perform linkage compensation on the dosage of the medicine in the smart medicine box to obtain the linkage medication amount of the smart medicine box in the current medication stage; finally, determine the medication risk of the current medication stage through the linkage correction factor and the linkage medication amount, and make linkage recommendations on the medication dosage strategy of the smart medicine box in the next medication stage according to the medication risk.
[0042] It can be seen that the present application first needs to accurately identify and distinguish abnormal behaviors when there are diverse medication habits and individual differences. Therefore, convolution recognition is performed on abnormal medication data to obtain the abnormal distribution domain of the target user when taking abnormal medication, and then determine the linkage correction factor when the target user takes medication. The medication dosage is adjusted according to the linkage correction factor to cope with changes in the condition or new medical guidance, ensuring that the medication data at different medication stages can match the actual medication situation of the target user, thereby improving the interoperability of medication data linkage control; then, during the medication process, the medication stability and effectiveness of the target user in the corresponding medication cycle should be ensured, that is, the linkage matching value of the smart medicine box medication is determined according to the medication cycle information and the dosage information of the drug in the current medication stage, and then the dosage of the drug is adjusted and optimized. Then, the medication safety of the target user at different medication stages needs to be optimized, and the amount and time of the drug administration should be adjusted in time to adapt to individualization. The treatment needs and disease conditions change, so that the medication data in the medication stage and the actual situation of the target user are compatible and matched, then the dosage of the drugs in the smart medicine box is linked and compensated according to the linkage matching value, so as to obtain the linkage dosage of the smart medicine box in the current medication stage; finally, the smart medicine box needs to adjust the medication dosage strategy according to the current medication risk to cope with the correctness of the medication, so the medication dosage strategy of the smart medicine box in the next medication stage is linked and recommended according to the medication risk, so as to optimize the patient's medication safety and treatment effect, so that the smart medicine box forms a linkage association with the medication data at different medication stages, and when the target user has abnormal medication collection and dynamic changes in medication dosage, a dynamic matching effect is formed between the medication data at different medication stages; in summary, the dynamic compatibility compensation of the smart medicine box medication data can be realized, and the mutual matching degree between the medication data at different medication stages in the linkage control of the smart medicine box medication data can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 is an exemplary flow chart of a smart medicine box medication data linkage control method according to some embodiments of the present application;
[0044] Figure 2 is an exemplary flow chart of determining the drug administration credibility of the smart medicine box in the current medication stage according to some embodiments of the present application;
[0045] Figure 3 is an exemplary flow chart of determining a linkage correction factor when a target user takes medication according to some embodiments of the present application;
[0046] Figure 4 is a schematic diagram of exemplary hardware and / or software of a smart medicine box medication data linkage control system according to some embodiments of the present application;
[0047] Figure 5It is a structural schematic diagram of a computer device for implementing a smart medicine box medication data linkage control method according to some embodiments of the present application. DETAILED DESCRIPTION
[0048] The core of the present application is to obtain the historical medication data of the target user when using the smart medicine box by monitoring the medication record of the smart medicine box; extract the medication information of the smart medicine box at different medication stages from the historical medication data, and then determine the medication credibility of the smart medicine box in the current medication stage according to each medication information and the medication characteristic data of the smart medicine box; obtain the abnormal medication data when the target user takes the medicine from the smart medicine box, perform convolution recognition on the abnormal medication data, obtain the abnormal distribution domain of the target user when taking the medicine abnormally, and determine the linkage correction factor when the target user takes the medicine according to the abnormal distribution domain and the medication credibility; determine the medication cycle information when the target user takes the medicine, determine the linkage matching value of the medication of the smart medicine box according to the medication cycle information and the dosage information of the medicine in the current medication stage, and perform linkage compensation on the dosage of the medicine in the smart medicine box through the linkage matching value to obtain the linkage medication amount of the smart medicine box in the current medication stage; determine the medication risk of the current medication stage through the linkage correction factor and the linkage medication amount, and make linkage recommendations for the medication dosage strategy of the smart medicine box in the next medication stage according to the medication risk. The above scheme makes linkage recommendations on the dosage strategy of the smart medicine box based on the medication risk, which can improve the mutual matching degree between medication data at different medication stages in the linkage control of medication data of the smart medicine box.
[0049] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods. Figure 1 , which is an exemplary flow chart of a smart medicine box medication data linkage control method according to some embodiments of the present application. The smart medicine box medication data linkage control method 100 mainly includes the following steps:
[0050] In step 101, the medication record of the smart medicine box is monitored to obtain the historical medication data of the target user when using the smart medicine box.
[0051] In a specific implementation, a sensor for identifying medication records is placed in the smart medicine box. The sensor may be a radio frequency identification reader, a pressure sensor, an optical sensor, etc. The data collected by the sensor is then stored in the database of the smart medicine box. The historical medication data of the target user when using the smart medicine box can be obtained by reading the database of the smart medicine box. The time range for reading the smart medicine box database is one month, and all the medication data read constitute the historical medication data of the target user when using the smart medicine box. In addition, the data stored in the database of the smart medicine box include the opening time and the amount of medicine taken when the smart medicine box is opened to take medicine. In other embodiments, other methods may also be used to obtain the historical medication data of the target user when using the smart medicine box, which is not limited here.
[0052] It should be noted that the historical medication data of the target user when using the smart medicine box in this application represents all information related to medication collected and recorded by the smart medicine box. The information includes the specific time each time the smart medicine box is opened and the medicine is taken out, the dosage of the medicine, the medication behavior confirmed by the target user, the number of times the box is opened daily or weekly, and any abnormal medication behavior (such as missed doses or repeated medication). By analyzing the historical medication data, medication strategies for different cycles can be recommended.
[0053] In step 102, medication information of the smart medicine box at different medication stages is extracted from the historical medication data, and then medication credibility of the smart medicine box at the current medication stage is determined based on each medication information and medication characteristic data of the smart medicine box.
[0054] In some embodiments, extracting the medication information of the smart medicine box at different medication stages from the historical medication data can be achieved in the following manner:
[0055] For each medication phase, medication records of different medication phases are screened out from the historical medication data;
[0056] Determine the dosage of each medication through individual medication records;
[0057] The medication information of different medication stages is determined based on all medication amounts, and then the medication information of the smart medicine box at different medication stages is obtained.
[0058] In the specific implementation, first, the historical medication data is sorted in chronological order, and the interpolation method is used to ensure the integrity of the historical medication data after sorting; then, according to the treatment plan or time period, the medication process is divided into different medication stages, such as the initial stage, the maintenance stage, and the reduction stage, and then a time range is defined for each medication stage. For example, the initial stage may be the first two weeks after the start of treatment, and the maintenance stage is the next four weeks. All medication records within these time ranges are filtered out from the historical data to ensure that the records of each medication stage include all medication collection behaviors within this stage, that is, all medication records of the medication stage are obtained; then, for the medication data of each stage in all medication records of the filtered medication stage, the specific dosage information of each medication is extracted, and then the dosage of each medication is extracted from each record, for example , if a record indicates that the dose of a certain medication is 10 mg, the dose is extracted, that is, the dosage for each medication is obtained; finally, all the dosages in each stage are statistically analyzed to determine the medication information of the target drug in each medication stage, that is: statistical analysis is performed on all the medication doses in the stage, and statistical quantities such as the average, maximum, and minimum are calculated. For example, the average dose of all medication doses in the stage, as well as the highest and lowest medication doses are calculated, and then the medication information of each stage is determined based on the statistical results and the predetermined treatment plan. For example, if the average dose gradually increases, the medication information of this stage can be judged as "dose escalation"; if the dose remains stable, it is "dose maintenance"; if the dose gradually decreases, it is "dose reduction", that is, the medication information of the target drug in each medication stage is obtained.
[0059] It should be noted that all medication records in the medication stage in this application represent all medication use information recorded by the smart medicine box during a specific medication stage. The record includes the specific time of each medication use, the dosage of the medicine used, the medication behavior confirmed by the target user, and any abnormal medication behavior, which aims to evaluate the target user's medication compliance and medication pattern at this stage; the dosage of each medication represents the specific number or dosage of the medicine taken out from the smart medicine box by the target user during each medication process; the medication information of the target drug in each medication stage represents the determination of the medication use plan and pattern of the stage based on the historical medication data of the specific medication stage, including the dosage, frequency and adjustment plan of each medication. The medication information aims to optimize the efficacy of the drug and ensure the safety and compliance of the medication.
[0060] In some embodiments, reference Figure 2 As shown, this figure is an exemplary flow chart of determining the drug administration credibility of the smart medicine box in the current drug administration stage according to some embodiments of the present application. In this embodiment, the drug administration credibility of the smart medicine box in the current drug administration stage can be determined according to various drug administration information and drug administration characteristic data of the smart medicine box. The following steps can be used to implement:
[0061] In step 1021, medication information of each medication phase is obtained;
[0062] In step 1022, a drug administration stability value is determined by using all drug administration amounts in the drug administration information;
[0063] In step 1023, drug administration characteristic data of the smart medicine box is obtained;
[0064] In step 1024, the drug administration credibility of the smart medicine box in the current drug administration stage is determined based on the drug administration stability value and the drug administration characteristic data, and then the drug administration credibility of the smart medicine box in each drug administration stage is obtained.
[0065] In the specific implementation, first, the medication information of each medication stage is read; then, for the medication information of each medication stage, the drug dosage data in all medication records of this stage are collected, and the stable value of medication is determined by statistically analyzing all the data, such as calculating the mean value, standard deviation or determining the range of dosage; then, the medication characteristic data of the smart medicine box is obtained through the historical data or real-time monitoring data recorded by the smart medicine box. The medication characteristic data may include the specific amount of medicine actually taken by the target user each time the medicine is taken. In other embodiments, the precise medication characteristic data may also be obtained by the sensor, that is, the usage of the target drug in the medication stage. Amount information, which is not limited here; finally, the drug administration stability value and the drug administration characteristic data of the smart medicine box are quantized, and the quantization process can be normalized, and then the drug administration characteristic data of the smart medicine box is ratioed to the drug administration stability value, and the ratio is quantized to between 0 and 1, and the quantized ratio is used as the drug administration credibility of the smart medicine box in the current medication stage. The smaller the value of the drug administration credibility, the higher the drug administration credibility of the smart medicine box in the medication stage, that is, the drug administration credibility of the smart medicine box in each medication stage is obtained. In other embodiments, other methods can also be used to determine the drug administration credibility of the smart medicine box in each medication stage, which will not be repeated here.
[0066] It should be noted that the drug administration stability value in this application represents the statistical characteristics of the drug administration amount calculated according to the historical data recorded by the smart medicine box or the real-time monitoring data in a specific medication stage, which is usually an average value or other representative value. This value reflects the general pattern and level of drug administration in this stage, and is used to evaluate and determine the stability and expected dosage range of the drug administration of the smart medicine box in this stage; the drug administration characteristic data of the smart medicine box represents the specific drug dosage or quantity of each medication obtained by the smart medicine box record or real-time monitoring in a specific treatment stage, and this data reflects the actual use of drugs by the target user in each treatment stage; the drug administration credibility of the smart medicine box in the current medication stage represents the degree of reliability and accuracy of the drug administration process of the smart medicine box in this stage, based on the historical data or real-time monitoring data recorded by the smart medicine box, combined with the treatment plan and drug usage in this stage, reflecting the consistency of the smart medicine box drug administration process with the expected medication plan, which helps the medical team to judge the effectiveness and safety of drug treatment.
[0067] In step 103, abnormal drug taking data of the target user when taking medicine from the smart medicine box is obtained, and convolution recognition is performed on the abnormal drug taking data to obtain the abnormal distribution domain of the target user when taking medicine abnormally, and the linkage correction factor when the target user takes medicine is determined based on the abnormal distribution domain and the drug administration credibility.
[0068] In specific implementation, the abnormal drug taking data when the target user takes medicine from the smart medicine box can be obtained in the following manner, namely: first, clarify the definition of abnormal drug taking behavior, such as failure to take medicine on time, excessive drug taking, frequent drug taking, etc.; then, monitor the drug taking data stored in the smart medicine box in real time. The smart medicine box usually records the time, dosage and possible other relevant information each time the target user takes medicine; then, based on the defined abnormal drug taking behavior, set the corresponding abnormal detection rule, which can be time-based (for example, failure to take medicine beyond the specified time), dosage-based (for example, exceeding the preset dosage), or frequency-based (for example, taking medicine too frequently); finally, compare and analyze each drug taking data recorded by the smart medicine box with the set abnormal detection rules, the system will automatically identify the drug taking behavior that meets the abnormal rules, and mark it as abnormal data, and use the marked abnormal data as the abnormal drug taking data when the target user takes medicine from the smart medicine box.
[0069] It should be noted that the set abnormal medication behavior may also include: if the target user fails to pick up the medicine within the specified time, it will be marked as an abnormality of not picking up the medicine on time; if the amount of medicine taken out by the target user in a single medication pick-up exceeds the set safe dose, it will be marked as an abnormality of excessive medication; if the target user frequently picks up medicine more than the set number of times in a short period of time, it will be marked as an abnormality of frequent medication, which will not be repeated here.
[0070] In addition, it should be noted that the abnormal drug taking data when the target user takes medicine from the smart medicine box in the present application refers to the data recorded during the use of the smart medicine box on the drug taking behavior that is inconsistent with the expected medication pattern.
[0071] In some embodiments, the abnormal drug collection data is convolutionally identified to obtain the abnormal distribution domain of the target user when abnormally collecting drugs, which can be achieved by the following steps:
[0072] Convolution of the abnormal medication collection behavior is performed on the abnormal medication collection data to obtain all abnormal behavior values of the target user;
[0073] The abnormal distribution domain of the target user when taking medicine abnormally is determined through all abnormal behavior values.
[0074] In the specific implementation, first, the collected abnormal drug collection data is preprocessed, including data cleaning and formatting to ensure good data quality and handle abnormal values or missing values; then, the abnormal drug collection data is convolved with drug collection behavior. The convolution process can use mathematical convolution operations to process the abnormal drug collection data. For example, the sliding window technology can be used to perform window processing on the abnormal data, and the abnormal behavior value at each time point is calculated, that is, all abnormal behavior values of the target user are obtained. In other embodiments, other methods can also be used to determine all abnormal behavior values of the target user, which is not limited here; then, the time distribution pattern and intensity of all abnormal behavior values can be visualized, and the visualization can use a visualization chart, which is not limited here. Finally, the time range corresponding to the peak and trough periods of abnormal drug collection after the visualization is completed is used as the abnormal distribution domain of the target user when abnormally taking medicine, wherein the peak and trough periods of abnormal drug collection can be determined by computer code, such as the pandas library in Python for time series analysis, and then the peak and trough periods of abnormal drug collection and the corresponding time are obtained, which will not be repeated here.
[0075] It should be noted that all abnormal behavior values of the target user in this application represent all specific data recorded during the use of the smart medicine box that are inconsistent with the expected medication behavior, including information such as the time point, dosage and frequency of behaviors such as failure to take medicine on time, excessive taking of medicine, and frequent taking of medicine; the abnormal distribution domain of the target user's medication behavior represents the range of temporal distribution patterns and intensity characteristics obtained after analyzing and integrating abnormal medication data.
[0076] In some embodiments, reference Figure 3 As shown, this figure is an exemplary flow chart of determining the linkage correction factor when the target user takes the medicine according to some embodiments of the present application. In this embodiment, the linkage correction factor when the target user takes the medicine according to the abnormal distribution domain and the drug administration credibility can be implemented by the following steps:
[0077] In step 1031, the medication credibility of the target user in the medication stage is obtained;
[0078] In step 1032, the abnormal behavior value of the medication stage is screened in the abnormal distribution domain;
[0079] In step 1033, the risk value of the target user taking the medicine in the medication stage is determined by the abnormal behavior value and the medication credibility, and then the risk value of the target user taking the medicine in each medication stage is obtained;
[0080] In step 1034, a linkage correction factor for the target user to take medication is determined based on all risk values.
[0081] In the specific implementation, first, read the medication credibility of each medication stage of the target user; then, in the abnormal distribution domain, screen out the abnormal behavior value corresponding to each medication stage, and determine the abnormal behavior value corresponding to the medication stage according to the characteristics of each medication stage, that is, take the characteristics of each medication stage as the abnormal behavior value corresponding to the medication stage. The characteristics of the medication stage can be the number of times the medication is not taken on time, the number of times the medication is taken in excess, the number of times the medication is taken frequently, etc., which are not limited here; then, define the risk weight, for example, the weight of not taking the medication on time is 0.5, the weight of taking the medication in excess is 1.0, and the weight of taking the medication frequently is 0.75. Then, calculate the weighted score based on the number of abnormal behaviors and the corresponding weights in each medication stage. The calculation of the weighted score can be determined by the following formula, namely: weighted score = ∑ (number of abnormal behaviors × corresponding weight), and then combine the weighted score with the medication credibility of each medication stage as the risk value of the target user's medication in the medication stage. The risk value can be determined in the following manner, namely: risk value of medication in the medication stage = weighted score / medication credibility in the medication stage. In other embodiments, other methods can also be used to determine the risk value of medication in the medication stage, which is not limited here. The above method can be used to determine the risk value of medication in other medication stages, and then the risk value of medication for the target user in each medication stage is obtained, which will not be repeated here; finally, in order to ensure the accuracy and consistency of the calculation, all risk values are standardized. The standardization process can use minimum-maximum normalization, and then the probability distribution of the medication stage corresponding to the standardized risk value is calculated to obtain the probability distribution value, and then the linkage correction factor when the target user takes medication is determined according to the ratio of the logarithmic product of the probability distribution value and the probability value of each medication stage and the sum of the probability values of all medication stages, that is, the ratio of the logarithmic product of the probability distribution value and the probability value of each medication stage and the sum of the probability values of all medication stages is used as the linkage correction factor when the target user takes medication.
[0082] It should be noted that the abnormal behavior value of the medication stage in the present application represents the specific data record that the target user's medication behavior is inconsistent with the expected medication information during a specific medication stage; the risk value of the target user's medication during each medication stage represents the risk assessment value calculated by comprehensively calculating all abnormal medication behavior values and medication credibility recorded during that stage, and this risk value reflects the target user's medication compliance and potential medication safety issues during a specific medication stage; the linkage correction factor when the target user takes medication represents a parameter in the smart medicine box system that adjusts the target user's actual medication dosage based on the target user's medication behavior and environmental factors, and this linkage correction factor is used to correct the target user's medication dosage to ensure that the best therapeutic effect can be achieved under different conditions.
[0083] In step 104, the medication cycle information of the target user when taking the medication is determined, and the linkage matching value of the smart medicine box medication is determined based on the medication cycle information and the dosage information of the drug in the current medication stage. The dosage of the drug in the smart medicine box is linkage compensated by the linkage matching value to obtain the linkage medication amount of the smart medicine box in the current medication stage.
[0084] In specific implementation, the following method can be used to determine the medication cycle information when the target user takes the medicine, namely: record the timestamp of each time the medicine is taken out from the smart medicine box, obtain the type, dosage and frequency of each time the medicine is taken out, and then sort the medication records according to the timestamp, calculate the time interval between two consecutive medications, preliminarily determine the medication cycle, and then count the common time intervals, identify the medication frequency (such as daily, weekly, etc.), and then divide the medication stages (such as start-up period, maintenance period, and reduction period) according to the medication frequency and time interval, mark the start and end time of each stage, and finally summarize the medication records of each stage, calculate the average time interval and medication Frequency, confirm the medication cycle of each stage, and record relevant data, that is, obtain the medication cycle information of the target user when taking the medicine. For example, the target user takes medicine once at 8 am and 8 pm every day. The smart medicine box records these medication times and drug dosages, calculates the time interval (12 hours) between taking medicine in the morning and evening, and identifies that the target user's medication frequency is twice a day. According to the target user's treatment plan, it is divided into a start-up period (twice a day), a maintenance period (once a day), and a reduction period (once every two days). The time interval and medication frequency of each stage are counted, and it is confirmed that the start-up period is twice a day, the maintenance period is once a day, and the reduction period is once every two days.
[0085] It should be noted that the medication cycle information of the target user when taking medication in this application refers to the frequency and pattern of medication of the target user in a specific time period recorded and analyzed in the smart medicine box system, including the time, dosage, and medication interval of each medication, as well as the medication strategies in different medication stages (such as the start-up period, maintenance period, reduction period, etc.). The medication cycle information is used to ensure that the target user takes the medication on time and in the appropriate amount, and makes personalized adjustments when necessary to optimize the treatment effect.
[0086] In some embodiments, determining the linkage matching value of the smart medicine box medication according to the medication cycle information and the dosage information of the drug in the current medication stage can be implemented by the following steps:
[0087] Get the dosage information of the drug in the current medication phase;
[0088] Extracting the medication characteristic quantity of the target user in the current medication stage from the dosage information;
[0089] The linkage matching value of the drug administration of the smart medicine box is determined by the medication cycle information and the medication characteristic quantity.
[0090] In specific implementation, first, the database in the smart medicine box can be read, and all dosage records in the current medication stage can be extracted from the smart medicine box, and the time of each medication and the corresponding dosage data can be recorded, that is, the dosage information of the drug in the current medication stage can be obtained. In other embodiments, other methods can also be used to obtain the dosage information of the drug in the current medication stage, which will not be repeated here; then, the average dosage, maximum dosage and minimum dosage of the medication are calculated, the medication frequency and time interval (such as the number of medications per day, the medication interval time, etc.) are counted, and the medication mode (such as regular medication, irregular medication, missed medication, etc.) is identified, all the data are combined, and the combined result is used as the target user in the current medication stage. The medication characteristic quantity in the pre-medication stage, the combination process can be implemented by weighted average algorithm or principal component analysis, etc., which will not be repeated here. Finally, the medication cycle information and the medication characteristic quantity are standardized, and then the linkage matching value of the smart medicine box drug administration is calculated based on the standardized medication cycle information and the medication characteristic quantity, that is, the linkage matching value of the smart medicine box drug administration = (standardized average dose * average dose weight) + (standardized medication frequency * medication frequency weight) + (standardized medication interval * medication interval weight) + (medication mode characteristic value * medication mode weight). In other embodiments, other methods can also be used to determine the linkage matching value of the smart medicine box drug administration, which is not limited here.
[0091] It should be noted that the dosage information of the drug in the current medication stage in the present application represents the specific data on the drug dosage recorded and summarized in a specific medication stage, including the average dose, maximum dose, minimum dose, medication frequency, medication interval and medication pattern, etc. These data are used to analyze and determine the patient's medication rules and characteristics, and provide a basis for subsequent medication adjustments and optimizations; the target user's medication characteristic quantity in the current medication stage represents a set of comprehensive indicators reflecting the target user's medication behavior and habits in a specific medication stage, including the average dose, maximum dose, minimum dose, medication frequency, medication interval and medication pattern, etc. This characteristic quantity is used to analyze and describe the target user's medication rules and characteristics; the linkage matching value of the smart medicine box medication is a measure to ensure that the administration of the drug matches the medication needs and status of the target user.
[0092] In some embodiments, the linkage compensation of the dosage of the drug in the smart medicine box is performed by the linkage matching value, and the linkage dosage of the smart medicine box in the current medication stage can be obtained by the following steps:
[0093] For each medication phase, obtain the dosage of the drug in the smart medicine box;
[0094] The dosage is adjusted by the linkage matching value to obtain the medicine output of the smart medicine box during the medication stage;
[0095] The linkage drug dosage of the smart medicine box in the current medication stage is determined through all the drug dispensing amounts.
[0096] In specific implementation, first, according to the medical scheme or treatment plan, the standard dosage of the drug for the target user at different medication stages is determined. The stage can be divided into time segments, such as daily dosage or distribution according to specific time periods, and then the specific dosage data of the target drug at each medication stage is obtained from the smart medicine box, that is, the dosage of the drug in the smart medicine box is obtained; then, the standard dosage of each medication stage is adjusted according to the linkage matching value. For example, if the standard dosage is 100 mg and the linkage matching value is -3.5%, the adjusted dosage is 100*(1+(−0.035))=96.5 mg. In other embodiments, the dosage adjustment can also be completed according to other methods, which will not be repeated here. Then, according to the adjusted dosage and the drug dispensing mechanism of the smart medicine box to determine the amount of medicine that the smart medicine box needs to output in each medication stage, which usually depends on the settings and usage of the medicine box to ensure that the correct drug dosage is provided in each stage, that is, the drug dispensing amount of the smart medicine box in the medication stage is obtained, which will not be repeated here; finally, the linkage drug delivery amount of the smart medicine box in the current medication stage is determined by all the drug delivery amounts. It can be determined in the following way, that is: summing the drug delivery amounts in each medication stage to obtain the total amount of medicine provided by the smart medicine box in the entire cycle, and taking the total amount of medicine provided by the smart medicine box in the entire cycle as the linkage drug delivery amount of the smart medicine box in the current medication stage. In other embodiments, other methods can also be used to determine the linkage drug delivery amount of the smart medicine box in the current medication stage, which will not be repeated here.
[0097] It should be noted that the dosage of the drug in the smart medicine box in the present application represents the size of the drug dosage planned to be given to the patient within a specific time period or medication cycle according to medical advice or treatment plan; the amount of medicine discharged by the smart medicine box in the medication stage represents the amount of medicine released or provided by the smart medicine box within a specific time period or medication cycle; the linked drug delivery amount of the smart medicine box in the current medication stage represents the amount of medicine released by the smart medicine box automatically adjusted according to real-time data or preset conditions within a specific time period or medication cycle.
[0098] In step 105, the medication risk of the current medication stage is determined by the linkage correction factor and the linkage medication dosage, and a linkage recommendation is made to the medication dosage strategy of the smart medicine box in the next medication stage according to the medication risk.
[0099] In some embodiments, determining the medication risk of the current medication phase by using the linkage correction factor and the linkage medication dosage can be achieved by the following steps:
[0100] Determining a linkage medication index when the smart medicine box administers medication according to the linkage medication amount;
[0101] The medication risk level of the current medication phase is determined by the linkage medication index and the linkage correction factor.
[0102] In specific implementation, first, the linkage correction factor and linkage drug dosage data of the current medication stage are obtained from the smart medicine box system, and then the linkage drug dosage data is placed in a two-dimensional coordinate system, and the linkage drug dosage data is connected with a smooth curve in chronological order, and the minimum slope on the curve is calculated, and the minimum slope is used as the linkage drug administration index when the smart medicine box administers the drug, and then the medication risk of the current medication stage is calculated, that is: the product of the linkage correction factor and the linkage drug administration index can be quantified to determine the medication risk of the current medication stage, that is, the result of quantifying the product of the linkage correction factor and the linkage drug administration index is used as the medication risk of the current medication stage, or the risk can be comprehensively evaluated according to the dosage and frequency of the drug, as well as the physiological state and drug reaction characteristics of the target user, which will not be repeated here; wherein, the linkage drug dosage data is placed in a two-dimensional coordinate system, the horizontal axis of the two-dimensional coordinate system is the date of each day in the medication stage, and the vertical axis is the daily medication amount in the current medication stage.
[0103] It should be noted that the linkage medication index of the smart medicine box during medication in this application represents a quantitative value for adjusting and determining the amount of medication to be administered; the medication risk level at the current medication stage is a quantitative indicator that is comprehensively evaluated based on factors such as the target user's current medication situation, drug dosage, medication frequency, medication regularity, and individual health status, and is used to measure the degree of potential risks or safety issues that may exist in the current medication process.
[0104] In addition, in the specific implementation, the following method can be used to make a linkage recommendation on the dosage strategy of the smart medicine box in the next medication stage according to the medication risk, namely: based on the obtained medication risk, the smart medicine box system can formulate a linkage recommendation strategy for the next medication stage. For example, if the current medication risk is high, the system may recommend reducing the drug dosage or increasing the medication interval to reduce the risk; conversely, if the risk is low, it may be recommended to maintain the current medication dosage and frequency.
[0105] It should be noted that when the smart medicine box makes linkage recommendations for the dosage strategy of the next medication stage based on the medication risk, the smart medicine box monitors that the target user has poor adaptation to the dosage of a certain drug and there is a certain risk. The smart medicine box concludes that the medication risk of the current medication stage is high based on the current medication situation and feedback data. At this time, the linkage correction factor will reduce the recommended drug dosage, and the linkage dosage will be reduced accordingly. The system will recommend a strategy to reduce the dosage in the next medication stage to reduce potential drug risks.
[0106] In addition, in another aspect of the present application, in some embodiments, the present application provides a smart medicine box medication data linkage control system, referring to Figure 4, which is a schematic diagram of exemplary hardware and / or software of a smart medicine box medication data linkage control system according to some embodiments of the present application, the smart medicine box medication data linkage control system 400 includes: an acquisition module 401, a processing module 402 and an execution module 403, which are described as follows:
[0107] Acquisition module 401, in this application, acquisition module 401 is mainly used to monitor the medication record of the smart medicine box, and obtain the historical medication data when the target user uses the smart medicine box;
[0108] Processing module 402, in the present application, the processing module 402 is mainly used to extract the medication information of the smart medicine box at different medication stages from the historical medication data, and then determine the medication credibility of the smart medicine box at the current medication stage according to each medication information and the medication characteristic data of the smart medicine box;
[0109] The processing module 402 is further used to obtain abnormal drug taking data when the target user takes medicine from the smart medicine box, perform convolution recognition on the abnormal drug taking data, obtain the abnormal distribution domain of the target user when taking medicine abnormally, and determine the linkage correction factor when the target user takes medicine according to the abnormal distribution domain and the drug administration credibility;
[0110] The processing module 402 is further used to determine medication cycle information when the target user takes medication, determine the linkage matching value of the smart medicine box medication according to the medication cycle information and the dosage information of the medication in the current medication stage, and perform linkage compensation on the dosage of the medication in the smart medicine box through the linkage matching value to obtain the linkage medication amount of the smart medicine box in the current medication stage;
[0111] Execution module 403, in this application, execution module 403 is mainly used to determine the medication risk of the current medication stage through the linkage correction factor and the linkage dosage, and to make linkage recommendations on the medication dosage strategy of the smart medicine box in the next medication stage based on the medication risk.
[0112] In addition, the present application also provides a computer device, which includes a memory and a processor, the memory stores a code, and the processor is configured to obtain the code and execute the above-mentioned smart medicine box medication data linkage control method.
[0113] In some embodiments, reference Figure 5 , which is a schematic diagram of the structure of a computer device for implementing a smart medicine box medication data linkage control method according to some embodiments of the present application. The smart medicine box medication data linkage control method in the above embodiment can be Figure 5 The computer device 500 shown in the figure is implemented, and the computer device 500 includes at least one processor 501, a communication bus 502, a memory 503 and at least one communication interface 504.
[0114] Processor 501 can be a general-purpose central processing unit (CPU), or an application-specific integrated circuit (ASIC) or one or more processors for controlling the execution of the smart medicine box medication data linkage control method in the present application.
[0115] The communication bus 502 may be used to transmit information between the above-mentioned components.
[0116] The memory 503 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compressed optical disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, etc.), a magnetic disk or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 503 may exist independently and be connected to the processor 501 via the communication bus 502. The memory 503 may also be integrated with the processor 501.
[0117] The memory 503 is used to store the program code for executing the solution of the present application, and the execution is controlled by the processor 501. The processor 501 is used to execute the program code stored in the memory 503. The program code may include one or more software modules. The smart medicine box medication data linkage control method in the above embodiment can be implemented by the processor 501 and one or more software modules in the program code in the memory 503.
[0118] The communication interface 504 uses any transceiver or other device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.
[0119] In a specific implementation, as an embodiment, a computer device may include multiple processors, each of which may be a single-CPU processor or a multi-CPU processor. The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0120] The above-mentioned computer device may be a general-purpose computer device or a special-purpose computer device. In a specific implementation, the computer device may be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, a communication device or an embedded device. The embodiment of the present application does not limit the type of computer device.
[0121] In addition, the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned smart medicine box medication data linkage control method is implemented.
[0122] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0123] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A smart medicine box medication data linkage control method, characterized in that: The steps include: Monitor the medication records of the smart medicine box to obtain the historical medication data of the target user when using the smart medicine box; Extracting medication information of the smart medicine box at different medication stages from the historical medication data, and then determining medication credibility of the smart medicine box at the current medication stage according to each medication information and medication characteristic data of the smart medicine box; Acquire abnormal drug taking data when the target user takes medicine from the smart medicine box, perform convolution recognition on the abnormal drug taking data, obtain the abnormal distribution domain when the target user takes medicine abnormally, and determine the linkage correction factor when the target user takes medicine according to the abnormal distribution domain and the drug administration credibility; Determine the medication cycle information when the target user takes the medication, determine the linkage matching value of the smart medicine box medication according to the medication cycle information and the dosage information of the medication in the current medication stage, and perform linkage compensation on the dosage of the medication in the smart medicine box through the linkage matching value to obtain the linkage medication amount of the smart medicine box in the current medication stage; Determine the medication risk of the current medication stage through the linkage correction factor and the linkage medication dosage, and make linkage recommendations on the medication dosage strategy of the smart medicine box in the next medication stage according to the medication risk; Among them, determining the drug administration credibility of the smart medicine box in the current drug administration stage according to each drug administration information and drug administration characteristic data of the smart medicine box specifically includes: Obtain medication information at each stage of medication; Determine a drug administration stability value through all drug administration amounts in the drug administration information; Obtaining drug administration characteristic data of the smart medicine box; Determine the drug administration credibility of the smart medicine box in the current drug administration stage according to the drug administration stability value and the drug administration characteristic data, and then obtain the drug administration credibility of the smart medicine box in each drug administration stage; Among them, the abnormal drug collection data is convolutionally identified to obtain the abnormal distribution domain of the target user when abnormally taking the drug, which specifically includes: Convolution of the abnormal medication collection data with medication collection behaviors is performed to obtain all abnormal behavior values of the target user; Determine the abnormal distribution domain of the target user when taking medicine abnormally through all abnormal behavior values; Among them, the abnormal distribution domain of the target user when taking abnormal medicine is the time range corresponding to the peak period and the trough period of abnormal medicine taking; Among them, determining the linkage matching value of the smart medicine box medication according to the medication cycle information and the dosage information of the drug in the current medication stage specifically includes: Obtain the dosage information of the drug in the current medication phase; Extracting the medication characteristic quantity of the target user in the current medication stage from the dosage information; Determine the linkage matching value of the smart medicine box medication through the medication cycle information and the medication characteristic quantity; Among them, the linkage matching value of the smart medicine box drug administration is a measure of the matching of the drug administration with the medication needs and status of the target user.
2. The method according to claim 1, characterized in that Extracting medication information of the smart medicine box at different medication stages from the historical medication data specifically includes: For each medication phase, medication records of different medication phases are screened out from the historical medication data; Determine the dosage of each medication through individual medication records; The medication information of different medication stages is determined based on all medication amounts, and then the medication information of the smart medicine box at different medication stages is obtained.
3. The method according to claim 1, characterized in that The linkage matching value is used to compensate the dosage of the drug in the smart medicine box, and the linkage dosage of the smart medicine box in the current medication stage is obtained, which specifically includes: For each medication phase, obtain the dosage of the drug in the smart medicine box; The dosage is adjusted by the linkage matching value to obtain the medicine output of the smart medicine box during the medication stage; The linkage dosage of the smart medicine box in the current medication stage is determined through all the dispensing dosages.
4. The method according to claim 1, characterized in that The historical medication data of the target user when using the smart medicine box is obtained by reading the database of the smart medicine box.
5. A smart medicine box medication data linkage control system, which adopts the method according to any one of claims 1 to 4 to perform medication data linkage control, characterized in that: The intelligent medicine box medication data linkage control system includes: The acquisition module is used to monitor the medication record of the smart medicine box and obtain the historical medication data of the target user when using the smart medicine box; A processing module, used to extract drug administration information of the smart medicine box at different drug administration stages from the historical drug administration data, and then determine drug administration credibility of the smart medicine box at the current drug administration stage according to each drug administration information and drug administration characteristic data of the smart medicine box; The processing module is further used to obtain abnormal drug taking data when the target user takes medicine from the smart medicine box, perform convolution recognition on the abnormal drug taking data, obtain the abnormal distribution domain of the target user when taking medicine abnormally, and determine the linkage correction factor when the target user takes medicine according to the abnormal distribution domain and the drug administration credibility; The processing module is further used to determine medication cycle information when the target user takes medication, determine the linkage matching value of the smart medicine box medication according to the medication cycle information and the dosage information of the medication in the current medication stage, and perform linkage compensation on the dosage of the medication in the smart medicine box through the linkage matching value to obtain the linkage medication amount of the smart medicine box in the current medication stage; The execution module is used to determine the medication risk of the current medication stage through the linkage correction factor and the linkage medication dosage, and to make linkage recommendations on the medication dosage strategy of the smart medicine box in the next medication stage according to the medication risk.
6. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores codes, and the processor is configured to obtain the codes and execute the smart medicine box medication data linkage control method according to any one of claims 1 to 4.
7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the smart medicine box medication data linkage control method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Intelligent medicine box and control method thereof
CN112489754A
Medicine box, blood pressure measuring device and blood pressure measuring system
CN213759478U