In vitro programmable device and communication method thereof
By using the method of dynamically adjusting scanning parameters and adaptive communication strategies in the extracorporeal program control equipment, the problems of high power consumption and complex communication in the extracorporeal program control equipment are solved, and convenient, safe and low-power communication effects are achieved.
Patent Information
- Application Number
- CN202411961322.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-08
AI Technical Summary
With complex functions and diversified medical tasks, existing extracorporeal program control devices consume high power and complex communication connection and disconnection processes, lacking convenient and low-power communication methods.
Provide a communication method for in vitro program control equipment, transmit medical task data through wireless connection, and implement different disconnection methods according to task type, dynamically adjust scanning parameters to reduce communication power consumption, especially in MRI mode, adopt adaptive communication strategies.
It improves the convenience and safety of external program control equipment, reduces power consumption, and ensures the security of equipment and timely data transmission in MRI mode.
Smart Images

Figure CN119789244A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical equipment, and in particular to an in vitro program-controlled device and a communication method thereof. Background Art
[0002] Implantable medical devices can be active devices implanted in the human body that output electrical stimulation signals to implanted targets through pulse generators and electrodes to achieve neuromodulation therapy, such as deep brain stimulators, spinal cord nerve stimulators, vagus nerve stimulators, sacral nerve stimulators, etc. Implantable medical devices must be equipped with dedicated external programmable devices to communicate wirelessly to achieve tasks such as setting stimulation parameters and transmitting medical data.
[0003] However, with the diversification of medical tasks, the functions of in vitro programmable devices have gradually become more complex. In vitro programmable devices can also be used to connect test medical devices, physiological signal monitoring devices and other medical devices to achieve different medical purposes. It can be seen that in vitro programmable devices are compatible with multiple functions, which leads to increasingly prominent power consumption issues. In addition, the existing in vitro programmable devices and medical devices have complex communication connection or disconnection processes, and there is an urgent need for a convenient and low-power communication method. Summary of the invention
[0004] In view of this, the present invention provides, on one hand, a communication method for an in vitro programmable device, the method being executed by an in vitro programmable device of a medical device, comprising:
[0005] S100, establishing a wireless connection with the medical device;
[0006] S200, transmitting medical task data;
[0007] S300, monitoring whether the running state of the application program for transmitting the medical task data changes, and when the running state changes, executing step S400, otherwise returning to step S200;
[0008] S400, determining the task type of the application, the task type including a program-controlled task and a monitoring task, if the task type is a program-controlled task, executing step S500, if the task type is a monitoring task, executing step S600;
[0009] S500, timing the program-controlled task, and determining whether to disconnect from the medical device according to the timing duration;
[0010] S600, for a monitoring task, disconnecting from the medical device after the monitoring task is completed.
[0011] Optionally, before establishing a wireless connection with the medical device, the method includes:
[0012] S1, obtaining the medical device type selected by the user;
[0013] S2, determining preset scanning parameters corresponding to the type of medical device;
[0014] S3, searching the medical device information with the preset scanning parameters to determine the connectable medical device.
[0015] Optionally, searching the connection object information with the preset scanning parameters to determine the connectable medical device includes:
[0016] S31A, judging whether the corresponding medical device is a medical device in a preset whitelist according to the connection object information, and if the medical device is a medical device in the preset whitelist, executing step S32A;
[0017] S32A, confirming the medical device as a connectable medical device.
[0018] Optionally, searching the connection object information with the preset scanning parameters to determine the connectable medical device includes:
[0019] S31B, judging whether the strength of the wireless communication signal of the corresponding medical device reaches the strength threshold according to the connection object information, and if the strength of the wireless communication signal of the medical device reaches the strength threshold, executing step S32B;
[0020] S32B, confirming the medical device as a connectable medical device.
[0021] Optionally, establishing a wireless connection with the medical device includes:
[0022] S101, determining whether the connectable medical device is unique, if the connectable medical device is unique, executing step S102a;
[0023] S102a, determining whether the medical device is in a binding state, if so, executing step S102a1, otherwise executing step S102a2;
[0024] S102a1, establishing a wireless connection with the medical device;
[0025] S102a2, prompting the user to perform a binding operation, and establishing a wireless connection with the medical device after the binding operation is completed.
[0026] Optionally, if the connectable medical device is not unique, all connectable medical devices are displayed according to the sorting rule;
[0027] Establishes a wireless connection with a user-selected medical device.
[0028] Optionally, before step S100, the method further includes determining the type of program-controlled application used by the user, wherein the program-controlled application type includes a doctor-side and a patient-side;
[0029] After the binding operation is completed, it also includes: if the program-controlled application type is the patient end, clearing the stored binding status with other medical devices.
[0030] Optionally, the running state includes a foreground running state and a background running state; the situation where the running state changes includes changing from the foreground running state to the background running state;
[0031] For program-controlled tasks, after timing, it also includes:
[0032] Monitor whether the application has switched from the background running state to the foreground running state;
[0033] When the application program changes from the background running state to the foreground running state, the timer stops timing and the timing time is reset to zero.
[0034] Optionally, the transmitting of medical task data in step S200 further includes:
[0035] S201, determining whether the connected medical device is an implantable therapeutic device, and whether the implantable therapeutic device enters the MRI mode, if yes, executing step S202;
[0036] S202, obtaining magnetic resonance scanning parameters;
[0037] S203, timing after the magnetic resonance scanning starts;
[0038] S204, determining whether the current moment is in an inactive period of magnetic resonance scanning according to the timing time and the magnetic resonance scanning parameters, if yes, executing step S206, otherwise, executing step S205;
[0039] S205, disconnecting the wireless connection with the implantable medical device, adjusting the wireless connection scanning parameters to reduce communication power consumption, and returning to step S204;
[0040] S206, searching for implantable therapeutic devices with preset scanning parameters and establishing a wireless connection to transmit medical task data.
[0041] On the other hand, the present invention also provides an in vitro programmable device communication device, which includes: a processor and a memory connected to the processor; wherein the memory stores instructions that can be executed by the processor, and the instructions are executed by the processor so that the processor executes the above-mentioned in vitro programmable device communication method.
[0042] According to the in vitro programmable device and communication method provided by the present invention, it is possible to automatically select appropriate scanning parameters and match appropriate communication power according to the type of connection object selected by the user, and automatically search for nearby connection objects according to preset scanning parameters. The searched connection objects can be screened according to the connection object information to identify the connectable medical devices suitable for the user, thereby improving safety. During the communication process, a dynamic communication connection method is set for the MRI mode to ensure the safety of the equipment while avoiding unnecessary communication searches, and to enable timely interaction of monitoring task data during MRI scanning as needed. At the same time, since the medical data transmitted by medical equipment and physiological signal monitoring equipment involve different tasks, different disconnection methods are implemented according to the task type, so that the connection can be disconnected in a timely manner after the task is completed, while minimizing power consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 A schematic diagram of a flow chart of a communication method for an in vitro program-controlled device provided by an embodiment of the present invention;
[0045] Figure 2 A schematic diagram of a process for establishing a wireless connection between an in vitro programmable control device and a medical device provided in an embodiment of the present invention;
[0046] Figure 3 A schematic diagram of the wireless connection process in the MRI mode provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0047] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0048] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0049] like Figure 1As shown, an embodiment of the present invention provides an in vitro programmable device communication method, which is executed by an in vitro programmable device of a medical device. After entering the programmable application of the in vitro programmable device, the method includes the following operations: S100, establishing a wireless connection with the medical device.
[0050] S200, transmitting medical task data. For example, the medical device includes a therapeutic device, and the medical task data transmitted by the in vitro programmable device to the therapeutic device may be programmable instructions (including stimulation parameters for controlling the therapeutic device to output stimulation signals). For some implantable therapeutic devices with physiological signal monitoring functions, the medical task data may also be monitored physiological signal data.
[0051] S300, monitoring whether the running state of the application transmitting the medical task data has changed, and when the running state has changed, executing step S400, otherwise returning to step S200. In one embodiment, the running state includes a foreground running state and a background running state; the running state changes include switching from a foreground running state to a background running state.
[0052] S400, determine the task type of the application, which includes program-controlled tasks and monitoring tasks. If the task type is a program-controlled task, execute step S500; if the task type is a monitoring task, execute step S600. A program-controlled task is a task that transmits program-controlled instructions to a connection object, and a monitoring task is a task that receives physiological signal data transmitted by a connection object. The device executing this method can determine the task type according to the content of the transmitted data, the functional modules currently enabled by the application, etc.
[0053] S500: For the program-controlled task, timing is performed, and whether to disconnect the medical device is determined according to the timing duration. Specifically, the timing duration may be monitored to see whether it reaches a preset threshold, and when the timing duration reaches a certain time, the connection of the medical device is automatically disconnected in time to reduce the power consumption of both devices.
[0054] Furthermore, after timing in step S500, it is monitored whether the application program changes from the background running state to the foreground running state. When the application program changes from the background running state to the foreground running state, the timer stops timing and resets the timing time, and returns to step S300. If a switching event is detected, the timing time of the timer can be reset to zero, and the timing can be restarted when the program-controlled application program changes from the foreground running state to the background running state again.
[0055] When the user performs a program-controlled operation, auxiliary operations may be required in some cases. For example, the user may need to view the patient's physiological data, historical program-controlled data, understand the treatment effect, etc. These auxiliary operations may require the running of other applications, so the program-controlled application will switch from the foreground running state to the background running state. However, these auxiliary operations are performed alternately with the program-controlled operation. This embodiment determines whether to disconnect from the medical device by monitoring the running state and timer of the program-controlled application. In the case where the program-controlled application is in the background running state for a long time, it is determined that the program-controlled operation has ended. In this case, the connection is disconnected to reduce unnecessary energy consumption caused by wireless communication; in the case where the program-controlled application is in the background running state for a short time, the wireless connection state is maintained, thereby improving the convenience of program-controlled operation.
[0056] S600, for monitoring tasks, disconnecting from the medical device after the monitoring task is completed. In the monitoring task, the medical task data transmitted by the medical device may be physiological signals collected for a period of time, or physiological signals collected and transmitted in real time. In order to ensure that complete data is received, it is necessary to disconnect after receiving the information sent by the medical device that the data transmission is completed.
[0057] In this embodiment, since the medical data transmitted by the medical device involves different tasks, different disconnection methods are implemented according to the task type, so that the power consumption of the device can be reduced as much as possible after the task is completed in time.
[0058] In one embodiment, before the above step S100, the following steps are included:
[0059] S1, obtain the type of medical device selected by the user, and the types of medical devices include therapeutic devices and physiological signal monitoring devices. The user can select a type of device that he wants to connect from the preset various types according to the needs of the medical scene. Among them, the therapeutic devices include: implantable therapeutic devices and test therapeutic devices. Implantable therapeutic devices are active devices implanted in specific areas of the body, such as implantable stimulators (including deep brain stimulators, vagus nerve stimulators, spinal cord stimulators, sacral nerve stimulators, etc.). Implantable therapeutic devices can have functions such as EEG monitoring, ECG monitoring, fall monitoring, and respiratory monitoring; test therapeutic devices are special medical devices that are set in vitro, such as test stimulators, which can be used to determine whether the implantation position of the stimulating electrode is appropriate during surgery, debug stimulation parameters, etc., and refer to the technical solutions recorded in the patent document CN107970524A for details. Correspondingly, in step S200, the medical task data of the implantable therapeutic device and the test therapeutic device include program-controlled instructions or monitored physiological signal data. The physiological signal monitoring device refers to an external medical monitoring device such as electroencephalogram, electrocardiogram, electromyography, etc.; in step S200, the medical task data of the physiological signal monitoring device is the physiological signal data collected by it.
[0060] S2, determine the preset scanning parameters corresponding to the type of medical device. The scanning parameters in this solution refer to the parameters used for wireless connection, such as Bluetooth parameters. Different device types correspond to different scanning parameters, and the scanning parameters include, for example, at least one of the scanning duty cycle, scanning window, scanning cycle, resolution and signal transmission strength. Different scanning parameters generate different power consumption and scanning efficiency. For example, a smaller signal transmission strength and a longer scanning cycle generate lower power consumption, but the signal transmission distance is smaller and the transmission interval is longer.
[0061] S3, search for medical device information with preset scanning parameters to determine the connectable medical devices. Medical device information includes, for example, device model, serial number, and MAC address. The in vitro programmable device searches for signals of nearby connectable devices by active scanning and waits for responses from external devices; after searching for all external devices, the device that can be displayed to the user is determined based on the connection object information to prevent the connection of unrelated devices and data leakage, thereby improving the security of patients and their medical data.
[0062] This embodiment automatically selects appropriate scanning parameters according to the type of medical device selected by the user, and can automatically search for nearby medical devices according to the preset scanning parameters. The searched medical devices can be screened according to the medical device information to identify the connectable medical devices suitable for the user and improve safety. Differentiated preset scanning parameters are set for the type of medical device to reduce the overall communication power consumption. Once the connectable medical device is determined, a wireless connection can be immediately established for medical data transmission. According to the above steps, the user can accurately connect to the device suitable for the user for data transmission, and the operation is simple.
[0063] In one embodiment, the preset scanning parameters in step S2 include: scanning duty cycle, scanning window and scanning cycle. The scanning duty cycle refers to the time ratio of the scanning window in the scanning cycle. The scanning window refers to the duration of searching for medical devices within a scanning cycle. Since the data real-time requirements of each medical device are different, the scanning parameters set may also be different. The value of the scanning parameter determines the time to establish a connection and the power consumption of the device. For medical devices with lower real-time requirements, a longer connection time can be allowed to reduce power consumption; for medical devices with higher real-time requirements, a shorter connection time is required, and relatively higher power consumption can be allowed, so as to reasonably allocate the power consumption of the device. In an embodiment of the present application, the scanning duty cycle corresponding to the physiological signal monitoring device is relatively small, and the scanning duty cycle corresponding to the therapeutic device is relatively large. Among the therapeutic devices, the scanning duty cycle corresponding to the implantable therapeutic device is relatively large, and the scanning duty cycle corresponding to the test therapeutic device is relatively small.
[0064] Specifically, for example, the scanning period of the implantable therapeutic device can be configured to be 1 to 5 seconds, and the duty cycle of the scanning window can be configured to be 9:1 (if the scanning period is 5 seconds, the scanning window is 4.5 seconds); the scanning period of the test therapeutic device can be configured to be 1 to 10 seconds, and the duty cycle can be configured to be 1:1 (if the scanning period is 5 seconds, the scanning window is 2.5 seconds); the scanning period of the physiological signal monitoring device can be configured to be 1 to 20 seconds, and the duty cycle can be configured to be 1:4 (if the scanning period is 5 seconds, the scanning window is 1 second).
[0065] In other embodiments, the scanning window corresponding to the physiological signal monitoring device is relatively short and the scanning cycle is relatively long; the scanning window corresponding to the implantable therapeutic device is relatively long and the scanning cycle is relatively short; the scanning window corresponding to the test therapeutic device is medium and the scanning cycle is medium.
[0066] In one embodiment, the above step S3 specifically includes:
[0067] S31A, judging whether the corresponding medical device is a medical device in a preset white list according to the medical device information. If the medical device is a medical device in the preset white list, executing step S32A, otherwise ignoring the device.
[0068] S32A, confirming the medical device as a connectable medical device.
[0069] This embodiment determines whether the medical device is a known and trusted medical device in the whitelist based on the medical device information. The whitelist can be a self-built library within the application or a networked cloud library. Only those that successfully match the information in the library can be determined as connectable medical devices. By screening the searched medical devices according to the whitelist, unknown devices can be blocked, preventing users from connecting to unknown devices, thereby improving security.
[0070] In one embodiment, the above step S3 specifically includes:
[0071] S31B, determine whether the wireless communication signal strength of the corresponding medical device reaches the strength threshold according to the medical device information; if the wireless communication signal strength of the medical device reaches the strength threshold, execute step S32B, otherwise ignore the device.
[0072] S32B, confirming the medical device as a connectable medical device.
[0073] This embodiment connects medical devices with sufficient signal strength to avoid interruption of medical data transmission tasks during execution, which may cause danger to patients.
[0074] like Figure 2 As shown, in one embodiment, step S100 specifically includes:
[0075] S101, judging whether the connectable medical device is unique. If the connectable medical device of the in vitro programmable device is unique, executing step S102a, otherwise executing step S102b.
[0076] S102a, judging whether the in vitro program-controlled device is in a binding state with the medical device. If the in vitro program-controlled device is in a binding state with the medical device, executing step S102a1, otherwise executing step S102a2.
[0077] S102a1, establishing a wireless connection with a medical device.
[0078] S102a2, prompting the user to perform a binding operation, and establishing a wireless connection with the medical device after the binding operation is completed.
[0079] After determining the connectable medical device, it is necessary to try to establish a wireless connection between the in vitro programmable device and the connected device, and to determine and process the device status. Different operations are performed according to the number of connectable devices. If there is only one connectable device, it is necessary to determine the binding status of the device. If it is bound, a wireless connection can be made directly. If it is not bound, binding is required. The above process ensures that the user device can establish a wireless connection with the correct medical device by determining the number of devices and the binding status, and verifies the authorization relationship of the connection, thereby improving the security and reliability of the connection.
[0080] S102b, displaying all connectable medical devices according to the sorting rules.
[0081] S102b1, establishing a wireless connection with the medical device selected by the user.
[0082] When there are multiple connectable devices, they need to be sorted according to the parameters of the medical devices and displayed intuitively to the user. The sorting rules can be sorted and displayed from strong to weak according to the binding status, recent program control records, and signal strength of the connectable medical devices. At the same time, different binding status, recent program control records, and signal strength can be displayed in different colors to facilitate users to quickly distinguish and select. After the user selects the connected medical device, the binding or unbinding operation can be performed according to the user's identity, which improves the accuracy and efficiency of the wireless connection.
[0083] Furthermore, before step S100, step S0 is also included: determining the type of program-controlled application used by the user, and the program-controlled application types include doctor-side and patient-side. After completing the binding operation in the above steps S102a and S102b, it also includes: if the program-controlled application type is patient-side, clearing the stored binding status with other medical devices. That is, if the in vitro program-controlled device is used by the patient side and has been bound to other devices before, it is necessary to unbind the bound medical device and then wirelessly connect to the new medical device. Clearing the stored binding status with other medical devices can prevent patients from accidentally connecting to the wrong medical device. Since the connection between the in vitro program-controlled device and the medical device may involve sensitive medical data transmission, during the trial stage of the patient-side program-controlled device, since the trial patient-side program-controlled device may have been bound to other patients' medical devices, clearing the stored binding status with other medical devices can ensure the patient's data isolation and privacy protection, and can prevent the patient's personal data from being mistakenly transmitted to other medical devices, thereby ensuring the security and confidentiality of medical data.
[0084] like Figure 3 As shown, the medical task data is transmitted in step S200, further comprising:
[0085] S201, determine whether the connected medical device is an implantable therapeutic device, and whether the implantable therapeutic device enters the MRI mode. If so, execute step S202, otherwise directly transmit the medical task data. The implantable therapeutic device can enter the MRI mode according to the instructions of the external programmable device; or, the external magnetic field is sensed by the magnetic field sensing element inside the implantable therapeutic device, and the MRI mode is automatically entered when the magnetic field intensity exceeds a certain threshold. In the MRI mode, the implantable therapeutic device will turn on the current protection, real-time monitoring of stimulation pulses, electrode induced voltage monitoring and other functions.
[0086] S202, obtaining magnetic resonance scanning parameters. The external programmable device can obtain magnetic resonance scanning parameters from the magnetic resonance device, or the user can synchronize and set them according to the scanning parameters of the magnetic resonance device. In addition, the implantable therapeutic device can also obtain magnetic resonance scanning parameters from the magnetic resonance device, or obtain magnetic resonance scanning parameters from the external programmable device.
[0087] S203, timing after the magnetic resonance scan starts. The start signal of the magnetic resonance scan timing can be sent by the magnetic resonance device, synchronized to the external program control device, and further synchronized to the implantable therapeutic device; or, the start of the magnetic resonance scan is confirmed by the external program control device and synchronized to the implantable therapeutic device.
[0088] S204, determining whether the current moment is in the inactive period of magnetic resonance scanning according to the timing time and the magnetic resonance scanning parameters, if yes, executing step S206, otherwise executing step S205. The inactive period of magnetic resonance scanning here refers to the time period when the radio frequency magnetic field is turned off, such as the TR (repetition time) interval after TE (echo time), the gradient field switching period, the data reading period, etc.
[0089] S205, disconnect the wireless connection with the implantable therapeutic device, adjust the wireless connection scanning parameters to reduce communication power consumption, and return to step S204. During the magnetic resonance scanning period, the in vitro programmable device and the implantable therapeutic device can adjust the wireless connection scanning parameters, including: shutting down the communication module, stopping searching for connection object information, shortening the scanning window and / or extending the scanning period, etc.
[0090] S206, searching for implantable therapeutic devices with preset scanning parameters and establishing wireless connection to transmit medical task data. The preset scanning parameters (second preset scanning parameters) in step S56 may be different from the preset scanning parameters (first preset scanning parameters) in step S2, and a longer scanning window and / or a shorter scanning period may be preset, and the signal strength may be increased to achieve faster reconnection.
[0091] In this embodiment, some implantable therapeutic devices have an MRI mode. The MRI mode is a special working mode that enables the implantable therapeutic device to operate safely in an MRI scanning environment. In view of this, the embodiment of the present application also designs a communication method in an MRI scenario for an in vitro programmable device to further reduce the power consumption of the device.
[0092] In the above steps, the in vitro programmable control device and the implantable therapeutic device both interactively obtain the magnetic resonance scanning parameters and the start signal of the magnetic resonance scanning. Therefore, it can be estimated based on the timing time whether the current moment is in the inactive period of the magnetic resonance scanning. If it is in the active period of the magnetic resonance scanning, the connection will be disconnected. Both devices can reduce the communication power or directly turn off the wireless communication module to ensure the safety of the equipment and save communication power consumption without affecting the magnetic resonance scanning. On the contrary, if it is in the inactive period of the magnetic resonance scanning, the communication module can be turned on or the communication power can be enhanced to search for the connection object information with the preset scanning parameters, and quickly establish a wireless communication connection when the implantable therapeutic device is searched.
[0093] After the connection is established again, the in vitro program-controlled device can receive the medical task data monitored by the implantable therapeutic device during the magnetic resonance scanning period. For example, the in vitro program-controlled device receives the electrode induction voltage data sent by the implantable therapeutic device, and the in vitro program-controlled device can judge the temperature of the electrodes of the implantable therapeutic device during the magnetic resonance examination, thereby providing a safety warning for the magnetic resonance examination and adjusting the magnetic resonance scanning parameters in real time. For another example, the in vitro program-controlled device receives the real-time monitoring data of the stimulation pulse sent by the implantable therapeutic device, and the in vitro program-controlled device can judge the safety of the stimulation pulse output of the implantable therapeutic device in the current magnetic resonance environment, thereby providing a safety warning for the magnetic resonance examination and adjusting the magnetic resonance scanning parameters in real time.
[0094] This embodiment realizes the intelligent and efficient connection management between the in vitro programmable device and the implantable therapeutic device. When the communication connection is disconnected during the magnetic resonance scanning period, unnecessary energy consumption and potential electromagnetic interference are effectively reduced by reducing the search frequency and / or adjusting the scanning parameters, thereby reducing the overall power consumption of the device. When the scan is interrupted or stopped and the connection needs to be re-established, the connection speed and success rate are significantly improved by extending the scan window and / or increasing the scan frequency, ensuring the timely transmission of medical data and the reliable operation of the equipment. This dynamic adjustment strategy not only improves the performance of medical equipment, but also further ensures the safety of patients.
[0095] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0096] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0097] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0098] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0099] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from these are still within the scope of protection of the invention.
Claims
1. A communication method for an in vitro programmable device, the method being executed by an in vitro programmable device of a medical device, characterized in that: include: S100, establishing a wireless connection with the medical device; S200, transmitting medical task data; S300, monitoring whether the running state of the application program for transmitting the medical task data changes, and when the running state changes, executing step S400, otherwise returning to step S200; S400, determining the task type of the application, the task type including a program-controlled task and a monitoring task, if the task type is a program-controlled task, executing step S500, if the task type is a monitoring task, executing step S600; S500, timing the program-controlled task, and determining whether to disconnect from the medical device according to the timing duration; S600, for a monitoring task, disconnecting from the medical device after the monitoring task is completed.
2. The communication method according to claim 1, characterized in that: Before establishing a wireless connection with the medical device, including: S1, obtaining the medical device type selected by the user; S2, determining preset scanning parameters corresponding to the type of medical device; S3, searching medical device information with the preset scanning parameters to determine connectable medical devices.
3. The communication method according to claim 2, characterized in that: Searching the connection object information with the preset scanning parameters to determine the connectable medical device includes: S31A, judging whether the corresponding medical device is a medical device in a preset whitelist according to the connection object information, and if the medical device is a medical device in the preset whitelist, executing step S32A; S32A, confirming the medical device as a connectable medical device.
4. The communication method according to claim 2, characterized in that: Searching the connection object information with the preset scanning parameters to determine the connectable medical device includes: S31B, judging whether the strength of the wireless communication signal of the corresponding medical device reaches the strength threshold according to the connection object information, and if the strength of the wireless communication signal of the medical device reaches the strength threshold, executing step S32B; S32B, confirming the medical device as a connectable medical device.
5. The communication method according to claim 2, characterized in that: Establishing a wireless connection with the medical device, comprising: S101, determining whether the connectable medical device is unique, if the connectable medical device is unique, executing step S102a; S102a, determining whether the medical device is in a binding state, if so, executing step S102a1, otherwise executing step S102a2; S102a1, establishing a wireless connection with the medical device; S102a2, prompting the user to perform a binding operation, and establishing a wireless connection with the medical device after the binding operation is completed.
6. The communication method according to claim 5, characterized in that: If the connectable medical device is not unique, all connectable medical devices are displayed according to the sorting rules; Establishes a wireless connection with a user-selected medical device.
7. The communication method according to claim 5, characterized in that: Before step S100, it also includes determining the type of program-controlled application used by the user, and the program-controlled application type includes a doctor-side and a patient-side; After the binding operation is completed, it also includes: if the program-controlled application type is the patient end, clearing the stored binding status with other medical devices.
8. The communication method according to claim 1, characterized in that: The running state includes a foreground running state and a background running state; the running state changes include a change from a foreground running state to a background running state; For program-controlled tasks, after timing, it also includes: Monitor whether the application has switched from the background running state to the foreground running state; When the application program changes from the background running state to the foreground running state, the timer stops timing and the timing time is reset to zero.
9. The communication method according to claim 1, characterized in that: The step S200 of transmitting the medical task data further includes: S201, determining whether the connected medical device is an implantable therapeutic device, and whether the implantable therapeutic device enters the MRI mode, if yes, executing step S202; S202, obtaining magnetic resonance scanning parameters; S203, timing after the magnetic resonance scanning starts; S204, determining whether the current moment is in an inactive period of magnetic resonance scanning according to the timing time and the magnetic resonance scanning parameters, if yes, executing step S206, otherwise, executing step S205; S205, disconnecting the wireless connection with the implantable therapeutic device, adjusting the wireless connection scanning parameters to reduce communication power consumption, and returning to step S204; S206, searching for implantable therapeutic devices with preset scanning parameters and establishing a wireless connection to transmit medical task data.
10. An in vitro programmable device, characterized in that: include: A processor and a memory connected to the processor; wherein the memory stores instructions executable by the processor, and the instructions are executed by the processor so that the processor executes the in vitro programmable device communication method as described in any one of claims 1-9.
Citation Information
Patent Citations
Testing stimulator
CN107970524A