Home-based volume sensing for heart failure and dynamic diuresis windowing system and method

By collecting multimodal physiological signals, calculating global measurement reliability and individualized adjustments, and constructing multimodal consistency evaluation and safety margin, the problem of the inability to quantitatively convert early warning into automatic diuretic intervention in existing technologies is solved, realizing safe and individualized automatic diuretic dose adjustment and closed-loop feedback.

CN123142891APending Publication Date: 2026-11-20SHANDONG XIEHE UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611624714.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-20
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing home monitoring technologies cannot quantify the warning time into safe and individualized automatic diuretic intervention, lack modeling of individual dose-response relationships, pose a risk of dose superposition, and fail to distinguish between situations where additional medication is needed and situations where additional medication is no longer sufficient.

Method used

By collecting multimodal physiological signals, calculating and gating global measurement reliability, establishing individual baselines and natural fluctuation bands, constructing multimodal consistency evaluation, calculating standardized deviation, normalized rise rate and normalized duration, recording historical diuretic adjustment events, fitting individual diuretic response delay and saturation parameters, constructing upregulation lockout based on individual delay, calculating safety margin after interlock access, inverting the minimum effective adjustment amount, generating execution instructions and triggering quantitative dispensing of pre-loaded drugs.

Benefits of technology

It achieves a quantitative and executable transformation from early warning to intervention, enables individualized adjustments, shortens the intervention implementation chain, ensures safety, prevents out-of-bounds drug administration through multiple safety constraints, and allows individual models to adapt to the patient's condition over time, forming a complete closed loop of perception, decision-making, execution, and feedback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123142891A_ABST
    Figure CN123142891A_ABST
Patent Text Reader

Abstract

The application discloses a heart failure home volume sensing and dynamic diuresis window distribution system and method, belongs to the technical field of medical electronics and physiological signal processing, and is used for automatic decision and execution of home volume state monitoring and diuretic quantitative distribution of chronic heart failure patients, and comprises a volume sensing terminal unit, a main control and algorithm running unit, a quantitative distribution execution unit, a man-machine interaction and safety interlocking unit and a communication and medical care terminal connection unit. The application constructs volume deterioration momentum through multi-modal physiological signal measurement credibility gating and individual baseline adaptive updating, solves a dynamic diuresis window in combination with an individual diuresis response coefficient learned from historical drug adjustment responses and a safety reserve short board constraint, selects the minimum level meeting the window from preset discrete levels of the device to execute distribution, takes the smaller one as arbitration through an independent hard limit path, adjusts retest feedback correction according to an individual response time delay, and realizes closed-loop diuresis management of sensing, decision, execution and feedback.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention discloses a home-based volume sensing and dynamic diuretic window distribution system and method for heart failure, belonging to the field of medical electronics and physiological signal processing technology. Background Technology

[0002] The main reason for recurrent hospitalizations in patients with chronic heart failure is acute decompensation caused by volume overload. Pathophysiologically, this process presents a progressive chain from abnormal cardiac filling, sodium and water retention, elevated venous pressure, and premature pulmonary artery pressure elevation, to tissue effusion, weight gain and edema, nocturnal awakening due to shortness of breath, and finally, emergency hospitalization. The first half of this chain is entirely unnoticed by the patient. Based on this pattern, existing home monitoring solutions have developed into four approaches: symptom and weight self-monitoring is simple but belongs to the later stages and is highly susceptible to interference; multi-parameter scoring and bioimpedance monitoring have higher sensitivity than single weight monitoring but face difficulties in setting thresholds and only output alarm levels; implantable pulmonary artery pressure monitoring can detect abnormalities days to weeks before symptom onset, moving the intervention window forward, but subsequent manual adjustment of diuretic dosage is still required, resulting in a long response chain and reliance on physician experience; smart pillboxes and medication reminder devices only address "taking the prescribed medication on time and in the correct dosage" and do not participate in dosage decisions.

[0003] The core shortcomings of existing technologies are: the output level remains at the level of "whether it is abnormal" without answering "how to treat it"; individual differences are handled using fixed thresholds for the population, meaning the same measurement value has completely different meanings for different patients; there is no modeling of the "individual dose-response relationship," and the physiological changes after each adjustment are not structured into calculable parameters; there is a lack of modeling for the delay in drug effect, posing a risk of dose superposition; the uncontrolled nature of home measurements (time, position, electrode contact, etc.) is not addressed, and measurement errors directly enter the judgment logic; safety constraints are lacking, failing to distinguish between "needing to add medication" and "cannot be resolved by adding medication." Therefore, the field still lacks a device and system that can utilize the pre-symptom warning time, directly, quantitatively, and safely convert warnings into executable medication adjustments at the patient's home, and proactively exit automatic decision-making when safety capabilities are exceeded. Summary of the Invention

[0004] The purpose of this invention is to provide a home-based volume sensing and dynamic diuretic window distribution system and method for heart failure, in order to solve the problem that existing home monitoring technologies only output alarm levels and cannot quantitatively convert the warning time into safe and individualized automatic diuretic intervention.

[0005] Methods for home-based volume sensing and dynamic diuretic window distribution in heart failure include: S1. Collect multimodal physiological signals, calculate global measurement reliability and gating; establish individual baselines and natural fluctuation bands and update them daily; calculate standardized deviation, normalized rise rate and normalized duration; construct multimodal consistency evaluation, weighted and fused deviation, rate and duration into volume deterioration momentum and output in stages; calculate reversible cause correction factor, prioritize cause correction and retest when momentum is in the middle range and cause is sufficient, otherwise enter window calculation; S2. Record historical diuretic adjustment events, fit individual diuretic response delay, saturation parameters and response coefficients, and output confidence level; construct an upregulation lockout based on individual delay, prohibiting upregulation during the lockout period, with exceptions for safe actions; retest feedback correction response coefficient and delay after drug administration, and output high sensitivity markers and diuretic resistance markers; S3. After interlock access is granted, six types of safety margins are calculated, and the shortest link is aggregated into a diuretic safety reserve. The minimum effective adjustment amount is derived from momentum inversion, and the maximum safety adjustment amount is obtained by taking the smallest value from the safety reserve, single-use upper limit, total upper limit, and cumulative rate limit. The interval is judged in three states, and the smallest discrete level is selected. When there is mismatch, reserve reaches zero, or resistance, manual intervention is initiated and attribution is generated. The smallest value is taken as the final execution amount through hard limit arbitration. Execution instructions and retest scheduling are generated. When the capacity drops and the safety decreases, the downward adjustment amount and level are output in reverse. The execution instruction triggers the quantitative distribution execution unit to release the pre-loaded drug unit of the corresponding level and transmits the drug retrieval verification result back.

[0006] S1 includes, S1.1, the system acquires pulmonary artery pressure signals. ,weight Blood pressure cuff Heart rate Dual-frequency bioimpedance Nocturnal cardiac impaction signal After bandpass filtering, power frequency suppression, and feature extraction, the feature vector for the day is obtained. : ; In the formula, The mean pulmonary artery pressure for the day. Weight upon waking up in the morning. Based on the fundamental impedance, For systolic pressure, For diastolic blood pressure, Heart rate, The BCG nocturnal cardiopulmonary composite index; S1 includes S1.2, which calculates five sub-factors for each data collection, including time compliance. Posture compliance Signal-to-noise ratio quality Contact impedance quality Repeatability : ; ; ; ; ; In the formula, The actual measurement time. The measurement time is specified in the plan. The difference between the measured body position angle and the specified body position angle, To allow for postural deviation scale, For the steepness coefficient of the logic function, The signal-to-noise ratio is the estimated power ratio before and after filtering. The signal-to-noise ratio is at half the point. To measure the electrode contact impedance, This is the upper limit of the contact resistance. The contact impedance attenuation scale To take the positive part of the function, This refers to two repeated measurements taken in the same instance. The acceptable repeatability difference for the current mode; Calculate single-mode confidence With global measurement confidence : ; ; In the formula, This is the set of valid modes for the day. For effective modal indexing, For modal importance weights; Constructing gated decision : ; In the formula, The low confidence threshold For high confidence threshold, This is a retest command. To enter the calculation and reduce the overall weighting instruction, To allow entry into the calculation and to enable baseline updates; S1 includes S1.3, defining the stable period sample set. : ; In the formula, This is an incident involving no medication adjustment. No acute events were reported. For date indexing, Baseline establishment deadline The length of the stable period observation; Constructing baselines and fluctuation bands: ; ; In the formula, For the first Individual baseline for each modality, For the first Modal natural wave band, The coefficient of consistency from MAD to standard deviation. For the first The modality's daily feature vector, The median; Only during non-event periods, an index-weighted daily update is used: ; ; In the formula, For the first The physiological modality in the first Individual baseline values ​​updated daily. For indicator functions, Based on the learning rate, To achieve daily adaptive learning rate, The date of the most recent increase in diuretic intensity. The momentum deteriorated due to the previous day's capacity deterioration. To observe the low threshold boundary of capacity-deteriorating momentum, For individual diuretic response delay; by As a divisor, the degree of standardization of deviation from the individual baseline is calculated for each modality. The Theil-Sen robust slope estimation is used to calculate the rate of rise of pulmonary artery pressure within the sliding window, normalized by the individual fluctuation band, and the duration is calculated using double-threshold hysteresis run counting. The normalized rate of rise is output. and normalized duration .

[0007] S1 includes S1.4, and constructing a multimodal consistency evaluation that combines directional sign consistency rate and rank correlation. : ; ; ; ; In the formula, This represents the ratio of symbolic terms to rank-related terms. For direction sign consistency rate, For rank-related consistency, For the first day Individualized standardized deviation of each modality This is the entry threshold in hysteresis comparisons. For a set of pairwise modal pairings, The Spearman rank correlation coefficient. For pairing sets A specific pair of modes in the, For the first The standardized deviation sequence of each mode within the sliding time window For the first The standardized deviation sequence of each mode within the sliding time window The length of the sliding time window. To the window's first The difference in rank between the two modal sequences at each sorting position. Sliding time window The actual number of valid sample days within the period; S1 includes S1.5, which involves performing a consistency gain-weighted linear fusion of the deviation magnitude, rise rate, duration, and multimodal deviation to obtain the fused intrinsic quantity. : ; In the formula, , , , , , Assigning weights to each component. This is the consistency gain coefficient. This represents the individualized standardized deviation of the mean pulmonary artery pressure for the day. This represents the individualized standardized deviation from the body weight upon waking that day. This represents the individualized standardized deviation of the base impedance for that day. This represents the individualized standardized deviation of the BCG nocturnal cardiopulmonary composite index for the day. Introducing the logical function formula: ; In the formula, It is the independent variable of the logical function; The fused internal quantities are compressed to [the specified value] using a logic function. Bounded interval, obtain capacity deterioration momentum : ; In the formula, The momentum half-point, For the scale parameter of the logic function; Weight Labeled by historical failure to compensate events Offline calibration of regular logistic regression: ; In the formula, Weight vector The optimal estimate, ; The total number of historical training samples. For the first A true label for a historical sample For the first The fusion content of historical samples for Regularization coefficient; Hierarchical output: ; In the formula, For capacity deterioration momentum Hierarchical output function, For observation, To trigger window calculation, To access the window for calculations and to upgrade the security review level, The high threshold observation boundary for capacity deterioration momentum. S1 includes S1.6, constructing reversible causative factor correction factors. : ; In the formula, This represents the total number of reversible cause categories monitored by the system. for index, ; For the first Weighting coefficients of reversible causes For the first Reversible precipitants in the first The marker position of the day; Set branch decision, when and At that time, the inducing factor was corrected and a retest was conducted 24 hours later. The threshold for triggering a branch is set as the inducing factor; otherwise, calculations are performed within the window.

[0008] S2 includes S2.1, recording the equivalent dose and adjustment time of each historical diuretic adjustment, and extracting the physiological data of each modality within a specified time before and after the adjustment according to the adjustment time; Based on the physiological data from each modality, the overall response quantity after each adjustment relative to the initial adjustment was calculated. ; Fitting with a first-order inertial plus pure time delay model Individual diuretic response delay was obtained. With steady-state response amplitude ; Each steady-state response amplitude and its corresponding adjustment amplitude are paired to form individual saturation parameters. The individual diuretic response coefficient is then updated using a recursive least squares method with a forgetting factor. The updated individual diuretic response coefficients are shrunk to the population prior values ​​using Bayesian shrinkage estimation, and the shrunk response coefficients are output. and confidence level ; S2 includes S2.2, constructing an automatic up-adjustment latch and exception branch based on individual time delay: ; ; In the formula, For the first The automatic adjustment of the lockout indicator on the daytime This refers to the implementation date of the most recent diuretic dosage increase. To lock in a safety margin, Remaining lock time; Action constraints during the lockout period include, when Automatic upgrades are prohibited; the current level must be maintained. Automatic adjustments and outputs should be switched to manual evaluation; when... And triggering safety-side conditions allows for downgrading or pausing; when Then proceed to the normal window for calculation.

[0009] S2 includes, S2.3, and administration after drug delivery. Enter the retest phase and calculate the predicted value, actual value, and relative deviation: ; ; ; In the formula, For the first Predicted response value calculated based on a saturation-type dose-response model after the first dose. This represents the maximum response value of the drug effect. This is the adjusted equivalent dose value for the currently administered medication. Let be the dissociation constant. For the first At the retest time point after the second dose The actual observed response value at the location, For the actual response observation function, To verify the delay time, For the first Relative deviation after the first dose To prevent division by zero; Logarithmic field update: ; In the formula, For the first Individual diuretic response coefficient at the time of first administration. To update the step size coefficients in the logarithmic field, For quality factor, To update the gain coefficient, For the amplitude limiting function, This is the deviation limiting threshold; The limit for updating the logarithm field is: ; In the formula, For the first Updated response control parameters at the time of the first dose. This represents the lower limit of the individual diuretic response coefficient parameter in the logarithmic domain. This represents the upper limit of the individual diuretic response coefficient parameter in the logarithmic domain; The latency tracking for logarithmic field updates is as follows: ; In the formula, For delay tracking, This refers to the actual observed response delay; Constructing highly sensitive markers: ; In the formula, For the first High sensitivity markers after the first dose The high-sensitivity decision threshold coefficient, The systolic blood pressure value was measured before drug administration. This refers to the actual systolic blood pressure value measured after drug administration. The threshold for systolic blood pressure change; The cumulative negative deviation is detected using a weighted cumulative sum: ; ; In the formula, This is the cumulative amount of negative deviation. To allow drift, As a marker of diuretic resistance, For the detection threshold, This represents the cumulative increase in the equivalent dose recently. The upper limit is configurable. This is the minimum effective response.

[0010] S3 includes, S3.1, constructing multi-flag logic interlocking access control: ; In the formula, Calculate admission criteria for the automatic window; like Retest, maintain observation, lock in and wait. Any of the following operations: transfer to manual intervention or first correct the cause and then retest; like Proceed to step S3.2; S3 includes S3.2, calculating six types of safety margins and laboratory timeliness factors. The six types of safety margins include the blood pressure safety margin. Kidney function safety margin Blood potassium safety margin Blood sodium safety margin Symptom safety margin Residual memory of past adverse reactions ; S3 includes S3.3, which uses power average to achieve soft minimum aggregation: ; ; In the formula, To ensure diuretic safety reserves, For the first Safety margin For safety margin category index, For the first The weight of the safety margin For the strength parameters of the short plate; For any safety margin, the current value is less than or equal to the preset safety margin critical threshold. , Forced zeroing disables automatic distribution and forces manual processing.

[0011] S3 includes S3.4, the target response quantity derived from capacity-deteriorated momentum inversion. : ; In the formula, The calibration coefficient for the target response quantity. To allow for deviation tolerance; The required dose increment is determined by inversely solving the individual saturation dose response model. : ; when The time stamp is marked as unreachable; Confidence inflation of individual saturation dose response models for: ; In the formula, The confidence level inflation factor; S3 includes S3.5, which is the maximum safety adjustment amount composed of the smallest of the safety reserve, single-increment baseline, total dose limit, and rolling window cumulative rate limit. : ; In the formula, The maximum allowable increment benchmark for a single transaction. The power law exponent is of , For high sensitivity tightening ratio, For confidence level floor, This is the upper limit of the total equivalent dose. The cumulative upper limit within the scrolling window is increased.

[0012] S3 includes S3.6, determining the intersection of intervals: ; ; In the formula, For the first The dynamic diuretic window over an assessment period. For the first The three-state determination results for each evaluation cycle For the purpose of no intervention, To ensure a safe and effective window, For treatment needs; S3 includes S3.7, and the dispensable units of the device's medicine container constitute a finite discrete set: ; In the formula, For the first The equivalent dose increment corresponding to the pre-loaded drug unit; Select the desired level on the discrete-level grating. and minimum level : ; If the rank subset that meets the conditions is an empty set, ; S3 includes, S3.8, when , or Time mismatch flag : ; Cause coding for: ; ; In the formula, Diuretic resistance or unattainable response Due to insufficient data timeliness, The device level cannot be covered. The symbol for the empty set. This is the lower limit of the time factor for laboratory testing; handover message content for: ; S3 includes S3.9, and independent, secure microcontrollers operating rule-based hard-limit functions without learning components. The absolute upper limit is calculated solely based on currently measured vital signs. : ; Combined with the Equivalent dose increment corresponding to the pre-loaded drug unit Calculate the final dose : ; like Then record the inconsistency event and downgrade to The corresponding level; if no corresponding level exists, output the following: .

[0013] S3 includes S3.10, constructing instruction encapsulation with time windows and acknowledgment requirements. : ; ; ; In the formula, The number of pre-installed units to be released. The equivalent dose for a single pre-loaded unit, To round up, To allow for the medication pickup time window, For the retest time, To require the drug detection sensor to send back an execution receipt; S3 includes S3.11, which triggers a reverse window calculation output reduction or pause command when the capacity has fallen and the safety margin has decreased. The triggering condition is: ; Lowering amount for: ; ; In the formula, For low momentum threshold, The safety reserve trigger threshold was lowered. The trigger threshold can be configurably lowered; This represents the maximum single downward adjustment. To lower the level, For the first The current equivalent intensity of the day.

[0014] A home-based volume sensing and dynamic diuretic window distribution system for heart failure, implementing a home-based volume sensing and dynamic diuretic window distribution method for heart failure, includes: a volume sensing terminal unit. Main control and algorithm execution unit Quantitative distribution execution unit Human-computer interaction and safety interlocking unit and communication and medical care terminal takeover unit ; It includes a pulmonary artery pressure reading module, a weight measurement module, a bioimpedance module, a blood pressure and heart rate module, a nocturnal cardiac impaction module, and a measurement context sensing module; Including analog front-end AFE, 24-bit The system consists of an ADC, a main algorithm processor, an independent security microcontroller, non-volatile memory, an RTC, and an independent watchdog. It performs global measurement confidence gating, capacity degradation momentum construction, individual diuretic response coefficient, response delay and saturation parameter learning, diuretic safety reserve bottleneck aggregation, dynamic diuretic window calculation and discrete level selection, and runs a regular hard limit function without learning components. include The unit consists of an independent pre-loaded medicine compartment, a stepper motor and reduction mechanism, a photoelectric encoder, an electrically controlled release gate, a medicine dropping photoelectric pair, a medicine dispensing box weighing bridge, a compartment door micro switch and mechanical interlock. It receives and executes commands to locate the target medicine compartment and release the medicine. The actual release amount is cross-verified by counting the medicine dropping photoelectric pair and weighing the medicine dispensing box. It includes a touch screen, voice prompt module, physical confirmation button, emergency stop button, three-color indicator light and buzzer, collects symptom items from structured questionnaires, displays measurement guidance, displays remaining lock time, outputs a prompt that a doctor needs to evaluate when mismatch occurs, and cuts off the enable signal of the U3 release mechanism at the hardware level through the emergency stop button; It includes a communication module, a security element, CRC and signature verification acceleration, uplink transmission of intermediate variables and handover messages, downlink reception of clinical parameter packets with signature verification, and acceptance of medical staff takeover instructions to lift the prohibition on distribution in mismatch state.

[0015] Compared with existing technologies, this invention has the following advantages: It upgrades the output from alarm levels to quantitatively executable discrete dosage levels, directly shortening the link from anomaly detection to intervention implementation; all judgments are based on the patient's individual baseline and historical medication response, replacing fixed thresholds for the population; through multiplicative gating of measurement reliability, response observation period locking, bottleneck safety reserves, discrete minimum effective level, dual-channel minimum arbitration, and multiple failure protections, a cascaded safety constraint is formed, making it structurally impossible for automatic dispensing to exceed the dosage limits due to measurement errors, model drift, or mechanical failures; simultaneously, it actively transfers decision-making power at the system capability boundary with a "treatment need-safety capability mismatch" state, accompanied by quantitative attribution; post-dose response feedback continuously corrects the individual model, making the device's judgments increasingly aligned with the patient's current state over time, achieving a complete closed loop of perception, decision-making, execution, and feedback. Attached Figure Description

[0016] Figure 1 This is a flowchart of the method of the present invention. Detailed Implementation

[0017] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention are described clearly and completely below. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0018] Methods for home-based volume sensing and dynamic diuretic window distribution in heart failure include: S1. Collect multimodal physiological signals, calculate global measurement reliability and gating; establish individual baselines and natural fluctuation bands and update them daily; calculate standardized deviation, normalized rise rate and normalized duration; construct multimodal consistency evaluation, weighted and fused deviation, rate and duration into volume deterioration momentum and output in stages; calculate reversible cause correction factor, prioritize cause correction and retest when momentum is in the middle range and cause is sufficient, otherwise enter window calculation; S2. Record historical diuretic adjustment events, fit individual diuretic response delay, saturation parameters and response coefficients, and output confidence level; construct an upregulation lockout based on individual delay, prohibiting upregulation during the lockout period, with exceptions for safe actions; retest feedback correction response coefficient and delay after drug administration, and output high sensitivity markers and diuretic resistance markers; S3. After interlock access is granted, six types of safety margins are calculated, and the shortest link is aggregated into a diuretic safety reserve. The minimum effective adjustment amount is derived from momentum inversion, and the maximum safety adjustment amount is obtained by taking the smallest value from the safety reserve, single-use upper limit, total upper limit, and cumulative rate limit. The interval is judged in three states, and the smallest discrete level is selected. When there is mismatch, reserve reaches zero, or resistance, manual intervention is initiated and attribution is generated. The smallest value is taken as the final execution amount through hard limit arbitration. Execution instructions and retest scheduling are generated. When the capacity drops and the safety decreases, the downward adjustment amount and level are output in reverse. The execution instruction triggers the quantitative distribution execution unit to release the pre-loaded drug unit of the corresponding level and transmits the drug retrieval verification result back.

[0019] S1 includes, S1.1, the system acquires pulmonary artery pressure signals. ,weight Blood pressure cuff Heart rate Dual-frequency bioimpedance Nocturnal cardiac impaction signal After bandpass filtering, power frequency suppression, and feature extraction, the feature vector for the day is obtained. : ; In the formula, The mean pulmonary artery pressure for the day. Weight upon waking up in the morning. Based on the fundamental impedance, For systolic pressure, For diastolic blood pressure, Heart rate, The BCG nocturnal cardiopulmonary composite index; S1 includes S1.2, which calculates five sub-factors for each data collection, including time compliance. Posture compliance Signal-to-noise ratio quality Contact impedance quality Repeatability : ; ; ; ; ; In the formula, The actual measurement time. The measurement time is specified in the plan. The difference between the measured body position angle and the specified body position angle, To allow for postural deviation scale, For the steepness coefficient of the logic function, The signal-to-noise ratio is the estimated power ratio before and after filtering. The signal-to-noise ratio is at half the point. To measure the electrode contact impedance, This is the upper limit of the contact resistance. The contact impedance attenuation scale To take the positive part of the function, This refers to two repeated measurements taken in the same instance. The acceptable repeatability difference for the current mode; Calculate single-mode confidence With global measurement confidence : ; ; In the formula, This is the set of valid modes for the day. For effective modal indexing, For modal importance weights; Constructing gated decision : ; In the formula, The low confidence threshold For high confidence threshold, This is a retest command. To enter the calculation and reduce the overall weighting instruction, To allow entry into the calculation and to enable baseline updates; S1 includes S1.3, defining the stable period sample set. : ; In the formula, This is an incident involving no medication adjustment. No acute events were reported. For date indexing, Baseline establishment deadline The length of the stable period observation; Constructing baselines and fluctuation bands: ; ; In the formula, For the first Individual baseline for each modality, For the first Modal natural wave band, The coefficient of consistency from MAD to standard deviation. For the first The modality's daily feature vector, The median; Only during non-event periods, an index-weighted daily update is used: ; ; In the formula, For the first The physiological modality in the first Individual baseline values ​​updated daily. For indicator functions, Based on the learning rate, To achieve daily adaptive learning rate, The date of the most recent increase in diuretic intensity. The momentum deteriorated due to the previous day's capacity deterioration. To observe the low threshold boundary of capacity-deteriorating momentum, For individual diuretic response delay; by As a divisor, the degree of standardization of deviation from the individual baseline is calculated for each modality. The Theil-Sen robust slope estimation is used to calculate the rate of rise of pulmonary artery pressure within the sliding window, normalized by the individual fluctuation band, and the duration is calculated using double-threshold hysteresis run counting. The normalized rate of rise is output. and normalized duration .

[0020] S1 includes S1.4, and constructing a multimodal consistency evaluation that combines directional sign consistency rate and rank correlation. : ; ; ; ; In the formula, This represents the ratio of symbolic terms to rank-related terms. For direction sign consistency rate, For rank-related consistency, For the first day Individualized standardized deviation of each modality This is the entry threshold in hysteresis comparisons. For a set of pairwise modal pairings, The Spearman rank correlation coefficient. For pairing sets A specific pair of modes in the, For the first The standardized deviation sequence of each mode within the sliding time window For the first The standardized deviation sequence of each mode within the sliding time window The length of the sliding time window. To the window's first The difference in rank between the two modal sequences at each sorting position. Sliding time window The actual number of valid sample days within the period; S1 includes S1.5, which involves performing a consistency gain-weighted linear fusion of the deviation magnitude, rise rate, duration, and multimodal deviation to obtain the fused intrinsic quantity. : ; In the formula, , , , , , Assigning weights to each component. This is the consistency gain coefficient. This represents the individualized standardized deviation of the mean pulmonary artery pressure for the day. This represents the individualized standardized deviation from the body weight upon waking that day. This represents the individualized standardized deviation of the base impedance for that day. This represents the individualized standardized deviation of the BCG nocturnal cardiopulmonary composite index for the day. Introducing the logical function formula: ; In the formula, It is the independent variable of the logical function; The fused internal quantities are compressed to [the specified value] using a logic function. Bounded interval, obtain capacity deterioration momentum : ; In the formula, The momentum half-point, For the scale parameter of the logic function; Weight Labeled by historical failure to compensate events Offline calibration of regular logistic regression: ; In the formula, Weight vector The optimal estimate, ; The total number of historical training samples. For the first A true label for a historical sample For the first The fusion content of historical samples for Regularization coefficient; Hierarchical output: ; In the formula, For capacity deterioration momentum Hierarchical output function, For observation, To trigger window calculation, To access the window for calculations and to upgrade the security review level, The high threshold observation boundary for capacity deterioration momentum. S1 includes S1.6, constructing reversible causative factor correction factors. : ; In the formula, This represents the total number of reversible cause categories monitored by the system. for index, ; For the first Weighting coefficients of reversible causes For the first Reversible precipitants in the first The marker position of the day; Set branch decision, when and At that time, the inducing factor was corrected and a retest was conducted 24 hours later. The threshold for triggering a branch is set as the inducing factor; otherwise, calculations are performed within the window.

[0021] S2 includes S2.1, recording the equivalent dose and adjustment time of each historical diuretic adjustment, and extracting the physiological data of each modality within a specified time before and after the adjustment according to the adjustment time; Based on the physiological data from each modality, the overall response quantity after each adjustment relative to the initial adjustment was calculated. ; Fitting with a first-order inertial plus pure time delay model Individual diuretic response delay was obtained. With steady-state response amplitude ; Each steady-state response amplitude and its corresponding adjustment amplitude are paired to form individual saturation parameters. The individual diuretic response coefficient is then updated using a recursive least squares method with a forgetting factor. The updated individual diuretic response coefficients are shrunk to the population prior values ​​using Bayesian shrinkage estimation, and the shrunk response coefficients are output. and confidence level ; S2 includes S2.2, constructing an automatic up-adjustment latch and exception branch based on individual time delay: ; ; In the formula, For the first The automatic adjustment of the lockout indicator on the daytime This refers to the implementation date of the most recent diuretic dosage increase. To lock in a safety margin, Remaining lock time; Action constraints during the lockout period include, when Automatic upgrades are prohibited; the current level must be maintained. Automatic adjustments and outputs should be switched to manual evaluation; when... And triggering safety-side conditions allows for downgrading or pausing; when Then proceed to the normal window for calculation.

[0022] S2 includes, S2.3, and administration after drug delivery. Enter the retest phase and calculate the predicted value, actual value, and relative deviation: ; ; ; In the formula, For the first Predicted response value calculated based on a saturation-type dose-response model after the first dose. This represents the maximum response value of the drug effect. This is the adjusted equivalent dose value for the currently administered medication. Let be the dissociation constant. For the first At the retest time point after the second dose The actual observed response value at the location, For the actual response observation function, To verify the delay time, For the first Relative deviation after the first dose To prevent division by zero; Logarithmic field update: ; In the formula, For the first Individual diuretic response coefficient at the time of first administration. To update the step size coefficients in the logarithmic field, For quality factor, To update the gain coefficient, For the amplitude limiting function, This is the deviation limiting threshold; The limit for updating the logarithm field is: ; In the formula, For the first Updated response control parameters at the time of the first dose. This represents the lower limit of the individual diuretic response coefficient parameter in the logarithmic domain. This represents the upper limit of the individual diuretic response coefficient parameter in the logarithmic domain; The latency tracking for logarithmic field updates is as follows: ; In the formula, For delay tracking, This refers to the actual observed response delay; Constructing highly sensitive markers: ; In the formula, For the first High sensitivity markers after the first dose The high-sensitivity decision threshold coefficient, The systolic blood pressure value was measured before drug administration. This refers to the actual systolic blood pressure value measured after drug administration. The threshold for systolic blood pressure change; The cumulative negative deviation is detected using a weighted cumulative sum: ; ; In the formula, This is the cumulative amount of negative deviation. To allow drift, As a marker of diuretic resistance, For the detection threshold, This represents the cumulative increase in the equivalent dose recently. The upper limit is configurable. This is the minimum effective response.

[0023] S3 includes, S3.1, constructing multi-flag logic interlocking access control: ; In the formula, Calculate admission criteria for the automatic window; like Retest, maintain observation, lock in and wait. Any of the following operations: transfer to manual intervention or first correct the cause and then retest; like Proceed to step S3.2; S3 includes S3.2, calculating six types of safety margins and laboratory timeliness factors. The six types of safety margins include the blood pressure safety margin. Kidney function safety margin Blood potassium safety margin Blood sodium safety margin Symptom safety margin Residual memory of past adverse reactions ; S3 includes S3.3, which uses power average to achieve soft minimum aggregation: ; ; In the formula, To ensure diuretic safety reserves, For the first Safety margin For safety margin category index, For the first The weight of the safety margin For the strength parameters of the short plate; For any safety margin, the current value is less than or equal to the preset safety margin critical threshold. , Forced zeroing disables automatic distribution and forces manual processing.

[0024] S3 includes S3.4, the target response quantity derived from capacity-deteriorated momentum inversion. : ; In the formula, The calibration coefficient for the target response quantity. To allow for deviation tolerance; The required dose increment is determined by inversely solving the individual saturation dose response model. : ; when The time stamp is marked as unreachable; Confidence inflation of individual saturation dose response models for: ; In the formula, The confidence level inflation factor; S3 includes S3.5, which is the maximum safety adjustment amount composed of the smallest of the safety reserve, single-increment baseline, total dose limit, and rolling window cumulative rate limit. : ; In the formula, The maximum allowable increment benchmark for a single transaction. The power law exponent is of , For high sensitivity tightening ratio, For confidence level floor, This is the upper limit of the total equivalent dose. The cumulative upper limit within the scrolling window is increased.

[0025] S3 includes S3.6, determining the intersection of intervals: ; ; In the formula, For the first The dynamic diuretic window over an assessment period. For the first The three-state determination results for each evaluation cycle For the purpose of no intervention, To ensure a safe and effective window, For treatment needs; S3 includes S3.7, and the dispensable units of the device's medicine container constitute a finite discrete set: ; In the formula, For the first The equivalent dose increment corresponding to the pre-loaded drug unit; Select the desired level on the discrete-level grating. and minimum level : ; If the rank subset that meets the conditions is an empty set, ; S3 includes, S3.8, when , or Time mismatch flag : ; Cause coding for: ; ; In the formula, Diuretic resistance or unattainable response Due to insufficient data timeliness, The device level cannot be covered. The symbol for the empty set. This is the lower limit of the time factor for laboratory testing; handover message content for: ; S3 includes S3.9, and independent, secure microcontrollers operating rule-based hard-limit functions without learning components. The absolute upper limit is calculated solely based on currently measured vital signs. : ; Combined with the Equivalent dose increment corresponding to the pre-loaded drug unit Calculate the final dose : ; like Then record the inconsistency event and downgrade to The corresponding level; if no corresponding level exists, output the following: .

[0026] S3 includes S3.10, constructing instruction encapsulation with time windows and acknowledgment requirements. : ; ; ; In the formula, The number of pre-installed units to be released. The equivalent dose for a single pre-loaded unit, To round up, To allow for the medication pickup time window, For the retest time, To require the drug detection sensor to send back an execution receipt; S3 includes S3.11, which triggers a reverse window calculation output reduction or pause command when the capacity has fallen and the safety margin has decreased. The triggering condition is: ; Lowering amount for: ; ; In the formula, For low momentum threshold, The safety reserve trigger threshold was lowered. The trigger threshold can be configurably lowered; This represents the maximum single downward adjustment. To lower the level, For the first The current equivalent intensity of the day.

[0027] A home-based volume sensing and dynamic diuretic window distribution system for heart failure, implementing a home-based volume sensing and dynamic diuretic window distribution method for heart failure, includes: a volume sensing terminal unit. Main control and algorithm execution unit Quantitative distribution execution unit Human-computer interaction and safety interlocking unit and communication and medical care terminal takeover unit ; It includes a pulmonary artery pressure reading module, a weight measurement module, a bioimpedance module, a blood pressure and heart rate module, a nocturnal cardiac impaction module, and a measurement context sensing module; Including analog front-end AFE, 24-bit The system consists of an ADC, a main algorithm processor, an independent security microcontroller, non-volatile memory, an RTC, and an independent watchdog. It performs global measurement confidence gating, capacity degradation momentum construction, individual diuretic response coefficient, response delay and saturation parameter learning, diuretic safety reserve bottleneck aggregation, dynamic diuretic window calculation and discrete level selection, and runs a regular hard limit function without learning components. include The unit consists of an independent pre-loaded medicine compartment, a stepper motor and reduction mechanism, a photoelectric encoder, an electrically controlled release gate, a medicine dropping photoelectric pair, a medicine dispensing box weighing bridge, a compartment door micro switch and mechanical interlock. It receives and executes commands to locate the target medicine compartment and release the medicine. The actual release amount is cross-verified by counting the medicine dropping photoelectric pair and weighing the medicine dispensing box. It includes a touch screen, voice prompt module, physical confirmation button, emergency stop button, three-color indicator light and buzzer, collects symptom items from structured questionnaires, displays measurement guidance, displays remaining lock time, outputs a prompt that a doctor needs to evaluate when mismatch occurs, and cuts off the enable signal of the U3 release mechanism at the hardware level through the emergency stop button; It includes a communication module, a security element, CRC and signature verification acceleration, uplink transmission of intermediate variables and handover messages, downlink reception of clinical parameter packets with signature verification, and acceptance of medical staff takeover instructions to lift the prohibition on distribution in mismatch state.

[0028] The following description, in conjunction with the accompanying drawings and embodiments, further illustrates the process of this invention. Figure 1 As shown, the process begins with daily scheduled data collection. The collected data first enters the reliability gating system. After passing the gating, it enters the capacity deterioration momentum calculation to assess the degree of deterioration and the rate of evolution of the current capacity status. Then, it enters the individual parameter learning and locking module, which uses historical drug adjustment response data to update individualized parameters and determine whether it is within the effective observation period. After locking, it enters the safety reserve and window calculation, which comprehensively considers multi-dimensional safety margins to determine the current acceptable adjustment limit and intersects with the demand side. If a window exists, it is distributed; if no window exists, it is transferred to manual processing and the attribution is output. After distribution, the retest is scheduled according to the individual response delay, and the actual response is fed back to the capacity deterioration momentum calculation stage to form a closed-loop correction.

[0029] Embodiment 1 of this invention mainly describes the method of this invention, which is specifically divided into three steps. The first step, within each acquisition cycle, starts from the original sensor signal, and proceeds through synchronization alignment, filtering, robust feature extraction, measurement reliability scoring, individual baseline modeling, standardized deviation calculation, velocity and persistence extraction, and multimodal consistency determination, ultimately outputting a continuous quantity, capacity degradation momentum. The device triggers a standardized data acquisition once a day at a fixed time window (such as a fixed period after emptying the bladder in the morning). The acquisition channels include: pulmonary artery pressure signal. (Implantable pulmonary artery pressure sensor readout; this channel is set to missing and weighted to zero when no implanted device is present), weight. Blood pressure cuff Heart rate Dual-frequency bioimpedance (excitation frequency) , Nocturnal cardiac impactor (BCG) signal (Continuous data collection during sleep).

[0030] Since the sampling rates and trigger times of each channel are different, resampling to a unified raster is required. : ; In the formula, Modal numbers correspond to pulmonary artery pressure, body weight, bioimpedance, blood pressure, heart rate, and BCG nocturnal cardiopulmonary indicators, respectively. : No. Each mode at the original sampling time Measured value (input); Unified time grid step size, daily-level decision taking For 1 day, intraday signal processing is taken ; Aligned modal sampling sequence (output); output summarized as the original records for the day. , This is the day sequence number.

[0031] Then, bandpass filtering and power frequency suppression are performed on the original signal, including the amplitude squared response of the Butterworth low-pass prototype and its IIR differential implementation as follows: ; ; Power frequency interference is addressed using a second-order notch filter. ; In the formula, Cutoff angular frequency; This device uses the BCG core impulse component. respiratory components Bioimpedance baseline drift high-pass pulmonary artery pressure waveform ; : Filter order, take ; The order of the difference equation; :Depend on , The coefficients determined by the bilinear transformation; : Power frequency normalized angular frequency ( ); : Pole radius, take The input determines the notch bandwidth; for Output For denoised signals .

[0032] Calculate RMS, median, median absolute difference (MAD), heart rate variability RMSSD, and pleural fluid index: ; ; ; ; BCG nighttime cardiopulmonary composite index is synthesized by weighted summation of three sub-features: ; In the formula, : Denoising signal; : Number of samples within the statistical window (BCG takes the effective sleep segments of the whole night); : The cardiac interval obtained from the peak interval of the BCGJ wave, in milliseconds (ms); Reflects nocturnal autonomic nervous system tone; The amplitude of the voltage and excitation current measured by impedance; Based on impedance ( ), The pleural fluid index (PFI) When the liquid increases decline, rise; J-wave amplitude RMS (myocardial contractility proxy); Nighttime respiratory rate; Nighttime body movement index (reflects the number of postural changes caused by sitting breathing and nighttime awakenings due to shortness of breath); Preset weights; Feature vector for the day: ; in The mean pulmonary artery pressure for the day is the median value within the acquisition window. Weight upon waking up in the morning. .

[0033] The system calculates five sub-factors for each data collection: ; ; ; ; ; The single-modal confidence level and the global measurement confidence level are: ; ; Gating decision: ; In the formula, The actual measurement time differs from the time specified in the plan; Allowable time deviation scale (e.g., 30 minutes) – to resolve circadian rhythm artifacts caused by “measured yesterday morning, measured today evening”; The difference between the body position angle calculated by the triaxial accelerometer of the acquisition terminal and the specified body position (such as sitting with back against the ground, both feet on the ground); Permissible postural deviation scale—pulmonary artery pressure is extremely sensitive to postural height difference, and this item directly inhibits postural pseudo-elevation; Signal-to-noise ratio estimated from the power ratio before and after filtering; Steepness coefficient; : half point; Measured electrode contact impedance Upper limit of contact resistance , Attenuation Scale – Solving Problems Caused by Poor Contact of Impedance Electrodes False elevation; : Two repeated measurements within the same data collection session; This modality is acceptable for repeatability differences (e.g., body weight 0.2kg, SBP 8mmHg). Modal importance weight (highest for pulmonary artery pressure); missing modalities are weighted accordingly. And remove it from the multiplication.

[0034] The stable period sample set is defined as: ; Baseline and fluctuation bands: ; ; Daily adaptive updates (only performed during non-event periods): ; ; In the formula, : Length of observation period in the stable phase, taken sky; Baseline establishment deadline; : Patient No. Individual baseline of modality; Individual natural fluctuation zone The coefficient of consistency from MAD to standard deviation; Base learning rate (0.02 to 0.05); Low-quality days will automatically reduce the update frequency. Updates are only allowed when the previous day's capacity deteriorates and momentum falls below the observation threshold. Date since the last medication dispensing Exceeding individual response time Only then can updates be allowed, to avoid mistaking a decrease in drug efficacy for a "new stable state".

[0035] Robust z-transformation for individual fluctuation bands: ; Specifically, this can be broken down into four capacity-related deviations: ; In the formula, The directional coefficient ensures that an increase in the numerical value of each mode uniformly represents increased congestion. Bioimpedance decreases during fluid retention, therefore... ,Right now Take the baseline minus the current value; : Prevent division by zero; finally obtain the dimensionless deviation vector. .

[0036] A robust extraction of the rate of ascent and duration is performed. Rate of ascent: ; ; Duration (longest consecutive run with lag): ; ; In the formula, Sliding window (Use the daily mean pulmonary artery pressure sequence within 5-7 days; Theil–Sen takes the median of the slope of all points, with a breakdown point of about 29%, meaning that nearly 30% of the outlier days within the window do not affect the slope; Normalized rate of ascent (how many individual standard deviations the rate of ascent per window, dimensionless, output); : Entry / exit hysteresis threshold (e.g., 1.0 and 0.6). Reference duration (e.g., 5 days); Normalized duration (output); can be computed in parallel using the same method. For use in consistency determination.

[0037] Perform multimodal consistency factor The calculation of the multimodal consistency evaluation jointly performed by the direction sign consistency rate and rank correlation is as follows: ; ; ; ; Always : The set of valid modalities for the day (missing modalities are not included in the denominator to ensure that low-configuration modes without implanted devices are also available); : Indicator function, which takes the value 1 when the deviation of this mode exceeds the entry threshold; : A set of pairwise modal pairs, such as , , ; Spearman rank correlation; : Two sequences The difference in the order of heaven; : Number of days inside the window; : The ratio of symbolic terms to rank-dependent terms (taken as 0.6).

[0038] Capacity deterioration momentum Fusion calculation and weight calibration, fusion intrinsic quantity: ; Capacity deteriorates momentum: ; ; Weight Labeled by historical failure to compensate events Regular logistic regression can be calibrated offline, and fine-tuned online once sufficient individual data is available. ; Hierarchical output: ; In the formula, Standardized deviation; Normalized speed and duration; Consistency factor; : Measurement reliability; The weights of each component satisfy the following conditions: The above formula defines the pulmonary artery pressure-related terms ( (Usually the largest) : Consistency gain coefficient (taken as 0.3~0.5), amplifies momentum when multiple modes are in the same direction, but does not amplify momentum when a single mode rises in isolation; Momentum half-point; : Logical function scaling parameter, controlling The steepness of the transition from 0 to 1; Historical sample label (whether a decompensated event requiring intravenous diuresis occurred within the specified number of days thereafter); Number of training samples; Regularization coefficient, used to suppress overfitting; : Grading threshold, which serves as a configurable clinical protocol parameter for physicians or institutions.

[0039] Perform reversible causative factor correction The branch output includes a weighted score for adverse causes and a "correct the cause first, then adjust the medication" branch determination (method of this invention). ; Branch decision: ; In the formula, High salt intake over the past 3 days; Missing a dose of diuretics or other heart failure medication; Fever or signs of infection; Added drugs that can affect kidney function / water and sodium levels (such as nonsteroidal anti-inflammatory drugs); Water intake increased significantly; Activity levels decreased sharply; all items were automatically set by the structured questionnaire and medication adherence record (returned by the medication detection sensor) at the device end; : Incentive weight; Branch threshold (e.g., 0.4).

[0040] The second step involves analyzing the individual diuretic response coefficient (DRC) and response delay based on previous medication-response events. Online learning and prediction bias feedback correction. First, multiple diuretics are adjusted to equivalent units. Normalization: ; ; In the formula, : No. The actual daily dosage (mg) of the diuretic is transmitted by the multi-warehouse distribution and medication verification sensor, and is not the doctor's prescription value but the actual dosage taken. The conversion factor of this drug relative to the reference drug (40 mg of oral furosemide is counted as 1 equivalent unit) is a configurable parameter of the device and is preset by the clinical protocol. For example, torasemide and bumetanide each have their own conversion factors. ; Sequential blocking synergistic modifiers when used in combination with non-loop diuretics such as thiazides, acetazolamide, and SGLT2 inhibitors ( (Configurable) For indicator functions; Number of types of loop diuretics and non-loop diuretics in use; : No. The time before and after the adjustment.

[0041] Medication adjustment - response event Structured slices and validity weighting, the event structure is defined as follows: ; Pre-event stability value and event validity weight: ; ; In the formula, Event observation window length, taken as 7 days (covering the main occurrence interval of pressure response after loop diuresis adjustment); : Hours from the adjustment time Sample taken at point h; Before the incident (Take the median of each modality over 3 days) as the baseline for calculating the response to this event; Mean confidence level of measurements within the event window; : No. Whether confounding events occurred, including second medication administration within the window, hospitalization or intravenous diuresis, infection and fever, new medications affecting renal function, large-volume infusions, and serious missed doses; : The corresponding reduction factor, when it is 1, means that the event is completely eliminated; Event validity weight (output) The event will not be included in the learning process.

[0042] Perform multi-parameter response The synthesis includes multimodal response synthesis normalized to individual fluctuation bands: ; In the formula, : Adjusted Hourly mean pulmonary artery pressure, body weight, and baseline impedance; Baseline value before the event; Individual natural fluctuation bands, used for dimensionless transformation; Modal weights, with the pulmonary artery pressure term having the highest weight (e.g., The low-spec mode without implanted devices makes... And renormalize the remaining weights; the symbol convention makes decongestion effective when... The decrease in pressure, weight loss, and increase in resistance all contributed positively.

[0043] Individual diuretic response delay The identification includes nonlinear least squares identification of the first-order inertial plus pure time delay (FOPDT) model: ; ; Time-weighted fusion of individual delays: ; ; In the formula, The final achievable response range (steady-state response) of this adjustment. Pure delay, i.e., the time (h) from the adjustment to the start of the response; Time constant, which reflects the speed of response; Unit step function; Sampling point weights: Sampling points with low reliability are weighted less. The forgetting time constant (taken as 60-90 days) allows the weight of events from several months ago to decay naturally. Event validity weight.

[0044] Perform response coefficient estimation and dose saturation correction for a single event, including constructing the response coefficient estimate and dose saturation correction for a single event: ; Direct estimation of a single event (used when the sample size is small): ; In the formula, The maximum range of response this patient can achieve (reflecting the diuretic "ceiling"); The equivalent dose increment required to achieve the half-maximal response (reflecting the threshold level, i.e., the degree of diuretic resistance); both are determined by multiple events. The weights were obtained by weighted nonlinear least squares fitting, with the weights set to... ; : No. The individual diuretic response coefficient corresponding to this event has the physical meaning of "how many individual standard deviations the comprehensive volume index can be improved by one equivalent unit of diuretic intensity".

[0045] conduct The time-weighted recursive update uses recursive least squares with a forgetting factor: ; ; ; In the formula, The covariance scalar (estimated uncertainty) decreases as the sample size increases. The forgetting factor (range 0.90–0.98) causes a greater weight for recent events and a decrease in the weight of distant events, thereby... Updated continuously as the disease progresses, renal function changes, and drug tolerance develops; Event validity weights are automatically updated slightly for contaminated events. The new information term is the difference between the actual response and the prediction of the old model.

[0046] Prior contraction and confidence level output are performed for cold start, and Bayesian contraction estimation is used (this invention is used for security degradation when there are no historical events): ; ; ; In the formula, Prior response coefficients of the population serve as configurable clinical protocol parameters for physicians or institutions. Prior equivalent sample size (3-5) to control shrinkage intensity; The effective sample size for an individual is determined by both the validity of the event and time decay. : Confidence level (output) At lower levels, narrow the window in a more conservative manner (to improve) Safety margin, pressure reduction ); Lock the flag during the response observation period. This includes employing automatic up-adjustment latching and exception branching based on individual time delays: ; ; Action constraints during the lock-up period: ; In the formula, The most recent time the diuretic intensity was increased; Individual response delay; Safety margin (6-12 hours); : Remaining lock-in time (output, also used by the device to display to the patient "This adjustment is still in the observation period, X hours remaining"); : Capacity deterioration momentum and high momentum threshold; Calculate the deviation between the predicted response and the actual response. , Feedback correction, after administration Enter the retest phase and calculate the predicted value, actual value, and relative deviation: ; ; ; Update law (for logarithmic fields, guaranteeing) (And the update range is bounded). ; ; ; Highly sensitive markers: ; In the formula, : Verification window after time delay (12-24 hours); : Preventing division by zero; : Relative prediction bias (output). This indicates that the actual pressure reduction was weaker than expected, suggesting... Overrated; This indicates that the actual response was stronger than expected; Learning gain (0.15 to 0.3); : The reliability of the measurement at the time of verification; Weight of the validity of this event; Limiting function Set the value to 1.0 to prevent model jumps caused by a single abnormal measurement; : The physiologically reasonable upper and lower bounds are used as configurable clinical parameters; The actual onset time observed in this study; Delay tracking gain (take 0.2 to 0.4); Over-response judgment margin (taken as 0.5); Configurable upper limit for systolic blood pressure drop; High-sensitivity indicator (output) for tightening. .

[0047] The continuity assessment and escalation of diuretic resistance were performed manually, including the weighted cumulative sum (CUSUM) test of the biased sequences: ; ; In the formula, The cumulative negative deviation only increases when the actual response is consistently weaker than the forecast. Allow drift (suppresses the accumulation of random fluctuations); Detection threshold; The cumulative increase in equivalent dosage recently; Configurable upper limit and minimum effective response; : Diuretic resistance marker (output). Once set, subsequent output will no longer be automatically increased, and a manual assessment will be given directly (indicating the need to assess sequential nephron block, intravenous administration, or other causes).

[0048] The third step is the dynamic diuretic window under the constraint of the diuretic safety reserve and DSR (diuretic risk factor) shortness. Solving for the minimum effective discrete level mapping and determining the "treatment need - safety capability mismatch". First, perform pre-gating aggregation and automatic distribution of access decisions, including multi-flag logic interlocking access: ; ; In the formula, Measurement reliability and retest threshold; Capacity deterioration momentum and grading threshold; : Response observation period lockout flag; Diuretic resistance marker; Reversible inducing factors and branch thresholds; Automatic window calculation of admission criteria (output). Only when Only then did it enter , , The calculation.

[0049] Calculate the safety margin for six types of quantum functions, including the blood pressure safety margin (considering both the level and the recent rate of decline): ; Renal function safety margin (level combined with rate of increase of creatinine): ; Safety margin for serum potassium (two-sided window function; both excessively low and excessively high levels reduce the margin): ; Safety margin for serum sodium (two-sided window function; both excessively low and excessively high levels reduce the margin): ; Symptom safety margin: ; Residual memory of past adverse reactions: ; Laboratory data timeliness factor: ; In the formula, : The systolic blood pressure on the current day and its slope over the past 3 days. Since the positive value is taken, only the value that is "decreasing" is reduced; : Automatic distribution absolute lower limit, Unrestricted reference values. : descent rate scale; Recent estimates of glomerular filtration rate and creatinine rate of increase; : Corresponding boundary and scale parameters; Serum potassium and serum sodium levels; Absolute safety boundary Unrestricted endpoints; dual-sided windows ensure that the residual decreases in both low and high potassium levels; Symptoms (dizziness, postural discomfort, worsening fatigue, presyncope symptoms, thirst, oliguria, etc.) are set by the structured questionnaire on the device. Symptom weighting; : No. Severity of previous adverse reactions (hypotension after dose increase, significant deterioration of renal function, significant electrolyte abnormalities); : the time of occurrence; : Memory decay constant (e.g., 30-60 days); The most recent test result; Laboratory time decay constant (e.g., 14 days); : Time factor; all boundary parameters ( (etc.) are not written as fixed medical values, but are instead set as preset configurable safety boundary parameters for doctors' or institutions' clinical plans.

[0050] Short-plate polymerization yields diuretic safety reserves : ; Hard interlock: ; In the formula, Six types of safety margins; Weights for each dimension (configurable); : Short plate strength parameters, take . The larger the value, the closer it is to the minimum, meaning the overall safety reserve is more determined by the most dangerous dimension; a soft minimum is used instead of a direct minimum. ,make Differentiable at every dimension and with continuous output, avoiding differences when two dimensions are close. A jump occurs; : A single-dimensional critical value (e.g., 0.05), which causes the entire value to return to zero when any dimension is reached.

[0051] Make the minimum effective adjustment The solution includes retrieving the target response required for this operation from the capacity deterioration momentum inversion: ; The required dose increment can be obtained by inversely solving the saturated dose-response model: ; Model confidence inflation (low confidence requires a larger margin): ; In the formula, : Capacity deterioration momentum ( ); : Standardized deviation of pulmonary artery pressure; Allowable deviation tolerance; Normalized duration; The calibration coefficient of the target response quantity, physically meaning "how many individual standard deviations the overall capacity index needs to improve to bring the current worsening event back within the individual baseline fluctuation range"; derived from historical successful intervention events (after intervention). Falling back to The following is calibrated using weighted least squares. Individual saturation parameters; This means that even if the dose is increased to infinity, the desired response cannot be achieved. This is marked as unreachable and directly triggers a mismatch determination. : Confidence level; Inflation coefficient (taken as 0.3–0.5); when individual events are extremely rare ( (Very low) When using a linear approximation, the degenerate form is: .

[0052] Perform maximum safety adjustment The solution involves safety reserve power-law scaling and multiple upper bound minimization: ; In the formula, : Maximum allowable increment (configurable, equivalent unit); Safety reserves; The power-law exponent (range 1.5 to 2) allows the increment to contract at a superlinear rate when the safety reserve decreases—that is, the closer to the safety boundary, the faster the contraction. Highly sensitive markers; Tighten the ratio (e.g., 0.5). If the previous small dose caused a significant response or a significant drop in blood pressure, the upper limit for this dose will be halved. : Confidence level; Confidence floor (e.g., 0.4) to ensure cold start period It was suppressed but not zero; The patient's maximum total equivalent dose (configurable); : Current equivalent strength; Scroll window (e.g., cumulative upward adjustment within 7 days); : Maximum cumulative limit within the window; Take the positive part; if any term is negative, then... .

[0053] Dynamic diuresis window Construction and three-state determination: ; ; In the formula, This is a set of discrete dose levels pre-set for the device.

[0054] By performing the lowest effective discrete level mapping, the dispensable units of the device's drug container constitute a finite discrete set: ; Selecting rules: ; ; In the formula, : No. The equivalent dose increment corresponding to the pre-filled drug unit (determined by the loading configuration of the multi-compartment pre-filled drug cartridge, such as...) EU); The execution level (output) for this operation is to send the power control release mechanism.

[0055] Mismatch state The determination, cause coding, and structured conversion to manual output include multi-path mismatch attribution and structured handover: ; The cause code is uniquely determined by the boundary crossing situation of each branch: ; ; Handover message content: ; In the formula, This is the lower limit of the time factor for laboratory testing. , , The message is sent to the medical staff via the communication module, while the device is set to "Disable automatic distribution".

[0056] Perform safety interlocking and dual-channel consistency verification: ; ; like Then record the inconsistency event and downgrade to The corresponding level; if no corresponding level exists, output the following: ; In the formula, A rule-based hard limit function (lookup table type, independent of the main algorithm) implemented completely independently of the main algorithm. , , (e.g., learning variables), with an absolute upper limit given only by current vital signs, test values, and current dose; : Final dose (output).

[0057] Execution instruction generation and retesting scheduling, including instruction encapsulation with time windows and acknowledgment requirements: ; ; ; In the formula, Number of pre-installed units to be released; Equivalent dose of a single pre-loaded unit; Round up (subject to) Secondary verification; if the integer value exceeds... (Then it will be downgraded by one level). : Allowed time window for medication collection (if medication is not collected within the time window, it will be invalidated and a missed dose will be recorded, and the actual dosage will be recorded). The retest time is determined by the individual response delay. With verification window Sure; The drug detection sensor is required to send back an execution receipt.

[0058] Set up branch reduction and pause (safe actions are not restricted by lockout), triggered as follows: ; Downgraded to: ; ; In the formula, Low momentum threshold; : The trigger threshold can be adjusted downwards; Maximum single downward adjustment; : Lower the level (output).

[0059] Embodiment 2 of this invention mainly describes the system composition. The system is a home-use desktop medical electronic device with an embedded main controller as its core, an external capacity sensing terminal, a built-in multi-compartment pre-filled medicine tank and an electrically controlled release mechanism, and a medicine dispensing verification and medical staff access control channel. The system consists of five units: ; Generate the original signal ; produce ; implement And send back the medication collection verification results; Collect symptom items And display the remaining lock time. ; exist Time upload reason code .

[0060] Capacity sensing terminal unit It includes a pulmonary artery pressure reading module, a weight measurement module, a bioimpedance module, a blood pressure and heart rate module, a nighttime cardiac impaction module, and a measurement context sensing module.

[0061] The pulmonary artery pressure readout module uses an external radio frequency readout coil to remotely measure the resonant frequency of an implanted passive LC pressure sensor. ; In the formula, For implant inductance (fixed); The capacitance changes linearly with pressure; The resonant frequency (input) obtained by scanning the readout coil is used. The pulmonary artery pressure (output, mmHg) is the median value after passing through the window. The hardware includes a swept-frequency excitation source (impedance analysis front end), coupling coils, envelope detector, and frequency meter. This module is the default when no implanted device is present. ,make The device enters low-configuration mode.

[0062] The weight measurement module uses four strain gauge load cells to form a Wheatstone full bridge. ; ; In the formula, This is the bridge excitation voltage; Bridge output (μV level); The strain gauge sensitivity coefficient; For strain in each arm; The nominal sensitivity of the whole machine (mV / V / kg); output Weight (kg), resolution kg, corresponding to The same weighing bridge in Zhongfu is used for quality differential verification in pharmaceutical warehouses.

[0063] The bioimpedance module features four-electrode constant current excitation and dual-frequency synchronous demodulation. ; ; In the formula, The excitation current of the constant current source ( mA, kHz kHz); To measure the voltage between electrodes; output Calculate the pleural fluid index; The electrode contact impedance (output) is used for calculation. The hardware includes an excitation source, an instrumentation amplifier, a synchronous demodulator, and an electrode detachment detection comparator.

[0064] The blood pressure and heart rate module integrates an oscillometric electronic blood pressure monitor mechanism: cuff inflation pump, proportional solenoid valve, pressure sensor, and pulse waveguide pathway, outputting... Used for calculation The device provides a two-step measurement process, one in supine position and one in upright position, and outputs... .

[0065] The nighttime cardiac impaction (BCG) module uses a mattress-type PVDF piezoelectric film + charge amplifier. ; In the formula, It is the piezoelectric constant; Mechanical force on the body surface; For feedback capacitor; The output voltage is extracted after bandpass and notch filtering. ,synthesis .

[0066] The measurement context sensing module (dedicated to quality gating in this invention) uses a triaxial accelerometer and a real-time clock. ; ; In the formula, These are the three-axis acceleration components; This is the measured body position angle; Specify the body position angle for the scheme; output Used for calculation RTC provides Used for calculation .

[0067] Including analog front-end AFE, 24-bit The system includes an ADC, main algorithm processor, independent security microcontroller, non-volatile memory, RTC, and independent watchdog timer. ADC quantization relationships: ; ; In the formula, Number of digits; Reference voltage; To quantize the step size, the following must be satisfied: Less than 1 / 4 of the impedance and the minimum resolvable value of the bridge signal; The storage partitions and contents are shown in Table 1: Table 1 Storage Partitions and Contents ; Employing a dual-channel security architecture, the main algorithm processor runs algorithms incorporating online learning components and outputs... The independent safety microcontroller calculates based solely on currently measured vital signs and a rule-based hard limit table. The lesser of two options will be chosen through arbitration: .

[0068] include The unit includes an independent pre-loaded medicine compartment, a stepper motor and reduction mechanism, a photoelectric encoder, an electrically controlled release gate, a medicine dispensing photoelectric pair, a weighing bridge for the medicine dispensing box, and a micro switch and mechanical interlock for the compartment door. Positioning control is as follows: ; ; ; Distribution verification (execution-side verification of this invention): ; In the formula, This represents the total number of steps taken by the motor. For subdivision number, Minimum step angle; for ; The mass increment of the weighing bridge for the medicine box; For counting the falling drug photoelectric tubes; For quality tolerance; Distribute the verification pass flag (output, written to the audit log); Medication dispensing verification and compliance feedback, along with the door micro-switch and the zeroing of the medication dispenser's mass, jointly determine whether the patient has actually taken the medication and output the actual dosage. Not yet expired Prescriptions for missed doses during internal medication dispensing ; A mechanical interlock is used, and it only activates when a CRC and signature verification is successful. and The gate can only operate when the preconditions are met; in the absence of instructions and in the power-off state, the gate has a normally closed self-locking structure.

[0069] It includes a touchscreen display, voice prompt module, physical confirmation button, emergency stop button, tri-color indicator lights, and buzzer. Functional implementation and variable correspondence include collecting structured questionnaires (dizziness, fatigue, pre-syncope symptoms, thirst, oliguria, saline intake, fever, missed doses, etc.) and outputting... and ; The system displays a retest guide (indicating the correct body position and time), corresponding to the gated output. The current display indicates that "this adjustment is still in the observation period for taking effect, and the remaining..." Hour"; The red light and voice prompt "Doctor's evaluation required" are displayed. A simpler explanation: The emergency stop button directly cuts off... Release mechanism enable signal (hardware level, without software).

[0070] This includes communication modules, security elements, and accelerated CRC and signature verification. Data integrity: ; ; The functionality includes, for example, uploading daily. With response observation Downlink: Medical staff send out clinical parameter packages (various security boundaries, ... , , (Signature verification is required before data can be written to the clinical parameter area; Takeover:) The device is set to "Disable automatic distribution," and can only be deactivated by commands displayed on the medical staff's end; Network outage downgrade: Communication interruption exceeds [period]. The device does not stop monitoring, but automatically distributes downgraded alerts to "maintain original plan + local alarm" (failure protection).

[0071] Power supply and failure protection include: ; ; In the formula, For backup lithium battery capacity; Minimum power consumption allowed for distribution (ensuring one complete mechanism action and log write); additional watchdog timeout. Instructions expired , All three types of events trigger fail-safe, and the unified rollback is "maintain the original plan + alarm".

[0072] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for home-based volume sensing and dynamic diuretic window distribution in heart failure, characterized in that, include: S1. Acquire multimodal physiological signals, calculate global measurement reliability, and perform gating; Establish individual baselines and natural fluctuation zones and update them daily; Calculate the standardized deviation, the rate of rise of normalization, and the duration of normalization; A multimodal consistency evaluation is constructed, which weights and fuses deviation, velocity, and duration into a capacity deterioration momentum and outputs it in stages; the reversible cause correction factor is calculated, and when the momentum is in the middle range and the cause is sufficient, the cause correction and retesting are given priority; otherwise, the calculation is performed in the window. S2. Record historical diuretic adjustment events, fit individual diuretic response delay, saturation parameters and response coefficients, and output confidence level; construct an upregulation lockout based on individual delay, prohibiting upregulation during the lockout period, with exceptions for safe actions; retest feedback correction response coefficient and delay after drug administration, and output high sensitivity markers and diuretic resistance markers; S3. After interlock access is granted, six types of safety margins are calculated, and the shortest link is aggregated into a diuretic safety reserve. The minimum effective adjustment amount is obtained by momentum inversion, and the maximum safety adjustment amount is obtained by taking the smallest of the safety reserve, single upper limit, total upper limit and cumulative speed limit. The interval is judged in three states, and the smallest discrete level is selected; when there is mismatch, reserve is zeroed or resistance occurs, manual intervention is initiated and attribution is generated; the hard limit arbitration takes the smaller value as the final execution quantity; execution instructions and retest scheduling are generated; when the capacity drops and the safety decreases, the downward adjustment amount and level are output in reverse; the execution instruction triggers the quantitative distribution execution unit to release the pre-loaded drug unit of the corresponding level and transmits back the drug retrieval verification result.

2. The method for home-based volume sensing and dynamic diuretic window distribution in heart failure according to claim 1, characterized in that, S1 includes, S1.1, the system acquires pulmonary artery pressure signals. ,weight Blood pressure cuff Heart rate Dual-frequency bioimpedance Nocturnal cardiac impaction signal After bandpass filtering, power frequency suppression, and feature extraction, the feature vector for the day is obtained. : ; In the formula, The mean pulmonary artery pressure for the day. Weight upon waking up in the morning. Based on the fundamental impedance, For systolic pressure, For diastolic blood pressure, Heart rate, The BCG nocturnal cardiopulmonary composite index; S1 includes S1.2, which calculates five sub-factors for each data collection, including time compliance. Posture compliance Signal-to-noise ratio quality Contact impedance quality Repeatability : ; ; ; ; ; In the formula, The actual measurement time. The measurement time is specified in the plan. The difference between the measured body position angle and the specified body position angle, To allow for postural deviation scale, For the steepness coefficient of the logic function, The signal-to-noise ratio is the estimated power ratio before and after filtering. The signal-to-noise ratio is at half the point. To measure the electrode contact impedance, This is the upper limit of the contact resistance. The contact impedance attenuation scale To take the positive part of the function, This refers to two repeated measurements taken in the same instance. The acceptable repeatability difference for the current mode; Calculate single-mode confidence With global measurement confidence : ; ; In the formula, This is the set of valid modes for the day. For effective modal indexing, For modal importance weights; Constructing gated decision : ; In the formula, The low confidence threshold For high confidence threshold, This is a retest command. To enter the calculation and reduce the overall weighting instruction, To allow entry into the calculation and to enable baseline updates; S1 includes S1.3, defining the stable period sample set. : ; In the formula, This is an incident involving no medication adjustment. No acute events were reported. For date indexing, Baseline establishment deadline The length of the stable period observation; Constructing baselines and fluctuation bands: ; ; In the formula, For the first Individual baseline for each modality, For the first Modal natural wave band, The coefficient of consistency from MAD to standard deviation. For the first The modality's daily feature vector, The median; Only during non-event periods, an index-weighted daily update is used: ; ; In the formula, For the first The physiological modality in the first Individual baseline values ​​updated daily. For indicator functions, Based on the learning rate, To achieve daily adaptive learning rate, The date of the most recent increase in diuretic intensity. The momentum deteriorated due to the previous day's capacity deterioration. To observe the low threshold boundary of capacity-deteriorating momentum, For individual diuretic response delay; by As a divisor, the degree of standardization of deviation from the individual baseline is calculated for each modality. The Theil-Sen robust slope estimation is used to calculate the rate of rise of pulmonary artery pressure within the sliding window, normalized by the individual fluctuation band, and the duration is calculated using double-threshold hysteresis run counting. The normalized rate of rise is output. and normalized duration .

3. The method for home-based volume sensing and dynamic diuretic window distribution in heart failure according to claim 2, characterized in that, S1 includes S1.4, and constructing a multimodal consistency evaluation that combines directional sign consistency rate and rank correlation. : ; ; ; ; In the formula, This represents the ratio of symbolic terms to rank-related terms. For direction sign consistency rate, For rank-related consistency, For the first day Individualized standardized deviation of each modality This is the entry threshold in hysteresis comparisons. For a set of pairwise modal pairings, The Spearman rank correlation coefficient. For pairing sets A specific pair of modes in the, For the first The standardized deviation sequence of each mode within the sliding time window For the first The standardized deviation sequence of each mode within the sliding time window The length of the sliding time window. To the window's first The difference in rank between the two modal sequences at each sorting position. Sliding time window The actual number of valid sample days within the period; S1 includes S1.5, which involves performing a consistency gain-weighted linear fusion of the deviation magnitude, rise rate, duration, and multimodal deviation to obtain the fused intrinsic quantity. : ; In the formula, , , , , , Assigning weights to each component. This is the consistency gain coefficient. This represents the individualized standardized deviation of the mean pulmonary artery pressure for the day. This represents the individualized standardized deviation from the body weight upon waking that day. This represents the individualized standardized deviation of the base impedance for that day. This represents the individualized standardized deviation of the BCG nocturnal cardiopulmonary composite index for the day. Introducing the logical function formula: ; In the formula, It is the independent variable of the logical function; The fused internal quantities are compressed to [the specified value] using a logic function. Bounded interval, obtain capacity deterioration momentum : ; In the formula, The momentum half-point, For the scale parameter of the logic function; Weight Labeled by historical failure to compensate events Offline calibration of regular logistic regression: ; In the formula, Weight vector The optimal estimate, ; The total number of historical training samples. For the first A true label for a historical sample For the first The fusion content of historical samples for Regularization coefficient; Hierarchical output: ; In the formula, For capacity deterioration momentum Hierarchical output function, For observation, To trigger window calculation, To access the window for calculations and to upgrade the security review level, The high threshold observation boundary for capacity deterioration momentum. S1 includes S1.6, constructing reversible causative factor correction factors. : ; In the formula, This represents the total number of reversible cause categories monitored by the system. for index, ; For the first Weighting coefficients of reversible causes For the first Reversible precipitants in the first The marker position of the day; Set branch decision, when and At that time, the inducing factor was corrected and a retest was conducted 24 hours later. The threshold for triggering a branch is set as the inducing factor; otherwise, calculations are performed within the window.

4. The method for home-based volume sensing and dynamic diuretic window distribution in heart failure according to claim 3, characterized in that, S2 includes S2.1, recording the equivalent dose and adjustment time of each historical diuretic adjustment, and extracting the physiological data of each modality within a specified time before and after the adjustment according to the adjustment time; Based on the physiological data from each modality, the overall response quantity after each adjustment relative to the initial adjustment was calculated. ; Fitting with a first-order inertial plus pure time delay model Individual diuretic response delay was obtained. With steady-state response amplitude ; Each steady-state response amplitude and its corresponding adjustment amplitude are paired to form individual saturation parameters. The individual diuretic response coefficient is then updated using a recursive least squares method with a forgetting factor. The updated individual diuretic response coefficients are shrunk to the population prior values ​​using Bayesian shrinkage estimation, and the shrunk response coefficients are output. and confidence level ; S2 includes S2.2, constructing an automatic up-adjustment latch and exception branch based on individual time delay: ; ; In the formula, For the first The automatic adjustment of the lockout indicator on the daytime This refers to the implementation date of the most recent diuretic dosage increase. To lock in a safety margin, Remaining lock time; Action constraints during the lockout period include, when Automatic upgrades are prohibited; the current level must be maintained. Automatic adjustments and outputs should be switched to manual evaluation; when... And triggering safety-side conditions allows for downgrading or pausing; when Then proceed to the normal window for calculation.

5. The method for home-based volume sensing and dynamic diuretic window distribution in heart failure according to claim 4, characterized in that, S2 includes, S2.3, and administration after drug delivery. Enter the retest phase and calculate the predicted value, actual value, and relative deviation: ; ; ; In the formula, For the first Predicted response value calculated based on a saturation-type dose-response model after the first dose. This represents the maximum response value of the drug effect. This is the adjusted equivalent dose value for the currently administered medication. Let be the dissociation constant. For the first At the retest time point after the second dose The actual observed response value at the location, For the actual response observation function, To verify the delay time, For the first Relative deviation after the first dose To prevent division by zero; Logarithmic field update: ; In the formula, For the first Individual diuretic response coefficient at the time of first administration. To update the step size coefficients in the logarithmic field, For quality factor, To update the gain coefficient, For the amplitude limiting function, This is the deviation limiting threshold; The limit for updating the logarithm field is: ; In the formula, For the first Updated response control parameters at the time of the first dose. This represents the lower limit of the individual diuretic response coefficient parameter in the logarithmic domain. This represents the upper limit of the individual diuretic response coefficient parameter in the logarithmic domain; The latency tracking for logarithmic field updates is as follows: ; In the formula, For delay tracking, This refers to the actual observed response delay; Constructing highly sensitive markers: ; In the formula, For the first High sensitivity markers after the first dose The high-sensitivity decision threshold coefficient, The systolic blood pressure value was measured before drug administration. This refers to the actual systolic blood pressure value measured after drug administration. The threshold for systolic blood pressure change; The cumulative negative deviation is detected using a weighted cumulative sum: ; ; In the formula, This is the cumulative amount of negative deviation. To allow drift, As a marker of diuretic resistance, For the detection threshold, This represents the cumulative increase in the equivalent dose recently. The upper limit is configurable. This is the minimum effective response.

6. The method for home-based volume sensing and dynamic diuretic window distribution in heart failure according to claim 5, characterized in that, S3 includes, S3.1, constructing multi-flag logic interlocking access control: ; In the formula, Calculate admission criteria for the automatic window; like Retest, maintain observation, lock in and wait. Any of the following operations: transfer to manual intervention or first correct the cause and then retest; like Proceed to step S3.2; S3 includes S3.2, calculating six types of safety margins and laboratory timeliness factors. The six types of safety margins include the blood pressure safety margin. Kidney function safety margin Blood potassium safety margin Blood sodium safety margin Symptom safety margin Residual memory of past adverse reactions ; S3 includes S3.3, which uses power average to achieve soft minimum aggregation: ; ; In the formula, To ensure diuretic safety reserves, For the first Safety margin For safety margin category index, For the first The weight of the safety margin For the strength parameters of the short plate; For any safety margin, the current value is less than or equal to the preset safety margin critical threshold. , Forced zeroing disables automatic distribution and forces manual processing.

7. The method for home-based volume sensing and dynamic diuretic window distribution in heart failure according to claim 6, characterized in that, S3 includes S3.4, the target response quantity derived from capacity-deteriorated momentum inversion. : ; In the formula, The calibration coefficient for the target response quantity. To allow for deviation tolerance; The required dose increment is determined by inversely solving the individual saturation dose response model. : ; when The time stamp is marked as unreachable; Confidence inflation of individual saturation dose response models for: ; In the formula, The confidence level inflation factor; S3 includes S3.5, which is the maximum safety adjustment amount composed of the smallest of the safety reserve, single-increment baseline, total dose limit, and rolling window cumulative rate limit. : ; In the formula, The maximum allowable increment benchmark for a single transaction. The power law exponent is of , For high sensitivity tightening ratio, For confidence level floor, This is the upper limit of the total equivalent dose. The cumulative upper limit within the scrolling window is increased.

8. The method for home-based volume sensing and dynamic diuretic window distribution in heart failure according to claim 7, characterized in that, S3 includes S3.6, determining the intersection of intervals: ; ; In the formula, For the first The dynamic diuretic window over an assessment period. For the first The three-state determination results for each evaluation cycle For the purpose of no intervention, To ensure a safe and effective window, For treatment needs; S3 includes S3.7, and the dispensable units of the device's medicine container constitute a finite discrete set: ; In the formula, For the first The equivalent dose increment corresponding to the pre-loaded drug unit; Select the desired level on the discrete-level grating. and minimum level : ; If the rank subset that meets the conditions is an empty set, ; S3 includes, S3.8, when , or Time mismatch flag : ; Cause coding for: ; ; In the formula, Diuretic resistance or unattainable response Due to insufficient data timeliness, The device level cannot be covered. The symbol for the empty set. This is the lower limit of the time factor for laboratory testing; handover message content for: ; S3 includes S3.9, and independent, secure microcontrollers operating rule-based hard-limit functions without learning components. The absolute upper limit is calculated solely based on currently measured vital signs. : ; Combined with the Equivalent dose increment corresponding to the pre-loaded drug unit Calculate the final dose : ; like Then record the inconsistency event and downgrade to Corresponding level; If no corresponding level is found, output the following: .

9. The method for home-based volume sensing and dynamic diuretic window distribution in heart failure according to claim 8, characterized in that, S3 includes S3.10, constructing instruction encapsulation with time windows and acknowledgment requirements. : ; ; ; In the formula, The number of pre-installed units to be released. The equivalent dose for a single pre-loaded unit, To round up, To allow for the medication pickup time window, For the retest time, To require the drug detection sensor to send back an execution receipt; S3 includes S3.11, which triggers a reverse window calculation output reduction or pause command when the capacity has fallen and the safety margin has decreased. The triggering condition is: ; Lowering amount for: ; ; In the formula, For low momentum threshold, The safety reserve trigger threshold was lowered. The trigger threshold can be configurably lowered; This represents the maximum single downward adjustment. To lower the level, For the first The current equivalent intensity of the day.

10. A home-based volume sensing and dynamic diuretic window distribution system for heart failure, performing the method of claim 9, characterized in that, include: Capacity sensing terminal unit Main control and algorithm execution unit Quantitative distribution execution unit Human-computer interaction and safety interlocking unit and communication and medical care terminal takeover unit ; It includes a pulmonary artery pressure reading module, a weight measurement module, a bioimpedance module, a blood pressure and heart rate module, a nocturnal cardiac impaction module, and a measurement context sensing module; Including analog front-end AFE, 24-bit The system consists of an ADC, a main algorithm processor, an independent security microcontroller, non-volatile memory, an RTC, and an independent watchdog. It performs global measurement confidence gating, capacity degradation momentum construction, individual diuretic response coefficient, response delay and saturation parameter learning, diuretic safety reserve bottleneck aggregation, dynamic diuretic window calculation and discrete level selection, and runs a regular hard limit function without learning components. include The unit consists of an independent pre-loaded medicine compartment, a stepper motor and reduction mechanism, a photoelectric encoder, an electrically controlled release gate, a medicine dropping photoelectric pair, a medicine dispensing box weighing bridge, a compartment door micro switch and mechanical interlock. It receives and executes commands to locate the target medicine compartment and release the medicine. The actual release amount is cross-verified by counting the medicine dropping photoelectric pair and weighing the medicine dispensing box. It includes a touch screen, voice prompt module, physical confirmation button, emergency stop button, three-color indicator light and buzzer, collects symptom items from structured questionnaires, displays measurement guidance, displays remaining lock time, outputs a prompt that a doctor needs to evaluate when mismatch occurs, and cuts off the enable signal of the U3 release mechanism at the hardware level through the emergency stop button; It includes a communication module, a security element, CRC and signature verification acceleration, uplink transmission of intermediate variables and handover messages, downlink reception of clinical parameter packets with signature verification, and acceptance of medical staff takeover instructions to lift the prohibition on distribution in mismatch state.