Cloud big data-based intelligent real-time dynamic blood glucose monitoring system and method

Information

  • Patent Grant
  • 11937920
  • Patent Number
    11,937,920
  • Date Filed
    Monday, October 8, 2018
    5 years ago
  • Date Issued
    Tuesday, March 26, 2024
    a month ago
Abstract
Intelligent real-time blood glucose monitoring system and method based on cloud big data is disclosed. The system includes an implantable dynamic glucose sensor, a smart phone, a blood glucose monitoring software application installed on the smart phone, a finger blood glucose meter, and a big data cloud server. By processing historical blood glucose measurement data of a user stored in the cloud, the monitoring system effectively corrects and influences signal differences produced by individual users so as to ensure the validity and accuracy of measurement signals during sensor operation.
Description
CROSS REFERENCE TO THE RELATED APPLICATIONS

This application is the national phase entry of International Application No. PCT/CN2018/109283, filed on Oct. 8, 2018, which is based upon and claims priority to Chinese Patent Application No. 201710947227.0, filed on Oct. 12, 2017, the entire contents of which are incorporated herein by reference.


TECHNICAL FIELD

The invention relates to the technical field of intelligent medical devices, and in particular, to an intelligent real-time dynamic blood glucose monitoring system and method based on cloud big data.


BACKGROUND

There are various types of biosensors for sensing a variety of analytes in the market. The most widely used and most common biosensor is the amperometric glucose sensor, which is critical for successfully controlling the glucose level in patients having diabetes mellitus. Currently, implantable glucose sensors are the most advanced continuous human blood glucose monitoring system in the world. A sensor probe is implanted into the dermal tissue to monitor the glucose content in the subcutaneous interstitial fluid and the human blood glucose value calculated.


The signal obtained by the amperometric glucose sensor is easily affected by chemical differences of individuals, their lifestyle habits and physical condition. These include, but are not limited to, differences in glucose content between the subcutaneous tissue fluid and capillary and venous blood, the time delay between the fluctuation change of blood glucose and the change of glucose content in the subcutaneous interstitial fluid, rejection of the sensor by the body resulting in the formation of an impermeable sheath-like protein layer covering the sensor, and the local skin discomfort and allergic reactions caused by the sensor over time. As a result, the amperometric electrochemical sensor cannot distinguish the signal source of its working electrode, which substantially impacts the accuracy of glucose monitoring and the health and well-being of the individual.


For this reason, the amperometric electrochemical sensor needs a set of solutions that can correct the signal. At present, the general method is to remind the user to compare the signal value measured by the sensor with the finger blood glucose value measured by the blood glucose meter on a regular basis, so as to manually recalibrate the sensor signal. Adjustment of the correlation between the current signal and the concentration of analyte must also be done manually to ensure accuracy. This increases the difficulty and complexity of use of the sensor, which causes user inconvenience, frustration and unacceptable risk to the user's health.


SUMMARY

The purpose of the invention is to provide an intelligent real-time dynamic blood glucose monitoring system and method based on cloud big data, so as to solve the shortcomings of the prior art.


The invention includes the following technical scheme.


An intelligent real-time dynamic blood glucose monitoring system based on cloud big data includes an implantable dynamic glucose sensor, a smart phone and a blood glucose monitoring application software installed on the smart phone, a finger blood glucose meter and a cloud big data server.


The implantable dynamic glucose sensor includes a replaceable sensor probe, a reusable signal collector and a signal transmitter with an electrochemical impedance spectrum measurement function, wherein the output of electrochemical impedance spectrum measurement includes the impedance value and phase of the impedance or the real and imaginary parts of the impedance. The signal transmitter of implantable dynamic glucose sensor is connected with the smart phone through wireless connection and transmits data with blood glucose monitoring application software.


The smart phone and the blood glucose monitoring application software installed on the smart phone have the functions of data transmission with the implantable dynamic glucose sensor and finger blood glucose meter by way of wireless communication technology, as well as data uploading and downloading through the smart phone data network or wireless network and cloud big data server.


The finger blood glucose meter collects blood samples from the user's fingertips for blood glucose measurement, and transmits data with the smart phone through wireless transmission.


The cloud big data server includes the functions of storing, updating, calculating and transmitting the user's personal information and historical data. The cloud big data server automatically corrects and calculates the parameter output data of the implantable dynamic glucose sensor and sends it to the smart phone terminal according to the user's historical data in the cloud database.


Preferably, the user's personal information and historical data stored in the cloud big data server include the user's name, gender, age, contact number, serial number and related information of the implantable dynamic glucose sensor, raw data Is of the implantable dynamic glucose sensor, signal-to-noise ratio SNR, blood glucose output value SG and the corresponding data measurement time and date Ts, the conversion coefficient CF and related parameters between the original data of the sensor and the blood glucose value, the blood glucose value BG measured by the users through the finger blood glucose meter and corresponding measurement time and date Tb, the electrochemical impedance data Z measured by the implantable dynamic glucose sensor and corresponding measurement time and date Tz.


Preferably, the conversion coefficient CF between the original data of the sensor stored and calculated in the cloud big data server and the blood glucose value at the time point t is calculated as follows







CF

(
t
)

=



CF

0

+


CFd
×
t

+

α
×
CFcomp

+

β
×
CFcal



1
+
α
+
β






wherein, the time point t is the zero point when the sensor is started. CF0 is the initial value of conversion coefficient. CFd is the change rate of conversion coefficient. CFcal is the correction compensation coefficient adjusted according to the blood glucose measurement value BG. CFcomp is the compensation conversion coefficient adjusted according to electrochemical impedance data Z; α, β are the weight coefficients of CFcomp and CFcal, with the value range of 0<α<10, 0<β<10.


The cloud big data server calculates the corresponding CF related parameters through a regression algorithm according to the real-time updated data and historical data of specific users.


Preferably, CF0 and CFd are calculated as follows:


for each new user, the preset CF0 and CFd are used to calculate the sensor output blood glucose value:

SG=Is×(CF0+CFd×t)=Is×CF0+(Is×t)CFd


After the user has used the finger blood glucose meter to measure and compare their own blood glucose, the measured value of the blood glucose meter is collected through the smart phone and uploaded to the cloud big data server. The updated CF0 and CFd are calculated by regression equation. The specific method is as follows:


step A, extracting sample data: near each measurement time Tb of the finger blood glucose meter, screening out the dynamic glucose sensor data whose time interval |Tb −Ts| is less than the threshold value, and extracting the following data:


1. BG: measured data of finger blood glucose meter


2. SG: blood glucose calculation data of dynamic glucose sensor


3. Is: current data of dynamic glucose sensor


4. Ts: time stamp data of dynamic glucose sensor


5. T0s: start time stamp data of dynamic glucose sensor selecting the data with |SG−BG| less than the threshold value as valid samples to form a sample record package [BGn Isn Tsn T0sn] for calculation;


using the data of the last three to six months for regression, and arranging the subscript number n of the historical data variable in reverse order of TS, that is, the closer to the current historical data, the smaller the subscript number, the data of dynamic glucose sensor can be from multiple sensor probes of the same model;


step B, establishing the sample matrix:









G
=

[




BG
1






BG
2






BG
3











BG
n




]





I
=

[




Is
1





Is
1

×

t
1







Is
2





Is
2

×

t
2







Is
3





Is
3

×

t
3















Is
n





Is
n

×

t
n





]








wherein, tn=Tsn−T0sn;


step C, establishing the coefficient matrix:







C
=

[





CF

0






CFd





]


;




step D, constructing the weight matrix:






W
=

[




w

(

Ts
1


)





















w


(

Ts
2


)






















w


(

Ts
3


)










































w


(

Ts
n


)





]





wherein, Ts′n=Tcurrent−Tsn, Tcurrent is the current time; w(Ts′n) is the weight coefficient of Ts′n, so that the closer Tsn is to the current time, the greater the weight is;


step E, solving the overdetermined equation G=IC:


using the weighted least square method to solve the matrix equation Ĉ=(ITWI)−1ITWG;


step F, eliminating abnormal data: calculating the residual matrix ε=G−IĈ, removing the data items with residuals greater than the threshold value, and then repeating step B to E of the regression algorithm to obtain updated values custom character and custom character of CF0 and CFd;


step G, finally, using the obtained custom character and custom character calculated by regression to correct the current set CF0 and CFd with a certain correction ratio γ as the conversion coefficient setting of the next dynamic glucose sensor:

CF0:=(1−γ)×CF0+γ×custom character
CFd:=(1−γ)×CFd+γ×custom character


the range of γ values is 0<γ<1.


Preferably, the calculation method of CFcal in the cloud big data server is as follows:


when the user uses the finger blood glucose meter to detect the blood glucose value BG, the BG, the sensor current signals Is and CFcal should conform to the following relationship with the smallest possible error:

BG=Is×CFcal


step A, obtaining a new blood glucose value BG and measurement time Tb after each time the user uses the finger blood glucose meter for blood glucose detection, and selecting the dynamic glucose sensor data with time interval |Tb−Ts| less than the threshold value at the same time:


1. BG: measured data of finger blood glucose meter


2. SG: blood glucose calculation data of dynamic glucose sensor


3. Is: current data of dynamic glucose sensor


4. SNR: signal-to-noise ratio of dynamic glucose sensor current signal


5. Ts: time stamp data of dynamic glucose sensor


selecting the data with |SG−BG| less than the threshold value as valid samples to form a sample record package [BGn Isn SNRn Tsn] for calculation;


using the data in the latest period for regression, and arranging the subscript number n of the historical data variable in reverse order of Ts, that is, the closer to the current historical data, the smaller the subscript number. All the dynamic glucose sensor data must come from the same sensor probe; in which, the last period includes the last 5 days, the last 7 days, the last 10 days or the same period as the service life of the replaceable sensor probe;


step B, using regression algorithm to calculate the updated value CFcal′ of CFcal:







CFcal


=








n
=
1

N

[


Is
n

×


BG


n

×


SNR


n

×

w

(

Ts
n


)


]








n
=
1

N

[


Is
n
2

×


SNR


n

×

w

(

Ts
n


)


]






wherein, Ts′n=Tcurrent−Tsn, Tcurrent is the current time; w(Ts′n) is the weight coefficient of Ts′n, so that the closer Tsn is to the current time, the greater the weight is.


Preferably, the calculation method of CFcomp is as follows:


CFcomp is a parameter associated with the measured value Z of electrochemical impedance by the correlation Fcomp(Z;Ω):

CFcomp=Fcomp(Z;Ω)=Ωa×M(Z/Z0)+Ωb


wherein, Ω is the built-in parameter array specific to the sensor







Ω
=

[




Ω

a






Ω

b




]


,

M

(

Z
/
Z

0

)






is a function related to impedance data Z, and Z0 is the impedance value measured by the sensor in a controlled experimental environment;


when the user uses the finger blood glucose meter to detect the blood glucose value BG, the BG, the sensor current signal Is and CFcomp should conform to the following relationship with the smallest possible error:






BG
=

Is
×
CF

comp







=


Is
×

M

(

Z
/
Z

0

)

×
Ω

a

+

Is
×
Ω

b






step A, near each measurement time Tb of the finger blood glucose meter, screening out the dynamic glucose sensor data whose time interval |Tb−Tz| is less than the threshold value, and extracting the following data:


1. BG: measured data of finger blood glucose meter


2. SG: blood glucose calculation data of dynamic glucose sensor


3. Is: current data of dynamic glucose sensor


4. Z: Impedance data of dynamic glucose sensor


5. Tz: time stamp data of dynamic glucose sensor


selecting the data with |SG−BG| less than the threshold value as valid samples to form a sample record package [BGn ISn Zn Tzn] for calculation;


using the data in the last three months for regression, and arranging the subscript number n of the historical data variable in reverse order of Tz, that is, the closer to the current historical data, the smaller the subscript number, the data of dynamic glucose sensor can come from multiple sensor probes of the same model;


step B, establishing sample matrix and weight matrix:









G
=

[




BG
1






BG
2






BG
3











BG
n




]





I
=

[






Is
1

×

M

(


z
1

/
z

0

)





Is
1









Is
2

×

M

(


z
2

/
z

0

)






Is
2









Is
3

×

M

(


z
3

/
z

0

)






Is
3




















Is
n

×

M

(


z
n

/
z

0

)






Is
n




]










W
=

[




w

(

Tz
1


)





















w

(

Tz
2


)





















w

(

Tz
3


)









































w

(

Tz
n


)




]





wherein, Tz′n=Tcurrent−Tzn


the closer to the current time, the greater the weight is;


step C, solving the overdetermined equation G=IΩ;


using the weighted least square method to solve the matrix equation {circumflex over (Ω)}=(ITWI)−1ITWG;


step D, eliminating abnormal data: calculating the residual matrix {circumflex over (ε)}=G−I{circumflex over (Ω)}, removing the data items with residuals greater than the threshold value, and then repeating steps B to C to obtain the optimal solution {circumflex over (Ω)};


step E, using the obtained {circumflex over (Ω)} to correct the current set Ω with a certain correction ratio γ:

Ω:=(1−γ)×Ω+γ×{circumflex over (Ω)}


the range of γ values is 0<γ<1.


Preferably, another calculation method of CFcomp is as follows:


CFcomp is a parameter associated with the measured value of electrochemical impedance Z by the correlation Fcomp (Z;Ω):






CFcomp
=



F

c

o

m

p


(

Z
;
Ω

)

=

Ω

a
×


(

Z

Z

0


)


Ω

b








wherein, Ω is the built-in parameter array specific to the sensor







Ω
=

[




Ω

a






Ω

b




]


,





and Z0 is the impedance value measured by the sensor in a controlled experimental environment;


when the user uses the finger blood glucose meter to detect the blood glucose value BG, the BG, the sensor current signal Is and CFcomp should conform to the following relationship with the smallest possible error:

BG=Is×CFcomp=Is×Ωa×(Z/Z0)Ωb


taking the natural logarithm of both ends of the equation and getting

Ln(BG)=Ln[Is×Ωa×(Z/Z0)Ωb]=Ln(Is)+Ln(Ωa)+Ωb×Ln(Z/Z0)


letting the parameter matrix







L
Ω

=

[




ln



(

Ω

a

)







Ω

b




]







    • step A, near each measurement time Tb of the finger blood glucose meter, screening out the dynamic blood glucose meter data whose time interval |Tb−Tz| is less than the threshold value, and extracting the following data:

    • 1. BG: measured data of finger blood glucose meter

    • 2. SG: blood glucose calculation data of dynamic glucose sensor

    • 3. Is: current data of dynamic glucose sensor

    • 4. Z: impedance data of dynamic glucose sensor

    • 5. Tz: time stamp data of dynamic glucose sensor





selecting the data with |SG−BG| less than the threshold value as valid samples to form a sample record package [BGn ISn Zn Tzn] for calculation;


using the data in the last three months for regression, and arranging the subscript number n of the historical data variable in reverse order of Tz, that is, the closer to the current historical data, the smaller the subscript number, the data of the dynamic glucose sensor can come from multiple sensor probes of the same model;


step B, establishing sample matrix and weight matrix:










G
=

[





Ln



(

BG
1

)


-

Ln



(

Is
1

)









Ln



(

BG
2

)


-

Ln



(

Is
2

)









Ln



(

BG
3

)


-

Ln



(

Is
3

)














Ln



(

BG
n

)


-

Ln



(

Is
n

)






]





I
=

[



1



Ln



(


Z
1

/
Z

0

)






1



Ln



(


Z
2

/
Z

0

)






1



Ln



(


Z
3

/
Z

0

)














1



Ln



(


Z
n

/
Z

0

)










]






W
=

[




w

(

Tz
1


)





















w

(

Tz
2


)





















w

(

Tz
3


)









































w

(

Tz
n


)




]





wherein, Tz′n=Tcurrent−Tzn


the closer to the current time, the greater the weight is;


step C, solving the overdetermined equation G=I(LΩ);


using the weighted least square method to solve the matrix equation custom character=(ITWI)−1ITWG;


step D, eliminating abnormal data: calculating the residual matrix {circumflex over (ε)}=G−custom character, removing the data items with residuals greater than the threshold value, and then repeating steps B to C to get the optimal solution custom character; then calculating the Ωa from the value Ln(Ωa) obtained by the solution custom character, and getting







Ω
^

=

[




Ω

a






Ω

b




]





step E, using the obtained {circumflex over (Ω)} to correct the current set Ω with a certain correction ratio γ:

Ω:=(1−γ)×Ω+γ×{circumflex over (Ω)}


the range of γ values is 0<γ<1.


An intelligent real-time dynamic blood glucose monitoring method based on cloud big data includes the following steps:


step 1: when the smart phone application detects that the implantable dynamic glucose sensor is connected with the smart phone and initiates operation, firstly, judging whether the user has a history of using the same type of implantable dynamic glucose sensor, if not, determining that the user is a new user, and initiating use of the conversion coefficient CF0 between the preset sensor signal Is and the blood glucose output value and the conversion coefficient change rate CFd, and uploading the data to cloud big data server. At the same time, outputting blood glucose monitoring value according to the preset conversion correlation through the implantable dynamic glucose sensor. If there is historical data of the user, determining that the user is an existing user, and downloading the records of the latest CF0 and CFd to the implantable dynamic glucose sensor from the cloud big data server through the smart phone as a parameter for calculating the sensor's blood glucose output value;


step 2: detecting whether the current time has reached a new measurement cycle through the implantable dynamic glucose sensor, if not, letting the system wait until entering a new measurement cycle, then, in each new measurement cycle, calculating the conversion coefficient CF (t) in the cycle, wherein t is the interval between the current timestamp Ts and the sensor start-up time T0s, wherein the operation in step 2 includes three input data points obtained from the sensor: sensor start-up time T0s, current timestamp Ts and Is (t), and may also contain the impedance measurement information Z obtained by the sensor in the current measurement cycle and parameters Ω and CFcal obtained or updated by the cloud big data server communication.


The process of calculating and outputting SG includes the following steps:


step A, firstly, checking whether there is newly acquired impedance measurement data Z in the current measurement cycle, if so, detecting the change of the impedance value from the last measurement and the update of CFcal. If there is no CFcal update recently and Z changes significantly, updating the compensation local conversion parameter CFcomp and uploading the impedance measurement data Z and timestamp Tz to the cloud big data server. If the change in Z is not significant, or CFcal is updated, only uploading the impedance measurement data Z and timestamp TZ, and using the current compensation conversion parameter CFcomp.


step B, checking whether the cloud big data server has newly acquired impedance compensation parameter Ω′ and correction conversion parameter CFcal through smart phone in the current cycle; if yes, downloading updated Ω′ and CFcal′ from the cloud big data server through smart phone; if not, continuing to use current Ω and CFcal.


step C, calculating the current conversion coefficient CF(t), and the calculation formula is as follows:







CF

(
t
)

=



CF

0

+

CFd

×
t

+

α
×

CFcomp


+

β
×
CFcal



1
+
α
+
β






wherein, α, β are the weight coefficients of CFcomp and CFcal respectively, and the value range is 0<α<10, 0<β<10.


step D, obtaining the current signal Is (t) of the sensor and calculating the output blood glucose value SG (t) of the sensor, wherein the calculation formula is SG(t)=Is(t)×CF(t).


step 3: uploading the original output current signal value of the sensor, the calculated SG value, and the corresponding timestamp Ts to the cloud big data server through the smart phone.


step 4: when the smart phone receives the signal that the probe of the implantable dynamic glucose sensor reached the service life, informing the cloud computing module to calculate the new conversion coefficient CF0 and the conversion coefficient change rate CFd through a regression algorithm, and when the user uses the next new sensor probe, informing the dynamic glucose sensor to update the parameters through the smart phone in step 1.


step 5: when the user is using the implantable dynamic glucose sensor, if the user also uses the finger blood glucose meter for blood glucose measurement at the same time, uploading the measured blood glucose value BG and timestamp Tb to the cloud database through the smart phone.


step 6: when the cloud database receives the finger blood glucose meter data through the smart phone, informing the cloud computing module to calculate the new impedance compensation parameter Ω′ and the correction conversion parameter CFcal′ through the regression algorithm, and transferring the calculation results to the smart phone, then informing the implantable dynamic glucose sensor to update the parameters through the smart phone, so that the implantable dynamic glucose sensor can update the parameters in step 2.


The Beneficial Effects of the Invention are as Follows.


1. The invention provides a real-time dynamic blood glucose monitoring system including a smart phone and a cloud big data server, which can effectively correct the influence of individual differences of the user on the signal of the implanted sensor by accessing and processing historical blood glucose measurement data of the user stored in the cloud, so as to ensure the quality and accuracy of the measurement signal during operation of the sensor. This scheme is suitable for current electrochemical sensors containing oxidoreductase or redox pair media. The typical application can be an implantable glucose sensor for human subcutaneous tissue fluid containing glucose oxidase, but not limited to such applications.


2. The invention establishes a set of algorithms, by way of establishing a regression equation characteristic of the current signal, the electrochemical impedance measurement result and the user's historical blood glucose data, and solving the over determined equation group to compensate and modify the output result of the blood glucose value calculated by the dynamic blood glucose monitoring system, so as to improve the accuracy of the output result.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a schematic diagram of the system structure of the invention.



FIG. 2 is a flow diagram of the method of the invention.





DETAILED DESCRIPTION OF THE EMBODIMENTS

The invention will be further explained in combination with the embodiment and the accompanying drawings. The following embodiments are only used to illustrate the invention, but not to limit the scope of implementation of the invention.


An intelligent real-time dynamic blood glucose monitoring system and method based on cloud big data is provided. As shown in FIG. 1, the system includes an implantable dynamic glucose sensor, a smart phone and a blood glucose monitoring application software installed on the smart phone, a finger blood glucose meter and a cloud big data server.


The glucose sensor includes a replaceable sensor probe, a reusable signal collector and a signal transmitter having an electrochemical impedance spectrum measurement function. The output of electrochemical impedance spectrum measurement includes the impedance value and phase or the real and imaginary parts of impedance. The frequency of electrochemical impedance measurement is less than the frequency of the glucose current signal measured by the sensor. The signal transmitter of the implantable dynamic glucose sensor is connected with the smart phone through a wireless connection such as Bluetooth communication, and transmits data with the blood glucose monitoring application software. In the connection and data transmission between the smart phone and the dynamic glucose sensor, the dynamic glucose sensor may only transmit the original current, impedance and time information. The calculation of blood glucose value and the storage of relevant parameters CF (t), CF0, CFd, CFcal and CFcomp, as well as the cloud data storage and updating, are realized in the smart phone application software, which may be a software as a service (SaaS).


The smart phone and the blood glucose monitoring application software installed on the smart phone have the functions of data transmission between the embedded glucose sensor and the finger blood glucose meter by way of wireless communication technology, as well as data uploading and downloading through the smart phone data network or wireless network and cloud big data server. Smart phones can also be other smart devices, such as a tablet, PC, laptop or the like.


The finger blood glucose meter has the function of collecting blood samples from a user's fingertips for blood glucose measurement, and can transmit data with the smart phone by way of wireless transmission;


The cloud big data server has the functions of storing, updating, calculating and transmitting the user's personal information and historical data. The user's personal information and historical data stored by the cloud big data server include, but are not limited to, the user's name, gender, age, contact number, serial number and related information of the user's implanted dynamic glucose sensor, original data Is of the sensor, signal to noise ratio (SNR), blood glucose output value SG and corresponding data measurement time and date Ts, conversion coefficient CF between sensor original data and blood glucose value and its related parameters, blood glucose value BG measured by user with the finger blood glucose meter and corresponding measurement time and date Tb, electrochemical impedance data measured by the implantable dynamic glucose sensor and corresponding measurement time and date Tz. The cloud big data server automatically corrects and calculates the parameter output data of the implantable dynamic glucose sensor and sends it to the smart phone terminal according to the user's historical data in the cloud database.


The conversion coefficient CF between the sensor raw data and the blood glucose value stored and calculated in the cloud big data server at time point t is calculated as follows







CF

(
t
)

=



CF

0

+


CFd
×
t

+

α
×

CFcomp

+

β
×
CFcal



1
+
α
+
β






wherein, time point t is the zero point when the sensor is started; CF0 is the initial value of conversion coefficient. CFd is the change rate of the conversion coefficient. CFcal is the correction compensation coefficient adjusted according to the blood glucose measurement value BG. CFcomp is the compensation conversion coefficient adjusted according to the electrochemical impedance data Z, which is calculated by the impedance measurement result Z and built-in compensation parameter array Ω. α, β are the weight coefficients of CFcomp and CFcal, the value range is 0<α<10, 0 <β<10.


The cloud big data server calculates the corresponding CF related parameters through the regression algorithm according to the real-time updated data and historical data of specific users.


CF0 and CFd are calculated as follows:


For each new user, the preset CF0 and CFd are used to calculate the sensor output blood glucose value:

SG=Is×(CF0+CFd×t)=Is×CF0+×tCFd


After the user has used the finger blood glucose meter to measure and compare their own blood glucose, the measured value of the blood glucose meter is collected through the smart phone and uploaded to the cloud big data server, and the updated CF0 and CFd are calculated by regression equation. The specific method is as follows:


step A, extracting sample data: near each measurement time Tb of the finger blood glucose meter, screening out the dynamic glucose sensor data whose time interval |Tb−Ts| is less than the threshold value, and extracting the following data:


1. BG: measured data of finger blood glucose meter


2. SG: blood glucose calculation data of dynamic glucose sensor


3. Is: current data of dynamic glucose sensor


4. Ts: time stamp data of dynamic glucose sensor


5. T0s: start time stamp data of dynamic glucose sensor


selecting the data with |SG−BG| less than the threshold value as valid samples to form a sample record package [BGn Isn Tsn T0sn] for calculation; and


using the data of the last three to six months for regression, and arranging the subscript number n of the historical data variable in reverse order of TS, that is, the closer to the current historical data, the smaller the subscript number, the data of dynamic glucose sensor can come from multiple sensor probes of the same model.


step B, establishing the sample matrix:









G
=

[




BG
1






BG
2






BG
3











BG
n




]





I
=

[




Is
1





Is
1

×

t
1







Is
2





Is
2

×

t
2







Is
3





Is
3

×

t
3















Is
n





Is
n

×

t
n





]








wherein, tn=Tsn−T0sn.


step C, establishing the coefficient matrix:







C
=

[




CF

0





CFd



]


;




step D, constructing the weight matrix:






W
=

[




w

(

Ts
1


)





















w

(

Ts
2


)





















w

(

Ts
3


)









































w

(

Ts
n


)




]





wherein, Ts′n=Tcurrent−Tsn, Tcurrent is the current time; w(Ts′n) is the weight coefficient of Ts′n, so that the closer Tsn is to the current time, the greater its weight is. For example:






w
=

{



0.6




Ts




1


month






0.3




1


month

<

Ts




3


months






0.1




3


months

<

Ts




6


months











step E, solving the overdetermined equation G=IC:


using the weighted least square method to solve the matrix equation Ĉ=(ITWI)−1ITWG.


step F, eliminating abnormal data: calculating the residual matrix {circumflex over (ε)}=G−IĈ, removing the data items with residuals greater than the threshold value, and then repeating step B to E of regression algorithm to obtain the sum of updated values custom character and custom character of CF0 and CFd.


step G, finally, using the obtained custom character and custom character calculated by regression to correct the current set CF0 and CFd with a certain correction ratio γ as the conversion coefficient setting of the next dynamic glucose sensor:

CF0:=(1−γ)×CF0+γ×custom character
CFd:=(1−γ)×CFd+γ×custom character


The range of γ values is 0<γ<1. For example, γ=0.6.


The calculation method of CFcal in the cloud big data server is as follows:


when the user uses the finger blood glucose meter to detect the blood glucose value BG, the BG, the sensor current signals Is and CFcal should conform to the following relationship with the smallest possible error:

BG=Is×CFcal


step A, obtaining a new blood glucose value BG and measurement time Tb after each time the user uses the finger blood glucose meter for blood glucose detection, and selecting the dynamic glucose sensor data with time interval |Tb−Ts| less than the threshold value at the same time:


1. BG: measured data of finger blood glucose meter


2. SG: blood glucose calculation data of dynamic glucose sensor


3. Is: current data of dynamic glucose sensor


4. SNR: signal-to-noise ratio of dynamic glucose sensor current signal


5. Ts: time stamp data of dynamic glucose sensor


selecting the data with |SG−BG| less than the threshold value as valid samples to form a sample record package [BGn Isn SNRn Tsn] for calculation;


using the data in the latest period for regression, and arranging the subscript number n of the historical data variable in reverse order of TS, that is, the closer to the current historical data, the smaller the subscript number. All the dynamic glucose sensor data must come from the same sensor probe; wherein, the latest period includes the last 5 days, the latest 7 days, the last 10 days or the same period as the service life of the replaceable sensor probe;


step B, using regression algorithm to calculate the updated value CFcal′ of CFcal:







CF


cal



=








n
=
1

N

[


Is
n

×

BG
n

×

SNR
n

×

w

(

Ts
n


)


]








n
=
1

N

[


Is
n
2

×

SNR
n

×

w

(

Ts
n


)


]






wherein, Ts′n=Tcurrent−Tsn, Tcurrent is the current time; w(Ts′n) is the weight coefficient of Ts′n, so that the closer Tsn is to the current time, the greater its weight is. For example:







w

(

Ts
n


)

=

{



0.6



t


24


hours






0.3




24


hours

<
t


72


hours






0.1




72


hours

<
t


168


hours










The calculation method of CFcomp is as follows:


CFcomp is a parameter associated with the measured value of electrochemical impedance Z by the correlation Fcomp(Z;Ω):

CFcomp=Fcomp(Z;Ω)=Ωa×M(Z/Z0)+Ωb


wherein, Ω is the built-in parameter array specific to the sensor







Ω
=

[




Ω

a






Ω

b




]


,

M

(

Z
/
Z

0

)






is a function related to impedance data Z, and Z0 is the impedance value measured by the sensor in a controlled experimental environment. In this example, M(Z/Z0)=eZ/Z0;


when the user uses the finger blood glucose meter to detect the blood glucose value BG, the BG, the sensor current signal Is and CFcomp should conform to the following relationship with the smallest possible error:






BG
=


Is
×
CFcomp

=



Is
×

M

(

Z

Z

0


)

×
Ω

a

+

Is
×
Ω

b


=


Is
×
Ω

a
×

e

Z
/
Z

0



+

Is
×
Ω

b








step A, near each measurement time Tb of the finger blood glucose meter, screening out the dynamic glucose sensor data whose time interval |Tb−Tz| is less than the threshold value, and extracting the following data:


1. BG: measured data of finger blood glucose meter


2. SG: blood glucose calculation data of dynamic glucose sensor


3. Is: current data of dynamic glucose sensor


4. Z: Impedance data of dynamic glucose sensor


5. Tz: time stamp data of dynamic glucose sensor


selecting the data with |SG−BG| less than the threshold value as valid samples to form a sample record package [BGn ISn Zn Tzn] for calculation;


using the data in the last three months for regression, and arranging the subscript number n of the historical data variable in reverse order of Tz, that is, the closer to the current historical data, the smaller the subscript number, the data of dynamic glucose sensor can come from multiple sensor probes of the same model;


step B, establishing sample matrix and weight matrix:









G
=

[




BG
1






BG
2






BG
3











BG
n




]





I
=

[





Is
1

×

M

(


z
1

/
z

0

)





Is
1







Is
2

×

M

(


z
2

/
z

0

)





Is
2







Is
3

×

M

(


z
3

/
z

0

)





Is
3















Is
n

×

M

(


z
n

/
z

0

)





Is
n




]










W
=

[




w

(

Tz
1


)





















w

(

Tz
2


)





















w

(

Tz
3


)









































w

(

Tz
n


)




]





wherein, Tz′n=Tcurrent−Tzn


The closer Tzn is to the current time, the greater its weight is. For example,






W
=

{



0.6




Tz




1


month






0.3




1


month

<

Tz




2


months






0.1




2


months

<

Tz




3


months










step C, solving the overdetermined equation G=IΩ;


using the weighted least square method to solve the matrix equation {circumflex over (Ω)}=(ITWI)−1ITWG;


step D, eliminating abnormal data: calculating the residual matrix {circumflex over (ε)}=G−I{circumflex over (Ω)}, removing the data items with residuals greater than the threshold value, and then repeating steps B to C to get the optimal solution {circumflex over (Ω)};


step E, using the obtained {circumflex over (Ω)} to correct the current set Ω with a certain correction ratio γ:

Ω:=(1−γ)×Ω+γ×{circumflex over (Ω)}


The range of γ values is 0<γ<1. For example, γ=0.75.


Another calculation method of CFcomp is as follows:


CFcomp is a parameter associated with the measured value of electrochemical impedance Z by the correlation Fcomp(Z;Ω):






CFcomp
=



F
comp

(

Z
;
Ω

)

=

Ω

a
×


(

Z

Z

0


)


Ω

b








wherein, Ω is the built-in parameter array specific to the sensor







Ω
=

[




Ω

a






Ω

b




]


,





and Z0 is the impedance value measured by the sensor in a controlled experimental environment;


when the user uses the finger blood glucose meter to detect the blood glucose value BG, the BG, the sensor current signal Is and CFcomp should conform to the following relationship with the smallest possible error:

BG=Is×CFcomp=Is×Ωa×(Z/Z0)Ωb;


taking the natural logarithm of both ends of the equation and obtaining

Ln(BG)=Ln[Is×Ωa×(Z/Z0)Ωb]=Ln(Is)+Ln(Ωa)+Ωb×Ln(Z/Z0)


letting the parameter matrix







L
Ω

=

[




ln

(

Ω

a

)






Ω

b




]





step A, near each measurement time Tb of the finger blood glucose meter, screening out the dynamic blood glucose meter data whose time interval |Tb−Tz| is less than the threshold value, and extracting the following data:


1. BG: measured data of finger blood glucose meter


2. SG: blood glucose calculation data of dynamic glucose sensor


3. Is: current data of dynamic glucose sensor


4. Z: Impedance data of dynamic glucose sensor


5. Tz: time stamp data of dynamic glucose sensor


selecting the data with |SG−BG| less than the threshold value as valid samples to form a sample record package [BGn ISn Zn Tzn] for calculation;


using the data in the last three months for regression, and arranging the subscript number n of the historical data variable in reverse order of Tz, that is, the closer to the current historical data, the smaller the subscript number. The data of dynamic glucose sensor can come from multiple sensor probes of the same model;


step B, establishing sample matrix and weight matrix:









G
=

[





Ln

(

BG
1

)

-

Ln

(

Is
1

)








Ln

(

BG
2

)

-

Ln

(

Is
2

)








Ln

(

BG
3

)

-

Ln

(

Is
3

)













Ln

(

BG
n

)

-

Ln

(

Is
n

)





]





I
=

[



1



Ln

(


Z
1

/
Z

0

)





1



Ln

(


Z
2

/
Z

0

)





1



Ln

(


Z
3

/
Z

0

)













1



Ln

(


Z
n

/
Z

0

)




]










W
=

[




w

(

Tz
1


)





















w

(

Tz
2


)





















w

(

Tz
3


)









































w

(

Tz
n


)




]





wherein, Tz′n=Tcurrent−Tzn


The closer is to the current time, the greater its weight is;


step C, solving the overdetermined equation G=I(LΩ);


using the weighted least square method to solve the matrix equation custom character=(ITWI)−1ITWG;


step D, eliminating abnormal data: calculating the residual matrix {circumflex over (ε)}=G−custom character, removing the data items with residuals greater than the threshold value, and then repeating steps B to C to get the optimal solution custom character; then calculating the Ωa from the value Ln(Ωa) obtained by the solution custom character, and obtaining







Ω
^

=

[




Ω

a






Ω

b




]





step E, using the obtained {circumflex over (Ω)} to correct the current set Ω with a certain correction ratio γ:

Ω:=(1−γ)×Ω+γ×{circumflex over (Ω)}


The range of γ values is 0<γ<1. For example, γ=0.5.


An intelligent real-time dynamic blood glucose monitoring method based on cloud big data as shown in FIG. 2 includes the following steps:


step 1: when the smart phone application detects that the implantable dynamic glucose sensor is connected with the smart phone and begins operation, firstly judging whether the user has the history of using the same type of implantable dynamic glucose sensor. If not, determining that the user is a new user, and starting to use the conversion coefficient CF0 between the preset sensor signal Is and the blood glucose output value and the conversion coefficient change rate CFd, and uploading the data to the cloud big data server. At the same time, outputting the blood glucose monitoring value according to the preset conversion correlation through the glucose sensor. If there is historical data of the user, determining whether the user is an existing user, and downloading the records of the latest CF0 and CFd to the implantable dynamic glucose sensor from the cloud big data server through the smart phone as a parameter for calculating the sensor's blood glucose output value.


step 2: detecting whether the current time has reached a new measurement cycle through the implantable dynamic glucose sensor. If not, leaving the system idle until entering a new measurement cycle, then, in each new measurement cycle, calculating the conversion coefficient CF (t) in the cycle, in which t is the interval between the current timestamp Ts and the sensor start-up time T0s, wherein the operation in step 2 includes three input data points obtained from the sensor: sensor start-up time T0s; current timestamp Ts; and Is (t), and may also contain the impedance measurement information Z obtained by the sensor in the current measurement cycle and parameters Ω and CFcal obtained or updated by the cloud big data server communication.


The process of calculating and outputting SG includes the following steps:


step A, firstly, checking whether there is newly acquired impedance measurement data Z in the current measurement cycle. If so, detecting the change of the impedance value from the last measurement and the update of CFcal. If there is no CFcal update recently and Z changes significantly, updating the compensation local conversion parameter CFcomp and uploading the impedance measurement data Z and timestamp Tz to the cloud big data server. If the change in Z is not significant or if CFcal is updated, only uploading the impedance measurement data Z and timestamp TZ, and using the current compensation conversion parameter CFcomp;


step B, checking whether the cloud big data server has newly acquired impedance compensation parameter Ω′ and correction conversion parameter CFcal through smart phone in the current cycle; if yes, downloading updated Ω′ and CFcal′ from the cloud big data server through smart phone; if not, continuing to use current Ω and CFcal;


step C, calculating the current conversion coefficient CF (t), and the calculation formula is as follows:







CF

(
t
)

=



CF

0

+

CFd
×
t

+

α
×
CF

comp

+

β
×
CFcal



1
+
α
+
β






wherein, α, β are the weight coefficients of CFcomp and CFcal respectively, and the value range is 0<α<10, 0 <β<10;


step D, obtaining the current signal Is (t) of the sensor and calculating the output blood glucose value SG (t) of the sensor. The calculation formula is SG(t)=Is(t)×CF(t);


step 3: uploading the original output current signal value of the sensor, the calculated SG value, and the corresponding timestamp Ts to the cloud big data server through the smart phone;


step 4: when the smart phone receives the signal that the probe of the implantable glucose sensor reached the service life, informing the cloud computing module to calculate the new conversion coefficient CF0 and the conversion coefficient change rate CFd through the regression algorithm, and when the user uses the next new sensor probe, informing the dynamic glucose sensor to update the parameters through the smart phone in step 1;


step 5: when the user is using the implantable dynamic glucose sensor, if the user also uses the finger blood glucose meter for blood glucose measurement at the same time, uploading the measured blood glucose value BG and timestamp Tb to the cloud database through the smart phone;


step 6: when the cloud database receives the finger blood glucose meter data through the smart phone, informing the cloud computing module to calculate the new impedance compensation parameter Ω′ and the correction conversion parameter CFcal′ through the regression algorithm, and pushing the calculation results to the smart phone, then informing the implantable dynamic glucose sensor to update the parameters through the smart phone, so that the implantable dynamic glucose sensor can update the parameters in step 2.

Claims
  • 1. An intelligent real-time dynamic blood glucose monitoring system based on cloud big data, comprising an implantable dynamic glucose sensor,a smart phone and a blood glucose monitoring application software installed on the smart phone,a finger blood glucose meter anda cloud big data server;wherein the implantable dynamic glucose sensor comprises a replaceable sensor probe, a reusable signal collector configured to measure an electrochemical impedance spectrum- and transmit a signal, an output of the electrochemical impedance spectrum measurement comprises an impedance value and a phase or a real part and an imaginary part of an impedance; the signal transmitter of the implantable dynamic glucose sensor is connected with the smart phone through a wireless connection and transmits data with the blood glucose monitoring application software;the smart phone and the blood glucose monitoring application software installed on the smart phone-is configured to transmit data with the implantable dynamic glucose sensor and the finger blood glucose meter through wireless communication technology, and upload data- and download data through a smart phone data network or a wireless network and the cloud big data server;the finger blood glucose meter is configured to collect a blood sample from a user's fingertip for a blood glucose measurement, and transmit data with the smart phone through the wireless network;the cloud big data server is configured to store, update, calculate and transmit personal information and historical data of the user, wherein the cloud big data server automatically corrects and calculates parameter output data of the implantable dynamic glucose sensor and sends the parameter output data to a terminal of the smart phone according to the historical data of the user in a cloud database, and wherein the cloud big data server calculates a conversion coefficient CF between original sensor data stored and the blood glucose value at a time point t as follows:
  • 2. The intelligent real-time dynamic blood glucose monitoring system based on the cloud big data according to claim 1, wherein the personal information and the historical data stored in the cloud big data server of the user comprises user's name, gender, age, contact number, serial number and related information of the implantable dynamic glucose sensor, raw data Is of the implantable dynamic glucose sensor, signal-to-noise ratio SNR, blood glucose output value SG and measurement time and date Ts corresponding to the SG, a conversion coefficient CF and a related parameter between original data of the implantable dynamic glucose sensor and a blood glucose value, the blood glucose value BG measured by the finger blood glucose meter and measurement time and date Tb corresponding to the BG, electrochemical impedance data Z measured by the implantable dynamic glucose sensor and measurement time and date Tz corresponding to the Z.
  • 3. The intelligent real-time dynamic blood glucose monitoring system based on the cloud big data according to claim 1, wherein the cloud big data server is configured to calculate the CF0 and the CFd as follows: for each user, the cloud big data server is configured to calculate blood glucose value output by the implantable dynamic glucose sensor using a preset CF0 and CFd: SG=Is×(CF0+CFd×t)=Is×CF0+(Is×t)CFd, after the user has used the finger blood glucose meter to measure their own blood glucose, a measured value of the blood glucose meter is collected through the smart phone and uploaded to the cloud big data server, the cloud big data server is configured to calculate the updated CF0 and CFd by a regression equation, as follows:step A, extract sample data: near each measurement time Tb of the finger blood glucose meter, screen out dynamic glucose sensor data having a time interval |Tb−Ts| less than a threshold value, and extract following data:1. BG: measured data of the finger blood glucose meter2. SG: blood glucose calculation data of the implantable dynamic glucose sensor3. Is: current data of the implantable dynamic glucose sensor4. Ts: time stamp data of the implantable dynamic glucose sensor5. T0s: start time stamp data of the implantable dynamic glucose sensorselect data with |SG−BG| less than the threshold value as a valid sample to form a sample record package [BGn Isn Tsn T0sn] for calculation;use data of last three to six months for a regression, and arrange a subscript number n of a historical data variable in reverse order of TS, that is, the closer to current historical data, the smaller the subscript number, the data of the implantable dynamic glucose sensor come from multiple sensor probes of a same model;step B, establish a sample matrix:
  • 4. The intelligent real-time dynamic blood glucose monitoring system based on the cloud big data according to claim 1, wherein the cloud big data server calculates the CFcal as follows: when the user uses the finger blood glucose meter to detect the blood glucose value BG, the BG, the current data of the dynamic glucose sensor Is and the CFcal conform to following relationship with a smallest possible error: BG=Is×CFcal the cloud big data server is configured to: step A, obtain a new blood glucose value BG and measurement time Tb after each time the user uses the finger blood glucose meter for blood glucose detection, and select the dynamic glucose sensor data with a time interval |Tb−Ts| less than the threshold value at a same time:1. BG: measured data of the finger blood glucose meter2. SG: blood glucose calculation data of the implantable dynamic glucose sensor3. Is: current data of the implantable dynamic glucose sensor4. SNR: signal-to-noise ratio of a dynamic glucose sensor current signal5. Ts: time stamp data of the implantable dynamic glucose sensorselect the data with |SG−BG| less than the threshold value as the valid sample to form the sample record package [BGn Isn SNRn Tsn] for calculation;using data in a latest period for regression, and arrange the subscript number n of the historical data variable in reverse order of TS, that is, the closer to the current historical data, the smaller the subscript number, all the dynamic glucose sensor data come from a same sensor probe; wherein, the latest period comprises last 5 days, latest 7 days, last 10 days or same period as a service life of the replaceable sensor probe;step B, use the regression algorithm to calculate updated value CFcal′ of CFcal:
  • 5. The intelligent real-time dynamic blood glucose monitoring system based on the cloud big data according to claim 1, wherein the cloud big data server calculates the CFcomp as follows: the CFcomp is a parameter associated with a measured value of the electrochemical impedance data Z by a correlation Fcomp(Z;Ω): CFcomp=Fcomp(Z;Ω)=Ωa×M(Z/Z0)+Ωb wherein, Ω is a built-in parameter array specific to the sensor
  • 6. The intelligent real-time dynamic blood glucose monitoring system based on the cloud big data according to claim 1, wherein the cloud big data server calculates the CFcomp as follows: the Cfcomp is the parameter associated with a measured value of the electrochemical impedance data Z by a correlation Fcomp(Z; Ω):
  • 7. An intelligent real-time dynamic blood glucose monitoring method based on cloud big data, comprising the following steps: step 1: when a smart phone application detects that an implantable dynamic glucose sensor is connected with the smart phone and starts to work, checking whether a user has a history of using a same type of the implantable dynamic glucose sensor;wherein, when the user doesn't have the history of using the same type of the implantable dynamic glucose sensor, determining the user as a new user, using a conversion coefficient CF0 between a preset sensor signal Is and a blood glucose output value and a conversion coefficient change rate CFd, uploading data to a cloud big data server, and outputting a blood glucose monitoring value according to a preset conversion correlation through the implantable dynamic glucose sensor,wherein, when the user has the history of using the same type of the implantable dynamic glucose sensor, determining the user as an existing user, and downloading records of a latest CF0 and CFd of the user to the implantable dynamic glucose sensor from the cloud big data server through the smart phone as a parameter for calculating the blood glucose output value;step 2: detecting whether a current time has reached a new measurement cycle through the implantable dynamic glucose sensor;when the current time hasn't reached the new measurement cycle through the implantable dynamic glucose sensor, waiting until the system enters the new measurement cycle, then, in each new measurement cycle, calculating the conversion coefficient CF (t) in the new measurement cycle, wherein t is an interval between a current timestamp Ts and a sensor start-up time T0s, obtaining an impedance measurement data Z by the sensor in the current measurement cycle, and communicating with the cloud big data server to obtain updated parameters Ω and CFcal;a process of calculating and outputting SG includes following steps:step A, checking whether there is the newly acquired impedance measurement data Z in the current measurement cycle;when there is the newly acquired impedance measurement data Z in the current measurement cycle, detecting a change of the impedance value from the last measurement and updating CFcal;wherein, when there is no recent CFcal update and Z changes significantly, updating a compensation local conversion parameter CFcomp and uploading the impedance measurement data Z and timestamp Tz to the cloud big data server,wherein, when there is a recent CFcal update or there is no significant change in Z, uploading only the impedance measurement data Z and timestamp TZ, and using the current compensation conversion parameter CFcomp;step B, checking whether the cloud big data server has newly acquired impedance compensation parameter Ω′ and correction conversion parameter CFcal through the smart phone in the current cycle; if the cloud big data server has the newly acquired impedance compensation parameter Ω′ and the correction conversion parameter CFcal through the smart phone in the current cycle, downloading updated Ω′ and CFcal′ from the cloud big data server through the smart phone; if the cloud big data server hasn't the newly acquired impedance compensation parameter Ω′ and the correction conversion parameter CFcal through the smart phone in the current cycle, continuing to use current Ω and CFcal;step C, calculating a current conversion coefficient CF (t), and a calculation formula for the CF (t) is as follows:
Priority Claims (1)
Number Date Country Kind
201710947227.0 Oct 2017 CN national
PCT Information
Filing Document Filing Date Country Kind
PCT/CN2018/109283 10/8/2018 WO
Publishing Document Publishing Date Country Kind
WO2019/072142 4/18/2019 WO A
US Referenced Citations (3)
Number Name Date Kind
20170000391 Wasson et al. Jan 2017 A1
20170071513 Hoss et al. Mar 2017 A1
20170074757 Garcia Mar 2017 A1
Foreign Referenced Citations (5)
Number Date Country
104736057 Jun 2015 CN
106456065 Feb 2017 CN
106535762 Mar 2017 CN
107135644 Sep 2017 CN
2017116503 Jul 2017 WO
Related Publications (1)
Number Date Country
20230240565 A1 Aug 2023 US