Method, device, processor and computer readable storage medium for quickly calculating and processing ratio of insulin to carbohydrate

By dynamically adjusting the ratio of insulin to carbohydrates, the problem of inappropriate insulin dosage in the existing technology is solved, personalized insulin regulation is achieved, the speed and stability of blood sugar control is improved, and the risk of high and low blood sugar is reduced.

CN118588236APending Publication Date: 2024-09-03SHANGHAI GELU INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410820085.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

It is difficult for the existing technology to accurately match the response of individual insulin and carbohydrates when injecting insulin subcutaneously into patients, resulting in inappropriate insulin doses, easily causing hyperglycemia or hypoglycemia, prolonging blood sugar control time, and reducing satisfaction.

Method used

By setting initialization parameters, calculating the initial total dose, and defining three modes (Mode 1, Mode 2, and Mode 3), the ratio of insulin to carbohydrates is adjusted based on blood sugar data, and the insulin dose is dynamically adjusted to ensure that the patient's blood sugar level is within a reasonable target range. Inside.

Benefits of technology

It achieves precise control of individualized insulin dosage, reduces the probability of hyperglycemia and hypoglycemia, improves the speed and stability of blood sugar control, and improves patient treatment satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118588236A
    Figure CN118588236A
Patent Text Reader

Abstract

The invention relates to a method for rapidly calculating and processing the ratio of insulin to carbohydrate. The method comprises the following steps: calculating an initial total dose TDD; obtaining the ratio of the preprandial large dose to the total dose TDD; calculating a first initial ratio I: C of insulin to carbohydrate; the method comprises the following steps: defining three modes I and C: 1, and determining a current mode; collecting blood sugar; calculating a current mode; calculating a reference ratio of the current insulin adjustment; calculating a current ratio of current insulin to carbohydrate; and calculating the preprandial large dose. The invention further relates to a device, a processor and a computer readable storage medium for rapidly calculating the ratio of the insulin to the carbohydrate. According to the method and device for rapidly calculating and processing the ratio of the insulin to the carbohydrate, the processor and the computer readable storage medium of the processor, the appropriate dosage is calculated according to the actual eating amount, it is ensured that the level of a patient is kept within a reasonable target range, and the occurrence probability of hyperglycemia and hypoglycemia is prevented from being reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence, and in particular to the field of big data processing, and specifically refers to a method, device, processor and computer-readable storage medium for realizing rapid calculation and processing of insulin-to-carbohydrate ratio. Background Art

[0002] When a patient needs a subcutaneous injection of insulin: the doctor will evaluate the patient's blood sugar level and make medication recommendations based on the doctor's experience; each person's insulin response to carbohydrates is different, and due to the existence of differences, the actual insulin dose may not be appropriate; for safety reasons, the initial dose given by the doctor is often conservative.

[0003] The prior art has the following defects:

[0004] 1. The dosage actually required by the patient does not match the actual dosage;

[0005] 2. Inappropriate insulin dosage can cause patients to have persistent high blood sugar, which is difficult to reduce quickly;

[0006] 3. Unreasonable dosage can also lead to hypoglycemia;

[0007] 4. Inappropriate dosage will prolong the time for patients to achieve target blood sugar control;

[0008] 5. Unstable blood sugar control will lead to reduced patient satisfaction with treatment. Summary of the invention

[0009] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and provide a method, device, processor and computer-readable storage medium for quickly calculating and processing the ratio of insulin to carbohydrates, which has appropriate dosage, simple operation and a wide range of applications.

[0010] In order to achieve the above-mentioned object, the method, device, processor and computer-readable storage medium for realizing rapid calculation and processing of insulin to carbohydrate ratio of the present invention are as follows:

[0011] The method for realizing rapid calculation and processing of the ratio of insulin to carbohydrates is mainly characterized in that the method comprises the following steps:

[0012] (1) Set initialization parameters and calculate the initial total dose TDD;

[0013] (2) Set the basal insulin and pre-meal bolus doses to account for 50% of the total dose each;

[0014] (3) Calculate the first initial insulin to carbohydrate ratio I:C;

[0015] (4) Define three I:C modes, namely mode 1, mode 2 and mode 3, and determine the current mode;

[0016] (5) Collecting blood sugar;

[0017] (6) Calculate the current mode;

[0018] (7) Calculate the reference ratio ref-I2C-Ratio of the current insulin adjustment according to the current blood sugar type and the current mode;

[0019] (8) According to the current blood sugar type and the current mode, the ratio is adjusted to calculate the current ratio of insulin to carbohydrates curr-I2C-Ratio;

[0020] (9) Based on the curr-I2C-Ratio, calculate the required pre-meal bolus according to the actual number of grams of carbohydrates eaten;

[0021] (10) Repeat (5) to (9).

[0022] Preferably, the first initial insulin to carbohydrate ratio I:C is calculated in step (3) as follows:

[0023] Calculate the first initial insulin to carbohydrate ratio I:C according to the following formula:

[0024] I:C = 180 / (TDD × percentage of pre-meal bolus to total dose);

[0025] Where TDD is the total initial dose.

[0026] Preferably, determining the current mode in step (4) specifically includes the following steps:

[0027] (4.1) Blood glucose input;

[0028] (4.2) Determine whether it is the first blood sugar. If so, determine that the current mode is mode 1; otherwise, continue with step (4.3)

[0029] (4.3) Obtain the mode of the previous blood sugar level. If it is mode 1, proceed to step (4.4); if it is mode 2, proceed to step (4.5); if it is mode 3, proceed to step (4.7);

[0030] (4.4) determining whether the patient's blood sugar is within the target range, if yes, determining that the current mode is mode 2; otherwise, determining that the current mode is mode 1;

[0031] (4.5) Obtain the last three consecutive post-meal blood sugar levels. If the current level is breakfast, query the previous day’s bedtime blood sugar level.

[0032] (4.6) Determine whether the blood glucose level after three consecutive meals is greater than the target upper limit. If yes, determine that the current mode is mode 3; otherwise, determine that the current mode is mode 2;

[0033] (4.7) Determine whether the patient's blood sugar is within the target range. If so, determine that the current mode is 2; otherwise, determine that the current mode is 3.

[0034] Preferably, determining the current mode in step (7) specifically includes the following steps:

[0035] (7.1) Blood glucose input;

[0036] (7.2) If the current mode is mode 1, proceed to step (7.3); if the current mode is mode 2 or mode 3, proceed to step (7.4);

[0037] (7.3) Determine the blood sugar type. If the blood sugar type is breakfast, get the dinner ratio of the previous day; if the blood sugar type is lunch, get the breakfast ratio of the current day; if the blood sugar type is dinner, get the lunch ratio of the current day;

[0038] (7.4) Determine whether the previous blood sugar pattern is pattern 1, if yes, obtain the previous blood sugar ratio; otherwise, proceed to step (7.5);

[0039] (7.5) Determine the blood sugar type. If the blood sugar type is before bedtime, get the lunch ratio for the day; otherwise, get the ratio of the same blood sugar on the previous day.

[0040] Preferably, the step (8) specifically comprises the following steps:

[0041] (8.1) If it is mode 1, proceed to step (8.2); if it is mode 2, proceed to step (8.3); if it is mode 3, proceed to step (8.4);

[0042] (8.2) Determine whether it is breakfast blood sugar. If so, obtain the lunch blood sugar value of the previous day and continue with step (8.5); otherwise, obtain the currently input blood sugar value and continue with step (8.5);

[0043] (8.3) Obtain the same type of blood glucose value from the previous day and continue with step (8.5);

[0044] (8.4) Get the currently input blood glucose value and continue with step (8.5);

[0045] (8.5) Determine whether it is the first blood sugar, or whether the adjustment blood sugar is empty, or whether the large dose of the reference ratio blood sugar is 0. If yes, continue with step (8.6); otherwise, continue with step (8.7);

[0046] (8.6) The value of the current ratio curr-I2C-Ratio is equal to the value of the reference ratio ref-I2C-Ratio, and then proceed to step (8.8);

[0047] (8.7) The value of the current ratio curr-I2C-Ratio is calculated to be equal to the value of the reference ratio ref-I2C-Ratio plus the adjustment factor.

[0048] The main feature of the device for realizing rapid calculation and processing of the ratio of insulin to carbohydrates is that the device comprises:

[0049] a processor configured to execute computer-executable instructions;

[0050] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for quickly calculating the ratio of insulin to carbohydrates are implemented.

[0051] The main feature of the processor for realizing rapid calculation and processing of the ratio of insulin to carbohydrates is that the processor is configured to execute computer executable instructions, and when the computer executable instructions are executed by the processor, the various steps of the above-mentioned method for realizing rapid calculation and processing of the ratio of insulin to carbohydrates are realized.

[0052] The main feature of the computer-readable storage medium is that a computer program is stored thereon, and the computer program can be executed by a processor to implement the various steps of the above-mentioned method for rapid calculation and processing of the insulin-to-carbohydrate ratio.

[0053] The method, device, processor and computer-readable storage medium of the present invention are used to quickly calculate and process the insulin-to-carbohydrate ratio, emphasize finding out the different responses of individual insulin carbohydrates, calculate the appropriate dosage based on the actual amount of meals eaten, ensure that the patient's level remains within a reasonable target range, and prevent high blood sugar and reduce the probability of hypoglycemia. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 The flowchart of the method for realizing fast calculation processing of insulin to carbohydrate ratio for determining I:C mode of the present invention is shown.

[0055] Figure 2 The present invention is a flow chart of calculating the ratio I:C of insulin to carbohydrate compounds of current blood sugar in the method for realizing rapid calculation processing of the ratio of insulin to carbohydrates.

[0056] Figure 3The present invention is a flow chart of the ratio adjustment method for realizing fast calculation processing of the ratio of insulin to carbohydrates. DETAILED DESCRIPTION

[0057] In order to more clearly describe the technical content of the present invention, further description is given below in conjunction with specific embodiments.

[0058] The method for realizing rapid calculation and processing of the insulin to carbohydrate ratio of the present invention comprises the following steps:

[0059] (1) Set initialization parameters and calculate the initial total dose TDD;

[0060] (2) Set the basal insulin and pre-meal bolus doses to account for 50% of the total dose each;

[0061] (3) Calculate the first initial insulin to carbohydrate ratio I:C;

[0062] (4) Define three I:C modes, namely mode 1, mode 2 and mode 3, and determine the current mode;

[0063] (5) Collecting blood sugar;

[0064] (6) Calculate the current mode;

[0065] (7) Calculate the reference ratio ref-I2C-Ratio of the current insulin adjustment according to the current blood sugar type and the current mode;

[0066] (8) According to the current blood sugar type and the current mode, the ratio is adjusted to calculate the current ratio of insulin to carbohydrates curr-I2C-Ratio;

[0067] (9) Based on the curr-I2C-Ratio, calculate the required pre-meal bolus according to the actual number of grams of carbohydrates consumed;

[0068] (10) Repeat (5) to (9).

[0069] As a preferred embodiment of the present invention, the first initial insulin to carbohydrate ratio I:C is calculated in step (3), specifically:

[0070] Calculate the first initial insulin to carbohydrate ratio I:C according to the following formula:

[0071] I:C = 180 / (TDD × percentage of pre-meal bolus to total dose);

[0072] Where TDD is the total initial dose.

[0073] As a preferred embodiment of the present invention, determining the current mode in step (4) specifically includes the following steps:

[0074] (4.1) Blood glucose input;

[0075] (4.2) Determine whether it is the first blood sugar. If so, determine that the current mode is mode 1; otherwise, continue with step (4.3)

[0076] (4.3) Obtain the mode of the previous blood sugar level. If it is mode 1, proceed to step (4.4); if it is mode 2, proceed to step (4.5); if it is mode 3, proceed to step (4.7);

[0077] (4.4) determining whether the patient's blood sugar is within the target range, if yes, determining that the current mode is mode 2; otherwise, determining that the current mode is mode 1;

[0078] (4.5) Obtain the last three consecutive post-meal blood sugar levels. If the current level is breakfast, query the previous day’s bedtime blood sugar level.

[0079] (4.6) Determine whether the blood glucose level after three consecutive meals is greater than the target upper limit. If yes, determine that the current mode is mode 3; otherwise, determine that the current mode is mode 2;

[0080] (4.7) Determine whether the patient's blood sugar is within the target range. If so, determine that the current mode is 2; otherwise, determine that the current mode is 3.

[0081] As a preferred embodiment of the present invention, determining the current mode in step (7) specifically includes the following steps:

[0082] (7.1) Blood glucose input;

[0083] (7.2) If the current mode is mode 1, proceed to step (7.3); if the current mode is mode 2 or mode 3, proceed to step (7.4);

[0084] (7.3) Determine the blood sugar type. If the blood sugar type is breakfast, get the dinner ratio of the previous day; if the blood sugar type is lunch, get the breakfast ratio of the current day; if the blood sugar type is dinner, get the lunch ratio of the current day;

[0085] (7.4) Determine whether the previous blood sugar pattern is pattern 1, if yes, obtain the previous blood sugar ratio; otherwise, proceed to step (7.5);

[0086] (7.5) Determine the blood sugar type. If the blood sugar type is before bedtime, get the lunch ratio for the day; otherwise, get the ratio of the same blood sugar on the previous day.

[0087] As a preferred embodiment of the present invention, the step (8) specifically comprises the following steps:

[0088] (8.1) If it is mode 1, proceed to step (8.2); if it is mode 2, proceed to step (8.3); if it is mode 3, proceed to step (8.4);

[0089] (8.2) Determine whether it is breakfast blood sugar. If so, obtain the lunch blood sugar value of the previous day and continue with step (8.5); otherwise, obtain the currently input blood sugar value and continue with step (8.5);

[0090] (8.3) Obtain the same type of blood glucose value from the previous day and continue with step (8.5);

[0091] (8.4) Get the currently input blood glucose value and continue with step (8.5);

[0092] (8.5) Determine whether it is the first blood sugar, or whether the adjustment blood sugar is empty, or whether the large dose of the reference ratio blood sugar is 0. If yes, continue with step (8.6); otherwise, continue with step (8.7);

[0093] (8.6) The value of the current ratio curr-I2C-Ratio is equal to the value of the reference ratio ref-I2C-Ratio, and then proceed to step (8.8);

[0094] (8.7) The value of the current ratio curr-I2C-Ratio is calculated to be equal to the value of the reference ratio ref-I2C-Ratio plus the adjustment factor.

[0095] The device for realizing rapid calculation and processing of the ratio of insulin to carbohydrates of the present invention comprises:

[0096] a processor configured to execute computer-executable instructions;

[0097] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for quickly calculating the ratio of insulin to carbohydrates are implemented.

[0098] The processor of the present invention is used to realize rapid calculation and processing of the ratio of insulin to carbohydrates, wherein the processor is configured to execute computer executable instructions, and when the computer executable instructions are executed by the processor, the various steps of the above-mentioned method for realizing rapid calculation and processing of the ratio of insulin to carbohydrates are realized.

[0099] The computer-readable storage medium of the present invention stores a computer program thereon, and the computer program can be executed by a processor to implement the various steps of the above-mentioned method for realizing rapid calculation and processing of the ratio of insulin to carbohydrates.

[0100] The conventional treatment for diabetes is insulin injection, and the adjustment of insulin infusion dose depends largely on the doctor's subjective judgment. Due to the individual differences in patients' responses to insulin and changes in patients' insulin needs as the disease progresses, the traditional insulin infusion model is difficult to meet the dynamically changing clinical needs.

[0101] Therefore, it is of great significance to tailor an individualized, precise, and dynamic insulin regulation strategy for patients. However, when a fixed amount is injected, and when the condition changes, that is, the blood sugar concentration in the patient's body changes after treatment, the doctor needs to re-evaluate the patient's condition and adjust the dosage for the patient. The patient cannot know the required insulin dosage in real time and accurately, which causes the patient's blood sugar to reach the standard time to be prolonged, and hypoglycemia or hyperglycemia may occur during this period.

[0102] In a specific embodiment of the present invention, it is necessary to know the actual carbohydrate compounds in each meal according to the doctor's order, and then calculate a recommended dose according to the method described in this scheme. After the patient enters the control, the recommended large dose will be adjusted according to the individual insulin response.

[0103] The parameters required by this program are the patient's target blood sugar control range and the carbohydrates and blood sugar at each time. This program also discloses the calculation process of the large dose.

[0104] When patients need to use subcutaneous insulin for blood sugar control, the ratio of insulin to carbohydrates is automatically adjusted according to the treatment parameters set by the patient, based on the AI ​​big data algorithm, according to the patient's initial insulin to carbohydrate ratio and actual blood sugar situation. The actual recommended insulin dose is calculated using the ratio of insulin to carbohydrates, so that the patient's blood sugar level reaches the control range relatively quickly. After the patient's blood sugar reaches the target range, the ratio is no longer adjusted. By finding the appropriate individual insulin to carbohydrate ratio and giving the appropriate recommended dose, the probability of hypoglycemia and hyperglycemia can be effectively prevented.

[0105] This technical solution specifically includes the following steps:

[0106] (1) It is suitable for patients who need subcutaneous insulin treatment mode with planned eating, and sets the necessary initialization parameters, such as insulin dose, blood glucose monitoring time, and basal insulin administration time.

[0107] (2) Calculate the initial total dose TDD, which can be entered manually or based on body weight × total dose coefficient;

[0108] (3) The ratio of pre-meal bolus to total TDD dose was fixed at 50%;

[0109] (4) Calculate the first initial insulin to carbohydrate ratio I:C using the following formula:

[0110] I:C = 180 / (TDD × percentage of pre-meal bolus to total dose);

[0111] (5) Define three I:C modes: Mode 1: Finding the baseline, Mode 2: Redefining the baseline, Mode 3: Rebuilding the baseline, e.g. Figure 1 shown.

[0112] (6) Collecting blood sugar;

[0113] (7) Calculate the current mode according to (5);

[0114] (8)Reference Figure 2 , according to the current blood sugar type and the current mode, calculate the reference ratio ref-I2C-Ratio of the current insulin adjustment;

[0115] (9)Reference Figure 3 , according to the current blood sugar type and the current mode, calculate the current ratio of insulin to carbohydrates curr-I2C-Ratio;

[0116] (10) Calculate the required pre-meal bolus based on the actual number of grams of carbohydrates consumed: required pre-meal bolus = actual carbohydrates / current ratio;

[0117] (11) Repeat steps (6) to (10).

[0118] The baseline is the ratio of insulin to carbohydrates, which is the insulin to carbohydrate ratio value that brings the patient's blood sugar into the target range.

[0119] Mode 1, discovering the baseline:

[0120] This is the initial mode and is generally used to get the patient's blood sugar into the target range as quickly as possible and to find an initial baseline for the patient's insulin and carbohydrate ratios.

[0121] Mode 2, Optimized Baseline:

[0122] Once the patient's blood sugar level reaches the target range, they will be transferred to this mode for treatment. In this mode, the insulin to carbohydrate ratio of each meal will be optimized independently, and the best insulin to carbohydrate ratio for each meal will be determined based on the patient's sensitivity to insulin at each meal.

[0123] Mode 3, re-establishing the baseline:

[0124] If the patient's blood sugar level is greater than the target range for three consecutive times after meals, they will enter this mode for treatment until their blood sugar level returns to the target range, then return to Mode 2 for treatment.

[0125] in Figure 2 The calculation of I:C in four situations of blood sugar at the current meal (breakfast, lunch, dinner, and midnight snack) is demonstrated. The purpose is to calculate the I:C and then calculate the recommended insulin dose based on the actual amount of carbohydrates.

[0126] Figure 2 The results obtained in "previous day's dinner ratio", "today's breakfast ratio", "today's lunch ratio", etc. are blood sugar levels at each meal, each with its own I:C.

[0127] The specific implementation scheme of this embodiment can refer to the relevant description in the above embodiment, which will not be repeated here.

[0128] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.

[0129] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" refers to at least two.

[0130] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.

[0131] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution device. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0132] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the corresponding program may be stored in a computer-readable storage medium, which, when executed, includes one of the steps of the method embodiment or a combination thereof.

[0133] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0134] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0135] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0136] The method, device, processor and computer-readable storage medium of the present invention are used to quickly calculate and process the insulin-to-carbohydrate ratio, emphasize finding out the different responses of individual insulin carbohydrates, calculate the appropriate dosage based on the actual amount of meals eaten, ensure that the patient's level remains within a reasonable target range, and prevent high blood sugar and reduce the probability of hypoglycemia.

[0137] In this specification, the present invention has been described with reference to specific embodiments thereof. However, it is apparent that various modifications and variations may be made without departing from the spirit and scope of the present invention. Therefore, the specification and drawings should be regarded as illustrative rather than restrictive.

Claims

1. A method for quickly calculating the ratio of insulin to carbohydrates, characterized in that: The method comprises the following steps: (1) Set initialization parameters and calculate the initial total dose TDD; (2) Set the basal insulin and pre-meal bolus doses to account for 50% of the total dose each; (3) Calculate the first initial insulin to carbohydrate ratio I:C; (4) The system defines three I:C modes, namely mode 1, mode 2, and mode 3, and determines the current mode; (5) Collecting blood sugar; (6) Calculate the current mode; (7) Calculate the reference ratio ref-I2C-Ratio of the current insulin adjustment according to the current blood sugar type and the current mode; (8) According to the current blood sugar type and the current mode, the ratio is adjusted to calculate the current ratio of insulin to carbohydrates curr-I2C-Ratio; (9) Based on the curr-I2C-Ratio, calculate the required pre-meal bolus according to the actual number of grams of carbohydrates eaten; (10) Repeat (5) to (9).

2. The method for realizing rapid calculation and processing of insulin to carbohydrate ratio according to claim 1, characterized in that: The first initial insulin to carbohydrate ratio I:C is calculated in step (3) as follows: Calculate the first initial insulin to carbohydrate ratio I:C according to the following formula: I:C = 180 / (TDD × percentage of pre-meal bolus to total dose); Where TDD is the total initial dose.

3. The method for realizing rapid calculation and processing of insulin to carbohydrate ratio according to claim 1, characterized in that: Determining the current mode in step (4) specifically includes the following steps: (4.1) Blood glucose input; (4.2) Determine whether it is the first blood sugar. If so, determine that the current mode is mode 1; otherwise, continue with step (4.3) (4.3) Obtain the mode of the previous blood sugar level. If it is mode 1, proceed to step (4.4); if it is mode 2, proceed to step (4.5); if it is mode 3, proceed to step (4.7); (4.4) determining whether the patient's blood sugar is within the target range, if yes, determining that the current mode is mode 2; otherwise, determining that the current mode is mode 1; (4.5) Obtain the last three consecutive post-meal blood sugar levels. If the current level is breakfast, query the previous day’s bedtime blood sugar level. (4.6) Determine whether the blood glucose level after three consecutive meals is greater than the target upper limit. If yes, determine that the current mode is mode 3; otherwise, determine that the current mode is mode 2; (4.7) Determine whether the patient's blood sugar is within the target range. If so, determine that the current mode is 2; otherwise, determine that the current mode is 3.

4. The method for realizing rapid calculation and processing of insulin to carbohydrate ratio according to claim 1, characterized in that: Determining the current mode in step (7) specifically includes the following steps: (7.1) Blood glucose input; (7.2) If the current mode is mode 1, proceed to step (7.3); if the current mode is mode 2 or mode 3, proceed to step (7.4); (7.3) Determine the blood sugar type. If the blood sugar type is breakfast, get the dinner ratio of the previous day; if the blood sugar type is lunch, get the breakfast ratio of the current day; if the blood sugar type is dinner, get the lunch ratio of the current day; (7.4) Determine whether the previous blood sugar pattern is pattern 1, if yes, obtain the previous blood sugar ratio; otherwise, proceed to step (7.5); (7.5) Determine the blood sugar type. If the blood sugar type is before bedtime, get the lunch ratio for the day; otherwise, get the ratio of the same blood sugar on the previous day.

5. The method for realizing rapid calculation and processing of insulin to carbohydrate ratio according to claim 1, characterized in that: The step (8) specifically comprises the following steps: (8.1) If it is mode 1, proceed to step (8.2); if it is mode 2, proceed to step (8.3); if it is mode 3, proceed to step (8.4); (8.2) Determine whether it is breakfast blood sugar. If so, obtain the lunch blood sugar value of the previous day and continue with step (8.5); otherwise, obtain the currently input blood sugar value and continue with step (8.5); (8.3) Obtain the same type of blood glucose value from the previous day and continue with step (8.5); (8.4) Get the currently input blood glucose value and continue with step (8.5); (8.5) Determine whether it is the first blood sugar, or whether the adjustment blood sugar is empty, or whether the large dose of the reference ratio blood sugar is 0. If yes, continue with step (8.6); otherwise, continue with step (8.7); (8.6) The value of the current ratio curr-I2C-Ratio is equal to the value of the reference ratio ref-I2C-Ratio, and then proceed to step (8.8); (8.7) The value of the current ratio curr-I2C-Ratio is calculated to be equal to the value of the reference ratio ref-I2C-Ratio plus the adjustment factor.

6. A device for realizing rapid calculation and processing of the ratio of insulin to carbohydrates, characterized in that: The device comprises: a processor configured to execute computer-executable instructions; A memory storing one or more computer executable instructions, wherein when the computer executable instructions are executed by the processor, the steps of the method for realizing rapid calculation and processing of the ratio of insulin to carbohydrates as described in any one of claims 1 to 5 are implemented.

7. A processor for realizing rapid calculation of insulin to carbohydrate ratio, characterized in that: The processor is configured to execute computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for quickly calculating the ratio of insulin to carbohydrates described in any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program can be executed by a processor to implement the various steps of the method for realizing rapid calculation processing of the ratio of insulin to carbohydrates as claimed in any one of claims 1 to 5.