Control method based on a medical device, stimulator, electronic device and storage medium
By analyzing acceleration data and comparing it with preset thresholds, the problem of inconvenience in using implantable neurostimulators was solved, and autonomous human-machine interaction control without external devices was achieved, improving convenience and timeliness.
Patent Information
- Application Number
- CN202210871475.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-22
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2042-07-22
AI Technical Summary
Existing implantable neurostimulators require external devices for human-computer interaction, which is inconvenient to use and easy to forget to bring, resulting in the inability to interact in a timely manner.
By acquiring the current acceleration data and comparing it with preset amplitude and time thresholds, control operation commands are determined, enabling autonomous human-machine interaction control without the need for additional devices.
It improves ease of use, avoids situations where control is lost due to forgetting to bring external devices, and enables timely human-computer interaction.
Smart Images

Figure CN115212457B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of human-computer interaction, and more particularly to a control method, stimulator, electronic device, and storage medium based on medical devices. Background Technology
[0002] Implantable neurostimulators are a typical example of active implantable medical devices. Powered by batteries, they treat corresponding neurological diseases by applying electrical pulse stimulation signals with different parameters to different stimulation targets. Currently, implantable neurostimulators have numerous and complex stimulation functions, including stimulation on / off, stimulation parameter adjustment, human signal acquisition and processing, battery level detection, etc. These functions and parameters require human control. The main methods for human-machine interaction with implantable stimulators are wireless communication or reed switches. For example, external programming devices that can wirelessly communicate with the implantable neurostimulator can be used to program parameters and control stimulation, or an external magnet can be brought near to trigger an internal reed switch to generate a switching control signal. However, both wireless communication and reed switch human-machine interaction methods require external programming or magnets, which need to be carried around, making them inconvenient and potentially leading to forgetting to bring them and thus preventing timely interaction when needed.
[0003] Therefore, the stimulators of this technology are inconvenient to use and cannot achieve timely human-computer interaction. Summary of the Invention
[0004] This application provides a control method, stimulator, electronic device, and storage medium based on medical devices, to at least solve the problems of inconvenience in use and inability to achieve timely human-computer interaction in related technologies.
[0005] According to one aspect of the embodiments of this application, a control method based on a medical device is provided, the method comprising:
[0006] Get the current acceleration data;
[0007] Compare the current acceleration data with a preset amplitude threshold;
[0008] If the current acceleration data is determined to be greater than or equal to the preset amplitude threshold, the time period corresponding to the current acceleration data is compared with the preset time threshold to determine the control operation command;
[0009] The medical device is controlled to perform corresponding control operations according to the control operation instructions.
[0010] According to another aspect of the embodiments of this application, a stimulator is also provided, the stimulator including a microcontroller device, an accelerometer device, and a stimulation device;
[0011] The microcontroller device is connected to the accelerometer device and the stimulation device respectively, and is used to acquire the current acceleration data sent by the accelerometer device; compare the current acceleration data with a preset amplitude threshold; if it is determined that the current acceleration data is greater than or equal to the preset amplitude threshold, compare the time period corresponding to the current acceleration data with a preset time threshold to determine a control operation instruction; and control the stimulation device to perform the corresponding control operation according to the control operation instruction.
[0012] According to another aspect of the embodiments of this application, a control device based on a medical device is also provided, the device comprising:
[0013] The acquisition module is used to acquire current acceleration data;
[0014] The comparison module is used to compare the current acceleration data with a preset amplitude threshold.
[0015] The determination module is used to compare the time period corresponding to the current acceleration data with the preset time threshold when it is determined that the current acceleration data is greater than or equal to the preset amplitude threshold, and to determine the control operation instruction.
[0016] The execution module is used to control the medical device to perform corresponding control operations according to the control operation instructions.
[0017] According to another aspect of the embodiments of this application, an electronic device is also provided, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; wherein the memory is used to store a computer program; and the processor is used to execute the method steps of any of the above embodiments by running the computer program stored in the memory.
[0018] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, wherein a computer program is stored therein, wherein the computer program is configured to perform the method steps of any of the above embodiments when it is run.
[0019] In this embodiment, current acceleration data is acquired; the current acceleration data is compared with a preset amplitude threshold; if the current acceleration data is determined to be greater than or equal to the preset amplitude threshold, the time period corresponding to the current acceleration data is compared with a preset time threshold to determine a control operation command; and the medical device is controlled to perform the corresponding control operation according to the control operation command. Because this embodiment analyzes the current acceleration data and compares it with the set preset amplitude and time thresholds to determine the control operation to be performed on the medical device, human-computer interaction control can be achieved without the need for an additional external device, increasing ease of use and eliminating the situation where control is impossible due to accidentally forgetting to bring an external device. This solves the problems of inconvenience and inability to achieve timely human-computer interaction in related technologies' stimulators. Attached Figure Description
[0020] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0021] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 This is a flowchart illustrating an optional control method based on a medical device according to an embodiment of this application;
[0023] Figure 2 This is a control flowchart of one of the optional human-computer interaction control methods according to an embodiment of this application;
[0024] Figure 3 This is a schematic diagram of an optional single-tap detection flowchart according to an embodiment of this application;
[0025] Figure 4 This is a schematic diagram of an optional vagus nerve stimulation application according to an embodiment of this application;
[0026] Figure 5 This is a schematic diagram of an optional spinal cord stimulation application according to an embodiment of this application;
[0027] Figure 6 This is a block diagram of an optional stimulator device according to an embodiment of this application;
[0028] Figure 7 This is a structural block diagram of an optional medical device-based control device according to an embodiment of this application;
[0029] Figure 8 This is a structural block diagram of an optional electronic device according to an embodiment of this application. Detailed Implementation
[0030] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0031] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0032] Currently, implantable neurostimulators offer a wide range of complex stimulation functions, requiring manual control of their functions and parameters for human-computer interaction. However, current human-computer interaction methods necessitate external devices such as programmers or magnets, which are inconvenient to carry and may be forgotten, preventing timely interaction when needed. To address these issues, this application provides a control method based on a medical device. This method is applied to a microcontroller server of the medical device, which can be an active implantable medical device, such as... Figure 1 As shown, the method includes:
[0033] Step S101: Obtain current acceleration data;
[0034] Step S102: Compare the current acceleration data with a preset amplitude threshold;
[0035] Step S103: If it is determined that the current acceleration data is greater than or equal to the preset amplitude threshold, the time period corresponding to the current acceleration data is compared with the preset time threshold to determine the control operation command;
[0036] Step S104: Control the medical device to perform the corresponding control operation according to the control operation instruction.
[0037] Optionally, the microcontroller server can acquire current acceleration data in real time, then compare this data with a pre-set amplitude threshold. Only when the current acceleration data is greater than or equal to the threshold is it considered that the user may have engaged in tapping behavior. In this case, the time period corresponding to the current acceleration data is compared with a preset time threshold, and a control operation command is determined based on the comparison result. Finally, the medical device is controlled to perform the corresponding control operation based on the determined control operation command.
[0038] It should be noted that when comparing the time period corresponding to the current acceleration data with the preset time threshold, control commands are only determined based on the tapping behavior if the comparison result indicates that the user has performed a tapping action. The medical device is then controlled to perform the corresponding control operation. See details in [link to documentation]. Figure 2 .
[0039] In this embodiment, current acceleration data is acquired; the current acceleration data is compared with a preset amplitude threshold; if the current acceleration data is determined to be greater than or equal to the preset amplitude threshold, the time period corresponding to the current acceleration data is compared with a preset time threshold to determine a control operation command; and the medical device is controlled to perform the corresponding control operation according to the control operation command. Because this embodiment analyzes the current acceleration data and compares it with the set preset amplitude and time thresholds to determine the control operation to be performed on the medical device, human-computer interaction control can be achieved without the need for an additional external device, increasing ease of use and eliminating the situation where control is impossible due to accidentally forgetting to bring an external device. This solves the problems of inconvenience and inability to achieve timely human-computer interaction in related technologies' stimulators.
[0040] As an optional embodiment, comparing the current acceleration data with a preset amplitude threshold includes:
[0041] The target algorithm is used to preprocess the current acceleration data to obtain the preprocessed target acceleration data;
[0042] Determine the acceleration amplitude value based on the target acceleration data;
[0043] The acceleration amplitude value is compared with the preset amplitude threshold.
[0044] Optionally, since the embodiments of this application pre-set a preset amplitude threshold, and the acceleration amplitude value contained in the acceleration data, i.e. the maximum acceleration value, can be pre-processed using a target algorithm, such as filtering or PCA algorithm, to obtain pre-processed target acceleration data. Then, the acceleration amplitude value in the target acceleration data is compared with the preset amplitude threshold to obtain the comparison results.
[0045] In this embodiment of the application, the current acceleration data is preprocessed by the target algorithm to make the data easier and more stable to be compared with the preset amplitude threshold, so as to obtain an accurate comparison result.
[0046] As an optional embodiment, when it is determined that the current acceleration data is greater than or equal to a preset amplitude threshold, the time period corresponding to the current acceleration data is compared with a preset time threshold to determine the control operation command, including:
[0047] If the acceleration amplitude value is determined to be greater than or equal to a preset amplitude threshold, multiple time points corresponding to the moment when the acceleration amplitude value is greater than or equal to the preset amplitude threshold are obtained.
[0048] Retrieve a time period consisting of multiple time points;
[0049] If the time period is less than or equal to a preset time threshold, obtain the control operation command corresponding to the tapping method.
[0050] Optionally, such as Figure 3 As shown, firstly, the acceleration amplitude and preset time threshold are set, and acceleration detection is enabled. Then, the acquired acceleration signals and data are processed. When the acceleration amplitude is determined to be greater than or equal to the preset amplitude threshold, timing is started until the amplitude is less than the preset amplitude threshold. More specifically, timing is started to obtain multiple time points corresponding to the moments when the acceleration amplitude value is greater than or equal to the preset amplitude threshold, until the acceleration amplitude value is less than or equal to the preset amplitude threshold and timing stops. This yields a time period composed of multiple time points. For example, if the time points corresponding to the moments when the acceleration amplitude value is greater than or equal to the preset amplitude threshold are 10ms, 15ms, and 20ms, then the time period is 5ms + 5ms = 10ms. Then, the time period is compared with the preset time threshold, such as 11ms. When the time period is determined to be less than or equal to the preset time threshold, it is considered that the current input is a tap, and the control operation command corresponding to the tapping method is obtained and the relevant control operation is performed.
[0051] In addition, it should be noted that the preset time threshold can be in the range of 10ms-200ms, and the preset amplitude threshold can be in the range of 100mg-2g. Of course, the above ranges are just examples, and the embodiments of this application include, but are not limited to, the above ranges.
[0052] After the control operation is completed, continue to monitor acceleration data to monitor the tapping action input.
[0053] In this embodiment, by recording the time period during which the acceleration amplitude value is greater than or equal to a preset amplitude threshold and comparing it with a preset time threshold, the system can purposefully determine whether the user is currently performing a tapping operation based on the comparison result, thus refining the detection result.
[0054] As an optional embodiment, obtaining the control operation command corresponding to the tapping method includes:
[0055] Receive the touch options included in the medical device, as well as the historical usage frequency and accidental touch effects of each touch option;
[0056] Based on historical usage frequency and the impact of accidental touches, control operations corresponding to various tapping modes are generated, resulting in multiple control operation commands. Among them, the tapping mode includes the number of taps and the time interval between consecutive taps.
[0057] Optionally, embodiments of this application can define different interactive commands through different tapping methods to achieve various control functions. Different tapping methods include different tapping counts and time intervals. Specific tapping methods include, but are not limited to, the following: single tap, double tap (the time interval between two taps can range from 50ms to 200ms, or other interval ranges), triple tap (the time interval range can be the same or different), and multiple taps (which can be encoded through tapping time intervals), etc.
[0058] Choose the appropriate tapping method based on the historical usage frequency of each touch option in the control function and the impact of accidental triggering, and select a compromise input method that balances ease of operation and difficulty of accidental triggering.
[0059] Examples of human-computer interaction control functions that can be implemented using embodiments of this application:
[0060] For example, the on / off operation of a brain pacemaker is used infrequently, so it can be triggered by three clicks at equal intervals, which ensures the simplicity of the input operation and reduces the likelihood of accidental triggering.
[0061] Vagus nerve stimulation, such as Figure 4The typical stimulation method in normal mode is to stop for 5 minutes and then stimulate for 30 seconds. When the patient feels abnormal or has already had an epileptic seizure, external stimulation for a certain period of time is needed to suppress the epileptic seizure or reduce the severity of the seizure. However, accidental stimulation has little impact on the patient. Therefore, external rapid stimulation can be achieved by double-tapping.
[0062] For example, the Bluetooth communication function of various neurostimulators is normally turned off due to safety and power saving requirements. The Bluetooth module is only activated by an external control magnet or a special device when Bluetooth communication is needed. Alternatively, multiple taps encoded with time intervals can be used as the interaction method to start the Bluetooth module, eliminating the need for an external control magnet or special device.
[0063] For example, the on / off function and stimulation amplitude adjustment function of the spinal cord stimulator are currently the main functions of the patient programming device. Figure 5 The device can be turned on or off by double-clicking, the amplitude can be increased by triple-clicking, and the amplitude can be decreased by quad-clicking, so that patients do not need to carry the patient programmable device with them most of the time.
[0064] like Figure 2 The provided diagram illustrates the control flowcharts for various tapping modes as different human-computer interaction control methods. First, the detection parameters and methods for different tapping modes, such as single tap, double tap, and multi-tap, are set. Accelerometer signal detection is then enabled to monitor tapping input. Upon detecting a tapping action, the corresponding control operation is executed based on the different tapping modes input.
[0065] This application embodiment uses the detection of tapping behavior input as a human-computer interaction method, which eliminates the need for additional external devices. The corresponding control operations under various tapping methods realize human-computer interaction control.
[0066] As an optional embodiment, the current acceleration data is preprocessed using a target algorithm to obtain preprocessed target acceleration data, including:
[0067] Obtain the direction of motion from the current acceleration data;
[0068] Given that the direction of motion is perpendicular to the direction generated after the medical device is placed, the target algorithm is used to reduce the dimensionality of the current acceleration data to obtain the target acceleration data.
[0069] Optionally, acceleration amplitude determination can utilize triaxial acceleration amplitude data, employing target algorithms such as Principal Component Analysis (PCA) for dimensionality reduction, and then comparing it with a preset amplitude threshold. To further reduce power consumption, analysis can also be performed using only the data change along the axis consistent with the impact direction (perpendicular to the stimulator surface), as this axis accounts for a larger proportion of the acceleration caused by the impact.
[0070] According to another aspect of the embodiments of this application, a stimulator for implementing the above-described control method based on a medical device is also provided, such as... Figure 6 As shown, the stimulator includes a microcontroller device 1, an accelerometer device 2, and a stimulation device 3;
[0071] The microcontroller device 1 is connected to the accelerometer device 2 and the stimulation device 3, respectively, and is used to acquire the current acceleration data sent by the accelerometer device 2; compare the current acceleration data with a preset amplitude threshold; if the current acceleration data is greater than or equal to the preset amplitude threshold, compare the time period corresponding to the current acceleration data with a preset time threshold to determine a control operation command; and control the stimulation device 3 to perform the corresponding control operation according to the control operation command. Alternatively, the accelerometer device in this embodiment can also internally integrate a tapping detection method and enable monitoring. When a tapping action is detected, the accelerometer generates an interrupt signal to the microcontroller device 1 to achieve the control operation of turning it on or off.
[0072] Furthermore, the accelerometer device in the embodiments of this application is preferably a triaxial accelerometer device.
[0073] This application embodiment analyzes the current acceleration data and compares the current acceleration data with the preset amplitude threshold and preset time threshold to determine the control operation to be performed on the medical device. This allows for human-computer interaction control without the need for an additional external device, increasing ease of use and eliminating the situation where control is impossible due to accidentally forgetting to bring the external device. This solves the problems of inconvenience in the use of stimulators in related technologies and the inability to achieve timely human-computer interaction.
[0074] As an alternative embodiment, such as Figure 6 As shown, the stimulator also includes: a power supply 4 and a communication device 5;
[0075] The power supply device 4 is connected to the microcontroller device 1, the accelerometer device 2, the stimulation device 3 and the communication device 5 respectively, and is used to input power.
[0076] The communication device 5 is connected to the microcontroller device 1 and is used to receive control operation commands and send the control operation commands to external terminal devices.
[0077] It should be noted that the stimulator may also include other functional devices besides those mentioned above, which can be used to replace the communication device; these will not be elaborated on here.
[0078] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0079] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM (Read-Only Memory) / RAM (Random Access Memory), magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.
[0080] According to another aspect of the embodiments of this application, a medical device-based control device for implementing the above-described medical device-based control method is also provided. Figure 7 This is a structural block diagram of an optional medical device-based control device according to an embodiment of this application, such as... Figure 7 As shown, the device may include:
[0081] Module 701 is used to acquire current acceleration data;
[0082] Comparison module 702 is used to compare the current acceleration data with a preset amplitude threshold;
[0083] The determination module 703 is used to compare the time period corresponding to the current acceleration data with the preset time threshold when it is determined that the current acceleration data is greater than or equal to the preset amplitude threshold, and to determine the control operation command.
[0084] The execution module 704 is used to control the medical device to perform corresponding control operations according to the control operation instructions.
[0085] It should be noted that the acquisition module 701 in this embodiment can be used to execute the above step S101, the comparison module 702 in this embodiment can be used to execute the above step S102, the determination module 703 in this embodiment can be used to execute the above step S103, and the execution module 704 in this embodiment can be used to execute the above step S104.
[0086] Through the above modules, the current acceleration data is analyzed and compared with the preset amplitude threshold and preset time threshold to determine the control operation to be performed on the medical device. This allows for human-computer interaction control without the need for additional external devices, increasing ease of use and eliminating situations where control is impossible due to accidentally forgetting to bring external devices. This solves the problem of inconvenience and inability to achieve timely human-computer interaction in related stimulator technologies.
[0087] As an optional embodiment, the comparison module includes:
[0088] The preprocessing unit is used to preprocess the current acceleration data using the target algorithm to obtain the preprocessed target acceleration data;
[0089] The determination unit is used to determine the acceleration amplitude value based on the target acceleration data;
[0090] The comparison unit is used to compare the acceleration amplitude value with a preset amplitude threshold.
[0091] As an optional embodiment, the determining module includes:
[0092] The first acquisition unit is used to acquire multiple time points corresponding to the moment when the acceleration amplitude value is greater than or equal to the preset amplitude threshold, when it is determined that the acceleration amplitude value is greater than or equal to the preset amplitude threshold.
[0093] The second acquisition unit is used to acquire a time period consisting of multiple time points;
[0094] The third acquisition unit is used to acquire the control operation command corresponding to the tapping method when the time period is less than or equal to a preset time threshold.
[0095] As an optional embodiment, the third acquisition unit includes:
[0096] The receiving submodule is used to receive the touch options contained in the medical device, as well as the historical usage frequency and accidental touch effects of each touch option;
[0097] The generation submodule is used to generate control operations corresponding to various tapping modes based on historical usage frequency and the impact of accidental touches, resulting in multiple control operation instructions. The tapping mode includes the number of taps and the time interval between consecutive taps.
[0098] As an optional embodiment, the preprocessing unit includes:
[0099] The acquisition submodule is used to acquire the direction of motion of the current acceleration data;
[0100] The dimensionality reduction submodule is used to reduce the dimensionality of the current acceleration data using a target algorithm, given that the direction of motion is perpendicular to the direction generated after the medical device is placed, to obtain the target acceleration data.
[0101] According to another aspect of the embodiments of this application, an electronic device for implementing the above-described control method based on medical devices is also provided. The electronic device may be a server, a terminal, or a combination thereof.
[0102] Figure 8 This is a structural block diagram of an optional electronic device according to an embodiment of this application, such as... Figure 8 As shown, it includes a processor 801, a communication interface 802, a memory 803, and a communication bus 804. The processor 801, communication interface 802, and memory 803 communicate with each other via the communication bus 804.
[0103] Memory 803 is used to store computer programs;
[0104] When processor 801 executes a computer program stored in memory 803, it performs the following steps:
[0105] Get the current acceleration data;
[0106] Compare the current acceleration data with the preset amplitude threshold;
[0107] If the current acceleration data is determined to be greater than or equal to the preset amplitude threshold, the time period corresponding to the current acceleration data is compared with the preset time threshold to determine the control operation command;
[0108] Control the medical equipment to perform corresponding control operations according to the control operation instructions.
[0109] Optionally, in this embodiment, the communication bus can be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0110] The communication interface is used for communication between the aforementioned electronic devices and other devices.
[0111] The memory may include RAM, or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0112] As an example, such as Figure 8 As shown, the memory 803 may include, but is not limited to, the acquisition module 701, comparison module 702, determination module 703, and execution module 704 of the control device based on the medical device. Furthermore, it may include, but is not limited to, other module units of the control device based on the medical device, which will not be described in detail in this example.
[0113] The processors mentioned above can be general-purpose processors, including but not limited to: CPU (Central Processing Unit), NP (Network Processor), etc.; they can also be DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0114] In addition, the aforementioned electronic device also includes a display for showing the control results based on the medical device.
[0115] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments, and will not be repeated here.
[0116] Those skilled in the art will understand that Figure 8The structure shown is for illustrative purposes only. The device implementing the above-described control method based on medical devices can be a terminal device, such as a smartphone (e.g., an Android phone, an iOS phone), a tablet computer, a PDA, a mobile internet device (MID), a PAD, or other terminal devices. Figure 8 This does not limit the structure of the aforementioned electronic devices. For example, the terminal device may also include components that are more advanced than those described above. Figure 8 The more or fewer components shown (such as network interfaces, display devices, etc.), or having the same Figure 8 The different configurations shown.
[0117] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, ROM, RAM, disk or optical disk, etc.
[0118] According to another aspect of the embodiments of this application, a storage medium is also provided. Optionally, in this embodiment, the storage medium can be used to execute program code for a control method based on a medical device.
[0119] Optionally, in this embodiment, the storage medium may be located on at least one of the network devices in the network shown in the above embodiment.
[0120] Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
[0121] Get the current acceleration data;
[0122] Compare the current acceleration data with the preset amplitude threshold;
[0123] If the current acceleration data is determined to be greater than or equal to the preset amplitude threshold, the time period corresponding to the current acceleration data is compared with the preset time threshold to determine the control operation command;
[0124] Control the medical equipment to perform corresponding control operations according to the control operation instructions.
[0125] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments, and will not be repeated in this embodiment.
[0126] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing program code, such as USB flash drives, ROMs, RAMs, portable hard drives, magnetic disks, or optical disks.
[0127] According to another aspect of the embodiments of this application, a computer program product or computer program is also provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to perform the steps of the control method based on a medical device in any of the above embodiments.
[0128] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0129] If the integrated units in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in the aforementioned computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the control methods based on medical devices in the various embodiments of this application.
[0130] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0131] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, or the indirect coupling or communication connection of units or modules may be electrical or other forms.
[0132] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the solution provided in this embodiment, depending on actual needs.
[0133] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0134] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. An active implantable neurostimulator, characterized in that, The stimulator includes a microcontroller device, an accelerometer device, and a stimulation device, enabling human-computer interaction control without the need for additional external devices. The accelerometer device integrates a knock detection method and activates monitoring to generate an interrupt signal after a knock action is detected. The microcontroller device is connected to the accelerometer device and the stimulation device respectively, and is used to receive the interrupt signal generated by the accelerometer device and to obtain the current acceleration data sent by the accelerometer device in response to the interrupt signal. Compare the current acceleration data with a preset amplitude threshold; If the current acceleration data is determined to be greater than or equal to the preset amplitude threshold, the time period corresponding to the current acceleration data is compared with the preset time threshold to determine a control operation instruction. If the acceleration amplitude value is determined to be greater than or equal to the preset amplitude threshold, multiple time points corresponding to the moment when the acceleration amplitude value is greater than or equal to the preset amplitude threshold are obtained; a time period composed of the multiple time points is obtained; if the time period is determined to be less than or equal to the preset time threshold, the control operation instruction corresponding to the tapping method is obtained. The acceleration amplitude value is determined based on target acceleration data, which is obtained after preprocessing the current acceleration data. Preprocessing the current acceleration data includes: obtaining the motion direction of the current acceleration data; if the motion direction is determined to be perpendicular to the direction generated after the stimulator is placed, a target algorithm is used to perform data dimensionality reduction on the current acceleration data to obtain the target acceleration data. The process of obtaining the control operation instructions corresponding to the tapping mode includes: receiving the touch options contained in the stimulator and the historical usage frequency and accidental touch effects of each touch option; generating control operations corresponding to various tapping modes based on the historical usage frequency and accidental touch effects, thereby obtaining multiple control operation instructions, wherein the tapping mode includes the number of taps and the time interval between consecutive taps; and controlling the stimulation device to perform the corresponding control operation according to the control operation instructions.
2. The stimulator according to claim 1, characterized in that, The stimulator also includes: a power supply device and a communication device; The power supply device is connected to the microcontroller device, the accelerometer device, the stimulation device, and the communication device respectively, and is used to input power. The communication device is connected to the microcontroller device and is used to receive the control operation instructions and send the control operation instructions to an external terminal device.
3. A control device based on an active implantable neurostimulator, characterized in that, The neurostimulator enables human-computer interaction control without the need for additional external devices, and the device includes: The acquisition module is used to monitor the accelerometer device that integrates a knock detection method and activates the monitoring. After the accelerometer device detects a knock action, it receives an interrupt signal generated by the accelerometer device and acquires the current acceleration data in response to the interrupt signal. The comparison module is used to compare the current acceleration data with a preset amplitude threshold. The determination module is used to compare the time period corresponding to the current acceleration data with the preset time threshold when it is determined that the current acceleration data is greater than or equal to the preset amplitude threshold, and to determine the control operation instruction. The determining module is further configured to, when determining that the acceleration amplitude value is greater than or equal to the preset amplitude threshold, acquire multiple time points corresponding to the moment when the acceleration amplitude value is greater than or equal to the preset amplitude threshold; acquire a time period composed of the multiple time points; and, when determining that the time period is less than or equal to the preset time threshold, acquire the control operation instruction corresponding to the tapping method, wherein the acceleration amplitude value is determined based on target acceleration data, and the target acceleration data is obtained after preprocessing the current acceleration data; the preprocessing of the current acceleration data includes: acquiring the motion direction of the current acceleration data; and, when determining that the motion direction is perpendicular to the direction generated after the stimulator is placed, using a target algorithm to perform data dimensionality reduction on the current acceleration data to obtain the target acceleration data. The process of obtaining the control operation instructions corresponding to the tapping mode includes: receiving the touch options contained in the stimulator and the historical usage frequency and accidental touch effects of each touch option; generating control operations corresponding to multiple tapping modes based on the historical usage frequency and accidental touch effects, thereby obtaining multiple control operation instructions, wherein the tapping mode includes the number of taps and the time interval between consecutive taps; The execution module is used to control the stimulator to perform corresponding control operations according to the control operation instructions.
Citation Information
Patent Citations
Apparatus and method for button-free control of a wearable transcutaneous electrical nerve stimulator using interactive gestures and other means
CN110944713A
