A traditional Chinese medicine prescription heat-sensitive property adaptive temperature control method and system

CN123010938APending Publication Date: 2026-10-30JIANGXI UNIVERSITY OF TRADITIONAL CHINESE MEDICINE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611498506.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-24
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

[0005]基于此,本发明的目的是提供一种中药处方热敏属性自适应控温方法及系统,旨在解决目前控温服药杯未考虑不同中药处方的药性差异与热敏特性差异,无法实现因方控温的精准化管理,进而无法动态调整控温参数的问题

Benefits of technology

[0015]综上,根据本发明提供的一种中药处方热敏属性自适应控温方法,通过构建处方热敏属性解析模型,将中药处方的药材组成、剂量、剂型等多维度信息转化为量化热敏等级,并据此动态匹配差异化控温参数,实现了因方控温的精准化用药管理,有效避免了传统恒温水杯固定温度模式下热敏性有效成分降解与药效衰减的问题;同时引入传感器综合可信度校验机制,结合超温、防干烧、久置、重复加热保护等多重安全机制,使控温模型能够持续适配设备老化与环境变化,长期保持高精度与强鲁棒性。本发明能够使中药服药杯从普通恒温控制转变为处方驱动的自适应控温,减少不适宜温度、久置保温和反复加热对中药服用质量的影响。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123010938A_ABST
    Figure CN123010938A_ABST
Patent Text Reader

Abstract

The application discloses a traditional Chinese medicine prescription heat-sensitive property adaptive temperature control method and system, and the method comprises the following steps: obtaining original information of a traditional Chinese medicine prescription, analyzing the original information and obtaining heat-sensitive property parameters of prepared medicinal liquid; combining the heat-sensitive property parameters of the medicinal liquid and real-time state parameters to generate an adaptive temperature control curve matched with the heat-sensitive property parameters of the medicinal liquid; executing the adaptive temperature control curve according to sensor comprehensive reliability, heating the medicinal liquid, and outputting a drinking prompt when preset taking conditions are met. The application can change the traditional Chinese medicine taking cup from ordinary constant temperature control to prescription-driven adaptive temperature control, and reduce the influence of unsuitable temperature, long-term preservation and repeated heating on the quality of traditional Chinese medicine taking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent traditional Chinese medicine administration equipment, specifically to a method and system for adaptive temperature control based on the thermosensitive properties of traditional Chinese medicine prescriptions. Background Technology

[0002] With the continuous advancement of the modernization of traditional Chinese medicine and the sustained improvement of residents' health awareness, the application of Chinese medicine preparations such as decoctions and granules in clinical treatment and daily health maintenance is becoming increasingly widespread. The temperature at which Chinese medicine is taken directly affects the dissolution, absorption, and clinical efficacy of its active ingredients. Different prescriptions have different requirements for the temperature at which they are taken. For example, diaphoretics should be taken hot, heat-clearing medicines should be taken cool, and tonifying medicines should be taken warm. The traditional method of taking medicine in one gulp is difficult to meet the needs of precise medication.

[0003] Currently, various smart water cups and medicine cups with heat preservation or heating functions have appeared on the market. Existing technologies mainly fall into two categories: one is insulated medicine cups based on the principle of constant temperature water cups, which maintain the liquid medicine within a preset fixed temperature range through a built-in heating module and temperature sensor. Some products also have a timer reminder function to help users take their medication on time. The other type is smart medicine cups that integrate prescription recognition functions, recording and reminding users of medication dosage and time by scanning the prescription QR code or manually entering prescription information. In addition, some existing technologies have introduced PID temperature control algorithms to improve temperature control accuracy, or implemented anti-dry-burn protection through liquid level sensors, which to some extent improves the safety and ease of use of the medicine cups.

[0004] However, existing temperature-controlled medicine cups generally adopt a constant temperature control mode with a fixed temperature, without taking into account the differences in the medicinal properties and heat sensitivity of different Chinese medicine prescriptions. For prescriptions containing heat-sensitive active ingredients such as volatile oils, alkaloids, and enzymes, long-term high-temperature insulation or repeated heating can easily lead to degradation of active ingredients and reduction of efficacy. It is impossible to achieve precise management of temperature control according to the prescription, and thus it is impossible to dynamically adjust the temperature control parameters according to the heat sensitivity of the prescription. The value of prescription data has not been fully explored. Summary of the Invention

[0005] Based on this, the purpose of this invention is to provide a method and system for adaptive temperature control of the thermosensitive properties of traditional Chinese medicine prescriptions, which aims to solve the problem that current temperature-controlled medicine cups do not take into account the differences in medicinal properties and thermosensitive characteristics of different traditional Chinese medicine prescriptions, thus failing to achieve precise management of temperature control according to the prescription and consequently failing to dynamically adjust the temperature control parameters.

[0006] To achieve the above objectives, this invention proposes an adaptive temperature control method for the thermosensitive properties of traditional Chinese medicine prescriptions, the method comprising: The original information of the traditional Chinese medicine prescription is obtained, and the alternative names or processed product names of the medicinal materials in the original information are uniformly mapped to the pharmacopoeia standard medicinal material codes and the dosage units are uniformly defined. At least the structured prescription fields of medicinal material name, single herb dosage, dosage form and administration method are extracted. Based on the preset thermal sensitivity knowledge base, the prescription thermal sensitivity score of the medicine liquid made according to the traditional Chinese medicine prescription is obtained according to the structured prescription fields, and the thermal sensitivity level of the medicine liquid is divided according to the prescription thermal sensitivity score. By combining the thermosensitive property parameters and real-time status parameters of the drug solution, an adaptive temperature control curve that matches the thermosensitive property parameters of the drug solution is generated. Based on the overall reliability of the sensors, an adaptive temperature control curve is executed to heat the liquid medicine, and a drinking prompt is output when the preset administration conditions are met.

[0007] According to one aspect of the above technical solution, the step of obtaining the original information of the traditional Chinese medicine prescription, parsing the original information, and obtaining the thermosensitive property parameters of the prepared medicinal liquid includes: Obtain the original information of Chinese medicine prescriptions, map the alternative names or processed product names of medicinal materials in the original information to the pharmacopoeia standard medicinal material codes, unify the dosage units, and extract at least the structured prescription fields of medicinal material name, single herb dosage, dosage form and method of administration; Based on a preset thermal sensitivity knowledge base, the prescription thermal sensitivity score of the medicinal liquid prepared according to the structured prescription field is obtained, and the thermal sensitivity level of the medicinal liquid is classified according to the prescription thermal sensitivity score.

[0008] According to one aspect of the above technical solution, the step of generating an adaptive temperature control curve that matches the thermosensitive property parameters of the drug solution by combining the thermosensitive property parameters and real-time state parameters includes: Based on the thermosensitivity level of the drug solution, the corresponding basic temperature control parameters are matched, and the upper limit of heating power, the upper limit of heating rate and the cumulative heat exposure are set. The real-time heating power is calculated by a segmented control algorithm. Based on the prescription's thermosensitivity score, the volume of the medicine, the initial temperature of the medicine, the ambient temperature of the cup, the equivalent heat capacity of the cup, the target heating temperature, and the remaining time before medication, a preset statistical model is used to predict the heating time, and the initial heating power is deduced from the target medication time to formulate an adaptive temperature control curve.

[0009] According to one aspect of the above technical solution, in the step of predicting the heating time using a preset statistical model: Calculate the prediction error for each temperature control task. When the prediction error exceeds a preset error threshold, mark the current temperature control task as an abnormal sample. Based on the cause of the anomaly in the abnormal sample, the reliability of the corresponding sensor is reduced, the recommended heating power is reduced, or the upper limit of the heating rate is adjusted.

[0010] According to one aspect of the above technical solution, the step of executing the adaptive temperature control curve based on the overall reliability of the sensor includes: Calculate the overall reliability of the sensor and execute the corresponding level of temperature control strategy based on the range of values ​​of the overall reliability.

[0011] According to one aspect of the above technical solution, the step of executing the corresponding level of temperature control strategy based on the range of the comprehensive confidence level includes: Set the first comprehensive confidence value and the second comprehensive confidence value respectively; If the overall confidence level is not less than the second overall confidence value, the system will operate normally according to the established adaptive temperature control curve. If the overall confidence level is between the first overall confidence value and the second overall confidence value, the heating power is reduced and the device status confirmation prompt is output to the user; If the overall confidence level is less than the first overall confidence value, heating will be stopped immediately and an abnormal status prompt will be triggered. When a logical contradiction occurs, the data from the sensor will be marked as abnormal data. The logical contradiction includes at least the following scenarios: no data is returned within the sampling period, multiple consecutive readings are empty, the reading remains unchanged for a long time, or the temperature continues to rise even though heating has not been started, the liquid level increases but the weight decreases, the cup lid is open and the tilt angle meets the standard but the liquid level does not change.

[0012] This invention also provides a traditional Chinese medicine prescription thermosensitive property adaptive temperature control system, which is used in the above-mentioned traditional Chinese medicine prescription thermosensitive property adaptive temperature control method, the system comprising: The attribute acquisition module is used to acquire the original information of the traditional Chinese medicine prescription, and uniformly map the aliases or processed product names of the medicinal materials in the original information to the pharmacopoeia standard medicinal material codes, unify the dosage units, and extract at least the structured prescription fields of medicinal material name, single herb dosage, dosage form and administration method. Based on the preset thermal sensitivity knowledge base, the module obtains the prescription thermal sensitivity score of the medicine liquid made according to the traditional Chinese medicine prescription according to the structured prescription fields, and classifies the thermal sensitivity level of the medicine liquid according to the prescription thermal sensitivity score. The curve generation module is used to combine the thermosensitive property parameters and real-time status parameters of the drug solution to generate an adaptive temperature control curve that matches the thermosensitive property parameters of the drug solution. The prompt output module is used to execute an adaptive temperature control curve based on the overall reliability of the sensors, heat the liquid medicine, and output a drinking prompt when the preset consumption conditions are met.

[0013] The present invention also proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described adaptive temperature control method for the thermosensitive properties of traditional Chinese medicine prescriptions.

[0014] The present invention also proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the computer program to implement the above-described adaptive temperature control method for the thermosensitive properties of traditional Chinese medicine prescriptions.

[0015] In summary, the adaptive temperature control method for the thermosensitive properties of traditional Chinese medicine prescriptions provided by this invention, by constructing an analytical model of the prescription's thermosensitive properties, transforms multi-dimensional information such as the composition, dosage, and dosage form of the traditional Chinese medicine prescription into a quantifiable thermosensitivity level. Based on this, differentiated temperature control parameters are dynamically matched, achieving precise medication management through prescription-specific temperature control. This effectively avoids the problems of degradation of thermosensitive active ingredients and efficacy attenuation under the fixed temperature mode of traditional constant-temperature water cups. Simultaneously, a comprehensive sensor reliability verification mechanism is introduced, combined with multiple safety mechanisms such as overheat protection, anti-dry-burning, long-term storage protection, and repeated heating protection, enabling the temperature control model to continuously adapt to equipment aging and environmental changes, maintaining high accuracy and strong robustness over the long term. This invention enables traditional Chinese medicine administration cups to transform from ordinary constant-temperature control to prescription-driven adaptive temperature control, reducing the impact of unsuitable temperatures, prolonged storage, and repeated heating on the quality of traditional Chinese medicine administration.

[0016] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0017] Figure 1 This is a flowchart of the adaptive temperature control method for the thermosensitive properties of traditional Chinese medicine prescriptions in Embodiment 1 of the present invention; Figure 2 This is a flowchart of the adaptive temperature control method for the thermosensitive properties of traditional Chinese medicine prescriptions in Embodiment 2 of the present invention; Figure 3 This is a schematic diagram of the adaptive temperature control system for the thermosensitive properties of traditional Chinese medicine prescriptions in Embodiment 3 of the present invention; Figure 4 This is a structural block diagram of the electronic device in Embodiment 5 of the present invention. Detailed Implementation

[0018] To facilitate understanding of the present invention, a more complete description will be given below with reference to the accompanying drawings. Several embodiments of the invention are illustrated in the drawings. However, the invention can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.

[0019] It should be noted that when a component is said to be "fixed to" another component, it can be directly on the other component or there may be an intervening component. When a component is said to be "connected to" another component, it can be directly connected to the other component or there may be an intervening component. The terms "vertical," "horizontal," "left," "right," and similar expressions used in this document are for illustrative purposes only.

[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.

[0021] Example 1 The solution provided in this embodiment includes prescription parameter acquisition, thermosensitive attribute analysis, temperature control curve generation, and temperature control execution. Each functional unit can be integrated into a medication cup, a mobile terminal, a cloud management platform, or a combination thereof. Preferably, the medication cup is equipped with one or more of the following sensors: temperature, liquid level, weight, cup lid, tilt angle, inertial, or optical. The mobile terminal is used for parameter configuration, result display, and user confirmation. The management platform is used for rule maintenance, historical data storage, and multi-role collaboration.

[0022] like Figure 1 The diagram shows a flowchart of an adaptive temperature control method for the thermosensitive properties of a traditional Chinese medicine prescription according to Embodiment 1 of the present invention. The adaptive temperature control method for the thermosensitive properties of a traditional Chinese medicine prescription includes the following steps S11-S13, wherein: S11. Obtain the original information of the traditional Chinese medicine prescription, map the alternative names or processed product names of the medicinal materials in the original information to the pharmacopoeia standard medicinal material codes, unify the dosage units, and extract at least the structured prescription fields of medicinal material name, single herb dosage, dosage form and administration method. Based on the preset thermal sensitivity knowledge base, obtain the prescription thermal sensitivity score of the medicine liquid made according to the traditional Chinese medicine prescription according to the structured prescription fields, and classify the thermal sensitivity level of the medicine liquid according to the prescription thermal sensitivity score.

[0023] First, the original information related to the administration of traditional Chinese medicine is obtained. The original prescription information is obtained through at least one of the following methods: image recognition, QR code parsing, manual input, or distribution from a cloud platform. Then, the original information is converted into structured data or event features. Next, calculations are performed according to preset rules, knowledge bases, or models. Finally, the corresponding thermosensitive property parameters of the medicine liquid are output to the medicine cup, mobile terminal, or management platform.

[0024] S12. Combining the thermosensitive property parameters and real-time status parameters of the drug solution, generate an adaptive temperature control curve that matches the thermosensitive property parameters of the drug solution.

[0025] Based on the corresponding basic temperature control parameters matched to the prescription's thermosensitivity level, a segmented control algorithm was used to calculate the real-time heating power. Three hard constraints were set: power upper limit, heating rate upper limit, and cumulative heat exposure. The heating time was predicted based on a multiple linear regression model, and the initial heating power was back-calculated based on the target medication time to generate an adaptive temperature control curve.

[0026] S13. Based on the overall reliability of the sensors, execute the adaptive temperature control curve to heat the liquid medicine, and output a drinking prompt when the preset administration conditions are met.

[0027] Based on the overall reliability of the cup's sensors, heating or heat preservation operations are performed according to the adaptive temperature control curve, and references or risk warnings are generated.

[0028] In summary, the adaptive temperature control method for the thermosensitive properties of traditional Chinese medicine prescriptions provided by this invention, by constructing an analytical model of the prescription's thermosensitive properties, transforms multi-dimensional information such as the composition, dosage, and dosage form of the traditional Chinese medicine prescription into a quantifiable thermosensitivity level. Based on this, differentiated temperature control parameters are dynamically matched, achieving precise medication management through prescription-specific temperature control. This effectively avoids the problems of degradation of thermosensitive active ingredients and efficacy attenuation under the fixed temperature mode of traditional constant-temperature water cups. Simultaneously, a comprehensive sensor reliability verification mechanism is introduced, combined with multiple safety mechanisms such as overheat protection, anti-dry-burning, long-term storage protection, and repeated heating protection, enabling the temperature control model to continuously adapt to equipment aging and environmental changes, maintaining high accuracy and strong robustness over the long term. This invention enables traditional Chinese medicine administration cups to transform from ordinary constant-temperature control to prescription-driven adaptive temperature control, reducing the impact of unsuitable temperatures, prolonged storage, and repeated heating on the quality of traditional Chinese medicine administration.

[0029] Example 2 Please see Figure 2 The figure shows the adaptive temperature control method for the thermosensitive properties of traditional Chinese medicine prescriptions in the second embodiment of the present invention, including steps S21-S23.

[0030] S21. Obtain the original information of the traditional Chinese medicine prescription, map the alternative names or processed product names of the medicinal materials in the original information to the pharmacopoeia standard medicinal material codes, unify the dosage units, and extract at least the structured prescription fields of medicinal material name, single herb dosage, dosage form and administration method. Based on the preset thermal sensitivity knowledge base, obtain the prescription thermal sensitivity score of the medicine liquid made according to the traditional Chinese medicine prescription according to the structured prescription fields, and classify the thermal sensitivity level of the medicine liquid according to the prescription thermal sensitivity score.

[0031] S211. Obtaining information on traditional Chinese medicine prescriptions.

[0032] The original prescription information is obtained through at least one of the following methods: image recognition, QR code parsing, manual input, or cloud platform distribution. The original information is then converted into structured data or event features. Specifically, the alternative names or processed product names of medicinal materials in the original prescription information are uniformly mapped to the pharmacopoeia standard medicinal material codes, and the dosage units are uniformly converted to grams or milliliters. The medicinal material names entered by the user are corrected and normalized through a medicinal material alternative name lookup table and an edit distance algorithm. At least the structured prescription fields of medicinal material name, dosage of single medicinal material, dosage form, and method of administration are extracted.

[0033] When converting raw information into structured data, the system first establishes a field template F={medicinal herb code, medicinal herb dosage, dosage form, method of administration, target temperature, target dosage, administration time, rule source}. When the input is an image, OCR is used to recognize the text lines, and then the medicinal herb name and dosage are extracted using a medicinal herb dictionary and regular expressions. When the input is a QR code, the prescription number or JSON field in the QR code is parsed. When the input is manually entered, standardization is completed using a medicinal herb alias table and edit distance correction. If a field is missing, it is completed by the thermal knowledge base or the default rules of the management terminal, and the field source is marked as "identification, distribution, recommendation, or manual confirmation".

[0034] S212, Analysis of thermal property parameters.

[0035] Based on a pre-defined thermosensitive knowledge base, the thermosensitive level of a prescription is determined according to the heat stability label of the medicinal material, the prescription dosage form, the target method of administration, and the matching results of the classical prescription. This thermosensitive knowledge base includes at least the standard name, synonym, thermosensitive level, recommended method of administration, recommended target temperature, maximum allowable temperature, maximum heat preservation time, and maximum allowable number of heating cycles of the medicinal material.

[0036] The formula for calculating the prescription thermosensitivity score is:

[0037] in, The weighted score for the thermal stability of medicinal materials is obtained by summing the weighted scores according to the proportion of each medicinal material's dosage to the total dosage. For dose correction scores; This refers to the dosage form score; The score is based on the method of medication administration; , , , These are the corresponding weighting coefficients.

[0038] Based on the thermosensitivity score of the prescription, traditional Chinese medicine prescriptions are divided into three levels: low thermosensitivity, medium thermosensitivity, and high thermosensitivity. Different thermosensitivity levels correspond to different maximum allowable temperatures, maximum heat preservation times, maximum allowable number of heating cycles, and upper limits on heating rates.

[0039] S22. Based on the thermosensitive property parameters and real-time status parameters of the medicinal liquid, generate an adaptive temperature control curve that matches the thermosensitive level of the traditional Chinese medicine prescription information.

[0040] The preset rule for generating the temperature control curve can be: the maximum allowable temperature of the low-thermosensitive formulation. Available at 70℃, with the longest heat preservation time. 120 minutes is allowed, maximum number of heating cycles permitted. Two doses can be taken; for moderately heat-sensitive prescriptions. 60℃ is acceptable. Available for 60 minutes. One dose is acceptable; for highly heat-sensitive prescriptions. 50℃ is acceptable. Available for 30 minutes. Zero attempts are possible, or manual confirmation is required. The above parameters can be modified by the thermal knowledge base for specific prescriptions.

[0041] Based on the corresponding baseline temperature control parameters matched to the prescription's thermistivity level, the temperature control curve should include at least the following parameters: maximum permissible temperature, target drinking temperature range, maximum holding time, upper limit of heating rate, and limit on the number of reheating cycles. The values ​​of each parameter are linked to the prescription's thermistivity level; the higher the thermistivity level, the lower the corresponding temperature limit, the shorter the holding time, and the fewer the allowed number of heating cycles.

[0042] A piecewise PID control algorithm is used to calculate the real-time heating power, and three hard constraints are set: a power limit, a heating rate limit, and a cumulative heat exposure.

[0043] in, For real-time heating power, For the target drinking temperature, The temperature at the current moment. The temperature is the value from the previous moment. When the formula is expressed using a discrete sampling sequence... Indicates the first The temperature of the medicine solution at each sampling time. Indicates the first The temperature of the medicine solution at each sampling time. This indicates the temperature change at adjacent sampling times. For the current temperature deviation, or in discrete form For the first Temperature deviation at each sampling time. , , These are the proportional, integral, and differential coefficients, respectively. Let be the integral coefficient, and represent the th . Temperature at each sampling time They are not the same variable; segmented PID control determines the real-time heating power based on the magnitude of the temperature deviation, the prescription thermistor level, and the remaining heating time.

[0044] The three hard constraints are: power upper limit constraint: Heating rate constraint: Cumulative heat exposure constraint: ,in, For prescription thermosensitivity score, This refers to the volume of the medicine solution. , , These are the upper limits for power, heating rate, and cumulative heat exposure, respectively.

[0045] For example, the Buyang Huanwu Decoction is mapped in the knowledge base as moderately heat-sensitive, to be taken warm, with a target temperature of 40℃, a maximum allowable temperature of 60℃, a maximum heat retention time of 60 minutes, and a maximum number of heating cycles allowed to be 1; the Gegen Qinlian Decoction is mapped as moderately to high heat-sensitive, to be taken cool or low-temperature warm, with a target temperature of 30℃, a maximum allowable temperature of 50℃, and a maximum heat retention time of 30 minutes; ordinary low-heat-sensitive tea substitutes can be set with a target temperature of 45℃, a maximum allowable temperature of 70℃, and a maximum heat retention time of 120 minutes.

[0046] It should be noted that the rules, knowledge base, or model mentioned in this embodiment can be implemented using local rule tables, cloud databases, statistical models, machine learning models, or a combination of the above methods. To ensure traceability, the system records each input data, calculation result, execution command, and user response.

[0047] The rule table does not only store function names, but also executable parameters. For example, a record in the rule table can be represented as R={prescription type=warm decoction, heat sensitivity level=medium, =[38,42]℃ =60℃, =60min, =1, =1.2℃ / min, low liquid level threshold = 50ml, temperature sensor reliability threshold = 0.75}. After reading this record, the temperature control curve generation module directly generates the cup-end heating power, stop conditions, and prompt conditions.

[0048] Furthermore, based on the thermosensitivity score, drug volume, initial temperature, ambient temperature, equivalent heat capacity of the cup, target temperature, and remaining time before medication administration, a statistical model is used to predict the heating time, and the initial heating power is deduced from the target medication administration time.

[0049] When using a statistical model, the model input sample is: The output is the estimated time to reach the target temperature. and recommended heating power The system can be fitted using historical temperature control data. Samples with prediction errors exceeding a threshold are marked as anomalies and used to correct subsequent temperature control parameters.

[0050] Preferably, the statistical model in this embodiment can adopt a structure of physical heuristic features + regression prediction + online correction. Samples are extracted from a single temperature control task. ,in, For thermal sensitivity rating, This refers to the volume of the medicine solution. The initial temperature of the medicine solution. For ambient temperature, This refers to the equivalent heat capacity parameters corresponding to the cup body material and structure. For the target temperature, This represents the remaining time until the target medication time. The heating power is set for this test. Next, the system records the actual time required to reach the target temperature. and actual temperature curve to form training samples .

[0051] When using a multivariate linear statistical model, the estimated time to reach the target temperature is calculated as follows:

[0052] in, , , , , , , , These are the model parameters. Wherein, For the intercept term, to For model parameters, respectively corresponding to The weighting coefficients. The physical meaning of the model parameters is: drug volume. Equivalent heat capacity of the cup body The larger the initial temperature, the longer the predicted heating time; The closer to the target temperature The shorter the predicted heating time, the better; the higher the power setting... The higher the value, the shorter the predicted warming time, but... It is subject to the power limit corresponding to the prescription's thermal sensitivity level.

[0053] Based on this, the initial heating power for:

[0054] in, This is an empirical conversion factor used to convert the predicted heating time and required heat into initial heating power. Heating efficiency reflects the effective heat transfer ratio from the heating element to the liquid medicine; The function limits the calculation results to the minimum effective power. Power limit corresponding to thermistor class between.

[0055] To enable the statistical model to gradually adapt to changes in cup aging, environmental variations, and differences in drug volume, the model undergoes self-iteration: Historical temperature control tasks were grouped according to prescription heat sensitivity level, cup model, and liquid volume range; Normalize each group of samples. , , , and Transform to the 0 to 1 range; Calculate using the least squares method in, The sample feature matrix, Each row corresponds to a normalized feature vector of a historical temperature control task. Each column corresponds to One of the features, The actual time vector for reaching the target temperature is generated by each historical temperature control task. composition, No. The actual time taken for each historical temperature control task sample. This is a regularization coefficient used to suppress parameter overfitting when the number of samples is small or the features are highly correlated. It is the identity matrix. This is represented as transpose. It is the transpose of the sample feature matrix.

[0056] Before recursively updating, the system first determines whether a new sample is a valid sample. If a new sample has issues such as opening the lid midway, pouring out the medicine, abnormal liquid level, abnormal temperature sensor, or user canceling medication, then the sample will not participate in the normal model update. If it only shows a stable systematic deviation under similar prescriptions, then it will participate in the update with a smaller learning rate or a larger ρ value to avoid a single abnormal sample causing drastic fluctuations in the temperature control curve.

[0057] Once the new sample has completed temperature control, online updates are performed using recursive least squares: , , .in, This is the normalized feature vector for the new temperature control task. for The transpose of , For the updated model parameters, These are the model parameters before the update. Let covariance be the parameter. The parameter covariance matrix before the update. For recursive gain, It is the forgetting factor and 0 < ≤1 is used to allow the model to gradually adapt to changes in cup aging, environmental changes, differences in liquid volume, and heating efficiency.

[0058] Calculate the prediction error for each temperature control task. When the relative error exceeds 30% or the absolute error exceeds three times the standard deviation of the error of the same group of samples, it is marked as an abnormal sample. Depending on the cause of the abnormality, the corresponding sensor credibility is reduced, the sample is stored in the abnormal sample library, or the model is updated with a small learning rate.

[0059] If the cause of the anomaly is a sensor malfunction, the reliability of the corresponding sensor will be reduced and a retest or equipment check will be triggered. The sample will not be used to update the model parameters. If the anomaly is due to user error, such as opening the lid midway, pouring out the medicine, or frequent shaking, the sample will be stored in the anomaly database but will not be used for normal temperature control model training. If multiple similar prescriptions show model deviation in the same direction, it will be judged as a model deviation anomaly, and the system will update the model using a smaller learning rate. And correct accordingly. , Or, regarding the duration of heat preservation, for example, if the continuous prediction is too slow, the initial power can be appropriately increased. However, the power limit must not exceed the power limit corresponding to the thermistor class, and the power should be reduced when the continuous prediction is too fast. Or it can be put into heat preservation mode in advance.

[0060] Quantitative example: In a certain heat-sensitive clothing task, =48, =330ml =28℃, =22℃, =1.10, =40℃, =20min, =35W. Model prediction =10.5min, actual =11.2min, relative error er=6.7%, the samples were used as normal samples to update the model. In another task, =250ml =30℃, =40℃, model prediction =8min, actual =15min, relative error er=87.5%, and during this period the cup lid was opened and a drop in liquid level was detected. The system marked this as an abnormal user operation, did not use it for model parameter updates, and output a prompt to reconfirm the liquid volume.

[0061] S23. Based on the overall reliability of the sensors, execute the adaptive temperature control curve to heat the liquid medicine, and output a drinking prompt when the preset administration conditions are met.

[0062] Real-time liquid temperature is collected via a liquid temperature sensor, and the current liquid volume is collected via a level or weight sensor; ambient temperature is collected via an ambient temperature sensor, and cup body status parameters are collected via a lid switch sensor, tilt sensor, or inertial sensor; the overall reliability of the sensors is calculated, and the corresponding level of temperature control strategy is executed based on the reliability range. Set the first comprehensive confidence value and the second comprehensive confidence value respectively. If the comprehensive confidence value is not less than the second comprehensive confidence value, the system will operate normally according to the standard temperature control curve. If the overall confidence level is between the first and second overall confidence levels, reduce the heating power and output a device status confirmation prompt to the user; If the overall confidence level is less than the first overall confidence value, heating will be stopped immediately and an abnormal status prompt will be triggered. Among them, when a logical contradiction occurs, the data of the sensor will be marked as abnormal data. Logical contradiction scenarios include at least no data returned within the sampling period, multiple consecutive empty readings, readings that remain unchanged for a long time, or heating not started but the temperature continues to rise, liquid level increases but weight decreases, and the cup lid is open and the tilt angle meets the standard but the liquid level does not change.

[0063] Specifically, when sensor data is missing, data is contradictory, or calculation results are below the confidence threshold, the system does not directly output a completion conclusion, but instead triggers a retest, user confirmation, execution stoppage, or tiered reminders.

[0064] The method for identifying missing sensor data is as follows: during the sampling period The following are considered invalid data entries: no data packet received, multiple consecutive empty readings, timestamp expired, or reading remains fixed for more than a preset time. Inconsistent data can be identified as follows: the temperature sensor shows heating up but the heating power is 0 and the ambient temperature is lower than the liquid temperature; the level sensor shows an increase in liquid volume while the pressure sensor shows a decrease in weight; the liquid level remains unchanged for an extended period when the lid is open and the cup is tilted at an angle greater than the drinking angle.

[0065] The overall reliability of sensors can be determined according to Calculate, where, To ensure the reliability of temperature data, To ensure the reliability of liquid level data, To ensure the reliability of weight data, The confidence level of the cup's state is determined. In this embodiment, the first comprehensive confidence value can be set to 0.5, and the second comprehensive confidence value can be set to 0.8. If the temperature is ≥0.80, the system will operate according to the normal temperature control curve; if the temperature is ≤0.50, the system will operate according to the normal temperature control curve. If <0.80, the system reduces the heating power and prompts the user for confirmation; if If the value is less than 0.50, the system will stop heating and trigger a retest or equipment check prompt.

[0066] The triggering mechanism is implemented through a state machine, with states including standby, identification, heating, heat preservation, cooling and waiting, drinkable, abnormal stop, and user confirmation. When overheating, low liquid level, risk of dry burning, or insufficient confidence is detected, the state machine jumps from heating or heat preservation to abnormal stop; after user confirmation or successful retesting, the state machine returns to the identification or heating state. This state machine only handles the safety of drug liquid temperature control and does not output a pre-administration human safety score.

[0067] For scenarios involving heating, stirring, or medication dosage determination, the system is equipped with safety thresholds and abnormal protection mechanisms, including anti-dry burning, overheating stop, low liquid level stop, lid opening stop, non-medication event filtering, and repeated reminder restrictions.

[0068] The heating or heat preservation operation according to the temperature control curve specifically includes the automatic switching of three operating modes: Heating mode: Heating is activated when the temperature of the liquid medicine is below the lower limit of the target range, but has not exceeded the maximum temperature or the limit of the number of heating cycles. Heat preservation mode: When the temperature of the liquid medicine is within the target range, low-power heat preservation is activated and the heat preservation time is accumulated; Cooling Waiting Mode: When the temperature of the liquid exceeds the upper limit of the target range or the maximum allowable temperature, heating is prohibited and the estimated cooling time is displayed.

[0069] The trigger conditions for outputting the drinking reminder are that the liquid temperature is within the target drinking temperature range, and the liquid volume is not less than the preset target dosage. If the user does not take the medication within the preset time after the drinking reminder is output, the system checks whether the cumulative number of heating cycles has not exceeded [a certain threshold]. Has the cumulative heat preservation time not exceeded [the specified limit]? Check whether the remaining liquid level is higher than the safe liquid level threshold, and whether the cumulative heat exposure limit will not be exceeded after secondary heating; if all conditions are met, secondary heating is allowed, otherwise it is prohibited and a risk warning is issued.

[0070] Abnormal protection commands include: Over-temperature protection: The temperature of the liquid exceeds the maximum allowable temperature. Immediately cut off heating when the liquid level drops below the preset safe level; Anti-dry-burn protection: immediately stop heating when the liquid level falls below the preset safe level; Long-term storage protection: stop heating immediately when the cumulative heat preservation time exceeds the preset safe level. Automatically stops heat preservation when the time is reached; Repetitive heating protection: Repetitive heating count reaches [number missing]. Do not reheat.

[0071] In summary, the adaptive temperature control method for the thermosensitive properties of traditional Chinese medicine prescriptions provided by this invention, by constructing an analytical model of the prescription's thermosensitive properties, transforms multi-dimensional information such as the composition, dosage, and dosage form of the traditional Chinese medicine prescription into a quantifiable thermosensitivity level. Based on this, differentiated temperature control parameters are dynamically matched, achieving precise medication management through prescription-specific temperature control. This effectively avoids the problems of degradation of thermosensitive active ingredients and efficacy attenuation under the fixed temperature mode of traditional constant-temperature water cups. Simultaneously, a comprehensive sensor reliability verification mechanism is introduced, combined with multiple safety mechanisms such as overheat protection, anti-dry-burning, long-term storage protection, and repeated heating protection, enabling the temperature control model to continuously adapt to equipment aging and environmental changes, maintaining high accuracy and strong robustness over the long term. This invention enables traditional Chinese medicine administration cups to transform from ordinary constant-temperature control to prescription-driven adaptive temperature control, reducing the impact of unsuitable temperatures, prolonged storage, and repeated heating on the quality of traditional Chinese medicine administration.

[0072] Example 3 Another aspect of this invention provides an adaptive temperature control system for the thermosensitive properties of traditional Chinese medicine prescriptions. Please refer to [link / reference needed]. Figure 3 The diagram shows a schematic of the adaptive temperature control system for the thermosensitive properties of traditional Chinese medicine prescriptions in Embodiment 3 of the present invention. The adaptive temperature control system for the thermosensitive properties of traditional Chinese medicine prescriptions includes: The attribute acquisition module 11 is used to acquire the original information of the traditional Chinese medicine prescription, map the aliases or processed product names of the medicinal materials in the original information to the pharmacopoeia standard medicinal material codes, unify the dosage units, and extract at least the structured prescription fields of medicinal material name, single herb dosage, dosage form and administration method. Based on the preset thermal sensitivity knowledge base, the module obtains the prescription thermal sensitivity score of the medicine liquid made according to the traditional Chinese medicine prescription according to the structured prescription fields, and classifies the thermal sensitivity level of the medicine liquid according to the prescription thermal sensitivity score. The curve generation module 12 is used to combine the thermosensitive property parameters and real-time status parameters of the drug solution to generate an adaptive temperature control curve that matches the thermosensitive property parameters of the drug solution. The prompt output module 13 is used to execute an adaptive temperature control curve based on the overall reliability of the sensor, heat the liquid medicine, and output a drinking prompt when the preset consumption conditions are met.

[0073] First, the original information related to the administration of traditional Chinese medicine is obtained. The original prescription information is obtained through at least one of the following methods: image recognition, QR code parsing, manual input, or distribution from a cloud platform. Then, the original information is converted into structured data or event features. Next, calculations are performed according to preset rules, knowledge bases, or models. Finally, the corresponding thermosensitive property parameters of the medicine liquid are output to the medicine cup, mobile terminal, or management platform.

[0074] Based on the corresponding basic temperature control parameters matched to the prescription's thermosensitivity level, a segmented control algorithm was used to calculate the real-time heating power. Three hard constraints were set: power upper limit, heating rate upper limit, and cumulative heat exposure. The heating time was predicted based on a multiple linear regression model, and the initial heating power was back-calculated based on the target medication time to generate an adaptive temperature control curve.

[0075] Based on the overall reliability of the cup's sensors, heating or heat preservation operations are performed according to the adaptive temperature control curve, and references or risk warnings are generated.

[0076] In summary, the adaptive temperature control system for the thermosensitive properties of traditional Chinese medicine prescriptions provided by this invention, by constructing an analytical model of the thermosensitive properties of the prescription, transforms multi-dimensional information such as the composition of medicinal materials, dosage, and dosage form of the traditional Chinese medicine prescription into a quantifiable thermosensitivity level, and dynamically matches differentiated temperature control parameters accordingly. This achieves precise medication management based on the prescription's specific temperature control, effectively avoiding the problems of degradation of thermosensitive active ingredients and efficacy attenuation under the fixed temperature mode of traditional constant-temperature water cups. Simultaneously, it introduces a comprehensive sensor reliability verification mechanism, combined with multiple safety mechanisms such as overheat protection, anti-dry-burning, long-term storage protection, and repeated heating protection, enabling the temperature control model to continuously adapt to equipment aging and environmental changes, maintaining high accuracy and strong robustness over the long term. This invention enables traditional Chinese medicine administration cups to transform from ordinary constant-temperature control to prescription-driven adaptive temperature control, reducing the impact of unsuitable temperatures, prolonged storage, and repeated heating on the quality of traditional Chinese medicine administration.

[0077] Example 4 In another aspect, the present invention also proposes a computer-readable storage medium having stored thereon one or more computer programs that, when executed by a processor, implement the above-described adaptive temperature control method for the thermosensitive properties of traditional Chinese medicine prescriptions.

[0078] Those skilled in the art will understand that the logic or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable storage medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable storage medium" can mean any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device.

[0079] More specific examples (a non-exhaustive list) of computer-readable storage media include: electrical connections (electronic devices) having one or more wires, portable computer disk drives (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable storage media can even be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.

[0080] Example 5 Figure 4 This is a structural block diagram of an electronic device provided in Embodiment 5. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the adaptive temperature control method for the thermosensitive properties of traditional Chinese medicine prescriptions in the above embodiments. Figure 4 The electronic device 30 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present invention.

[0081] like Figure 4 As shown, the electronic device 30 can be manifested as a general-purpose computing device, such as a server device. The components of the electronic device 30 may include, but are not limited to: at least one processor 31, at least one memory 32, and a bus 33 connecting different system components (including memory 32 and processor 31).

[0082] Bus 33 includes a data bus, an address bus, and a control bus.

[0083] The memory 32 may include volatile memory, such as RAM 321 (random access memory), and / or cache memory 322, and may further include ROM 323 (read-only memory).

[0084] The memory 32 may also include a program tool 325 having a set (at least one) of program modules 324, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.

[0085] The processor 31 executes various functional applications and data processing by running computer programs stored in the memory 32, such as the adaptive temperature control method for the thermosensitive properties of traditional Chinese medicine prescriptions as described above.

[0086] Electronic device 30 can also communicate with one or more external devices 34 (e.g., keyboard, pointing device, etc.). This communication can be performed via I / O interface 35 (input / output interface). Furthermore, electronic device 30 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public network, such as the Internet) via network adapter 36. Figure 4 As shown, network adapter 36 communicates with other modules of electronic device 30 via bus 33. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with electronic device 30, including but not limited to: microcode, device drivers, redundant processors, disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems.

[0087] It should be noted that although several units / modules or sub-units / modules of the electronic device have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of the present invention, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided and embodied by multiple units / modules.

[0088] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0089] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention. Therefore, the scope of protection of this patent should be determined by the appended claims.

Claims

1. A method for adaptive temperature control based on the thermosensitive properties of a traditional Chinese medicine prescription, characterized in that, The methods include: The original information of the traditional Chinese medicine prescription is obtained, and the alternative names or processed product names of the medicinal materials in the original information are uniformly mapped to the pharmacopoeia standard medicinal material codes and the dosage units are uniformly defined. At least the structured prescription fields of medicinal material name, single herb dosage, dosage form and administration method are extracted. Based on the preset thermal sensitivity knowledge base, the prescription thermal sensitivity score of the medicine liquid made according to the traditional Chinese medicine prescription is obtained according to the structured prescription fields, and the thermal sensitivity level of the medicine liquid is divided according to the prescription thermal sensitivity score. By combining the thermosensitive property parameters and real-time status parameters of the drug solution, an adaptive temperature control curve that matches the thermosensitive property parameters of the drug solution is generated. Based on the overall reliability of the sensors, an adaptive temperature control curve is executed to heat the liquid medicine, and a drinking prompt is output when the preset administration conditions are met.

2. The adaptive temperature control method for the thermosensitive properties of traditional Chinese medicine prescriptions according to claim 1, characterized in that, The step of generating an adaptive temperature control curve that matches the thermosensitive properties of the drug solution by combining the thermosensitive property parameters and real-time state parameters includes: Based on the thermosensitivity level of the drug solution, the corresponding basic temperature control parameters are matched, and the upper limit of heating power, the upper limit of heating rate and the cumulative heat exposure are set. The real-time heating power is calculated by a segmented control algorithm. Based on the prescription's thermosensitivity score, the volume of the medicine, the initial temperature of the medicine, the ambient temperature of the cup, the equivalent heat capacity of the cup, the target heating temperature, and the remaining time before medication, a preset statistical model is used to predict the heating time, and the initial heating power is calculated back based on the target medication time to formulate an adaptive temperature control curve.

3. The adaptive temperature control method for the thermosensitive properties of traditional Chinese medicine prescriptions according to claim 2, characterized in that, In the step of predicting the heating time using a preset statistical model: Calculate the prediction error for each temperature control task. When the prediction error exceeds a preset error threshold, mark the current temperature control task as an abnormal sample. Based on the cause of the anomaly in the abnormal sample, the reliability of the corresponding sensor is reduced, the recommended heating power is reduced, or the upper limit of the heating rate is adjusted.

4. The adaptive temperature control method for the thermosensitive properties of traditional Chinese medicine prescriptions according to claim 1, characterized in that, The step of executing the adaptive temperature control curve based on the overall reliability of the sensors includes: Calculate the overall reliability of the sensor and execute the corresponding level of temperature control strategy based on the range of values ​​of the overall reliability.

5. The adaptive temperature control method for the thermosensitive properties of traditional Chinese medicine prescriptions according to claim 4, characterized in that, The step of executing the corresponding level of temperature control strategy based on the range of the comprehensive confidence level includes: Set the first comprehensive confidence value and the second comprehensive confidence value respectively; If the overall confidence level is not less than the second overall confidence value, the system will operate normally according to the established adaptive temperature control curve. If the overall confidence level is between the first overall confidence value and the second overall confidence value, the heating power is reduced and the device status confirmation prompt is output to the user; If the overall confidence level is less than the first overall confidence value, heating will be stopped immediately and an abnormal status prompt will be triggered. When a logical contradiction occurs, the data from the sensor will be marked as abnormal data. The logical contradiction includes at least the following scenarios: no data is returned within the sampling period, multiple consecutive readings are empty, the reading remains unchanged for a long time, or the temperature continues to rise even though heating has not been started, the liquid level increases but the weight decreases, the cup lid is open and the tilt angle meets the standard but the liquid level does not change.

6. A thermosensitive adaptive temperature control system for traditional Chinese medicine prescriptions, characterized in that, The adaptive temperature control system for the thermosensitive properties of traditional Chinese medicine prescriptions is used to implement the adaptive temperature control method for the thermosensitive properties of traditional Chinese medicine prescriptions as described in any one of claims 1-5. The system includes: The attribute acquisition module is used to acquire the original information of the traditional Chinese medicine prescription, and uniformly map the aliases or processed product names of the medicinal materials in the original information to the pharmacopoeia standard medicinal material codes, unify the dosage units, and extract at least the structured prescription fields of medicinal material name, single herb dosage, dosage form and administration method. Based on the preset thermal sensitivity knowledge base, the module obtains the prescription thermal sensitivity score of the medicine liquid made according to the traditional Chinese medicine prescription according to the structured prescription fields, and classifies the thermal sensitivity level of the medicine liquid according to the prescription thermal sensitivity score. The curve generation module is used to combine the thermosensitive property parameters and real-time status parameters of the drug solution to generate an adaptive temperature control curve that matches the thermosensitive property parameters of the drug solution. The prompt output module is used to execute an adaptive temperature control curve based on the overall reliability of the sensors, heat the liquid medicine, and output a drinking prompt when the preset consumption conditions are met.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the adaptive temperature control method for the thermosensitive properties of traditional Chinese medicine prescriptions as described in any one of claims 1-5.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the adaptive temperature control method for the thermosensitive properties of traditional Chinese medicine prescriptions as described in any one of claims 1-5.