Device control method, insulin infusion device and storage medium
By using function icons in insulin infusion equipment to receive user input and determining whether to respond based on safe operation rules, the problem of low security of existing equipment is solved and the security of the equipment and user interaction efficiency are improved.
Patent Information
- Application Number
- CN202411465235.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2044-06-14
AI Technical Summary
The safety control of existing insulin infusion equipment is not high enough, and it is easy for patients to be in an unsafe state due to misoperation.
Provides a device control method that receives user input through function icons in the human-computer interaction interface, determines whether the input is a prohibited operation according to the safe operation rules of the current operating mode, and does not respond if it is a prohibited operation, otherwise executes corresponding instructions.
Improves the safety of insulin infusion equipment, prevents misoperation from affecting the current operating mode of the equipment, and ensures that user input does not endanger patient safety.
Smart Images

Figure CN119303184A_ABST
Abstract
Description
[0001] This invention patent application is a divisional application of the Chinese invention patent application with application date of June 14, 2024, application number 2024107660877, and name “Device Control Method, Insulin Infusion Device and Storage Medium”. Technical Field
[0002] The present application relates to the field of medical technology, and in particular to a device control method, an insulin infusion device and a storage medium. Background Art
[0003] Diabetes is a common metabolic endocrine disease, which refers to a chronic metabolic disorder caused by the inability of the human pancreas to produce sufficient amounts of the hormone insulin, resulting in hyperglycemia, that is, the presence of excessive glucose in the plasma. Diabetes cannot be cured and requires permanent insulin treatment to keep the blood sugar level of diabetic patients within the normal range.
[0004] With the development of technology, insulin infusion devices can infuse insulin into patients to regulate their blood sugar. However, any misoperation of the insulin infusion device will put the patient in an unsafe state, but related technologies do not pay much attention to the safety control of insulin infusion devices. Summary of the invention
[0005] Based on this, it is necessary to provide a device control method, an insulin infusion device and a storage medium that can improve the safety of the insulin infusion device in response to the above technical problems.
[0006] In a first aspect, the present application provides a device control method, which is applied to an insulin infusion device, wherein the insulin infusion device includes a human-computer interaction interface, the human-computer interaction interface includes a plurality of function icons, and the function icons are used to receive user input, and the method includes:
[0007] determining the current mode of operation being performed by the insulin infusion device;
[0008] In the current operation mode, when the user's current input to the function icon is monitored, according to the safety operation rules of the current operation mode, it is determined whether the current input belongs to the prohibited operation of the safety operation rules;
[0009] If the current input belongs to a prohibited operation, the insulin infusion device is controlled not to respond to the current input;
[0010] If the current input does not belong to a prohibited operation, the insulin infusion device is controlled to execute a corresponding instruction in response to the current input.
[0011] In a second aspect, the present application also provides an insulin infusion device, comprising:
[0012] A user interface, the user interface is used to receive user input;
[0013] at least one memory storing executable instructions corresponding to user input,
[0014] At least one processor, the processor is used to execute executable instructions to implement any of the above-mentioned device control methods.
[0015] In a third aspect, the present 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 any of the above-mentioned device control methods; 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 cut off.
[0016] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any of the above methods when the computer program is executed by a processor.
[0017] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of any of the above methods when executed by a processor.
[0018] In a sixth aspect, the present application also provides a closed-loop blood glucose management system, comprising any of the above-mentioned insulin infusion devices.
[0019] The above-mentioned device control method, insulin infusion device and storage medium, since the insulin infusion device includes a human-computer interaction interface, the human-computer interaction interface includes multiple function icons, and the function icons are used to receive user input, therefore, the user does not need to use physical buttons to control the insulin infusion device to perform operations, and can efficiently control the insulin infusion device through the function icons, which has a better human-computer experience, simplifies the operation steps of the insulin infusion device, and the operation method is simpler, more in line with the usage habits of modern people, and has higher interaction efficiency. In addition, since the current operation mode executed by the insulin infusion device can be determined, and in the current operation mode, when the user's current input to the function icon is monitored, according to the safety operation rules of the current operation mode, it is determined whether the current input belongs to the prohibited operation of the safety operation rules, so that when the current input belongs to the prohibited operation, the insulin infusion device can be controlled not to respond to the current input; when the current input does not belong to the prohibited operation, the insulin infusion device can be controlled to respond to the current input and execute the corresponding instruction, so that the current input can be used to prevent the current input from affecting the current operation mode of the insulin infusion device, thereby improving the safety of the insulin infusion device. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 This is a schematic diagram of the structure of an insulin infusion device in an embodiment of the present application;
[0022] Figure 2 This is a flow chart of a device control method in an embodiment of the present application;
[0023] Figure 3 This is a schematic diagram of a menu page in an embodiment of the present application;
[0024] Figure 4 This is a schematic diagram of another menu page in an embodiment of the present application;
[0025] Figure 5 A schematic diagram of a system setting interface in an embodiment of the present application;
[0026] Figure 6 This is a schematic diagram of a historical record interface in an embodiment of the present application;
[0027] Figure 7 This is a schematic diagram of a temporary blood sugar setting interface in an embodiment of the present application;
[0028] Figure 8 A schematic diagram of a large-dose infusion configuration interface in an embodiment of the present application;
[0029] Fig. 9 This is a configuration interface for candidate infusion information in an embodiment of the present application;
[0030] Fig.10 A schematic diagram of a basic rate segmentation in this application;
[0031] Fig.11 This is a configuration interface of a temporary basic rate in an embodiment of the present application;
[0032] Fig.12 This is a schematic diagram of a main interface in an embodiment of the present application;
[0033] Fig.13 This is a parameter configuration interface in an embodiment of the present application;
[0034] Fig.14This is a schematic diagram of a process of a reset filling mode in an embodiment of the present application;
[0035] Fig.15 This is a schematic diagram of another main interface in an embodiment of the present application;
[0036] Fig.16 This is a schematic diagram of a negative one screen in an embodiment of the present application;
[0037] Fig.17 This is a schematic diagram of the structure of another insulin infusion device in an embodiment of the present application;
[0038] Fig.18 A schematic diagram of a power-off protection process in an embodiment of the present application;
[0039] Fig.19 This is a schematic diagram of a process of a first data protection operation in an embodiment of the present application;
[0040] Fig. 20 This is a schematic diagram of a process of a first data protection operation in an embodiment of the present application;
[0041] Fig.21 This is a schematic diagram of the structure of another insulin infusion device in an embodiment of the present application;
[0042] Fig. 22 A schematic diagram of a power-off protection method according to an embodiment of the present application;
[0043] Fig.23 This is a schematic diagram of another insulin infusion device in an embodiment of the present application;
[0044] Fig.24 Schematic diagram of the internal structure of the control device in the embodiment of the present application. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0046] Insulin infusion is a very complex operation. The traditional method of injecting a fixed amount of insulin according to doctor's orders cannot meet the real needs of patients, resulting in increasingly serious complications of diabetes. With the development of intelligent technology, insulin infusion devices have introduced embedded software control to adjust insulin infusion based on the real needs of users.
[0047] However, on the one hand, the operating interface of the insulin infusion device in some related technologies generally includes multiple physical buttons, which is not flexible enough. When using the insulin infusion device, the user has to constantly press the buttons with his fingers, which is not conducive to the user experience. In addition, the physical buttons have a mechanical life of use. If they are used too many times, they will be damaged and difficult to repair. Even if some related technologies combine physical buttons and touch screen operations to control the insulin infusion device to perform operations, there are still problems such as poor human-computer experience and cumbersome operating steps. On the other hand, the safety control of insulin pumps and conventional infusion devices is different. The safety control of conventional infusion devices is more about the safety limits of infusion rate and infusion stop and change of medicine. For insulin infusion devices, unsafe operations such as exceeding the dosage parameter setting will bring fatal danger to patients. The insulin infusion device in the related technology has the problem of low safety. Therefore, technicians are committed to providing diabetic patients with safer and more convenient products. Based on this, it is necessary to provide a device control method for the above-mentioned technical problems, and the device control method will be introduced below.
[0048] Figure 1 FIG. 1 is a schematic diagram of the structure of an insulin infusion device in an embodiment of the present application. The device control method provided in this embodiment can be applied to Figure 1 Insulin infusion equipment as shown. 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 the program or instruction stored in the memory 103:
[0049] The user interface 101 may be implemented by 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 may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache.
[0052] Figure 2 FIG. 1 is a flow chart of a device control method in an embodiment of the present application. In an exemplary embodiment, Figure 2 As shown, a device control method is provided, which is applied to Figure 1 Taking the insulin infusion device in the example as an example, the device control method includes the following steps:
[0053] S201, determining the current operation mode executed by the insulin infusion device.
[0054] In the present embodiment, the insulin infusion device can be a wearable or movable insulin infusion device. The insulin infusion device includes a human-computer interaction interface, for example, the insulin infusion device can display the human-computer interaction interface on the user interface 101. Among them, the display can be switched between multiple human-computer interaction interfaces. The user uses or controls the insulin infusion device through the human-computer interaction interface.
[0055] Optionally, the switching display can be triggered by the user. Exemplarily, the human-computer interaction interface can include at least two interfaces in the interfaces such as the main interface, the menu page and the negative one screen. Exemplarily, the user can make the human-computer interaction interface show the main interface by double-clicking the display area of the insulin infusion device, pressing the main control icon (such as the main control icon is the HOME key) of the insulin infusion device or double-clicking the main control icon and other operations. Then, the user slides the main interface to the left, and the display area of the insulin infusion device can show the menu page, and the user slides the main interface to the right, and the display area of the insulin infusion device can show the negative one screen, to realize switching display.
[0056] Further, the human-computer interaction interface includes a plurality of function icons, and the function icons included in the human-computer interaction interface may be preset in advance or user-defined. The function icons are used to receive user input to control the insulin infusion device to execute a corresponding operating mode. For example, each function icon may be associated with a function and / or application (Application, app) provided by the insulin infusion device. The function and / or application provided by the insulin infusion device can control the insulin infusion device to execute a corresponding operating mode.
[0057] The operating mode of the insulin infusion device may include, but is not limited to, an infusion mode, a stop infusion mode, a reset filling mode, and a cancellation of a large-dose infusion mode. Among them, the infusion mode includes at least one of a large-dose infusion mode and a basal rate infusion mode. The large-dose infusion mode refers to an infusion mode of a larger dose within a certain period of time to maintain special needs of insulin such as eating and exercising, and the basal rate infusion mode refers to a continuous trace infusion mode within a certain period of time to maintain daily metabolism. The large-dose infusion mode may include a conventional large-dose infusion mode, a square wave infusion mode, or a dual-wave infusion mode. The basal rate infusion mode may include a conventional basal rate infusion mode or a temporary basal rate infusion mode.
[0058] Conventional large-dose infusion mode refers to an infusion mode that completes the infusion in one go. For example, if the user needs to infuse 15U immediately, the insulin infusion device can be controlled to perform conventional large-dose infusion mode, and the processor will control the insulin infusion device to complete the infusion of 15U at one time. Square wave infusion mode refers to an infusion mode that completes the infusion within the infusion time. In other words, square wave infusion mode refers to a mode that uses a large dose to inject within a period of time. For example, if the user needs to infuse 15U within 2h (hours), the insulin infusion device can be controlled to perform square wave infusion mode, and the processor will control the insulin infusion device to complete the infusion of 15U within 2h.
[0059] The dual-wave infusion mode includes the conventional large-dose infusion mode and the square-wave infusion mode. For example, if the user needs to infuse 7U immediately and 5U within 2 hours, a dual-wave large-dose infusion can be performed, and the processor will control the insulin infusion device to complete the infusion of 7U at one time and 5U within 2 hours.
[0060] The regular basal rate infusion mode can be used to meet the metabolic needs of daily periods, while the temporary basal rate infusion mode can be used to maintain the metabolic needs of temporary periods. For example, the user can control the insulin infusion device to perform the regular basal rate infusion mode during normal times, and control the insulin infusion device to perform the temporary basal rate infusion mode when on a business trip.
[0061] The operating mode currently being executed by the insulin infusion device is the current operating mode. It is understandable that the current operating mode may be only one operating mode or may include multiple operating modes. Exemplarily, the current operating mode of the insulin infusion device may include a large dose infusion mode and a basal rate infusion mode. In some embodiments, after the new machine of the insulin infusion device is turned on, the basal rate infusion mode or other operating modes may be entered according to user needs. Exemplarily, after the new machine of the insulin infusion device is turned on, the user can control the insulin infusion device to enter the time setting mode to set the time for the insulin infusion device. After that, the user installs a reservoir (also referred to as a medicine reservoir) for the insulin infusion device, and then controls the insulin infusion device to enter the reset filling mode.
[0062] It is understood that the processor in the insulin infusion device can determine the current operating mode. Optionally, the processor can identify the current operating mode executed by the insulin infusion device, and the processor can also determine the current operating mode executed by the insulin infusion device based on the last user input. After that, the insulin infusion device can be restricted by the safety operation rules in the current operating mode set last time.
[0063] The user input is an operation initiated by the user based on the function icon in the human-computer interaction interface, which may include a touch screen operation. For example, taking the current operation mode including the 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 (unit) based on the infusion configuration icon, and then the user clicks "OK", so that the processor can make the current operation mode of the insulin infusion device the infusion mode according to the last user input.
[0064] In one embodiment, the processor can obtain infusion information based on the last user input, and then control the current operation mode of the insulin infusion device to be the infusion mode according to the infusion information. Wherein, the infusion information may include an infusion type and an infusion parameter, and the infusion type may be at least one of a conventional bolus infusion, a square wave bolus infusion, a dual-wave bolus infusion, a conventional basal rate infusion, and a temporary basal rate infusion. The infusion parameter may include an infusion volume (e.g., an infusion volume of 5U) or a basal rate (e.g., a basal rate of 1U / h). When the infusion type is a square wave bolus infusion or a dual-wave bolus infusion, the infusion parameter may also include an infusion duration (e.g., an infusion duration of 2h).
[0065] Further optionally, the processor can determine the target number of motion coils according to the infusion information, and control the driving mechanism in the insulin infusion device to perform forward motion according to the target number of motion coils, drive the push mechanism of the reservoir in the insulin infusion device forward, so that the push mechanism pushes out the insulin in the reservoir to switch the current operating mode to the infusion mode. The driving mechanism includes but is not limited to an electric motor or a motor, and the push mechanism includes but is not limited to a push rod. Forward motion is a motion that enables the insulin infusion device to perform an infusion operation.
[0066] S202, in the current operation mode, when the user's current input to the function icon is monitored, according to the safety operation rules of the current operation mode, it is determined whether the current input belongs to the prohibited operation of the safety operation rules.
[0067] In this embodiment, the safe operation rules of the current operation mode may be rules preset in the insulin infusion device in advance, or may be rules issued to the insulin infusion device by other devices, and this embodiment does not impose any restrictions. The safe operation rules can be used to determine whether the current input belongs to a prohibited operation of the safe operation rules. Exemplarily, in order to improve the safety of the insulin infusion device, the time of the insulin infusion device cannot be modified in the bolus infusion mode, and therefore, the safe operation rules of the bolus infusion mode prohibit setting the time. In this way, when the current operation mode is the bolus infusion mode, if the user initiates the current input to the time setting icon in the human-computer interaction interface, the processor will determine, based on the safe operation rules of the bolus infusion mode, that the current input belongs to a prohibited operation of the safe operation rules.
[0068] S203: If the current input is a prohibited operation, the insulin infusion device is controlled 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 obtains the current input, monitors whether the current input belongs to a prohibited operation, and combines the safety operation rules of the current operation mode. If the current input belongs to a prohibited operation, the insulin infusion device is controlled not to respond to the current input and not to change the current operation mode.
[0070] In other words, if the current input is a prohibited operation, the processor will not respond to the current input even though it has received the current input. For example, if the current input is detected, the processor may receive an instruction corresponding to the current input, and if it is determined that the current input is a prohibited operation based on the instruction corresponding to the current input, 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 current operating mode is a large-dose infusion mode and the time of the insulin infusion device cannot be set, the processor can adjust the background color of the time setting icon to gray to remind the user that the time setting icon cannot be used in the large-dose infusion mode.
[0072] Further optionally, the processor can adjust the background color of the function icon through the flag of the function icon. The processor can determine the flag of the function icon after monitoring the user's input to the function icon. Further optionally, when the flag of the function icon is a preset mark, the processor adjusts the background color of the function icon to an abnormal color to remind the user.
[0073] For example, if the function icon is a large-dose infusion icon, if the processor does not detect the user's input to the large-dose infusion icon, the flag bit corresponding to the large-dose infusion icon is 0, and the background color of the function icon is a normal color. If the processor detects the user's current input to the large-dose infusion icon, the corresponding flag bit of the large-dose infusion icon can be set to 1. When the corresponding flag bit of the large-dose infusion icon is 1, the processor will adjust the background color of the large-dose infusion icon to gray.
[0074] In some embodiments, the processor also automatically modifies the flag of the function icon according to the current operating mode of the insulin infusion device. For example, if the bolus infusion mode corresponding to the bolus infusion icon is executed or canceled, the processor sets the flag corresponding to the bolus infusion icon from 1 to 0 to restore the background color of the bolus infusion icon to a normal color.
[0075] In some embodiments, the processor may also issue a prohibition reminder to remind the user that the insulin infusion device will not respond to the current input, for example, reminding the user that "a large dose infusion is currently in progress and the time setting cannot be performed".
[0076] S204: If the current input does not belong to a prohibited operation, the insulin infusion device is controlled to execute a corresponding instruction in response to the current input.
[0077] If the current input does not belong to 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 operation mode corresponding to the current input. The instruction corresponding to each input can be an instruction preset in the processor in advance.
[0078] Exemplarily, the processor executes corresponding instructions in response to the current input, and can control the driving mechanism to push the injection mechanism to achieve the infusion of the insulin infusion device. For example, when the current operation mode is the bolus infusion mode, if the user initiates the current input to the basal rate infusion icon in the human-computer interaction interface, and the current input does not belong to the prohibited operation of the safety operation rules, the processor can control the insulin infusion device to execute the corresponding instructions in response to the current input to execute the basal rate infusion mode. Furthermore, the current operation mode of the processor can include the bolus infusion mode and the basal rate infusion mode.
[0079] In the above embodiment, since the insulin infusion device includes a human-computer interaction interface, the human-computer interaction interface includes multiple function icons, and the function icons are used to receive user input, the user does not need to use physical buttons to control the insulin infusion device to perform operations, and can efficiently control the insulin infusion device through the function icons, which has a better human-computer experience, simplifies the operation steps of the insulin infusion device, and the operation method is simpler, which is more in line with the usage habits of modern people, and the interaction efficiency is higher. In addition, since the current operation mode executed by the insulin infusion device can be determined, and in the current operation mode, when the user's current input to the function icon is monitored, according to the safety operation rules of the current operation mode, it is determined whether the current input belongs to the prohibited operation of the safety operation rules, so that when the current input belongs to the prohibited operation, the insulin infusion device can be controlled not to respond to the current input; when the current input does not belong to the prohibited operation, the insulin infusion device can be controlled to respond to the current input and execute the corresponding instructions. In this way, the current input can be used to prevent the current operation mode of the insulin infusion device from being affected by the safety operation rules, thereby improving the safety of the insulin infusion device.
[0080] In an exemplary embodiment, the function icons may include but are not limited to at least one of an infusion configuration icon, an infusion stop icon, an infusion status switch icon, a reset filling icon, an alarm setting icon, a time setting icon, a quick switch setting icon, a threshold setting icon, a history record icon, a version information icon, a temporary blood glucose setting icon, and a pause infusion icon.
[0081] In order to more clearly introduce the functional icons in this application, Figure 3 to Figure 12 Provide explanation. Figure 3 and Figure 4 Schematic diagram of a menu page in an embodiment of the present application, such as Figure 3 and Figure 4As shown, the menu page 300 may include a stop infusion icon 301, an infusion configuration icon 302, a reset filling icon 303, a system setting icon 401, a history icon 402, and a version information icon 403. Among them, the infusion configuration icon 302 may include a large dose infusion icon 302a and a basal rate infusion icon 302b. It is understood that the user can slide left and right in the human-computer interaction interface to Figure 3 and Figure 4 Switch between menu pages.
[0082] Figure 5 is a schematic diagram of a system setting interface in an embodiment of the present application. When the user clicks the system setting icon 401 in the menu page 300, the human-computer interaction interface may display the following Figure 5 The system setting interface 500 shown in FIG. 5 includes an alarm setting icon 501 , a time setting icon 502 and a threshold setting icon 503 .
[0083] Figure 6 4 is a schematic diagram of a history record interface in an embodiment of the present application. When the user clicks the history record icon 402 in the menu page 300, the human-computer interaction interface may display the following Figure 6 The history record interface 600 is shown. The history record interface 600 includes candidate record icons, which may include a regular infusion total record 601, a daily infusion total record 602, a large dose infusion record 603, a basal rate infusion record 604, an alarm record 605, and a reset filling record 606. It is understood that the user can slide to switch the display Figure 6 (a) and Figure 6 (b).
[0084] Figure 7 Schematic diagram of a temporary blood sugar setting interface in an embodiment of the present application, such as Figure 7 As shown, when the user clicks the temporary blood sugar setting icon (not shown in the figure) in the function icon, the human-computer interaction interface can be displayed as follows Figure 7 The temporary blood glucose setting interface 700 shown in FIG. The temporary blood glucose setting interface 700 may include a temporary blood glucose switching icon 701, a temporary blood glucose input icon 702, and an exit icon 703. It can be understood that the exit icon 703 is used to exit the temporary blood glucose setting interface 700, and the exit icon 703 can also be understood as a cancel option.
[0085] The infusion stop icon 301 is used to trigger the execution of the infusion stop mode. Figure 3When the insulin infusion device is in the recovery infusion mode, if the user clicks the stop infusion icon 301, the processor can respond to the user input and make the driving mechanism enter the prohibited movement state from the movable state to execute the stop infusion mode.
[0086] It is understandable that, when the insulin infusion device is in the stop infusion mode, if the user clicks the stop infusion icon 301 again, the processor can respond to the user input to make the drive mechanism enter the movable state from the prohibited motion state to execute the recovery infusion mode. The movable state can be a state in which the processor can control the drive mechanism to perform forward motion. Further optionally, when the insulin infusion device is in the stop infusion mode, the user can restore the basal rate infusion mode through the stop infusion icon 301.
[0087] The infusion information configuration 302 icon is used to trigger the execution of the infusion mode, for example, it can trigger the insulin infusion device to perform the insulin infusion mode according to the infusion information set by the user. It is understandable that the bolus infusion icon 302a is used to trigger the execution of the bolus mode, and the basal rate infusion icon 302b is used to trigger the execution of the basal rate mode.
[0088] Figure 8 FIG. 1 is a schematic diagram of a large dose infusion configuration interface in an embodiment of the present application. In one embodiment, as Figure 8 As shown, after the user clicks on the infusion information configuration 302a, the insulin infusion device may display the following Figure 8 The bolus infusion configuration interface 800 shown includes a bolus configuration icon 801, a bolus calculation icon 802, and a bolus preset icon 803. The bolus configuration icon 801 is used to configure the bolus, that is, to set the bolus infusion mode. The bolus calculation icon 802 is used to calculate the amount of insulin required to be infused. The bolus preset icon 803 is used to provide a function of presetting a bolus solution.
[0089] In some embodiments, the insulin infusion device may have a large dose wizard function. Optionally, the processor may determine the amount of insulin required to be infused according to the current blood sugar value input by the user, the active insulin value in the target object, and the target blood sugar value. Optionally, the processor may also determine the amount of insulin required to be infused according to the amount of carbohydrates ingested input by the user, and the active insulin value in the target object. Optionally. The processor may also determine the amount of insulin required to be infused according to the current blood sugar value input by the user, the amount of carbohydrates ingested input by the user, the active insulin value in the target object, and the target blood sugar value. Exemplarily, the user sets DIA, ICR, ISF, and target blood sugar after the insulin infusion device is turned on. These four parameters can be set only once. After setting, the user clicks "large dose calculation icon 802", then enters the current blood sugar value and the intake carbon water value, and then the processor can calculate the amount of insulin required to be infused for this large dose through the large dose wizard algorithm. Among them, the large dose wizard function can be used before the user takes in carbon water each time and after measuring blood sugar.
[0090] In some embodiments, at least one bolus regimen may be preset in the insulin infusion device. For example, after the user clicks the bolus preset icon 803, four bolus preset regimens may be viewed on the current interface. It is understood that the user may also configure a preset bolus regimen by clicking the bolus preset icon 803.
[0091] In an exemplary embodiment, optionally, the above-mentioned device control method may further include the following steps: obtaining infusion information selected by the user from any candidate infusion information based on the infusion configuration icon; or obtaining infusion information input by the user based on the infusion configuration icon.
[0092] In this embodiment, the user can select the existing infusion information. Figure 3 For example, after the 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 indicate that the basal rate is 1U / h, candidate infusion information B2 can indicate that the basal rate is 2U / h, and candidate infusion information B3 can indicate that the basal rate is 3U / h. In other words, the insulin infusion device can include a preset basal rate scheme. After the user selects candidate infusion information B1, the processor can use candidate infusion information B1 as infusion information.
[0093] Users can also enter customized infusion information. Taking a large dose as an example, please continue to refer to Figure 8For example, after the user clicks the large dose configuration icon 801, the user can enter any number in the range of 0-15U through the large dose input icon. For example, if the user enters 10U, the processor can determine the infusion information based on the "10U" entered by the user.
[0094] Fig. 9 This is a configuration interface for candidate infusion information in an embodiment of the present application. Fig. 9 A configuration interface 900 of candidate infusion information B1 is shown, and the user can click on the candidate infusion information B1 to enter the configuration interface 900. Fig. 9 As shown, the configuration interface 900 includes a basal rate display icon 901, an edit icon 902, and a start icon 903. The basal rate display icon 901 is used to display the basal rate of the candidate infusion information B1. The edit icon 902 is used to edit the candidate infusion information B1. The start icon 903 is used to start the candidate infusion information B1 to execute the basal rate mode.
[0095] In one embodiment, optionally, the above-mentioned device control method may further include the following steps: when it is determined that an update operation for the first candidate infusion information is detected, displaying an update interface; obtaining the second candidate infusion information input by the user based on the infusion update icon; updating the first candidate infusion information to the second candidate infusion information. The first candidate infusion information is any one of the candidate infusion information, and the update interface includes the infusion update icon.
[0096] Continuing with the above example, assuming that after viewing candidate infusion information B1, candidate infusion information B2, and candidate infusion information B3, the user finds that none of them meet the requirements, the user can initiate an update of candidate infusion information B1, and the first candidate infusion information is candidate infusion information B1. When the processor detects the update operation, it will display the update interface. Assuming that the user enters "1.5U / h" in the infusion input of the update interface, the processor can determine that the second candidate infusion information is "1.5U / h", and update the candidate infusion information B1 from "1U / h" to "1.5U / h" to improve the flexibility of the candidate injection information.
[0097] Further optionally, the candidate infusion information may be switched between each other. For example, the user may switch from the candidate infusion information B1 to the candidate infusion information B2, so that the processor uses the candidate infusion information B2 as the infusion information.
[0098] In one embodiment, the basal rate may also be segmented, that is, different basal rates may be set for different time periods. Fig.10 This is a schematic diagram of a basic rate segmentation in this application, such as Fig.10As shown, the user can enter the basic rate segment configuration interface 1000, which may include a segment icon 1001 and a delete icon 1002. The segment icon 1001 is used to display or configure different basic rate segments, and the delete icon 1002 is used to delete a basic rate segment.
[0099] Fig.11 This is a configuration interface for a temporary basic rate in an embodiment of the present application, such as Fig.11 As shown, the user can enter the configuration interface 1100 of the temporary basic rate, and the configuration interface 1100 of the temporary basic rate may include a first setting icon 1101 and a second setting icon 1102. The first setting icon 1101 is used to set the temporary basic rate in the form of a percentage based on an existing basic rate or a standard basic rate. The second setting icon 1102 is used to set the value of the temporary basic rate through a specific basic 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 is used up, the user will generally load a new reservoir for the insulin infusion device, and the insulin in the reservoir may not be fully loaded, and there may be a certain amount of air. Therefore, in order to discharge the excess air in the reservoir so as to accurately perform the 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 line to the body.
[0101] The system setting icon 401 is used to trigger the execution of the system setting mode, wherein the system setting mode may include an alarm setting mode, a time setting mode or a threshold setting mode.
[0102] Further, the alarm setting icon 501 is used to trigger the execution of the alarm setting mode, in which the alarm mode of the insulin infusion device can be set, and the alarm mode is used to indicate how the insulin infusion device alarms. Exemplarily, after the user clicks the alarm setting icon 501, the human-computer interaction interface can display the alarm setting interface. The alarm setting interface includes at least one candidate alarm mode, and the candidate alarm mode can be a vibration alarm mode, a buzzer alarm mode, and a vibration buzzer alarm mode. The user can select the required alarm mode from each candidate alarm mode based on the alarm setting interface. If the user selects the vibration alarm mode, the processor can realize the vibration alarm by driving the rotor motor; if the user selects the buzzer alarm mode, the processor can realize the buzzer alarm by driving the ceramic buzzer piece; if the user selects the vibration buzzer alarm mode, the processor drives the rotor motor and the ceramic buzzer piece to realize the vibration alarm mode and the buzzer alarm mode at the same time.
[0103] The time setting icon 502 is used to trigger the execution time setting mode, and the time of the insulin infusion device can be set in the alarm setting mode. If the user wants to modify the system time of the insulin infusion device, the user can click the time setting icon 502 so that the human-computer interaction interface displays the time setting interface. Wherein, the alarm setting interface includes a time input icon, and the user can configure the target time based on the time input icon. Exemplarily, the user can input "17:00:00" based on 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. Exemplarily, the processor can communicate with the RTC through a two-wire serial bus (Inter-Integrated Circuit, I2C) to write the target time "17:00:00" into the register corresponding to the RTC to modify the time of the RTC, so that the system time of the insulin infusion device is the target time.
[0104] The threshold setting icon 503 is used to trigger the execution of the threshold setting mode. In the alarm setting mode, the threshold of the insulin infusion device can be set. The threshold of the insulin infusion device may include but is not limited to the dosage alarm threshold. If the user wants to modify a certain threshold of the insulin infusion device, the user can click the threshold setting icon 503, and then the human-computer interaction interface will display the threshold setting interface. The threshold setting interface includes a threshold input icon, and the user can configure the threshold to be modified based on the threshold input icon to modify the threshold to be modified in the flash memory of the insulin infusion device from the original parameter to the target parameter.
[0105] The threshold to be modified includes at least one of a dosage alarm threshold, a basal rate maximum threshold, and a large dose maximum threshold of the insulin infusion device. The dosage alarm threshold is used for low dosage alarm. For example, if the current dosage of the insulin infusion device is less than the dosage alarm threshold, the processor can output an alarm prompt. The basal rate maximum threshold is used to limit the maximum basal rate input by the user. The large dose maximum threshold is used to limit the maximum infusion amount input by the user.
[0106] Exemplarily, assuming that the original parameter corresponding to the drug dosage alarm threshold is 50U, the user can determine that the threshold to be modified is the "drug dosage alarm threshold" based on the threshold input icon, and input the target parameter corresponding to the drug dosage alarm threshold as "30U", then the processor will obtain that the threshold to be modified is the drug dosage alarm threshold, and the target parameter of the drug dosage alarm threshold is "30U", and change the drug dosage alarm threshold in the flash memory (FLASH) 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 execution history record mode, and the history record of the insulin infusion device can be checked in the alarm setting mode. Wherein, in the history record mode, the regular infusion total amount record 601 is used to check the infusion total amount of the insulin infusion device in at least one first preset period. For example, the regular infusion total amount record 601 includes 1 day infusion total amount, 7 day infusion total amount, 5 day infusion total amount and 30 day infusion total amount. Taking 1 day infusion total amount as an example, after the user clicks on "1 day infusion total amount" in the regular infusion total amount record 601, the human-computer interaction interface can show the infusion total amount within the first 1 day from the current moment. The infusion total amount can include the infusion total amount corresponding to each infusion type.
[0108] The daily infusion total record 602 is used to view the total infusion amount of the insulin infusion device on each day within a preset period (generally 1 month). For example, the daily infusion total record 602 includes the total infusion amount on each day from March 1, 2024 to March 31, 2024. The bolus infusion record 603 can be used to view the infusion amount of the insulin infusion device for conventional bolus infusion, square wave bolus infusion and dual wave bolus infusion. The basal rate infusion record 604 is used to indicate the infusion amount of the insulin infusion device for temporary basal rate infusion. The alarm record 605 is used to view the alarm status of the insulin infusion device, such as recording when and what kind of alarm the insulin infusion device triggers. The reset filling record 606 views the reset filling operation of the insulin infusion device, such as recording when the insulin infusion device performs a reset filling operation.
[0109] The version icon 403 is used to trigger the execution version display mode. For example, if the user wants to view the version information of the insulin infusion device, the user can click the version icon 403, so that the processor can display the interface based on the version icon 403 according to the user. The version display interface includes the version information of the insulin infusion device, and the version information includes at least one of the software version or the hardware version of the insulin infusion device.
[0110] The quick switch setting icon is used to jump to the large-dose infusion mode. After the user clicks the quick switch setting icon (not shown in the figure), the human-computer interaction interface can display the quick switch setting interface; the quick switch setting interface includes a quick switch switching icon. When user input for the quick switch switching icon is detected and the quick switch switching icon is in the off state, the processor will switch the quick switch switching icon from the off state to the on state. When user input for the quick switch switching icon is detected and the quick switch switching icon is in the on state, the processor will switch the quick switch switching icon from the on state to the off state.
[0111] Further, when the quick switch switching icon is in the on state and an operation on the main control icon is detected, the processor can quickly jump to the large dose infusion mode. Exemplarily, if the user wants to quickly execute the large dose infusion mode, the quick switch setting icon can be clicked to turn the quick switch switching icon on. Furthermore, after the processor detects the triggering operation on the quick switch setting icon, it will display the quick switch setting interface. At this time, the user can long press the HOME key to jump to the interface corresponding to the large dose infusion icon 302a. It is understandable that if the quick switch switching icon is in the off state, long pressing the HOME key cannot jump to the interface corresponding to the large dose infusion icon 302a.
[0112] The temporary blood sugar switching icon is used to trigger the host setting operation of the temporary blood sugar parameters in the insulin infusion device. The temporary blood sugar parameters can be used to calculate the infusion information so that the subsequent infusion operation can be performed more accurately. Please continue to refer to Figure 7 , the user 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 required temporary blood glucose value in mM (millimoles per liter). The maintenance time icon 702b is used to indicate the maintenance time of the temporary blood glucose value in h (hours). Furthermore, the user can enter "4" in the temporary blood glucose value icon 702a and enter "1" in the maintenance time icon 702b, indicating that the blood glucose value needs to be maintained at 4mM in the next 1h. In this way, the processor can also obtain the temporary blood glucose parameters confirmed by the user based on the temporary blood glucose input icon to control the host setting operation of the temporary blood glucose parameters for insulin infusion. For example, the processor can store the temporary blood glucose parameters in the flash memory.
[0113] In one embodiment, optionally, the processor may switch the temporary blood glucose switch icon 701 from an off state to an on state when it detects user input for the temporary blood glucose switch icon 701 and the temporary blood glucose switch icon 701 is in an off state, and when the temporary blood glucose switch icon 701 is in an on state, obtain the temporary blood glucose parameters confirmed by the user based on the temporary blood glucose input icon 702.
[0114] In one embodiment, when user input for the temporary blood glucose switch icon 701 is detected and the temporary blood glucose switch icon 701 is in the on state, the processor will switch the temporary blood glucose switch icon 701 from the on state to the off state, and when the temporary blood glucose switch icon 701 is in the off state, obtain 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] Exemplarily, the processor can communicate with the motion algorithm chip, and the motion algorithm chip can be connected to the sensor, and then when the temporary blood glucose switching icon 701 is in the off state, the processor can determine the temporary blood glucose parameter of the insulin infusion device according to the first correspondence between different motion information and the temporary blood glucose parameter, so as to implement the host setting operation of the temporary blood glucose parameter. Among them, the sensor can include but is not limited to a six-axis acceleration sensor or a magnetometer, etc., and the motion information is used to indicate the motion of the target object, such as speed, acceleration, etc.
[0116] Fig.12 1 is a schematic diagram of a main interface in an embodiment of the present application, wherein the pause infusion icon 1201 is used to pause at least one of the large dose infusion mode and the temporary basal rate infusion mode. Fig.12 As shown, assuming that the user sets the requirement to infuse 15U of insulin within 1.5h, and after infusing 7.15U, the user wants to pause the infusion, the user can click the "pause infusion icon 1201" in the main interface to pause the large-dose infusion mode.
[0117] In some embodiments, the processor may display a pause option in response to the user's input to the pause infusion icon 1201, so as to pause at least one of the large dose infusion mode and the temporary basal rate infusion mode according to the user's selection based on the pause option. Exemplarily, after the user clicks the pause infusion icon 1201, the current interface will display "Pause large dose" and "Pause temporary basal rate", and after the user selects "Pause large dose", the processor will pause the large dose infusion mode.
[0118] It should be noted that in the above embodiment, "pause" may also mean cancellation. For example, after the large-dose infusion mode is paused, the current large-dose infusion is canceled.
[0119] Fig.13 This is a parameter configuration interface in the embodiment of the present application. In one embodiment, Fig.13As shown, the user can enter the parameter configuration interface 1300, and the parameter configuration interface 1300 may include an active retention time icon 1301, a target blood glucose icon 1302, a carbohydrate coefficient icon 1303, and a sensitivity coefficient icon 1304. Among them, the active retention time icon 1301 is used to set the insulin activity retention time (Duration of Insulin Activity, DIA). The insulin activity retention time indicates the time for insulin to exert its physiological effect in the body. The target blood glucose icon 1302 is used to set the target blood glucose of the target object. The carbohydrate coefficient icon 1303 is used to set the carbohydrate coefficient, and the carbohydrate coefficient indicates the gram weight of carbohydrate intake that can be offset by each unit of insulin infused. The sensitivity coefficient icon 1304 is used to set the insulin sensitivity coefficient, and the insulin sensitivity coefficient indicates the blood glucose value reduced by each unit of insulin infused.
[0120] In one embodiment, the processor may also determine the amount of active insulin currently in the subject based on the completion time of the infused bolus and the effective duration of the insulin.
[0121] In an exemplary embodiment, optionally, the function icon includes a main control icon, and the device control method further includes the following steps:
[0122] The insulin infusion device is awakened by the user's current input to the main control icon, and after the insulin infusion device is awakened, the current operating mode of the insulin infusion device is displayed on the current interface.
[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 in the lock screen or the screen is off, the user can click the main control icon, and then the processor wakes up the insulin infusion device through 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 may prompt "the current operating mode is the large-dose infusion mode" on the current interface, or may display an icon corresponding to the current operating mode in the current interface, etc. Among them, the current interface is also the interface currently displayed on the human-computer interaction interface, which may be the interface that the insulin infusion device is in before locking the screen or turning off the screen.
[0125] In the above embodiment, since the insulin infusion device is awakened by the user's current input to the main control icon, and after the insulin infusion device is awakened, the current operating mode of the insulin infusion device is displayed on the current interface, the user can instantly obtain the current operating mode of the insulin infusion device, and the operation is simple.
[0126] In an exemplary embodiment, optionally, the function icons also include a stop infusion icon, a large-dose infusion icon, a basal rate infusion icon and a reset filling icon, wherein the stop infusion icon is used to control the operating mode of the insulin infusion device to the stop infusion mode; the large-dose infusion icon is used to control the operating mode of the insulin infusion device to the large-dose infusion mode; the basal rate infusion icon is used to set the regular infusion dose of the insulin infusion device; the reset filling icon is used to control the operating mode of the insulin infusion device to the reset filling mode; the reset filling mode is used to complete automatic filling of the pipeline after replacing a new reservoir of the insulin infusion device.
[0127] The prohibition operation of the safety operation rule for stopping the infusion mode includes at least one of prohibiting the start of the large-dose infusion mode and prohibiting the start of the basal rate infusion mode.
[0128] When the current operating mode includes the stop infusion mode, the above-mentioned device control method also includes at least one of the following steps: (1) monitoring the user's first input to the bolus infusion icon, and controlling the insulin infusion device not to start the bolus 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 operation mode of the insulin infusion device to the stop infusion mode. In the stop infusion mode, the driving mechanism is prohibited from moving, so the prohibition operation corresponding to the stop infusion mode includes prohibiting the start of at least one of the large dose infusion mode and the basal rate infusion mode.
[0130] In this way, when the prohibition operation corresponding to the stop infusion mode includes prohibiting the start of the large-dose infusion mode, if the processor detects the user's first input to the large-dose infusion icon, the insulin infusion device can be controlled not to start the large-dose infusion mode in response to the first input, that is, the insulin infusion device will not enter the large-dose infusion mode in the stop infusion mode. In addition, if the current operation mode includes the stop infusion mode, the large-dose infusion icon 302a in the human-computer interaction interface can be gray to prompt the user to prohibit the start of the large-dose infusion mode.
[0131] In the case where the prohibited operation corresponding to the stop infusion mode includes prohibiting the start of the basal rate infusion mode, if the processor detects the second input of the user to the basal rate infusion icon, the insulin infusion device can be controlled not to start the basal rate infusion mode in response to the second input, that is, the insulin infusion device will not enter the basal rate infusion mode in the stop infusion mode. It should be noted that although the insulin infusion device cannot start the basal rate infusion mode in the stop infusion mode, the basal rate can be set. For example, in the stop infusion mode, the user can still modify the basal rate by clicking the basal rate infusion icon 302b.
[0132] If the current operation mode includes the stop infusion mode, the user can control the insulin infusion device to start the reset filling mode by clicking the reset filling icon 303, so as to complete the automatic filling of the pipeline after replacing the new reservoir of the insulin infusion device. It should be noted that after ending the reset filling mode, the insulin infusion device will also switch from the stop infusion mode to the resume infusion mode.
[0133] In the above embodiment, since the prohibited operation of the safety operation rule of the stop infusion mode includes prohibiting the start of at least one of the large dose infusion mode and the basal rate infusion mode, when the current operation mode includes the stop infusion mode, even if the user operates the large dose infusion icon or the basal rate infusion icon, the insulin infusion device will not respond, thereby improving safety. Furthermore, when the current operation mode includes the stop infusion mode, the reset filling mode can be executed through the user's input, thereby improving the flexibility and use efficiency of the insulin infusion device.
[0134] In an exemplary embodiment, optionally, the function icon further includes a temporary basal rate infusion icon, a pause infusion icon, and a time setting icon; the temporary basal rate infusion icon of insulin is used to control the operation mode of the insulin infusion device to be a temporary basal rate infusion mode; the pause infusion icon is used to pause the operation of at least one of the large dose infusion mode and the temporary basal rate infusion mode;
[0135] The prohibited operations of the safety operation rules of the large-dose infusion mode include at least one of prohibiting the re-start of the large-dose infusion mode, prohibiting the start of the reset filling mode, and prohibiting the modification of the system time of the insulin infusion device;
[0136] When the current operating mode is the bolus infusion mode, the above-mentioned device control method also includes at least one of the following steps: (1) monitoring the user's fourth input to the bolus infusion icon, and controlling the insulin infusion device not to respond to the fourth input to restart the bolus infusion mode; (2) monitoring the user's fifth input to the reset filling icon, and controlling the insulin infusion device not to respond to the fifth input to start the reset filling mode; (3) monitoring the user's sixth input to the basal rate infusion icon, and controlling the insulin infusion device to respond to the sixth input to start the basal rate infusion mode; (4) monitoring the user's seventh input to the temporary basal rate infusion icon, and controlling the insulin infusion device to respond to the seventh input to start the temporary basal rate infusion mode; (5) monitoring the user's eighth input to the pause infusion icon, and controlling the insulin infusion device to respond to the eighth input to pause the bolus infusion mode; (6) monitoring the user's ninth input to the time setting icon, and controlling the insulin infusion device not to respond to the ninth input to modify the system time of the insulin infusion device.
[0137] In this embodiment, after the user clicks the bolus infusion icon 302a, the processor can control the operation mode of the insulin infusion device to be the bolus infusion mode. In order to improve safety, the bolus infusion mode prohibits re-starting the bolus infusion mode, prohibiting resetting the filling mode, and prohibiting setting the time. Therefore, the prohibition operation corresponding to the bolus infusion mode includes prohibiting at least one of prohibiting re-starting the bolus infusion mode, prohibiting starting the resetting filling mode, and prohibiting modifying the system time of the insulin infusion device.
[0138] Thus, in the bolus infusion mode, if the processor detects the fourth input of the user to the bolus infusion icon 302a, the insulin infusion device can be controlled not to start the bolus infusion mode again in response to the fourth input, that is, the insulin infusion device will not enter the bolus infusion mode again in the bolus infusion mode. If the processor detects the fifth input of the user to the reset filling icon 303, the insulin infusion device can be controlled not to start the reset filling mode in response to the fifth input, that is, the insulin infusion device will not enter the reset filling mode in the bolus infusion mode. If the processor detects the ninth input of the user to the time setting icon 502, the insulin infusion device can be controlled not to modify the system time of the insulin infusion device in response to the ninth input, that is, the insulin infusion device will not enter the time setting mode in the bolus infusion mode.
[0139] However, the basal rate infusion mode can be executed in the bolus infusion mode. Therefore, in the bolus 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] Further, in order to stop the infusion of a large dose in time, the large dose infusion mode can be paused or canceled at any time. Therefore, if the eighth input of the user to the pause infusion icon 801 is monitored, the insulin infusion device is controlled to pause the large dose infusion mode in response to the eighth input.
[0141] In the above embodiment, since the prohibited operations of the safety operation rules of the large-dose infusion mode include prohibiting the re-start of the large-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 large-dose infusion mode will not be affected by other large doses or time, thereby improving safety.
[0142] In an exemplary embodiment, optionally, the function icon further includes a square wave infusion icon, and the square wave infusion icon is used to provide a square wave infusion mode; the above device control method further includes the following steps:
[0143] During the process of setting the bolus infusion mode, the user's tenth input to the square wave infusion icon is monitored, and the insulin infusion device is controlled to start a dual-wave infusion mode of the bolus infusion mode superimposed on the square wave infusion mode in response to the tenth input.
[0144] In this embodiment, the function icon also includes a square wave infusion icon (not shown in the figure). In the process of setting the bolus infusion mode, for example, after the user clicks the bolus configuration icon 801, the interface corresponding to the bolus configuration icon 801 will be displayed, and then the user can configure how to infuse the bolus infusion in the interface corresponding to the bolus configuration icon 801. In this case, the processor will continue to monitor the user's input. If the user's tenth input to the square wave infusion icon is monitored, it means that the user needs to superimpose square wave infusion on the basis of conventional bolus infusion. That is to say, when the user infuses insulin, part of the insulin is expected to be infused immediately, and part of the insulin is expected to be infused within a certain period of time. Then, the processor will continue to control the insulin infusion device to respond to the tenth input to start the dual-wave infusion mode of the bolus infusion mode superimposed on the square wave infusion mode.
[0145] In the above embodiment, during the process of setting the large-dose infusion mode, the user's tenth input to the function icons including the square wave infusion icon is monitored; the insulin infusion device is controlled to start the dual-wave infusion mode of the large-dose infusion mode superimposed on the square wave infusion mode in response to the tenth input. Therefore, the user can efficiently configure the large-dose infusion mode.
[0146] In an exemplary embodiment, optionally, the prohibition operation of the safety operation rule of the temporary basal rate infusion mode includes at least one of prohibiting the initiation of the reset filling mode and prohibiting the modification of the system time of the insulin infusion device;
[0147] When the current operating mode is the temporary basal rate infusion mode, the above-mentioned device control method also 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 respond to the eleventh input to start the reset filling mode; (2) monitoring the user's twelfth input to the time setting icon, and controlling the insulin infusion device not to respond to the twelfth input to modify the system time of the insulin infusion device.
[0148] In this embodiment, similar to the principle of the large dose infusion mode, in the 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 to start the reset filling mode, that is, the reset filling mode cannot be started in the temporary basal rate infusion mode. In the 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 to modify the system time of the insulin infusion device, that is, the time setting mode cannot be started in the temporary basal rate infusion mode.
[0149] In the above embodiment, since the prohibited operations of the safety operation rules of the temporary basal rate infusion mode include prohibiting the start of the reset filling mode and prohibiting the modification of at least one of the system time of the insulin infusion device, it is possible to ensure that the temporary basal rate infusion mode is not affected by the reset filling and time, thereby improving safety.
[0150] In an exemplary embodiment, the prohibited operation of the safety operation rule of the reset filling mode optionally includes: prohibiting the operation of ending the reset filling mode using the main control icon during the reset filling mode, or prohibiting the operation of switching out of the reset filling mode by sliding horizontally;
[0151] When the current operating mode is the reset and filling mode, the above-mentioned device control method also includes the following steps: monitoring the user's thirteenth input to the human-computer interaction interface; if the thirteenth input is an operation of using the main control icon to end the reset and filling mode during the reset and filling mode, or the thirteenth input is an operation of switching out the reset and filling mode by sliding horizontally, then the insulin infusion device is controlled not to continue to execute the reset and filling mode in response to the thirteenth input until the reset and filling mode ends.
[0152] In this embodiment, after the user clicks the reset filling mode 303, the processor controls the operation mode of the insulin infusion device to the reset filling mode. In order to avoid abnormal motor reset and insufficient filling of the pipeline caused by abnormal termination of the reset filling mode, the operation of ending the reset filling mode using the main control icon or the operation of switching out of the reset filling mode by sliding horizontally is prohibited in the reset filling mode.
[0153] Furthermore, when the current operating mode is the reset and filling mode, if the user's thirteenth input to the human-computer interaction interface is monitored, and the thirteenth input is an operation of ending the reset and filling mode using the main control icon during the reset and filling mode, or the thirteenth input is an operation of switching out of the reset and filling mode by sliding horizontally, the processor will control the insulin infusion device not to continue to execute the reset and filling mode in response to the thirteenth input until the reset and filling mode ends.
[0154] It should be noted that although in the reset and filling mode, the main control icon cannot be used to end the reset and filling mode or the reset and filling mode cannot be switched out by sliding horizontally, necessary interactive operations can be performed in the reset and filling mode. For example, in the reset and filling mode, the processor may prompt "Motor reset has been completed, do you want to proceed to the next step?" The user can still operate the human-computer interaction interface normally, for example, the user can click "Confirm" to continue the reset and filling mode.
[0155] In the above embodiment, the prohibited operations of the safety operation rules of the reset filling mode include: prohibiting the operation of ending the reset filling mode by using the main control icon during the reset filling mode, or prohibiting the operation of switching out of the reset filling mode by sliding horizontally. Therefore, during the execution of the reset filling mode, the user will not end the reset filling mode due to accidental touch or erroneous operation, which improves both safety and accuracy of reset filling.
[0156] In an exemplary embodiment, optionally, the insulin infusion device includes a driving mechanism and a push mechanism, and the device control method further includes the following steps:
[0157] The reverse motion of the driving mechanism is controlled to drive the push injection mechanism to complete the resetting operation; when the driving mechanism triggers the reset signal during the reverse motion, the first prompt information is fed back on the current interface, and the first prompt information is used to prompt the user that the push injection mechanism has completed the resetting, and the user is required to confirm the start of the pipeline filling operation; the fourteenth input from the user is received to confirm the start of the pipeline filling operation, and the forward motion of the driving mechanism is controlled to drive the push injection mechanism to complete the pipeline filling operation, and the pipeline filling operation is used to realize pipeline exhaust.
[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. Figure 3 After the user reloads the reservoir, the user can click the reset filling icon 303. Then, the processor can drive the push mechanism to complete the reset operation by controlling the reverse motion of the drive mechanism.
[0159] In order to more clearly introduce the reset filling mode in this application, Fig.14 Provide explanation. Fig.14FIG. 1 is a schematic diagram of a process of a reset filling mode in an embodiment of the present application. Fig.14 As shown, after the user clicks the reset filling icon 303, the processor can control the drive mechanism to reverse the movement so that the push mechanism 1402 is away from the liquid reservoir 1401 (as shown in FIG. Fig.14 (a) in the direction of the dotted line.
[0160] Furthermore, when the processor obtains the reset signal, that is, when it receives the reset signal triggered by the driving mechanism during the reverse motion, it can feedback the first prompt information on the current interface, such as feedback "Reset completed, please confirm whether to proceed to the next step" to prompt the user that the injection mechanism has completed the reset and the user is required to confirm the start of the pipeline filling operation.
[0161] Optional, please refer to Fig.14 , the processor can monitor whether the bottom of the driving mechanism touches the reset switch 1403 during the reverse movement of the driving mechanism, and receive a reset signal when it is determined that the bottom of the driving mechanism touches the reset switch 1403. In this embodiment, taking the driving mechanism as a motor as an example, the processor can send a reverse command to the control integrated circuit (IC) of the motor through the serial port to reverse the motor. In the process of controlling the motor to reverse, the processor will detect whether the bottom of the motor touches the reset switch. If it is detected that the bottom of the motor touches the reset switch, it means that the reset of the motor has been completed. Furthermore, when the bottom of the motor touches the reset switch, the processor will receive the reset signal generated by the conduction of the reset switch, which means that the reset is completed. The processor can display the filling icon, and after detecting the trigger operation for the filling icon, send a forward command to the control IC of the motor through the serial port, so that the motor moves forward to complete the pipeline filling operation.
[0162] Furthermore, if the current interface feedback "Reset completed, please confirm whether to proceed to the next step", the user clicks "Confirm", then the processor will receive the user's fourteenth input for confirming the start of the pipeline filling operation, and then the processor can control the forward movement of the drive mechanism to drive the injection mechanism to complete the pipeline filling operation, and the pipeline filling operation is used to achieve pipeline exhaust. For example, please continue to refer to Fig.14 After the processor responds to the fourteenth input, it can control the driving mechanism to rotate forward to drive the injection mechanism 1402 to move in a direction close to the liquid reservoir 1401 (such as Fig.14 (b) in the direction of the dotted line) until the push mechanism hits the reservoir 1401 to complete the line filling operation, such as Fig.14 (b) as shown.
[0163] Further optionally, the pipeline filling operation may include at least one of an automatic filling operation, a manual filling operation, and a quantitative filling operation. For example, the human-computer interaction interface may display the automatic filling operation, the manual filling operation, and the quantitative filling operation, so that the user can select the pipeline filling operation to be performed.
[0164] Among them, the automatic filling operation is an operation in which after the user triggers the reset filling icon, the control instruction corresponding to the reset filling icon automatically controls the motor to rotate forward to push the liquid in the reservoir to fill the pipeline to automatically exhaust the pipeline. The manual filling operation requires the user to continuously trigger the control instruction to control the motor to rotate forward to push the liquid in the reservoir to fill the pipeline to exhaust the pipeline. The user can flexibly exhaust the pipeline and flexibly end the exhaust of the pipeline. The quantitative filling operation is an operation in which the insulin infusion device fills the pipeline with a small amount of insulin to expel the air trapped in the needle.
[0165] During the automatic filling operation, the processor may control the driving mechanism to keep moving forward until the pushing pressure corresponding to the injection mechanism is greater than a first preset value, so as to complete the automatic filling operation.
[0166] In the manual filling operation, the processor can respond to the user's long press operation based on the human-computer interaction interface to control the drive mechanism to rotate forward until the user ends the long press operation. In some embodiments, the processor can also respond to the user's long press operation based on the human-computer interaction interface to control the drive mechanism to rotate forward according to the first thread, and after completing the forward rotation, confirm with the user on the human-computer interaction interface whether to perform the next long press operation, so as to improve the safety of the manual filling operation.
[0167] In the quantitative filling operation, the processor can control the driving mechanism to move forward according to the second thread to complete the quantitative filling operation. The second thread can be set according to demand, and can generally be a 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 "line blockage", the processor can control the insulin infusion device to directly execute the reset filling mode, so as to directly drive the push injection mechanism to complete the reset operation by controlling the reverse movement of the driving mechanism, and when the receiving driving mechanism triggers a reset signal during the reverse movement, the first prompt information is fed back on the current interface, and then the fourteenth input from the user is received to confirm the start of the line filling operation, and the forward movement of the driving mechanism is controlled to drive the push injection mechanism to complete the line filling operation.
[0169] In the above embodiment, the reverse motion of the driving mechanism is controlled to drive the push injection mechanism to complete the reset operation, and then when the driving mechanism triggers the reset signal during the reverse motion, the first prompt information is fed back on the current interface to prompt the user that the push injection mechanism has completed the reset and the user is required to confirm the start of the pipeline filling operation. In this way, after receiving the fourteenth input from the user to confirm the start of the pipeline filling operation, the forward motion of the driving mechanism can be efficiently and accurately controlled to drive the push injection mechanism to complete the pipeline filling operation, so as to realize pipeline exhaust, which is beneficial to the user's subsequent use.
[0170] In an exemplary embodiment, optionally, the driving mechanism includes a motor, and the above-mentioned "controlling the forward motion of the driving mechanism to drive the injection mechanism to complete the pipeline filling operation" can be achieved in the following manner: controlling the motor to perform forward motion according to a preset first thread, and simultaneously monitoring the pushing pressure of the push rod in the injection mechanism; when the pressure value of the pushing pressure is greater than the first preset value, the pipeline filling operation is completed.
[0171] In this embodiment, the first thread can be set as required, 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 preset first thread.
[0172] In some embodiments, the motor includes but is not limited to a stepper motor, a servo motor, etc. Optionally, since the servo motor can detect 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 pushing pressure is not greater than the 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 pushing pressure is greater than the first preset value. Exemplarily, a 2U thread can be taken as a cycle, and if the pressure value is not greater than the first preset value during the 2U cycle, the next 2U thread will continue to execute. In this way, even if problems such as motor abnormality occur in the 2U thread, at most 2U of insulin will be infused, reducing safety risks.
[0174] While the motor is rotating forward according to a preset first thread, the processor also monitors the pushing pressure of the push rod in the injection mechanism through a pressure sensor, and when the pressure value of the pushing pressure is greater than a first preset value, it confirms that the push rod has contacted the liquid reservoir to complete the pipeline filling operation.
[0175] Please continue to refer to Fig.14 ,like Fig.14As shown, during the forward motion of the driving mechanism, if the pipeline filling operation is not completed, it means that the push rod is in an empty push state, and the pressure sensor in the insulin infusion device will not detect the pressure value in theory. If the pressure value detected by the pressure sensor reaches the first preset value, it means that the push rod has hit the reservoir, that is, the pipeline filling operation is completed. Among them, the pressure value is used to indicate the pushing pressure of the push rod. The pressure sensor can be set at the bottom of the driving mechanism, for example, at the bottom of the motor.
[0176] In the above embodiment, since the control motor rotates forward according to the preset first thread and simultaneously monitors the pushing pressure of the push rod in the injection mechanism, when the pressure value of the pushing pressure is greater than the first preset value, the pipeline filling operation can be completed efficiently and accurately.
[0177] In an exemplary embodiment, optionally, the above-mentioned device control method further includes the following steps: monitoring the pushing pressure of the push rod in the push mechanism to see if an abnormal pressure event occurs; if an abnormal pressure event occurs, an alarm is issued.
[0178] In the present embodiment, the abnormal pressure event may include, but is not limited to, a pipeline blockage of the insulin infusion device or a pipeline detachment of the insulin infusion device. It is understandable that by detecting the pushing pressure of the push rod in the push mechanism, it is possible to determine whether an abnormal pressure event occurs. Exemplarily, the processor can confirm the occurrence of an abnormal pressure event of "pipeline blockage" when the insulin infusion device executes an infusion mode and the pressure value of the pushing pressure is greater than a second preset value. The processor can also confirm the occurrence of an abnormal pressure event of "pipeline detachment" when the insulin infusion device executes an infusion mode and the change value of the 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 reminder method, which can be at least one of a vibration alarm method, a buzzer alarm method, and a display alarm method.
[0180] In the above embodiment, since it is possible to monitor whether the pushing pressure of the push rod in the push mechanism causes an abnormal pressure event and issue an alarm reminder when an abnormal pressure event occurs, the user 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 use efficiency.
[0181] In an exemplary embodiment, optionally, the insulin infusion device further includes a slave control unit, which is used to monitor and feedback the number of revolutions of the motor's forward rotation; the above device control method further includes the following steps:
[0182] If the number of revolutions fed back by the slave control unit is not received within a predetermined period of 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 motion 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 of the motor's forward motion to the processor within a predetermined time, that is, the number of coils of the motor's forward motion. If the slave control unit does not send the number of revolutions to the processor within the predetermined time, or the slave control unit sends the number of revolutions to the processor, but the processor does not receive the number of revolutions normally, in short, if the processor does not receive the number of revolutions fed back by the slave control unit beyond the predetermined time, it means that the communication between the processor and the slave control unit is abnormal, and there will be risks if the motor continues to be controlled. 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 motion of the motor. Among them, 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 control MCU.
[0184] In one embodiment, if the number of revolutions fed back from the control unit is not received for a predetermined period of time, the processor may also report an alarm of "Please contact customer service".
[0185] In the above embodiment, when the number of revolutions fed back by the slave control unit is not received for a predetermined period of time, 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. Therefore, even if an abnormality occurs between the slave control unit and the slave control unit, the motor can be stopped in time, thereby improving the safety of the insulin infusion device.
[0186] In an exemplary embodiment, optionally, the device control method further includes the following steps:
[0187] After the power supply battery of the insulin infusion device is replaced, the 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 fed back on the current interface; if the power supply battery level meets the power-on conditions, the insulin infusion device is controlled to start, and the basal rate infusion mode is started.
[0188] In this embodiment, in order to enable the insulin infusion device to be used normally after the power supply battery is replaced, the insulin infusion device will perform a power-on self-test function after the power supply battery is replaced. The power-on self-test function includes checking whether the power supply battery meets the power-on conditions. Whether the current of the power supply battery meets the power-on conditions may include but is not limited to whether the power supply voltage of the power supply battery is greater than a preset voltage threshold, or the power supply voltage of the power supply battery is greater than the preset voltage threshold for multiple consecutive times. The preset voltage threshold can be set according to demand, for example, 1.3V (volts).
[0189] Furthermore, if the power of the power supply battery does not meet the power-on condition, a battery replacement reminder can be fed back on the current interface. For example, if the voltage of the power supply battery is less than 1.3V, the processor can issue a prompt "Battery power is low, please replace the battery in time" on the current interface. Further optionally, if the power of the power supply battery does not meet the power-on condition, the processor can control the insulin infusion device to stop starting.
[0190] If the power level of the power supply battery meets the power-on conditions, for example, if the voltage of the power supply battery is detected to be no less than 1.3V for three consecutive times, the processor will control the insulin infusion device to start up and start the basal rate infusion mode.
[0191] In the above embodiment, after the insulin infusion device replaces the power supply battery, a power-on self-test function is performed. If the power level of the power supply battery does not meet the power-on conditions, a battery replacement reminder is fed back on the current interface. If the battery level meets the power-on conditions, the insulin infusion device is controlled to start up and the insulin basal rate infusion mode is started. Therefore, abnormalities in the power supply battery can be discovered in time, which is beneficial to improving the use efficiency of the insulin infusion device.
[0192] In an exemplary embodiment, optionally, if at least one of the multiple power supplies of the driving component in the insulin infusion device is powered off, the other power supplies of the driving component are controlled to be powered off. For example, the power supply of the motor may include a first power supply and a second power supply, and the first power supply and the second power supply are logically connected. When the processor detects that the first power supply is powered off, the second power supply is also controlled to be powered off.
[0193] In an exemplary embodiment, optionally, during the process of the insulin infusion device executing the infusion mode, if the insulin infusion device generates a second type of alarm, such as an alarm corresponding to "reservoir empty", the processor can control the insulin infusion device to cancel the infusion.
[0194] In an exemplary embodiment, optionally, the insulin infusion device includes a circuit protection circuit, which includes but is not limited to a fuse circuit.
[0195] In an exemplary embodiment, optionally, the device control method further includes the following steps:
[0196] The infusion progress of the insulin infusion device is determined according to at least one of the infusion parameters and the actual number of moving coils of the driving mechanism in the insulin infusion device; the infusion progress includes at least one of the total infusion amount, the infused amount and the total infusion time.
[0197] In the above embodiment, since the infusion progress includes at least one of the total infusion amount, the infused amount and the total infusion time, after determining the infusion progress of the insulin infusion device according to at least one of the infusion parameters and the actual number of moving coils of the driving mechanism in the insulin infusion device, it is beneficial for the user to obtain the infusion progress in time.
[0198] In an exemplary embodiment, the device control method further includes the following steps:
[0199] Obtain a first drug amount corresponding to when the insulin infusion device completes a reset operation; obtain a second drug amount corresponding to when the insulin infusion device completes a line filling operation; and determine an initial drug amount of the insulin infusion device based on the first drug amount and the second drug amount.
[0200] In this embodiment, the first dose corresponding to the insulin infusion device when the reset operation is completed is shown in FIG. Fig.14 , the first drug amount may be the drug amount corresponding to when the push rod reaches the reset position 1403. Optionally, the processor may preset the first drug amount according to parameters such as the model of the reservoir and the reset position, for example, the first drug amount is preset to 250 U. In some embodiments, the processor may also determine the first drug amount corresponding to when the insulin infusion device completes the reset operation based on the user's input.
[0201] The second drug amount corresponding to the completion of the line filling operation of the insulin infusion device can be determined according to the moving distance of the push mechanism 1402 from the reset position 1403 to the contact with the reservoir 1401. Optionally, the processor can determine the second drug amount according to the moving distance of the push mechanism 1402 and the second corresponding relationship between different moving distances and drug amounts, for example, the second drug amount is 50U. The moving distance of the push mechanism 1402 can have a mapping relationship with the number of moving coils of the driving mechanism during the movement of the push mechanism 1402.
[0202] Optionally, the processor may determine the initial drug dose of the insulin infusion device according to the difference between the first drug dose and the second drug dose. Continuing with the above example, the processor may use 250U-50U, that is, 200U, as the initial drug dose of the insulin infusion device.
[0203] In the above embodiment, since the first drug amount corresponding to when the insulin infusion device completes the resetting operation and the second drug amount corresponding to when the insulin infusion device completes the line filling operation can be obtained, the initial drug amount of the insulin infusion device can be accurately determined based on the first drug amount and the second drug amount.
[0204] In an exemplary embodiment, optionally, the above-mentioned device control method may also include the following steps: determining the amount of medicine used in the insulin infusion device based on the actual number of moving coils of the driving mechanism in the insulin infusion device; and determining the remaining amount of medicine in the insulin infusion device based on the initial amount of medicine and the amount of medicine used.
[0205] In this embodiment, the processor can determine the used amount of the insulin infusion device according to the actual number of moving coils of the driving mechanism and the third corresponding relationship between the number of moving coils of the driving mechanism and the amount of medicine. For example, if the actual number of moving coils of the driving mechanism is 20, the used amount of insulin is 15U.
[0206] Furthermore, the processor may determine the remaining amount of the insulin infusion device according to the difference between the initial amount of medicine and the used amount of medicine. For example, the processor may set 200U-15U, that is, 75U, as the remaining amount of the insulin infusion device.
[0207] In the above embodiment, since the used amount of the insulin infusion device can be determined based on the actual number of moving coils of the driving mechanism in the insulin infusion device, the remaining amount of the insulin infusion device can be accurately determined based on the initial amount of medicine and the used amount of medicine.
[0208] In an exemplary embodiment, optionally, the above-mentioned device control method may further include the following steps: determining alarm information according to the operating conditions of the insulin infusion device; the alarm information includes an alarm type and an alarm priority.
[0209] In this embodiment, the operating conditions of the insulin infusion device may include, but are not limited to, the battery voltage of the insulin infusion device, the current dosage, the communication with the driving mechanism, etc. The processor will determine the alarm information according to the operating conditions of the insulin infusion device. Among them, the alarm information includes the alarm type and the alarm priority. The alarm type is, for example, alarm No. 1 to alarm No. N (N can be an integer greater than 2), and different alarm numbers are used to warn different situations. The alarm priority is used to indicate the priority of the alarm prompt. For example, the priority of alarm No. 1 to alarm No. N decreases in sequence. If the processor determines alarm No. 1 and alarm No. 2 at the same time, and the priority of alarm No. 1 is greater than that of alarm No. 2, then alarm No. 1 can be prompted first.
[0210] Further, the processor can generate an alarm prompt according to the alarm information. For example, the processor can display the alarm type through the alarm prompt icon 1205 according to the alarm type with the highest priority. In some embodiments, the alarm prompts corresponding to different priorities can also be different. For example, alarms 1 to 4 are high priority, and the processor can alarm once every 10 seconds, and each alarm rings 5 times. Alarms 5 to 8 are low priority, and the processor can alarm once every 20 seconds, and each alarm rings 3 times.
[0211] In an exemplary embodiment, optionally, the above device control method may include at least one of the following steps:
[0212] (1) When the communication between the processor in the insulin infusion device and the sub-controller of the driving mechanism in the insulin infusion device is abnormal, an alarm message is determined. For example, when the processor communicates abnormally with the control IC of the motor, it is considered that the motor cannot be controlled normally, that is, the motor is abnormal, and an alarm No. 1 indicating "need to contact customer service" is generated.
[0213] (2) When the difference between the battery voltage of the insulin infusion device and the voltage alarm threshold is greater than the first threshold, an alarm message is determined. The voltage alarm threshold can be set as required 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 battery power of the insulin infusion device is about to run out. If the battery power is about to run out but the insulin infusion device is still continued, there is a risk of abnormal restart. The second voltage alarm sub-threshold is used to determine whether the battery of the insulin infusion device needs to be replaced as soon as possible. In this case, the battery power of the insulin infusion device is not much, but it can continue to run for a short period of time.
[0214] For example, the processor may compare the battery voltage with the first voltage alarm sub-threshold value, and when the battery voltage is less than the first voltage alarm sub-threshold value, it is considered that the battery is about to run out of power, and a No. 2 alarm indicating "power exhausted" is generated. The processor may also compare the battery voltage with the second voltage alarm sub-threshold value, and when the battery voltage is less than the second voltage alarm sub-threshold value, it is considered that the insulin infusion device needs to replace the battery as soon as possible, and a No. 7 alarm indicating "power insufficient" is generated.
[0215] (3) When the difference between the current drug dosage of the insulin infusion device and the drug dosage alarm threshold is greater than the second threshold, an alarm message is determined. The drug dosage alarm threshold can also be set as required and is a number greater than 0. The drug dosage alarm threshold may include a first drug dosage alarm sub-threshold and a second drug dosage alarm sub-threshold. The first drug dosage alarm sub-threshold is used to determine whether the drug dosage of the insulin infusion device is about to be exhausted, and continuing to use the insulin infusion device will pose a risk of not being able to perform the infusion operation. The second drug dosage alarm sub-threshold is used to determine whether the insulin infusion device needs to replace the reservoir as soon as possible. In this case, there is not much remaining in the reservoir of the insulin infusion device, but the infusion operation can still continue.
[0216] For example, the processor may compare the current drug amount with the first drug amount alarm sub-threshold. If the current drug amount is less than the first drug amount alarm sub-threshold, the processor may consider that the drug amount is about to be exhausted, and generate a No. 3 alarm indicating "drug amount exhausted". The processor may also compare the current drug amount with the second drug amount alarm sub-threshold. If the current drug amount is less than the second drug amount alarm sub-threshold, the processor may consider that the insulin infusion device needs to replace the reservoir as soon as possible, and generate a No. 8 alarm indicating "insufficient drug amount".
[0217] (4) When the insulin infusion device executes the infusion mode and the pressure value of the pressure sensor in the insulin infusion device is greater than the second preset value, an alarm message is determined. The second preset value is set according to the demand and is a number greater than 0. For example, when the insulin infusion device executes the 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 pipeline of the infusion device in the insulin infusion device is blocked, and a No. 4 alarm indicating "pipeline blockage" is generated.
[0218] (5) When a touch input for the reset filling icon is detected and the initial drug amount of the insulin infusion device is lower than the preset drug amount threshold, an alarm message is determined. The preset drug amount threshold can be set as required 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 drug amount of the insulin infusion device is lower than the preset drug amount threshold, it is considered that the presence of the reservoir is not detected during the reset filling operation, or the reservoir exists but the amount of drug loaded is too low, and an alarm No. 5 of "reservoir empty" is generated.
[0219] (6) When the insulin infusion device executes the infusion mode and the change value of the pressure value of the pressure sensor in the insulin infusion device is less than the third preset value, an alarm message is determined. The third preset value is set according to the demand and can be a number less than 0. Exemplarily, when the insulin infusion device executes the infusion mode, if the processor determines that the change value of the pressure value of the pressure sensor is less than the third preset value, it is considered that the pipeline of the infusion device has fallen off from the target object, and a No. 6 alarm indicating "tube falling off" is generated.
[0220] It can be seen that the alarm information can be accurately and efficiently determined through the operation status of the insulin infusion device, so that the user can check the alarm prompt in time.
[0221] In an exemplary embodiment, optionally, the device control method further includes the following steps:
[0222] Obtain current blood sugar value through blood sugar monitor.
[0223] In this embodiment, the target object can wear a continuous glucose monitor (CGM), which is used to obtain the current blood glucose value of the target object. The processor can communicate with the blood glucose monitor, for example, the processor can be connected to the continuous glucose monitor via Bluetooth. Then, the processor can obtain the current blood glucose value through the blood glucose monitor. In one embodiment, the processor can also determine the changing trend of the current blood glucose value through the blood glucose monitor.
[0224] In the above embodiment, since the current blood sugar value can be obtained through the blood sugar monitor, it is helpful for the user to obtain the accurate current blood sugar value in time.
[0225] In an exemplary embodiment, the human-computer interaction interface also includes at least one display icon, and the display icons include at least one of a dosage icon, a battery icon, a time icon, a date icon, an alarm prompt icon, a mute icon, an infusion information icon, an infusion progress icon, a dosage alarm threshold icon, a dosage threshold range icon, a historical injection icon, a mobile device connection identifier, a blood glucose value icon, an automatic identification icon, and a basal rate parameter icon.
[0226] In order to clearly introduce the display icons in this application, Fig.12 , Fig.15 and Fig.16 Provide explanation. Fig.15 This is a schematic diagram of another main interface in an embodiment of the present application. Fig.16 It is a schematic diagram of a negative one screen in an embodiment of the present 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, and the infusion information may include at least one of the infusion type and the infusion parameter. The mute icon 1204 is used to display whether the insulin infusion device is muted. The alarm prompt 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 power icon 1207 is used to display the current power 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 identification icon 1501 is used to show whether the insulin infusion device has entered the automatic mode. The automatic mode is a mode in which the insulin infusion device determines the infusion information according to the current blood glucose value of the target object. In some embodiments, the insulin infusion device in the automatic mode can also determine the infusion information according to the current blood glucose value and temporary blood glucose parameters of the target object.
[0229] The blood glucose value icon 1502 is used to display the current blood glucose value of the target subject and / or the change trend of the current blood glucose value. The historical injection icon 1503 is used to display whether the insulin infusion device is connected to the mobile device.
[0230] The historical injection icon 1601 is used to display the historical infusion information of the preset infusion type of the insulin infusion device. The preset infusion type can be at least one of the infusion types, for example, a conventional large dose infusion. The basal rate parameter icon 1602 is used to display the current basal rate of the insulin infusion device. The dose alarm threshold icon 1603 is used to display the dose alarm threshold of the insulin infusion device. The dose threshold range icon 1604 is used to display at least one of the upper limit and the lower limit of the dose alarm threshold.
[0231] In an exemplary embodiment, optionally, the human-computer interaction interface may 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 Fig.12 and Fig.15 The function icons in the first interface may include at least one of a pause infusion icon 1201, an infusion progress icon 1202, an infusion information icon 1203, a mute icon 1204, an alarm prompt icon 1205, a time icon 1206, a battery icon 1207, a date icon 1208, a dosage icon 1209, an automatic identification icon 1501, a blood glucose value icon 1502, and a mobile device connection icon 1503.
[0232] by Fig.12For example, according to the infusion progress icon 1202, it can be seen that the user needs to infuse 15U of insulin within 1.5h, and 7.15U has been infused at present. According to the infusion information icon 1203, it can be seen that the insulin infusion device is set to temporarily infuse B1 with a basal rate and a square wave bolus infusion. It is understandable that the icons corresponding to conventional bolus infusion, square wave bolus infusion, and dual-wave bolus infusion are different in the infusion information icon 1203. According to the mute icon 1204, it can be seen that the insulin infusion device is set to mute or suspend the sound alarm. According to the alarm prompt icon 1205, it can be seen that the insulin infusion device has an alarm number 5. According to the time icon 1206, it can be seen that the system time of the insulin infusion device is 19:30. According to the power icon 1207, it can be seen that the insulin infusion device is in a fully charged state. According to the date icon 1208, it can be seen that the current date of the insulin infusion device is April 26. The dosage icon 1209 includes a graphical dosage 1209a and a digital current dosage 1209b. According to the dosage icon 1209, the current dosage of the insulin infusion device is 150U. Fig.12 There is a page navigation at the bottom to facilitate identification of page numbers, e.g. Fig.12 Currently displaying page 2. Fig.15 Similarly, I will not go into details here.
[0233] by Fig.15 For example, according to the infusion information icon 1203, it can be known that the insulin infusion device is set to provide a temporary basal rate infusion B1 and a dual-wave large-dose infusion. According to the automatic identification icon 1501, it can be known that the insulin infusion device has entered the automatic mode. In the automatic mode, the insulin infusion device will automatically determine the infusion information according to the current blood glucose value of the target object. According to the blood glucose value icon 1502, it can be known that the current blood glucose value of the target object is 9.7, which is on an upward trend. According to the mobile device connection identification 1503, it can be known that the insulin infusion device has been connected to the mobile device. Fig.15 The rest of the information in Fig.12 The same is not repeated here.
[0234] Please refer to Figure 3 to Figure 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 a stop infusion icon 301, an infusion configuration icon 302, a reset filling icon 303, a history record icon 402, a version information icon 403, an alarm setting icon 501, a time setting icon 502, a quick switch setting icon, a threshold setting icon 503 and a temporary blood glucose setting icon.
[0235] Please refer to Fig.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 historical injection icon 1601, the basal rate parameter icon 1602, the drug dosage alarm threshold icon 1603 and the drug dosage threshold range icon 1604.
[0236] by Fig.16 For example, the historical injection icon 1601 can show that the last dual-wave large-dose infusion occurred at 6:04 on April 12, and 29.4U was required to be infused, but 212.4U was actually infused. The basal rate parameter icon 1602 can show that the insulin infusion device has set a temporary basal rate infusion B1, and the basal rate is 0U / h. The dosage alarm threshold icon 1603 can show that the current dosage alarm threshold of the insulin infusion device is 30U. The dosage threshold range icon 1604 can show that the upper limit of the dosage alarm threshold of 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 embodiment, since the at least one human-computer interaction interface includes the first interface, the second interface and the 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 applied to an insulin infusion device. It is understandable that the following power-off protection method can be applied to the insulin infusion device described above, and can also be used in other forms of insulin infusion devices.
[0239] When the battery of the insulin infusion device is running low or the target suddenly replaces the battery of the insulin infusion device, the insulin infusion device will suddenly lose power, causing data anomalies in the flash memory of the insulin infusion device and data loss in the random access memory (RAM), causing the insulin infusion device to be in an abnormal state when it is powered on again.
[0240] Therefore, power-off protection for insulin infusion devices is a key research topic for researchers in this field. At present, in some related technologies, in order to perform power-off protection, two flash memories are set in the insulin infusion device, and the data of the insulin infusion device is regularly updated to the flash memories. However, if the update interval is too long, it is easy to cause the insulin infusion device to be in an abnormal state when it is powered on again; if the update interval is too short, the flash memory may be frequently erased and written, resulting in flash memory bad blocks.
[0241] Fig.17This is a structural diagram of another insulin infusion device in an embodiment of the present application. In one embodiment, the insulin infusion device 100 may also 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 the main power supply 1701 and the backup power supply 1702, respectively, and the step-down circuit 1703 is connected to the processor 102 and the backup power supply 1702, respectively.
[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 a dry cell. The backup power supply 1702 may include but is not limited to a lithium battery. The step-down circuit 1703 may include but is not limited to a buck converter circuit (BUCK). The charging circuit 1704 may include but is not limited to a constant voltage charging circuit.
[0243] Fig.18 FIG. 1 is a flow chart of a power-off protection in an embodiment of the present application. In an exemplary embodiment, as shown in FIG. Fig.18 As shown, the above-mentioned device control method includes S1801 to S1803.
[0244] S1801, when it is determined that the insulin infusion device is started, the backup power supply of the insulin infusion device is turned on.
[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 step-down circuit.
[0246] S1802, performing a first data protection operation according to a first power supply voltage of the backup power supply; the first data protection operation includes storing first data in a random access memory of the insulin infusion device into a flash memory.
[0247] Then, the processor acquires the first power supply voltage of the backup power supply and performs the first data protection operation according to the first power supply voltage of the backup power supply. For example, the processor may start the first data protection operation when the first power supply voltage is less than a preset voltage threshold.
[0248] The first data protection operation includes storing the first data in the random access memory of the insulin infusion device to the flash memory. The first data may include but is not limited to the current blood sugar value sent by the blood sugar detector via Bluetooth.
[0249] S1803, when it is determined that the main power 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 storing the second data of the insulin infusion device in the flash memory, and storing the first data in the random access memory in the flash memory.
[0250] In this embodiment, if the main power of the insulin infusion device is turned off due to the battery of the insulin infusion device being exhausted or the user replacing the battery in the insulin infusion device, the processor can determine that the main power of the insulin infusion device is turned off, and perform the second data protection operation according to the second power supply voltage of the main power supply. For example, the processor can consider that the main power supply is abnormal and start the second data protection operation when the second power supply voltage is less than a preset voltage threshold.
[0251] The second data protection operation includes storing the second data of the insulin infusion device into the flash memory, and storing the first data in the random access memory into the flash memory. The second data includes but is not limited to at least one of the drug dosage alarm threshold, the basal rate maximum threshold, the large dose maximum threshold, and the temporary blood glucose parameter in the flash memory.
[0252] In the above embodiment, since the first data protection operation includes storing the first data in the random access memory of the insulin infusion device to the flash memory, and the second data protection operation includes storing the second data of the insulin infusion device to the flash memory, and storing the first data in the random access memory to at least one of the flash memory, when it is determined that the insulin infusion device is started, the backup power supply of the insulin infusion device is turned on, and the first data protection operation can be performed according to the first power supply voltage of the backup power supply, and when it is determined that the main power supply of the insulin infusion device is turned off, the second data protection operation can be performed according to the second power supply voltage of the main power supply, therefore, even if the main power supply of the insulin infusion device is powered off, the data in the insulin infusion device can be saved in time, thereby improving the operating stability of the insulin infusion device.
[0253] In an exemplary embodiment, optionally, the above S1802 may 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 means 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] Exemplarily, taking the first voltage threshold as 3.4V (volts) as an example, if the first power supply voltage of the backup power supply is less than 3.4V, the processor may store the first data in the random access memory to the flash memory every 3 minutes.
[0257] In the above embodiment, 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 time, thereby improving the stability of the insulin infusion device.
[0258] In an exemplary embodiment, optionally, the device control method further includes the following steps:
[0259] When the first power supply voltage is greater than a 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; 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 also compares the first power supply voltage with the second voltage threshold. The second voltage threshold is greater than the first voltage threshold. Taking the second voltage threshold as 4.1V as an example, if the first power supply voltage is greater than 4.1V, it means that the power of the backup power supply is sufficient. In order to avoid frequent erasing and writing of the flash memory, the processor will stop storing the first data in the random access memory of the insulin infusion device to the flash memory.
[0261] In the above embodiment, since the second voltage threshold is greater than the third voltage threshold and when 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, thereby delaying the service life of the flash memory.
[0262] In an exemplary embodiment, optionally, the device control method further includes the following steps:
[0263] Whether to charge the backup battery is determined according to the first power supply voltage.
[0264] In this embodiment, the processor can obtain the first power supply voltage of the backup power supply, and determine whether to charge the backup battery according to the first power supply voltage. Optionally, the processor can obtain the first power supply voltage of the backup power supply after the insulin infusion device is turned on, and determine the state of the backup battery at this time according to the first power supply voltage. The processor can also periodically obtain the first power supply voltage of the backup power supply after the insulin infusion device is started, and determine whether to charge the backup battery according to the first power supply voltage.
[0265] Exemplarily, the processor may 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 may be set as required.
[0266] In the above embodiment, since it is possible to determine whether to charge the backup battery according to the first power supply voltage, the backup battery can be charged promptly and accurately to improve the reliability of the backup battery.
[0267] In one embodiment, determining whether to charge the backup battery according to the first power supply voltage includes:
[0268] When the voltage of the first power supply is less than a first voltage threshold, charging the backup power supply;
[0269] When the first power supply voltage is greater than the second voltage threshold, charging of the backup power supply is stopped.
[0270] In this embodiment, continuing the above example, taking the first voltage threshold as 3.4V and the second voltage threshold as 4.1V as an example, 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 means that the power of 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 means that the power of the backup power supply is sufficient, and the processor will stop charging the backup power supply.
[0271] In the above embodiment, 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 from being charged 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 according to 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 the third voltage threshold. The third voltage threshold is greater than the first voltage threshold and less than the second voltage threshold. For example, if the third voltage threshold is 3.5V, if the first power supply voltage is greater than 3.4V and less than 3.5V, it means that although the backup power supply is not at risk of insufficient power for the time being, it still needs to be charged. Therefore, the processor can charge the backup power supply through the charging circuit.
[0275] In the above embodiment, 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 use stability of the backup power supply is improved.
[0276] In one embodiment, determining whether to charge the backup battery according to the first power supply voltage further includes:
[0277] When the first power supply voltage is not greater than the second voltage threshold and greater than the third voltage threshold, the state of the backup power supply is maintained.
[0278] In this embodiment, the second voltage threshold is 4.1V and the third voltage threshold is 3.5V. If the first power supply voltage is not greater than 4.1V and greater than 3.5V, for example, the first power supply voltage is 3.8V, the processor will maintain the backup power state. It is understandable that the processor may charge the backup power at this time, or may stop charging the backup power.
[0279] For example, assuming that the processor obtains the first power supply voltage of the backup power supply as 3.3V when the computer is turned on, the processor will charge the backup power supply. During the process of charging the backup power supply, the first power supply voltage will gradually increase. After that, the processor continues to periodically obtain the first power supply voltage of the backup power supply. Assuming that the first power supply voltage obtained during the process of charging the backup power supply 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, and then the processor stops charging the backup power supply.
[0280] Furthermore, in the process of stopping charging the backup power supply, the first power supply voltage of the backup power supply may gradually decrease, and 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 first power supply voltage obtained 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, then the processor will charge the backup power supply.
[0281] Fig.19 FIG. 1 is a process diagram of a first data protection operation in an embodiment of the present application. Fig.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 the second voltage threshold, the processor stops storing the first data in 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 the first power supply voltage is not less than the second threshold voltage, the state of the backup power supply is maintained. If the first power supply voltage is not greater than the second voltage threshold, and the first power supply voltage is less than the second threshold voltage, and further less than the first threshold voltage, the processor periodically stores the first data in the random access memory to the flash memory and continues to charge the backup power supply. If the first power supply voltage is not greater than the second voltage threshold, and the first power supply voltage is less than the second threshold voltage, and the first power supply voltage is not less than the first voltage threshold, the backup power supply is charged.
[0282] In an exemplary embodiment, optionally, the above S1803 may include the following steps:
[0283] When it is determined that the main power supply of the insulin infusion device is turned off, a second power supply voltage is obtained; and a second data protection operation is performed when the second power supply voltage is less than a fourth voltage threshold.
[0284] In this embodiment, the processor detects whether the main power supply is turned off. Optionally, the processor can be connected to a switching chip, and the switching chip is respectively connected to the main power supply, the step-down circuit and the processor. The switching chip is used to detect whether the main power supply of the insulin infusion device is turned 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 turned off.
[0285] Furthermore, when the processor detects that the main power is turned off, that is, when it determines that the main power of the insulin infusion device is turned off, it obtains the second power supply voltage of the main power supply and compares the second power supply voltage with the fourth voltage threshold to perform a second data protection operation when the second power supply voltage is less than the fourth voltage threshold.
[0286] Among them, the fourth voltage threshold is used to determine whether the detected main power shutdown is reliable, which can be determined according to actual needs. Exemplarily, 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 according to the interrupt signal to see if it is less than 1V. If the second power supply voltage is less than 1V, it means that the interrupt signal is a true signal, and then the second data of the insulin infusion device can be stored in the flash memory, and the first data in the random access memory can be stored in the 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 embodiment, since the second power supply voltage can be obtained when it is determined that the main power supply of the insulin infusion device is turned 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-off protection is improved.
[0288] In an exemplary embodiment, optionally, the above-mentioned “performing the second data protection operation when the second power supply voltage is not less than the fourth voltage threshold” can be implemented in the following manner:
[0289] If the second power supply voltage is less than the fourth voltage threshold, a second data protection operation is performed within a preset countdown.
[0290] In this embodiment, continuing the above example, if the second power supply voltage is less than 1 V, the processor can perform the second data protection operation within 2S (seconds). It can be understood that the preset countdown can also be set to other durations.
[0291] In the above embodiment, since the second data protection operation can be performed within the preset countdown when the second power supply voltage is not less than the fourth voltage threshold, the efficiency of power-off protection is improved.
[0292] In an exemplary embodiment, optionally, the 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 a fourth voltage threshold, the backup power supply is turned on.
[0294] In this embodiment, continuing with the above example, if the second power supply voltage is not less than 1V, the processor will start a preset countdown of 2S. When the 2S countdown ends, that is, when the preset countdown is reached, the processor will control the backup power supply to shut down.
[0295] Further, when the backup power supply is turned off, the processor will continue to detect the second voltage power supply of the main power supply. If the second power supply voltage is not less than 1V, it means that a new dry cell has been reinstalled, and the backup power supply will continue to be turned on. Optionally, if the second power supply voltage is less than a fourth voltage threshold, the insulin infusion device is turned off.
[0296] In the above embodiment, 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] Fig. 20 FIG. 1 is a process diagram of a first data protection operation in an embodiment of the present application. Fig. 20 As shown, the processor detects the second power supply voltage after detecting that the main power supply is turned off. If the second power supply voltage is not less than the fourth voltage threshold, the detection of the main power supply being turned off is ignored. If the second power supply voltage is less than the fourth voltage threshold, the preset countdown is started, and the second data protection operation is performed within the preset countdown. That is to say, after the preset countdown is started, if the preset countdown is not reached, the process of the second data protection operation is returned. If the preset countdown is reached, the backup power supply is turned off, and the second power supply voltage of the main power supply is detected after the backup power supply is turned off. If the second power supply voltage is not less than the fourth voltage threshold, the backup power supply is turned on. 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 an exemplary embodiment, optionally, the device control method further includes the following steps:
[0299] In the case that the second power supply voltage of the main power supply is less than the exhaustion voltage threshold, the backup power supply is turned off.
[0300] In this embodiment, the processor also compares the second power supply voltage with the exhaustion voltage threshold. When the second power supply voltage is less than the exhaustion voltage threshold, it indicates that the power of the insulin infusion device is about to be exhausted and there is no need to supply power to the backup power supply. Therefore, the processor turns off the backup power supply. The exhaustion voltage threshold can be set as required and is a number greater than 0.
[0301] In the above embodiment, since the backup power supply can be turned off when the second power supply voltage of the main power supply is less than the exhaustion voltage threshold, the safety of the insulin infusion device is improved.
[0302] In an exemplary embodiment, optionally, the device control method further includes the following steps:
[0303] In case of abnormal communication between the processor in the insulin infusion device and the sub-controller of the drive mechanism, the backup power supply is turned off.
[0304] In this embodiment, if there is an abnormality in communication between the processor and the sub-controller of the drive mechanism, for example, there is an abnormality in communication between the processor and the control IC of the motor, 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 turn off the backup power supply in this case.
[0305] In the above embodiment, since the backup power supply can be turned off when the communication between the processor in the insulin infusion device and the sub-controller of the driving mechanism is abnormal, the safety of the insulin infusion device is improved.
[0306] In order to more clearly introduce the power-off protection method in the embodiment of the present application, Fig.21 Provide explanation. Fig.21 FIG. 1 is a schematic diagram of the structure of another insulin infusion device in the embodiment of the present application. Fig.21 As shown, in Figure 1 On the basis of, the insulin infusion device 100 may further include a switching chip 2101 , a first boost circuit 2102 , a second boost circuit 2103 and a third boost circuit 2104 .
[0307] Take the first boost circuit 2102 as a 3V boost circuit (Boost), the second boost circuit 2103 as a 17V boost circuit, the third boost circuit 2104 as a 5V boost circuit, and the buck circuit 1703 as a 3V buck circuit as an example. The main power supply 1701 generates a 3V main power supply after passing through the first boost circuit 2102, and the 3V main power supply 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 touch screen, and the display may be an organic light emitting semiconductor (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 charges the backup power supply 1702 through the charging circuit 1704. The backup power supply 1702 generates a 3V backup power supply through the step-down circuit 1703.
[0309] The switching chip 2101 can switch between the 3V backup power supply and the 3V main power supply. Optionally, the switching chip 2101 can give priority to the 3V main power supply. When the 3V main power supply is powered off, the switching chip 2101 can automatically switch to the 3V backup power supply. If the 3V main power supply is powered on again, the switching chip 2101 can switch from the 3V backup power supply to the 3V main power supply. During the entire switching process, the 3V power supply output by the switching chip 2101 has never lost power.
[0310] Since the backup power supply 1702 has limited space in the insulin infusion device, the selected capacity is very small, and it can be used as a backup power supply for a while when the main power supply 1701 loses power abnormally. The backup power supply 1702 should not be charged and discharged frequently, so it is necessary to manage its charging process through the third boost circuit 2104, and the discharge process when the power supply is managed through the step-down circuit 1703.
[0311] In some embodiments, the processor 102 may charge the backup power supply 1702 through the charging circuit 1701 based on the charging indication. If the charging circuit 1701 prompts a charging completion prompt 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 may be disconnected to stop charging the backup power supply 1702.
[0312] In some embodiments, due to energy saving considerations, during the power failure 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 failure of the main power supply 1701, the processor 102 can work normally, but the user interface 101 cannot work.
[0313] Fig. 22 FIG. 1 is a schematic diagram of a power-off protection method according to an embodiment of the present application. Fig. 22 As shown, when the insulin infusion device is turned on, the main power supply 1701 is turned on, and the processor 102 checks the battery power of the main power supply and the self-test of the driving mechanism. Then, the processor 102 controls the third boost circuit 2104 to turn on, so as to turn on the backup power supply 1702 through the step-down circuit 1703. After that, the processor 102 enters the first data protection module, which is also the first data protection module. Fig.14 The process shown.
[0314] After that, the processor 102 enters the main loop, periodically triggers the timing interrupt through the RTC, and enters the first data protection module when the timing interrupt is generated. Fig.19 The process shown in FIG. 1 shows a flow chart of the embodiment of the present invention. In the case where no timing interrupt is generated, the processor periodically triggers a power-off interrupt and enters the second data protection module when a power-off interrupt is generated. The second data protection module is also Fig. 20 After executing Fig. 20 In the process shown, or when no power-off interrupt is generated, the processor will periodically detect whether the second power supply voltage is less than the exhaustion voltage threshold.
[0315] Furthermore, if the second power supply voltage is less than the exhaustion voltage threshold, the backup power supply is turned off and the main loop is returned. If the second power supply voltage is not less than the exhaustion voltage threshold, the processor and the sub-controller of the drive mechanism are further periodically detected to see if the communication is abnormal. If the communication is abnormal, the backup power supply is turned off and the main loop is returned. If the communication is normal, the main loop is returned.
[0316] In this way, the power-off protection method provided in this embodiment can fundamentally solve the problem of data anomalies caused by sudden power failure of the insulin infusion device. The insulin infusion device includes a dual-power supply automatic switching circuit. When the main power supply is cut off, it can seamlessly switch to the backup power supply, and in this process, it can save data in time, thereby realizing the power-off protection function.
[0317] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0318] In one embodiment, Figure 1 As shown, an insulin infusion device 100 is also provided. The insulin infusion device 100 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 refer to the above-mentioned introduction to the device control method, which will not be repeated here.
[0320] Fig.23 FIG. 1 is a schematic diagram of another insulin infusion device in an embodiment of the present application. Fig.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-off protection circuit 2301. The processor 102 is used to respond to user input to implement any of the above-mentioned device control methods. The power-off protection circuit 2301 includes a main power supply circuit and a backup power supply circuit, the main power supply circuit is used to provide a main power supply to the processor, and the backup power supply circuit is used to provide a backup power supply to the processor when the main power supply circuit is cut off.
[0321] Please refer to Fig.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 step-down circuit 1703, a charging circuit 1704 and a third boost circuit 2104.
[0322] The process of power-off protection can refer to the above introduction of the power-off protection method, which will not be repeated here.
[0323] Based on the same inventive concept, the embodiment of the present application also provides a control device for an insulin infusion device for implementing the device control method mentioned above. The control device stores control instructions, and when the control instructions are executed by the processor, the steps of any of the device control methods mentioned above are implemented.
[0324] Fig.24 : is an internal structure diagram of the control device in the embodiment of the present application, such as Fig.24As shown, the control device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the control device is used to provide computing and control capabilities. The memory of the control device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the control device is used to store relevant data. The input / output interface of the control device is used to exchange information between the processor and an external device. The communication interface of the control device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a device control method is implemented.
[0325] Those skilled in the art will understand that Fig.24 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the control device to which the scheme of the present application is applied. The specific control device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0326] The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more device control device embodiments provided below can refer to the limitations on the device control method above, and will not be repeated here.
[0327] Each module in the above control device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0328] In one embodiment, a computer-readable storage medium is further provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0329] In one embodiment, a computer program product is also provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0330] In one embodiment, a closed-loop blood glucose management system is further provided, and the closed-loop blood glucose management system includes any one of the above-mentioned insulin infusion devices 100 .
[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, stored data, displayed data, 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 relevant data must comply with relevant regulations.
[0332] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present 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), magnetoresistive 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. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0333] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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 above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A device control method, characterized in that: Applied to an insulin infusion device, the insulin infusion device includes a human-computer interaction interface, and a function icon on the human-computer interaction interface is used to receive user input. The method includes: After waking up the insulin infusion device, the current operating mode of the insulin infusion device is displayed on the current interface; In the current operation mode, when a user's current input to the function icon is monitored, determining whether the current input belongs to a prohibited operation of the safety operation rule according to the safety operation rule of the current operation mode; If the current input belongs to the prohibited operation, the insulin infusion device is controlled not to respond to the current input and not to change the current operation mode; the non-response to the current input means receiving the current input but not executing the instruction corresponding to the current input; If the current input does not belong to the prohibited operation, the insulin infusion device is controlled to execute a corresponding instruction in response to the current input.
2. The device control method according to claim 1, characterized in that: The function icons include at least one of a bolus infusion icon, a basal rate infusion icon and a reset filling icon, and a stop infusion icon, wherein the stop infusion icon is used to control the operation mode of the insulin infusion device to be a stop infusion mode; the bolus infusion icon is used to control the operation mode of the insulin infusion device to be a bolus infusion mode; the basal rate infusion icon is used to set the regular infusion dose of the insulin infusion device; the reset filling icon is used to control the operation mode of the insulin infusion device to be a reset filling mode, and the reset filling mode is used to complete automatic filling of the pipeline after replacing a new reservoir of the insulin infusion device; The prohibition operation of the safety operation rule of the stop infusion mode includes prohibiting at least one of starting the large dose infusion mode and prohibiting starting the basal rate infusion mode; When the current operation mode is the stop infusion mode, the method further includes at least one of the following: monitoring a first input of the bolus infusion icon by a user, and controlling the insulin infusion device not to initiate the bolus infusion mode in response to the first input; monitoring a second user input to the basal rate infusion icon, and controlling the insulin infusion device not to initiate the basal rate infusion mode in response to the second input; The method further comprises monitoring a third user input to the reset filling icon, and controlling the insulin infusion device to initiate the reset filling mode in response to the third input.
3. The device control method according to claim 1, characterized in that: The function icons further include at least one of a time setting icon, a reset filling icon, a temporary basal rate infusion icon and a pause infusion icon, and a bolus infusion icon; the bolus infusion icon is used to control the operation mode of the insulin infusion device to be a bolus infusion mode; the reset filling icon is used to control the operation mode of the insulin infusion device to be a reset filling mode; the temporary basal rate infusion icon is used to control the operation mode of the insulin infusion device to be a temporary basal rate infusion mode; the pause infusion icon is used to pause the operation of at least one of the bolus infusion mode and the temporary basal rate infusion mode; The prohibition operation of the safety operation rule of the large-dose infusion mode also includes at least one of prohibiting the re-start of the large-dose infusion mode, prohibiting the start of the reset filling mode, and prohibiting the modification of the system time of the insulin infusion device; When the current operation mode is the large-dose infusion mode, the method further includes at least one of the following: monitoring a fourth input of the user to the bolus infusion icon, and controlling the insulin infusion device not to restart the bolus infusion mode in response to the fourth input; monitoring a fifth input of the user to the reset filling icon, and controlling the insulin infusion device not to initiate the reset filling mode in response to the fifth input; monitoring a sixth input of the user to the basal rate infusion icon, and controlling the insulin infusion device to initiate the basal rate infusion mode in response to the sixth input; monitoring a seventh input of the user to the temporary basal rate infusion icon, and controlling the insulin infusion device to initiate the temporary basal rate infusion mode in response to the seventh input; monitoring an eighth user input to the pause infusion icon, and controlling the insulin infusion device to pause the bolus infusion mode in response to the eighth input; The method further comprises monitoring a ninth input of the user 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.
4. The device control method according to claim 1, characterized in that: The function icon further includes at least one of a reset filling icon and a time setting icon and a temporary basal rate infusion icon; the reset filling icon is used to control the operation mode of the insulin infusion device to be a reset filling mode; the temporary basal rate infusion icon is used to control the operation mode of the insulin infusion device to be a temporary basal rate infusion mode; The prohibited operation of the safety operation rule of the temporary basal rate infusion mode includes at least one of prohibiting the initiation of the reset filling mode and prohibiting the modification of the system time of the insulin infusion device; When the current operation mode is the temporary basal rate infusion mode, the method further includes at least one of the following: monitoring an eleventh input of the user to the reset filling icon, and controlling the insulin infusion device not to initiate the reset filling mode in response to the eleventh input; The method further comprises monitoring a twelfth input of the user 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.
5. The method according to claim 1, characterized in that The method further comprises at least one of the following: determining alarm information in case of abnormal communication between a processor in the insulin infusion device and a sub-controller of a drive mechanism in the insulin infusion device; In the case where the difference between the battery voltage of the insulin infusion device and the voltage alarm threshold is greater than a first threshold, determining an alarm message; In the case where the difference between the current drug amount of the insulin infusion device and the drug amount alarm threshold is greater than a second threshold, determining an alarm message; When the insulin infusion device executes an infusion mode and a pressure value of a pressure sensor in the insulin infusion device is greater than a second preset value, determining an alarm message; When a touch input for a reset filling icon is detected and the initial drug volume of the insulin infusion device is lower than a preset drug volume threshold, determining an alarm message; When the insulin infusion device executes the infusion mode and the change value of the pressure value of the pressure sensor in the insulin infusion device is less than a third preset value, an alarm message is determined.
6. The device control method according to any one of claims 1 to 5, characterized in that: The method further includes waking up the insulin infusion device in response to a current input of a user to a main control icon of the insulin infusion device when the insulin infusion device is in a locked screen or a stopped screen.
7. The device control method according to any one of claims 1 to 5, 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 a pause infusion icon, an infusion progress icon, an infusion information icon, a mute icon, an alarm prompt icon, a time icon, a battery icon, a date icon, a dosage icon, an automatic identification icon, a blood glucose value icon, and a mobile device connection identification.
8. An insulin infusion device, characterized in that: The insulin infusion device comprises: A user interface, wherein the user interface is used to receive user input; at least one memory storing executable instructions corresponding to the user input, At least one processor, wherein the processor is configured to execute the executable instructions to implement the device control method according to any one of claims 1 to 7.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A closed-loop blood glucose management system, characterized in that: The closed-loop blood glucose management system comprises the insulin infusion device according to claim 9.
Citation Information
Patent Citations
Medicine injection and disease management systems, devices, and methods
CN110675949A
System and method for displaying patient data
CN114730627A
Device control method, insulin infusion device and storage medium
CN118384364A
Device control method, insulin infusion device and storage medium
CN119139578A
Dynamic medication and protocol manager for home
US20190088353A1
Cited By
Device control method, insulin infusion device and storage medium
CN119139578A
Device control method, insulin infusion device and closed-loop blood glucose management system
CN119139578B