Calibration method, device, equipment, medium and product of blood glucose sensor

By automatically identifying and locking onto periods of stable performance of the blood glucose sensor for self-calibration, the problem of decreased measurement accuracy caused by sensor drift during long-term wear is solved, achieving high-precision blood glucose measurement and a user-friendly calibration process.

CN123166644APending Publication Date: 2026-11-27JIANGXI SITOMAI MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611456126.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-18
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing blood glucose sensors experience sensitivity drift and baseline shift during long-term wear due to factors such as aging, bioaccumulation, and changes in individual physiological environment. Current calibration methods cannot track and compensate for these shifts in real time, leading to a decrease in measurement accuracy.

Method used

By automatically tracking the drift trend of sensor performance, and using the historical change trend of its own output signal to identify and lock in the period of stable performance in the early stage of sensor operation as a calibration reference, self-calibration is performed to compensate for drift during long-term use.

Benefits of technology

It achieves automatic calibration without requiring users to collect finger-prick blood, improving the measurement accuracy of the blood glucose sensor during long-term wear and reducing the user's operational burden and discomfort.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123166644A_ABST
    Figure CN123166644A_ABST
Patent Text Reader

Abstract

The present disclosure relates to a blood glucose sensor calibration method, device, equipment, medium and product, which utilizes the blood glucose signal continuously output by the blood glucose sensor itself during operation, divides the continuous blood glucose signal into a plurality of sequence units with a preset time window as the granularity, after triggering the self-calibration function, makes a steady state determination based on the signal integrity and overall drift rate of each sequence unit and its historical unit, then locks a sequence unit from the stable period in the early stage of sensor operation as the reference origin for subsequent blood glucose measurement value calibration, takes the blood glucose signal corresponding to the calibration reference benchmark as the basis, automatically calibrates the blood glucose measurement value output by the blood glucose sensor subsequently, eliminates the operation burden and pain of the user collecting fingertip blood, and realizes precise compensation for the long-term performance decay of the sensor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of signal processing, and more particularly to a calibration method, apparatus, device, medium, and product for a blood glucose sensor. Background Technology

[0002] Users can continuously and in real-time track their blood glucose levels by wearing a continuous glucose sensor. However, over time, the glucose sensor may experience sensitivity drift and baseline shift due to factors such as aging, bioaccumulation, enzyme activity decay, and changes in individual physiological environment, causing the measured blood glucose value to gradually deviate from the true blood glucose level.

[0003] Currently, existing calibration methods typically include the following: Some blood glucose sensors require users to periodically collect finger-prick blood samples during use, and input the blood glucose values ​​from these samples as a reference value to calibrate the sensor. Alternatively, some blood glucose sensor products have a factory calibration function, meaning the sensor has already been calibrated to obtain initial calibration parameters before leaving the factory. Users do not need to perform finger-prick blood calibration after wearing the sensor; it automatically uses the calibration parameters from the factory calibration function to calibrate the blood glucose measurements.

[0004] However, while the above-mentioned finger-prick blood glucose calibration method improves the accuracy of blood glucose measurement to some extent, the periodic collection of finger-prick blood glucose increases the pain and operational burden on users. Moreover, this method relies on users to actively provide reference blood glucose values ​​at discrete time points, which cannot match the drift characteristics of sensor performance that change continuously and slowly over time. In the long interval between two calibrations, the system deviation of the sensor cannot be effectively corrected due to the lack of real-time feedback, making it difficult to obtain continuous and reliable guarantee of measurement accuracy in dynamic wearing environments.

[0005] The calibration parameters under the factory calibration function described above reflect the current signal-blood glucose mapping relationship of the blood glucose sensor at the time of manufacture and under standard testing conditions. Essentially, this is a static, one-time baseline setting. During actual long-term wear by the user, the blood glucose sensor will still experience additional sensitivity drift and baseline shift beyond the factory calibration compensation range due to factors such as continuous degradation of enzyme activity, gradual accumulation of bioaccumulation, and dynamic changes in the individual's physiological microenvironment. This long-term, gradual drift is time-varying and varies from person to person, and the factory calibration parameters cannot dynamically track and compensate for it in real time. This causes the sensor's measurement accuracy to gradually deviate from its nominal performance at the time of manufacture during the later stages of wear. Summary of the Invention

[0006] In view of this, this disclosure proposes a calibration method, apparatus, device, medium, and product for a blood glucose sensor. This method eliminates the need for finger-prick blood calibration. It utilizes the trend changes and time-division drift estimation of the blood glucose signal output by the sensor itself to automatically identify and lock onto a period of stable sensor performance as a calibration reference in the early stages of sensor operation. Based on the blood glucose signal corresponding to the calibration reference, it automatically calibrates subsequent blood glucose measurements output by the sensor, achieving self-calibration of a continuous blood glucose sensor without external reference input. This optimizes the user experience and improves the accuracy of blood glucose measurements during long-term wear. This method does not depend on the initial calibration state of the sensor and is applicable to both continuous blood glucose sensors equipped with the aforementioned factory calibration function and those without. Based on the blood glucose sensor having the aforementioned factory calibration function, this method uses the trend changes and time-division drift estimation of the output blood glucose signal to lock onto a reference unit, and performs secondary calibration of the blood glucose measurement based on this reference unit to compensate for additional drift caused by sensitivity decay and baseline shift during long-term use.

[0007] According to one aspect of this disclosure, a calibration method for a blood glucose sensor is provided, the method comprising:

[0008] During the operation of the blood glucose sensor after activation, it continuously receives blood glucose signals periodically collected by the blood glucose sensor, and divides the received blood glucose signals into several continuous sequence units according to a preset time window.

[0009] After the self-calibration function of the blood glucose sensor is triggered during the operation, for the generated sequence units whose drift rate has not been evaluated, the overall drift rate of the sequence unit is determined based on the blood glucose signals included in the sequence unit and the historical unit; wherein the blood glucose signals included in each of the sequence unit and the historical unit satisfy the signal integrity required for drift rate calculation; the overall drift rate reflects the degree of output drift of the blood glucose sensor with respect to the blood glucose signal between the sequence unit and the historical unit; the historical unit includes the first N sequence units that are consecutive to the sequence unit in the time window; N is a positive integer;

[0010] Based on the sequence units whose overall drift rate is currently determined, it is determined whether there are any sequence units that meet the preset stability condition; the preset stability condition is used to reflect that the signal output of the blood glucose sensor is in a steady-state operating state.

[0011] If it exists, a reference unit is determined based on the sequence unit that satisfies the preset stability condition, and the blood glucose measurement value output by the blood glucose sensor in the sequence unit after the reference unit is calibrated based on each blood glucose signal included in the reference unit.

[0012] If it does not exist, wait for a new sequence unit to be generated, and return to the step of determining the overall drift rate of the sequence unit based on the blood glucose signals included in the sequence unit and the historical unit, until any set termination condition is met; the set termination condition includes: determining the reference unit; the cumulative running time of the blood glucose sensor reaching the preset maximum observation period.

[0013] According to another aspect of this disclosure, a calibration device for a blood glucose sensor is provided, the device comprising:

[0014] The signal receiving and dividing module is configured to continuously receive the blood glucose signals periodically collected by the blood glucose sensor during the operation after the blood glucose sensor is activated, and divide the received blood glucose signals sequentially according to a preset time window to generate several continuous sequence units.

[0015] The drift rate calculation module is configured to, after triggering the self-calibration function of the blood glucose sensor during operation, determine the overall drift rate of the generated sequence units for which the drift rate has not been evaluated, based on the blood glucose signals included in the sequence units and historical units; wherein the blood glucose signals included in each of the sequence units and the historical units satisfy the signal integrity requirements for drift rate calculation; the overall drift rate reflects the degree of output drift of the blood glucose sensor with respect to the blood glucose signal between the sequence unit and the historical units; the historical units include the first N sequence units that are consecutive to the sequence unit in the time window; N is a positive integer;

[0016] The reference unit determination module is configured to determine whether there are any sequence units that meet a preset stability condition based on the sequence units whose overall drift rate is currently determined; the preset stability condition is used to reflect that the signal output of the blood glucose sensor is in a steady-state operating state.

[0017] The reference unit determination and calibration module is configured to determine a reference unit based on a sequence unit that meets a preset stability condition if such a sequence unit exists, and to calibrate the blood glucose measurement values ​​output by the blood glucose sensor in the sequence unit following the reference unit based on the blood glucose signals included in the reference unit.

[0018] The iterative module is configured to wait for the generation of a new sequence unit if no sequence unit that meets the preset stability conditions exists, and then return to the step of determining the overall drift rate of the sequence unit based on the blood glucose signals included in the sequence unit and the historical unit, until any set termination condition is met; the set termination conditions include: determining the reference unit; the cumulative running time of the blood glucose sensor reaching the preset maximum observation period.

[0019] According to another aspect of this disclosure, an apparatus is provided, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the method described above.

[0020] According to another aspect of this disclosure, a non-volatile computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps of the above-described method.

[0021] According to another aspect of this disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of the above-described method.

[0022] In this embodiment, the blood glucose signal continuously collected during the operation of the blood glucose sensor is divided into several consecutive sequence units according to a preset time window. After the self-calibration function is triggered, the overall drift rate of the generated but not yet evaluated sequence units is calculated. Based on the overall drift rate of the currently calculated sequence units, it is determined whether there are sequence units that meet the preset stability conditions. Based on the sequence units that meet the preset stability conditions, a reference unit is locked. This serves as an objective criterion for the sensor to be in a steady-state operation and a reference anchor point for subsequent calibration. This avoids the reference selection deviation caused by relying on empirical thresholds or fixed time assumptions. The process of determining the calibration reference reference is completely driven by the drift trend of the sensor's own output signal, improving the objectivity and adaptability of the reference selection.

[0023] This method automatically tracks the performance drift trend of the sensor and, based on the historical change trend of the output signal of the blood glucose sensor, automatically identifies and locks the period of stable sensor performance in the early stage of sensor operation as a calibration reference. Then, it uses the blood glucose signal corresponding to the calibration reference as a basis to automatically calibrate the blood glucose measurement value output by the blood glucose sensor in the future. This eliminates the burden and pain of users collecting finger-prick blood, achieves accurate compensation for long-term performance degradation of the sensor, and improves the blood glucose measurement accuracy of the blood glucose sensor during long-term wear.

[0024] In addition, when calculating the overall drift rate of each sequence unit, this embodiment requires that the blood glucose signals included in each sequence unit and its corresponding historical unit meet the signal integrity requirements for drift rate calculation. This effectively prevents false drift rates introduced by signal defects from participating in the stability evaluation of the reference unit, and avoids the sensor being misjudged as being in a steady state or a drift state due to individual abnormal or incomplete data segments. This ensures that the final locked reference unit truly reflects the steady-state output performance of the sensor, providing a highly confident reference for the subsequent automatic calibration of blood glucose measurement values ​​based on this reference unit.

[0025] Other features and aspects of this disclosure will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description

[0026] The accompanying drawings, which are included in and form part of this specification, illustrate exemplary embodiments, features, and aspects of this disclosure together with the specification and serve to explain the principles of this disclosure.

[0027] Figure 1 This application exemplarily illustrates a calibration method for a blood glucose sensor;

[0028] Figure 2A This application exemplarily illustrates a flowchart of steps for determining the overall drift rate of the sequence unit;

[0029] Figure 2B This application exemplarily illustrates a flowchart for determining the overall drift rate based on the degree of deviation of various statistical indicators;

[0030] Figure 3 This application exemplarily illustrates a flowchart for determining a reference unit;

[0031] Figure 4A This application exemplarily illustrates a flowchart for calibrating blood glucose measurement values ​​output by a blood glucose sensor within a sequence unit;

[0032] Figure 4B This application exemplarily illustrates a flowchart of determining calibration coefficients and performing calibration procedures based on a benchmark blood glucose level;

[0033] Figure 4C This application exemplarily illustrates a flowchart for determining the calibration coefficient of a target unit based on the deviation of different statistical indicators;

[0034] Figure 5 This application exemplarily illustrates a schematic diagram of blood glucose curves before and after applying the calibration method of the blood glucose sensor provided in this embodiment;

[0035] Figure 6 This application exemplarily illustrates a virtual device block diagram of a calibration apparatus for a blood glucose sensor;

[0036] Figure 7 This application is a block diagram of an electronic device that exemplarily illustrates a calibration method for a blood glucose sensor. Detailed Implementation

[0037] Various exemplary embodiments, features, and aspects of this disclosure will now be described in detail with reference to the accompanying drawings. The same reference numerals in the drawings denote elements that have the same or similar functions. Although various aspects of the embodiments are shown in the drawings, they are not necessarily drawn to scale unless specifically indicated otherwise.

[0038] As used herein, the terms “comprising,” “including,” “having,” or variations thereof are open-ended and include one or more of the stated features, integrals, elements, steps, components, or functions, but do not exclude the presence or addition of one or more other features, integrals, elements, steps, components, functions, or groups thereof.

[0039] When an element is referred to as “connected,” “coupled,” “responding,” or a variation thereof relative to another element, it may be directly connected, coupled, or responding to another element, or there may be an intermediate element present.

[0040] Although the terms first, second, third, etc., may be used herein to describe various elements / operations, these elements / operations should not be limited by these terms. These terms are only used to distinguish one element / operation from another. Therefore, without departing from the teachings of the inventive concept, a first element / operation in some embodiments may be referred to as a second element / operation in other embodiments.

[0041] The term “exemplary” as used herein means “serving as an example, embodiment, or illustration.” Any embodiment illustrated herein as “exemplary” is not necessarily to be construed as superior to or better than other embodiments.

[0042] Furthermore, to better illustrate this disclosure, numerous specific details are set forth in the following detailed description. Those skilled in the art will understand that this disclosure can be practiced without certain specific details. In some instances, methods, means, components, and circuits well known to those skilled in the art have not been described in detail in order to highlight the main points of this disclosure.

[0043] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, data stored, data displayed, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant regions.

[0044] In existing technologies, users can continuously and in real-time track their blood glucose levels by wearing blood glucose sensors, providing important data support for diabetes management. For blood glucose sensors that monitor blood glucose in real-time and continuously through subcutaneous sensors, such as CGM (Continuous Glucose Monitoring) sensors, in actual long-term use, over time, the blood glucose sensor will gradually experience sensitivity drift and baseline shift due to the combined effects of multiple factors, including aging, bioaccumulation (i.e., protein and cell deposition on the sensor surface), enzyme activity decay, and dynamic changes in the individual's physiological environment. In other words, the blood glucose sensor's response signal to the same blood glucose concentration will systematically shift over time, causing the measured value to gradually deviate from the true blood glucose level.

[0045] Currently, for this type of blood glucose sensor that monitors blood glucose in real time and continuously through a subcutaneous sensor, the conventional calibration method usually requires the user to collect finger-prick blood at regular intervals while wearing the blood glucose sensor, and use the blood glucose value of the finger-prick blood as a reference input to the sensor system, so as to correct the blood glucose measurement value of the blood glucose sensor.

[0046] While this method can improve measurement accuracy to some extent, users need to periodically prick their fingertips to collect blood samples, which causes physical pain and psychological burden. Moreover, this method can only be calibrated at discrete time points where the user actively provides reference blood glucose values. There is a long gap between the two calibrations, and the system deviation of the blood glucose sensor during this period cannot be effectively corrected due to the lack of real-time feedback. The calibration process cannot match the drift characteristics of the sensor performance that change continuously and slowly over time, making it difficult to ensure continuous and reliable measurement accuracy in dynamic wearing environments.

[0047] Alternatively, some manufacturers design blood glucose sensor products with a factory calibration function. This means the sensor has been calibrated to obtain initial calibration parameters before leaving the factory. Users do not need to perform finger-prick blood glucose calibration after wearing the sensor; the blood glucose sensor automatically processes the collected signal using the calibration parameters from the factory calibration function, and the output blood glucose measurement value is the calibrated value. The core of the factory calibration function lies in the fact that manufacturers, during the blood glucose sensor production stage, establish a standardized mathematical model of the original current signal-blood glucose concentration through extensive in vitro experiments and clinical data. This mathematical model is embedded in the blood glucose sensor's chip or algorithm as the default conversion benchmark. When the user wears the sensor, the blood glucose sensor directly calls this pre-set mathematical model to convert the real-time collected electrical signal into a blood glucose measurement value, thus replacing the cumbersome process of traditional CGM requiring users to take multiple finger-prick blood samples daily to correct for individual differences.

[0048] However, the calibration parameters under the factory calibration function reflect the current signal-blood glucose mapping relationship of the blood glucose sensor at the time of manufacture and under standard testing conditions. Essentially, it is a static, one-time baseline setting. During actual long-term wear of the blood glucose sensor, factors such as continuous degradation of enzyme activity, gradual accumulation of bioaccumulation, and dynamic changes in the individual's physiological microenvironment can cause additional sensitivity drift and baseline shift beyond the factory calibration compensation range. This long-term, gradual drift is time-varying and varies from person to person, and the factory calibration parameters cannot dynamically track and compensate for it in real time. This causes the sensor's measurement accuracy to gradually deviate from its nominal performance at the time of manufacture during the later stages of wear.

[0049] In view of this, this embodiment provides a calibration method for a blood glucose sensor. This method matches the drift characteristics of sensor performance that change continuously and slowly over time. By automatically tracking the drift trend of sensor performance and based on the historical change trend of the blood glucose sensor's output signal, it automatically identifies and locks the period of stable sensor performance in the early stage of sensor operation as a calibration reference. The blood glucose signal corresponding to the calibration reference is used as the basis to automatically calibrate the blood glucose measurement value output by the blood glucose sensor in the future. This eliminates the burden and pain of users collecting finger-prick blood, achieves accurate compensation for long-term performance degradation of the sensor, and improves the blood glucose measurement accuracy of the blood glucose sensor during long-term wear.

[0050] This method has broad compatibility, as it is independent of the initial calibration state of the blood glucose sensor. It is applicable to both continuous glucose sensors with factory calibration and those without. Specifically, when the blood glucose sensor has the aforementioned factory calibration function, this method uses the trend changes and time-division drift of the blood glucose signal processed by the factory calibration function to estimate and lock a reference unit. A secondary calibration of the blood glucose measurement value is then performed based on this reference unit to compensate for additional drift caused by sensitivity decay and baseline shift during long-term use.

[0051] See Figure 1 The flowchart of an exemplary calibration method for a blood glucose sensor is shown, which may include at least the following steps:

[0052] S110, during the operation of the blood glucose sensor after activation, continuously receive the blood glucose signals periodically collected by the blood glucose sensor, and divide the received blood glucose signals into several consecutive sequence units according to a preset time window.

[0053] S120, after the self-calibration function of the blood glucose sensor is triggered during the operation, for the generated sequence units whose drift rate has not been evaluated, the overall drift rate of the sequence unit is determined based on the blood glucose signals included in the sequence unit and the historical unit; wherein, the blood glucose signals included in each of the sequence unit and the historical unit satisfy the signal integrity required for drift rate calculation; the overall drift rate reflects the degree of output drift of the blood glucose sensor with respect to the blood glucose signal between the sequence unit and the historical unit; the historical unit includes the first N sequence units that are consecutive to the sequence unit in the time window; N is a positive integer;

[0054] S130, based on the sequence units whose overall drift rate is currently determined, determine whether there are sequence units that meet the preset stability condition; the preset stability condition is used to reflect that the signal output of the blood glucose sensor is in a steady-state operating state;

[0055] S140, if it exists, a reference unit is determined based on the sequence unit that satisfies the preset stability condition, and the blood glucose measurement value output by the blood glucose sensor in the sequence unit after the reference unit is calibrated based on each blood glucose signal included in the reference unit.

[0056] S150, if it does not exist, wait for a new sequence unit to be generated, and return to the step of determining the overall drift rate of the sequence unit based on the blood glucose signals included in the sequence unit and the historical unit, until any set termination condition is met; the set termination condition includes: determining the reference unit; the cumulative running time of the blood glucose sensor reaches the preset maximum observation period.

[0057] The method can be executed by a local processing unit of a blood glucose sensor, a mobile terminal or cloud server that communicates with the blood glucose sensor, etc. The local processing unit may include, but is not limited to, a microcontroller, embedded processor, application-specific integrated circuit or digital signal processor inside the sensor. The mobile terminal may include, but is not limited to, a smartphone, tablet computer, smartwatch or dedicated handheld receiver. The cloud server may include, but is not limited to, a remote medical service platform, cloud data analysis system or edge computing node.

[0058] Understandable. Figure 1 Each step of the calibration method illustrated herein can be completed collaboratively by any combination of one or more of the aforementioned devices. For example, the sensor's local processing unit may be responsible for data reception and buffering in step S110, while the mobile terminal or cloud server may perform the computationally intensive drift rate calculation and reference unit determination in steps S120 to S140, and then transmit the calibration results back to the sensor or terminal display device. This application does not limit the entity performing the calibration method.

[0059] Through the above steps, this embodiment can automatically calibrate blood glucose measurement based on the historical trend of the sensor's output signal, eliminating the burden and pain of finger-prick blood collection for users. By introducing a stability determination mechanism, it can automatically identify and lock in a period of stable performance as a calibration reference in the early stages of sensor operation, effectively avoiding interference from unstable signals in the early stages of sensor implantation on long-term calibration accuracy. Simultaneously, by comprehensively evaluating sensor drift using multiple sequence units, it can more comprehensively capture the true changes in sensor sensitivity, thereby achieving precise compensation for long-term sensor performance degradation.

[0060] To facilitate a better understanding of this method by those skilled in the art, the implementation methods of the above steps will be described by way of example below with reference to the accompanying drawings.

[0061] In step S110, after the blood glucose sensor is activated, it enters a continuous operating state and periodically collects the user's blood glucose levels according to a preset sampling period, such as once every 5 minutes, generating corresponding blood glucose signals. This sampling period can be flexibly set according to the sensor model and the sampling scenario, and the blood glucose signal generated at any sampling time can reflect the user's blood glucose concentration value at that sampling time.

[0062] Taking the CGM sensor as an example, after the CGM sensor completes initialization and enters normal measurement mode, a constant voltage is applied to its working electrode. Under this voltage, glucose in the subcutaneous interstitial fluid reacts chemically with glucose oxidase on the surface of the sensor electrode, generating an electrical signal. The CGM sensor collects the microcurrent value of the electrical signal generated during this reaction as the raw measurement data. There is a direct proportional relationship between this microcurrent value and the glucose concentration in the interstitial fluid, and this current value can be converted into a clinically significant blood glucose concentration value according to a specific slope coefficient.

[0063] For ease of subsequent analysis, the blood glucose signal mentioned in this article can be understood as the blood glucose concentration value after calibration and conversion by the blood glucose sensor, rather than the original current signal. This blood glucose concentration value can be expressed in mmol / L or mg / dL.

[0064] Therefore, during the operation of the blood glucose sensor after activation, electronic devices (such as processors, mobile terminals, or servers with data processing capabilities) continuously receive blood glucose signals periodically collected by the blood glucose sensor. The blood glucose sensor continuously monitors the user's blood glucose concentration according to a preset sampling interval, and the generated blood glucose signal is output as a blood glucose concentration value after calibration and conversion within the sensor.

[0065] A sequence unit represents a basic data processing unit generated by dividing the blood glucose signals periodically collected by the blood glucose sensor during operation into consecutive time windows according to a preset time window. Each sequence unit corresponds to all blood glucose signal samples received within a fixed-length time window. The sequence units are arranged sequentially in time, with the first and last units adjacent to each other, and are continuous in time window. That is, for two adjacent sequence units, the start time of the latter sequence unit is immediately adjacent to the end time of the former sequence unit, thus forming a continuous sequence of sequence units.

[0066] In other words, the received blood glucose signals are sequentially divided according to a preset time window, generating several consecutive sequence units. When the cumulative duration of blood glucose signals received by the sensor since the end time of the most recently generated sequence unit reaches the preset time window, a new sequence unit is formed. In the initial activation state, the first sequence unit is formed when the cumulative duration of blood glucose signals received since activation reaches the preset time window. Blood glucose signals received within the latest incomplete time window can be temporarily stored in the buffer and not participated in the division of sequence units or the subsequent overall drift rate calculation and benchmark unit determination. When the cumulative duration of this part of the signal reaches the preset time window, it will then be used as a complete sequence unit in the above-mentioned overall drift rate calculation and benchmark unit determination process.

[0067] In a preferred embodiment, the preset time window can be a calendar day. That is, the electronic device forms a 24-hour window with 00:00 as the dividing boundary each day. All blood glucose signals received between 00:00 each day and 00:00 the following day are divided into a sequence unit. Each sequence unit corresponds to the user's blood glucose monitoring data for one day. With the preset time window being this calendar day, taking a 5-minute sampling interval as an example, each sequence unit theoretically contains 288 blood glucose signals.

[0068] Using the natural day as the preset time window can synchronize with the body's inherent circadian rhythm, making the division of blood glucose signals in the time dimension have clear physiological significance. Compared with a fixed duration window with any starting time, the natural day window can completely preserve the blood glucose change trajectory of key physiological periods such as before and after three meals a day, nighttime sleep, and morning fasting. It avoids the same physiological event (such as the process of blood glucose peak after a single dinner and its decline at night) being artificially split into two adjacent sequence units due to misalignment of the segmentation boundary, thus more realistically reflecting the integrity and continuity of the user's daytime blood glucose fluctuations.

[0069] In other implementations, the preset time window can also be set to other fixed durations (such as 12 hours or 72 hours) according to the actual application scenario, and this specification does not limit this.

[0070] In the process of dividing the received blood glucose signals sequentially according to a preset time window to generate several continuous sequence units, the initial unit obtained by dividing the received blood glucose signals sequentially according to the preset time window can be directly used as the sequence unit; or, for each initial unit obtained by division, high-frequency filtering processing can be performed on the blood glucose signals included in the initial unit, and the initial unit after high-frequency filtering processing can be used as the generated sequence unit; wherein, the high-frequency filtering processing is used to suppress blood glucose signal fluctuations caused by non-physiological factors in the sequence unit.

[0071] In other words, high-frequency filtering is used to remove intraday abnormal noise and short-term interference, such as instantaneous sensor noise and non-physiological spike signals, thereby obtaining a smooth blood glucose signal curve, providing a more reliable data foundation for subsequent statistical indicator extraction.

[0072] For example, this high-frequency filtering process can be implemented using linear or nonlinear filtering schemes such as infinite impulse response filters, finite impulse response filters, and Kalman filters. Alternatively, it can be implemented using filtering methods such as median filtering, moving average filtering, Savitzky-Golay smoothing filtering, wavelet thresholding denoising, empirical mode decomposition and its variants, or local weighted regression smoothing (LOESS). The filtering parameters (such as the cutoff frequency) involved in the filtering process can be set based on physiological prior knowledge or adaptively determined according to the signal spectral characteristics.

[0073] Optionally, if the statistical index extraction step itself adopts a robust statistical method, such as using statistical measures that are not sensitive to outliers, like quantiles or medians, in the subsequent process of calculating the overall drift rate by extracting statistical indicators from sequence units, then the high-frequency filtering step can be omitted, and statistical robustness can be used to naturally combat noise interference.

[0074] Regarding step S120, the self-calibration function of the blood glucose sensor refers to the background data evaluation and correction function configured in the blood glucose sensor. This self-calibration function does not start immediately after the sensor is activated, but requires certain preconditions to be met before it is triggered. When this self-calibration function is triggered, the electronic device receiving the blood glucose signal begins to execute the overall drift rate calculation and reference unit determination process provided by this method to determine the reference data used for calibration, and then calibrates the blood glucose measurement value output by the sensor after determining the reference data. During the operation after the sensor is activated, the self-calibration function of the blood glucose sensor is triggered by continuously detecting whether the received blood glucose signal meets the calibration trigger conditions.

[0075] It is important to understand that for blood glucose sensors with factory calibration, the self-calibration function is a secondary calibration and long-term drift compensation mechanism superimposed on the factory calibration function. In other words, the factory calibration function provides a preset reference conversion model for the sensor, and its calibration parameters remain fixed during wear. The self-calibration function described in this application, however, locks the reference unit during the actual operation of the sensor by using the drift reflected in the blood glucose signal output after the factory calibration function. The purpose is to correct additional sensitivity drift and baseline shift caused by time-varying factors such as enzyme activity decay and bioaccumulation that exceed the compensation range of the factory calibration function. The self-calibration function does not replace the factory calibration function, but rather uses the blood glucose signal output after the factory calibration function as the data basis to perform a deeper level of drift assessment and accuracy correction.

[0076] That is, during the operation of the blood glucose sensor after activation, if the received blood glucose signal is detected to meet the calibration trigger condition, the self-calibration function of the blood glucose sensor is triggered. The calibration trigger condition refers to a preset logical rule used to determine whether the data basis of the currently received blood glucose signal is sufficient to support reliable drift rate analysis and benchmark determination. It can be used to evaluate whether the currently accumulated blood glucose signal can support effective calculation of the sensor drift degree and determination of the sensor's steady-state operation.

[0077] For example, the calibration triggering condition may include any of the following:

[0078] (1) The cumulative running time of the blood glucose sensor after activation reaches the set running time threshold.

[0079] This condition uses the operating time of the blood glucose sensor itself as the trigger benchmark, regardless of the data reception status. The self-calibration function is triggered when the blood glucose sensor has been running continuously for a preset duration. For example, the self-calibration function is triggered when the sensor has been running continuously for 48 hours to ensure that the sensor has accumulated sufficient blood glucose signal monitoring data.

[0080] (2) The cumulative reception time from the start of reception to the current time reaches the set reception time threshold, and the missing rate of blood glucose signal within the cumulative reception time is lower than the set ratio threshold; the start of reception time refers to the time point at which the blood glucose sensor receives the first blood glucose signal after activation.

[0081] This condition introduces a data quality threshold on top of the requirement for blood glucose signal reception duration, requiring that the data loss rate within the cumulative reception period does not exceed the allowable range, in order to avoid distortion of the calculated drift rate due to excessive loss of blood glucose signals.

[0082] For example, the cumulative reception time threshold is set to 48 hours, and the missing rate threshold is set to 20% (i.e., the effective coverage of blood glucose signals is not less than 80%), so as to meet the integrity requirements of blood glucose signals as much as possible while the cumulative received blood glucose signals meet the collection time requirements.

[0083] (3) The cumulative number of received blood glucose signals exceeds the set threshold.

[0084] This condition is triggered based on the number of valid sampling points, without needing to consider the time span. It can be triggered when the number of received blood glucose signals reaches a preset number, and is suitable for scenarios with a fixed sampling frequency and calculations based on the number of data points.

[0085] For example, it is triggered when the cumulative number of received blood glucose signal sampling points exceeds 288 (corresponding to the amount of data for the next day at 5-minute intervals).

[0086] In addition to the calibration triggering conditions mentioned above, the comprehensive quality assessment results of the received blood glucose signals can also be used as an additional post-verification condition to trigger the self-calibration function, considering whether they meet a preset quality threshold. Specifically, besides verifying the length or coverage of the blood glucose signal, other factors such as the sensor's real-time diagnostic parameters (including but not limited to electrode impedance values, operating temperature, and ambient noise levels) or the signal-to-noise ratio of the blood glucose signal can be considered to determine whether the data quality of the currently received blood glucose signal is sufficient to support high-precision drift rate calculation and steady-state identification. When the comprehensive quality assessment results reach or exceed the preset quality threshold, the calibration triggering condition is considered met; if the signal quality is lower than the preset quality threshold, the self-calibration function is not triggered, thereby effectively avoiding the introduction of erroneous benchmarks due to abnormal sensor conditions or excessively low signal-to-noise ratios, ensuring the robustness of the self-calibration process and the clinical reliability of the calibration results.

[0087] Those skilled in the art will understand that the above thresholds, such as 48 hours, 20%, and 288, are exemplary values. In practical applications, the above-mentioned thresholds for setting the running time, setting the receiving time, setting the ratio, and setting the quantity can be adaptively adjusted according to the sensor model characteristics, clinical accuracy requirements, and data sampling frequency. This application does not limit these adjustments.

[0088] The overall drift rate of any sequence unit represents a quantitative indicator that comprehensively reflects the degree of drift in the blood glucose signal output of that sequence unit compared to historical units. This quantitative indicator can be determined by statistically processing the blood glucose signals included in the sequence unit and historical units, and by comparing the degree of deviation between the statistical characteristics of the blood glucose signals in the sequence unit and the statistical characteristics of the blood glucose signals in the historical units, thus quantifying the degree of drift in the blood glucose signal output of the blood glucose sensor between two adjacent time periods. The smaller the absolute value of the overall drift rate, the more stable the blood glucose signal output of the sensor within the time window corresponding to that sequence unit.

[0089] This historical unit reflects the historical baseline level of the blood glucose signal output by the blood glucose sensor within the historical time window preceding the current sequence unit, providing a reference benchmark for calculating the overall drift rate of the current sequence unit. In this embodiment, for any sequence unit, the historical unit represents the N consecutive sequence units preceding the current sequence unit within the time window, where N is a positive integer, and its specific value depends on the depth of historical data upon which the drift rate calculation relies. For example, when N is 1, the historical unit is the preceding adjacent sequence unit; when N is greater than 1, the historical unit includes multiple consecutive sequence units preceding the current sequence unit.

[0090] For any given sequence unit, determining its overall drift rate requires considering the blood glucose data included in that sequence unit, as well as the blood glucose data included in its corresponding historical units. To ensure the statistical reliability and comparability of the drift rate calculation results, the blood glucose data included in both the sequence unit and its corresponding historical units must have sufficient data volume to guarantee the effective extraction of statistical features; that is, the signal integrity required for drift rate calculation must be met. If there is data loss in the sequence unit or its corresponding historical units, making it impossible to effectively extract statistical features, then the blood glucose data within that sequence unit is deemed unsuitable for calculation and does not meet the signal integrity requirements for drift rate calculation.

[0091] The signal integrity required for the drift rate calculation can be determined based on the statistical characteristics upon which the overall drift rate calculation is based. Specifically, the signal integrity verification rules matching the statistical characteristics can be determined based on the data sampling period, the number of data sampling points, or the data distribution conditions on which the acquisition of the statistical characteristics depends. For example, when the statistical characteristics only include the baseline blood glucose level, and the baseline blood glucose value is determined based on the blood glucose signal sequence of the user during a specific period from 2:00 AM to 4:00 AM, the signal integrity required for the drift rate calculation can be set as follows: the blood glucose signal during the period from 2:00 AM to 4:00 AM must be continuous and complete, without any signal loss or interruption. If any blood glucose signal is missing within the sequence unit or historical unit during this specific period, then the sequence unit or historical unit is determined not to meet the signal integrity required for the drift rate calculation.

[0092] It should be noted that the signal integrity verification rules based on a specific time period described above are merely illustrative. In other embodiments, the signal integrity required for drift rate calculation refers to whether the blood glucose signal within a preset time window meets the minimum data quality requirements for extracting reliable statistical features. The specific verification rules can be flexibly configured according to the actual type of statistical feature used. In some optional implementations, the signal integrity required for drift rate calculation includes any one or more of the following combinations:

[0093] (1) The number of blood glucose data included in the sequence unit corresponding to the preset time window is not less than the minimum data point threshold;

[0094] (2) The coverage of blood glucose data included in the sequence unit corresponding to the preset time window is greater than or equal to the minimum coverage threshold;

[0095] (3) The duration of continuous missing blood glucose signal sequences within the sequence unit corresponding to the preset time window shall not exceed the maximum allowable duration of missing sequences; for example, a single continuous missing sequence shall not exceed 30 minutes, so as to avoid complete distortion of statistical characteristics during the period due to long-term signal interruption.

[0096] (4) The sequence unit corresponding to the preset time window contains at least K valid blood glucose data points within the preset duration of each specified time. This condition can be used to ensure that the sequence unit is representative in terms of time distribution and avoid the statistical characteristics deviating from the overall blood glucose level within the window due to the concentration of data in a certain sub-period.

[0097] After the self-calibration function is activated, this implementation step determines the overall drift rate of the generated sequence unit for which the drift rate has not been evaluated. The calculated overall drift rate is used to determine whether the blood glucose sensor has entered the steady-state operating phase.

[0098] For any sequence unit that has been generated but whose overall drift rate has not been evaluated, compatibility handling is required if the sequence unit falls under any of the following conditions:

[0099] (1) The blood glucose signal included in the sequence unit does not meet the signal integrity required for drift rate calculation;

[0100] (2) Among the N consecutive sequence units (i.e., historical units) in the time window with the sequence unit, there is at least one sequence unit whose blood glucose signal does not meet the signal integrity required for the drift rate calculation;

[0101] (3) No historical unit corresponding to the sequence unit: When the blood glucose sensor is in the early operation stage after activation, and the number of generated sequence units does not meet the minimum requirement of the first N historical units to form a historical unit, there is no historical unit for reference for the current sequence unit, so it is impossible to build a complete basis for drift rate calculation.

[0102] In response to the above situations, any of the following compatibility handling strategies can be adopted, including but not limited to:

[0103] (1) The calculation step of the overall drift rate of the sequence unit is skipped directly. The overall drift rate value is not generated for the sequence unit, and the sequence unit is not included in the evaluation scope of the benchmark unit. This avoids the occupation of system resources by invalid calculation and prevents the possibility of unreliable drift rates entering the evaluation process of the benchmark unit.

[0104] (2) Continue to execute the overall drift rate calculation process, but add a specific invalid flag to the calculated overall drift rate (e.g., mark the drift rate as "unevaluable" or "data insufficient") to indicate that the drift rate is only a formal calculation output and does not participate in the subsequent benchmark unit evaluation and stability determination. In cases where there is no corresponding historical unit for the sequence unit or the blood glucose data is severely missing, the overall drift rate of the sequence unit can also be directly set to a specific value such as -1 as a predefined invalid placeholder to represent the lack of historical reference. This allows the system to directly identify its invalid attribute when reading the drift rate later without having to query the flag field. This method can preserve the complete calculation link record, which is convenient for subsequent data traceability and system debugging.

[0105] The overall drift rate is calculated based on the difference between a first statistical feature and a second statistical feature. The first statistical feature is obtained by statistically processing the blood glucose signals contained in the sequence unit, reflecting the overall distribution and / or dynamic trend of blood glucose concentration represented by each blood glucose signal within the sequence unit. The second statistical feature is obtained by statistically processing the blood glucose signals contained in the historical unit, reflecting the overall distribution and / or dynamic trend of blood glucose concentration represented by each blood glucose signal within the historical unit.

[0106] For example, the first and second statistical features can be quantified using statistical indicators. Statistical indicators can characterize the overall distribution and / or dynamic trend of blood glucose concentration represented by each blood glucose signal within a sequence unit from different statistical dimensions. These statistical indicators include, but are not limited to, at least one of peak value, trough value, rate of rise, rate of fall, mode, and baseline blood glucose.

[0107] The peak value represents the maximum value or a specified high quantile among the blood glucose concentrations represented by various blood glucose signals within the sequence unit. In a preferred embodiment, to reduce interference from outliers, the peak value can be the 95th quantile among the blood glucose concentrations represented by various blood glucose signals within the sequence unit, or it can be a smoothed value of a local maximum within a specified time period.

[0108] The trough value represents the minimum blood glucose concentration represented by each blood glucose signal within the sequence unit, or a specified low quantile. In a preferred embodiment, the trough value is taken as the 5th percentile of the blood glucose concentration represented by each blood glucose signal within the sequence unit.

[0109] The peak and trough values ​​correspond to the dynamic response boundaries of the sensor, reflecting the sensor's response capability at the upper and lower limits of the dynamic range of blood glucose. The combination of the two can further evaluate the linearity and saturation characteristics of the sensor throughout the entire physiological measurement range. When the measured peak / trough values ​​deviate significantly from the expected physiological limits, it can indicate the risk of sensor sensitivity attenuation or signal truncation in high or low concentration areas.

[0110] The rate of increase refers to the rate of increase in blood glucose concentration per unit time represented by each blood glucose signal within the sequence unit. The maximum rate of increase in blood glucose concentration per unit time can be used. This rate of increase can be obtained by calculating a blood glucose change rate sequence from the blood glucose signals corresponding to adjacent sampling points within the sequence unit, and using the maximum value or high quantile (e.g., the 95th percentile) of this sequence as the rate of increase. Alternatively, the average absolute rate of change of blood glucose signals within a specified time period can be calculated as the rate of increase, or the peak value of the first derivative of the blood glucose curve can be used as the rate of increase.

[0111] The rate of decrease refers to the rate at which the blood glucose concentration decreases per unit time within each blood glucose signal in the sequence unit. The maximum rate of decrease per unit time can be used. The rate of decrease focuses on the rate of change of the direction of blood glucose decrease, and its acquisition method is similar to that of the rate of increase, so it will not be repeated here.

[0112] The rising speed and the falling speed correspond to the sensor's ability to track the rate of change of blood glucose concentration in two directions: rising and falling. Together, they characterize the sensor's dynamic response bandwidth and hysteresis characteristics. If the measured rising / falling speed is consistently lower than the physiologically reasonable threshold or has a systematic deviation from the reference standard, it can be used to indicate that the sensor's sensitivity is insufficient or that there is a significant time delay in scenarios of rapid blood glucose fluctuations.

[0113] The mode represents the blood glucose concentration with the highest probability density among the blood glucose concentration distributions represented by the various blood glucose signals within the sequence unit. This highest probability density blood glucose concentration can be the mode of the blood glucose concentration distributions represented by the various blood glucose signals within the sequence unit, or it can represent the blood glucose concentration value corresponding to the highest probability density obtained through kernel density estimation. Optionally, the mode can be obtained from the peak value of the histogram of blood glucose concentrations represented by the various blood glucose signals within the sequence unit. If the blood glucose exhibits a multimodal distribution, the center value of the dominant mode can be taken. Alternatively, a clustering method such as K-means can be used to cluster the blood glucose concentrations represented by the various blood glucose signals within the sequence unit according to their concentration values, dividing them into several concentration clusters. The main cluster with the largest sample size is then selected, and the center point of the main cluster is used as the mode.

[0114] The mode corresponds to the output distribution shift of the sensor in common blood glucose ranges. Since human blood glucose has a relatively concentrated physiological distribution characteristic under steady state, the mode can be used as a sensitive indicator of whether the sensor output has undergone systematic drift. For example, when the mode position shifts significantly relative to the historical benchmark or population prior, but the user's actual metabolic state has not changed accordingly, it can be determined that the sensor's sensitivity in the commonly used range in the middle range may have an unexpected shift.

[0115] The benchmark blood glucose level represents the blood glucose concentration during a stable period of blood glucose signal within the time window corresponding to the sequence unit. The benchmark blood glucose level reflects the representative value of the user's baseline blood glucose level within the time window corresponding to the sequence unit. In a preferred embodiment, the blood glucose signal during a stable period of blood glucose signal within the time window corresponding to the sequence unit can be extracted, and the median of the blood glucose concentration represented by the extracted blood glucose signal can be used as the benchmark blood glucose level. For example, the blood glucose signal from 2:00 AM to 4:00 AM on the same day (during which the user is usually asleep and blood glucose fluctuations are minimal) can be extracted, and the median can be used as the benchmark blood glucose level. Alternatively, in another embodiment, a stable period of blood glucose signal can be identified by the coefficient of variation of blood glucose concentration, and the blood glucose concentration during this stable period can be determined as the benchmark blood glucose level. For example, the time window corresponding to the sequence unit can be divided into multiple consecutive sub-windows, the coefficient of variation or standard deviation of blood glucose concentration in each sub-window can be calculated, and the median blood glucose level of the sub-window with the smallest coefficient of variation or standard deviation can be selected as the benchmark blood glucose level.

[0116] In addition, the baseline blood glucose can also be obtained through other optional calculation methods, such as taking the median of the blood glucose concentration represented by each blood glucose signal in the entire sequence unit, extracting the blood glucose concentration during a specific physiological period (such as the fasting period), or obtaining the baseline value by linear / nonlinear fitting of the blood glucose concentration curve of the sequence unit.

[0117] The reference blood glucose level corresponds to the basic sensitivity and baseline level of the blood glucose sensor. Essentially, it is the zero-input response or background output mapping value of the sensor under low dynamic and steady-state conditions. When the reference blood glucose level shows monotonous drift or deviates from the factory calibration beyond the allowable range over time, it can be used to determine that the baseline sensitivity degradation may be caused by aging of the electrochemical interface, enzyme activity decay, or changes in membrane permeability, rather than by the user's actual blood glucose fluctuations.

[0118] The specific method for obtaining any of the above statistical indicators can be selected according to the actual application scenario, and this embodiment does not limit it. By comprehensively considering the above multiple statistical indicators, the real changes in the sensitivity of the blood glucose sensor can be captured from different dimensions, thereby effectively distinguishing between physiological blood glucose fluctuations and sensor sensitivity drift, reducing the risk of misjudging normal physiological changes in blood glucose as errors in the blood glucose sensor and performing improper calibration.

[0119] In addition to the six statistical indicators mentioned above, some embodiments may also include auxiliary indicators reflecting blood glucose variability, such as the standard deviation of blood glucose within a preset time window, coefficient of variation (CV), mean blood glucose fluctuation amplitude (MAGE), mean absolute difference of blood glucose within a preset time window (MODD), and low blood glucose index (LBGI), to help determine the stability of the sensor and improve the comprehensiveness of drift detection.

[0120] It is understood that the statistical indicators involved in the other embodiments following this embodiment are all statistical quantities calculated based on blood glucose signals within the corresponding sequence unit or the corresponding time window. The calculation method of the same statistical indicator in subsequent embodiments shall be performed in accordance with the definition here, and will not be repeated.

[0121] Regarding step S130, this step, based on the overall drift rate of each sequence unit determined in step S120, determines whether there is a sequence unit that meets the preset stability condition. The preset stability condition is used to reflect that the signal output of the blood glucose sensor is in a steady-state operating state, that is, the sensor does not show significant performance drift within the time period corresponding to the sequence unit.

[0122] The preset stability condition may include, but is not limited to, any of the following stability conditions:

[0123] (1) First stability condition: The absolute value of the overall drift rate of a single sequence unit is less than or equal to the preset stability threshold;

[0124] This first stability condition is determined solely based on the absolute value of the overall drift rate, which can quickly identify whether a single sequence unit has reached a steady-state output level. It is simple to calculate, has a rapid response, and is suitable for calibration triggering scenarios with high real-time requirements.

[0125] If the overall drift rate of sequence unit i is expressed as The preset stability threshold is expressed as Then the first stability condition requires .

[0126] For example, A value of 0.05 can be used, indicating that the drift of the blood glucose signal output of this sequence unit compared to the historical unit does not exceed [a certain value]. This means that the sensor is considered to be in a stable operating state (i.e., steady-state operation) within the time window corresponding to the sequence unit.

[0127] (2) Second stability condition: The absolute value of the overall drift rate of a single sequence unit is less than or equal to a preset stability threshold, and includes at least one of the following additional conditions: The reference blood glucose of a single sequence unit is within the normal blood glucose level, which represents the blood glucose during the stable period of the blood glucose signal in the sequence unit; There are multiple sequence units including the sequence unit and satisfying the time window continuity, and all of the multiple sequence units satisfy the steady state requirement; The steady state requirement is set based on at least one of the overall drift rate and the reference blood glucose.

[0128] The second stability condition, based on the overall drift rate meeting the preset stability threshold, adds further constraints to improve the rigor and reliability of steady-state determination, avoiding the risk of misjudgment caused by judging stability simply because a single drift rate indicator meets the preset stability threshold.

[0129] The additional condition is that the baseline blood glucose level of a single sequence unit is within the normal blood glucose level. This is used to limit the user's baseline blood glucose level within the normal physiological range within the time window corresponding to that sequence unit. This avoids incorrectly judging the state as steady state when the sensor has actually drifted significantly but the overall drift rate is still within the threshold due to statistical compensation effects (such as positive and negative drift canceling each other out). This further improves the accuracy and safety of steady state determination.

[0130] If the baseline blood glucose of sequence unit i is represented as Normal blood glucose levels are determined by the lowest blood glucose concentration. Peak blood glucose concentration If limited, then .

[0131] For example, , Then the baseline blood glucose The value needs to fall within The purpose of setting the upper limit of this range is to exclude extreme data days in dangerous states such as diabetic ketoacidosis, rather than to limit the patient's typical blood glucose level. For diabetic patients with poor blood glucose control, their daily blood glucose may exceed 13.9 mmol / L. If the upper limit is set too low, the baseline day will not be locked for a long time and the calibration function will not be able to start.

[0132] The additional condition includes multiple sequence units, including the sequence unit, that satisfy the time window continuity. All of these multiple sequence units satisfy the steady-state requirement. Essentially, it requires that multiple consecutive sequence units, including the sequence unit, reach a stable output state in order to achieve steady-state confirmation based on continuous time period consistency verification.

[0133] For example, assuming the sequence unit uses a calendar day as the preset time window, this additional condition requires that the steady-state requirement be met for multiple consecutive days, meaning that the sequence units corresponding to multiple consecutive calendar days are all determined to be stable. This condition can effectively eliminate accidental steady-state determinations caused by single-day data anomalies (such as occasional signal jumps, sudden fluctuations in the user's physiological state, etc.), enhancing the robustness and reliability of the reference unit selection.

[0134] The sequence unit, including the sequence unit, can be a set of consecutive sequences starting from the sequence unit and including the next K sequence units that are sequentially following the sequence unit and have consecutive time windows; or it can be a set of consecutive sequences ending from the sequence unit and including the next K sequence units that are sequentially preceding the sequence unit and have consecutive time windows; or it can be a set of consecutive sequences centered on the sequence unit and taking consecutive adjacent sequence units forward and backward along the time sequence.

[0135] For example, the received blood glucose signal is divided into sequence units including For sequence units Three consecutive sequence units, including this sequence unit, can be { },or ,or When the additional condition is "there exist multiple sequence units, including the sequence unit, that satisfy a continuous time window, and all of these multiple sequence units satisfy the steady-state requirement", when determining the sequence unit under this additional condition, it is necessary to check whether there are any three consecutive sequence units of any of the above forms that satisfy the steady-state requirement. If there are no three consecutive sequence units of any form, or if there are three consecutive sequence units but at least one of them does not satisfy the steady-state requirement, then the sequence unit is deemed not to satisfy the additional condition.

[0136] This steady-state requirement is based on at least one of the following: overall drift rate and baseline blood glucose, and may include any one or a combination of the following:

[0137] The overall drift rate of each of the multiple sequence units is less than or equal to the preset stability threshold; or,

[0138] The variance of the sequence formed by the overall drift rates of multiple sequence units is less than or equal to a preset variance threshold; or,

[0139] The continuous changes in the baseline blood glucose levels of each of the multiple sequence units are all within the range of physiological fluctuations.

[0140] In this sequence, the continuous representation of the reference blood glucose levels for each of the multiple sequence units occurs between temporally adjacent sequence units. The change in the reference blood glucose level of a later sequence unit relative to the reference blood glucose level of a previous sequence unit is within a preset physiological tolerance range. For example, if the reference blood glucose level for sequence unit 5 is 6.2 mmol / L, for sequence unit 6 it is 6.0 mmol / L, and for sequence unit 7 it is 6.3 mmol / L, then the change between sequence units 5 and 6 is -0.2 mmol / L, and the change between sequence units 6 and 7 is +0.3 mmol / L. Both of these fall within the preset physiological tolerance range, thus determining that the continuous change in the reference blood glucose levels of these three sequence units meets the physiological fluctuation range requirements.

[0141] The steady-state requirement is not limited to the above example, and can also be set based on changes in other statistical characteristics during the determination of the overall drift rate. This application does not limit this requirement.

[0142] In this implementation step, for each sequence unit whose overall drift rate has been determined, it can be determined whether each sequence unit meets the preset stability condition. Alternatively, since a blood glucose sensor usually requires a certain transition time from activation to entering a stable operating state, and the fact that a single sequence unit meets the preset stability condition only indicates that the degree of sensor drift within that period is within an acceptable range, sensor drift is a gradual process with a cumulative effect. In order to further improve the reliability of the reference unit locking and avoid systematic deviations in subsequent calibration due to premature locking of an unstable reference, this embodiment, when determining whether there is a sequence unit that meets the preset stability condition, first selects candidate units from the sequence units that meet the integrity requirements before performing stability determination, and then makes a judgment based on the overall drift rate of the candidate units.

[0143] That is, for a sequence unit whose overall drift rate is currently determined, if the next adjacent sequence unit of the sequence unit has not yet been generated when calculating the overall drift rate of the sequence unit, or if the next adjacent sequence unit of the sequence unit exists in the sequence unit set, then the sequence unit is regarded as a candidate unit; the next adjacent sequence unit is located after the sequence unit in time sequence and is continuous with the sequence unit in time window; the sequence unit set is composed of the sequence units whose overall drift rate is currently determined;

[0144] The detection determines whether there exists at least one candidate unit whose overall drift rate satisfies the preset stability condition; the candidate unit that satisfies the preset stability condition is taken as the sequence unit that satisfies the preset stability condition.

[0145] In other words, this embodiment only performs a preset stability condition judgment on sequence units that meet specific screening criteria, based on the sequence units that currently determine the overall drift rate. These specific screening criteria are related to the method of determining the benchmark unit based on the sequence units that meet the preset stability condition. This application provides a method for delaying the determination of the benchmark unit based on the sequence units that meet the preset stability condition. After determining that a sequence unit meets the preset stability condition, it does not immediately lock the sequence unit as the benchmark unit, thereby delaying the locking of the benchmark unit from the sequence unit that meets the preset stability condition to the time window of the next adjacent sequence unit.

[0146] For example, assuming the preset time window is a calendar day, when the sequence unit on day d first meets the preset stability condition, this embodiment does not directly use day d as the reference unit, but instead locks the reference unit to day d+1. This reference unit setting method provides the blood glucose sensor with a more sufficient period of stability. Day d already meets the drift rate threshold condition, indicating that it has entered a stable state relative to the previous day. Setting the reference unit to day d+1 ensures that the sensor is in a stable operating state for the entire 24 hours before day d+1, avoiding the risk of misjudgment caused by locking the reference day based solely on single-day data. This conservative strategy of confirming through observation before locking improves the reliability of the reference unit locking.

[0147] Based on this, this embodiment sets specific filtering conditions including:

[0148] (1) In the set of sequence units consisting of the sequence units whose overall drift rate is currently determined, if there is a next adjacent sequence unit of the currently traversed sequence unit, then the sequence unit is regarded as a candidate unit.

[0149] In this case, there is a subsequent adjacent sequence unit. Therefore, when the sequence unit meets the preset stability condition, the reference unit can be locked after the first time the preset stability condition is met. This avoids invalid stability determination for sequence units that do not meet the delayed locking condition, thereby improving the computational efficiency of the determination process.

[0150] (2) In the sequence unit where the overall drift rate is currently determined, the next adjacent sequence unit of the currently traversed sequence unit has not yet been generated when calculating the overall drift rate of that sequence unit;

[0151] In this case, the next adjacent sequence unit of the currently traversed sequence unit has not yet been generated, and it needs to be included in the judgment process of the preset stability condition. If the judgment is not performed in advance, when the next adjacent sequence unit of the subsequent sequence unit is generated and meets the signal integrity required for drift rate calculation, it is necessary to return to the historical sequence unit for stability judgment, which will lead to repeated backtracking of the calculation process and reduce the overall processing efficiency.

[0152] By pre-determining the stability of the currently traversed sequence units when a new sequence unit is generated and caching the determination result, when a subsequent new sequence unit is generated and meets the signal integrity requirements for the drift rate calculation, the cached result can be directly retrieved to quickly determine whether the reference unit can be locked as the next adjacent sequence unit of the current sequence unit. In other words, if the sequence unit meets the preset stability condition, the reference unit can be locked with a delay relative to the first time the preset stability condition is met, even after waiting for a subsequent new sequence unit to be generated and meet the signal integrity requirements for the drift rate calculation.

[0153] Regarding step S140, this step indicates that there is a processing branch for sequence units that meet the preset stability conditions. This processing branch is used to determine the reference unit based on the sequence units that meet the preset stability conditions.

[0154] The reference unit refers to a specific sequence of units determined by a preset stability condition judgment mechanism during sensor operation, serving as the reference origin for all subsequent calibration calculations. This reference unit is taken from the early steady-state operation phase after the sensor is implanted in the human body. At this time, the in vivo response characteristics of the blood glucose sensor in the early stage of implantation are highly consistent with the current signal-blood glucose concentration mapping relationship established under the in vitro standard test environment during factory calibration. The sensitivity characteristics of the sensor in the early stage of operation are close to the original sensitivity state at the time of factory calibration. At this time, the sensor electrode surface has not been significantly affected by factors such as protein adsorption, inflammatory response, or signal attenuation caused by long-term implantation. The blood glucose signal is minimally affected by the heterogeneity of the individual physiological microenvironment and long-term drift factors, and the output blood glucose signal most accurately reflects the user's in vivo blood glucose level. In this embodiment, the early steady-state operation phase of the sensor is identified by preset stability conditions and the overall drift rate of the sequence units, and the reference unit is locked. This establishes a fixed reference origin that is as close as possible to the actual initial value of the sensor at the time of factory calibration for all subsequent calibration calculations, serving as the absolute reference origin for subsequent calibration calculations.

[0155] The determination of this reference unit essentially involves pre-locking a stable reference unit as a fixed anchor point while the sensor drift is not significant and the signal output is still within the effective range of the factory sensitivity. Regardless of how the sensor drift evolves, all calibrations are performed back to this fixed anchor point, rather than dynamically searching for a relatively stable point in the drift trajectory, thereby ensuring the consistency and traceability of the calibration results.

[0156] Regarding the determination of the reference unit, after obtaining the sequence unit that meets the preset stability conditions, for scenarios where users or clinical settings require calibration to be initiated as soon as possible, the sequence unit that meets the preset stability conditions can be directly used as the reference unit to shorten the calibration initiation waiting time. Alternatively, based on the conservative strategy of observation and confirmation before locking as described above, the next adjacent sequence unit that meets the stability conditions can be selected as the reference unit, instead of directly using the sequence unit that meets the conditions itself as the reference unit. This ensures that the sensor is in a stable operating state throughout the entire time window before the reference unit, avoiding the risk of misjudgment caused by locking the reference unit based solely on the data of a single sequence unit.

[0157] Once a reference unit is determined, the various blood glucose signals included in that reference unit and / or the statistical features extracted to determine the overall drift rate of that reference unit can be stored as a fixed reference feature vector, which is used as a long-term benchmark in subsequent blood glucose measurement calibration calculations. After the reference unit is determined based on the sequence units that meet the preset stability conditions, the reference unit remains fixed throughout the entire operating cycle of the blood glucose sensor and is not updated or replaced. In other words, for a single-deployed blood glucose sensor, only one reference unit is determined as a fixed calibration reference origin throughout its entire life cycle. Even if the sensor signal experiences a sharp drift and then recovers to a relatively stable state during subsequent monitoring, the system does not trigger the re-evaluation and locking mechanism of the reference unit, thereby ensuring the global uniqueness and irreversibility of the self-calibration reference benchmark.

[0158] The purpose of this design is to: (1) provide a fixed absolute reference origin to avoid the drift of the reference anchor point caused by frequent replacement of the reference unit, thereby reducing the accumulation and transmission of errors; (2) the sensor drift in the later stage is naturally tracked and compensated by updating the calibration coefficient of the sequence unit corresponding to each preset time window, without the need to change the reference unit. That is to say, for each preset time window after the reference unit, the reference unit is used as a unified reference origin, and the calibration coefficient adapted to the current drift state is calculated for each preset time window. The blood glucose measurement value in the corresponding time window is calibrated by using the dynamically updated calibration coefficient, thereby offsetting the deviation caused by sensor drift in real time.

[0159] It should be noted that the method for determining the reference unit in this embodiment differs from the approach of dynamically finding the point of minimum drift rate throughout the sensor's entire lifecycle. While the latter logic can select the period with the relatively flattest drift rate, this period often occurs in the later stages of sensor operation, and the corresponding blood glucose signal has already accumulated long-term system drift. Using this as a reference for subsequent calibration will introduce untraceable system bias. In contrast, this embodiment uses a strategy of locking a fixed anchor point early in the sensor's operation to ensure the uniqueness and traceability of the calibration reference origin in the time dimension.

[0160] In addition, in order to force the locking of the reference unit in the early stage of sensor operation and avoid the reference locking time being delayed to the middle and late stages of sensor operation due to the failure to meet the judgment conditions, at which point the sensor has drifted significantly and the sequence unit that meets the preset stability conditions no longer has the value as an absolute reference origin, this embodiment can also configure a preset maximum observation period. The preset maximum observation period corresponds to a preset duration (e.g., 7 days) calculated from the time of activation of the blood glucose sensor. This duration covers multiple sequence units from the early to the middle stage of sensor operation and is used to limit the latest time boundary for the determination of the reference unit, so as to establish a fixed reference origin that is as close as possible to the actual initial value of the sensor as possible for all subsequent calibration calculations.

[0161] If no sequence unit that meets the preset stability condition is found within the preset maximum observation period, the next adjacent sequence unit of the sequence unit with the smallest absolute value of overall drift rate within the preset maximum observation period can be used as the reference unit, or the calibration parameters under the factory calibration function can be used and a prompt message can be output.

[0162] After determining the reference unit, it can be used as a calibration reference for blood glucose measurements following the reference unit, calibrating the blood glucose measurements output by the blood glucose sensors in each subsequent sequence unit. Specifically, the drift degree of the current sequence unit to be calibrated relative to the reference unit is determined through the reference unit, and this drift degree is quantified as a calibration coefficient to calibrate the blood glucose measurements output by the blood glucose sensors in the current sequence unit to be calibrated. This calibration can be performed point-by-point on the blood glucose measurement value represented by each blood glucose signal periodically collected by the blood glucose sensor within the sequence unit to preserve complete details of blood glucose fluctuations, or it can be performed on the final output blood glucose value at the end of the sequence unit to reduce computational costs. Both calibration methods can be flexibly selected according to the actual application scenario and computing resources.

[0163] Regarding step S150, this step is a processing branch where no sequence unit among the existing sequence units meets the preset stability condition. This indicates that no sequence unit currently meets the preset stability condition, so it waits for a new sequence unit to be generated (i.e., waits for the sensor to continue running and accumulate new blood glucose signals). When a new sequence unit is generated, if the new sequence unit meets the signal integrity required for the drift rate calculation, it returns to step S120. Based on the blood glucose signals included in the sequence unit and the historical unit, it determines the overall drift rate of the sequence unit, and based on the sequence unit whose overall drift rate is currently determined, it determines whether there is a sequence unit that meets the preset stability condition. The above process is repeated until any set termination condition is met.

[0164] This termination condition is used to define the end time of the reference unit search process in the self-calibration procedure, preventing the system from falling into an indefinite loop waiting state due to factors such as continuous instability of sensor signals or environmental interference. This ensures the convergence of the self-calibration algorithm and the effective utilization of system computing resources. It may include, but is not limited to, determining that the cumulative runtime of the reference unit or blood glucose sensor reaches the preset maximum observation period mentioned above. If no sequence unit that meets the preset stability condition is found within the preset maximum observation period, the next adjacent sequence unit of the sequence unit with the smallest absolute value of overall drift rate within the preset maximum observation period can be used as the reference unit.

[0165] If the blood glucose sensor has a factory calibration function, and no sequence unit that meets the preset stability conditions is found within the preset maximum observation period, the secondary calibration process of this application method can be paused. The calibration parameters under the original factory calibration function of the blood glucose sensor can be used to process the current signal collected now and subsequently and output the blood glucose measurement value. At this time, a prompt message can also be output to inform the user that the reference unit has not been successfully locked and the system has reverted to the state of relying only on the calibration parameters of the factory calibration function. The currently output blood glucose value may have uncompensated drift due to long-term wear.

[0166] In the initial assessment (i.e., immediately after the self-calibration function is triggered), the electronic device performs a preset stability condition assessment on each sequence unit generated after the sensor activation and before the self-calibration function is triggered, based on which the overall drift rate has been determined. In subsequent rounds, the electronic device only needs to calculate the overall drift rate and assess the stability of newly generated sequence units since the most recent preset stability condition assessment that have not yet had their overall drift rate evaluated. Sequence units whose overall drift rate has already been calculated in previous rounds can have their overall drift rate cached for later use without needing to be recalculated.

[0167] In this embodiment of the disclosure, the blood glucose signal continuously output by the blood glucose sensor during operation is used. The continuous blood glucose signal is divided into several sequence units with a preset time window as the granularity. After the self-calibration function is triggered, steady-state determination is performed based on the signal integrity and overall drift rate of each sequence unit and its historical units. Then, a sequence unit is locked from the stable period in the early stage of sensor operation as the absolute reference origin for all subsequent calibrations, so as to achieve fully automatic and continuous calibration without user intervention.

[0168] On the one hand, the method provided in this embodiment enables automatic data-driven analysis of the entire calibration process based on the blood glucose signal collected by the sensor itself. This eliminates the need for users to periodically collect finger-prick blood and manually input reference values ​​during wear, fundamentally eliminating the physiological pain and operational burden caused by finger-prick blood collection, and improving user compliance and wearing experience.

[0169] On the other hand, by introducing the overall drift rate of sequence units and the preset stability condition judgment mechanism, this application can keenly capture and quantify the continuous and slow drift caused by factors such as aging, bioaccumulation, enzyme activity decay and individual physiological environment changes of the sensor. In the early stage of sensor operation (i.e., when the drift is not significant and the sensitivity is still close to the factory true value), a fixed and reliable reference unit is locked as the calibration origin. All subsequent calibrations are backtracked to this fixed anchor point for calculation. This avoids the inherent defect of being unable to effectively correct the system deviation between two calibrations due to the reliance on external reference values ​​at discrete time points. It also avoids the systemic risk of introducing untraceable drift by dynamically searching for a stable point in the later stage of sensor operation. Thus, it achieves continuous and reliable measurement accuracy of blood glucose values ​​within the sensor's service life.

[0170] In addition, when calculating the overall drift rate of each sequence unit, this embodiment requires that the blood glucose signals included in each sequence unit and its corresponding historical unit meet the signal integrity requirements for drift rate calculation. This effectively prevents false drift rates introduced by signal defects from participating in the stability evaluation of the reference unit, and avoids the sensor being misjudged as being in a steady state or a drift state due to individual abnormal or incomplete data segments. This ensures that the final locked reference unit truly reflects the steady-state output performance of the sensor, providing a highly confident reference for the subsequent automatic calibration of blood glucose measurement values ​​based on this reference unit.

[0171] In some embodiments, the foregoing embodiments involve the implementation of a method that utilizes at least one statistical indicator as a quantification of statistical features to determine the overall drift rate of a sequence unit based on the difference information between the sequence unit and historical units in statistical features. See also Figure 2AAn exemplary flowchart illustrates the steps for determining the overall drift rate of a sequence unit. The process of determining the overall drift rate of the sequence unit based on the blood glucose signals included in the sequence unit and the historical unit can be implemented through the following steps:

[0172] S201, Statistical processing is performed on each blood glucose signal included in the sequence unit to determine a first indicator value of at least one statistical indicator;

[0173] S202, perform statistical processing on each blood glucose signal included in the historical unit to determine the second indicator value of the at least one statistical indicator;

[0174] The first two steps are used to perform the same statistical processing on the sequence unit and the historical unit respectively, to determine the first indicator value of at least one statistical indicator in the sequence unit, and to determine the second indicator value of the at least one statistical indicator in the historical unit.

[0175] Taking a preset time window as a natural day as an example, if the sequence unit is day j and the historical unit is day j-1, then the blood glucose signals collected by the blood glucose sensor on day j are statistically processed to obtain the first index value of at least one statistical indicator, and the blood glucose signals collected by the blood glucose sensor on day j-1 are statistically processed to obtain the second index value of the same statistical indicator on day j-1.

[0176] When the historical unit includes multiple preceding sequence units that are consecutive to the sequence unit in a time window, for any statistical indicator, the second indicator value of that statistical indicator can be obtained through any of the following indicator value determination methods. Those skilled in the art can flexibly choose an appropriate determination method based on the actual application scenario; this application does not limit this choice. Indicator value determination methods include:

[0177] Method 1: Combine all blood glucose signals contained in the first few consecutive sequence units into a single signal sequence, and perform statistical processing on the combined signal sequence to obtain the second indicator value of the statistical index. For example, if the statistical index is the mode, then sort all blood glucose signals in the first few consecutive sequence units and take the mode.

[0178] Method 2: For each sequence unit in the first multiple sequence units, perform statistical processing based on the blood glucose signals contained in the sequence unit to obtain the initial value of the statistical indicator corresponding to the sequence unit; further, perform secondary statistical processing on the indicator sequence formed by the initial values ​​corresponding to the first multiple sequence units, such as calculating the average or median, and use the result of the secondary statistical processing as the second indicator value of the statistical indicator.

[0179] S203, based on the degree of deviation of the first indicator value of the at least one statistical indicator from the second indicator value, determine the overall drift rate of the sequence unit.

[0180] Statistical indicators can reflect the central tendency or dispersion of blood glucose signals output by a blood glucose sensor within the time window covered by a corresponding sequence unit. The difference in the value of the same statistical indicator between a sequence unit and its historical value is used to quantify the relative changes in the sensor's output characteristics in various dimensions between adjacent time windows. This characterizes the shift in blood glucose signal output characteristics of the sensor during the corresponding time period of the sequence unit compared to historical time periods. Therefore, the overall drift rate of the sequence unit can be determined based on the degree of deviation between the first indicator value and the second indicator value of each statistical indicator.

[0181] In practical implementation, to reduce computational complexity, improve decision-making efficiency, and facilitate real-time execution on resource-constrained embedded devices, the degree of deviation of a single pre-specified statistical indicator from at least one statistical metric can be used as the quantified value of the overall drift rate of the sequence unit. For example, if the pre-specified single statistical indicator is a baseline blood glucose level, the relative rate of change between the first indicator value of the baseline blood glucose level in the sequence unit and the second indicator value of the baseline blood glucose level in the historical unit can be determined, and this relative rate of change can be used as the overall drift rate of the sequence unit. The relative rate of change between the first indicator value of the baseline blood glucose level and the second indicator value of the baseline blood glucose level in the historical unit can be expressed as: .

[0182] However, a single statistical indicator often only reflects one aspect of sensor drift and cannot fully capture the combined effect of sensitivity drift and baseline shift. To more comprehensively and accurately assess the overall drift status of the sensor and improve the overall drift rate's ability to characterize various drift patterns, the degree of deviation of multiple statistical indicators can be considered together. See also Figure 2B An exemplary flowchart illustrates a process for determining the overall drift rate based on the degree of deviation of various statistical indicators, which includes the following steps:

[0183] S2031, Based on the degree of deviation between the first indicator value and the second indicator value of each statistical indicator, determine the single feature drift rate of each statistical indicator;

[0184] The single-feature drift rate can be defined as the relative change between a sequence unit and a historical unit. If the first indicator value of the p-th statistical indicator in sequence unit i is expressed as... The second indicator value of the p-th statistical indicator in historical unit h represents The single-feature drift rate of the p-th statistical index in sequence unit i is expressed as: Then, the single-feature drift rate of the p-th statistical index in sequence unit i can be expressed as:

[0185]

[0186] In a blood glucose monitoring scenario where multiplicative drift of the blood glucose sensor dominates, the single-feature drift rate of the p-th statistical index in sequence unit i can also be expressed in the form of logarithmic difference:

[0187]

[0188] In other implementations, the single-feature drift rate can also be represented by the slope obtained from a sliding linear regression of multiple sequence units. For example, by performing a linear regression of the historical units and sequence units within a sliding window on the index values ​​of the statistical indicator, the ratio of the slope to the window mean can be taken as the single-feature drift rate of the statistical indicator. To improve the ability to resist outliers, the Theil-Sen regression (median slope) method can also be used to determine the single-feature drift rate of the statistical indicator.

[0189] S2032, perform fusion processing on the single feature drift rates of each of the statistical indicators to determine the overall drift rate of the sequence unit.

[0190] After determining the single-feature drift rate of each statistical indicator, the single-feature drift rates of each statistical indicator are fused to determine the overall drift rate of the sequence unit.

[0191] In a preferred embodiment, the fusion process employs a weighted average method, that is, by using the weight coefficients configured for each statistical indicator, the single-feature drift rate of each statistical indicator is weighted, and the weighted result is used as the overall drift rate of the sequence unit. The sum of the weight coefficients configured for each statistical indicator is 1.

[0192] Assume the weight coefficient of the p-th statistical indicator is The overall drift rate of sequence unit i under the weighted processing method is... It can be represented as:

[0193]

[0194] Where M represents the total number of statistical indicators; This represents the total weight.

[0195] When the single-feature drift rate of a certain statistical indicator exhibits significant outliers (e.g., exceeding the single-feature drift rates of other statistical indicators by several times), the single-feature drift rate of that statistical indicator can be removed or its weight coefficient reduced during the fusion process to avoid interference from abnormal drift rates on the overall drift rate. In this case, based on the general weighted average formula, the sum of weights represented by the denominator can be replaced with the actual sum of the remaining weight coefficients, without the need for additional normalization calculations.

[0196] The weighting coefficients can be determined using either fixed weighting or dynamic weighting. In a fixed weighting scheme, the weighting coefficients can be pre-set based on user training data or physiological priors. For example, taking statistical indicators including peak, trough, rate of rise, rate of fall, mode, and baseline blood glucose as examples, the baseline blood glucose directly reflects the sensor's baseline sensitivity drift, and the mode reflects the sensor's output distribution shift within common blood glucose ranges; both can be assigned high weighting coefficients, such as 0.25. The rate of rise and rate of fall reflect the sensor's ability to track the rate of change in blood glucose, and are assigned weighting coefficients, such as 0.15. The peak and trough reflect the sensor's response capability within the upper and lower bounds of the dynamic range of blood glucose, and are assigned weighting coefficients, such as 0.1.

[0197] In the dynamic weight setting method, the weight coefficient of each statistical indicator can be adaptively allocated based on the recent stability of the drift rate sequence of each statistical indicator. The drift rate sequence of any statistical indicator represents the sequence formed by arranging the single feature drift rate of the statistical indicator in time order among multiple sequence units in which the overall drift rate has been calculated recently.

[0198] For example, the inverse variance method can be used to determine the weight coefficients of each statistical indicator. Specifically, for each statistical indicator, the variance of the most recent L (e.g., L=5) single-feature drift rates in its drift rate sequence is calculated. The larger the variance, the more drastic the recent single-feature drift rate fluctuations of the statistical indicator, meaning the lower the reliability of the statistical indicator as a drift assessment basis. Conversely, the smaller the variance, the more stable the single-feature drift rate of the statistical indicator has been recently, meaning the statistical indicator can consistently reflect the sensor's drift status, and its reliability as an assessment basis is higher. Based on this, the inverse of the variance is taken as the initial weight of the statistical indicator, and then the initial weights of all statistical indicators are normalized to obtain the weight coefficients of each statistical indicator. In this way, statistical indicators with smaller variances (i.e., more stable drift rates) receive higher weights.

[0199] In addition, the weighting coefficients of statistical indicators can be dynamically adjusted according to the stage of sensor use. For example, in the early stage of blood glucose sensor implantation, the sensor has sufficient enzyme activity on the electrode surface and the membrane has not yet been contaminated. At this time, the sensor response speed is relatively fast, and statistical indicators of change rate can more sensitively reflect the instantaneous drift characteristics of the sensor. Therefore, higher weights can be assigned to statistical indicators of change rate. In the later stage of blood glucose sensor use, the sensor response speed decreases, but the baseline blood glucose can still relatively stably reflect the baseline blood glucose level. At this time, higher weighting coefficients can be assigned to the baseline blood glucose.

[0200] In another implementation, the fusion processing of the single-feature drift rates of each statistical indicator can also be achieved using nonlinear fusion methods, dimensionality reduction fusion methods, or state estimation fusion methods. For example, fuzzy logic rules can be established by simulating expert experience, using the positive or negative sign (representing the drift direction) and magnitude (representing the drift degree) of the single-feature drift rates of each statistical indicator as fuzzy inputs. Fuzzy reasoning is performed according to a pre-designed "if-then" reasoning rule, and finally a comprehensive overall drift value is output as the overall drift rate of the sequence unit. Alternatively, the drift rates of each statistical indicator can be regarded as observations of the actual drift state of the sensor, and the unobservable true overall drift rate can be estimated using a Kalman filter as the overall drift rate of the sequence unit.

[0201] The above fusion method is only an illustrative example. In practical applications, the appropriate fusion processing method can be flexibly selected according to the drift characteristics of the sensor, computing resources and accuracy requirements. This application does not limit this.

[0202] In this embodiment, by fusing the single-feature drift rates of multiple statistical indicators, the representative advantages of each indicator in different drift patterns can be comprehensively utilized to fully capture the actual overall drift status of the blood glucose sensor. This effectively dilutes and suppresses random noise or abnormal fluctuations that may exist in individual statistical indicators, making the final determined overall drift rate smoother, more stable, and more reliable, thus improving the overall drift rate's anti-interference and robustness. Furthermore, different statistical indicators have different response sensitivities to different types of sensor degradation. Through multi-indicator fusion, the drift trend can be comprehensively determined by using the early responses of other indicators when one indicator is not yet sensitive. This allows for the early capture of sensor drift signs in the early stages of blood glucose sensor operation, facilitating the timely locking of a stable reference unit before sensor drift becomes significant.

[0203] In some embodiments, regarding the aforementioned step S130 of introducing candidate units and judging the candidate units based on preset stability conditions, this embodiment provides an implementation method for delaying the locking of the reference unit when there are candidate units that meet the preset stability conditions. This avoids the problem of the sensor being prematurely locked as the reference due to only accidentally reaching a steady state on a single day or during a single period of time, leading to unreliable subsequent calibration reference origins. See also Figure 3 An exemplary flowchart for determining a reference unit is shown, which determines the reference unit based on a sequence of units that satisfy the preset stability condition, including:

[0204] S301, when the number of sequence units satisfying the preset stability condition is 1:

[0205] If there exists a sequence unit in the set of sequence units that satisfies the preset stability condition, then the sequence unit that satisfies the preset stability condition is taken as the reference unit.

[0206] Otherwise, wait for the generation of the next adjacent sequence unit that satisfies the preset stability condition, and when the next adjacent sequence unit satisfies the signal integrity required for the drift rate calculation, use the next adjacent sequence unit as the reference unit.

[0207] When candidate units are introduced, the sequence units that satisfy the preset stability condition are the candidate units that satisfy the preset stability condition. In this step, if a candidate unit is detected to satisfy the preset stability condition, and if there is a subsequent adjacent sequence unit of the candidate unit among the sequence units in which the overall drift rate has been determined, then the subsequent adjacent sequence unit is directly locked as the reference unit; if the subsequent adjacent sequence unit has not yet been generated when the candidate unit is calculating the overall drift rate, then it is necessary to wait for the subsequent adjacent sequence unit to be generated, and after determining that the subsequent adjacent sequence unit satisfies the signal integrity required for drift rate calculation, the subsequent adjacent sequence unit is locked as the reference unit.

[0208] If the generated next adjacent sequence unit does not meet the signal integrity required for drift rate calculation, the candidate unit that meets the preset stability condition can be temporarily identified, and the search can continue to proceed based on the overall drift rate of other sequence units after the candidate unit to find whether there are other reference units that can be locked later; or, the sequence units after the next adjacent sequence unit can be used as the new starting point for the reference unit search, and the steps of detecting and locking the sequence units whose overall drift rate meets the preset stability condition can be re-executed until the reference unit is successfully locked or the preset maximum observation period is triggered and terminated.

[0209] For example, suppose the sequence units that have been generated and whose overall drift rate calculation has been completed are sequence units 1 to 4, and sequence unit 5 is still being generated, and sequence unit 4 is detected to meet the preset stability condition. In this case, after sequence unit 5 is generated:

[0210] If sequence unit 5 satisfies the signal integrity required for drift rate calculation, then according to the aforementioned delayed locking strategy, sequence unit 5 is used as the reference unit, and no fault tolerance processing is required.

[0211] If sequence unit 5 does not meet the signal integrity requirements for drift rate calculation (e.g., the blood glucose signal loss rate in sequence unit 5 is too high, making it impossible to effectively extract statistical features), then sequence unit 5 cannot be directly used as the baseline unit. In this case, a fault-tolerant strategy can be adopted:

[0212] (1) Temporarily label sequence unit 4 and continue to wait for subsequent newly generated sequence units such as sequence unit 6, sequence unit 7, etc., and continue to search backward based on the overall drift rate of these subsequent sequence units. If the overall drift rate of a subsequent sequence unit such as sequence unit 6 is calculated and meets the preset stability condition, sequence unit 6 itself can also be used as the reference unit.

[0213] (2) Skip sequence unit 5, calculate the overall drift rate for each sequence unit that satisfies the data validity after sequence unit 5 and make a preset stability condition judgment, re-detect whether there is a sequence unit that satisfies the preset stability condition in the new search range, and determine the reference unit according to the delayed locking strategy until the reference unit is successfully locked or the preset maximum observation period is triggered and terminated.

[0214] S302, if the number of sequence units that satisfy the preset stability condition is greater than 1, determine the sequence unit with the earliest time window among the multiple sequence units that satisfy the preset stability condition, and take the next adjacent sequence unit of the sequence unit with the earliest time window as the reference unit.

[0215] This step applies when multiple sequence units are detected to meet preset stability conditions. In this case, the sequence unit that first meets the preset stability conditions is selected, and its next adjacent sequence unit is chosen as the reference unit. This method can lock the earliest time period to reach steady state as the anchor point source among multiple steady-state operating periods, ensuring that the reference unit is as close as possible to the sensor's actual factory state. At the same time, through the observation and confirmation mechanism of moving one unit backward, the locked reference unit has undergone continuous stability verification for at least one complete time window, effectively balancing the authenticity of the reference origin and the reliability of the locking, and avoiding the risk of accidental achievement of the standard in a single time period due to the pursuit of early achievement.

[0216] To facilitate understanding of the above implementation steps, a specific example is given below. Assume that when the self-calibration function of the blood glucose sensor is triggered, three consecutive time-window sequence units (sequence units 1, 2, and 3) have been generated. Sequence unit 1, sequence unit 2, and sequence unit 3 all satisfy the signal integrity requirements for drift rate calculation. Sequence units 2 and 3 participate in the overall drift rate calculation. Based on this, sequence units 2 and 3 constitute a sequence unit set.

[0217] When determining whether there are sequence units that meet the preset stability conditions, sequence unit 2 has a subsequent adjacent sequence unit in the sequence unit set, while the subsequent adjacent sequence unit of sequence unit 3 has not yet been generated when calculating the overall drift rate. Therefore, sequence units 2 and 3 are considered as candidate units. Thus:

[0218] (1) If only sequence unit 2 is detected to meet the preset stability condition, then the next adjacent sequence unit of sequence unit 2, namely sequence unit 3, is directly selected as the reference unit;

[0219] (2) If only sequence unit 3 is detected to meet the preset stability condition, and the next adjacent sequence unit, i.e., sequence unit 4, has not yet been generated, then wait for sequence unit 4 to be generated, and after sequence unit 4 meets the signal integrity required for drift rate calculation, sequence unit 4 will be used as the reference unit.

[0220] (3) If it is detected that both sequence unit 2 and sequence unit 3 meet the preset stability conditions, then the sequence unit with the earliest time window among the multiple sequence units that meet the conditions is determined as sequence unit 2, and the next adjacent sequence unit of that sequence unit, namely sequence unit 3, is selected as the reference unit.

[0221] Regarding the calibration process described in step S140 for the blood glucose measurement values ​​output by the blood glucose sensor in the sequence units following the reference unit, since the sensitivity drift of the blood glucose sensor does not change abruptly but gradually decreases over time, the drift state of the sensor between adjacent sequence units changes relatively little. For example, when the preset time window is a calendar day, the sensor state on day i is not significantly different from that on day i-1. This continuously changing drift characteristic makes the statistical characteristics between adjacent sequence units highly similar and inheritable. Therefore, the drift state of the current sequence unit can be reliably estimated based on the statistical characteristics of the previous adjacent sequence unit.

[0222] This embodiment introduces the preceding adjacent sequence unit and presents a method for determining calibration coefficients based on statistical indicators to calibrate blood glucose measurements. See also... Figure 4A An exemplary flowchart illustrates a process for calibrating a blood glucose measurement value output by a blood glucose sensor within a sequence unit, which may include at least the following steps:

[0223] S401, taking any sequence unit after the reference unit as the target unit, if the blood glucose signal included in the preceding adjacent sequence unit of the target unit satisfies the signal integrity required for the drift rate calculation, then statistical processing is performed based on each blood glucose signal included in the preceding adjacent sequence unit to determine the third index value of at least one statistical index; wherein, the preceding adjacent sequence unit is located before the target unit in time sequence and is continuous with the target unit in time window;

[0224] If the blood glucose signal included in the preceding adjacent sequence unit of the target unit satisfies the signal integrity required for the drift rate calculation, it indicates that the quality of the blood glucose signal collected within the time window corresponding to the preceding adjacent sequence unit meets the requirements for the extraction of statistical features.

[0225] Therefore, statistical processing can be directly performed on the blood glucose signals included in the preceding adjacent sequence unit to determine the third index value of at least one statistical indicator. This reflects the actual output level of the sensor's blood glucose signal within the nearest time window before calibration of the target unit, thereby ensuring that the determined calibration coefficient can fully reflect the current drift state and maintain good time synchronization between the calibration coefficient and the sensor's real-time operating state. Alternatively, statistical processing can be performed on the blood glucose signals included in the L consecutive sequence units within the time window of the target unit to determine the third index value of at least one statistical indicator. This introduces more historical data samples to smooth out any random fluctuations or occasional noise that may exist in a single sequence unit, improving the stability and representativeness of the statistical indicator estimation.

[0226] The two methods described above can be flexibly selected based on the different emphases on real-time performance and stability in practical applications. The method for obtaining the values ​​of statistical indicators is described in the previous embodiments and will not be repeated here.

[0227] It should be noted that when performing statistical processing on the blood glucose signals included in the preceding adjacent sequence unit to determine the third index value of at least one statistical indicator, the blood glucose signals targeted by the statistical processing are strictly limited to uncalibrated raw blood glucose signals. That is, the blood glucose signals included in the preceding adjacent sequence unit are blood glucose signals collected by the blood glucose sensor within the time window corresponding to the preceding adjacent sequence unit and not calibrated based on the reference unit.

[0228] For example, if the target unit is day r, and it is known that the blood glucose sensor outputs 288 blood glucose signals on day r-1, then the blood glucose measurement values ​​corresponding to these 288 blood glucose signals are... After calibration, 288 calibrated blood glucose values ​​are output. If at least one third statistical indicator value is determined based on the blood glucose signal on day r-1, then the blood glucose measurement values ​​corresponding to the 288 blood glucose signals output by the blood glucose sensor on day r-1 are used. Perform statistical processing.

[0229] This method avoids changes in historical data, such as the blood glucose values ​​in the previous adjacent sequence unit, caused by feedback adjustments to the calibration coefficients. This prevents errors from cyclically accumulating and cascading in historical data, ensuring the stability and reliability of long-term calibration.

[0230] S402, based on the third indicator value of the at least one statistical indicator and the benchmark indicator value of the at least one statistical indicator within the benchmark unit, the calibration coefficient of the target unit is determined; the benchmark indicator value is obtained by statistically processing each blood glucose signal included in the benchmark unit;

[0231] S403, using the calibration coefficient of the target unit, calibrate the blood glucose measurement value output by the blood glucose sensor in the target unit.

[0232] The calibration factor represents a numerical factor used to compensate and correct the blood glucose measurement value output by the blood glucose sensor. This calibration factor is calculated based on the deviation relationship between a third indicator value of at least one statistical indicator and the corresponding benchmark indicator value within the benchmark unit.

[0233] Specifically, the calibration coefficient can be calculated based on the deviation relationship between the third indicator value of the pre-selected default statistical indicator among the at least one statistical indicator and the corresponding benchmark indicator value within the benchmark unit. Alternatively, it can be obtained by performing multi-dimensional weighted fusion on each statistical indicator of the at least one statistical indicator, using the deviation relationship between the third indicator value of each statistical indicator and its corresponding benchmark indicator value within the benchmark unit, to comprehensively analyze the deviation information across multiple statistical indicator dimensions and obtain a unified calibration coefficient that reflects the overall systematic deviation between the target unit and the benchmark unit. The weight coefficients of each statistical indicator are consistent with the weight coefficients used in the weighted fusion of the aforementioned embodiments.

[0234] The calibration coefficient can include, but is not limited to, multiplicative calibration coefficients, logarithmic bias calibration coefficients, or additive bias calibration coefficients to adapt to different types of sensor drift characteristics and error models. Specifically, multiplicative calibration coefficients are suitable for scenarios where there is a proportional deviation between the blood glucose sensor output value and the actual blood glucose value; compensation can be achieved by multiplying the blood glucose measurement value by the multiplicative calibration coefficient. Logarithmic bias calibration coefficients are suitable for scenarios where the blood glucose sensor exhibits a linear offset in the logarithmic domain; compensation can be achieved by taking the logarithm of the blood glucose measurement value, superimposing the logarithmic bias calibration coefficient, and restoring the original value. Additive bias calibration coefficients are suitable for scenarios where there is a fixed offset between the blood glucose sensor output value and the actual blood glucose value; compensation can be achieved by adding the additive bias calibration coefficient to the blood glucose measurement value.

[0235] The calibration coefficients determined by the above method can effectively compensate for systematic measurement deviations caused by factors such as individual differences, sensor aging, and changes in tissue fluid environment during actual use of the blood glucose sensor in the target unit, thereby improving the accuracy and reliability of blood glucose monitoring.

[0236] In some embodiments, the baseline blood glucose level reflects the user's basal blood glucose level under stable conditions such as sleep or rest, unaffected by external factors such as diet and exercise, exhibiting good diurnal repeatability and physiological stability. In this embodiment, a baseline blood glucose level is pre-selected as the designated statistical indicator to quickly and efficiently determine the calibration coefficient through the deviation relationship of a single statistical indicator. Based on this, as... Figure 4B An exemplary flowchart illustrating the determination of calibration coefficients and execution of calibration procedures based on a benchmark blood glucose level is provided. The determination of the calibration coefficients for the target unit based on the third indicator value of the at least one statistical indicator and the benchmark indicator value corresponding to the at least one statistical indicator within the benchmark unit, as described in step S402, can be implemented in any of the following ways:

[0237] S402a, determine the logarithmic deviation of the benchmark index value corresponding to the benchmark blood glucose level compared to the third index value of the benchmark blood glucose level, and use the logarithmic deviation as the calibration coefficient;

[0238] If the benchmark blood glucose level is represented as the benchmark index value... Since the third indicator value of the benchmark blood glucose is determined based on statistical processing of the blood glucose signals included in the preceding adjacent sequence unit of the target unit, let's assume the third indicator value of the benchmark blood glucose is expressed as... The calibration coefficient of the target unit is expressed as Then the calibration coefficient can be expressed as:

[0239]

[0240] This is the logarithmic bias, which represents the magnitude of change in the logarithmic domain of the benchmark index value corresponding to the benchmark blood glucose level compared to the third index value of the benchmark blood glucose level. It reflects the quantitative expression of the relative drift of the blood glucose sensor from the benchmark unit to the target unit in the logarithmic domain.

[0241] Under this calculation method, the obtained calibration coefficient is a logarithmic linear calibration coefficient. Its mathematical essence is to transform the multiplicative drift relationship into an additive bias in the logarithmic domain, thus facilitating calibration through linear superposition. This calibration coefficient is suitable for scenarios where the sensitivity of blood glucose sensors exhibits multiplicative proportional drift or exponential / power-law decay over time.

[0242] When the calibration coefficient is the logarithmic deviation, when calibrating the blood glucose measurement value output by the blood glucose sensor in the target unit using the calibration coefficient of the target unit, step S403a can be adopted, firstly, the logarithmic deviation is superimposed on the logarithmic result after the logarithmic operation of the blood glucose measurement value to obtain the calibration logarithmic value corresponding to the logarithmic result, and then the calibration logarithmic value is subjected to exponential restoration operation to obtain the calibrated blood glucose measurement value;

[0243] If the blood glucose measurement value output by the blood glucose sensor within the target unit is expressed as The calibrated blood glucose measurement value is expressed as Then, the calibration logarithm value corresponding to the logarithmic result in the above calibration process can be expressed as:

[0244]

[0245]

[0246] By analyzing the calibration logarithm By performing the exponential restoration operation, the calibrated blood glucose measurement value can be obtained.

[0247] S402b, determine the additive deviation of the benchmark index value corresponding to the benchmark blood glucose level relative to the third index value of the benchmark blood glucose level, and use the additive deviation as the calibration coefficient;

[0248] The calibration coefficient It can be represented as:

[0249]

[0250] The additive bias quantifies the baseline offset magnitude that occurs from the reference unit to the target unit of the blood glucose sensor, i.e., the overall translation of the sensor output on the blood glucose concentration axis. Under this calculation method, the resulting calibration coefficient is an additive calibration coefficient, which physically means applying a constant translation correction to the blood glucose measurement value output by the sensor.

[0251] When the calibration coefficient is the additive bias, when calibrating the blood glucose measurement value output by the blood glucose sensor in the target unit using the calibration coefficient of the target unit, step S403b can be used to add the additive bias to the blood glucose measurement value to obtain the calibrated blood glucose measurement value.

[0252] That is, the calibrated blood glucose measurement value It can be represented as:

[0253]

[0254]

[0255] This calibration method is suitable for scenarios where sensor drift is mainly characterized by a constant baseline shift and insignificant sensitivity decay. By directly superimposing the deviation of the reference blood glucose level as a shift amount onto each blood glucose measurement, it can quickly and effectively eliminate systematic biases introduced by baseline drift. Furthermore, the calibration process does not change the fluctuation pattern or relative amplitude of the blood glucose signal; it only performs vertical shift correction on the overall level.

[0256] S402c, determine the ratio of the benchmark index value corresponding to the benchmark blood glucose to the third index value of the benchmark blood glucose, and use the ratio as the calibration coefficient.

[0257] If the benchmark blood glucose level is represented as the benchmark index value... The third indicator value of the benchmark blood glucose is expressed as The calibration coefficient of the target unit is expressed as Then the calibration coefficient can be expressed as:

[0258]

[0259] The calibration coefficient represents the multiple of the blood glucose signal output level of the blood glucose sensor under the reference unit to the blood glucose signal output level under the target unit. The calibration coefficient obtained from this is a multiplicative calibration coefficient. This indicates that the blood glucose sensor has experienced negative drift and the blood glucose measurement value needs to be amplified and compensated. This indicates that the blood glucose sensor has experienced positive drift and the blood glucose measurement value needs to be reduced and corrected.

[0260] To prevent calculation overflow when the denominator approaches zero, a zero-bias constant can also be added. (like =0.001), the calibration coefficient can be expressed as:

[0261]

[0262] When the calibration coefficient is the ratio, when calibrating the blood glucose measurement value output by the blood glucose sensor in the target unit using the calibration coefficient of the target unit, step S403c can be used to perform a multiplication correction operation on the blood glucose measurement value output by the blood glucose sensor in the target unit using the ratio as a multiplier to obtain the calibrated blood glucose measurement value.

[0263] That is, the calibrated blood glucose measurement value It can be represented as:

[0264]

[0265] This multiplicative calibration method is a commonly used form of calibration coefficient, capable of simultaneously handling the combined drift effects of sensor sensitivity decay and baseline shift. As sensor sensitivity gradually decreases over time, the output blood glucose measurement value will be proportionally lower than the true value. The multiplicative calibration coefficient can proportionally amplify and compensate for blood glucose values ​​across the entire concentration range, without altering the relative fluctuation pattern and coefficient of variation of the blood glucose signal after calibration. Furthermore, multiplicative calibration exhibits good mathematical reversibility and traceability, facilitating iterative optimization of the coefficients in subsequent calibration updates.

[0266] It should be noted that the three methods for determining the calibration coefficients mentioned above correspond to three different drift compensation models: logarithmic domain bias, additive bias, and multiplicative ratio. In practical applications, those skilled in the art can flexibly choose any one of these methods for calibration based on the actual drift characteristics of the sensor, the numerical distribution characteristics of blood glucose data, and the computing resources of the target device. They can also switch between different calibration methods at different stages of the blood glucose sensor's operation. This application does not impose any limitations on this.

[0267] In a preferred embodiment, since the deviation coefficient of a single statistical index is insufficient to fully characterize the combined drift state of the sensor under the superposition of sensitivity drift and baseline offset, this embodiment also provides another method for determining the calibration coefficient by comprehensively considering the drift conditions of different statistical indices, see [link to relevant documentation]. Figure 4CThe exemplary flowchart illustrates a process for determining the calibration coefficient of a target unit based on the deviation of different statistical indicators. The determination of the calibration coefficient of the target unit based on the third indicator value of the at least one statistical indicator and the corresponding benchmark indicator value of the at least one statistical indicator within the benchmark unit can also be achieved in the following manner:

[0268] S4021, For each statistical indicator, determine the ratio between the benchmark indicator value corresponding to the statistical indicator and the third indicator value of the statistical indicator, and use it as the deviation coefficient of the statistical indicator.

[0269] In other words, for each statistical indicator, the deviation coefficient is expressed as the ratio of the benchmark value to the third indicator value of that statistical indicator. For example, the benchmark value of the q-th statistical indicator is expressed as... The value of the third indicator of the q-th statistical indicator is expressed as Then the deviation coefficient of this statistical indicator It can be represented as:

[0270]

[0271] Alternatively, the deviation coefficient of this statistical indicator can also be expressed as:

[0272]

[0273] The two methods of representing the deviation coefficient are reciprocals of each other and are essentially equivalent. If the former is used for multiplicative compensation, then based on this deviation coefficient... The determined calibration coefficient can be directly applied to correct blood glucose measurements; if the latter is used, the reciprocal of the calibration coefficient is applied to correct the blood glucose measurements. In actual calculations, it is sufficient to uniformly agree on one of the representation methods in the data processing flow and maintain consistency in this agreement; there is no need to repeatedly convert between the two methods.

[0274] Taking the first type of deviation coefficient as an example, to avoid calculation overflow when the denominator approaches zero, a zero-bias constant can also be added. (like =0.001), the deviation coefficient of this statistical indicator It can be represented as:

[0275]

[0276] S4022, using the weight coefficients assigned to each of the statistical indicators, the deviation coefficients of each of the statistical indicators are weighted and fused to generate a fusion result, and the calibration coefficient of the target unit is determined based on the fusion result.

[0277] The weighting coefficients assigned to each statistical indicator are consistent with the weighting coefficients used in the weighted fusion process for determining the overall drift rate, and their acquisition method is the same as in the aforementioned embodiment. For example, the weighting coefficient of the q-th statistical indicator is... If there are M statistical indicators, then the fusion result... It can be represented as:

[0278]

[0279] When determining the calibration coefficient of the target unit based on the fusion result, due to the fusion result... The calibration coefficient itself is a multiplicative calibration coefficient that integrates the deviation information of multiple statistical indicators, and the fusion result can be directly used as the calibration coefficient. Under this calibration coefficient determination method, when calibrating the blood glucose measurement value output by the blood glucose sensor in the target unit, the calibration coefficient can be used as a multiplier to perform a multiplicative correction operation on the blood glucose measurement value output by the blood glucose sensor in the target unit to obtain the calibrated blood glucose measurement value.

[0280] Alternatively, the fusion result can be further mathematically transformed and used as the calibration coefficients to adapt to different calibration compensation models. For example, regarding the fusion result... Taking a logarithmic transformation, we convert it into a logarithmic domain bias calibration coefficient, i.e. It is compatible with the logarithmic domain calibration method described in S403a above.

[0281] By performing flexible mathematical transformations on the fusion results, multi-index fusion strategies can work in conjunction with different types of calibration coefficient models to meet diverse calibration needs under different sensor drift characteristics and different clinical application scenarios.

[0282] Compared to the aforementioned calibration method based on a single benchmark blood glucose level, this multi-feature fusion method can more comprehensively reflect the overall trend of sensor sensitivity changes in scenarios where multiple statistical indicators drift simultaneously, thus achieving more robust calibration.

[0283] In one implementation, a hybrid calibration model can also be used, taking into account both the proportional drift and baseline shift of the blood glucose sensor. Specifically, the calibrated blood glucose measurement value... It can be represented as:

[0284]

[0285]

[0286]

[0287] Among them, the The multiplicative calibration coefficient, obtained by weighting and fusing the deviation coefficients of the various statistical indicators described in the foregoing embodiments, can be used to compensate for the proportional drift of sensor sensitivity; Used to reflect the difference in baseline blood glucose between the target unit and the previous adjacent sequence unit, it can be used as the reference offset for step-length blood glucose sensors.

[0288] If a hybrid calibration model is used to calibrate blood glucose measurements, the calculated offset... This can cause the calibrated blood glucose level to fall into the hypoglycemic range (e.g.) When the concentration is < 2.2 mmol / L, the offset is no longer added. This is to avoid incorrect correction of hypoglycemic regions due to abnormal offsets.

[0289] In some embodiments, before determining the calibration coefficient of the target unit in step S402, a pre-calibration verification operation can be added to ensure that the consistency of the statistical index values ​​used to calculate the calibration coefficient between the reference unit and the current time period is within a reasonable range, avoiding distortion of the calibration coefficient due to abnormal jumps in individual statistical indexes. The pre-calibration verification operation includes:

[0290] The deviation between the third indicator value of each target indicator and the corresponding benchmark indicator value within the benchmark unit is detected to be within a preset deviation range; the target indicator represents the indicator used to calculate the calibration coefficient of the target unit among the at least one statistical indicator.

[0291] If the deviation of at least one target indicator exceeds the preset deviation range, then the calibration of the blood glucose measurement value output by the blood glucose sensor in the target unit is stopped; otherwise, the step of determining the calibration coefficient of the target unit is executed.

[0292] The preset deviation range can be preset based on the physiological variation range of the statistical indicator or the typical drift characteristics of the sensor. For example, for the statistical indicator of baseline blood glucose, the preset deviation range can be set to the baseline indicator value. Within this range. When the deviation exceeds this range, it indicates that the sensor may have abnormal drift or signal interference during that period, making it unsuitable for continued calibration. It should be noted that the above percentages are merely illustrative and can be adaptively adjusted according to the specific sensor model, clinical accuracy requirements, and blood glucose concentration range in practical applications. This application does not limit this.

[0293] For example, if the target indicator is a baseline blood glucose level, then the deviation between the third indicator value corresponding to the baseline blood glucose level and the baseline indicator value is detected to see if it exceeds a preset deviation range. If the deviation exceeds the preset deviation range, the calibration of the target unit is stopped; otherwise, the calibration coefficient determination step is continued.

[0294] For example, if the target indicator is each of the at least one statistical indicator, then it is necessary to check the degree of deviation between the third indicator value of each statistical indicator and its corresponding benchmark indicator value. If the degree of deviation of any statistical indicator exceeds the preset deviation range, the calibration of the target unit is stopped. Only when the degree of deviation of all statistical indicators is within the preset deviation range will the step of determining the calibration coefficient continue.

[0295] After stopping the calibration of the target unit, the blood glucose measurement value within the target unit can remain unchanged, or the target unit can be calibrated using the calibration parameters of the factory calibration function, and a system prompt message can be triggered to ensure that data with certain reference value can still be provided when sensor adaptive calibration cannot be performed, while prompting the user to pay attention to the sensor status.

[0296] This implementation method enables pre-verification of data validity before calibration calculations, effectively identifying and intercepting calibration coefficient calculation errors that may result from abnormal data input. This prevents abnormal deviation coefficients from being introduced into subsequent calibration processes, thereby improving the safety of the calibration procedure. Furthermore, by promptly stopping calibration when abnormal deviations are detected, the original blood glucose measurement value can be retained, and corresponding prompts or alarm mechanisms can be triggered. This provides a basis for subsequent error-tolerant processing and manual intervention, further enhancing the reliability of the entire calibration protocol in practical clinical applications.

[0297] In some embodiments, after determining the calibration coefficient of the target unit, the rationality of the calibration coefficient can be verified to confirm whether the calculated calibration coefficient is within a reasonable physical value range, avoiding calibration coefficient distortion due to abnormal statistical index values ​​or numerical anomalies in the calculation process. Therefore, before calibrating the blood glucose measurement value output by the blood glucose sensor in the target unit, the method may further include a calibration coefficient verification step, that is, detecting whether the calibration coefficient of the target unit is within a set coefficient range; if the calibration coefficient exceeds the set coefficient range, then the calibration of the blood glucose measurement value output by the blood glucose sensor in the target unit is stopped; otherwise, the step of calibrating the blood glucose measurement value output by the blood glucose sensor in the target unit is performed.

[0298] The set coefficient range can be preset based on the model characteristics of the blood glucose sensor, historical experience data, clinically acceptable error range, and the typical drift limit of the sensor.

[0299] This calibration coefficient verification step prevents larger correction errors caused by abnormal calibration coefficients from being introduced before the calibration coefficients are actually applied to correct blood glucose measurements, thus improving the safety and reliability of the calibration process. Furthermore, by promptly stopping calibration and retaining the original measurement values ​​when the calibration coefficients exceed the set range, a data basis and processing guidelines can be provided for subsequent fault diagnosis, user prompts, or alternative calibration strategies.

[0300] The calibration coefficient verification step described in this embodiment can work in conjunction with the aforementioned pre-calibration verification operation. The pre-calibration verification operation is used to ensure that the data on which the calibration coefficient is calculated is within a reasonable range, while the calibration coefficient verification step is used to ensure that the calibration coefficient as an output result is also within a reasonable range. The two perform dual security checks on the calibration process from the input and output ends of the calibration coefficient, respectively, to jointly improve the reliability of the calibration process.

[0301] The above calibrated blood glucose measurement values It can be output for display or recording. Blood glucose data prior to the reference unit can be left uncalibrated or use the calibration parameters from the factory calibration function. The above calibration process updates the calibration coefficients at each sequence unit to be calibrated, continuously and automatically compensating for long-term drift in sensor sensitivity without the need for an external finger-prick blood reference.

[0302] To enable those skilled in the art to better understand the calibration method of the blood glucose sensor provided in this application, the following will exemplarily illustrate the method using the CGM sensor to collect blood glucose concentration values ​​as an example.

[0303] The user wears a CGM sensor with a sampling cycle of 5 minutes. The system receives blood glucose signals collected by the CGM sensor, which are directly expressed as blood glucose measurements (unit: mmol / L). The self-calibration function is activated when the effective data coverage reaches 90% and the cumulative reception time is ≥24 hours.

[0304] The preset time window uses natural days, and the blood glucose signal is divided at 00:00 every day, with each natural day corresponding to a sequence unit.

[0305] Robust statistics were used for the blood glucose signals received within each calendar day. Statistical indicators included peak value, trough value, maximum rate of increase, maximum rate of decrease, mode, and baseline blood glucose. The peak value was taken as the 95th quantile of the blood glucose signals received within the calendar day, sorted from smallest to largest. The trough value was taken as the 5th quantile of the blood glucose signals received within the calendar day, sorted from smallest to largest. The maximum rate of increase was taken as the 95th quantile of the rate of change sequence, and the maximum rate of decrease was taken as the 5th quantile of the rate of change sequence; the rate of change sequence was the result of sorting the rates of change between adjacent blood glucose signals in the signal sequence formed by the blood glucose signals received within the calendar day, from smallest to largest. The mode was obtained by kernel density estimation of the blood glucose signals received within the calendar day; the baseline blood glucose was the median blood glucose level during the period from 2:00 AM to 4:00 AM within the calendar day.

[0306] The CGM sensor's self-calibration function is triggered after the user wears the sensor for 24 hours or more. Starting from the second day, with 00:00 as the dividing line, it checks daily whether the preset stability conditions are met to lock the reference unit: if the overall drift rate for that day... absolute value And the baseline blood glucose level on that day If so, the next day will be locked as the base unit.

[0307] Starting from the first day of operation of the blood glucose sensor, the blood glucose signals received each natural day are statistically processed, and the values ​​of each statistical indicator are extracted as the daily statistical characteristics of that natural day. Assuming the daily statistical characteristics from day 1 to day 6 are as shown in the table below:

[0308]

[0309] The velocity values ​​in the table are exemplary data. The dimensions of each characteristic can be adjusted uniformly according to the actual unit system used in the specific implementation.

[0310] It is understood that in actual operation, the daily statistical characteristics of each natural day are generated one by one after the data of that natural day is fully collected. In order to facilitate understanding and explanation of the technical solution of this embodiment, the table above shows the daily statistical characteristics of multiple natural days, which should not be construed as a limitation on the implementation of this application.

[0311] Example 1 (Fixed weights + single statistical indicator calibration)

[0312] After extracting the statistical indicators for the day, if the statistical indicator data for the previous day is complete, the overall drift rate for the day can be calculated based on the differences in the indicator values ​​between the current day and the previous day.

[0313] Taking Day 2 as an example, compared to Day 1, the single-feature drift rates of each statistical indicator can be expressed as follows:

[0314]

[0315]

[0316]

[0317]

[0318]

[0319]

[0320] Each statistical indicator is assigned a fixed weighting coefficient, which is known. , , , , , .

[0321] The single-feature drift rates of each statistical indicator are weighted and summed according to the fixed weighting coefficients assigned to the statistical indicators to obtain the overall drift rate for the second day. , can be represented as:

[0322]

[0323]

[0324]

[0325] Assuming the overall drift rate of Day 1-4 The absolute values ​​are all greater than 0.05, which does not meet the requirements set for determining the reference element. Constraints;

[0326] Overall drift rate on Day 5 The absolute value of is 0.032, which satisfies the overall drift rate for that day. absolute value Moreover, the baseline blood sugar on Day 5 =6.0, which conforms to... The interval constraint is thus applied; therefore, Day 6 (the next day) is locked as the reference unit to give the sensor more sufficient stabilization time.

[0327] After the baseline unit is locked, record the baseline blood glucose on Day 6 (same as Day 6). Using the baseline blood glucose level as a statistical indicator, the calibration coefficient is determined by calibrating blood glucose measurements on calendar days after day 7. The calibration coefficient can be determined in the following way:

[0328]

[0329] in, This indicates the baseline blood glucose level from the day preceding the day the blood glucose measurement needs to be calibrated. For example, to calibrate the blood glucose measurement on day 8, the baseline blood glucose level from day 7 should be used as the baseline value. .

[0330] For example, the baseline blood glucose level on day 7-8. =6.0 mmol / L =5.8 mmol / L, then:

[0331] Calibration coefficient on day 8:

[0332] Calibration factor for day 9:

[0333] Therefore, if the blood glucose measurement value output by the sensor at a certain moment on the 8th day... The calibrated blood glucose measurement value = .

[0334] If the blood glucose measurement value output by the sensor at a certain time on the 9th day... ,but = .

[0335] This embodiment uses an open-loop feature extraction mode: the previous day's baseline blood glucose. The daily statistical features are extracted from the raw blood glucose signal without calibration coefficient correction. The calibration coefficient K only applies to the real-time raw output value of the current day and does not feed back to the recalculation of historical daily statistical features.

[0336] In addition, the following verification can be performed before calculating the calibration coefficients: If If the value is 0, it indicates that the deviation of the baseline blood glucose level is abnormal and unsuitable for calibration coefficient calculation. In this case, the self-calibration function is paused, and the calibration parameters under the factory calibration function can be used. After obtaining the calibration coefficient, it is possible to further check whether the calibration coefficient exceeds the preset safety range [0.5, 2.0]. If so, the self-calibration function is paused, and the calibration parameters under the factory calibration function can be used.

[0337] If the overall drift rate for that day is not met within 7 calendar days... absolute value and the baseline blood glucose level on that day If the natural days are 7, then the 7 natural days can be included. The day following the day with the smallest absolute value is used as the reference unit, or the calibration parameters of the blood glucose sensor under the factory calibration function are directly used.

[0338] Example 2 (Dynamic weighting + single statistical indicator calibration)

[0339] The scenario is the same as in Example 1, and the calculation of the single feature drift rate of each statistical indicator and the previous processing are the same as in Example 1.

[0340] The weighting coefficients for each statistical indicator are dynamically determined using the inverse variance method. Taking the data from the previous 5 days as an example, assume the variance of the drift rate for each statistical indicator is: Var (peak) ≈ 0.0012, Var (trough) ≈ ​​0.0008, Var (rate of rise) ≈ 0.0015, Var (rate of fall) ≈ 0.0013, Var (mode) ≈ 0.0009, Var (baseline blood glucose) ≈ 0.0006.

[0341] Therefore, by taking the reciprocal and normalizing the variance of the drift rate of each statistical indicator, the weight coefficients assigned to each statistical indicator can be obtained, such as... , , 11. , , .

[0342] By using the inverse variance method to calculate the weighting coefficients, statistical indicators with more stable drift rates can be given higher weights, thus capturing real sensor performance changes more sensitively.

[0343] Therefore, when calculating the overall drift rate of a natural day, compared to Example 1, this embodiment uses weight coefficients dynamically determined by the inverse variance method to weight the single-feature drift rates of each statistical indicator to determine the overall drift rate of a natural day.

[0344] Assuming Day 6 is locked as the baseline unit, after locking the baseline unit, record the baseline blood glucose on Day 6 (same as Day 6). Using the baseline blood glucose level as a statistical indicator, the calibration coefficient is determined, and blood glucose measurements are calibrated for natural days after the 7th day. The specific process is described in Example 1.

[0345] Example 3 (Fixed weight + multi-statistical indicator fusion calibration)

[0346] Compared to Example 1, after the baseline unit is locked, in addition to recording the baseline blood glucose on Day 6 (same as Day 6), In addition to this statistical indicator, further statistical indicators such as peak value, trough value, mode, rate of increase, and rate of decrease are recorded. The values ​​of each statistical indicator within the 6th day are used as the basis for determining the calibration coefficient, and the blood glucose measurement values ​​of the natural days after the 7th day are calibrated.

[0347] The determination of calibration coefficients is based on the following criteria:

[0348]

[0349] Each statistical indicator is assigned a fixed weighting coefficient, which is known. , , , , , .

[0350] The calibration coefficient can be determined by comprehensively weighting the deviation information of different statistical indicators, replacing the calibration coefficient determined solely based on the benchmark blood glucose level in Example 1. It can be represented as:

[0351]

[0352]

[0353]

[0354] Among them, the subscript contains The parameter indicated represents the statistical value of the blood glucose signal from the adjacent previous day, which has been statistically processed for the current day to be calibrated. The value can be 0.001 (the unit for the rate of decrease is mmol / L / min, and the unit for blood glucose is mmol / L). When the rate of decrease is negative, both the numerator and denominator are increased. The ratio is then taken, with the negative sign retained, to reflect the relative direction of change in the descent speed.

[0355] Taking Day 8 as an example, the daily statistical characteristics extracted from the blood glucose signals received in the previous day (Day 7) before calibration are used as the basis for calculating the calibration coefficient:

[0356]

[0357] Taking the fixed weights mentioned above as an example, the calibration coefficient for Day 8 can be calculated by substituting them into the formula. If at some point on the 8th day ,but = ≈6.27 mmol / L.

[0358] Compared to Example 1, which determines the calibration coefficient using a single statistical indicator (i.e., baseline blood glucose) under fixed weights, the calibration coefficients of the two schemes differ by 0.029. In scenarios where multiple statistical indicator dimensions drift simultaneously, single-feature calibration may lead to biased compensation direction judgment due to relying solely on baseline blood glucose. In contrast, the multi-feature fusion approach, by integrating drift information from multiple dimensions, can more comprehensively reflect the overall trend of sensor sensitivity changes and achieve more robust calibration.

[0359] To further illustrate the technical advantages of the multi-feature fusion scheme, consider a scenario where the baseline blood glucose level changes little between the reference unit and the target unit, but other statistical indicators drift significantly. If calibration relies solely on the baseline blood glucose level, the calibration coefficient will be close to 1.0 because the deviation between the third indicator value of the baseline blood glucose level and the baseline indicator value is small, which cannot effectively compensate for the drift of the sensor in other dimensions such as peak values, trough values, and speed. The multi-feature fusion scheme, by integrating the deviation information of multiple statistical indicators, can effectively capture the performance degradation trend of other dimensions before the baseline blood glucose level deviates significantly, achieving earlier and more comprehensive calibration compensation. Therefore, the multi-feature fusion scheme, as the preferred embodiment of this invention, has higher robustness and adaptability compared to the single-feature calibration scheme.

[0360] Example 4

[0361] Compared to Example 3, the weighting coefficients of each statistical indicator in this embodiment are dynamically determined. For example, using the inverse variance method described in Example 2, the weighting coefficients of each statistical indicator are dynamically determined using the inverse variance method. Taking the data from the previous 5 days as an example, assume the variance of the drift rate of each statistical indicator is: Var (peak) ≈ 0.0012, Var (trough) ≈ ​​0.0008, Var (rate of increase) ≈ 0.0015, Var (rate of decrease) ≈ 0.0013, Var (mode) ≈ 0.0009, Var (baseline blood glucose) ≈ 0.0006.

[0362] Therefore, by taking the reciprocal and normalizing the variance of the drift rate of each statistical indicator, the weight coefficients assigned to each statistical indicator can be obtained, such as... , , 11. , , .

[0363] Based on the dynamically assigned weight coefficients, taking Day 8 in Example 3 as an example, the daily statistical features extracted from the blood glucose signals received on the previous day (Day 7) before calibration are used as the basis for calculating the calibration coefficients:

[0364]

[0365] Based on the dynamically allocated weight coefficients, the calibration coefficient for Day 8 can be calculated by substituting them into the above formula. .

[0366] As can be seen from the above embodiments, the calibration method for the blood glucose sensor provided in this application eliminates the need for finger-prick blood calibration, eliminating the need for users to periodically collect finger-prick blood and input the current blood glucose value. This method performs self-calibration based on the sensor's historical signals and the dynamic trends of feature drift, reducing user discomfort and burden, and improving the user experience.

[0367] This application avoids interference from unstable signals in the early stages of blood glucose sensor use on long-term calibration by dynamically identifying and locking onto a period of stable blood glucose characteristics as a reference benchmark in the early stages of sensor use, and using the overall drift rate threshold as the core criterion for locking the benchmark unit. By using a fixed benchmark unit instead of frequently updating it during monitoring, a stable reference origin is provided, ensuring the consistency and reliability of long-term calibration.

[0368] Furthermore, when calculating the overall drift rate of the blood glucose sensor at different time periods, simultaneously monitoring changes in multiple statistical indicators such as peak value, trough value, rate of rise, rate of fall, mode, and baseline blood glucose provides a more comprehensive capture of the true changes in sensor sensitivity than a single indicator, improving the robustness of drift estimation. Through the unidirectional analysis of the synergistic changes of multiple features, sensor drift can be effectively distinguished from physiological blood glucose fluctuations, avoiding misinterpreting normal physiological changes as sensor errors and thus preventing inappropriate calibration.

[0369] See Figure 5 An exemplary diagram illustrates blood glucose curves before and after applying the calibration method of the blood glucose sensor provided in this embodiment. The diagram shows a comparison of blood glucose data over 15 consecutive days after sensor implantation, including the original measurement curve before calibration, the calibration curve after applying the calibration method described in this embodiment, and the venous blood reference blood glucose curve.

[0370] In the initial implantation period (e.g., day 0 to day 4), the pre-calibration curve remained largely consistent with the reference value. However, as the wearing time increased, the sensor's output gradually deviated from the reference blood glucose data due to factors such as enzyme activity decay, bioaccumulation, and sensitivity drift. As shown in the figure, from day 5 to day 15, the pre-calibration curve significantly deviated from the reference blood glucose data, and the deviation showed a continuous accumulating trend over time. After applying the calibration method described in this embodiment, the blood glucose values ​​of the post-calibration curve at each time point matched the venous blood reference curve, and the deviation was effectively suppressed and essentially eliminated.

[0371] Therefore, the calibration method described in this embodiment can suppress the drift effect of the sensor throughout its entire life cycle by using a continuous dynamic calibration mechanism with the reference unit as a fixed reference origin, without requiring the user to actively collect finger-prick blood for external reference input. This ensures that the calibrated blood glucose measurement value can maintain a high degree of consistency with the actual blood glucose level at different stages of use.

[0372] For the calibration method corresponding to the aforementioned blood glucose sensor, please refer to [link / reference]. Figure 6 The block diagram shown is an example of a calibration device for a blood glucose sensor. This embodiment also provides a calibration device for a blood glucose sensor, the device comprising:

[0373] The signal receiving and dividing module 601 is configured to continuously receive the blood glucose signals periodically collected by the blood glucose sensor during the operation after the blood glucose sensor is activated, and divide the received blood glucose signals sequentially according to a preset time window to generate several continuous sequence units.

[0374] The drift rate calculation module 602 is configured to, after triggering the self-calibration function of the blood glucose sensor during operation, determine the overall drift rate of the generated sequence units that have not yet had their drift rate evaluated, based on the blood glucose signals included in the sequence units and historical units; wherein the blood glucose signals included in each of the sequence units and the historical units satisfy the signal integrity requirements for drift rate calculation; the overall drift rate reflects the degree of output drift of the blood glucose sensor with respect to the blood glucose signal between the sequence unit and the historical units; the historical units include the first N sequence units that are consecutive to the sequence unit in the time window; N is a positive integer;

[0375] The reference unit determination module 603 is configured to determine whether there are sequence units that meet preset stability conditions based on the sequence units whose overall drift rate is currently determined; the preset stability conditions are used to reflect that the signal output of the blood glucose sensor is in a steady-state operating state.

[0376] The reference unit determination and calibration module 604 is configured to determine a reference unit based on a sequence unit that satisfies a preset stability condition if such a sequence unit exists, and to calibrate the blood glucose measurement values ​​output by the blood glucose sensor in the sequence unit following the reference unit based on the blood glucose signals included in the reference unit.

[0377] The iteration module 605 is configured to wait for the generation of a new sequence unit if no sequence unit that meets the preset stability conditions exists, and then return to the step of determining the overall drift rate of the sequence unit based on the blood glucose signals included in the sequence unit and the historical unit, until any set termination condition is met; the set termination conditions include: determining the reference unit; the cumulative running time of the blood glucose sensor reaching the preset maximum observation period.

[0378] In some embodiments, the self-calibration function of the blood glucose sensor is triggered in the following manner:

[0379] During operation after the blood glucose sensor is activated, if the received blood glucose signal is detected to meet the calibration trigger condition, the self-calibration function of the blood glucose sensor is triggered.

[0380] The calibration triggering condition includes any one of the following:

[0381] The cumulative runtime of the blood glucose sensor after activation reaches a set runtime threshold; or,

[0382] The cumulative reception time from the start of reception to the current time reaches a set reception time threshold, and the missing rate of blood glucose signals within this cumulative reception time is lower than a set ratio threshold; the start of reception time refers to the time point at which the blood glucose sensor receives the first blood glucose signal after activation; or,

[0383] The cumulative number of received blood glucose signals exceeds the set threshold.

[0384] In some embodiments, the drift rate calculation module includes:

[0385] The first statistical module is configured to perform statistical processing on each blood glucose signal included in the sequence unit to determine a first index value of at least one statistical indicator; the statistical indicator is used to characterize the overall distribution pattern and / or dynamic change trend of blood glucose concentration represented by each blood glucose signal included in the sequence unit.

[0386] The second statistical module is configured to perform statistical processing on each blood glucose signal included in the historical unit to determine the second indicator value of the at least one statistical indicator.

[0387] The drift rate determination module is configured to determine the overall drift rate of the sequence unit based on the degree of deviation of a first indicator value of the at least one statistical indicator from a second indicator value.

[0388] In some embodiments, the drift rate determination module is configured to:

[0389] Based on the degree of deviation between the first indicator value and the second indicator value of each statistical indicator, the single feature drift rate of each statistical indicator is determined;

[0390] The single-feature drift rates of each statistical indicator are fused to determine the overall drift rate of the sequence unit.

[0391] In some embodiments, the reference unit determination module is configured to:

[0392] For a sequence unit whose overall drift rate has been determined, if the next adjacent sequence unit of the sequence unit has not yet been generated when calculating the overall drift rate of the sequence unit, or if the next adjacent sequence unit of the sequence unit exists in the sequence unit set, then the sequence unit is regarded as a candidate unit; the next adjacent sequence unit is sequentially located after the sequence unit and is continuous with the sequence unit in the time window; the sequence unit set is composed of the sequence units whose overall drift rate has been determined.

[0393] The detection determines whether there exists at least one candidate unit whose overall drift rate satisfies the preset stability condition; the candidate unit that satisfies the preset stability condition is taken as the sequence unit that satisfies the preset stability condition.

[0394] In some embodiments, the preset stability condition includes any of the following stability conditions:

[0395] First stability condition: The absolute value of the overall drift rate of a single sequence unit is less than or equal to a preset stability threshold; or,

[0396] The second stability condition is that the absolute value of the overall drift rate of a single sequence unit is less than or equal to a preset stability threshold, and also includes at least one of the following additional conditions: the reference blood glucose of the single sequence unit is within the normal blood glucose level, which represents the blood glucose during the stable period of the blood glucose signal of the sequence unit; there are multiple sequence units including the sequence unit that satisfy the time window continuity, and all of the multiple sequence units satisfy the steady-state requirement; the steady-state requirement is set based on at least one of the overall drift rate and the reference blood glucose.

[0397] In some embodiments, when the reference unit determination and calibration module is configured to determine a reference unit based on sequence units that satisfy the preset stability condition, it includes:

[0398] When the number of sequence units satisfying the preset stability condition is 1:

[0399] If there exists a next adjacent sequence unit in the set of sequence units that satisfies the preset stability condition, then the next adjacent sequence unit of the sequence unit that satisfies the preset stability condition shall be used as the reference unit.

[0400] Otherwise, after the next adjacent sequence unit of the sequence unit that satisfies the preset stability condition is generated, if the next adjacent sequence unit satisfies the signal integrity required for the drift rate calculation, the next adjacent sequence unit shall be used as the reference unit.

[0401] If the number of sequence units that satisfy the preset stability condition is greater than 1, the sequence unit with the earliest time window among the multiple sequence units that satisfy the preset stability condition is determined, and the next adjacent sequence unit of the sequence unit with the earliest time window is taken as the reference unit.

[0402] In some embodiments, after a reference unit is determined based on a sequence of units that meet the preset stability conditions, the reference unit remains fixed throughout the complete operating cycle of the blood glucose sensor and is not updated or replaced.

[0403] In some embodiments, when the reference unit determination and calibration module is configured to calibrate the blood glucose measurement values ​​output by the blood glucose sensor in the sequence unit following the reference unit based on the blood glucose signals included in the reference unit, it includes:

[0404] The third statistical module is configured to take any sequence unit following the benchmark unit as the target unit. If the blood glucose signal included in the preceding adjacent sequence unit of the target unit satisfies the signal integrity, then statistical processing is performed based on each blood glucose signal included in the preceding adjacent sequence unit to determine the third index value of at least one statistical indicator. The preceding adjacent sequence unit is located before the target unit in time sequence and is continuous with the target unit in time window. The statistical indicator is used to characterize the overall distribution pattern and / or dynamic change trend of blood glucose concentration represented by each blood glucose signal included in the benchmark unit.

[0405] The calibration coefficient determination module is configured to determine the calibration coefficient of the target unit based on the third index value of the at least one statistical index and the benchmark index value of the at least one statistical index corresponding to the benchmark unit; the benchmark index value is obtained by statistical processing of each blood glucose signal included in the benchmark unit;

[0406] The blood glucose measurement calibration module is configured to calibrate the blood glucose measurement value output by the blood glucose sensor in the target unit using the calibration coefficient of the target unit.

[0407] In some embodiments, the statistical indicator includes a baseline blood glucose level; the baseline blood glucose value represents the blood glucose concentration during a stable period of blood glucose signal within the time window corresponding to the sequence unit; the calibration coefficient determination module includes any of the following modules:

[0408] The logarithmic calibration determination module is configured to determine the logarithmic deviation of the benchmark index value corresponding to the benchmark blood glucose level compared to the third index value of the benchmark blood glucose level, and use the logarithmic deviation as the calibration coefficient; or,

[0409] An additive calibration determination module is configured to determine the additive deviation of the benchmark index value corresponding to the benchmark blood glucose level relative to the third index value of the benchmark blood glucose level, and to use the additive deviation as the calibration coefficient; or,

[0410] The multiplicative calibration determination module is configured to determine the ratio of the benchmark index value corresponding to the benchmark blood glucose to the third index value of the benchmark blood glucose, and use the ratio as the calibration coefficient.

[0411] In some embodiments, the blood glucose measurement calibration module includes:

[0412] The logarithmic calibration module is configured to, when the calibration coefficient is the logarithmic deviation, add the logarithmic deviation to the logarithmic result after taking the logarithm of the blood glucose measurement value to obtain the calibration logarithmic value corresponding to the logarithmic result, and perform an exponential restoration operation on the calibration logarithmic value to obtain the calibrated blood glucose measurement value;

[0413] An additive calibration module is configured to add the additive deviation to the blood glucose measurement value when the calibration coefficient is the additive deviation, so as to obtain a calibrated blood glucose measurement value;

[0414] The multiplicative calibration module is configured to perform a multiplicative correction operation on the blood glucose measurement value output by the blood glucose sensor in the target unit, using the ratio as the multiplier, when the calibration coefficient is the ratio, to obtain the calibrated blood glucose measurement value.

[0415] In some embodiments, the calibration coefficient determination module includes:

[0416] For each statistical indicator, the ratio between the benchmark indicator value and the third indicator value of the statistical indicator is determined as the deviation coefficient of the statistical indicator; using the weight coefficients assigned to each statistical indicator, the deviation coefficients of each statistical indicator are weighted and fused to generate a fusion result, and the calibration coefficient of the target unit is determined based on the fusion result.

[0417] In some embodiments, before determining the calibration coefficients of the target unit, the apparatus further includes a priori module configured to:

[0418] The deviation between the third indicator value of each target indicator and the corresponding benchmark indicator value in the benchmark unit is detected to be within a preset deviation range; the target indicator represents the indicator used to calculate the calibration coefficient of the target unit among the at least one statistical indicator; if the deviation of at least one target indicator exceeds the preset deviation range, the calibration of the blood glucose measurement value output by the blood glucose sensor in the target unit is stopped, otherwise the step of determining the calibration coefficient of the target unit is executed.

[0419] In some embodiments, before calibrating the blood glucose measurement value output by the blood glucose sensor within the target unit, the device further includes a calibration coefficient post-test module, configured to:

[0420] The calibration coefficient of the target unit is checked to see if it is within the set coefficient range. If the calibration coefficient exceeds the set coefficient range, the calibration of the blood glucose measurement value output by the blood glucose sensor in the target unit is stopped. Otherwise, the step of calibrating the blood glucose measurement value output by the blood glucose sensor in the target unit is performed.

[0421] In some embodiments, the blood glucose signals included in the preceding adjacent sequence unit are blood glucose signals collected by the blood glucose sensor within the time window corresponding to the preceding adjacent sequence unit and not calibrated based on the reference unit.

[0422] In some embodiments, when the signal receiving and partitioning module is configured to generate a plurality of consecutive sequence units, it is configured as follows:

[0423] The received blood glucose signals are divided sequentially according to a preset time window to obtain an initial unit;

[0424] For each initial unit, high-frequency filtering is performed on each blood glucose signal included in the initial unit, and the processed initial unit is used as the sequence unit; wherein, the high-frequency filtering is used to suppress blood glucose signal fluctuations caused by non-physiological factors in the sequence unit.

[0425] In some embodiments, the statistical indicator includes at least one of peak value, trough value, rate of rise, rate of fall, mode, and baseline blood glucose.

[0426] Wherein, the peak value represents the maximum value or a specified high quantile among the blood glucose concentrations represented by each blood glucose signal within the sequence unit; the trough value represents the minimum value or a specified low quantile among the blood glucose concentrations represented by each blood glucose signal within the sequence unit; the rate of increase represents the rate of increase of blood glucose concentration per unit time among the blood glucose concentrations represented by each blood glucose signal within the sequence unit; the rate of decrease represents the rate of decrease of blood glucose concentration per unit time among the blood glucose concentrations represented by each blood glucose signal within the sequence unit; the mode represents the blood glucose concentration with the highest probability density of occurrence among the blood glucose concentrations represented by each blood glucose signal within the sequence unit; and the baseline blood glucose represents the blood glucose concentration during the stable period of the blood glucose signal within the time window corresponding to the sequence unit.

[0427] In some embodiments, the functions or modules of the apparatus provided in this disclosure can be used to perform the methods described in the above method embodiments. The specific implementation can be referred to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.

[0428] This disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the above method.

[0429] This disclosure also provides a non-volatile computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method.

[0430] This disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described method.

[0431] Figure 7 A block diagram of an electronic device 1900 for a calibration method of the aforementioned blood glucose sensor is shown according to an exemplary embodiment. For example, the electronic device 1900 may be provided as a server or terminal device. (Refer to...) Figure 7 The apparatus 1900 includes a processing component 1922, which further includes one or more processors, and memory resources represented by memory 1932 for storing instructions, such as application programs, that can be executed by the processing component 1922. The application programs stored in memory 1932 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 1922 is configured to execute instructions to perform the methods described above.

[0432] Electronic device 1900 may also include a power supply component 1926 configured to perform power management of electronic device 1900, a wired or wireless network interface 1950 configured to connect electronic device 1900 to a network, and an input / output interface 1958 (I / O interface). Electronic device 1900 can operate on an operating system stored in memory 1932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or similar.

[0433] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions that can be executed by a processing component 1922 of an electronic device 1900 to perform the above-described method.

[0434] Computer-readable storage media can be tangible devices capable of holding and storing programs / instructions used by instruction execution devices. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination of the foregoing. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.

[0435] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0436] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or technical improvements to the embodiments in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. A calibration method for a blood glucose sensor, characterized in that, The method includes: During the operation of the blood glucose sensor after activation, it continuously receives blood glucose signals periodically collected by the blood glucose sensor, and divides the received blood glucose signals into several continuous sequence units according to a preset time window. After the self-calibration function of the blood glucose sensor is triggered during the operation, for the generated sequence units whose drift rate has not been evaluated, the overall drift rate of the sequence unit is determined based on the blood glucose signals included in the sequence unit and the historical unit; wherein the blood glucose signals included in each of the sequence unit and the historical unit satisfy the signal integrity required for drift rate calculation; the overall drift rate reflects the degree of output drift of the blood glucose sensor with respect to the blood glucose signal between the sequence unit and the historical unit; the historical unit includes the first N sequence units that are consecutive to the sequence unit in the time window; N is a positive integer; Based on the sequence units whose overall drift rate is currently determined, it is determined whether there are any sequence units that meet the preset stability condition; the preset stability condition is used to reflect that the signal output of the blood glucose sensor is in a steady-state operating state. If it exists, a reference unit is determined based on the sequence unit that satisfies the preset stability condition, and the blood glucose measurement value output by the blood glucose sensor in the sequence unit after the reference unit is calibrated based on each blood glucose signal included in the reference unit. If it does not exist, wait for a new sequence unit to be generated, and return to the step of determining the overall drift rate of the sequence unit based on the blood glucose signals included in the sequence unit and the historical unit, until any set termination condition is met; the set termination condition includes: determining the reference unit; the cumulative running time of the blood glucose sensor reaching the preset maximum observation period.

2. The method according to claim 1, characterized in that, The self-calibration function of the blood glucose sensor is triggered in the following way: During operation after the blood glucose sensor is activated, if a received blood glucose signal is detected that meets the calibration trigger condition, the self-calibration function of the blood glucose sensor is triggered; wherein, the calibration trigger condition includes any one of the following: The cumulative runtime of the blood glucose sensor after activation reaches a set runtime threshold; or, The cumulative reception time from the start of reception to the current time reaches a set reception time threshold, and the missing rate of blood glucose signals within this cumulative reception time is lower than a set ratio threshold; the start of reception time refers to the time point at which the blood glucose sensor receives the first blood glucose signal after activation; or, The cumulative number of received blood glucose signals exceeds the set threshold.

3. The method according to claim 1, characterized in that, The determination of the overall drift rate of the sequence unit based on the blood glucose signals included in the sequence unit and the historical unit includes: Statistical processing is performed on each blood glucose signal included in the sequence unit to determine a first index value of at least one statistical indicator; the statistical indicator is used to characterize the overall distribution pattern and / or dynamic change trend of blood glucose concentration represented by each blood glucose signal included in the sequence unit. Statistical processing is performed on the blood glucose signals included in the historical unit to determine the second indicator value of the at least one statistical indicator; The overall drift rate of the sequence unit is determined based on the degree of deviation of the first indicator value of the at least one statistical indicator from the second indicator value.

4. The method according to claim 3, characterized in that, Determining the overall drift rate of the sequence unit based on the degree of deviation between the first indicator value and the second indicator value of the at least one statistical indicator includes: Based on the degree of deviation between the first indicator value and the second indicator value of each statistical indicator, the single feature drift rate of each statistical indicator is determined; The single-feature drift rates of each statistical indicator are fused to determine the overall drift rate of the sequence unit.

5. The method according to claim 1, characterized in that, The step of determining whether there are sequence units that satisfy a preset stability condition based on the currently determined overall drift rate includes: For a sequence unit whose overall drift rate has been determined, if the next adjacent sequence unit of the sequence unit has not yet been generated when calculating the overall drift rate of the sequence unit, or if the next adjacent sequence unit of the sequence unit exists in the sequence unit set, then the sequence unit is regarded as a candidate unit; the next adjacent sequence unit is sequentially located after the sequence unit and is continuous with the sequence unit in the time window; the sequence unit set is composed of the sequence units whose overall drift rate has been determined. The detection determines whether there exists at least one candidate unit whose overall drift rate satisfies the preset stability condition; the candidate unit that satisfies the preset stability condition is taken as the sequence unit that satisfies the preset stability condition.

6. The method according to claim 1 or 5, characterized in that, The preset stability condition includes any of the following stability conditions: First stability condition: The absolute value of the overall drift rate of a single sequence unit is less than or equal to a preset stability threshold; or, The second stability condition is that the absolute value of the overall drift rate of a single sequence unit is less than or equal to a preset stability threshold, and also includes at least one of the following additional conditions: the reference blood glucose of the single sequence unit is within the normal blood glucose level, which represents the blood glucose during the stable period of the blood glucose signal of the sequence unit; there are multiple sequence units including the sequence unit that satisfy the time window continuity, and all of the multiple sequence units satisfy the steady-state requirement; the steady-state requirement is set based on at least one of the overall drift rate and the reference blood glucose.

7. The method according to claim 1 or 5, characterized in that, The determination of the reference unit based on the sequence units that satisfy the preset stability condition includes: When the number of sequence units satisfying the preset stability condition is 1: If there exists a next adjacent sequence unit in the set of sequence units that satisfies the preset stability condition, then the next adjacent sequence unit of the sequence unit that satisfies the preset stability condition shall be used as the reference unit. Otherwise, after the next adjacent sequence unit of the sequence unit that satisfies the preset stability condition is generated, if the next adjacent sequence unit satisfies the signal integrity required for the drift rate calculation, the next adjacent sequence unit shall be used as the reference unit. If the number of sequence units that satisfy the preset stability condition is greater than 1, the sequence unit with the earliest time window among the multiple sequence units that satisfy the preset stability condition is determined, and the next adjacent sequence unit of the sequence unit with the earliest time window is taken as the reference unit.

8. The method according to claim 1, characterized in that, After a reference unit is determined based on a sequence unit that meets the preset stability conditions, the reference unit remains fixed throughout the complete operating cycle of the blood glucose sensor and is not updated or replaced.

9. The method according to claim 3, characterized in that, The calibration of the blood glucose measurement values ​​output by the blood glucose sensor in the sequence units following the reference unit, based on the blood glucose signals included in the reference unit, includes: Taking any sequence unit after the reference unit as the target unit, if the blood glucose signal included in the preceding adjacent sequence unit of the target unit satisfies the signal integrity, then statistical processing is performed based on each blood glucose signal included in the preceding adjacent sequence unit to determine the third index value of at least one statistical indicator; wherein, the preceding adjacent sequence unit is located before the target unit in time sequence and is continuous with the target unit in time window. The calibration coefficient of the target unit is determined based on the third indicator value of the at least one statistical indicator and the benchmark indicator value of the at least one statistical indicator within the benchmark unit; the benchmark indicator value is obtained by statistically processing each blood glucose signal included in the benchmark unit. The blood glucose measurement value output by the blood glucose sensor within the target unit is calibrated using the calibration coefficient of the target unit.

10. The method according to claim 9, characterized in that, The statistical indicators include a baseline blood glucose level; the baseline blood glucose value represents the blood glucose concentration during a period of stable blood glucose signal within the time window corresponding to the sequence unit. The determination of the calibration coefficient of the target unit based on the third indicator value of the at least one statistical indicator and the benchmark indicator value of the at least one statistical indicator within the benchmark unit includes: Determine the logarithmic deviation of the benchmark index value corresponding to the benchmark blood glucose level compared to the third index value of the benchmark blood glucose level, and use the logarithmic deviation as the calibration coefficient; or, Determine the additive deviation of the benchmark index value corresponding to the benchmark blood glucose level compared to the third index value of the benchmark blood glucose level, and use the additive deviation as the calibration coefficient; or, Determine the ratio of the benchmark index value corresponding to the benchmark blood glucose to the third index value of the benchmark blood glucose, and use this ratio as the calibration coefficient.

11. The method according to claim 10, characterized in that, The step of calibrating the blood glucose measurement value output by the blood glucose sensor within the target unit using the calibration coefficient of the target unit includes: When the calibration coefficient is the logarithmic deviation, the logarithmic deviation is added to the logarithmic result after the logarithmic operation of the blood glucose measurement value to obtain the calibration logarithmic value corresponding to the logarithmic result, and the calibration logarithmic value is subjected to exponential restoration operation to obtain the calibrated blood glucose measurement value. When the calibration coefficient is the additive bias, the additive bias is added to the blood glucose measurement value to obtain the calibrated blood glucose measurement value; When the calibration coefficient is the ratio, the ratio is used as a multiplier to perform a multiplication correction operation on the blood glucose measurement value output by the blood glucose sensor in the target unit, so as to obtain the calibrated blood glucose measurement value.

12. The method according to claim 9, characterized in that, The determination of the calibration coefficient of the target unit based on the third indicator value of the at least one statistical indicator and the benchmark indicator value of the at least one statistical indicator within the benchmark unit includes: For each statistical indicator, the ratio between the benchmark value of the statistical indicator and the third indicator value of the statistical indicator is determined as the deviation coefficient of the statistical indicator. Using the weight coefficients assigned to each of the statistical indicators, the deviation coefficients of each of the statistical indicators are weighted and fused to generate a fusion result, and the calibration coefficient of the target unit is determined based on the fusion result.

13. The method according to claim 9, characterized in that, Before determining the calibration coefficients of the target unit, the method further includes: The deviation between the third indicator value of each target indicator and the corresponding benchmark indicator value within the benchmark unit is detected to be within a preset deviation range; the target indicator represents the indicator used to calculate the calibration coefficient of the target unit among the at least one statistical indicator. If the deviation of at least one target indicator exceeds the preset deviation range, then the calibration of the blood glucose measurement value output by the blood glucose sensor in the target unit is stopped; otherwise, the step of determining the calibration coefficient of the target unit is executed.

14. The method according to claim 9, characterized in that, Before calibrating the blood glucose measurement value output by the blood glucose sensor within the target unit, the method includes: Detect whether the calibration coefficient of the target unit is within the set coefficient range; If the calibration coefficient exceeds the set coefficient range, the calibration of the blood glucose measurement value output by the blood glucose sensor in the target unit is stopped; otherwise, the step of calibrating the blood glucose measurement value output by the blood glucose sensor in the target unit is executed.

15. The method according to claim 9, characterized in that, The blood glucose signals included in the preceding adjacent sequence unit are blood glucose signals collected by the blood glucose sensor within the time window corresponding to the preceding adjacent sequence unit, which are not calibrated based on the reference unit.

16. The method according to claim 1, characterized in that, The step of dividing the received blood glucose signals sequentially according to a preset time window to generate several continuous sequence units includes: The received blood glucose signals are divided sequentially according to a preset time window to obtain an initial unit; For each initial unit, high-frequency filtering is performed on each blood glucose signal included in the initial unit, and the processed initial unit is used as the sequence unit; wherein, the high-frequency filtering is used to suppress blood glucose signal fluctuations caused by non-physiological factors in the initial unit.

17. The method according to claim 3 or 9, characterized in that, The statistical indicators include at least one of the following: peak value, trough value, rate of rise, rate of fall, mode, and baseline blood glucose. Wherein, the peak value represents the maximum value or a specified high quantile among the blood glucose concentrations represented by each blood glucose signal within the sequence unit; the trough value represents the minimum value or a specified low quantile among the blood glucose concentrations represented by each blood glucose signal within the sequence unit; the rate of increase represents the rate of increase of blood glucose concentration per unit time among the blood glucose concentrations represented by each blood glucose signal within the sequence unit; the rate of decrease represents the rate of decrease of blood glucose concentration per unit time among the blood glucose concentrations represented by each blood glucose signal within the sequence unit; the mode represents the blood glucose concentration with the highest probability density of occurrence among the blood glucose concentrations represented by each blood glucose signal within the sequence unit; and the baseline blood glucose represents the blood glucose concentration during the stable period of the blood glucose signal within the time window corresponding to the sequence unit.

18. A calibration device for a blood glucose sensor, characterized in that, The device includes: The signal receiving and dividing module is configured to continuously receive the blood glucose signals periodically collected by the blood glucose sensor during the operation after the blood glucose sensor is activated, and divide the received blood glucose signals sequentially according to a preset time window to generate several continuous sequence units. The drift rate calculation module is configured to, after triggering the self-calibration function of the blood glucose sensor during operation, determine the overall drift rate of the generated sequence units for which the drift rate has not been evaluated, based on the blood glucose signals included in the sequence units and historical units; wherein the blood glucose signals included in each of the sequence units and the historical units satisfy the signal integrity requirements for drift rate calculation; the overall drift rate reflects the degree of output drift of the blood glucose sensor with respect to the blood glucose signal between the sequence unit and the historical units; the historical units include the first N sequence units that are consecutive to the sequence unit in the time window; N is a positive integer; The reference unit determination module is configured to determine whether there are any sequence units that meet a preset stability condition based on the sequence units whose overall drift rate is currently determined; the preset stability condition is used to reflect that the signal output of the blood glucose sensor is in a steady-state operating state. The reference unit determination and calibration module is configured to determine a reference unit based on a sequence unit that meets a preset stability condition if such a sequence unit exists, and to calibrate the blood glucose measurement values ​​output by the blood glucose sensor in the sequence unit following the reference unit based on the blood glucose signals included in the reference unit. The iterative module is configured to wait for the generation of a new sequence unit if no sequence unit that meets the preset stability conditions exists, and then return to the step of determining the overall drift rate of the sequence unit based on the blood glucose signals included in the sequence unit and the historical unit, until any set termination condition is met; the set termination conditions include: determining the reference unit; the cumulative running time of the blood glucose sensor reaching the preset maximum observation period.

19. An electronic device comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 17.

20. A non-volatile computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 17.

21. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 17.