Communication control method for implantable medical device, storage medium and device
By controlling the power-on and power-off of the Bluetooth module in implantable medical devices, combined with a preset encryption protocol, the problem of excessive power consumption of the Bluetooth module in implantable medical devices is solved, achieving long device life and secure and reliable data communication.
Patent Information
- Application Number
- PCT/CN2026/090711
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-09
- Filing Date
- 2026-04-15
- Publication Date
- 2026-11-12
AI Technical Summary
The power consumption of existing low-power Bluetooth modules in implantable medical devices is unsuitable for long-life battery-powered devices. How can a communication control method be provided to reduce the power consumption of Bluetooth modules while meeting the requirements for long lifespan and ensuring the security of the communication link?
The main control module controls the Bluetooth module to power on when data communication is needed and power off when data communication is not needed. Data transmission is carried out in conjunction with a preset encryption protocol. By utilizing the connection relationship between the power supply pin, reset pin, wake-up pin, SPI harness and interrupt pin, the power consumption management and data exchange control of the Bluetooth module are realized.
It significantly reduces the average power consumption of Bluetooth modules, extends the lifespan of implantable medical devices, ensures the stability and reliability of data communication, and ensures the security of the communication link through encryption protocols, all without increasing hardware costs.
Smart Images

Figure CN2026090711_12112026_PF_FP_ABST
Abstract
Description
Communication control methods, storage media and devices for implantable medical devices Technical Field
[0001] This invention relates to the field of implantable medical technology, and in particular to a communication control method, storage medium, and implantable medical device for an implantable medical device. Background Technology
[0002] The average continuous operating current of a BLE (Bluetooth Low Energy) module (or chip) is approximately 5mA. While this can significantly reduce power consumption and cost while maintaining the same communication range, the continuous power consumption of a Bluetooth module is unsuitable for battery-powered, long-life devices, such as implantable pacemakers and defibrillators that require an average current in the μA (microamp, 1mA = 1000μA) range and a lifespan of up to 10 years. Therefore, how to provide a communication control method for implantable devices that keeps the power consumption of the Bluetooth module low while meeting the long lifespan requirements of implantable medical devices has become one of the technical problems that urgently need to be solved by those skilled in the art.
[0003] It should be noted that the information disclosed in the background section of this invention is intended only to enhance the understanding of the general background of this invention, and should not be construed as an admission or in any way implying that the information constitutes prior art known to those skilled in the art. Summary of the Invention
[0004] The purpose of this invention is to provide a communication control method, storage medium, and implantable medical device for implantable medical devices. This invention enables the Bluetooth module of the implantable medical device to be powered on only when data communication is needed and powered off when data communication is not needed, thereby significantly reducing the average power consumption of the Bluetooth module and thus improving the service life of the implantable medical device. Furthermore, through a preset encryption protocol, this invention can also effectively ensure the security of the communication link.
[0005] To achieve the above objectives, the present invention provides a communication control method for an implantable medical device; wherein the implantable medical device includes a main control module and a Bluetooth module, the main control module and the Bluetooth module being connected via a power supply pin, a reset pin, a wake-up pin, an SPI harness, and an interrupt pin; the communication control method includes:
[0006] When the implantable medical device needs to communicate with the Bluetooth terminal, the main control module powers on the Bluetooth module and puts it into a sleep state through the power supply pin and the reset pin, and wakes up the Bluetooth module through the wake-up pin to initialize the SPI interface.
[0007] After the Bluetooth module completes the initialization operation of the SPI interface, it enters the ready state and provides feedback through the interrupt pin. After receiving the ready state, the main control module sends a communication command through the SPI harness. The Bluetooth module transmits data with the Bluetooth terminal according to the communication command and the first preset encryption protocol. When the main control module receives the instruction execution status returned by the Bluetooth module through the interrupt pin, the main control module obtains the instruction execution result through the SPI harness.
[0008] When the implantable medical device does not need to communicate with the Bluetooth terminal, the main control module controls the Bluetooth module to be in a power-off state through the power supply pin and the reset pin.
[0009] Optionally, the communication command includes broadcast parameter information and communication data information; the communication control method includes:
[0010] The main control module sends the broadcast parameter information through the SPI harness;
[0011] The Bluetooth module broadcasts according to the broadcast parameter information, and after successfully pairing, connecting and verifying with the Bluetooth terminal, it feeds back that it is in a connected state through the interrupt pin.
[0012] The main control module obtains the broadcast status of the Bluetooth module through the SPI harness during the broadcast process of the Bluetooth module, and sends the communication data information through the SPI harness after receiving the connection status;
[0013] The Bluetooth module encrypts the communication data information according to the first preset encryption protocol and sends it to the Bluetooth terminal, and receives the execution result information returned by the Bluetooth terminal; the Bluetooth module also decrypts the execution result information according to the first preset encryption protocol, and feeds back the execution result status through the interrupt pin;
[0014] The main control module obtains the decrypted execution result information through the SPI harness.
[0015] Optionally, the first preset encryption protocol includes a private transport layer protocol and a private application layer protocol.
[0016] Optionally, the communication control method further includes:
[0017] When the main control module receives a programming command from the programmer via the magnetic induction coil, it determines that the implantable medical device needs to communicate with the Bluetooth terminal. At this time, the main control module operates in programming mode and generates a programming key according to a second preset encryption protocol, enabling the programmer to obtain the programming key via the magnetic induction coil. The programming key is used for pairing verification between the Bluetooth module and the Bluetooth terminal; and / or
[0018] When the main control module is working in follow-up mode, the main control module controls the Bluetooth module to switch between power-on and power-off states according to a first preset time interval.
[0019] Optionally, the communication control method further includes: when the Bluetooth module connection times out, or communication with the Bluetooth terminal ends, or the Bluetooth terminal is accidentally disconnected, the main control module switches from the program control mode to the follow-up mode.
[0020] Optionally, when the main control module operates in program-controlled mode, the Bluetooth module broadcasts according to the broadcast parameter information, including:
[0021] The Bluetooth module, based on the broadcast parameter information, first sends a broadcast packet every second preset time interval for a total of a first preset number of times; then it sends a broadcast packet every third preset time interval until the first preset duration is exceeded.
[0022] Optionally, when the main control module is operating in follow-up mode, the Bluetooth module broadcasts according to the broadcast parameter information, including:
[0023] The Bluetooth module sends a set of broadcast packets every first preset time interval according to the broadcast parameter information. Each set of broadcast packets is sent in a pattern of being sent continuously for a second preset number of times at a second preset time interval.
[0024] Optionally, before the main control module powers on the Bluetooth module and puts it into a sleep state via the power supply pin and the reset pin, the communication control method further includes: the main control module enabling a fully linear boost mode.
[0025] To achieve the above objectives, the present invention also provides a readable storage medium storing a computer program, which, when executed by a processor, implements the communication control method described in any of the preceding claims.
[0026] To achieve the above objectives, the present invention also provides an implantable medical device, the implantable medical device including the above-described readable storage medium.
[0027] Compared with the prior art, the communication control method, storage medium, and implantable medical device provided by the present invention have the following advantages:
[0028] The communication control method for implantable medical devices provided by this invention allows the main control module to power on the Bluetooth module when the implantable medical device needs to communicate with a Bluetooth terminal, and to power off the Bluetooth module when the implantable medical device does not need to communicate with the Bluetooth terminal. This significantly reduces the average power consumption of the Bluetooth module, thereby extending the lifespan of the implantable medical device. Furthermore, the main control module sends a communication command only after receiving the ready status (i.e., SPI interface initialization complete) from the Bluetooth module, and obtains the command execution result only after receiving the command execution status returned by the Bluetooth module. Therefore, through the control logic of "issuing instructions - waiting for feedback - obtaining results", the running time of the Bluetooth module is effectively managed, and each stage of data exchange is effectively controlled, thereby effectively ensuring the stability and reliability of data communication. Furthermore, the Bluetooth module and the Bluetooth terminal transmit data according to the first preset encryption protocol, thereby effectively ensuring the security of the communication link. In addition, the communication control method for implantable medical devices provided by this invention is based on the existing connection relationship between the power supply pin, reset pin, wake-up pin, SPI harness, and interrupt pin of the main control module of the implantable medical device and the Bluetooth module, without adding any hardware costs.
[0029] Since the readable storage medium and implantable medical device provided by this invention belong to the same inventive concept as the communication control method for the implantable medical device provided by this invention, the readable storage medium and implantable medical device provided by this invention have at least all the advantages of the communication control method for the implantable medical device provided by this invention. For details on the beneficial effects of the readable storage medium and implantable medical device provided by this invention, please refer to the above description of the beneficial effects of the communication control method for the implantable medical device provided by this invention, which will not be repeated here. Attached Figure Description
[0030] Figure 1 is a schematic diagram of the connection between the main control module and the Bluetooth module of an implantable medical device;
[0031] Figure 2 is a schematic diagram of the overall flow of the communication control method for an implantable medical device provided in one embodiment of the present invention;
[0032] Figure 3 is a schematic diagram of the interaction between the main control module, the Bluetooth module, and the Bluetooth terminal in a specific example of the communication control method for the implantable medical device provided by the present invention.
[0033] Figure 4 is a schematic diagram of the structure of the first preset private encryption protocol used in the communication control method of the implantable medical device provided in one embodiment of the present invention.
[0034] Figure 5 is a schematic diagram of the connection between the programmable controller and the implantable medical device;
[0035] Figure 6a is a schematic diagram of the interaction between the programmable controller, the main control module and the Bluetooth module in another specific example of the communication control method of the implantable medical device provided by the present invention.
[0036] Figure 6b is a schematic diagram of steps (5.1)-(5.6) in Figure 6a;
[0037] The reference numerals in the attached diagram are as follows: Implantable medical device-100, main control module-110, Bluetooth module-120, receiver-130; programmable controller-200, programmable head-210, Bluetooth terminal-220. Detailed Implementation
[0038] The following detailed description, in conjunction with the accompanying drawings, further illustrates the communication control method, storage medium, and implantable medical device of the present invention. The advantages and features of the present invention will become clearer from the following description. It should be noted that the drawings are in a very simplified form and use non-precise proportions, used only to facilitate and clearly illustrate the embodiments of the present invention. Please refer to the drawings to make the objectives, features, and advantages of the present invention more apparent and understandable. It should be understood that the structures, proportions, sizes, etc., depicted in the accompanying drawings are only for the purpose of assisting those skilled in the art in understanding and reading the content disclosed in the specification, and are not intended to limit the implementation conditions of the present invention. Any modifications to the structure, changes in proportions, or adjustments to the size, provided that the effects and objectives achieved by the present invention are the same or similar, should still fall within the scope of the technical content disclosed in the present invention. Specific design features of the present invention disclosed herein, including, for example, specific dimensions, orientations, positions, and shapes, will be determined in part by the specific application and usage environment. Furthermore, in the embodiments described below, the same reference numerals are sometimes used across different drawings to denote the same parts or parts having the same function, omitting repeated descriptions. In this specification, the same reference numerals and letters are used to denote the same items; therefore, once an item is defined in one figure, it need not be discussed further in subsequent figures. Furthermore, if the methods described herein involve a series of steps, and the order of these steps presented herein is not necessarily the only possible order in which they can be performed, some of the described steps may be omitted and / or other steps not described herein may be added to the method.
[0039] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element. The singular forms “a,” “an,” and “the” include plural objects. The term “or” is generally used to mean “and / or,” the term “several” is generally used to mean “at least one,” and the term “at least two” is generally used to mean “two or more.” Furthermore, the terms “first,” “second,” and “third” are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated.
[0040] It should be noted that, unless otherwise specified, "Bluetooth" in the following text refers to BLE, which is Bluetooth Low Energy.
[0041] To facilitate a better understanding of the present invention, the basic principles of the present invention will be briefly explained below before describing specific embodiments of the communication control method, storage medium, and implantable medical device provided by the present invention:
[0042] To enable the application of Bluetooth Low Energy (BLE) modules in low-power scenarios of battery-powered devices, the inventors of this invention, through extensive practice and in-depth research, discovered that for implantable medical devices, the BLE module is only actually used during data exchange for programmable control or remote follow-up. Therefore, the BLE module can remain in low-power mode or sleep state outside of communication sessions, thereby keeping the power consumption of the Bluetooth module within a low range, which can meet the long lifespan requirements of implantable medical devices. Furthermore, communication data can be encrypted using a preset encryption protocol to enhance data transmission security. Additionally, outside of data exchange, the Bluetooth module needs to periodically broadcast to achieve pairing and connection with external devices (such as programmable controllers). The power consumption of the Bluetooth module is relatively high during broadcasting; therefore, fine-grained management of the broadcast frequency can further extend the overall lifespan of the implantable medical device.
[0043] Based on the above research, the core idea of this invention is to provide a communication control method, storage medium, and implantable medical device for implantable medical devices. This invention enables the Bluetooth module of the implantable medical device to be powered on only when data communication is needed and powered off when data communication is not needed, thereby significantly reducing the average power consumption of the Bluetooth module and thus improving the service life of the implantable medical device. Furthermore, through a preset encryption protocol, this invention can also effectively ensure the security of the communication link.
[0044] It should be noted that the communication control method and readable storage medium of the implantable medical device provided by the present invention can be applied to the implantable medical device provided by the present invention. The implantable medical device provided by the present invention can be, but is not limited to, an implantable pacemaker, an implantable cardioverter defibrillator, and an implantable cardiovascular monitor.
[0045] To facilitate a better understanding of this invention, a brief description of the relevant components of the implantable medical device upon which the communication control method for the implantable medical device provided by this invention is based will be given first.
[0046] For example, please refer to Figure 1, which is a schematic diagram of the connection between the main control module and the Bluetooth module of an implantable medical device. As shown in Figure 1, the implantable medical device includes a main control module 110 and a Bluetooth module 120. The main control module 110 and the Bluetooth module 120 are connected through a power supply pin (marked as power in Figure 1), a reset pin (marked as reset in Figure 1), a wake-up pin (marked as wakeup in Figure 1), an SPI harness (marked as SPI in Figure 1), and an interrupt pin (marked as RF_IT in Figure 1). Specifically, the main control module 110 controls whether the Bluetooth module 120 is powered on by a power source (i.e., the power supply battery of the implantable medical device, not shown in Figure 1) through the power supply pin; the main control module 110 resets the Bluetooth module 120 through the reset pin; the main control module 110 can wake up the Bluetooth module 120 that is powered on but in a sleep state through the wake-up pin; the SPI harness usually contains multiple signal lines, which are used by the main control module 110 to read the status of the Bluetooth module 120 and exchange data with the Bluetooth module 120; the interrupt pin is the hardware interrupt input for the Bluetooth module 120 to connect to the main control module 110, which is used to notify the main control module 110 to read the status of the Bluetooth module 120 or read the result of the instruction execution when the status of the Bluetooth module 120 changes.
[0047] It should be noted that the present invention does not impose excessive limitations on the main control module 110 of the implantable medical device. Typically, the main control module 110 is a dedicated custom chip. Taking the implantable medical device as a defibrillator as an example, the main control module 110 is responsible for pacing, sensing, and defibrillation functions. Furthermore, the main control module 110 may also include a processor and system software running on the processor. The processor may be a microcontroller unit (MCU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor. The processor is the control center of the implantable medical device, connecting all parts of the implantable medical device through various interfaces and lines. The system software is used to manage and control the hardware resources of the implantable medical device to achieve functions including, but not limited to, the main control module of the implantable medical device controlling the power-on and power-off of the Bluetooth module and data exchange.
[0048] For example, please refer to Figure 2, which is a schematic flowchart of the communication control method for an implantable medical device provided in one embodiment of the present invention. As can be seen from Figure 2, the communication control method for an implantable medical device provided by the present invention includes the following steps:
[0049] S100: When the implantable medical device needs to communicate with the Bluetooth terminal, the main control module powers on the Bluetooth module and puts it into a sleep state through the power supply pin and the reset pin, and wakes up the Bluetooth module through the wake-up pin to initialize the SPI interface.
[0050] S200: After the Bluetooth module completes the initialization operation of the SPI interface, it enters the ready state and provides feedback through the interrupt pin. After receiving the ready state, the main control module sends a communication command through the SPI harness. The Bluetooth module transmits data with the Bluetooth terminal according to the communication command and the first preset encryption protocol. When the main control module receives the instruction execution status returned by the Bluetooth module through the interrupt pin, the main control module obtains the instruction execution result through the SPI harness.
[0051] S300: When the implantable medical device does not need to communicate with the Bluetooth terminal, the main control module controls the Bluetooth module to be in a power-off state through the power supply pin and the reset pin.
[0052] Therefore, the communication control method for implantable medical devices provided by this invention allows the main control module to power on the Bluetooth module when the implantable medical device needs to communicate with the Bluetooth terminal, and to power off the Bluetooth module when the implantable medical device does not need to communicate with the Bluetooth terminal. This significantly reduces the average power consumption of the Bluetooth module, thereby extending the lifespan of the implantable medical device. Furthermore, the main control module sends a communication command only after receiving the ready state (i.e., SPI interface initialization completed) from the Bluetooth module, and obtains the command execution result only after receiving the command execution status returned by the Bluetooth module. Thus, through the control logic of "issuing instructions - waiting for feedback - obtaining results," the running time of the Bluetooth module is effectively managed, and each stage of data exchange is effectively controlled, thereby effectively ensuring the stability and reliability of data communication. Furthermore, the Bluetooth module and the Bluetooth terminal transmit data according to a first preset encryption protocol, thereby effectively ensuring the security of the communication link. In addition, the communication control method for implantable medical devices provided by this invention is based on the existing connection relationship between the power supply pin, reset pin, wake-up pin, SPI harness, and interrupt pin of the main control module of the implantable medical device and the Bluetooth module, without adding any hardware costs.
[0053] It should be noted that those skilled in the art will understand that the SPI interface is the data interface used by the Bluetooth module for data communication. For more detailed information regarding SPI communication, please refer to relevant technologies known to those skilled in the art; due to space limitations, this will not be elaborated upon here. Furthermore, it should be noted that this invention does not impose excessive limitations on the Bluetooth terminal. For example, the Bluetooth terminal can be the Bluetooth module in a programmable controller in programmable mode or the Bluetooth module in an electronic device (such as a mobile phone, iPad, etc.) in remote follow-up mode. To facilitate understanding of this invention and avoid redundancy, for more detailed information regarding programmable mode and follow-up mode, please refer to the following description of the working modes of implantable medical devices; these will not be elaborated upon here.
[0054] Optionally, in some exemplary embodiments, in step S100, when the implantable medical device needs to communicate with the Bluetooth terminal, and before the main control module powers on the Bluetooth module and puts it into a sleep state via the power supply pin and the reset pin, the communication control method further includes: the main control module enabling a full-linear boost mode. This reduces interference to the Bluetooth module, thereby further improving the stability and reliability of data communication. For more detailed information on the main control module enabling the full-linear boost mode, please refer to the relevant technologies of implantable medical devices regarding full-linear boost mode known to those skilled in the art; due to space limitations, this will not be elaborated upon here.
[0055] Optionally, in some exemplary embodiments, the communication command includes broadcast parameter information and communication data information. Correspondingly, in step S200, the main control module sends a communication command through the SPI harness, and the Bluetooth module transmits data with the Bluetooth terminal according to the communication command and a first preset encryption protocol. When the main control module receives the command execution status returned by the Bluetooth module through the interrupt pin, the main control module obtains the command execution result through the SPI harness, specifically including:
[0056] S210: The main control module sends the broadcast parameter information through the SPI harness;
[0057] S220: The Bluetooth module broadcasts according to the broadcast parameter information, and after successfully pairing, connecting and verifying with the Bluetooth terminal, it feeds back that it is in a connected state through the interrupt pin;
[0058] S230: During the broadcasting process of the Bluetooth module, the main control module obtains the broadcast status of the Bluetooth module through the SPI harness, and after receiving the connection status, sends the communication data information through the SPI harness;
[0059] S240: The Bluetooth module encrypts the communication data information according to the first preset encryption protocol and sends it to the Bluetooth terminal, and receives the execution result information returned by the Bluetooth terminal; the Bluetooth module also decrypts the execution result information according to the first preset encryption protocol, and feeds back the execution result status through the interrupt pin;
[0060] S250: The main control module obtains the decrypted execution result information through the SPI harness.
[0061] Therefore, the communication control method for implantable medical devices provided by this invention allows the main control module to acquire the broadcast status of the Bluetooth module through the SPI harness during the Bluetooth module's broadcast process. This enables timely control of the Bluetooth module in case of unexpected situations such as broadcast errors, timeouts, or active disconnections (e.g., in the event of a broadcast error, by first controlling the Bluetooth module to power off, then powering it on, and finally waking it up to restart the Bluetooth module and restore communication), thereby ensuring normal data communication and effectively improving the robustness of this invention. Furthermore, the main control module sends communication data information to the Bluetooth module only after receiving the Bluetooth module's connection status, which improves the efficiency and reliability of data communication. Moreover, the main control module acquires the execution result information only after receiving the execution result status feedback from the Bluetooth module, further enhancing the reliability of data communication.
[0062] It should be noted that the present invention does not impose excessive limitations on the specific content of the broadcast parameter information and the communication data information. For example, the broadcast parameter information includes, but is not limited to, transmission power, broadcast interval, and number of broadcasts; taking the implantable medical device as a defibrillator as an example, the communication data information includes, but is not limited to, parameters such as output energy and impedance detection.
[0063] For example, please refer to Figure 3, which is a schematic diagram of the interaction between the main control module, the Bluetooth module, and the Bluetooth terminal in a specific example of the communication control method for the implantable medical device provided by the present invention. As can be seen from Figure 3, in this example, the initial state is that the Bluetooth module is in a power-off state, and the Bluetooth terminal is in a Bluetooth broadcast listening state. The interaction process between the main control module, the Bluetooth module, and the Bluetooth terminal is as follows:
[0064] (1) When the implantable medical device needs to communicate with the Bluetooth terminal, the main control module first turns on the full-line boost mode;
[0065] (2) The main control module closes the power supply pin switch so that the power supply (such as the power supply battery of the implantable medical device) supplies power to the Bluetooth module;
[0066] (3) The Bluetooth module is powered on;
[0067] (4) The main control module releases the reset pin to start (reset) the Bluetooth module;
[0068] (5) The firmware of the Bluetooth module runs and enters a sleep state;
[0069] (6) The main control module wakes up the Bluetooth module via the wake-up pin;
[0070] (7) The Bluetooth module is woken up and initializes the SPI interface, and after completing the SPI interface, it sends a message through the interrupt pin that the Bluetooth module is in a ready state.
[0071] (8) The main control module sends broadcast parameter information to the Bluetooth module through the SPI harness;
[0072] (9) The Bluetooth module loads the broadcast parameter information and broadcasts it;
[0073] (10) During the broadcasting process of the Bluetooth module, the main control module obtains the broadcasting status of the Bluetooth module through the SPI harness and waits for the Bluetooth module to feed back the connection status through the interrupt pin.
[0074] (11) When the Bluetooth terminal receives the broadcast, pairing and connection signals sent by the Bluetooth module, it performs pairing and connection and sends pairing information to the Bluetooth module;
[0075] (12) After the Bluetooth module successfully pairs, connects and verifies with the Bluetooth terminal, it feeds back that it is in a connected state through the interrupt pin.
[0076] (13) The main control module obtains the status of the Bluetooth module through the SPI harness. When it is confirmed that the Bluetooth module is in a connected state, if there is communication data information (including but not limited to instructions) to be sent, the communication data information is sent through the SPI harness.
[0077] (14) The Bluetooth module sends the encrypted communication data information to the Bluetooth terminal in accordance with the first preset encryption protocol;
[0078] (15) The Bluetooth terminal processes the communication data information (including but not limited to executing instructions) and returns encrypted execution result information;
[0079] (16) The Bluetooth module decrypts the execution result information according to the first preset encryption protocol and feeds back the execution result status through the interrupt pin;
[0080] (17) The main control module obtains the decrypted execution result information through the SPI harness;
[0081] (18) When the Bluetooth module connection times out, is actively disconnected or is disconnected by error, the main control module is notified through the interrupt pin that it is in a disconnected state.
[0082] (19) When the implantable medical device does not need to communicate with the Bluetooth terminal, the main control module controls the Bluetooth module to be in a power-off state through the power supply pin (e.g., turning off the power supply pin) and the reset pin (e.g., pulling up the reset pin).
[0083] Optionally, in some exemplary embodiments, please refer to FIG4, which is a schematic diagram of the structure of a first preset private encryption protocol used in the communication control method of an implantable medical device provided in one embodiment of the present invention. As can be seen from FIG4, the first preset encryption protocol includes a private transport layer protocol and a private application layer protocol. Therefore, the design of the first preset encryption protocol using a private transport layer protocol and a private application layer protocol can ensure the security of data transmission.
[0084] It should be noted that those skilled in the art should understand that the present invention does not limit the specific structure of the proprietary transport layer protocol and the proprietary application layer protocol. For example, in some exemplary embodiments, the structure of the proprietary transport layer protocol may be: frame header + payload + Message Authentication Code (MAC); the structure of the proprietary application layer protocol may be: frame header + command-specific structures + additional data.
[0085] To better understand this invention, before detailing the programmable control mode, a brief explanation of the communication method between the programmable controller and the implantable medical device via the magnetic induction coil is provided. For example, please refer to Figure 5, which is a schematic diagram of the connection between the programmable controller and the implantable medical device. As shown in Figure 5, in the prior art, the programmable controller 200 and the implantable medical device 100 can communicate via a magnetic induction coil. As shown in Figure 5, the programmable controller 200 is equipped with a programmable head 210, and the implantable medical device 100 is equipped with a corresponding receiver 130. The programmable head 210 and the receiver 130 can communicate within a maximum distance of 10cm via the magnetic induction coil, thereby preventing various malicious attacks and ensuring communication security.
[0086] Optionally, in some exemplary embodiments, when the main control module receives a programming command sent by the programmable controller via the magnetic induction coil, it determines that the implantable medical device needs to communicate with the Bluetooth terminal. At this time, the main control module operates in programming mode and generates a programming key according to a second preset encryption protocol so that the programmable controller can obtain the programming key through the magnetic induction coil; the programming key is used for pairing verification between the Bluetooth module and the Bluetooth terminal. Thus, the communication control method for implantable medical devices provided by this invention determines that the implantable medical device needs to communicate with the Bluetooth terminal when the main control module receives a programming command sent by the programmable controller via the magnetic induction coil, thereby enabling timely power-on of the Bluetooth module of the implantable medical device and meeting the rapid response requirements of programming mode (RFP); moreover, when the main control module operates in programming mode, it generates a programming key with the programmable controller according to the second preset encryption protocol, achieving the invisibility of the programming key between the Bluetooth module and the Bluetooth terminal, thereby further ensuring the security of the link.
[0087] It should be noted that, as mentioned above, the Bluetooth terminal can be the Bluetooth module in the programmable controller or the Bluetooth module in other electronic devices (such as mobile phones), and the present invention does not impose excessive limitations on this. Furthermore, the present invention does not impose excessive limitations on the baud rate of the magnetic induction communication between the programmable controller and the main control module, nor on the specific content of the second preset encryption protocol. For example, in some exemplary embodiments, the baud rate of the magnetic induction communication can be 9600 bps; the structure of the second preset encryption protocol can be: data header start + data header + data information + check bit + data bits.
[0088] Furthermore, the communication between the implantable medical device and the Bluetooth terminal can also be controlled by the main control module. Specifically, when the main control module operates in follow-up mode (RMS), it controls the Bluetooth module to switch between a power-on state and a power-off state at a first preset time interval. Thus, by controlling the Bluetooth module to switch between power-on and power-off states at the first preset time interval when operating in follow-up mode, the main control module can achieve effective communication between the Bluetooth module and the Bluetooth terminal while effectively reducing the average power consumption of the Bluetooth module.
[0089] Optionally, in some exemplary embodiments, the communication control method further includes: when the Bluetooth module of the implantable medical device times out, or communication with the Bluetooth terminal ends, or the connection with the Bluetooth terminal is mistakenly disconnected, the main control module switches from the programmable mode to the follow-up mode. Thus, the communication control method for implantable medical devices provided by this invention, through rapid switching between programmable mode and follow-up mode, can satisfy the rapid response of programmable mode and effectively reduce the average power consumption of the Bluetooth module in follow-up mode, thereby improving the service life of the implantable medical device.
[0090] Optionally, in some exemplary embodiments, when the main control module is operating in program-controlled mode, the Bluetooth module broadcasts according to the broadcast parameter information, including: the Bluetooth module first sends a broadcast packet every second preset time interval for a total of a first preset number of times according to the broadcast parameter information; then it sends a broadcast packet every third preset time interval until the first preset duration is exceeded.
[0091] Optionally, in some exemplary embodiments, when the main control module is operating in follow-up mode, the Bluetooth module broadcasts according to the broadcast parameter information, including: the Bluetooth module sends a set of broadcast packets every first preset time interval according to the broadcast parameter information, and each set of broadcast packets is sent in a pattern of being sent continuously for a second preset number of times at a second preset time interval.
[0092] Therefore, the communication control method for implantable medical devices provided by this invention, through refined control of the broadcast methods of follow-up mode and programmable mode, not only satisfies the need for rapid response in programmable mode, but also effectively reduces the average energy consumption in follow-up mode, thus achieving a balance between the requirements of rapid response and low power consumption.
[0093] It should be noted that, as those skilled in the art will understand, the present invention does not impose excessive limitations on the specific values of the second preset time interval, the first preset number of times, the third preset time interval, and the first preset duration. For example, in some exemplary embodiments, the second preset time interval is 20ms, the first preset number of times is 50, the third preset time interval is 100ms, and the first preset duration is 30s. That is, when the main control module operates in program-controlled mode, the Bluetooth module sends a broadcast packet every 20ms on three channels (37, 38, 39), for a total of 50 times; then, it sends a broadcast packet every 100ms until 30 seconds are reached. Similarly, the present invention does not impose excessive limitations on the specific values of the first preset time interval, the second preset duration, and the second preset number of times. For example, in some exemplary embodiments, the first preset time interval is 15 minutes, the second preset duration is 1 second, and the second preset number of times is 5. That is, when the main control module is working in follow-up mode, the Bluetooth module sends a broadcast packet every second in three channels (37, 38, 39), and sends five consecutive broadcast packets as a group of broadcast packets, and sends a group of broadcast packets every 15 minutes.
[0094] For example, please refer to Figures 6a and 6b. Figure 6a is a schematic diagram of the interaction between the programmable controller, the main control module, and the Bluetooth module in another specific example of the communication control method for the implantable medical device provided by the present invention. Figure 6b is a schematic diagram of steps (5.1)-(5.6) in Figure 6a. As can be seen from Figures 6a and 6b, in this example, the initial state is that the Bluetooth module is in a power-off state, and the programmable controller needs to trigger the Bluetooth module of the implantable medical device to perform programming. The interaction process between the programmable controller, the main control module, and the Bluetooth module is as follows:
[0095] (1) The programmable controller notifies the main control module to obtain the programmable key through the magnetic induction coil, and the main control module works in programmable mode;
[0096] (2) The main control module switches to program control mode and generates a program control key according to the second preset encryption protocol;
[0097] (3) The programmable controller obtains the programmable key through a magnetic induction coil;
[0098] (4) The main control module starts the full-line boost mode;
[0099] (5.1) The main control module closes the power supply pin switch so that the power supply (such as the power supply battery of the implantable medical device) supplies power to the Bluetooth module;
[0100] (5.2) The Bluetooth module is powered on;
[0101] (5.3) The main control module releases the reset pin to start (reset) the Bluetooth module;
[0102] (5.4) The firmware of the Bluetooth module runs and enters a sleep state;
[0103] (5.5) The main control module wakes up the Bluetooth module via the wake-up pin;
[0104] (5.6) The Bluetooth module is woken up and initializes the SPI interface, and after completing the SPI interface, it sends feedback that the Bluetooth module is in a ready state through the interrupt pin.
[0105] (6) The main control module sends programmable broadcast (RFP) parameter information to the Bluetooth module through the SPI harness;
[0106] (7) The Bluetooth module loads the programmable broadcast (RFP) parameter information and begins broadcasting;
[0107] (8) The main control module obtains the parameter setting results through the SPI harness and waits for the Bluetooth module to report the execution result status;
[0108] (9) The Bluetooth module first broadcasts once every 20ms for a total of 50 times, and then broadcasts once every 100ms until the timeout (e.g., 30s);
[0109] (10) After the main control module receives the execution result status (timeout, communication termination or error disconnection) from the Bluetooth module through the interrupt pin, the main control module obtains the status of the Bluetooth module through the SPI harness. If the unprogrammed or programmed mode ends, the main control module enters the follow-up mode.
[0110] (11) In follow-up mode, the main control module sends follow-up (RMS) broadcast parameter information to the Bluetooth module through the SPI harness;
[0111] (12) The Bluetooth module loads the follow-up (RMS) broadcast parameter information and starts broadcasting;
[0112] (13) The main control module obtains the parameter setting results through the SPI harness and waits for the Bluetooth module to report the execution result status;
[0113] (14) The Bluetooth module broadcasts once every 1 second, for a total of 5 times;
[0114] (15) The main control module receives the execution result status fed back by the Bluetooth module through the interrupt pin;
[0115] (16) Every 15 minutes, the main control module sends follow-up (RMS) broadcast parameter information to the Bluetooth module through the SPI harness.
[0116] Additionally, it should be noted that when in follow-up mode, for details on how the main control module controls the Bluetooth module to be in a power-off state, please refer to Figure 3 and the relevant descriptions of steps (18) and (19) above regarding the interaction process between the main control module, the Bluetooth module, and the Bluetooth terminal. These details will not be elaborated upon here.
[0117] Another embodiment of the present invention provides a readable storage medium storing a computer program. When executed by a processor, the computer program can implement the communication control method for the implantable medical device described above. Since the readable storage medium and the communication control method provided by the present invention belong to the same inventive concept, the readable storage medium provided by the present invention possesses at least all the advantages of the communication control method provided by the present invention. For details regarding the beneficial effects of the readable storage medium provided by the present invention, please refer to the relevant description of the beneficial effects of the communication control method provided by the present invention above; further details will not be repeated here.
[0118] The readable storage medium of embodiments of the present invention can be any combination of one or more computer-readable media. The readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in combination with an instruction execution system, apparatus, or device.
[0119] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.
[0120] Computer program code for performing the operations of the present invention can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages.
[0121] Another embodiment of the present invention provides an implantable medical device, which includes the readable storage medium provided in the above embodiment. Since the implantable medical device provided in this embodiment and the readable storage medium provided in the present invention belong to the same inventive concept, and the readable storage medium provided in the present invention and the communication control method of the implantable medical device provided in the present invention belong to the same inventive concept, the implantable medical device provided in the present invention has at least all the advantages of the communication control method of the implantable medical device provided in the present invention. For details on the beneficial effects of the implantable medical device provided in the present invention, please refer to the above description of the beneficial effects of the communication control method of the implantable medical device provided in the present invention, which will not be repeated here. Furthermore, the implantable medical device provided in the present invention not only has low power consumption; but also, thanks to the universality, portability, and security of the Bluetooth module, patients wearing the implantable medical device provided in the present invention can remotely follow up anytime and anywhere via mobile phone (or other Bluetooth terminal devices), greatly saving time spent on hospital follow-ups; on the other hand, thanks to the realization of remote follow-up, the patient's health status can be monitored, making it easier for doctors to promptly detect abnormalities in the device or the patient's health status, and to promptly remind and treat when the patient's health status changes.
[0122] Compared with the prior art, the communication control method, storage medium, and implantable medical device provided by the present invention have the following advantages:
[0123] (1) When the implantable medical device needs to communicate with the Bluetooth terminal, the main control module controls the Bluetooth module to be in a powered-on state. When the implantable medical device does not need to communicate with the Bluetooth terminal, the main control module controls the Bluetooth module to be in a powered-off state. This can significantly reduce the average power consumption of the Bluetooth module and thus improve the service life of the implantable medical device.
[0124] (2) The Bluetooth module and the Bluetooth terminal transmit data according to the first preset encryption protocol, thereby effectively ensuring the security of the communication link.
[0125] (3) The existing connection between the power supply pins, reset pins, wake-up pins, SPI harness, and interrupt pins of the main control module of the implantable medical device and the Bluetooth module is established without adding any hardware costs.
[0126] (4) When the main control module receives the program control command sent by the program controller through the magnetic induction coil, it determines that the implantable medical device needs to communicate with the Bluetooth terminal, so that the Bluetooth module of the implantable medical device can be powered on in time, which can meet the fast response of the program control mode (RFP).
[0127] (5) When the main control module is working in program control mode, it generates a program control key with the program controller according to the second preset encryption protocol, which realizes that the program control key is invisible between the Bluetooth module and the Bluetooth terminal, thereby further ensuring the security of the link.
[0128] (6) By quickly switching between programmable mode and follow-up mode, the programmable mode can meet the fast response, and the follow-up mode can effectively reduce the average power consumption of the Bluetooth module, thereby improving the service life of the implantable medical device.
[0129] (7) By finely controlling the broadcasting methods of the follow-up mode and the programmable mode, the fast response in the programmable mode is satisfied, and the average energy consumption in the follow-up mode is effectively reduced, thus achieving a balance between the requirements of fast response and low power consumption.
[0130] It should be noted that the apparatus and methods disclosed in the embodiments herein can also be implemented in other ways. The apparatus embodiments described above are merely illustrative; for example, the flowcharts and block diagrams in the accompanying drawings show the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments herein. In this regard, each block in a flowchart or block diagram may represent a module, program, or part of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system to perform the specified function or action, or can be implemented using a combination of dedicated hardware and computer instructions.
[0131] In addition, the functional modules in the various embodiments of this article can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0132] The above description is merely a description of the communication control method, storage medium, and preferred embodiment of the implantable medical device provided by the present invention, and is not intended to limit the scope of the present invention in any way. Any changes or modifications made by those skilled in the art based on the above disclosure are within the protection scope of the present invention. Obviously, those skilled in the art can make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Therefore, if these modifications and variations fall within the scope of the present invention and its equivalents, the present invention also intends to include these modifications and variations.
Claims
1. A communication control method for an implantable medical device, characterized in that, The implantable medical device includes a main control module and a Bluetooth module. The main control module and the Bluetooth module are connected via power supply pins, reset pins, wake-up pins, an SPI harness, and an interrupt pin. The communication control method includes: When the implantable medical device needs to communicate with the Bluetooth terminal, the main control module powers on the Bluetooth module and puts it into a sleep state through the power supply pin and the reset pin, and wakes up the Bluetooth module through the wake-up pin to initialize the SPI interface. After the Bluetooth module completes the initialization operation of the SPI interface, it enters the ready state and provides feedback through the interrupt pin. After receiving the ready state, the main control module sends a communication command through the SPI harness. The Bluetooth module transmits data with the Bluetooth terminal according to the communication command and the first preset encryption protocol. When the main control module receives the instruction execution status returned by the Bluetooth module through the interrupt pin, the main control module obtains the instruction execution result through the SPI harness. When the implantable medical device does not need to communicate with the Bluetooth terminal, the main control module controls the Bluetooth module to be in a power-off state through the power supply pin and the reset pin.
2. The communication control method according to claim 1, characterized in that, The communication instructions include broadcast parameter information and communication data information; The communication control method includes: The main control module sends the broadcast parameter information through the SPI harness; The Bluetooth module broadcasts according to the broadcast parameter information, and after successfully pairing, connecting and verifying with the Bluetooth terminal, it feeds back that it is in a connected state through the interrupt pin. The main control module obtains the broadcast status of the Bluetooth module through the SPI harness during the broadcast process of the Bluetooth module, and sends the communication data information through the SPI harness after receiving the connection status; The Bluetooth module encrypts the communication data information according to the first preset encryption protocol and sends it to the Bluetooth terminal, and receives the execution result information returned by the Bluetooth terminal; the Bluetooth module also decrypts the execution result information according to the first preset encryption protocol, and feeds back the execution result status through the interrupt pin; The main control module obtains the decrypted execution result information through the SPI harness.
3. The communication control method according to claim 2, characterized in that, The first preset encryption protocol includes a private transport layer protocol and a private application layer protocol.
4. The communication control method according to claim 2, characterized in that, The communication control method further includes: When the main control module receives a programming command from the programmer via the magnetic induction coil, it determines that the implantable medical device needs to communicate with the Bluetooth terminal. At this time, the main control module operates in programming mode and generates a programming key according to a second preset encryption protocol, enabling the programmer to obtain the programming key via the magnetic induction coil. The programming key is used for pairing verification between the Bluetooth module and the Bluetooth terminal; and / or When the main control module is working in follow-up mode, the main control module controls the Bluetooth module to switch between power-on and power-off states according to a first preset time interval.
5. The communication control method according to claim 4, characterized in that, The communication control method further includes: when the Bluetooth module connection times out, or communication with the Bluetooth terminal ends, or the Bluetooth terminal is accidentally disconnected, the main control module switches from the program control mode to the follow-up mode.
6. The communication control method according to claim 4, characterized in that, When the main control module operates in program-controlled mode, the Bluetooth module broadcasts according to the broadcast parameter information, including: The Bluetooth module, based on the broadcast parameter information, first sends a broadcast packet every second preset time interval for a total of a first preset number of times; then it sends a broadcast packet every third preset time interval until the first preset duration is exceeded.
7. The communication control method according to claim 4, characterized in that, When the main control module is operating in follow-up mode, the Bluetooth module broadcasts according to the broadcast parameter information, including: The Bluetooth module sends a set of broadcast packets every first preset time interval according to the broadcast parameter information. Each set of broadcast packets is sent in a pattern of being sent continuously for a second preset number of times at a second preset time interval.
8. The communication control method according to claim 1, characterized in that, The communication control method according to any one of claims 1 to 7 is characterized in that, before the main control module powers on the Bluetooth module and puts it into a sleep state through the power supply pin and the reset pin, the communication control method further includes: the main control module enabling a fully linear boost mode.
9. A readable storage medium, characterized in that, The readable storage medium stores a computer program, which, when executed by a processor, implements the communication control method according to any one of claims 1 to 8.
10. An implantable medical device, characterized in that, The implantable medical device includes the readable storage medium as described in claim 9.
