Device control method, insulin infusion device, and storage medium

By using a human-computer interface and safe operating rules in insulin infusion devices to verify the legitimacy of user input, the problems of inflexible device operation and insufficient security are solved, achieving more efficient and safer user interaction.

CN119303184BActive Publication Date: 2026-03-24WUHAN UNITED IMAGING HEALTHCARE SURGICAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

Existing insulin infusion devices have inflexible operating interfaces, poor user experience, and low safety, making them prone to danger due to misoperation.

Method used

The system uses a human-computer interaction interface to receive user input via function icons. It then determines whether the input is a prohibited operation based on the current operating mode's safety rules. If so, it does not respond; otherwise, it executes the command.

Benefits of technology

It improves the safety and user experience of insulin infusion devices, simplifies operation steps, conforms to modern user habits, and has higher interaction efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119303184B_ABST
    Figure CN119303184B_ABST
Patent Text Reader

Abstract

The application relates to a device control method, an insulin infusion device and a storage medium. The method is applied to an insulin infusion device comprising a driving mechanism and a bolus mechanism. The device control method comprises the following steps: determining a current operation mode of the insulin infusion device, and in the current operation mode, when a current input of a user to a function icon is monitored, according to a safe operation rule of the current operation mode, determining whether the current input belongs to an operation prohibited by the safe operation rule, if the current input belongs to the operation prohibited by the safe operation rule, controlling the insulin infusion device not to respond to the current input, and if the current input does not belong to the operation prohibited by the safe operation rule, controlling the insulin infusion device to respond to the current input to execute a corresponding instruction, so as to control the driving mechanism to drive the bolus mechanism and realize infusion of the insulin infusion device. The method can improve the safety of the insulin infusion device.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] The present patent application is a divisional application of the Chinese Invention Patent Application No. 2024107660877, filed on June 14, 2024, entitled "Device Control Method, Insulin Infusion Device and Storage Medium", with the application number of 2024107660877. TECHNICAL FIELD

[0002] The present application relates to the technical field of medical technology, and in particular, to a device control method, an insulin infusion device and a storage medium. BACKGROUND

[0003] Diabetes is a common metabolic endocrine disease, which refers to a chronic metabolic disorder caused by the inability of a person's pancreas to produce sufficient hormone insulin, resulting in hyperglycemia, i.e., the presence of excess glucose in the blood plasma. Diabetes cannot be cured and requires permanent use of insulin for treatment to maintain the blood glucose level of a diabetic patient within a normal range.

[0004] With the development of science and technology, insulin infusion devices can infuse insulin into patients to regulate the blood glucose of the patients. However, any misoperation of the insulin infusion device will cause the patient to be in an unsafe state, but the related technology does not pay much attention to the safety control of the insulin infusion device. SUMMARY

[0005] Therefore, it is necessary to provide a device control method, an insulin infusion device and a storage medium capable of improving the safety of the insulin infusion device to solve the above technical problems.

[0006] In a first aspect, the present application provides a device control method applied to an insulin infusion device, the insulin infusion device comprising a human-computer interaction interface, the human-computer interaction interface comprising a plurality of function icons, the function icons being configured to receive user input, and the method comprising:

[0007] determining a current running mode of the insulin infusion device;

[0008] in the current running mode, when a current input of the user to the function icons is monitored, determining whether the current input belongs to a prohibited operation of a safety running rule according to the safety running rule of the current running mode;

[0009] if the current input belongs to the prohibited operation, controlling the insulin infusion device not to respond to the current input;

[0010] if the current input does not belong to the prohibited operation, controlling the insulin infusion device to respond to the current input to execute a corresponding instruction.

[0011] In a second aspect, the present application further provides an insulin infusion device, comprising:

[0012] User interface, used to receive user input;

[0013] At least one memory, which stores executable instructions corresponding to user input.

[0014] At least one processor, the processor being configured to execute executable instructions to implement any of the above-described device control methods.

[0015] Thirdly, this application also provides an insulin infusion device, including a user interface and a main control system. The user interface is used to receive user input; the main control system includes a processor and a power-off protection circuit. The processor is used to respond to user input to implement the device control method described above; the power-off protection circuit includes a main power supply circuit and a backup power supply circuit. The main power supply circuit is used to provide main power to the processor, and the backup power supply circuit is used to provide backup power to the processor when the main power supply circuit is disconnected.

[0016] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above methods.

[0017] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of any of the above methods.

[0018] Sixthly, this application also provides a closed-loop blood glucose management system, including the insulin infusion device of any of the above.

[0019] The aforementioned device control method, insulin infusion device, and storage medium, because the insulin infusion device includes a human-machine interface with multiple function icons for receiving user input, eliminate the need for physical buttons to control the device. Users can efficiently control the device through these icons, resulting in a better user experience, simplified operation, and a more user-friendly interface that aligns with modern habits and improves interaction efficiency. Furthermore, the system can determine the current operating mode of the insulin infusion device. Within this mode, when user input to function icons is detected, the system determines whether the input falls under the prohibited operation rules. If the input is prohibited, the device remains unresponsive; otherwise, it responds to the input and executes the corresponding command. By utilizing these safety rules, the system ensures that the input does not affect the device's current operating mode, thereby enhancing its safety. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 This is a schematic diagram of the structure of an insulin infusion device according to an embodiment of this application;

[0022] Figure 2 This is a flowchart illustrating the device control method in an embodiment of this application;

[0023] Figure 3 This is a schematic diagram of a menu page in an embodiment of this application;

[0024] Figure 4 This is a schematic diagram of yet another menu page in the embodiments of this application;

[0025] Figure 5 This is a schematic diagram of a system settings interface in an embodiment of this application;

[0026] Figure 6 This is a schematic diagram of a history record interface in an embodiment of this application;

[0027] Figure 7 This is a schematic diagram of a temporary blood glucose setting interface in an embodiment of this application;

[0028] Figure 8 This is a schematic diagram of a high-dose infusion configuration interface in an embodiment of this application;

[0029] Figure 9 This is a configuration interface for candidate infusion information in an embodiment of this application;

[0030] Figure 10 This is a schematic diagram of a base rate segmentation method in this application;

[0031] Figure 11 This is a configuration interface for a temporary base rate in an embodiment of this application;

[0032] Figure 12 This is a schematic diagram of a main interface in an embodiment of this application;

[0033] Figure 13 This is a parameter configuration interface in one embodiment of this application;

[0034] Figure 14This is a schematic diagram of a reset and filling mode process in an embodiment of this application;

[0035] Figure 15 This is a schematic diagram of yet another main interface in an embodiment of this application;

[0036] Figure 16 This is a schematic diagram of a negative one screen in an embodiment of this application;

[0037] Figure 17 This is a schematic diagram of the structure of another insulin infusion device in the embodiments of this application;

[0038] Figure 18 This is a schematic diagram of a power failure protection process in an embodiment of this application;

[0039] Figure 19 This is a schematic diagram of a first data protection operation in an embodiment of this application;

[0040] Figure 20 This is a schematic diagram of a first data protection operation in an embodiment of this application;

[0041] Figure 21 This is a schematic diagram of the structure of another insulin infusion device in the embodiments of this application;

[0042] Figure 22 This is a schematic diagram of a power failure protection method in an embodiment of this application;

[0043] Figure 23 This is a schematic diagram of yet another insulin infusion device in the embodiments of this application;

[0044] Figure 24 This is a diagram showing the internal structure of the control device in an embodiment of this application. Detailed Implementation

[0045] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0046] Insulin infusion is a highly complex procedure. Traditional methods of injecting quantitative insulin according to doctor's orders cannot meet the actual needs of patients, leading to increasingly severe diabetic complications. With the development of intelligent technology, insulin infusion devices have incorporated embedded software control to adjust insulin infusion based on the user's actual needs.

[0047] However, on the one hand, the operating interface of some related insulin infusion devices generally includes multiple physical buttons, which are not flexible enough. Users have to constantly press buttons with their fingers when using the insulin infusion device, which is detrimental to the user experience. Moreover, physical buttons have a limited mechanical lifespan and will be damaged after excessive use, making repair difficult. Even in some related technologies that combine physical buttons with touch screen operation to control the insulin infusion device, the problems of poor human-machine experience and cumbersome operation steps still exist. On the other hand, the safety control of insulin pumps differs from that of conventional infusion sets. The safety control of conventional infusion sets focuses more on the safety limits of infusion rate and infusion cessation for medication change. For insulin infusion devices, unsafe operations such as exceeding the set dosage parameters can pose a fatal risk to patients. Because related insulin infusion devices have safety issues, engineers are committed to providing diabetic patients with safer and more convenient products. Based on this, it is necessary to provide a device control method to address the above-mentioned technical problems. This device control method will be described below.

[0048] Figure 1 This is a schematic diagram of the structure of an insulin infusion device according to an embodiment of this application. The device control method provided in this embodiment can be applied to... Figure 1 In the insulin infusion device shown. For example... Figure 1 As shown, the insulin infusion device 100 includes a user interface 101, a processor 102, and a memory 103. The user interface 101 is used for human-computer interaction, and the processor 102 can implement the following device control method by calling programs or instructions stored in the memory 103.

[0049] The user interface 101 can be implemented using a liquid crystal display (LCD), a light emitting diode (LED) display, an active-matrix organic light emitting diode (AMOLED), or the like.

[0050] The processor 102 includes, but is not limited to, at least one of a central processing unit (CPU), a digital signal processor (DSP), a field-programmable gate array (FPGA), or other programmable logic devices.

[0051] The memory 103 can be volatile memory or non-volatile memory, or it can include both. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache.

[0052] Figure 2 This is a flowchart illustrating the device control method in an embodiment of this application. In one exemplary embodiment, such as... Figure 2 As shown, a device control method is provided, which is applied to... Figure 1 Taking an insulin infusion device as an example, the control method of this device includes the following steps:

[0053] S201, Determine the current operating mode of the insulin infusion device.

[0054] In this embodiment, the insulin infusion device can be a wearable or portable insulin infusion device. The insulin infusion device includes a human-machine interface (HMI), which can be displayed on a user interface 101. Multiple HMIs can be switched between. The user uses or controls the insulin infusion device through the HMI.

[0055] Optionally, the display switching can be triggered by the user. For example, the human-computer interface may include at least two interfaces such as the main interface, the menu page, and the negative one screen. For example, the user can display the main interface by double-clicking the display area of ​​the insulin infusion device, pressing the main control icon of the insulin infusion device (e.g., the HOME button), or double-clicking the main control icon. Then, swiping left on the main interface displays the menu page, and swiping right displays the negative one screen, thus switching the display.

[0056] Furthermore, the human-computer interface includes multiple function icons, which can be pre-set or user-defined. These function icons are used to receive user input to control the insulin infusion device to execute corresponding operating modes. For example, each function icon can be associated with a function and / or application (app) provided by the insulin infusion device. The functions and / or applications provided by the insulin infusion device can control the insulin infusion device to execute corresponding operating modes.

[0057] The operating modes of an insulin infusion device may include, but are not limited to, infusion mode, infusion stop mode, refill mode, and cancellation of bolus infusion mode. Infusion mode includes at least one of bolus infusion mode and basal rate infusion mode. Bolus infusion mode refers to a relatively large dose of insulin infused over a certain period to meet specific insulin needs such as during eating and exercise. Basal rate infusion mode refers to a continuous, low-volume infusion over a certain period to maintain daily metabolism. Bolus infusion mode can include conventional bolus infusion mode, square wave infusion mode, or dual wave infusion mode. Basal rate infusion mode can include conventional basal rate infusion mode or temporary basal rate infusion mode.

[0058] A conventional high-dose infusion mode refers to an infusion mode in which the insulin is administered in a single dose. For example, if a user needs an immediate infusion of 15U, the insulin infusion device can be controlled to use a conventional high-dose infusion mode, and the processor will then control the device to administer the 15U infusion in one go. A square-wave infusion mode refers to an infusion mode in which a large dose is injected over a period of time. In other words, a square-wave infusion mode refers to a mode where a large dose is injected over a short period of time. For example, if a user needs to administer 15U over 2 hours, the insulin infusion device can be controlled to use a square-wave infusion mode, and the processor will then control the device to administer the 15U infusion over 2 hours.

[0059] Dual-wave infusion modes include conventional high-dose infusion mode and square-wave infusion mode. For example, if a user needs to infuse 7U immediately and then 5U within 2 hours, dual-wave high-dose infusion can be performed. The processor will control the insulin infusion device to complete the infusion of 7U in one go and the infusion of 5U within 2 hours.

[0060] The regular basal rate infusion mode can be used to meet metabolic needs during normal times, while the temporary basal rate infusion mode can be used to maintain metabolic needs during temporary periods. For example, a user can control the insulin infusion device to use the regular basal rate infusion mode during normal times, and to use the temporary basal rate infusion mode when traveling.

[0061] The current operating mode of the insulin infusion device is the current operating mode. It can be understood that the current operating mode may be a single mode or include multiple modes. For example, the current operating mode of the insulin infusion device may include a high-dose infusion mode and a basal rate infusion mode. In some embodiments, after a new insulin infusion device is powered on, it can enter the basal rate infusion mode or other operating modes according to user needs. For example, after a new insulin infusion device is powered on, the user can control the insulin infusion device to enter a time-setting mode to set a time for the device. Afterward, the user installs a reservoir (also called a drug reservoir) into the insulin infusion device, thereby controlling the device to enter a reset and filling mode.

[0062] Understandably, the processor in an insulin infusion device can determine the current operating mode. Optionally, the processor can identify the current operating mode being executed by the insulin infusion device, or it can determine the current operating mode based on the previous user input. Then, the insulin infusion device can apply safety operating rules within the previously set current operating mode.

[0063] User input refers to operations initiated by the user based on function icons in the human-computer interaction interface, which may include touch screen operations. For example, taking the current operating mode as infusion mode as an example, the user can click the infusion configuration icon in the human-computer interaction interface and input the infusion information as 15U (units) based on the infusion configuration icon. After the user clicks "OK", the processor can then set the current operating mode of the insulin infusion device to infusion mode based on the previous user input.

[0064] In one embodiment, the processor can obtain infusion information based on the previous user input, and then control the current operating mode of the insulin infusion device to infusion mode according to the infusion information. The infusion information may include infusion type and infusion parameters. The infusion type may be at least one of conventional high-dose infusion, square-wave high-dose infusion, dual-wave high-dose infusion, conventional basal rate infusion, and temporary basal rate infusion. Infusion parameters may include infusion volume (e.g., infusion volume of 5U) or basal rate (e.g., basal rate of 1U / h). In the case of square-wave high-dose infusion or dual-wave high-dose infusion, the infusion parameters may also include infusion duration (e.g., infusion duration of 2h).

[0065] Optionally, the processor can determine the target number of motion coils based on the infusion information and control the drive mechanism in the insulin infusion device to rotate forward according to the target number of motion coils. This drives the injection mechanism of the reservoir in the insulin infusion device forward, causing the injection mechanism to eject the insulin from the reservoir, thereby switching the current operating mode to infusion mode. The drive mechanism includes, but is not limited to, a motor, and the injection mechanism includes, but is not limited to, a push rod. Forward rotation is the movement that enables the insulin infusion device to perform the infusion operation.

[0066] S202, In the current operating mode, when the user's current input to the function icon is detected, it is determined whether the current input belongs to the prohibited operation of the security operation rules according to the security operation rules of the current operating mode.

[0067] In this embodiment, the safety operation rules for the current operating mode can be rules pre-set in the insulin infusion device or rules issued to the insulin infusion device by other devices; this embodiment does not impose any restrictions. The safety operation rules can be used to determine whether the current input is a prohibited operation under the safety operation rules. For example, to improve the safety of the insulin infusion device, the time of the insulin infusion device cannot be modified in high-dose infusion mode. Therefore, the safety operation rules for high-dose infusion mode prohibit setting the time. Thus, when the current operating mode is high-dose infusion mode, if the user initiates current input by clicking the time setting icon in the human-computer interaction interface, the processor will determine, according to the safety operation rules for high-dose infusion mode, that the current input is a prohibited operation under the safety operation rules.

[0068] S203, if the current input is a prohibited operation, control the insulin infusion device not to respond to the current input.

[0069] Furthermore, the processor of the insulin infusion device may include a safety control unit. The safety control unit acquires the current input, monitors whether the current input is a prohibited operation, and, in conjunction with the safety operation rules of the current operating mode, if the current input is a prohibited operation, controls the insulin infusion device not to respond to the current input and not to change the current operating mode.

[0070] In other words, if the current input is a prohibited operation, the processor will receive the input but will not respond to it. For example, if the processor detects the current input, it can receive the instruction corresponding to the current input. If, based on the instruction, it determines that the current input is a prohibited operation, the processor will not execute the instruction corresponding to the current input.

[0071] In one embodiment, if the current input is a prohibited operation, the insulin infusion device is controlled not to respond to the current input, and the background color of the function icon is adjusted to remind the user. For example, if the insulin infusion device cannot be set in the current operating mode (high-dose infusion mode), the processor can adjust the background color of the time setting icon to gray to remind the user that the time setting icon is unavailable in high-dose infusion mode.

[0072] Optionally, the processor can adjust the background color of a function icon using its flag. The processor can determine the flag of a function icon after detecting user input. Optionally, if the flag of a function icon is a preset indicator, the processor can adjust the background color of the function icon to an abnormal color to alert the user.

[0073] Taking the high-dose infusion icon as an example, if the processor does not detect user input to the high-dose infusion icon, the corresponding flag bit is 0, and the background color of the icon is the normal color. If the processor detects user input to the high-dose infusion icon, it can set the corresponding flag bit to 1. When the flag bit is 1, the processor will adjust the background color of the high-dose infusion icon to gray.

[0074] In some embodiments, the processor may also automatically modify the flag bit of the function icon according to the current operating mode of the insulin infusion device. For example, if the high-dose infusion mode corresponding to the high-dose infusion icon is executed or canceled, the processor will set the corresponding flag bit of the high-dose infusion icon from 1 back to 0 to restore the background color of the high-dose infusion icon to the normal color.

[0075] In some embodiments, the processor may also issue a warning to alert the user that the insulin infusion device is not responding to the current input. For example, it may prompt the user that "a high-dose infusion is currently in progress and time settings cannot be made."

[0076] S204, If the current input is not a prohibited operation, control the insulin infusion device to execute the corresponding instruction in response to the current input.

[0077] If the current input is not a prohibited operation, the processor can continue to control the insulin infusion device to execute the corresponding instruction in response to the current input. In other words, the processor can execute the instruction corresponding to the current input to enter the operating mode corresponding to the current input. The instruction corresponding to each input can be a pre-set instruction in the processor.

[0078] For example, in response to the current input, the processor executes a corresponding instruction, which can control the drive mechanism to push the injection mechanism, thereby realizing the infusion of insulin from the infusion device. For instance, if the current operating mode is high-dose infusion mode, and the user initiates a current input to the basal rate infusion icon in the human-machine interface, and this input is not a prohibited operation under the safety operating rules, the processor can control the insulin infusion device to execute a corresponding instruction in response to the current input to execute the basal rate infusion mode. Therefore, the processor's current operating mode can include both high-dose infusion mode and basal rate infusion mode.

[0079] In the above embodiments, since the insulin infusion device includes a human-machine interface (HMI) with multiple function icons for receiving user input, users do not need to use physical buttons to control the insulin infusion device. They can efficiently control the device through the function icons, resulting in a better user experience, simplified operation, and a more user-friendly interface that aligns with modern usage habits and improves interaction efficiency. Furthermore, because the current operating mode of the insulin infusion device can be determined, and user input to the function icons is detected within that mode, the system determines whether the input falls under the prohibited operation rules. If the input is prohibited, the device will not respond; otherwise, it will execute the corresponding command. By utilizing the safety rules, the current input will not affect the device's current operating mode, thus improving safety.

[0080] In an exemplary embodiment, the function icon may include, but is not limited to, at least one of the following: infusion configuration icon, infusion stop icon, infusion status switching icon, reset filling icon, alarm setting icon, time setting icon, quick switch setting icon, threshold setting icon, history record icon, version information icon, temporary blood glucose setting icon, and pause infusion icon.

[0081] To more clearly illustrate the functional icons in this application, this document combines... Figures 3-12 Please provide an explanation. Figure 3 and Figure 4 This is a schematic diagram of a menu page in an embodiment of this application, such as... Figure 3 and Figure 4As shown, menu page 300 may include a stop infusion icon 301, an infusion configuration icon 302, a reset filling icon 303, a system settings icon 401, a history icon 402, and a version information icon 403. The infusion configuration icon 302 may include a high-dose infusion icon 302a and a basal rate infusion icon 302b. It is understood that users can swipe left and right on the human-computer interaction interface to... Figure 3 and Figure 4 Switch between menu pages.

[0082] Figure 5 This is a schematic diagram of a system settings interface in an embodiment of this application. When the user clicks the system settings icon 401 in the menu page 300, the human-computer interaction interface can display as follows: Figure 5 The system settings interface 500 is shown. The system settings interface 500 includes an alarm setting icon 501, a time setting icon 502, and a threshold setting icon 503.

[0083] Figure 6 This is a schematic diagram of a history record interface in an embodiment of this application. When the user clicks the history record icon 402 in the menu page 300, the human-computer interaction interface can display as follows: Figure 6 The historical record interface 600 is shown. The historical record interface 600 includes candidate record icons, which may include periodic infusion total record 601, daily infusion total record 602, high-dose infusion record 603, basal rate infusion record 604, alarm record 605, and reset filling record 606. It is understood that users can switch between these displays by swiping. Figure 6 (a) and Figure 6 (b)

[0084] Figure 7 This is a schematic diagram of a temporary blood glucose setting interface in an embodiment of this application, as shown below. Figure 7 As shown, when the user clicks the temporary blood glucose setting icon (not shown in the figure) among the function icons, the human-computer interaction interface can display the following: Figure 7 The temporary blood glucose setting interface 700 is shown. This interface may include a temporary blood glucose toggle icon 701, a temporary blood glucose input icon 702, and an exit icon 703. The exit icon 703 is used to exit the temporary blood glucose setting interface 700 and can be understood as a cancellation option.

[0085] The infusion stop icon 301 is used to trigger the execution of the infusion stop mode. Please continue to refer to [the relevant documentation]. Figure 3When the insulin infusion device is in the resume infusion mode, if the user clicks the stop infusion icon 301, the processor can respond to the user input by causing the drive mechanism to change from the movable state to the inmovable state, thereby executing the stop infusion mode.

[0086] Understandably, when the insulin infusion device is in stop infusion mode, if the user clicks the stop infusion icon 301 again, the processor can respond to the user input by changing the drive mechanism from a stopped state to a movable state, thus resuming the infusion mode. The movable state can be a state in which the processor can control the drive mechanism to rotate forward. Further, optionally, when the insulin infusion device is in stop infusion mode, the user can resume the basal rate infusion mode via the stop infusion icon 301.

[0087] The infusion information configuration icon 302 is used to trigger the execution of an infusion mode. For example, it can trigger the insulin infusion device to perform an insulin infusion mode according to the infusion information set by the user. It can be understood that the high-dose infusion icon 302a is used to trigger the execution of the high-dose mode, and the basal rate infusion icon 302b is used to trigger the execution of the basal rate mode.

[0088] Figure 8 This is a schematic diagram of a high-dose infusion configuration interface according to an embodiment of this application. In one embodiment, such as... Figure 8 As shown, after the user clicks on Infusion Information Configuration 302a, the insulin infusion device can display the following... Figure 8 The high-dose infusion configuration interface 800 shown includes a high-dose configuration icon 801, a high-dose calculation icon 802, and a high-dose preset icon 803. The high-dose configuration icon 801 is used to configure the high dose, i.e., to set the high-dose infusion mode. The high-dose calculation icon 802 is used to calculate the required amount of insulin to be infused. The high-dose preset icon 803 provides the function of preset high-dose plans.

[0089] In some embodiments, the insulin infusion device may have a high-dose wizard function. Optionally, the processor can determine the required amount of insulin to be infused based on the current blood glucose level input by the user, the active insulin level in the target body, and the target blood glucose level. Optionally, the processor can also determine the required amount of insulin to be infused based on the amount of carbohydrates ingested by the user, and the active insulin level in the target body. Optionally, the processor can also determine the required amount of insulin to be infused based on the current blood glucose level input by the user, the amount of carbohydrates ingested by the user, the active insulin level in the target body, and the target blood glucose level. For example, after the insulin infusion device is turned on, the user first sets the DIA, ICR, ISF, and target blood glucose; these four parameters can be set only once. After setting, the user clicks the "high-dose calculation icon 802," then inputs the current blood glucose level and carbohydrate intake. The processor can then calculate the required amount of insulin to be infused for this high-dose infusion using the high-dose wizard algorithm. The high-dose wizard function can be used before each carbohydrate intake and after blood glucose testing.

[0090] In some embodiments, the insulin infusion device may have at least one preset high-dose regimen. For example, after a user clicks the high-dose preset icon 803, four preset high-dose regimens can be viewed on the current interface. It is understood that the user can also configure a preset high-dose regimen by clicking the high-dose preset icon 803.

[0091] In an exemplary embodiment, the above-described device control method may optionally include the following steps: obtaining the input information selected by the user from any candidate input information based on the input configuration icon; or, obtaining the input information input by the user based on the input configuration icon.

[0092] In this embodiment, the user can select existing input information. Please refer to... Figure 3 For example, after a user clicks the basal rate infusion icon 302b, the insulin infusion device can display preset candidate infusion information B1, candidate infusion information B2, and candidate infusion information B3. Candidate infusion information B1 can represent a basal rate of 1 U / h, candidate infusion information B2 can represent a basal rate of 2 U / h, and candidate infusion information B3 can represent a basal rate of 3 U / h. In other words, the insulin infusion device can include a preset basal rate regimen. When the user selects candidate infusion information B1, the processor can use candidate infusion information B1 as the infusion information.

[0093] Users can also input customized infusion information. For an example of a high-dose infusion, please refer to [link / reference needed]. Figure 8For example, after the user clicks the high-dose configuration icon 801, the user can enter any number in the range of 0-15U through the high-dose input icon. For example, if the user enters 10U, the processor can determine the infusion information based on the user's input of "10U".

[0094] Figure 9 This is a configuration interface for candidate infusion information in one embodiment of this application. Figure 9 A configuration interface 900 for candidate input information B1 is shown. Users can click on candidate input information B1 to enter this configuration interface 900. For example... Figure 9 As shown, the configuration interface 900 includes a base rate display icon 901, an edit icon 902, and a start icon 903. The base rate display icon 901 is used to display the base rate of candidate input information B1. The edit icon 902 is used to edit candidate input information B1. The start icon 903 is used to start candidate input information B1 to execute the base rate mode.

[0095] In one embodiment, optionally, the device control method described above may further include the following steps: when an update operation for the first candidate input information is detected, displaying an update interface; acquiring the second candidate input information input by the user based on the input update icon; and updating the first candidate input information to the second candidate input information. Wherein, the first candidate input information is any one of the candidate input information, and the update interface includes an input update icon.

[0096] Continuing the example above, suppose a user reviews candidate infusion information B1, B2, and B3 and finds that none meet their needs. The user can then update candidate infusion information B1, making it the first candidate infusion information. When the processor detects this update operation, it will display an update interface. If the user enters "1.5U / h" in the infusion input field on the update interface, the processor can determine that the second candidate infusion information is "1.5U / h" and update candidate infusion information B1 from "1U / h" to "1.5U / h" to improve the flexibility of candidate injection information.

[0097] Optionally, the candidate input information can be switched. For example, the user can switch from candidate input information B1 to candidate input information B2, so that the processor uses candidate input information B2 as the input information.

[0098] In one embodiment, the base rate can also be segmented, that is, different base rates can be set for different time periods. Figure 10 This is a schematic diagram of a base rate segmentation method in this application, as shown below. Figure 10As shown, users can access the base rate segment configuration interface 1000, which can include a segment icon 1001 and a delete icon 1002. The segment icon 1001 is used to display or configure different base rate segments, and the delete icon 1002 is used to delete base rate segments.

[0099] Figure 11 This is a configuration interface for a temporary base rate in an embodiment of this application, such as... Figure 11 As shown, users can access the temporary base rate configuration interface 1100, which may include a first setting icon 1101 and a second setting icon 1102. The first setting icon 1101 is used to set the temporary base rate as a percentage based on an existing base rate or standard base rate. The second setting icon 1102 is used to set the value of the temporary base rate using a specific base rate value.

[0100] The reset filling icon 303 is used to trigger the execution of the reset filling mode. If the insulin in the insulin infusion device runs out, the user will typically load a new reservoir. However, the reservoir may not be fully filled and may contain air. Therefore, to purge excess air from the reservoir for accurate subsequent infusion, the user can click the reset filling icon 303 to control the insulin infusion device to execute the reset filling mode. In one embodiment, before the processor executes the reset filling mode, a prompt will be issued to remind the user not to connect the infusion tubing to the body.

[0101] The system settings icon 401 is used to trigger the execution of system settings mode. System settings mode can include alarm settings mode, time settings mode, or threshold settings mode.

[0102] Furthermore, the alarm setting icon 501 is used to trigger the execution of the alarm setting mode. In this mode, the alarm method for the insulin infusion device can be set, instructing how the device should trigger an alarm. For example, after the user clicks the alarm setting icon 501, the human-machine interface displays the alarm setting interface. This interface includes at least one candidate alarm method, which can be a vibration alarm, a buzzer alarm, or a vibration-buzzer alarm. The user can select the desired alarm method from the candidate options. If the user selects a vibration alarm, the processor can drive the rotor motor to trigger a vibration alarm; if the user selects a buzzer alarm, the processor can drive the ceramic buzzer to trigger a buzzer alarm; if the user selects a vibration-buzzer alarm, the processor can drive both the rotor motor and the ceramic buzzer simultaneously to trigger both alarms.

[0103] The time setting icon 502 is used to trigger the execution of the time setting mode, in which the time of the insulin infusion device can be set. If the user wants to modify the system time of the insulin infusion device, the user can click the time setting icon 502 to display the time setting interface on the human-machine interface. The alarm setting interface includes a time input icon, which the user can use to configure a target time. For example, the user can input "17:00:00" using the time input icon, and the processor will obtain the target time as "17:00:00". Further, the processor can write the target time into the register corresponding to the clock. For example, the processor can communicate with the RTC via a two-wire serial bus (Inter-Integrated Circuit, I2C) to write the target time "17:00:00" into the RTC's register, thereby modifying the RTC's time and setting the system time of the insulin infusion device to the target time.

[0104] The threshold setting icon 503 is used to trigger the execution of the threshold setting mode. In alarm setting mode, thresholds for the insulin infusion device can be set, including but not limited to dosage alarm thresholds. If a user wants to modify a threshold of the insulin infusion device, they can click the threshold setting icon 503, which will then display the threshold setting interface on the human-machine interface. The threshold setting interface includes a threshold input icon, allowing the user to configure the threshold to be modified based on the input icon, thereby changing the threshold in the insulin infusion device's flash memory from the original parameter to the target parameter.

[0105] The thresholds to be modified include at least one of the following: insulin infusion device dosage alarm threshold, maximum basal rate threshold, and maximum maximal dose threshold. The dosage alarm threshold is used for low dosage alarms; for example, if the current dosage of the insulin infusion device is less than the dosage alarm threshold, the processor can output an alarm message. The maximum basal rate threshold is used to limit the maximum basal rate input by the user. The maximum maximal dose threshold is used to limit the maximum infusion volume input by the user.

[0106] For example, assuming the original parameter corresponding to the dosage alarm threshold is 50U, the user can determine the threshold to be modified as "dosage alarm threshold" based on the threshold input icon, and input the target parameter corresponding to the dosage alarm threshold as "30U". The processor will then obtain that the threshold to be modified is the dosage alarm threshold and the target parameter of the dosage alarm threshold is "30U", and change the dosage alarm threshold in the flash memory from 50U to 30U, thereby changing the threshold to be modified from the original parameter to the target parameter.

[0107] The history record icon 402 is used to trigger the history record execution mode, which allows viewing the history of the insulin infusion device in alarm setting mode. Within the history record mode, the periodic infusion total record 601 is used to view the total infusion volume of the insulin infusion device over at least one first preset cycle. For example, the periodic infusion total record 601 includes the total infusion volume for 1 day, 7 days, 5 days, and 30 days. Taking the 1-day infusion total as an example, after the user clicks on "1-day infusion total" in the periodic infusion total record 601, the human-machine interface can display the total infusion volume for the previous day from the current moment. The total infusion volume can include the total infusion volume corresponding to each infusion type.

[0108] The Daily Infusion Total Record 602 is used to view the total infusion volume of the insulin infusion device for each day within a preset period (usually one month). For example, the Daily Infusion Total Record 602 includes the total infusion volume for each day from March 1, 2024 to March 31, 2024. The High-Dose Infusion Record 603 can be used to view the infusion volume of the insulin infusion device during routine high-dose infusions, square-wave high-dose infusions, and dual-wave high-dose infusions. The Basal Rate Infusion Record 604 indicates the infusion volume of the insulin infusion device during temporary basal rate infusions. The Alarm Record 605 is used to view the alarm status of the insulin infusion device, such as recording when and what type of alarm was triggered. The Refill and Fill Record 606 views the refill and fill operations performed by the insulin infusion device, such as recording when a refill and fill operation was performed.

[0109] Version icon 403 is used to trigger the execution of the version display mode. For example, if a user wants to view the version information of the insulin infusion device, they can click version icon 403. The processor can then display a version interface based on the user's input. This version display interface includes the version information of the insulin infusion device, which may include at least one of the software or hardware versions of the insulin infusion device.

[0110] The quick switch setting icon is used to switch between high-dose infusion modes. After the user clicks the quick switch setting icon (not shown in the diagram), the human-machine interface displays the quick switch settings interface, which includes a quick switch toggle icon. If user input is detected regarding the quick switch toggle icon and the icon is currently off, the processor will switch the icon from off to on. If user input is detected regarding the quick switch toggle icon and the icon is currently on, the processor will switch the icon from on to off.

[0111] Furthermore, when the quick switch icon is on and an operation on the main control icon is detected, the processor can quickly switch to the high-dose infusion mode. For example, if a user wishes to quickly execute the high-dose infusion mode, they can click the quick switch setting icon to turn it on. Then, after detecting a trigger operation on the quick switch setting icon, the processor will display the quick switch setting interface. At this time, the user can press and hold the HOME button to jump to the interface corresponding to the high-dose infusion icon 302a. It is understood that if the quick switch icon is off, pressing and holding the HOME button will not jump to the interface corresponding to the high-dose infusion icon 302a.

[0112] The temporary blood glucose toggle icon triggers the host computer to set temporary blood glucose parameters in the insulin infusion device. These temporary blood glucose parameters are used to calculate infusion information for more accurate subsequent infusion operations. Please continue to refer to [link / reference needed]. Figure 7 Users can configure temporary blood glucose parameters based on the temporary blood glucose input icon 702. For example, the temporary blood glucose input icon 702 may include a temporary blood glucose value icon 702a and a maintenance time icon 702b. The temporary blood glucose value icon 702a is used to input the desired temporary blood glucose value, in mM (millimoles per liter). The maintenance time icon 702b is used to indicate the duration of the temporary blood glucose value, in hours (h). For instance, a user can input "4" in the temporary blood glucose value icon 702a and "1" in the maintenance time icon 702b, indicating that the blood glucose value needs to be maintained at 4 mM for the next hour. In this way, the processor can obtain the temporary blood glucose parameters confirmed by the user based on the temporary blood glucose input icon to control the insulin infusion and perform host setting operations for the temporary blood glucose parameters. For example, the processor can store the temporary blood glucose parameters in flash memory.

[0113] In one embodiment, optionally, the processor may switch the temporary blood glucose switching icon 701 from the off state to the on state when it detects user input for the temporary blood glucose switching icon 701 and the temporary blood glucose switching icon 701 is in the off state, and then obtain the temporary blood glucose parameters confirmed by the user based on the temporary blood glucose input icon 702 when the temporary blood glucose switching icon 701 is in the on state.

[0114] In one embodiment, when user input is detected for the temporary blood glucose switching icon 701 and the temporary blood glucose switching icon 701 is in the on state, the processor switches the temporary blood glucose switching icon 701 from the on state to the off state. When the temporary blood glucose switching icon 701 is in the off state, the processor obtains the motion information of the target object to determine the temporary blood glucose parameters of the insulin infusion device based on the motion information.

[0115] For example, the processor can communicate with a motion algorithm chip, which can be connected to a sensor. Thus, when the temporary blood glucose switching icon 701 is off, the processor can determine the temporary blood glucose parameters of the insulin infusion device based on a first correspondence between different motion information and temporary blood glucose parameters, thereby enabling host setting of the temporary blood glucose parameters. The sensor may include, but is not limited to, a six-axis accelerometer or a magnetometer, and the motion information is used to indicate the motion of the target object, such as speed or acceleration.

[0116] Figure 12 This is a schematic diagram of a main interface in an embodiment of this application. The pause infusion icon 1201 is used to pause at least one of the high-dose infusion mode and the temporary basal rate infusion mode. Figure 12 As shown, assuming a user sets up to infuse 15U of insulin within 1.5 hours, and wants to pause the infusion after 7.15U has been infused, the user can click the "Pause Infusion Icon 1201" on the main interface to pause the high-dose infusion mode.

[0117] In some embodiments, the processor may respond to user input on the pause infusion icon 1201 by displaying pause options to pause at least one of the high-dose infusion mode and the temporary basal rate infusion mode based on the user's selection of the pause option. For example, after the user clicks the pause infusion icon 1201, the current interface displays "Pause High-Dose" and "Pause Temporary Basal Rate." After the user selects "Pause High-Dose," the processor pauses the high-dose infusion mode.

[0118] It should be noted that "pause" in the above embodiments can also mean cancellation. For example, after pausing the high-dose infusion mode, the current high-dose infusion is cancelled.

[0119] Figure 13 This is a parameter configuration interface in one embodiment of the present application. Figure 13As shown, users can access the parameter configuration interface 1300, which may include an activity retention time icon 1301, a target blood glucose icon 1302, a carbohydrate coefficient icon 1303, and a sensitivity coefficient icon 1304. The activity retention time icon 1301 is used to set the insulin activity retention time (DIA). The insulin activity retention time represents the time it takes for insulin to exert its physiological effects in the body. The target blood glucose icon 1302 is used to set the target blood glucose level for the target individual. The carbohydrate coefficient icon 1303 is used to set the carbohydrate coefficient, which represents the weight of carbohydrate intake that can be offset by one unit of insulin infusion. The sensitivity coefficient icon 1304 is used to set the insulin sensitivity coefficient, which represents the reduction in blood glucose level by one unit of insulin infusion.

[0120] In one embodiment, the processor can also determine the current amount of active insulin in the target body based on the completion time of the infused large dose and the effective duration of insulin.

[0121] In an exemplary embodiment, optionally, the function icon includes a main control icon, and the above-described device control method further includes the following steps:

[0122] The insulin infusion device is activated by the user's current input to the main control icon, and the current operating mode of the insulin infusion device is displayed on the current interface after the device is activated.

[0123] In this embodiment, the main control icon may include, but is not limited to, the HOME button in the human-computer interaction interface. When the insulin infusion device is locked or off, the user can click the main control icon, and the processor will then wake up the insulin infusion device based on the user's current input to the main control icon.

[0124] Furthermore, after waking up the insulin infusion device, the current operating mode of the insulin infusion device will be displayed on the current interface. This embodiment does not limit the form of the current operating mode. For example, after the user wakes up the insulin infusion device, the processor can prompt "The current operating mode is high-dose infusion mode" on the current interface, or it can display the icon corresponding to the current operating mode on the current interface, etc. Here, the current interface is also the interface currently displayed in the human-computer interaction interface, which can be the interface that the insulin infusion device was in before it was locked or turned off.

[0125] In the above embodiments, since the insulin infusion device is activated by the user's current input to the main control icon, and the current operating mode of the insulin infusion device is displayed on the current interface after the device is activated, the user can immediately obtain the current operating mode of the insulin infusion device, making the operation simple.

[0126] In an exemplary embodiment, optionally, the function icons also include a stop infusion icon, a high-dose infusion icon, a basal rate infusion icon, and a reset filling icon. The stop infusion icon is used to control the insulin infusion device to operate in stop infusion mode; the high-dose infusion icon is used to control the insulin infusion device to operate in high-dose infusion mode; the basal rate infusion icon is used to set the regular infusion dose of the insulin infusion device; and the reset filling icon is used to control the insulin infusion device to operate in reset filling mode. The reset filling mode is used to automatically fill the tubing after replacing the new reservoir of the insulin infusion device.

[0127] Among them, the prohibited operations of the safe operation rules for stopping the infusion mode include prohibiting the initiation of high-dose infusion mode and prohibiting the initiation of basal rate infusion mode.

[0128] In the current operating mode, including the stop infusion mode, the above-mentioned device control method further includes at least one of the following steps: (1) monitoring the user's first input to the high-dose infusion icon and controlling the insulin infusion device not to start the high-dose infusion mode in response to the first input; (2) monitoring the user's second input to the basal rate infusion icon and controlling the insulin infusion device not to start the basal rate infusion mode in response to the second input; (3) monitoring the user's third input to the reset filling icon and controlling the insulin infusion device to start the reset filling mode in response to the third input.

[0129] In this embodiment, after the user clicks the stop infusion icon 301, the processor controls the insulin infusion device to operate in stop infusion mode. Stop infusion mode disables the movement of the drive mechanism; therefore, the prohibited operations corresponding to stop infusion mode include at least one of disabling high-dose infusion mode and disabling basal rate infusion mode.

[0130] Thus, when the prohibited operations corresponding to the stopped infusion mode include prohibiting the initiation of the high-dose infusion mode, if the processor detects the user's first input to the high-dose infusion icon, it can control the insulin infusion device not to respond to the first input and initiate the high-dose infusion mode. In other words, the insulin infusion device will not enter the high-dose infusion mode while in the stopped infusion mode. Furthermore, if the current operating mode includes the stopped infusion mode, the high-dose infusion icon 302a in the human-machine interface can be grayed out to prompt the user to prohibit the initiation of the high-dose infusion mode.

[0131] If the processor detects a second input from the user to the basal rate infusion icon while the infusion stop mode is in a prohibited operation, including prohibiting the induction of basal rate infusion mode, it can control the insulin infusion device not to respond to the second input and initiate basal rate infusion mode. In other words, the insulin infusion device will not enter basal rate infusion mode while in infusion stop mode. It should be noted that although the insulin infusion device cannot initiate basal rate infusion mode while in infusion stop mode, the basal rate can still be set. For example, in infusion stop mode, the user can still modify the basal rate by clicking the basal rate infusion icon 302b.

[0132] If the current operating mode includes the stop infusion mode, the user can click the reset filling icon 303 to control the insulin infusion device to start the reset filling mode, so that the tubing can be automatically filled after the new reservoir of the insulin infusion device is replaced. It should be noted that after the reset filling mode ends, the insulin infusion device will also switch from the stop infusion mode to the resume infusion mode.

[0133] In the above embodiments, since the prohibited operations of the safety operation rules for the stopped infusion mode include prohibiting the initiation of at least one of the high-dose infusion mode and the basal rate infusion mode, the insulin infusion device will not respond even if the user operates the high-dose infusion icon or the basal rate infusion icon when the current operating mode includes the stopped infusion mode, thus improving safety. Furthermore, when the current operating mode includes the stopped infusion mode, the refill mode can be reset via user input, improving the flexibility and efficiency of the insulin infusion device.

[0134] In an exemplary embodiment, optionally, the function icons also include a temporary basal rate infusion icon, a pause infusion icon, and a time setting icon; the temporary basal rate infusion icon is used to control the insulin infusion device to operate in temporary basal rate infusion mode; the pause infusion icon is used to pause at least one of the high-dose infusion mode and the temporary basal rate infusion mode.

[0135] Among them, the prohibited operations in the safe operation rules of the high-dose infusion mode include prohibiting the restart of the high-dose infusion mode, prohibiting the start of the reset filling mode, and prohibiting the modification of the system time of the insulin infusion device, at least one of the following:

[0136] When the current operating mode is high-dose infusion mode, the above-mentioned device control method further includes at least one of the following steps: (1) monitoring the user's fourth input to the high-dose infusion icon and controlling the insulin infusion device not to restart the high-dose infusion mode in response to the fourth input; (2) monitoring the user's fifth input to the reset filling icon and controlling the insulin infusion device not to start the reset filling mode in response to the fifth input; (3) monitoring the user's sixth input to the basal rate infusion icon and controlling the insulin infusion device to start the basal rate infusion mode in response to the sixth input; (4) monitoring the user's seventh input to the temporary basal rate infusion icon and controlling the insulin infusion device to start the temporary basal rate infusion mode in response to the seventh input; (5) monitoring the user's eighth input to the pause infusion icon and controlling the insulin infusion device to pause the high-dose infusion mode in response to the eighth input; (6) monitoring the user's ninth input to the time setting icon and controlling the insulin infusion device not to modify the system time of the insulin infusion device in response to the ninth input.

[0137] In this embodiment, after the user clicks the high-dose infusion icon 302a, the processor can control the insulin infusion device to operate in high-dose infusion mode. To improve safety, high-dose infusion mode prohibits restarting high-dose infusion mode, prohibits refilling, and prohibits setting the time. Therefore, the prohibited operations corresponding to high-dose infusion mode include prohibiting restarting high-dose infusion mode, prohibiting refilling mode, and prohibiting modification of the insulin infusion device's system time.

[0138] Thus, in high-dose infusion mode, if the processor detects the user's fourth input to the high-dose infusion icon 302a, it can control the insulin infusion device not to respond to the fourth input and restart the high-dose infusion mode. In other words, the insulin infusion device will not re-enter the high-dose infusion mode. If the processor detects the user's fifth input to the reset filling icon 303, it can control the insulin infusion device not to respond to the fifth input and start the reset filling mode. In other words, the insulin infusion device will not enter the reset filling mode in high-dose infusion mode. If the processor detects the user's ninth input to the time setting icon 502, it can control the insulin infusion device not to respond to the ninth input and modify the system time of the insulin infusion device. In other words, the insulin infusion device will not enter the time setting mode in high-dose infusion mode.

[0139] However, basal rate infusion mode can be performed in high-dose infusion mode. Therefore, in high-dose infusion mode, if the user's sixth input to the basal rate infusion icon is monitored, the insulin infusion device can be controlled to start the basal rate infusion mode in response to the sixth input; or, if the user's seventh input to the temporary basal rate infusion icon is monitored, the insulin infusion device can be controlled to start the temporary basal rate infusion mode in response to the seventh input.

[0140] Furthermore, to promptly stop high-dose infusions, the high-dose infusion mode can be paused and canceled at any time. Therefore, if the user's eighth input to the pause infusion icon 801 is monitored, the insulin infusion device can be controlled to pause the high-dose infusion mode in response to the eighth input.

[0141] In the above embodiments, since the prohibited operations of the safety operation rules for the high-dose infusion mode include prohibiting the restart of the high-dose infusion mode, prohibiting the start of the reset filling mode, and prohibiting the modification of the system time of the insulin infusion device, it is ensured that the high-dose infusion mode will not be affected by other high doses or times, thus improving safety.

[0142] In an exemplary embodiment, optionally, the function icon further includes a square wave infusion icon, which is used to provide a square wave infusion mode; the above-described device control method further includes the following steps:

[0143] During the setting of the high-dose infusion mode, the user's tenth input to the square wave infusion icon is monitored, and the insulin infusion device is controlled to respond to the tenth input to start the dual-wave infusion mode, which combines the high-dose infusion mode with the square wave infusion mode.

[0144] In this embodiment, the function icons also include a square wave infusion icon (not shown in the figure). During the setting of the high-dose infusion mode, for example, after the user clicks the high-dose configuration icon 801, the interface corresponding to the high-dose configuration icon 801 will be displayed. The user can then configure how to infuse the high dose on the interface corresponding to the high-dose configuration icon 801. In this case, the processor will continue to monitor the user's input. If the processor detects the tenth input of the user to the square wave infusion icon, it indicates that the user needs to superimpose a square wave infusion on top of the regular high-dose infusion. That is, when infusing insulin, the user wants a portion of the insulin to be infused immediately, and a portion to be infused over a certain period of time. Therefore, the processor will continue to control the insulin infusion device to respond to the tenth input and activate the dual-wave infusion mode, which combines the high-dose infusion mode with the square wave infusion mode.

[0145] In the above embodiments, since the user's tenth input to the function icon, including the square wave infusion icon, is monitored during the setting of the high-dose infusion mode, and the insulin infusion device is controlled to respond to the tenth input to start the dual-wave infusion mode that superimposes the high-dose infusion mode and the square wave infusion mode, the user can efficiently configure the high-dose infusion mode.

[0146] In one exemplary embodiment, optionally, the prohibited operations of the safety operation rules for the temporary basal rate infusion mode include prohibiting the initiation of the reset filling mode and prohibiting the modification of the system time of the insulin infusion device at least one of the following:

[0147] When the current operating mode is temporary basal rate infusion mode, the above-mentioned device control method further includes at least one of the following steps: (1) monitoring the user's eleventh input to the reset filling icon and controlling the insulin infusion device not to start the reset filling mode in response to the eleventh input; (2) monitoring the user's twelfth input to the time setting icon and controlling the insulin infusion device not to modify the system time of the insulin infusion device in response to the twelfth input.

[0148] In this embodiment, similar to the principle of high-dose infusion mode, in temporary basal rate infusion mode, if the user's eleventh input to the reset filling icon 303 is detected, the insulin infusion device can be controlled not to respond to the eleventh input and initiate the reset filling mode. In other words, the reset filling mode cannot be initiated in temporary basal rate infusion mode. Similarly, in temporary basal rate infusion mode, if the user's twelfth input to the time setting icon 502 is detected, the insulin infusion device can be controlled not to respond to the twelfth input and modify the system time of the insulin infusion device. In other words, the time setting mode cannot be initiated in temporary basal rate infusion mode.

[0149] In the above embodiments, since the prohibited operations of the safety operation rules for the temporary basal rate infusion mode include prohibiting the initiation of the reset filling mode and prohibiting the modification of the system time of the insulin infusion device, it can be ensured that the temporary basal rate infusion mode is not affected by the reset filling and time, thus improving safety.

[0150] In one exemplary embodiment, optionally, the prohibited operations of the safe operation rules of the reset charging mode include: prohibiting the operation of ending the reset charging mode using the main control icon during the reset charging mode, or prohibiting the operation of switching out of the reset charging mode by horizontal swiping.

[0151] When the current operating mode is reset filling mode, the above-mentioned device control method also includes the following steps: monitoring the user's thirteenth input to the human-machine interface; if the thirteenth input is an operation to end the reset filling mode using the main control icon during the reset filling mode, or the thirteenth input is an operation to switch out of the reset filling mode by sliding horizontally, then the insulin infusion device is controlled not to respond to the thirteenth input and continue to execute the reset filling mode until the reset filling mode ends.

[0152] In this embodiment, after the user clicks on the reset filling mode 303, the processor controls the insulin infusion device to operate in reset filling mode. To avoid problems such as abnormal motor reset and incomplete tubing filling caused by abnormal termination of reset filling mode, the operation to end reset filling mode using the main control icon or to switch out of reset filling mode by horizontal swiping is prohibited in reset filling mode.

[0153] Furthermore, if the processor detects the thirteenth input from the user on the human-machine interface while the current operating mode is reset and filling mode, and the thirteenth input is an operation to end the reset and filling mode using the main control icon during the reset and filling mode, or the thirteenth input is an operation to switch out of the reset and filling mode by sliding horizontally, then the processor will control the insulin infusion device not to respond to the thirteenth input and continue to execute the reset and filling mode until the reset and filling mode ends.

[0154] It should be noted that although the main control icon cannot be used to end the reset charging mode or the reset charging mode cannot be switched out by horizontal swiping in the reset charging mode, necessary interactive operations can still be performed in the reset charging mode. For example, when the processor prompts "Motor reset completed, do you want to proceed to the next operation" in the reset charging mode, the user can still operate the human-machine interface normally. For example, the user can click "Confirm" to continue executing the reset charging mode.

[0155] In the above embodiments, the safety rules for the reset charging mode prohibit operations including: prohibiting the use of the main control icon to end the reset charging mode during its execution, or prohibiting the use of a horizontal swipe to exit the reset charging mode. Therefore, during the execution of the reset charging mode, the user will not accidentally end the reset charging mode due to accidental touches or operations, which improves both security and the accuracy of the reset charging process.

[0156] In an exemplary embodiment, optionally, the insulin infusion device includes a drive mechanism and an injection mechanism, and the above-described device control method further includes the following steps:

[0157] The reverse motion of the drive mechanism is controlled to drive the injection mechanism to complete the reset operation; when the drive mechanism triggers a reset signal during the reverse motion, the first prompt message is displayed on the current interface. The first prompt message is used to inform the user that the injection mechanism has completed the reset and the user needs to confirm the start of the pipeline filling operation; the fourteenth input from the user to confirm the start of the pipeline filling operation is received, and the forward motion of the drive mechanism is controlled to drive the injection mechanism to complete the pipeline filling operation. The pipeline filling operation is used to realize pipeline venting.

[0158] In this embodiment, the driving mechanism includes, but is not limited to, a motor, and the injection mechanism includes, but is not limited to, a push rod. Please continue to refer to... Figure 3 After the user reloads the reservoir, the user can click the reset filling icon 303. Then, the processor can control the reverse movement of the drive mechanism to drive the injection mechanism to complete the reset operation.

[0159] To more clearly illustrate the reset filling mode in this application, this document combines... Figure 14 Please provide an explanation. Figure 14This is a schematic diagram of a reset and filling mode process in an embodiment of this application, as shown below. Figure 14 As shown, when the user clicks the reset filling icon 303, the processor can control the drive mechanism to reverse its movement, so that the injection mechanism 1402 moves away from the reservoir 1401 (e.g., Figure 14 (a) direction of the dashed line).

[0160] Furthermore, when the processor receives a reset signal, that is, when it receives a reset signal triggered by the drive mechanism during the reverse motion, it can provide the first prompt information on the current interface, such as "Reset completed, please confirm whether to proceed to the next step", to prompt the user that the push mechanism has been reset and the user needs to confirm to start the pipeline filling operation.

[0161] Optional, please refer to Figure 14 The processor can monitor whether the bottom of the drive mechanism touches the reset switch 1403 during the reverse movement of the drive mechanism, and receives a reset signal when it determines that the bottom of the drive mechanism has touched the reset switch 1403. In this embodiment, taking a motor as an example, the processor can send a reverse command to the motor control integrated circuit (IC) via serial port to make the motor reverse. During the process of controlling the motor to reverse, the processor will detect whether the bottom of the motor touches the reset switch. If the bottom of the motor touches the reset switch, it means that the motor reset has been completed. Then, when the bottom of the motor touches the reset switch, the processor will receive a reset signal generated by the reset switch being turned on. At this time, it means that the reset is complete, and the processor can display a filling icon. After detecting the trigger operation for the filling icon, the processor sends a forward rotation command to the motor control IC via serial port to make the motor rotate forward to complete the pipeline filling operation.

[0162] Furthermore, if the current interface displays "Reset complete, please confirm to proceed to the next step," and the user clicks "Confirm," the processor will receive the fourteenth input from the user to confirm the start of the pipeline filling operation. The processor can then control the forward rotation of the drive mechanism to drive the injection mechanism to complete the pipeline filling operation, which is used to vent the pipeline. For example, please refer to... Figure 14 After the processor responds to the fourteenth input, it can control the drive mechanism to rotate forward, thereby driving the injection mechanism 1402 to move closer to the reservoir 1401 (e.g., Figure 14 (b) in the direction of the dashed line), until the injection mechanism contacts the reservoir 1401 to complete the pipeline filling operation, as shown. Figure 14 As shown in (b).

[0163] Further optionally, the pipeline filling operation may include at least one of automatic filling, manual filling, and quantitative filling. For example, the human-machine interface may display automatic filling, manual filling, and quantitative filling operations so that the user can select the pipeline filling operation to be performed.

[0164] The automatic filling operation involves the user triggering the reset filling icon, which automatically controls the motor to rotate forward and inject medication from the reservoir to fill the tubing, thus automatically venting air from the tubing. The manual filling operation requires the user to continuously trigger the control command to rotate the motor forward and inject medication from the reservoir to fill the tubing, also venting air from the tubing. Users can flexibly vent the tubing and terminate the venting process. The quantitative filling operation involves the insulin infusion device filling the tubing with a small amount of insulin to expel air from the indwelling needle.

[0165] In the automatic filling operation, the processor can control the drive mechanism to rotate forward continuously until the pushing pressure corresponding to the injection mechanism is greater than the first preset value, so as to complete the automatic filling operation.

[0166] In manual filling operations, the processor can respond to a user's long-press operation via the human-machine interface by controlling the drive mechanism to rotate forward continuously until the user ends the long-press operation. In some embodiments, the processor can also respond to a user's long-press operation via the human-machine interface by controlling the drive mechanism to rotate forward according to a first thread, and after completing the forward rotation, confirm with the user via the human-machine interface whether to perform another long-press operation, thereby improving the security of manual filling operations.

[0167] In the quantitative filling operation, the processor can control the drive mechanism to rotate forward according to the second thread to complete the quantitative filling operation. The second thread can be set according to requirements, and is generally the thread corresponding to the infusion of 0.1U.

[0168] It should be noted that in some embodiments, if the insulin infusion device generates a first type of alarm, such as an alarm corresponding to "tubular blockage", the processor can control the insulin infusion device to directly execute the reset filling mode, so as to directly drive the injection mechanism to complete the reset operation by controlling the reverse movement of the drive mechanism. When the reset signal is triggered by the drive mechanism in the reverse movement, the processor will provide feedback on the first prompt information on the current interface, and then receive the fourteenth input from the user to confirm the start of the tubular filling operation, and control the forward movement of the drive mechanism to drive the injection mechanism to complete the tubular filling operation.

[0169] In the above embodiments, by controlling the reverse motion of the drive mechanism to drive the injection mechanism to complete the reset operation, and then receiving the reset signal triggered by the drive mechanism in the reverse motion, the first prompt information is fed back on the current interface to prompt the user that the injection mechanism has completed the reset and the user needs to confirm to start the pipeline filling operation. In this way, after receiving the fourteenth input from the user to confirm to start the pipeline filling operation, the forward motion of the drive mechanism can be efficiently and accurately controlled to drive the injection mechanism to complete the pipeline filling operation, so as to realize the pipeline venting, which is beneficial to the user's subsequent use.

[0170] In an exemplary embodiment, optionally, the drive mechanism includes a motor, and the above-mentioned "controlling the forward rotation of the drive mechanism to drive the injection mechanism to complete the pipeline filling operation" can be achieved as follows: control the motor to rotate forward according to a preset first thread, and simultaneously monitor the pushing pressure of the push rod in the injection mechanism; when the pressure value of the pushing pressure is greater than a first preset value, the pipeline filling operation is completed.

[0171] In this embodiment, the first thread can be set according to requirements, for example, the thread corresponding to 2U. Then, after the processor responds to the fourteenth input, it can control the motor to rotate forward according to the pre-set first thread.

[0172] In some embodiments, the motor includes, but is not limited to, a stepper motor, a servo motor, etc. Optionally, since a servo motor is capable of detecting the number of feedback lines, in one embodiment, the motor can be a servo motor.

[0173] During the process of controlling the motor to rotate forward according to the preset first thread, if the pressure value of the push pressure is not greater than a first preset value, the processor can return to the step of controlling the motor to rotate forward according to the preset first thread, until the pressure value of the push pressure is greater than the first preset value. For example, a 2U thread can be considered as a cycle. If the pressure value does not exceed the first preset value during the 2U cycle, the next 2U thread is executed. In this way, even if a motor malfunction or other problem occurs during a 2U thread, at most 2U of insulin will be infused, reducing safety risks.

[0174] During the forward rotation of the motor according to the preset first thread, the processor will also monitor the pushing pressure of the push rod in the injection mechanism through the pressure sensor, and when the pressure value of the pushing pressure is greater than the first preset value, it will confirm that the push rod has contacted the reservoir to complete the pipeline filling operation.

[0175] Please continue to refer to this. Figure 14 ,like Figure 14As shown, if the tubing filling operation is not completed during the forward rotation of the drive mechanism, it indicates that the push rod is in an unloaded state, and the pressure sensor in the insulin infusion device will theoretically not detect a pressure value. If the pressure value detected by the pressure sensor reaches the first preset value, it indicates that the push rod has contacted the reservoir, thus completing the tubing filling operation. The pressure value indicates the pushing pressure of the push rod. The pressure sensor can be located at the bottom of the drive mechanism, for example, at the bottom of the motor.

[0176] In the above embodiments, since the control motor rotates forward according to the preset first thread and at the same time monitors the pushing pressure of the push rod in the injection mechanism, the pipeline filling operation can be completed efficiently and accurately when the pressure value of the pushing pressure is greater than the first preset value.

[0177] In an exemplary embodiment, optionally, the above-described device control method further includes the following steps: monitoring whether an abnormal pressure event occurs in the pushing pressure of the push rod in the injection mechanism; if an abnormal pressure event occurs, an alarm is triggered.

[0178] In this embodiment, abnormal pressure events may include, but are not limited to, tubing blockage or tubing detachment in the insulin infusion device. It is understood that the occurrence of an abnormal pressure event can be determined by detecting the pushing pressure of the plunger in the injection mechanism. For example, the processor may confirm a "tubing blockage" abnormal pressure event if the insulin infusion device is executing an infusion mode and the pushing pressure value is greater than a second preset value. The processor may also confirm a "tubing detachment" abnormal pressure event if the insulin infusion device is executing an infusion mode and the change in pushing pressure is less than a third preset value.

[0179] Furthermore, if an abnormal pressure event occurs, the processor will issue an alarm. This embodiment does not limit the alarm notification method; it can be at least one of vibration alarm, buzzer alarm, or display alarm.

[0180] In the above embodiments, since it is possible to monitor whether there is an abnormal pressure event in the pushing pressure of the push rod in the injection mechanism, and to issue an alarm reminder when an abnormal pressure event occurs, users can be informed of the abnormal pressure event in a timely manner, which is conducive to timely correction of the status of the insulin infusion device, thereby improving the efficiency of use.

[0181] In one exemplary embodiment, optionally, the insulin infusion device further includes a slave control unit, which monitors and provides feedback on the number of revolutions of the motor's forward rotation; the device control method described above further includes the following steps:

[0182] If no rotational speed feedback is received from the slave control unit within the predetermined time, a stop command is sent to the slave control unit, and the power supply circuit of the slave control unit is cut off to stop the forward rotation of the motor.

[0183] In this embodiment, after the processor sends the number of coils that the motor needs to rotate, the slave control unit needs to return the number of revolutions the motor makes in the forward direction, i.e., the number of coils that the motor rotates in the forward direction, to the processor within a predetermined time period. If the slave control unit does not send the number of revolutions to the processor within the predetermined time period, or if the slave control unit sends the number of revolutions but the processor does not receive it normally, in short, if the processor does not receive the number of revolutions from the slave control unit within the predetermined time period, it indicates that the communication between the processor and the slave control unit is abnormal. If the motor continues to be controlled, there will be a risk. Therefore, in this case, the processor sends a stop command to the slave control unit and cuts off the power supply circuit of the slave control unit to stop the forward rotation of the motor. The processor may include, but is not limited to, a master microcontroller unit (MCU), and the slave control unit may include, but is not limited to, a slave MCU.

[0184] In one embodiment, if the processor does not receive the rotation number from the slave control unit within a predetermined time, it can also report an alarm that prompts "Please contact customer service".

[0185] In the above embodiments, since a stop command can be sent to the slave control unit and the power supply circuit of the slave control unit can be cut off to stop the forward rotation of the motor if no rotation number is received from the slave control unit after a predetermined time, the motor can be stopped in time even if an abnormality occurs with the slave control unit, thereby improving the safety of the insulin infusion device.

[0186] In one exemplary embodiment, optionally, the above-described device control method further includes the following steps:

[0187] After the power supply battery of the insulin infusion device is replaced, a power-on self-test function is performed. If the power supply battery level is insufficient to power on, a battery replacement reminder will be displayed on the current screen. If the power supply battery level is sufficient to power on, the insulin infusion device will be powered on and the basal rate infusion mode will be initiated.

[0188] In this embodiment, to ensure the insulin infusion device can function normally after the power supply battery is replaced, the device will perform a power-on self-test (POST) function. This POST includes checking whether the power supply battery's charge level meets the power-on requirements. These requirements may include, but are not limited to, the battery's supply voltage exceeding a preset voltage threshold, or the battery's supply voltage exceeding the preset voltage threshold multiple times consecutively. The preset voltage threshold can be set as needed, for example, 1.3V.

[0189] Furthermore, if the battery power is insufficient to power on the device, a battery replacement reminder can be displayed on the current screen. For example, if the battery voltage is less than 1.3V, the processor can display a message on the current screen stating, "Battery power is low, please replace the battery promptly." Alternatively, if the battery power is insufficient to power on the device, the processor can control the insulin infusion device to stop powering on.

[0190] If the battery power meets the power-on requirements, for example, if the battery voltage is not less than 1.3V for three consecutive tests, the processor will control the insulin infusion device to power on and start the basal rate infusion mode.

[0191] In the above embodiments, after the power supply battery of the insulin infusion device is replaced, a power-on self-test function is performed. If the power supply battery level does not meet the power-on conditions, a battery replacement reminder is displayed on the current interface. If the battery level meets the power-on conditions, the insulin infusion device is powered on and the basal rate insulin infusion mode is started. Therefore, abnormalities in the power supply battery can be detected in a timely manner, which is beneficial to improving the utilization efficiency of the insulin infusion device.

[0192] In one exemplary embodiment, optionally, if at least one of the multiple power supplies for the drive components in the insulin infusion device fails to power, the other power supplies for the drive components are also controlled to fail to power. For example, the power supply for the motor may include a first power supply and a second power supply, which are logically ANDed. When the processor detects that the first power supply has failed, it also controls the second power supply to fail to power.

[0193] In one exemplary embodiment, optionally, if the insulin infusion device generates a second type of alarm during the execution of an infusion mode, such as an alarm corresponding to "reservoir empty", the processor can control the insulin infusion device to cancel the current infusion.

[0194] In one exemplary embodiment, the insulin infusion device may optionally include a circuit protection circuit, which includes, but is not limited to, a fuse circuit.

[0195] In one exemplary embodiment, optionally, the above-described device control method further includes the following steps:

[0196] The infusion progress of the insulin infusion device is determined based on at least one of the infusion parameters and the actual number of moving coils in the drive mechanism of the insulin infusion device; the infusion progress includes at least one of the total infusion volume, the infused volume, and the total infusion time.

[0197] In the above embodiments, since the infusion progress includes at least one of the total infusion volume, the infused volume, and the total infusion time, determining the infusion progress of the insulin infusion device based on at least one of the infusion parameters and the actual number of moving coils in the drive mechanism of the insulin infusion device is beneficial for users to obtain the infusion progress in a timely manner.

[0198] In an exemplary embodiment, the above-described device control method further includes the following steps:

[0199] Obtain the first insulin dose corresponding to the completion of the reset operation of the insulin infusion device; obtain the second insulin dose corresponding to the completion of the tubing filling operation of the insulin infusion device; determine the initial insulin dose of the insulin infusion device based on the first and second insulin doses.

[0200] In this embodiment, please refer to the following for the first insulin dose corresponding to the completion of the insulin infusion device reset operation. Figure 14 The first dosage can be the dosage corresponding to when the plunger reaches the reset position 1403. Optionally, the processor can preset the first dosage based on parameters such as the reservoir model and reset position, for example, the preset first dosage is 250U. In some embodiments, the processor can also determine the first dosage corresponding to when the insulin infusion device completes the reset operation based on user input.

[0201] The second dosage corresponding to the completion of the tubing filling operation in the insulin infusion device can be determined based on the movement distance of the injection mechanism 1402 from the reset position 1403 to the point of contact with the reservoir 1401. Optionally, the processor can determine the second dosage based on the movement distance of the injection mechanism 1402 and a second correspondence between different movement distances and dosages, for example, the second dosage is 50U. The movement distance of the injection mechanism 1402 can be mapped to the number of motion coils in the drive mechanism during the movement of the injection mechanism 1402.

[0202] Optionally, the processor can determine the initial insulin dose for the insulin infusion device based on the difference between the first and second doses. Continuing with the example above, the processor can use 250U-50U, or 200U, as the initial insulin dose for the infusion device.

[0203] In the above embodiments, since the first dose of insulin is obtained when the insulin infusion device completes the reset operation, and the second dose of insulin is obtained when the insulin infusion device completes the tubing filling operation, the initial dose of insulin infusion device can be accurately determined based on the first dose and the second dose.

[0204] In an exemplary embodiment, optionally, the above-described device control method may further include the following steps: determining the amount of insulin already used in the insulin infusion device based on the actual number of motion coils in the drive mechanism of the insulin infusion device; and determining the remaining amount of insulin in the insulin infusion device based on the initial amount and the amount already used.

[0205] In this embodiment, the processor can determine the amount of insulin used by the insulin infusion device based on the actual number of coils in the drive mechanism and the third correspondence between the number of coils and the amount of insulin. For example, if the actual number of coils in the drive mechanism is 20, then the amount of insulin used is 15U.

[0206] Furthermore, the processor can determine the remaining insulin level in the insulin infusion device based on the difference between the initial dosage and the dosage already used. For example, the processor can use 200U - 15U, or 75U, as the remaining insulin level in the infusion device.

[0207] In the above embodiments, since the amount of insulin used in the insulin infusion device can be determined based on the actual number of moving coils in the drive mechanism of the insulin infusion device, the remaining amount of insulin in the insulin infusion device can be accurately determined based on the initial amount of insulin and the amount of insulin used.

[0208] In an exemplary embodiment, optionally, the above-described device control method may further include the following steps: determining alarm information based on the operating status of the insulin infusion device; the alarm information includes alarm type and alarm priority.

[0209] In this embodiment, the operational status of the insulin infusion device may include, but is not limited to, the battery voltage, current dosage, and communication status with the drive mechanism. The processor determines alarm information based on the operational status of the insulin infusion device. The alarm information includes alarm type and alarm priority. Alarm types are, for example, alarm 1 to alarm N (N can be an integer greater than 2), with different alarm numbers used to warn of different situations. Alarm priority indicates the priority of alarm notification; for example, the priority of alarms 1 to N decreases sequentially. If the processor simultaneously determines alarm 1 and alarm 2, and alarm 1 has a higher priority than alarm 2, then alarm 1 can be alerted first.

[0210] Furthermore, the processor can generate alarm prompts based on the alarm information. For example, the processor can display the alarm type with the highest priority via alarm prompt icon 1205. In some embodiments, different priorities may correspond to different alarm prompts. For example, alarms 1 to 4 are high priority, and the processor can sound an alarm every 10 seconds, with 5 beeps each time. Alarms 5 to 8 are low priority, and the processor can sound an alarm every 20 seconds, with 3 beeps each time.

[0211] In one exemplary embodiment, optionally, the above-described device control method may include at least one of the following steps:

[0212] (1) In the event of a communication anomaly between the processor in the insulin infusion device and the sub-controller of the drive mechanism in the insulin infusion device, an alarm message is determined. For example, if the processor experiences a communication anomaly with the motor control IC, it may assume that the motor cannot be controlled normally, i.e., the motor is malfunctioning, and generate alarm number 1 indicating "need to contact customer service".

[0213] (2) An alarm is triggered when the difference between the battery voltage of the insulin infusion device and the voltage alarm threshold exceeds the first threshold. The voltage alarm threshold can be set as needed and is a number greater than 0. The voltage alarm threshold may include a first voltage alarm sub-threshold and a second voltage alarm sub-threshold. The first voltage alarm sub-threshold is used to determine whether the insulin infusion device's battery is about to run out of power. If the battery is about to run out but the infusion device continues to operate, there is a risk of abnormal restart. The second voltage alarm sub-threshold is used to determine whether the insulin infusion device needs to have its battery replaced as soon as possible. In this case, the insulin infusion device's battery has little remaining power but can still operate for a short period of time.

[0214] For example, the processor can compare the battery voltage with a first voltage alarm sub-threshold. If the battery voltage is lower than the first voltage alarm sub-threshold, it is considered that the battery is about to run out of power, and alarm number 2 indicating "battery depleted" is generated. The processor can also compare the battery voltage with a second voltage alarm sub-threshold. If the battery voltage is lower than the second voltage alarm sub-threshold, it is considered that the insulin infusion device needs to replace the battery as soon as possible, and alarm number 7 indicating "low power" is generated.

[0215] (3) An alarm is triggered when the difference between the current insulin dose and the dose alarm threshold exceeds a second threshold. The dose alarm threshold can be set as needed and is a number greater than 0. The dose alarm threshold may include a first dose alarm sub-threshold and a second dose alarm sub-threshold. The first dose alarm sub-threshold determines whether the insulin dose is about to run out, and continued use of the insulin infusion device risks the infusion operation becoming impossible. The second dose alarm sub-threshold determines whether the insulin infusion device needs immediate reservoir replacement; in this case, the insulin infusion device has little remaining reservoir but infusion operations can still continue.

[0216] For example, the processor can compare the current medication dosage with a first medication dosage alarm sub-threshold. If the current medication dosage is less than the first medication dosage alarm sub-threshold, it considers the medication dosage to be about to run out and generates alarm number 3 indicating "medication dosage run out". The processor can also compare the current medication dosage with a second medication dosage alarm sub-threshold. If the current medication dosage is less than the second medication dosage alarm sub-threshold, it considers the insulin infusion device to need to replace the reservoir as soon as possible and generates alarm number 8 indicating "insufficient medication dosage".

[0217] (4) When the insulin infusion device is in infusion mode and the pressure value of the pressure sensor in the insulin infusion device is greater than a second preset value, an alarm message is determined. The second preset value is set as needed and is a number greater than 0. For example, when the insulin infusion device is in infusion mode, if the processor determines that the pressure value of the pressure sensor is greater than the second preset value, it can be considered that the tubing of the infusion set in the insulin infusion device is blocked, and alarm number 4 indicating "tubing blockage" is generated.

[0218] (5) If a touch input to the reset filling icon is detected and the initial insulin dosage of the insulin infusion device is lower than a preset dosage threshold, an alarm message is generated. The preset dosage threshold can be set as needed and is a number greater than 0. For example, if the user clicks the reset filling icon 303, and the processor determines that the initial insulin dosage of the infusion device is lower than the preset dosage threshold, it assumes that the reservoir was not detected during the reset filling operation, or that the reservoir exists but the dosage is too low, and generates alarm number 5 indicating "reservoir empty".

[0219] (6) When the insulin infusion device is in infusion mode and the change in pressure value of the pressure sensor in the insulin infusion device is less than a third preset value, an alarm message is determined. The third preset value can be a number less than 0, set as needed. For example, when the insulin infusion device is in infusion mode, if the processor determines that the change in pressure value of the pressure sensor is less than the third preset value, it considers the tubing of the infusion set to have detached from the target object and generates alarm number 6 indicating "tubing detachment".

[0220] As can be seen, alarm information can be accurately and efficiently determined by monitoring the operation of insulin infusion equipment, so that users can view alarm prompts in a timely manner.

[0221] In one exemplary embodiment, optionally, the above-described device control method further includes the following steps:

[0222] Obtain the current blood glucose level using a blood glucose monitor.

[0223] In this embodiment, the target subject may wear a continuous glucose monitor (CGM) to obtain the target subject's current blood glucose level. The processor can communicate with the CGM; for example, the processor can connect to the CGM via Bluetooth. Then, the processor can obtain the current blood glucose level through the CGM. In one embodiment, the processor can also determine the trend of the current blood glucose level through the CGM.

[0224] In the above embodiments, since the current blood glucose value can be obtained through the blood glucose monitor, it is beneficial for users to obtain the current blood glucose value in a timely and accurate manner.

[0225] In one exemplary embodiment, the human-machine interface further includes at least one display icon, which includes at least one of the following: dosage icon, battery level icon, time icon, date icon, alarm notification icon, mute icon, infusion information icon, infusion progress icon, dosage alarm threshold icon, dosage threshold range icon, historical injection icon, mobile device connection identifier, blood glucose value icon, automatic identification icon, and basal rate parameter icon.

[0226] To clearly illustrate the display icons in this application, this document combines... Figure 12 , Figure 15 and Figure 16 Please provide an explanation. Figure 15 This is a schematic diagram of yet another main interface in an embodiment of this application. Figure 16 This is a schematic diagram of a negative one screen in an embodiment of this application.

[0227] In this embodiment, the infusion progress icon 1202 is used to display the infusion progress of the insulin infusion device. The infusion information icon 1203 is used to display the infusion information of the insulin infusion device, which may include at least one of infusion type and infusion parameters. The mute icon 1204 is used to indicate whether the insulin infusion device is silent. The alarm icon 1205 is used to display the alarm type of the insulin infusion device. The time icon 1206 is used to display the system time of the insulin infusion device. The battery icon 1207 is used to display the current battery level of the insulin infusion device. The date icon 1208 is used to display the current date of the insulin infusion device. The dosage icon 1209 is used to display the current dosage of insulin in the insulin infusion device.

[0228] The automatic indicator icon 1501 is used to indicate whether the insulin infusion device has entered automatic mode. Automatic mode is a mode in which the insulin infusion device determines infusion information based on the target individual's current blood glucose level. In some embodiments, in automatic mode, the insulin infusion device can also determine infusion information based on the target individual's current blood glucose level and temporary blood glucose parameters.

[0229] The blood glucose icon 1502 is used to display the target object's current blood glucose level and / or the trend of its current blood glucose level. The historical injection icon 1503 is used to indicate whether the insulin infusion device is connected to the mobile device.

[0230] The historical injection icon 1601 displays historical infusion information for the preset infusion type of the insulin infusion device. The preset infusion type can be at least one of the infusion types, such as a regular high-dose infusion. The basal rate parameter icon 1602 displays the current basal rate of the insulin infusion device. The dosage alarm threshold icon 1603 displays the dosage alarm threshold of the insulin infusion device. The dosage threshold range icon 1604 displays at least one of the upper and lower limits of the dosage alarm threshold.

[0231] In one exemplary embodiment, the human-computer interaction interface may optionally include a first interface, a second interface, and a third interface. Taking the first interface as the main interface as an example, please refer to... Figure 12 and Figure 15 The function icons in the first interface may include at least one of the following: pause infusion icon 1201, infusion progress icon 1202, infusion information icon 1203, mute icon 1204, alarm prompt icon 1205, time icon 1206, battery icon 1207, date icon 1208, medication dosage icon 1209, automatic identification icon 1501, blood glucose value icon 1502, and mobile device connection identifier 1503.

[0232] by Figure 12For example, according to the infusion progress icon 1202, the user needs to infuse 15U of insulin within 1.5 hours, and 7.15U has been infused so far. According to the infusion information icon 1203, the insulin infusion device is set to temporary basal rate infusion B1 and square wave high-dose infusion. It's understandable that the icons for regular high-dose infusion, square wave high-dose infusion, and dual-wave high-dose infusion are different in infusion information icon 1203. According to the mute icon 1204, the insulin infusion device is set to mute or have its alarm silenced. According to the alarm notification icon 1205, the insulin infusion device has alarm number 5. According to the time icon 1206, the system time of the insulin infusion device is 19:30. According to the battery icon 1207, the insulin infusion device is fully charged. According to the date icon 1208, the current date of the insulin infusion device is April 26th. The dosage icon 1209 includes a graphical representation of the dosage (1209a) and a numerical representation of the current dosage (1209b). According to the dosage icon 1209, the current dosage of the insulin infusion device is 150U. It should be noted that... Figure 12 There is a page navigation at the bottom to indicate page numbers, for example... Figure 12 The current page is page 2. Figure 15 Similarly, this will not be elaborated upon here.

[0233] by Figure 15 For example, according to the infusion information icon 1203, the insulin infusion device is set to temporary basal rate infusion B1 and dual-wave high-dose infusion. According to the automatic indicator icon 1501, the insulin infusion device has entered automatic mode. In automatic mode, the insulin infusion device automatically determines the infusion information based on the target's current blood glucose level. According to the blood glucose value icon 1502, the target's current blood glucose level is 9.7, which is on an upward trend. According to the mobile device connection icon 1503, the insulin infusion device is connected to a mobile device. Figure 15 The remaining information and Figure 12 The same applies, so I will not repeat it here.

[0234] Please refer to Figures 3-7 Taking the second interface as a menu page as an example, the function icons in the second interface may include at least one of the following: stop infusion icon 301, infusion configuration icon 302, reset filling icon 303, history record icon 402, version information icon 403, alarm setting icon 501, time setting icon 502, quick switch setting icon, threshold setting icon 503, and temporary blood glucose setting icon.

[0235] Please refer to Figure 16Taking the third interface as the negative one screen as an example, the function icons in the third interface may include at least one of the following: historical injection icon 1601, baseline rate parameter icon 1602, dosage alarm threshold icon 1603, and dosage threshold range icon 1604.

[0236] by Figure 16 For example, the historical injection icon 1601 shows that the last double-wave high-dose infusion occurred at 6:04 AM on April 12th, requiring an infusion of 29.4U, but 212.4U was actually infused. The basal rate parameter icon 1602 shows that the insulin infusion device was set to a temporary basal rate infusion B1, with a basal rate of 0U / h. The dosage alarm threshold icon 1603 shows that the current dosage alarm threshold for the insulin infusion device is 30U. The dosage threshold range icon 1604 shows that the upper limit of the dosage alarm threshold for the insulin infusion device is 50U, and the lower limit is 15U; that is, the dosage alarm threshold needs to be between 15U and 50U.

[0237] In the above embodiments, since at least one human-computer interaction interface includes a first interface, a second interface, and a third interface, the user's interaction efficiency can be improved through the human-computer interaction interface.

[0238] The above describes a device control method that can improve interaction efficiency. The following describes a power-off protection method for insulin infusion devices. It is understood that the following power-off protection method can be applied to the insulin infusion device described above, as well as to other types of insulin infusion devices.

[0239] When the battery of an insulin infusion device is almost depleted or the target user suddenly needs to replace the battery, the insulin infusion device may suddenly lose power. This can cause data corruption in the flash memory and data loss in the random access memory (RAM), resulting in the insulin infusion device being in an abnormal state when it is powered on again.

[0240] Therefore, power-loss protection for insulin infusion devices is a key research focus for those in the field. Currently, some related technologies incorporate two flash memory modules in the insulin infusion device for power-loss protection, periodically updating the device's data to these modules. However, if the update interval is too long, the insulin infusion device may be in an abnormal state upon power-up; conversely, if the update interval is too short, frequent erasure and rewriting of the flash memory may lead to bad blocks.

[0241] Figure 17This is a schematic diagram of the structure of another insulin infusion device according to an embodiment of this application. In one embodiment, the insulin infusion device 100 may further include a main power supply 1701, a backup power supply 1702, a step-down circuit 1703, and a charging circuit 1704. The charging circuit 1704 is connected to both the main power supply 1701 and the backup power supply 1702, and the step-down circuit 1703 is connected to both the processor 102 and the backup power supply 1702.

[0242] The processor 102 can control the main power supply 1701 and the backup power supply 1702. The main power supply 1701 may include, but is not limited to, dry cell batteries. The backup power supply 1702 may include, but is not limited to, lithium batteries. The step-down circuit 1703 may include, but is not limited to, a step-down converter circuit. The charging circuit 1704 may include, but is not limited to, a constant voltage charging circuit.

[0243] Figure 18 This is a schematic diagram of a power failure protection process according to an embodiment of this application. In an exemplary embodiment, such as... Figure 18 As shown, the above-mentioned equipment control method includes S1801 to S1803.

[0244] S1801, when the insulin infusion device is started, turn on the backup power supply of the insulin infusion device.

[0245] In this embodiment, when the insulin infusion device is started based on the main power supply, that is, when it is determined that the insulin infusion device is started, the processor can turn on the backup power supply of the insulin infusion device through the buck circuit.

[0246] S1802, a first data protection operation is performed based on the first power supply voltage of the backup power supply; the first data protection operation includes storing the first data in the random access memory of the insulin infusion device into flash memory.

[0247] Then, the processor acquires the first power supply voltage of the backup power supply and performs a first data protection operation based on the first power supply voltage. For example, the processor can initiate the first data protection operation if the first power supply voltage is lower than a certain preset voltage threshold.

[0248] The first data protection operation includes storing a first data from the random access memory of the insulin infusion device into flash memory. This first data may include, but is not limited to, the current blood glucose value transmitted by the blood glucose meter via Bluetooth.

[0249] S1803, when it is determined that the main power supply of the insulin infusion device is turned off, a second data protection operation is performed according to the second power supply voltage of the main power supply; the second data protection operation includes at least one of storing the second data of the insulin infusion device into flash memory and storing the first data in random access memory into flash memory.

[0250] In this embodiment, if the main power supply of the insulin infusion device is shut down due to the battery running out or the user replacing the battery, the processor can determine that the main power supply of the insulin infusion device is off and perform a second data protection operation based on the second power supply voltage of the main power supply. For example, the processor can consider the main power supply abnormal if the second power supply voltage is lower than a certain preset voltage threshold and initiate the second data protection operation.

[0251] The second data protection operation includes storing the second data of the insulin infusion device in flash memory, and storing at least one of the first data from random access memory in flash memory. The second data includes, but is not limited to, at least one of the following: a dosage alarm threshold, a maximum basal rate threshold, a maximum bolus dose threshold, and temporary blood glucose parameters stored in flash memory.

[0252] In the above embodiments, since the first data protection operation includes storing the first data in the random access memory of the insulin infusion device into flash memory, and the second data protection operation includes storing the second data in the insulin infusion device into flash memory, and storing the first data in the random access memory into flash memory, at least one of these operations is performed. When the insulin infusion device is determined to start, the backup power supply of the insulin infusion device is turned on, and the first data protection operation can be performed based on the first power supply voltage of the backup power supply. Furthermore, when the main power supply of the insulin infusion device is determined to be off, the second data protection operation can be performed based on the second power supply voltage of the main power supply. Therefore, even if the main power supply of the insulin infusion device fails, the data in the insulin infusion device can be saved in a timely manner, improving the operational stability of the insulin infusion device.

[0253] In an exemplary embodiment, optionally, the above-described S1802 can be implemented in the following manner:

[0254] When the first power supply voltage is less than the first voltage threshold, the first data in the random access memory is periodically stored in the flash memory.

[0255] In this embodiment, after the processor obtains the first power supply voltage of the backup power supply, it compares the first power supply voltage with the first voltage threshold. If the first power supply voltage is less than the first voltage threshold, it indicates that the backup power supply is insufficient. Therefore, in order to avoid the situation where data cannot be saved due to both the main power supply and the backup power supply being turned off, the processor periodically stores the first data in the random access memory to the flash memory.

[0256] For example, if the first voltage threshold is 3.4V (volts), and the first power supply voltage of the backup power supply is less than 3.4V, the processor can store the first data in the random access memory to the flash memory every 3 minutes.

[0257] In the above embodiments, since the first data in the random access memory is periodically stored in the flash memory when the first power supply voltage is less than the first voltage threshold, the first data can be stored in a timely manner, thus improving the stability of the insulin infusion device.

[0258] In one exemplary embodiment, optionally, the above-described device control method further includes the following steps:

[0259] If the first power supply voltage is greater than the second voltage threshold, the transfer of the first data in the random access memory of the insulin infusion device to the flash memory is stopped; the second voltage threshold is greater than the first voltage threshold.

[0260] In this embodiment, after the processor obtains the first power supply voltage of the backup power supply, it compares the first power supply voltage with a second voltage threshold. The second voltage threshold is greater than the first voltage threshold. Taking a second voltage threshold of 4.1V as an example, if the first power supply voltage is greater than 4.1V, it indicates that the backup power supply has sufficient power. To avoid frequent flash memory writes and erases, the processor will stop storing the first data from the random access memory of the insulin infusion device into the flash memory.

[0261] In the above embodiments, since the second voltage threshold is greater than the third voltage threshold, and the first power supply voltage is greater than the second voltage threshold, the first data in the random access memory of the insulin infusion device is stopped from being stored in the flash memory. Therefore, when the backup power supply is stable, the number of times the flash memory is erased can be reduced, thus extending the lifespan of the flash memory.

[0262] In one exemplary embodiment, optionally, the above-described device control method further includes the following steps:

[0263] Based on the first power supply voltage, determine whether to charge the backup battery.

[0264] In this embodiment, the processor can acquire a first power supply voltage of the backup power supply and determine whether to charge the backup battery based on the first power supply voltage. Optionally, the processor can acquire the first power supply voltage of the backup power supply after the insulin infusion device is powered on and determine the state of the backup battery at this time based on the first power supply voltage. The processor can also periodically acquire the first power supply voltage of the backup power supply after the insulin infusion device has been started and determine whether to charge the backup battery based on the first power supply voltage.

[0265] For example, the processor can stop charging the backup battery when the first power supply voltage is greater than a preset full charge threshold, and charge the backup battery when the first power supply voltage is not greater than the preset full charge threshold. The preset full charge threshold can be set as needed.

[0266] In the above embodiments, since it is possible to determine whether to charge the backup battery based on the first power supply voltage, the backup battery can be charged in a timely and accurate manner, thereby improving the reliability of the backup battery.

[0267] In one embodiment, determining whether to charge the backup battery based on the first power supply voltage includes:

[0268] When the first power supply voltage is less than the first voltage threshold, the backup power supply is charged.

[0269] If the first power supply voltage is greater than the second voltage threshold, charging of the backup power supply will stop.

[0270] In this embodiment, continuing the example above, with a first voltage threshold of 3.4V and a second voltage threshold of 4.1V, after the processor obtains the first power supply voltage of the backup power supply, if the first power supply voltage is less than 3.4V, it indicates that the backup power supply is insufficient, and the processor will charge the backup power supply. If the first power supply voltage is greater than 4.1V, it indicates that the backup power supply is sufficiently charged, and the processor will stop charging the backup power supply.

[0271] In the above embodiments, since the backup power supply is charged when the first power supply voltage is less than the first voltage threshold and the backup power supply is stopped when the first power supply voltage is greater than the second voltage threshold, the reliability of the backup power supply can be improved.

[0272] In one embodiment, determining whether to charge the backup battery based on the first power supply voltage further includes:

[0273] When the first power supply voltage is greater than the first voltage threshold and less than the third voltage threshold, the backup power supply is charged; the third voltage threshold is greater than the first voltage threshold and less than the second voltage threshold.

[0274] In this embodiment, after the processor obtains the first power supply voltage of the backup power supply, it also compares the first power supply voltage with a third voltage threshold. The third voltage threshold is greater than the first voltage threshold and less than the second voltage threshold. Taking a third voltage threshold of 3.5V as an example, if the first power supply voltage is greater than 3.4V and less than 3.5V, it indicates that although the backup power supply is not currently at risk of insufficient power, it still needs to be charged. Therefore, the processor can charge the backup power supply through the charging circuit.

[0275] In the above embodiments, the third voltage threshold is greater than the first voltage threshold and less than the second voltage threshold. Since the backup power supply can be charged when the first power supply voltage is greater than the first voltage threshold and less than the third voltage threshold, the stability of the backup power supply is improved.

[0276] In one embodiment, determining whether to charge the backup battery based on the first power supply voltage further includes:

[0277] The backup power supply is maintained when the first power supply voltage is not greater than the second voltage threshold but is greater than the third voltage threshold.

[0278] In this embodiment, continuing with the example of a second voltage threshold of 4.1V and a third voltage threshold of 3.5V, if the first power supply voltage is no greater than 4.1V and greater than 3.5V, for example, the first power supply voltage is 3.8V, then the processor will maintain the backup power supply state. It is understood that at this time, the processor may charge the backup power supply or may stop charging the backup power supply.

[0279] For example, assuming that the processor obtains a first power supply voltage of 3.3V from the backup power supply when the power is turned on, the processor will charge the backup power supply. During the charging process, the first power supply voltage will gradually increase. Then the processor continues to periodically obtain the first power supply voltage from the backup power supply. Assuming that the first power supply voltage obtained during the charging process is 3.8V, the processor will continue to charge the backup power supply until the obtained first power supply voltage is greater than 4.1V, at which point the processor will stop charging the backup power supply.

[0280] Furthermore, during the process of stopping charging the backup power supply, the first power supply voltage of the backup power supply may gradually decrease. The processor continues to periodically obtain the first power supply voltage of the backup power supply. Assuming that after stopping charging the backup power supply, the obtained first power supply voltage is 3.8V, the processor still does not need to charge the backup power supply until the obtained first power supply voltage is less than 3.5V, at which point the processor will charge the backup power supply.

[0281] Figure 19 This is a schematic diagram of a first data protection operation in an embodiment of this application, as shown below. Figure 19 As shown, the processor detects the first power supply voltage of the backup power supply. If the first power supply voltage is greater than a second voltage threshold, the processor stops storing the first data from the random access memory of the insulin infusion device to the flash memory and stops charging the backup power supply. If the first power supply voltage is not greater than the second voltage threshold and is not less than the second threshold voltage, the backup power supply remains in its backup state. If the first power supply voltage is not greater than the second voltage threshold and is less than the second threshold voltage, and further less than the first threshold voltage, the processor periodically stores the first data from the random access memory to the flash memory and continues charging the backup power supply. If the first power supply voltage is not greater than the second voltage threshold and is less than the second threshold voltage, but is not less than the first voltage threshold, the backup power supply is charged.

[0282] In one exemplary embodiment, optionally, S1803 described above may include the following steps:

[0283] When the main power supply of the insulin infusion device is turned off, the second power supply voltage is acquired; if the second power supply voltage is less than the fourth voltage threshold, a second data protection operation is performed.

[0284] In this embodiment, the processor detects whether the main power supply is off. Optionally, the processor can be connected to a switching chip, which is connected to the main power supply, the buck circuit, and the processor. The switching chip is used to detect whether the main power supply of the insulin infusion device is off. For example, when the detection pin of the switching chip outputs a low level, the processor determines that the main power supply of the insulin infusion device is off.

[0285] Furthermore, when the processor detects that the main power supply is off, that is, when it determines that the main power supply of the insulin infusion device is off, it will obtain the second power supply voltage of the main power supply and compare the second power supply voltage with the fourth voltage threshold, so as to perform a second data protection operation when the second power supply voltage is less than the fourth voltage threshold.

[0286] The fourth voltage threshold is used to determine whether the detected main power supply shutdown is reliable, and it can be determined according to actual needs. For example, the fourth voltage threshold can be 1V. When the detection pin of the switching chip outputs a low level, an interrupt signal is triggered. The processor compares the second power supply voltage of the main power supply with this interrupt signal to see if it is less than 1V. If the second power supply voltage is less than 1V, it indicates that the interrupt signal is a genuine signal, and the second data of the insulin infusion device can be stored in flash memory, as well as the first data stored in random access memory can be stored in flash memory. Optionally, if the second power supply voltage is not less than 1V, the processor can ignore the interrupt signal.

[0287] In the above embodiments, since the second power supply voltage can be obtained when the main power supply of the insulin infusion device is determined to be off, and the second data protection operation is performed when the second power supply voltage is not less than the fourth voltage threshold, the accuracy of power failure protection is improved.

[0288] In an exemplary embodiment, optionally, the above-mentioned "performing a second data protection operation when the second power supply voltage is not less than a fourth voltage threshold" can be implemented in the following way:

[0289] If the second power supply voltage is less than the fourth voltage threshold, a second data protection operation will be performed within a preset countdown.

[0290] In this embodiment, continuing the example above, if the second power supply voltage is less than 1V, the processor can perform a second data protection operation within 2 seconds. It is understood that the preset countdown can also be set to other durations.

[0291] In the above embodiments, since the second data protection operation can be performed within a preset countdown when the second power supply voltage is not less than the fourth voltage threshold, the efficiency of power failure protection is improved.

[0292] In one exemplary embodiment, optionally, the above-described device control method further includes the following steps:

[0293] When the preset countdown is reached, the backup power supply is turned off; when the backup power supply is turned off, the second power supply voltage of the main power supply is obtained; when the second power supply voltage is not less than the fourth voltage threshold, the backup power supply is turned on.

[0294] In this embodiment, continuing the example above, if the second power supply voltage is not less than 1V, the processor will start a 2-second preset countdown. When the 2-second countdown ends, that is, when the preset countdown is reached, the processor will control the backup power supply to shut down.

[0295] Furthermore, with the backup power supply off, the processor continues to monitor the second voltage of the main power supply. If the second power supply voltage is not less than 1V, it indicates that new dry batteries have been installed, and the backup power supply is then turned on again. Optionally, if the second power supply voltage is less than a fourth voltage threshold, the insulin infusion device is shut down.

[0296] In the above embodiments, since the backup power supply is turned off when the preset countdown is reached, and the second power supply voltage of the main power supply is obtained when the backup power supply is turned off, and then the backup power supply is turned on when the second power supply voltage is not less than the fourth voltage threshold, the stability of the insulin infusion device is improved.

[0297] Figure 20 This is a schematic diagram of a first data protection operation in an embodiment of this application, as shown below. Figure 20 As shown, after the processor detects that the main power supply is off, it checks the second power supply voltage. If the second power supply voltage is not less than the fourth voltage threshold, the main power supply shutdown detection is ignored. If the second power supply voltage is less than the fourth voltage threshold, a preset countdown is started, and a second data protection operation is performed within the preset countdown. That is, after starting the preset countdown, if the preset countdown is not reached, the process returns to the second data protection operation; if the preset countdown is reached, the backup power supply is shut down, and the second power supply voltage of the main power supply is checked after shutting down the backup power supply. If the second power supply voltage is not less than the fourth voltage threshold, the backup power supply is activated. If the second power supply voltage is not less than the fourth voltage threshold, the process ends, and the insulin infusion device is shut down.

[0298] In one exemplary embodiment, optionally, the above-described device control method further includes the following steps:

[0299] If the second power supply voltage of the main power supply is less than the depletion voltage threshold, shut down the backup power supply.

[0300] In this embodiment, the processor also compares the second power supply voltage with the depletion voltage threshold. If the second power supply voltage is less than the depletion voltage threshold, it indicates that the insulin infusion device is about to run out of power and there is no need to supply power to the backup power supply. Therefore, the processor will turn off the backup power supply. The depletion voltage threshold can be set as needed and is a number greater than 0.

[0301] In the above embodiments, the safety of the insulin infusion device is improved because the backup power supply can be shut down when the second power supply voltage of the main power supply is less than the depletion voltage threshold.

[0302] In one exemplary embodiment, optionally, the above-described device control method further includes the following steps:

[0303] In the event of a communication failure between the processor and the sub-controller of the drive mechanism in the insulin infusion device, shut down the backup power supply.

[0304] In this embodiment, if the communication between the processor and the sub-controller of the drive mechanism is abnormal, such as the communication between the processor and the control IC of the motor is abnormal, it means that the processor cannot control the drive mechanism. Therefore, in order to ensure the safety of the insulin infusion device, the processor will also shut down the backup power supply in this case.

[0305] In the above embodiments, the safety of the insulin infusion device is improved by shutting down the backup power supply in the event of a communication failure between the processor and the sub-controller of the drive mechanism in the insulin infusion device.

[0306] To more clearly illustrate the power failure protection method in the embodiments of this application, this paper combines... Figure 21 Please provide an explanation. Figure 21 This is a schematic diagram of the structure of another insulin infusion device in the embodiments of this application, as shown below. Figure 21 As shown, in Figure 1 Based on this, the insulin infusion device 100 may also include a switching chip 2101, a first boost circuit 2102, a second boost circuit 2103, and a third boost circuit 2104.

[0307] Taking a 3V boost circuit 2102, a 17V boost circuit 2103, a 5V boost circuit 2104, and a 3V buck circuit 1703 as an example, the main power supply 1701 generates a 3V main power supply after passing through the first boost circuit 2102. This 3V main power supply then generates a 17V power supply through the second boost circuit 2103 to power the user interface 101. The user interface 101 may include a display and a touchscreen; the display may be an Organic Electroluminescence Display (OLED).

[0308] The main power supply 1701 generates a 5V charging power supply through the third boost circuit 2104, and the 5V charging power supply then charges the backup power supply 1702 through the charging circuit 1704. The backup power supply 1702 generates a 3V backup power supply through the buck circuit 1703.

[0309] The switching chip 2101 can switch between a 3V backup power supply and a 3V main power supply. Optionally, the switching chip 2101 can prioritize the 3V main power supply. When the 3V main power supply fails, the switching chip 2101 can automatically switch to the 3V backup power supply. If the 3V main power supply is restored, the switching chip 2101 can switch back from the 3V backup power supply to the 3V main power supply. Throughout the entire switching process, the 3V power output of the switching chip 2101 never fails.

[0310] Because of the limited space within the insulin infusion device, the backup power supply 1702 has a very small capacity, sufficient to provide backup power for a short period in case of an abnormal power failure of the main power supply 1701. The backup power supply 1702 should not be frequently charged and discharged; therefore, its charging process is managed by a third boost circuit 2104, and its discharging process is managed by a buck circuit 1703.

[0311] In some embodiments, the processor 102 can charge the backup power supply 1702 via the charging circuit 1701 based on a charging indication. If the charging circuit 1701 indicates that charging is complete, and the first power supply voltage of the backup power supply 1702 is greater than a certain threshold, the control of the third boost circuit 2104 can be disconnected to stop charging the backup power supply 1702.

[0312] In some embodiments, due to energy saving considerations, during the power outage of the main power supply 1701, the backup power supply 1702 only needs to ensure that the processor 102 has power. Therefore, during the power outage of the main power supply 1701, the processor 102 can work normally, but the user interface 101 cannot work.

[0313] Figure 22 This is a schematic diagram of a power failure protection method in an embodiment of this application, as shown below.Figure 22 As shown, when the insulin infusion device is powered on, the main power supply 1701 is turned on, and the processor 102 checks the battery level of the main power supply and performs a self-test of the drive mechanism. Then, the processor 102 controls the third boost circuit 2104 to open, so that the backup power supply 1702 is turned on via the buck circuit 1703. Afterwards, the processor 102 enters the first data protection module, which is also known as... Figure 14 The process is shown below.

[0314] Then processor 102 enters the main loop, periodically triggering timer interrupts via RTC, and entering the first data protection module upon the occurrence of a timer interrupt. After execution... Figure 19 The process shown, or in the absence of a timer interrupt, involves the processor periodically triggering a power-down interrupt, and upon the occurrence of a power-down interrupt, entering the second data protection module, which is... Figure 20 The process shown. After execution Figure 20 As shown in the process, or in the absence of a power-down interrupt, the processor will periodically check whether the second power supply voltage is less than the depletion voltage threshold.

[0315] Furthermore, if the second power supply voltage is less than the depletion voltage threshold, the backup power supply is shut down and the main loop is returned. If the second power supply voltage is not less than the depletion voltage threshold, the processor and the sub-controller of the drive mechanism are periodically checked for communication abnormalities. If communication is abnormal, the backup power supply is shut down and the main loop is returned; if communication is normal, the main loop is returned.

[0316] Thus, the power failure protection method provided in this embodiment can fundamentally solve the problem of data anomalies caused by sudden power failure of insulin infusion equipment. The insulin infusion equipment includes a dual power supply automatic switching circuit. When the main power supply fails, it can seamlessly switch to the backup power supply and save data in a timely manner during the process, thereby realizing the power failure protection function.

[0317] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0318] In one embodiment, such as Figure 1 As shown, an insulin infusion device 100 is also provided, which includes a user interface 101, at least one processor 102, and at least one memory 103.

[0319] The user interface 101 is used to receive user input. The memory 102 stores executable instructions corresponding to the user input. The processor 102 is used to execute the executable instructions to implement any of the above-mentioned device control methods. The principle of the insulin infusion device can be referred to the above description of the device control method, and will not be repeated here.

[0320] Figure 23 This is a schematic diagram of yet another insulin infusion device in the embodiments of this application, as shown below. Figure 23 As shown, in one embodiment, the insulin infusion device 100 may include a user interface 101 and a main control system 2301. The user interface 101 is used to receive user input. The main control system 2301 includes a processor 102 and a power-down protection circuit 2301. The processor 102 is used to respond to user input to implement any of the device control methods described above. The power-down protection circuit 2301 includes a main power supply circuit and a backup power supply circuit. The main power supply circuit provides main power to the processor, and the backup power supply circuit provides backup power to the processor when the main power supply circuit is disconnected.

[0321] Please refer to the reference. Figure 21 The main power supply circuit may include a main power supply 1701, a switching chip 2101, a first boost circuit 2102 and a third boost circuit 2103, and the backup power supply circuit may include a backup power supply 1702, a switching chip 2101, a buck circuit 1703, a charging circuit 1704 and a third boost circuit 2104.

[0322] The process of power failure protection can be referred to in the above introduction to power failure protection methods, and will not be repeated here.

[0323] Based on the same inventive concept, this application also provides a control device for an insulin infusion device to implement the device control method described above. The control device stores control instructions, which, when executed by a processor, implement the steps of the device control method described above.

[0324] Figure 24 This is a diagram showing the internal structure of the control device in an embodiment of this application, such as... Figure 24As shown, the control device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores relevant data. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements a device control method.

[0325] Those skilled in the art will understand that Figure 24 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the control device applied thereto. The specific control device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0326] The solution provided by this device is similar to the solution described in the above method. Therefore, the specific limitations in one or more device control device embodiments provided below can be found in the limitations of the device control method above, and will not be repeated here.

[0327] Each module in the aforementioned control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0328] In one embodiment, a computer-readable storage medium is also provided, on which a computer program is stored, which, when executed by a processor, implements the steps in the above method embodiments.

[0329] In one embodiment, a computer program product is also provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0330] In one embodiment, a closed-loop blood glucose management system is also provided, which includes the insulin infusion device 100 of any of the above.

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

[0332] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0333] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0334] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A device control method, characterized in that, An insulin infusion device, the insulin infusion device including a human-machine interface, wherein function icons on the human-machine interface are used to receive user input, the method comprising: After activating the insulin infusion device, the current operating mode of the insulin infusion device is displayed on the current interface; In the current operating mode, when a user's current input to the function icon is detected, it is determined whether the current input belongs to a prohibited operation under the security operating rules of the current operating mode. If the current input belongs to the prohibited operation, then the insulin infusion device is controlled not to execute the instruction corresponding to the current input; If the current input does not belong to the prohibited operation, then the insulin infusion device is controlled to execute the corresponding instruction in response to the current input; The function icons include a stop infusion icon, a high-dose infusion icon, a basal rate infusion icon, and a refill icon. The stop infusion icon controls the insulin infusion device to operate in stop infusion mode; the high-dose infusion icon controls the insulin infusion device to operate in high-dose infusion mode; the basal rate infusion icon sets the normal infusion dose of the insulin infusion device; and the refill icon controls the insulin infusion device to operate in refill mode, which is used to complete tubing filling after replacing the insulin infusion device with a new reservoir. The prohibited operations in the safe operation rules of the stopped infusion mode include prohibiting the initiation of the high-dose infusion mode and prohibiting the initiation of the basal rate infusion mode at least one of them. When the current operating mode is the stopped infusion mode, the method further includes at least one of the following: Monitor the user's first input to the high-dose infusion icon and control the insulin infusion device not to execute the instruction corresponding to the first input; Monitor the user's second input to the basal rate infusion icon and control the insulin infusion device not to execute the instruction corresponding to the second input; The system monitors a third input from the user to the reset filling icon and controls the insulin infusion device to activate the reset filling mode in response to the third input.

2. The equipment control method according to claim 1, characterized in that, The function icons also include a temporary basal rate infusion icon, a pause infusion icon, and a time setting icon; the temporary basal rate infusion icon is used to control the operation mode of the insulin infusion device to temporary basal rate infusion mode; the pause infusion icon is used to pause at least one of the high-dose infusion mode and the temporary basal rate infusion mode; The prohibited operations under the safety operation rules of the high-dose infusion mode include prohibiting the restart of the high-dose infusion mode, prohibiting the start of the reset filling mode, and prohibiting the modification of the system time of the insulin infusion device, among other things. When the current operating mode is the high-dose infusion mode, the method further includes at least one of the following: Monitor the user's fourth input to the high-dose infusion icon and control the insulin infusion device not to execute the instruction corresponding to the fourth input; Monitor the user's fifth input to the reset filling icon and control the insulin infusion device not to execute the instruction corresponding to the fifth input; Monitor the user's sixth input to the basal rate infusion icon and control the insulin infusion device to start the basal rate infusion mode in response to the sixth input; Monitor the user's seventh input to the temporary basal rate infusion icon, and control the insulin infusion device to start the temporary basal rate infusion mode in response to the seventh input; Monitor the user's eighth input to the pause infusion icon and control the insulin infusion device to pause the high-dose infusion mode in response to the eighth input; The system monitors the user's ninth input to the time setting icon and controls the insulin infusion device not to execute the instruction corresponding to the ninth input.

3. The equipment control method according to claim 2, characterized in that, The function icons also include a square wave infusion icon, which is used to provide a square wave infusion mode; the method further includes: During the setting of the high-dose infusion mode, the user's tenth input to the square wave infusion icon is monitored, and the insulin infusion device is controlled to respond to the tenth input to start the dual-wave infusion mode that superimposes the high-dose infusion mode and the square wave infusion mode.

4. The equipment control method according to claim 2, characterized in that, The prohibited operations under the safety operating rules of the temporary basal rate infusion mode include at least one of the following: prohibiting the activation of the reset filling mode and prohibiting the modification of the system time of the insulin infusion device. When the current operating mode is the temporary base rate infusion mode, the method further includes at least one of the following: Monitor the user's eleventh input to the reset filling icon and control the insulin infusion device not to execute the instruction corresponding to the eleventh input; The system monitors the user's twelfth input to the time setting icon and controls the insulin infusion device not to execute the instruction corresponding to the twelfth input.

5. The equipment control method according to claim 1, characterized in that, The prohibited operations under the safe operation rules of the reset and charging mode include: prohibiting the use of the main control icon to end the reset and charging mode during the reset and charging mode, or prohibiting the operation of switching out of the reset and charging mode by horizontal swiping. When the current operating mode is the reset and charging mode, the method further includes: Monitor the user's thirteenth input to the human-computer interaction interface; If the thirteenth input is an operation to end the reset filling mode using the main control icon during the reset filling mode, or if the thirteenth input is an operation to switch out of the reset filling mode by sliding horizontally, then the insulin infusion device is controlled not to execute the instruction corresponding to the thirteenth input.

6. The equipment control method according to claim 5, characterized in that, The insulin infusion device includes a drive mechanism and an injection mechanism, and the method further includes: The reversing motion of the drive mechanism is controlled to drive the injection mechanism to complete the reset operation; When the drive mechanism triggers a reset signal during the reverse motion, a first prompt message is displayed on the current interface. The first prompt message is used to remind the user that the injection mechanism has completed the reset and the user needs to confirm to start the pipeline filling operation. The system receives the fourteenth input from the user to confirm the initiation of the pipeline filling operation, and controls the forward rotation of the drive mechanism to drive the injection mechanism to complete the pipeline filling operation. The pipeline filling operation is used to achieve pipeline venting.

7. The method according to claim 6, characterized in that, The drive mechanism includes a motor, and controlling the forward rotation of the drive mechanism to drive the injection mechanism to complete the pipeline filling operation includes: The motor is controlled to rotate forward according to a pre-set first thread, while the pushing pressure of the push rod in the injection mechanism is monitored at the same time; When the pressure value of the pushing pressure is greater than the first preset value, the pipeline filling operation is completed.

8. The method according to claim 7, characterized in that, The method further includes: Monitor whether there is an abnormal pressure event in the pushing pressure of the push rod in the injection mechanism; If the aforementioned abnormal pressure event occurs, an alarm will be triggered.

9. The method according to any one of claims 1-8, characterized in that, The method further includes: After the power supply battery of the insulin infusion device is replaced, a power-on self-test function is performed. If the power supply battery's charge level does not meet the power-on requirements, a battery replacement reminder will be displayed on the current screen. If the power supply battery has sufficient charge to meet the power-on conditions, the insulin infusion device will be powered on.

10. The method according to any one of claims 1-8, characterized in that, The method further includes at least one of the following: In the event of a communication anomaly between the processor in the insulin infusion device and the sub-controller of the drive mechanism in the insulin infusion device, an alarm message is determined; An alarm message is determined when the difference between the battery voltage of the insulin infusion device and the voltage alarm threshold is greater than a first threshold. An alarm message is determined when the difference between the current dosage of the insulin infusion device and the dosage alarm threshold is greater than a second threshold. When the insulin infusion device is in infusion mode and the pressure value of the pressure sensor in the insulin infusion device is greater than a second preset value, an alarm message is determined; An alarm message is generated when a touch input is detected targeting the reset filling icon and the initial dosage of the insulin infusion device is lower than a preset dosage threshold. When the insulin infusion device executes the infusion mode and the change in pressure value of the pressure sensor in the insulin infusion device is less than a third preset value, an alarm message is determined.

11. The equipment control method according to any one of claims 1 to 8, characterized in that, The method further includes: When the insulin infusion device is locked or off, it is woken up in response to the user's current input to the main control icon of the insulin infusion device.

12. The equipment control method according to any one of claims 1 to 8, characterized in that, The human-computer interaction interface includes a main interface, and the function icons in the main interface include at least one of the following: pause infusion icon, infusion progress icon, infusion information icon, mute icon, alarm prompt icon, time icon, battery icon, date icon, medication dosage icon, automatic identification icon, blood glucose value icon, and mobile device connection icon.

13. An insulin infusion device, characterized in that, The insulin infusion device includes: A user interface for receiving user input; At least one memory, the memory storing executable instructions corresponding to the user input. At least one processor, the processor being configured to execute the executable instructions to implement the device control method according to any one of claims 1 to 12.

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

Citation Information

Patent Citations

  • Device control method, insulin infusion device and storage medium

    CN118384364A

  • Device control method, insulin infusion device and storage medium

    CN119139578A