Cloud big data-based system and method for insulin pump individualized configuration optimization
11786656 · 2023-10-17
Assignee
Inventors
Cpc classification
A61M5/1723
HUMAN NECESSITIES
A61M5/16877
HUMAN NECESSITIES
G16H20/10
PHYSICS
A61M2205/52
HUMAN NECESSITIES
A61M2205/3553
HUMAN NECESSITIES
International classification
A61M5/168
HUMAN NECESSITIES
G16H20/10
PHYSICS
Abstract
A cloud big data-based system and method for insulin pump individualized configuration optimization are provided. The system includes an insulin pump, a real-time continuous glucose monitoring system, a smart phone, a glucose monitoring application software installed in the smart phone and a cloud big data server. By means of personal blood glucose measurement historical data of users stored in the cloud, the insulin pump individualized configuration optimization system provides effective calculation of an individualized optimal insulin injection volume and injection rate for each user, thus aiding physicians and patients to formulate diabetes treatment plans with increased effectiveness.
Claims
1. A cloud big data-based system for insulin pump individualized configuration optimization, comprising an insulin pump, a real-time continuous glucose monitoring system (CGMS), a smart phone, a glucose monitoring application software installed in the smart phone, and a cloud big data server; wherein the insulin pump comprises a syringe pump body with a control module and a wireless transmission module, a replaceable drug container and a subcutaneous indwelling needle; the wireless transmission module of the insulin pump is wirelessly connected to the smart phone and transmits data with the glucose monitoring application software; the real-time continuous glucose monitoring system comprises a replaceable implantable glucose sensor probe, a reusable signal collector and a signal transmitter; the signal transmitter of the real-time continuous glucose monitoring system is wirelessly connected to the smart phone and transmits data with the glucose monitoring application software; the smart phone and the glucose monitoring application software installed in the smart phone have a function of data transmission with the real-time continuous glucose monitoring system and the insulin pump through a wireless transmission technique, and a function of data upload and download through a smart phone data network or a wireless network from the cloud big data server; the cloud big data server has functions of storing, updating, calculating and transmitting user's personal information and user's historical data; the cloud big data server calculates user's personalized parameters related to diabetes according to the user's historical data stored in the cloud big data server to obtain calculated user's personalized parameters, and automatically corrects and calculates a parameter output data of the insulin pump and an implantable glucose sensor to obtain a corrected and calculated parameter output data, and transfers the calculated user's personalized parameters and the corrected and calculated parameter output data to the smart phone, the calculated user's personalized parameters and the corrected and calculated parameter output data comprise an amount CR of carbohydrate converted by 1 unit of insulin, an insulin sensitivity index IS, insulin retention time TA, a glucose release rate GR during fasting via metabolism, an injection volume BOLUS of a single high-dose injection and a basal infusion rate BASAL; the insulin pump downloads the calculated user's personalized parameters and the corrected and calculated parameter output data from the cloud big data server through the smart phone, then calculates and recommends a high-dose insulin injection scheme according to a carbohydrate intake input by the user, and recommends an updated basal infusion rate scheme to the user according to a time segmentation of the basal infusion rate, wherein a definition and a calculation method of the CR, the IS, the TA, the GR and an insulin infusion volume implemented in the cloud big data server includes the following: CR: the amount of carbohydrate converted by 1 unit of insulin, IS: the insulin sensitivity index, TA: the insulin retention time, GR: the glucose release rate during fasting via metabolism, BOLUS: the injection volume of the single high-dose injection, BASAL: the basal infusion rate, wherein the BASAL is counted in insulin units per hour (U/h), and according to the CR, IS, TA, calculating the BOLUS is as follows:
2. The cloud big data-based system for insulin pump individualized configuration optimization according to claim 1, wherein the user's personal information and the user's historical data stored in the cloud big data server comprise a name, a gender, an age, and a contact number of the user, a serial number of the insulin pump, records of an insulin pump infusion dose, an insulin pump infusion time and an insulin pump infusion rate, a blood glucose output value BG and a data measurement time (Ts) corresponding to the BG, the carbohydrate intake, a sleep and an exercise recorded by the user.
3. The cloud big data-based system for insulin pump individualized configuration optimization according to claim 1, wherein the cloud big data server optimizes the CR, the IS, and the TA by collecting a real-time data obtained by the user using the real-time CGMS and the insulin pump for the high-dose injection, specific steps are as follows: step A, establishing a regression equation
[Tstart.sub.nTend.sub.nBOLUS.sub.nCARBS.sub.nBGbefore.sub.nBGafter.sub.n] data in the last three to six months are used for a regression, a subscript number n of a historical data variable is arranged in reverse order of the Tstart; step C, constructing a sample matrix:
ΔBG.sub.n=BGafter.sub.n−BGbefore.sub.n, when TI.sub.n<TAu, BOLUS′.sub.n=BOLUS.sub.n+BOLUS.sub.n+1, TI′.sub.n=TI.sub.n,
TI.sub.n=Tstart.sub.n−(Tstart.sub.n+1+Tend.sub.n+1)/2; when TI.sub.n>TAu, BOLUS′.sub.n=BOLUS.sub.n, TI′.sub.n=0; when TAl≤TI.sub.n≤TAu, the sample is abandoned; TAu is an upper limit allowed by the TA, and TAl is a lower limit allowed by the TA; step D, if for each n, X.sub.n,3=0, then:
=Ĉ.sub.1,1
=Ĉ.sub.1,1/Ĉ.sub.2,1 if Ĉ.sub.3,1 exists, then
=Ĉ.sub.1,1/Ĉ.sub.3,1, otherwise
=TA; step H, finally, using the obtained
,
and
to correct the currently set IS, CR and TA with a predetermined correction ratio γ, wherein a range of γ values is 0<γ<1,
IS:=(1−γ)×IS+γ×
CR:=(1−γ)×CR+γ×
TA:=(1−γ)×TA+γ× the above is used as setting parameters for the high-dose injection of the insulin pump from now on; TAl and TAu are revised at the same time:
TAl:=TA×τ%, where 0<τ<100;
TAu:=TA×υ%, where 100<υ<150; storing and updating physiological parameters IS, CR, TA, TAl and TAu to the cloud big data server and pushing the physiological parameters to a mobile application and the insulin pump.
4. The cloud big data-based system for insulin pump individualized configuration optimization according to claim 1, wherein the cloud big data server optimizes a value of physiological parameter GR in predetermined time periods and the corresponding basal infusion rate BASAL by collecting real-time data obtained by the user using the real-time CGMS and the insulin pump in real time, specific steps are as follows: step A, first, segmenting 24 hours a day according to the basal infusion rate established by the user with reference to doctor's recommendations and his/her own situation, wherein the GR and the BASAL values in each time period need to be set and calculated independently, for each time period and 2 hours before the each time period, if the user eats something, and a high-dose injection accompanied with or without food is performed, data obtained at 2 hours after [a] meal or the high-dose injection needs to be excluded from the time period, data of the time period is updated to only include data of longer continuous time remaining after a removal of the data obtained at 2 hours after the meal/high-dose injection; step B, collecting sample data in each valid time period: Tstart: the start time of the time period BGstart: an average value of blood glucose in a previous short period of the time period BGend: an average value of blood glucose in a last short period of the time period BASAL: the basal infusion rate during the time period t: a duration of the time period IS: the insulin sensitivity index TA: the insulin retention time
[Tstart.sub.nBGstart.sub.nBGend.sub.nBASAL.sub.nt.sub.nRESIDUAL.sub.nSNR.sub.n] and system parameters IS and TA; data of the time period in the last three to six months are used for [a] regression, and the subscript number n of the historical data variables is arranged in reverse order of the Tstart; step C, for each effective time period, considering an effectiveness of ingesting insulin, a total glucose ΔBG released by [a] body into the blood through metabolism is:
ΔBG.sub.n=BGend.sub.n−BGstart.sub.n+[BASAL.sub.n×t.sub.n+RESIDUAL.sub.n]×IS establishing a regression equation ΔBG=GR×t; step D, for each valid time period, using a regression method to calculate an updated value of GR
to correct the currently set GR with a predetermined correction ratio γ
GR:=(1−γ)×GR+γ× a range of γ values is 0<γ<1; step F, using a modified GR and a historical sample packet [BGstart.sub.n t.sub.n RESIDUAL.sub.n] of the time period to calculate value
to be set in the time period a correction according to the formula:
in time to calculate a current BASAL correction value
:
and the current BASAL value exceeds the threshold, using the [calculated]
to correct the currently set BASAL with a predetermined correction γ:
5. The cloud big data-based system for insulin pump individualized configuration optimization according to claim 1, wherein the cloud big data server optimizes the basal infusion rate BASAL in predetermined time periods by collecting real-time data obtained by the user using the real-time CGMS and the insulin pump in real time, specific steps are as follows: step A, first, segmenting 24 hours a day according to the basal infusion rate established by the user with reference to doctor's recommendations and his/her own situation, wherein the BASAL value in each time period needs to be set and calculated independently, for each time period and 2 hours before the each time period, if the user eats something, and a high-dose injection accompanied with or without food is performed, data obtained at 2 hours after [a] meal or the high-dose injection needs to be excluded from the time period, data in the time period is updated to include only data of the [longer] continuous time remaining after a removal of the data [obtained] at 2 hours after the eating/high-dose injection; step B, collecting sample data in each valid time period: the Tstart: the start time of the time period the BGstart: the average value of blood glucose in a previous short period of the time period BGend: an average value of blood glucose in a last short period of the time period BASAL: basal infusion rate during the time period t: a duration of the time period IS: the insulin sensitivity index TA: the insulin retention time
[Tstart.sub.nBGstart.sub.nBGend.sub.nBASAL.sub.nt.sub.nRESIDUAL.sub.n] and system parameters IS and TA; the data of the time period in the last three to six months are used for [a] regression, and the subscript number n of historical data variables is arranged in reverse order of the Tstart; step C, for an n.sup.th time period, using a historical sample packet of the n.sup.th time period to calculate value to be set in the time period after a correction according to the formula:
in time to calculate a current BASAL correction value
:
and the current BASAL value exceeds a threshold, using the [calculated]
to correct the currently set BASAL with a predetermined correction ratio γ:
6. A cloud big data-based method for insulin pump individualized configuration optimization, comprising: step 1, obtaining, by a smart phone application, a cloud big data server data when a system is started to determine whether a user is using an insulin injection system for the first time, if yes, prompting the user to set parameters insulin sensitivity index (IS), an amount of carbohydrate converted by 1 unit of insulin (CR), insulin retention time (TA), a glucose release rate (GR) during fasting via metabolism, time segmentation and a basal injection rate or to continue to use a default setting, if no, downloading updated parameters from a cloud big data server; step 2, entering into a high-dose injection mode in response to the user inputting a high-dose injection command manually, step 3, in the high-dose mode, the insulin pump prompting the user to manually enter a carbohydrate intake (CARBS) and confirm a target blood glucose value to be achieved through the smart phone application, while obtaining a current blood glucose value (BGcurrent) measured by a real-time continuous glucose monitoring system (CGMS); step 4, calculating a required high-dose injection volume (BOLUS) using previously set or obtained parameter values:
BOLUS=CARBS/CR+(BGcurrent−BGtarget)/IS−BOLUSprev[1−min(TI,TA)/TA], wherein BGtarget is a target blood glucose value, and BOLUSprev is an injection volume of a previous high-dose injection, TI is a time between a current high-dose injection and a midpoint of the previous high-dose injection, min (TI, TA) is a smaller value of the TI and the TA, so that when the TI is greater than or equal to the TA, a residual amount of the previous high-dose injection
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
DETAILED DESCRIPTION OF THE EMBODIMENTS
(3) The present invention is described in more detail below in combination with embodiments and drawings. The following embodiments are used only to illustrate the present invention, but are not intended to limit the scope of implementation of the present invention.
(4) A cloud big data-based system for insulin pump individualized configuration optimization, as shown in
(5) The insulin pump includes a syringe pump body with a control module and a wireless transmission module, a replaceable drug container and a subcutaneous indwelling needle. The wireless transmission module of the insulin pump is wirelessly connected to the smart phone via Bluetooth and transmits data with the glucose monitoring application software. During the connection and data transmission between the smart phone and the insulin pump, it can also be that the insulin pump only transmits insulin injection records and time information to the smart phone glucose monitoring application software and executes the high-dose and basal infusion rate commands issued by the glucose monitoring application software. The BOLUS and BASAL are calculated in the smart phone glucose monitoring application software according to the following algorithm, and the storage and cloud data synchronization and update of the relevant parameters IS, CR, TA and GR are also realized in the smart phone glucose monitoring application software, that is, the smart phone glucose monitoring application software replaces the control module of the insulin pump to process the data.
(6) The real-time continuous glucose monitoring system includes a replaceable implantable glucose sensor probe, a reusable signal collector and a signal transmitter. The signal transmitter of the real-time continuous glucose monitoring system is connected to the smart phone through wireless means such as Bluetooth communication and transmits data with the glucose monitoring application software.
(7) The smart phone and the glucose monitoring application software installed in the smart phone have the function of data transmission with the real-time continuous glucose monitoring system and the insulin pump through wireless transmission technology such as Bluetooth, and the function of data upload and download through smart phone data network or wireless network from the cloud big data server. The smart phone can also be other smart devices.
(8) The cloud big data server has the functions of storing, updating, calculating and transmitting user's personal information and historical data. The user's personal information and historical data stored in the cloud big data server include but are not limited to the user's name, gender, age, contact number, serial number of insulin pump products used, records of insulin pump infusion volume, infusion time and infusion rate, blood glucose output value BG and corresponding data measurement time Ts, carbohydrate intake, sleep and exercise recorded by the patient.
(9) The cloud big data server calculates the personalized parameters related to diabetes according to the stored user historical data, and automatically corrects and calculates the parameter output data of insulin pump and implantable glucose sensor and transfers it to the smart phone. The parameters include, but are not limited to, the amount CR of carbohydrate converted by 1 unit of insulin, insulin sensitivity index IS, and insulin retention time TA, glucose release rate GR via metabolism during fasting, injection volume BOLUS of single high-dose injection and basal infusion rate BASAL.
(10) The insulin pump can download the latest user parameters from the cloud big data server through the smart phone, then calculate and recommend the high-dose insulin injection scheme according to the carbohydrate intake input by the user, and recommend the updated basal infusion rate scheme to the user according to the time segmentation of the user's basal infusion rate.
(11) The cloud big data server can archive the individualized parameters related to diabetes and blood glucose historical data of the user, and the historical data of insulin infusion and form an analysis report for the doctor's reference, so as to make the continued treatment plan after the patient stops the insulin pump therapy.
(12) In the cloud big data server, the definition and calculation of the physiological parameters CR, IS, TA, GR and insulin infusion volume are as follows:
(13) CR: Carbohydrate Ratio, the amount of carbohydrate converted by one unit of insulin
(14) IS: insulin sensitivity, insulin sensitivity index
(15) TA: active insulin time, insulin retention time
(16) GR: Glucose Release Rate, the rate of glucose released into the blood by the body through metabolism during fasting
(17) BOLUS: injection volume of single large-dose injection
(18) BASAL: basal infusion rate, usually counted in insulin units per hour (U/h)
(19) According to the given CR, IS, TA, the BOLUS calculation formula is as follows:
(20)
(21) where, BGcurrent is the blood glucose value before the high-dose injection read by CGMS; BGtarget is the target blood glucose value; BOLUSprev is the injection volume of the previous high-dose injection; CARBS is the current carbohydrate intake input by the user; TI is the time between current high-dose injection and the midpoint of the previous high-dose injection process, min (TI, TA) is the smaller value of TI and TA, so that when TI is greater than or equal to TA, the residual amount of the previous high-dose injection
(22)
(23) According to the given GR, the BASAL during fasting for t is calculated as follows:
(24)
(25) Where BGstart is the average blood glucose in a period after the fasting starts read by CGMS, and TI is the time between current high-dose injection and the midpoint of the previous high-dose injection process.
(26) The cloud big data server can optimize the physiological parameters CR, IS, and TA by collecting real-time data obtained by users using CGMS and insulin pump for high-dose injection. The specific steps are as follows:
(27) Step A, establishing a regression equation
(28)
(29) where, BGbefore is the blood glucose value before the high-dose injection, which is the equal to the BGcurrent in the calculation formula; BGafter is the measured blood glucose value after a period of high-dose injection, such as after 2 hours of the high-dose injection;
(30) Step B, obtaining the following data near each high-dose injection Tstart from the insulin pump and CGMS through the smart phone:
(31) Injection start time Tstart: insulin pump data
(32) Injection end time Tend: insulin pump data
(33) Injection volume BOLUS of high-dose injection at Tstart: insulin pump data
(34) Blood glucose value BGbefore measured by implantable dynamic glucose sensor at Tstart
(35) Blood glucose value BGafter measured by implantable dynamic glucose sensor a period after Tend (for example, 2 hours after Tend)
(36) Carbohydrate intake CARBS input by users near Tstart
(37) Forming a sample record packet for calculation
[Tstart.sub.nTend.sub.nBOLUS.sub.nCARBS.sub.nBGbefore.sub.nBGafter.sub.n]
(38) The data in the last three to six months are used for regression. The subscript number n of historical data variable is arranged in reverse order of Tstart, that is, the closer to the current historical data, the smaller the subscript number;
(39) Step C, constructing the sample matrix:
(40)
(41) where,
ΔBG.sub.n=BGafter.sub.n−BGbefore.sub.n
(42) When TI.sub.n<TAl, BOLUS′.sub.n=BOLUS.sub.n+BOLUS.sub.n+1, TI′.sub.n=TI.sub.n,
TI.sub.n=Tstart.sub.n−(Tstart.sub.n+1+Tend.sub.n+1)/2;
(43) When TI.sub.n>TAu, BOLUS′.sub.n=BOLUS.sub.n, TI′.sub.n=0;
(44) When TAl≤TI.sub.n≤TAu, the sample was abandoned.
(45) TAu is the upper limit allowed by TA, and TAl is the lower limit allowed by TA.
(46) Step D, if for each n, X.sub.n,3=0, then:
(47)
(48) Otherwise, the sample matrix remains unchanged;
(49) Step E, solving the overdetermined equation G=XC,
(50) The weighted least square method is used to solve: Ĉ=(X.sup.TWX).sup.−1X.sup.TWG;
(51) Step F, eliminating the abnormal data: calculate the residual error: {circumflex over (ε)}=G−XĈ, eliminate the data items whose residual error is greater than the threshold, and then repeat the regression algorithm A-F until there are no data items whose residual error is greater than the threshold.
(52) Step G, calculating the updated physiological parameters IS, CR, and TA according to the results of the regression algorithm:=Ĉ.sub.1.1
=Ĉ.sub.1.1/Ĉ.sub.2.1
(53) If Ĉ.sub.3.1 exists, then =Ĉ.sub.1.1/Ĉ.sub.3.1, otherwise
=TA;
(54) Step H, finally, using the obtained ,
and
to correct the currently set IS, CR and TA with a certain correction ratio γ, wherein the range of γ values is 0<γ<1,
IS:=(1−γ)×IS+γ×
CR:=(1−γ)×CR+γ×
TA:=(1−γ)×TA+γ×
(55) the above is used as a setting parameter for high-dose injection of insulin pump from now on;
(56) TAl and TAu are revised at the same time:
TAl:=TA×τ%, wherein 0<τ<100;
TAu:=TA×υ%, wherein 100<υ<150;
(57) Storing and updating physiological parameters IS, CR, TA, TAl and TAu to the cloud big data server and pushing them to mobile application and insulin pump.
(58) The cloud big data server can optimize the value of physiological parameter GR in different time periods and the corresponding basal infusion rate BASAL by collecting real-time data obtained by users using CGMS and insulin pump in real time. The specific steps are as follows:
(59) Step A, first, segmenting the 24 hours a day according to the basal infusion rate established by the user with reference to the doctor's recommendations and their own situation. The GR and BASAL values in each time period need to be set and calculated independently. For each time period and 2 hours before the each time period, if the user eats something, and a high-dose injection accompanied with or without food is performed, the data obtained at 2 hours after the meal or the high-dose injection needs to be excluded from this time period, the data of the time period is updated to only include the data of the longer continuous time remaining after the removal of the data obtained at 2 hours after the meal/high-dose injection. For example, if the time period is set to: (1) 6:00-13:00, (2) 13:00-20:00, (3) 20:00—the next day 6:00, and the user eats and injects insulin at 7:00, 12:00, 18:00, then the time period (1) is adjusted to 9:00-12:00, the time period (2) is adjusted to 14:00-18:00, and the time period (3) remains unchanged.
(60) Step B, collecting sample data in each valid time period:
(61) Tstart: the start time of the time period
(62) BGstart: the average value of blood glucose in the previous short period (for example, 15 min) of the time period
(63) BGend: the average value of blood glucose in the last short period (for example, 15 min) of the time period
(64) BASAL: basal infusion rate during this time period
(65) t: duration of this time period
(66) IS: insulin sensitivity index
(67) TA: insulin retention time
(68)
residual insulin in the body at the beginning of the time period
(69) SNR: signal-to-noise ratio of dynamic blood glucose data
(70) Forming a sample record package for calculation
[Tstart.sub.nBGstart.sub.nBGend.sub.nBASAL.sub.nt.sub.nRESIDUAL.sub.nSNR.sub.n] and system parameters IS and TA;
(71) The data of the same period in the last three to six months are used for regression, and the subscript number n of historical data variables is arranged in reverse order of Tstart, that is, the closer to the current historical data, the smaller the subscript number.
(72) Step C, for each effective time period, considering the effectiveness of ingesting insulin, during which the body releases total glucose ΔBG into the blood through metabolism:
ΔBG.sub.n=BGend.sub.n−BGstart.sub.n+[BASAL.sub.n×t.sub.n+RESIDUAL.sub.n]×IS
(73) establishing regression equation Δ BG=GR×t;
(74) Step D, for each valid time period, using the regression method to calculate the updated value of GR
(75)
(76) where, w(T′) is the time-related weight, T′.sub.n=Tcurrent−Tstart.sub.1, Tcurrent.sub.n is the current time, that is, the time of the latest historical data Tstart.sub.1;
(77) The closer to the nearest sample, the greater the weight; for example,
(78)
(79) Step E, using the obtained to correct the currently set GR with a certain correction ratio γ
GR:=(1−γ)×GR+γ×
(80) The range of γ values is 0<γ<1;
(81) Step F, using the modified GR and the historical sample packet [BGstart.sub.n t.sub.n RESIDUAL.sub.n] of the time period to calculate value that should be set in this time period after correction according to the formula:
(82)
(83) Step G, weighting all the calculated ′ in time to calculate the current BASAL correction value
:
(84)
(85) where, w(T′) is the time-related weight, and the closer the sample is to the current time, the greater the weight is;
(86)
(87) Step H, if the difference between the calculated value and the current BASAL value exceeds the threshold, using the obtained
to correct the currently set BASAL with a certain correction ratio γ:
BASAL:=(1−γ)×BASAL+γ×
(88) The range of γ values is 0<γ<1;
(89) Storing and updating BASAL as the setting parameter of the basal injection rate of the insulin pump, and storing it to the cloud big data server together with the physiological parameter GR and transfer it to the mobile application and the insulin pump.
(90) The cloud big data server can optimize the basal infusion rate BASAL in different time periods by collecting real-time data obtained by users using CGMS and insulin pump in real time. Other specific steps are as follows:
(91) Step A, first, segmenting the 24 hours a day according to the basal infusion rate established by the user with reference to the doctor's recommendations and his/her own situation. The BASAL value in each time period needs to be set and calculated independently. For each time period and 2 hours before the each time period, if the user eats something, and a high-dose injection accompanied with or without food is performed, the data obtained at 2 hours after the meal or high-dose injection needs to be excluded from this time period, the data in this time period is updated to include only the data of the long continuous time remaining after the removal of the data obtained at 2 hours after the eating/high-dose injection; Step B, collecting sample data in each valid time period:
(92) Tstart: the start time of the time period
(93) BGstart: the average value of blood glucose in the previous short period of the time period
(94) BGend: the average value of blood glucose in the last short period of the time period
(95) BASAL: basal infusion rate during this time period
(96) t: duration of this time period
(97) IS: insulin sensitivity index
(98) TA: insulin retention time
(99)
residual insulin in the body at the beginning of the time period
(100) Forming a sample record package for calculation
[Tstat.sub.nBGstat.sub.nBGend.sub.nBASAL.sub.nt.sub.nRESIDUAL.sub.n] and system parameters IS and TA;
(101) The data of the same period in the last three to six months are used for regression, and the subscript number n of historical data variables is arranged in reverse order of Tstart, that is, the closer to the current historical data, the smaller the subscript number.
(102) Step C, for the n.sup.th time period, using the historical sample packet of the n.sup.th time period to calculate value that should be set in this time period after correction according to the formula:
(103)
(104) Step D, weighting all the calculated , in time to calculate the current BASAL correction value BA:
(105)
(106) where, w′(T′) is the time-related weight, and the closer the sample is to the current time, the greater the weight is;
(107) Step E, if the difference between the calculated value and the current BASAL value exceeds the threshold, using the obtained
to correct the currently set BASAL with a certain correction ratio γ:
BASAL:=(1−γ)×BASAL+γ×
(108) The range of γ values is 0<γ<1.
(109) A cloud big data-based method for insulin pump individualized configuration optimization, as shown in
(110) Step 1, when the system is started, the smart phone application obtains the cloud big data server data to determine whether the user is using the insulin injection system for the first time. If yes, the user is prompted to set the parameters IS, CR, TA, GR, time segmentation and the basal injection rate or to continue to use the default setting. If no, the updated above parameters are downloaded from the cloud big data server.
(111) Step 2, if the user inputs the high-dose injection command manually, the insulin pump enters the high-dose mode. Otherwise, the insulin pump maintains in the basic injection mode.
(112) Step 3, in the basic injection mode, insulin injection is performed according to the preset basic rate of the current time period, and the blood glucose data monitored by CGMS are uploaded to the cloud server on a regular basis. After the end of this time period or after the operation of the insulin pump, checking whether there is an update of the GR and basic rate of the cloud big data server. If yes, updating the local storage parameters, and then repeating step 2. If no, repeating step 2 directly.
(113) Step 4, in the high-dose mode, the insulin pump prompts the user to manually enter the carbohydrate intake CARBS and confirm the target blood glucose value to be achieved through the smart phone application, while obtaining the current blood glucose value BGcurrent measured by CGMS.
(114) Step 5, the required high-dose injection volume is calculated using the previously set or obtained parameter values:
BOLUS=CARBS/CR+(BGcurrent−BGtarget)/IS−BOLUSprev[1−min(TI,TA)/TA];
(115) Step 6, the patient is prompted to confirm the infusion volume and high-dose infusion time, and the injection stop time is calculated as Tend=Tstart+T.sub.BOLUS, where =infusion volume/bolus-rate. Bolus-rate is the user-defined high-dose insulin infusion rate.
(116) Step 7, the insulin injection information Tstart, Tend, BOLUS, CARBS and CGMS blood glucose monitoring data are uploaded to the cloud big data server.
(117) Step 8, the high-dose injection is performed until the Tend is reached.
(118) Step 9, detecting whether there are physiological parameters updated in the cloud. If yes, updating the local storage parameters, and then repeating step 2. If no, repeating step 2 directly.