CN115212457A - Control method based on medical equipment, stimulator, electronic equipment and storage medium - Google Patents

Control method based on medical equipment, stimulator, electronic equipment and storage medium Download PDF

Info

Publication number
CN115212457A
CN115212457A CN202210871475.2A CN202210871475A CN115212457A CN 115212457 A CN115212457 A CN 115212457A CN 202210871475 A CN202210871475 A CN 202210871475A CN 115212457 A CN115212457 A CN 115212457A
Authority
CN
China
Prior art keywords
acceleration data
control operation
current acceleration
preset
operation instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210871475.2A
Other languages
Chinese (zh)
Inventor
马伯志
郝红伟
李路明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CN202210871475.2A priority Critical patent/CN115212457A/en
Publication of CN115212457A publication Critical patent/CN115212457A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N1/00Electrotherapy; Circuits therefor
    • A61N1/18Applying electric currents by contact electrodes
    • A61N1/32Applying electric currents by contact electrodes alternating or intermittent currents
    • A61N1/36Applying electric currents by contact electrodes alternating or intermittent currents for stimulation
    • A61N1/3605Implantable neurostimulators for stimulating central or peripheral nerve system
    • A61N1/36128Control systems
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N1/00Electrotherapy; Circuits therefor
    • A61N1/18Applying electric currents by contact electrodes
    • A61N1/32Applying electric currents by contact electrodes alternating or intermittent currents
    • A61N1/36Applying electric currents by contact electrodes alternating or intermittent currents for stimulation
    • A61N1/3605Implantable neurostimulators for stimulating central or peripheral nerve system
    • A61N1/36128Control systems
    • A61N1/36132Control systems using patient feedback
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N1/00Electrotherapy; Circuits therefor
    • A61N1/18Applying electric currents by contact electrodes
    • A61N1/32Applying electric currents by contact electrodes alternating or intermittent currents
    • A61N1/36Applying electric currents by contact electrodes alternating or intermittent currents for stimulation
    • A61N1/3605Implantable neurostimulators for stimulating central or peripheral nerve system
    • A61N1/36128Control systems
    • A61N1/36135Control systems using physiological parameters
    • A61N1/36139Control systems using physiological parameters with automatic adjustment
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N1/00Electrotherapy; Circuits therefor
    • A61N1/18Applying electric currents by contact electrodes
    • A61N1/32Applying electric currents by contact electrodes alternating or intermittent currents
    • A61N1/36Applying electric currents by contact electrodes alternating or intermittent currents for stimulation
    • A61N1/372Arrangements in connection with the implantation of stimulators
    • A61N1/37211Means for communicating with stimulators
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N1/00Electrotherapy; Circuits therefor
    • A61N1/18Applying electric currents by contact electrodes
    • A61N1/32Applying electric currents by contact electrodes alternating or intermittent currents
    • A61N1/36Applying electric currents by contact electrodes alternating or intermittent currents for stimulation
    • A61N1/372Arrangements in connection with the implantation of stimulators
    • A61N1/37211Means for communicating with stimulators
    • A61N1/37235Aspects of the external programmer
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N1/00Electrotherapy; Circuits therefor
    • A61N1/18Applying electric currents by contact electrodes
    • A61N1/32Applying electric currents by contact electrodes alternating or intermittent currents
    • A61N1/36Applying electric currents by contact electrodes alternating or intermittent currents for stimulation
    • A61N1/372Arrangements in connection with the implantation of stimulators
    • A61N1/375Constructional arrangements, e.g. casings

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Radiology & Medical Imaging (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Neurosurgery (AREA)
  • Neurology (AREA)
  • Biophysics (AREA)
  • Physiology (AREA)
  • Electrotherapy Devices (AREA)

Abstract

The application provides a control method based on a medical device, a stimulator, an electronic device and a storage medium, wherein the method comprises the following steps: acquiring current acceleration data; comparing the current acceleration data with a preset amplitude threshold value; under the condition that the current acceleration data is determined to be larger than or equal to the preset amplitude threshold, comparing the time period corresponding to the current acceleration data with the preset time threshold, and determining a control operation instruction; and controlling the medical equipment to execute corresponding control operation according to the control operation instruction. Through the application, the problems that the stimulator in the related technology is inconvenient to use and cannot achieve timely human-computer interaction are solved.

Description

Control method based on medical equipment, stimulator, electronic equipment and storage medium
Technical Field
The present application relates to the field of human-computer interaction, and in particular, to a control method based on a medical device, a stimulator, an electronic device, and a storage medium.
Background
Implantable neurostimulators are typical representations of active implantable medical devices, and are powered by batteries to treat corresponding nerve-related disorders by applying electrical pulse stimulation signals of different parameters at different stimulation targets. At present, the implantable neural stimulator has many and complex stimulation functions, including stimulation on/off, stimulation parameter adjustment, human body signal acquisition and processing, battery power detection and the like, which need to be controlled manually, and generally, the method of man-machine interaction with the implantable neural stimulator is mainly a wireless communication or reed switch manner, for example, the implantable neural stimulator can be controlled by using an external program control device which can be wirelessly communicated with the implantable neural stimulator to perform parameter programming, on/off stimulation and the like on the implantable neural stimulator, or an internal reed switch of the implantable neural stimulator generates an on/off control signal by using an external control magnet which is close to the implantable neural stimulator. However, both wireless communication and the human-computer interaction mode of the reed switch require external devices such as external program control or magnets, are not convenient to carry, and can be forgotten to carry, so that timely interaction cannot be performed when needed.
Therefore, the stimulator in the related art has the problems of inconvenient use and incapability of realizing timely human-computer interaction.
Disclosure of Invention
The application provides a control method based on medical equipment, a stimulator, electronic equipment and a storage medium, which are used for at least solving the problems that the stimulator in the related technology is inconvenient to use and cannot realize timely human-computer interaction.
According to an aspect of an embodiment of the present application, there is provided a medical device-based control method, including:
acquiring current acceleration data;
comparing the current acceleration data with a preset amplitude threshold;
under the condition that the current acceleration data is determined to be larger than or equal to the preset amplitude threshold, comparing the time period corresponding to the current acceleration data with a preset time threshold to determine a control operation instruction;
and controlling the medical equipment to execute corresponding control operation according to the control operation instruction.
There is also provided, in accordance with another aspect of an embodiment of the present application, a stimulator, including a microcontroller device, an accelerometer device, a stimulation device;
the microcontroller device is respectively connected with the accelerometer device and the stimulation device and is used for acquiring current acceleration data sent by the accelerometer device; comparing the current acceleration data with a preset amplitude threshold; under the condition that the current acceleration data is determined to be larger than or equal to the preset amplitude threshold, comparing the time period corresponding to the current acceleration data with a preset time threshold to determine a control operation instruction; and controlling the stimulation device to execute corresponding control operation according to the control operation instruction.
There is also provided, in accordance with another aspect of an embodiment of the present application, a medical device-based control apparatus, including:
the acquisition module is used for acquiring current acceleration data;
the comparison module is used for comparing the current acceleration data with a preset amplitude threshold value;
the determining module is used for comparing a time period corresponding to the current acceleration data with a preset time threshold value under the condition that the current acceleration data is determined to be larger than or equal to the preset amplitude threshold value, and determining a control operation instruction;
and the execution module is used for controlling the medical equipment to execute corresponding control operation according to the control operation instruction.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory communicate with each other through the communication bus; wherein the memory is used for storing the computer program; a processor for performing the method steps in any of the above embodiments by running the computer program stored on the memory.
According to a further aspect of the embodiments of the present application, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to perform the method steps of any of the above embodiments when the computer program is executed.
In the embodiment of the application, current acceleration data is acquired; comparing the current acceleration data with a preset amplitude threshold; under the condition that the current acceleration data is determined to be larger than or equal to the preset amplitude threshold, comparing the time period corresponding to the current acceleration data with the preset time threshold, and determining a control operation instruction; and controlling the medical equipment to execute corresponding control operation according to the control operation instruction. Because the embodiment of the application carries out numerical comparison on the current acceleration data and the preset amplitude threshold value and the preset time threshold value which are set through analyzing the current acceleration data, and further determines the control operation executed on the medical equipment, thereby not needing to use an additional in-vitro device, realizing the human-computer interaction control, increasing the use convenience, simultaneously eliminating the uncontrollable condition caused by accidentally forgetting to carry the in-vitro device, and further solving the problems that the stimulator of the related technology is inconvenient to use and cannot realize the timely human-computer interaction.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive labor.
FIG. 1 is a schematic flow chart diagram of an alternative medical device-based control method according to an embodiment of the present application;
FIG. 2 is a control flow diagram of an alternative different control method of human-computer interaction according to an embodiment of the application;
FIG. 3 is a diagrammatic illustration of an alternative single tap detection flow in accordance with an embodiment of the present application;
FIG. 4 is a schematic diagram of an alternative vagal nerve stimulation application according to an embodiment of the present application;
FIG. 5 is a schematic illustration of an alternative spinal cord stimulation application in accordance with an embodiment of the present application;
FIG. 6 is a block diagram of an alternative stimulator device according to an embodiment of the present application;
FIG. 7 is a block diagram of an alternative medical device based control apparatus according to an embodiment of the present application;
fig. 8 is a block diagram of an alternative electronic device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be implemented in sequences other than those illustrated or described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
At present, the stimulation function of the implanted nerve stimulator is more and complicated, and the function and the parameter of the implanted nerve stimulator need to be manually controlled to realize human-computer interaction. However, the current man-machine interaction mode requires external devices such as external program control or magnets, is not convenient enough to carry, and can be forgotten to carry, so that timely interaction cannot be performed when needed. In order to solve the above problem, an embodiment of the present application provides a control method based on a medical device, the method is applied to a micro control server of the medical device, the medical device may be an active implantable medical device, as shown in fig. 1, and the method includes:
step S101, acquiring current acceleration data;
step S102, comparing the current acceleration data with a preset amplitude threshold value;
step S103, comparing a time period corresponding to the current acceleration data with a preset time threshold value under the condition that the current acceleration data is determined to be larger than or equal to the preset amplitude threshold value, and determining a control operation instruction;
and step S104, controlling the medical equipment to execute corresponding control operation according to the control operation instruction.
Optionally, the micro control server may obtain current acceleration data in a real-time acquisition manner, then compare the current acceleration data with a preset amplitude threshold, and only when it is determined that the current acceleration data is greater than or equal to the preset amplitude threshold, which indicates that the user may have a tapping behavior, compare a time period corresponding to the current acceleration data with a preset time threshold, and then determine the control operation instruction according to the comparison result. And finally, controlling the medical equipment to execute corresponding control operation based on the currently determined control operation instruction.
It should be noted that, when the time period corresponding to the current acceleration data is compared with the preset time threshold, only if it is tested that the user performs the tapping behavior, the control operation instruction is determined based on the tapping manner, and the medical device is controlled to perform the corresponding control operation. See in particular fig. 2.
In the embodiment of the application, current acceleration data is acquired; comparing the current acceleration data with a preset amplitude threshold; under the condition that the current acceleration data is determined to be larger than or equal to the preset amplitude threshold, comparing the time period corresponding to the current acceleration data with the preset time threshold, and determining a control operation instruction; and controlling the medical equipment to execute corresponding control operation according to the control operation instruction. Because the embodiment of the application carries out numerical comparison on the current acceleration data and the preset amplitude threshold value and the preset time threshold value which are set through analyzing the current acceleration data, and further determines the control operation executed on the medical equipment, thereby not needing to use an additional in-vitro device, realizing the human-computer interaction control, increasing the use convenience, simultaneously eliminating the uncontrollable condition caused by accidentally forgetting to carry the in-vitro device, and further solving the problems that the stimulator of the related technology is inconvenient to use and cannot realize the timely human-computer interaction.
As an alternative embodiment, comparing the current acceleration data with a preset amplitude threshold comprises:
preprocessing the current acceleration data by adopting a target algorithm to obtain preprocessed target acceleration data;
determining an acceleration amplitude value according to the target acceleration data;
and comparing the acceleration amplitude value with a preset amplitude threshold value.
Optionally, since the preset amplitude threshold is set in advance in the embodiment of the present application, and the acceleration amplitude value included in the acceleration data, that is, the maximum acceleration value, may be obtained by preprocessing the current acceleration data by using a target algorithm, such as a filtering algorithm or a PCA algorithm, to obtain preprocessed target acceleration data, and then comparing the acceleration amplitude value in the target acceleration data with the preset amplitude threshold, so as to obtain a comparison condition.
In the embodiment of the application, the current acceleration data is preprocessed through a target algorithm, so that the data is easier and more stable to compare with the preset amplitude threshold value, and an accurate comparison result is obtained.
As an optional embodiment, in a case that it is determined that the current acceleration data is greater than or equal to the preset amplitude threshold, comparing a time period corresponding to the current acceleration data with a preset time threshold, and determining the control operation instruction includes:
under the condition that the acceleration amplitude value is determined to be larger than or equal to the preset amplitude threshold value, acquiring a plurality of time points corresponding to the moment when the acceleration amplitude value is larger than or equal to the preset amplitude threshold value;
acquiring a time period consisting of a plurality of time points;
and under the condition that the determined time period is less than or equal to the preset time threshold, acquiring a control operation instruction corresponding to the tapping mode.
Optionally, as shown in fig. 3, first setting an acceleration amplitude and a preset time threshold, and starting acceleration detection; then processing the collected acceleration signal and data; when the acceleration amplitude is determined to be greater than or equal to the preset amplitude threshold, starting timing until the amplitude is smaller than the preset amplitude threshold, more specifically, starting timing, obtaining a plurality of time points corresponding to the moment when the acceleration amplitude value is greater than or equal to the preset amplitude threshold, and stopping timing until the acceleration amplitude value is smaller than or equal to the preset amplitude threshold, so that a time period formed by the time points can be obtained, for example, the time point corresponding to the moment when the acceleration amplitude value is greater than or equal to the preset amplitude threshold is the 10 th ms, the 15 th ms and the 20 th ms, the formed time period is the 5ms, the 5ms and the 10ms, then comparing the time period with the preset time threshold, for example, the 11ms, and when the determined time period is smaller than or equal to the preset time threshold, considering that the current input is a tapping input, obtaining a control operation instruction corresponding to the tapping mode, and performing related control operation.
In addition, it should be noted that the value range of the preset time threshold may be 10ms to 200ms, and the value range of the preset amplitude threshold may be 100mg to 2g, which are examples of the above value ranges.
The acceleration data is continuously detected after the control operation is completed to monitor the tap action input.
In the embodiment of the application, the time period that the acceleration amplitude value is greater than or equal to the preset amplitude threshold value is recorded and compared with the preset time threshold value, and whether the user performs the knocking operation currently or not is determined purposefully according to the comparison result, so that the detection result is accurate.
As an optional embodiment, the obtaining of the control operation instruction corresponding to the tapping mode includes:
receiving touch options contained in the medical equipment and historical use frequency and false touch influence of each touch option;
and generating corresponding control operation under various knocking modes according to the historical use frequency and the false touch influence to obtain a plurality of control operation instructions, wherein the knocking modes comprise knocking times and time intervals between continuous knocking.
Optionally, in the embodiment of the application, different interaction instructions may be defined through different tapping modes, so that multiple control functions are realized, and the different tapping modes include different tapping times and time intervals. Specific tapping modes include, but are not limited to, the following: single click, double click (the time interval between two taps ranges from 50ms to 200ms, and can be other time intervals), triple click (the time interval ranges can be the same or different), multiple taps (the coding can be performed through the tap time interval), and the like.
And selecting a corresponding tapping mode according to the historical use frequency of each touch option of the control function and the influence of false triggering, and selecting compromise input of operation simplicity and false triggering difficulty.
Some control functions of human-computer interaction can be performed by using the embodiment of the application as examples:
for example, the on-off operation of the brain pacemaker is low in use frequency, and can be triggered by using a three-click mode at equal intervals, so that the simplicity of input operation is ensured, and false triggering is not easy to generate.
Vagus nerve stimulation, as shown in fig. 4, the normal mode is typically stopped for 5 minutes, stimulated for 30 seconds, when the patient feels abnormal or has seizures, stimulation is required to be triggered externally for a certain time to suppress or reduce the extent of the seizures, and the effect of the stimulation triggered by mistake on the patient is small, so that the external quick-triggering stimulation can be realized by a double-click knocking mode.
For example, the bluetooth communication function of various nerve stimulators, at ordinary times, due to the requirements of safety and power consumption saving, the bluetooth communication device is closed, only when the bluetooth communication is needed to be program-controlled, the bluetooth module is activated through the external control magnet or special equipment, and the external control magnet or special equipment can be omitted as the interactive mode for starting the bluetooth module through multiple times of knocking of time interval codes.
For example, the switching on and off and stimulation amplitude adjustment functions of the spinal cord stimulator are the main functions of the conventional patient program controller, as shown in fig. 5, the switching on and off can be realized by double-click, the three-click realization amplitude is increased, and the four-click realization amplitude is reduced, so that patients do not need to carry the patient program controller most of the time.
The multiple tapping modes are provided as a control flow chart of different control modes of man-machine interaction as shown in fig. 2. Firstly, setting detection parameters and detection methods of different knocking modes such as single-click, double-click, multi-click and the like, starting acceleration signal detection to monitor knocking input, and executing corresponding control operation according to the input different knocking modes after detecting knocking actions.
According to the embodiment of the application, the knocking behavior input is detected to serve as a man-machine interaction mode, so that the man-machine interaction control can be realized through corresponding control operation under various knocking modes without using an additional in-vitro device.
As an optional embodiment, the preprocessing the current acceleration data by using a target algorithm, and obtaining the preprocessed target acceleration data includes:
acquiring the motion direction of current acceleration data;
and under the condition that the movement direction is determined to be vertical to the direction generated after the medical equipment is placed, performing data dimension reduction on the current acceleration data by using a target algorithm to obtain target acceleration data.
Optionally, the acceleration amplitude determination may use triaxial acceleration amplitude data, perform data dimension reduction through a target algorithm, such as Principal Component Analysis (PCA), and then compare the data dimension reduction with a preset amplitude threshold. To further reduce power consumption, analysis may also be performed using only the amount of data change in the axial direction that is coincident with the direction of the tap (perpendicular to the stimulator surface), since this axial direction of data accounts for a larger proportion of the acceleration induced by the tap.
According to another aspect of the embodiments of the present application, there is also provided a stimulator for implementing the above-mentioned medical device-based control method, as shown in fig. 6, the stimulator comprises a microcontroller device 1, an accelerometer device 2, a stimulation device 3;
the microcontroller device 1 is respectively connected with the accelerometer device 2 and the stimulation device 3 and is used for acquiring current acceleration data sent by the accelerometer device 2; comparing the current acceleration data with a preset amplitude threshold; under the condition that the current acceleration data is determined to be larger than or equal to the preset amplitude threshold, comparing the time period corresponding to the current acceleration data with the preset time threshold, and determining a control operation instruction; and controlling the stimulation device 3 to execute corresponding control operation according to the control operation instruction. In addition, the accelerometer device of the embodiment of the application can also be monitored by an internal integrated knocking detection method, and when the knocking action is monitored, the accelerometer generates an interrupt signal to the microcontroller device 1, so that the control operation of opening or closing is realized.
In addition, the accelerometer device of the embodiment of the present application is preferably a triaxial accelerometer device.
The embodiment of the application analyzes the current acceleration data, compares the current acceleration data with the preset amplitude threshold value and the preset time threshold value, and then determines the control operation executed on the medical equipment, so that an additional in-vitro device is not needed to be used, the man-machine interaction control is realized, the use convenience is increased, the uncontrollable condition caused by accidental forgetting to carry the in-vitro device is eliminated, the inconvenience in use of the stimulator in the related technology is solved, and the problem of timely man-machine interaction cannot be realized.
As an alternative embodiment, as shown in fig. 6, the stimulator further comprises: a power supply device 4, a communication device 5;
the power supply device 4 is respectively connected with the microcontroller device 1, the accelerometer device 2, the stimulation device 3 and the communication device 5 and is used for inputting power supply;
the communication device 5 is connected with the microcontroller device 1 and is used for receiving the control operation instruction and sending the control operation instruction to the external terminal equipment.
It should be noted that other functional devices besides the above-mentioned devices can be included in the stimulator, and can be used to replace the communication device, which will not be described herein.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art will recognize that the embodiments described in this specification are preferred embodiments and that acts or modules referred to are not necessarily required for this application.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method according to the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., a ROM (Read-Only Memory)/RAM (Random Access Memory), a magnetic disk, an optical disk) and includes several instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the methods of the embodiments of the present application.
According to another aspect of the embodiments of the present application, there is also provided a medical device-based control apparatus for implementing the medical device-based control method described above. Fig. 7 is a block diagram of an alternative medical device-based control apparatus according to an embodiment of the present application, which may include, as shown in fig. 7:
an obtaining module 701, configured to obtain current acceleration data;
a comparing module 702, configured to compare the current acceleration data with a preset amplitude threshold;
the determining module 703 is configured to, when it is determined that the current acceleration data is greater than or equal to the preset amplitude threshold, compare a time period corresponding to the current acceleration data with a preset time threshold, and determine a control operation instruction;
and the execution module 704 is used for controlling the medical equipment to execute corresponding control operation according to the control operation instruction.
It should be noted that the obtaining module 701 in this embodiment may be configured to execute the step S101, the comparing module 702 in this embodiment may be configured to execute the step S102, the determining module 703 in this embodiment may be configured to execute the step S103, and the executing module 704 in this embodiment may be configured to execute the step S104.
Through the module, through analyzing the current acceleration data, carry out numerical comparison with the preset range threshold value, the time threshold value of presetting of current acceleration data and setting, and then confirm the control operation of carrying out to medical equipment, thereby can needn't use extra external device, just realize human-computer interaction control, the convenience of use has been increased, the uncontrollable condition that arouses because the accident is forgotten to carry external device has been eliminated simultaneously, and then there is the use inconvenience in the stimulator of having solved relevant technique, can not accomplish timely human-computer interaction's problem.
As an alternative embodiment, the comparison module comprises:
the preprocessing unit is used for preprocessing the current acceleration data by adopting a target algorithm to obtain preprocessed target acceleration data;
the determining unit is used for determining an acceleration amplitude value according to the target acceleration data;
and the comparison unit is used for carrying out numerical comparison on the acceleration amplitude value and a preset amplitude threshold value.
As an alternative embodiment, the determining module includes:
the first acquisition unit is used for acquiring a plurality of time points corresponding to the moment when the acceleration amplitude value is greater than or equal to the preset amplitude threshold value under the condition that the acceleration amplitude value is determined to be greater than or equal to the preset amplitude threshold value;
a second acquisition unit configured to acquire a time period made up of a plurality of time points;
and the third acquisition unit is used for acquiring the control operation instruction corresponding to the knocking mode under the condition that the determined time period is less than or equal to the preset time threshold.
As an alternative embodiment, the third acquiring unit includes:
the receiving submodule is used for receiving touch options contained in the medical equipment and the historical use frequency and the false touch influence of each touch option;
and the generation submodule is used for generating corresponding control operation under various knocking modes according to the historical use frequency and the error touch influence to obtain a plurality of control operation instructions, wherein the knocking modes comprise knocking times and time intervals between continuous knocking.
As an alternative embodiment, the pre-processing unit comprises:
the acquisition submodule is used for acquiring the motion direction of the current acceleration data;
and the dimension reduction submodule is used for performing data dimension reduction on the current acceleration data by using a target algorithm under the condition that the movement direction is determined to be perpendicular to the direction generated after the medical equipment is placed, so as to obtain target acceleration data.
According to yet another aspect of the embodiments of the present application, there is also provided an electronic device for implementing the above-mentioned medical device-based control method, which may be a server, a terminal, or a combination thereof.
Fig. 8 is a block diagram of an alternative electronic device according to an embodiment of the present application, as shown in fig. 8, including a processor 801, a communication interface 802, a memory 803, and a communication bus 804, where the processor 801, the communication interface 802, and the memory 803 communicate with each other via the communication bus 804, where,
a memory 803 for storing a computer program;
the processor 801, when executing the computer program stored in the memory 803, implements the following steps:
acquiring current acceleration data;
comparing the current acceleration data with a preset amplitude threshold;
under the condition that the current acceleration data is determined to be larger than or equal to the preset amplitude threshold, comparing a time period corresponding to the current acceleration data with a preset time threshold, and determining a control operation instruction;
and controlling the medical equipment to execute corresponding control operation according to the control operation instruction.
Alternatively, in the present embodiment, the communication bus may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 8, but that does not indicate only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The memory may include RAM, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. Alternatively, the memory may be at least one memory device located remotely from the aforementioned processor.
As an example, as shown in fig. 8, the memory 803 may include, but is not limited to, an obtaining module 701, a comparing module 702, a determining module 703, and an executing module 704 in the medical device-based control apparatus. In addition, other module units in the control device based on the medical device may also be included, but are not limited to, and are not described in detail in this example.
The processor may be a general-purpose processor, and may include but is not limited to: a CPU (Central Processing Unit), an NP (Network Processor), and the like; but also a DSP (Digital Signal Processing), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
In addition, the electronic device further includes: and the display is used for displaying the control result based on the medical equipment.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
It can be understood by those skilled in the art that the structure shown in fig. 8 is only an illustration, and the device implementing the control method based on the medical device may be a terminal device, and the terminal device may be a terminal device such as a smart phone (e.g., an Android Mobile phone, an iOS Mobile phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 8 is a diagram illustrating a structure of the electronic device. For example, the terminal device may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 8, or have a different configuration than shown in FIG. 8.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disk, ROM, RAM, magnetic or optical disk, and the like.
According to still another aspect of an embodiment of the present application, there is also provided a storage medium. Alternatively, in the present embodiment, the storage medium may be used for program codes for executing a control method based on a medical device.
Optionally, in this embodiment, the storage medium may be located on at least one of a plurality of network devices in a network shown in the above embodiment.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
acquiring current acceleration data;
comparing the current acceleration data with a preset amplitude threshold;
under the condition that the current acceleration data is determined to be larger than or equal to the preset amplitude threshold, comparing a time period corresponding to the current acceleration data with a preset time threshold, and determining a control operation instruction;
and controlling the medical equipment to execute corresponding control operation according to the control operation instruction.
Optionally, the specific example in this embodiment may refer to the example described in the above embodiment, which is not described again in this embodiment.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a U disk, a ROM, a RAM, a removable hard disk, a magnetic disk, or an optical disk.
According to yet another aspect of an embodiment of the present application, there is also provided a computer program product or a computer program comprising computer instructions stored in a computer readable storage medium; the processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the steps of the medical device based control method in any of the above embodiments.
The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the advantages and disadvantages of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solutions of the present application, which are essential or contribute to the prior art, or all or part of the technical solutions may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing 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 method based on the medical device according to the embodiments of the present application.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, and may also be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution provided in the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present application and it should be noted that, as will be apparent to those skilled in the art, numerous modifications and adaptations can be made without departing from the principles of the present application and such modifications and adaptations are intended to be considered within the scope of the present application.

Claims (10)

1. A medical device-based control method, the method comprising:
acquiring current acceleration data;
comparing the current acceleration data with a preset amplitude threshold;
under the condition that the current acceleration data is determined to be larger than or equal to the preset amplitude threshold, comparing the time period corresponding to the current acceleration data with a preset time threshold to determine a control operation instruction;
and controlling the medical equipment to execute corresponding control operation according to the control operation instruction.
2. The method of claim 1, wherein comparing the current acceleration data to a preset magnitude threshold comprises:
preprocessing the current acceleration data by adopting a target algorithm to obtain preprocessed target acceleration data;
determining an acceleration amplitude value according to the target acceleration data;
and carrying out numerical comparison on the acceleration amplitude value and a preset amplitude threshold value.
3. The method according to claim 2, wherein in a case that it is determined that the current acceleration data is greater than or equal to the preset amplitude threshold, comparing a time period corresponding to the current acceleration data with a preset time threshold, and determining a control operation command comprises:
under the condition that the acceleration amplitude value is determined to be larger than or equal to the preset amplitude threshold value, acquiring a plurality of time points corresponding to the moment when the acceleration amplitude value is larger than or equal to the preset amplitude threshold value;
acquiring a time period consisting of the plurality of time points;
and under the condition that the time period is determined to be less than or equal to the preset time threshold, acquiring the control operation instruction corresponding to the knocking mode.
4. The method according to claim 3, wherein the obtaining of the control operation instruction corresponding to the tapping mode comprises:
receiving touch options contained in the medical equipment and historical use frequency and false touch influence of each touch option;
and generating corresponding control operation under multiple knocking modes according to the historical use frequency and the false touch influence to obtain multiple control operation instructions, wherein the knocking modes comprise knocking times and time intervals between continuous knocking.
5. The method of claim 2, wherein the pre-processing the current acceleration data using a target algorithm to obtain pre-processed target acceleration data comprises:
acquiring the motion direction of the current acceleration data;
and under the condition that the movement direction is determined to be perpendicular to the direction generated after the medical equipment is placed, performing data dimension reduction on the current acceleration data by using the target algorithm to obtain the target acceleration data.
6. A stimulator, characterized in that the stimulator comprises a microcontroller means, an accelerometer means, a stimulation means;
the microcontroller device is respectively connected with the accelerometer device and the stimulation device and is used for acquiring current acceleration data sent by the accelerometer device; comparing the current acceleration data with a preset amplitude threshold value; under the condition that the current acceleration data is determined to be larger than or equal to the preset amplitude threshold, comparing the time period corresponding to the current acceleration data with a preset time threshold to determine a control operation instruction; and controlling the stimulation device to execute corresponding control operation according to the control operation instruction.
7. The stimulator of claim 6, further comprising: a power supply device, a communication device;
the power supply device is respectively connected with the microcontroller device, the accelerometer device, the stimulation device and the communication device and is used for inputting power;
and the communication device is connected with the microcontroller device and used for receiving the control operation instruction and sending the control operation instruction to external terminal equipment.
8. A medical device based control apparatus, the apparatus comprising:
the acquisition module is used for acquiring current acceleration data;
the comparison module is used for comparing the current acceleration data with a preset amplitude threshold value;
the determining module is used for comparing a time period corresponding to the current acceleration data with a preset time threshold value under the condition that the current acceleration data is determined to be larger than or equal to the preset amplitude threshold value, and determining a control operation instruction;
and the execution module is used for controlling the medical equipment to execute corresponding control operation according to the control operation instruction.
9. An electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein said processor, said communication interface and said memory communicate with each other via said communication bus,
the memory for storing a computer program;
the processor for performing the method steps of any one of claims 1 to 5 by running the computer program stored on the memory.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method steps of any one of claims 1 to 5.
CN202210871475.2A 2022-07-22 2022-07-22 Control method based on medical equipment, stimulator, electronic equipment and storage medium Pending CN115212457A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210871475.2A CN115212457A (en) 2022-07-22 2022-07-22 Control method based on medical equipment, stimulator, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210871475.2A CN115212457A (en) 2022-07-22 2022-07-22 Control method based on medical equipment, stimulator, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115212457A true CN115212457A (en) 2022-10-21

Family

ID=83613580

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210871475.2A Pending CN115212457A (en) 2022-07-22 2022-07-22 Control method based on medical equipment, stimulator, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115212457A (en)

Similar Documents

Publication Publication Date Title
US12109004B2 (en) Remote access for ambulatory medical device
CA2538356C (en) Automatic therapy adjustments
CN102089032A (en) Posture state responsive therapy delivery using dwell times
US11998747B2 (en) Customizable titration for an implantable neurostimulator
DE102014019600B4 (en) Switching method and electronic device
US20230107850A1 (en) Systems and methods for controlling a device using detected changes in a neural-related signal
US11980758B2 (en) Evaluation of vagus nerve stimulation using heart rate variability analysis
CN115501481A (en) Emergency program control equipment, medical system and computer readable storage medium
WO2024083193A1 (en) Pulse generator, stimulator, medical system and computer-readable storage medium
CN103638599A (en) Implanted nerve electrical stimulation control method, device and system
US12029591B2 (en) Titration assist management dashboard
CN114849063B (en) Extracorporeal charger, program-controlled system, and computer-readable storage medium
CN114783585B (en) Program control device, program control system, electronic device, and computer-readable storage medium
CN115463347A (en) Parameter adjusting device, program control apparatus, medical system, and computer storage medium
US20210038899A1 (en) User interface for titration assist
CN113515561A (en) Parameter comparison method and device, electronic equipment and computer readable storage medium
AU2017284180B2 (en) Neurostimulator with titration assist
CN115212457A (en) Control method based on medical equipment, stimulator, electronic equipment and storage medium
US20230310856A1 (en) Systems and methods for vagus nerve stimulation
US20230244314A1 (en) Systems and methods for generic control using a neural signal
WO2015161089A1 (en) Patient control of therapy suspension
US20240342479A1 (en) Automatic titration with defibrillation sensitivity compensation
CN116825315A (en) Program-controlled interaction method, electronic device, storage medium and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination