Programmable devices and implantable neurostimulation systems
By introducing a touch screen and communication module into the program control device, and setting parameter values using sliding operations, the problem of inefficient parameter value setting in the prior art is solved, and a fast and convenient parameter value setting and improved user experience are achieved.
Patent Information
- Application Number
- CN202111615735.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-27
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2041-12-27
AI Technical Summary
Existing program control equipment is inefficient when setting parameter values. Users need to enter specific values or gradually adjust them through multiple key presses, resulting in poor user experience.
A program control device is designed, using a touch screen to receive the user's sliding operation, communicates with the implanted stimulator through a communication module, and uses the controller to generate control instructions to set the configuration parameter value of the target parameter.
Setting parameter values through sliding operations greatly reduces the user's operation steps, making parameter values more fast and convenient, improving user experience, and avoiding misoperation through the double insurance detection process.
Smart Images

Figure CN114272515B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of implantable medical devices, and in particular to programmable devices and implantable neural stimulation systems. Background Art
[0002] The implantable neurostimulation system mainly includes a stimulator implanted in the body and a programmable device outside the body. Neuromodulation technology mainly involves implanting electrodes in specific structures (i.e., target points) in the body through stereotactic surgery, and the stimulator implanted in the patient's body sends discharge pulses to the target points through the electrodes to regulate the electrical activity and function of the corresponding neural structures and networks, thereby improving symptoms and relieving pain.
[0003] When setting parameter values, existing program-controlled devices require input of specific numerical values or gradual adjustment through multiple key operations. The parameter value setting efficiency is low and the user experience is poor. Summary of the invention
[0004] The purpose of this application is to provide a programmable device and an implantable neural stimulation system, which greatly reduces the user's operation steps, makes parameter value setting faster and more convenient, and improves the user's experience.
[0005] The purpose of this application is achieved by the following technical solutions:
[0006] In a first aspect, the present application provides a programmable device, which is applied to an implantable neural stimulation system, wherein the implantable neural stimulation system comprises the programmable device disposed outside a patient's body and a stimulator implanted inside the patient's body;
[0007] The program-controlled device is communicatively connected to the stimulator, and the program-controlled device comprises:
[0008] A touch screen configured to receive an operation by a user;
[0009] A communication module, wherein the communication module is configured to implement data interaction between the program-controlled device and the stimulator;
[0010] A controller, the controller being electrically connected to the touch screen and the communication module respectively, and the controller being configured to:
[0011] Receiving a sliding operation using the touch screen, and acquiring a configuration parameter value of a target parameter in response to the sliding operation;
[0012] Based on the configuration parameter value of the target parameter, a control instruction is generated and sent to the stimulator, so that the stimulator generates electrical stimulation according to the control instruction and applies the electrical stimulation to the patient's body tissue.
[0013] The beneficial effect of this technical solution is that, generally speaking, existing program-controlled devices require the input of specific numerical values or gradual adjustment through multiple key operations when setting parameter values, and the parameter value setting efficiency is low. The program-controlled device of the present application can support the user's sliding operation, and the user can set the parameter value by sliding, which greatly reduces the user's operation steps, making the parameter value setting faster and more convenient, and improving the user's experience.
[0014] In some optional embodiments, the controller is further configured to obtain the configuration parameter value of the target parameter in the following manner:
[0015] In response to the sliding operation, obtaining a sliding path corresponding to the target parameter;
[0016] When it is detected that the positions of the track points of the sliding path are all in the preset sliding area, based on the starting point, the end point and the path direction of the sliding path, a reference path corresponding to the sliding path is acquired, wherein the reference path is a part of a preset circular path and the path direction of the reference path is determined by the path direction of the sliding path, and the preset circular path is in the preset sliding area;
[0017] Acquire the similarity between the sliding path and the reference path;
[0018] When the similarity is not less than a preset similarity threshold, a configuration parameter value of the target parameter is acquired based on the reference path.
[0019] The beneficial effect of the technical solution is that a two-stage detection process is used to determine whether it is an erroneous operation. The configuration parameter value is obtained only when it is determined that the sliding operation is not an erroneous operation. When the first stage detects that the positions of the trajectory points of the sliding path are all in the preset sliding area, the configuration parameter value is not calculated directly, but the second stage of detection is entered. When the similarity is detected to be not less than the preset similarity threshold, it is determined that the sliding operation is not an erroneous operation, and then the configuration parameter value is obtained. The two-stage detection process can play a double insurance role, avoiding users from setting unreasonable parameter values due to erroneous operations, and ensuring the life safety of patients.
[0020] Specifically, in the first stage, it is detected whether the positions of the track points of the sliding path are all in the preset sliding area. When it is detected that the positions of the track points of the sliding path are all in the preset sliding area, it indicates that the user may have the intention to configure the parameters, and then the second stage is entered; in the second stage, based on the starting point, end point and path direction of the sliding path, a reference path corresponding to the sliding path is obtained, the similarity between the sliding path and the reference path is obtained, and it is detected whether the similarity is not less than a preset similarity threshold. When the similarity is not less than the preset similarity threshold, it can be determined that the sliding operation is not an erroneous operation.
[0021] In some optional embodiments, the controller is further configured to:
[0022] Before detecting whether the positions of each track point of the sliding path are all in the preset sliding area, detecting whether the starting point of the sliding path is in a valid starting point range, the valid starting point range includes the position point on the touch screen corresponding to the current parameter value of the target parameter;
[0023] If the starting point of the sliding path is within the effective starting point range, detecting whether the positions of each track point of the sliding path are all within the preset sliding area;
[0024] If the starting point of the sliding path is not within the valid starting point range, no operation is performed, or the user is prompted to perform the operation again, or the area corresponding to the valid starting point range is displayed on the touch screen in a flashing state.
[0025] The beneficial effect of this technical solution is that it detects whether the starting point of the sliding path is within the valid starting point range. If the starting point of the sliding path is not within the valid starting point range, it indicates that the sliding operation may be a user error. At this time, no operation can be performed, and the user is indirectly prompted that the sliding operation is invalid by the lack of response after the sliding operation. Alternatively, the user is directly prompted to re-operate, or the area corresponding to the valid starting point range is displayed on the touch screen in a flashing state. Any of the above processing methods can play the role of prompting the user that the sliding operation is invalid, and the degree of intelligence is relatively high.
[0026] In some optional embodiments, the controller is further configured to obtain the reference path in the following manner:
[0027] Finding a point on the preset circular path that is closest to the starting point of the sliding path as the starting point of the reference path;
[0028] Finding a point on the preset circular path that is closest to the end point of the sliding path as the end point of the reference path;
[0029] Based on the path direction of the sliding path, a path between the starting point and the end point of the reference path is intercepted from the preset circular path as the reference path.
[0030] The beneficial effect of this technical solution is that: the point on the preset circular path that is closest to the starting point of the sliding path is used as the starting point of the reference path, the point on the preset circular path that is closest to the end point of the sliding path is used as the end point of the reference path, and the path from the starting point to the end point of the reference path along the path direction of the sliding path in the preset circular path is intercepted as the reference path. The reference path thus obtained is more consistent with the sliding path, and it is more reasonable to obtain the corresponding configuration parameter value based on the reference path, which can truly reflect the user's intention when configuring the parameters.
[0031] In some optional embodiments, the controller is further configured to obtain the similarity in the following manner:
[0032] Acquire a plurality of similarity training data, each of the similarity training data comprising a sample sliding path, a sample reference path and annotated similarity between the two for training;
[0033] Using the plurality of similarity training data to train a preset deep learning model to obtain a similarity model;
[0034] The sliding path and the reference path are input into the similarity model to obtain the similarity.
[0035] The beneficial effect of this technical solution is that: the preset deep learning model can be trained according to the similarity training data to obtain the similarity model. Only by inputting the sliding path and the reference path into the similarity model, the corresponding similarity can be automatically generated in real time, and the degree of intelligence is high. Through design, an appropriate amount of neuron computing nodes and a multi-layer operation hierarchy are established, and the appropriate input layer and output layer are selected to obtain the preset deep learning model. Through the learning and tuning of the preset deep learning model, a functional relationship from input to output is established. Although the functional relationship between input and output cannot be found 100%, it can be as close to the actual correlation as possible. The similarity model obtained by training can output the corresponding similarity in real time, and the output result is highly reliable.
[0036] In some optional embodiments, the controller is further configured to obtain the preset similarity threshold in the following manner:
[0037] Obtaining a first correspondence between a disease type and a similarity threshold;
[0038] Based on the disease type of the patient and the first corresponding relationship, a similarity threshold corresponding to the disease type of the patient is obtained as the preset similarity threshold.
[0039] The beneficial effect of this technical solution is that patients with different disease types may have different hand control abilities. Compared with patients with strong hand control, Parkinson's patients with poor hand control may have a larger deviation between the sliding path and the preset circular path when sliding, and the similarity may be lower. Different preset similarity thresholds are used for patients with different disease types, so that the programmable device can support sliding operations for patients with poor hand control, greatly reducing the difficulty of operation for patients when using the programmable device.
[0040] In some optional embodiments, the controller is further configured to obtain the configuration parameter value of the target parameter in the following manner:
[0041] Obtaining the range of the target parameter corresponding to the preset circular path;
[0042] Based on the ratio of the length of the reference path to the preset circular path and the range of the target parameter, a configuration parameter value of the target parameter is determined.
[0043] The beneficial effect of this technical solution is that the parameter value of the target parameter can be infinitely adjusted based on the ratio of the length of the reference path to the preset circular path and the range of the target parameter. The configuration parameter value of the target parameter can be any value within the range of the target parameter, meeting the needs of practical applications.
[0044] In some optional embodiments, the preset circular path is provided with at least one scale, and the controller is further configured to obtain the configuration parameter value of the target parameter in the following manner:
[0045] Acquire the range of the target parameter corresponding to the preset circular path and the set value of the target parameter corresponding to each scale of the preset circular path;
[0046] The configuration parameter value of the target parameter is determined based on the set value of the target parameter corresponding to the scale closest to the end point of the reference path.
[0047] The beneficial effect of this technical solution is that the parameter value of the target parameter can be adjusted based on the set value of the target parameter corresponding to the scale closest to the reference path to obtain the configuration parameter value of the target parameter. The configuration parameter value of the target parameter can be one of the set values of the target parameter corresponding to multiple scales, meeting the needs of practical applications.
[0048] In some optional embodiments, the controller obtains the range of the target parameter in the following manner:
[0049] Acquire a second correspondence between a configuration parameter value of an associated parameter and a range of the target parameter, wherein the associated parameter is one or more parameters other than the target parameter in the parameters of the stimulator;
[0050] Based on the configuration parameter value of the associated parameter and the second corresponding relationship, the range of the target parameter is obtained.
[0051] The beneficial effect of this technical solution is that the configuration process of each parameter of the stimulator is not isolated, and the configuration parameter value of each parameter is related to the range of other parameters, so that when setting the parameters, it can only be completed within a relatively reasonable range, avoiding users from setting unreasonable parameter values and ensuring the patient's life safety.
[0052] In some optional embodiments, the preset circular path is provided with N scales in sequence along its clockwise direction, the difference between the set value of the target parameter corresponding to the kth scale and the set value of the target parameter corresponding to the k-1th scale is smaller than the difference between the set value of the target parameter corresponding to the k+1th scale and the set value of the target parameter corresponding to the kth scale, N is an integer greater than 2, and k is an integer greater than 1 and less than N.
[0053] The beneficial effect of this technical solution is that along the clockwise direction of the preset circular path itself, the difference between the set values of the target parameters corresponding to two adjacent scales becomes larger and larger, so that when the user slides clockwise, the amplitude of the set value corresponding to the trajectory point changes gradually faster, further speeding up the efficiency of parameter value setting.
[0054] In some optional embodiments, the controller is further configured to:
[0055] When it is detected that the position of any track point of the sliding path is not in the preset sliding area, no operation is performed, or the user is prompted to perform the operation again, or the preset sliding area is displayed in a flashing state on the touch screen.
[0056] The beneficial effect of this technical solution is that when the position of any track point of the sliding path is not in the preset sliding area, it indicates that the sliding operation may be caused by the user's misoperation, and the sliding operation is judged to be invalid. At this time, no operation can be performed, and the user can be indirectly prompted that the sliding operation is invalid by the lack of response after the sliding operation, or the user can be prompted to re-operate, or the preset sliding area is displayed on the touch screen in a flashing state. Any of the above processing methods can play the role of prompting the user that the sliding operation is invalid, and the degree of intelligence is relatively high.
[0057] In some optional embodiments, the controller is further configured to:
[0058] When the similarity is less than the preset similarity threshold, no operation is performed, or the user is prompted to perform an operation again, or the preset circular path is displayed in a flashing state on the touch screen.
[0059] The beneficial effect of this technical solution is that when the similarity is less than the preset similarity threshold, it indicates that the sliding operation may be caused by an accidental touch by the user, and the sliding operation is judged to be invalid. At this time, no operation can be performed, and the user can be indirectly prompted that the sliding operation is invalid by the lack of response after the sliding operation, or the user can be prompted to operate again, or the preset circular path can be displayed on the touch screen in a flashing state. Any of the above processing methods can play the role of prompting the user that the sliding operation is invalid, and the degree of intelligence is relatively high.
[0060] In some optional embodiments, the target parameter is any one of a pulse width parameter, an amplitude parameter and a frequency parameter of the voltage.
[0061] The beneficial effect of this technical solution is that the target parameter can be any one of the pulse width parameter, amplitude parameter and frequency parameter of the voltage, so that the programmable device can control the stimulator to apply corresponding electrical stimulation to the patient based on the configuration parameter value of the target parameter, thereby meeting the needs of practical applications.
[0062] In some optional embodiments, the patient's disease type includes one or more of epilepsy, tremor, Parkinson's disease, depression, obsessive-compulsive disorder, Alzheimer's disease and drug addiction.
[0063] The beneficial effect of this technical solution is that the stimulator in the body of patients with different disease types can be controlled by using a programmable device, and the application range is wide.
[0064] In a second aspect, the present application provides an implantable neural stimulation system, the implantable neural stimulation system comprising the programmable device disposed outside the patient's body and a stimulator implanted inside the patient's body;
[0065] The stimulator is configured to generate electrical stimulation and apply the electrical stimulation to the in vivo tissue of the patient;
[0066] The program-controlled device is communicatively connected to the stimulator, and the program-controlled device comprises:
[0067] A touch screen configured to receive an operation by a user;
[0068] A communication module, wherein the communication module is configured to implement data interaction between the program-controlled device and the stimulator;
[0069] A controller, the controller being electrically connected to the touch screen and the communication module respectively, and the controller being configured to:
[0070] Receiving a sliding operation using the touch screen, and acquiring a configuration parameter value of a target parameter in response to the sliding operation;
[0071] Based on the configuration parameter value of the target parameter, a control instruction is generated and sent to the stimulator, so that the stimulator generates the electrical stimulation according to the control instruction.
[0072] The beneficial effect of this technical solution is that the implantable neural stimulation system of the present application can support the user's sliding operation, and the user can set the parameter value by sliding, which greatly reduces the user's operation steps, makes the parameter value setting faster and more convenient, and improves the user's experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] The present application is further described below in conjunction with the accompanying drawings and embodiments.
[0074] Figure 1 It is a flow chart of a control method of a program-controlled device provided in an embodiment of the present application;
[0075] Figure 2 It is a schematic diagram of a process for obtaining a configuration parameter value of a target parameter provided by an embodiment of the present application;
[0076] Figure 3 is a schematic diagram of a display interface of a touch screen provided in an embodiment of the present application;
[0077] Figure 4 It is a flow chart of another control method of a program-controlled device provided in an embodiment of the present application;
[0078] Figure 5 is a schematic diagram of a flow chart of obtaining a reference path provided in an embodiment of the present application;
[0079] Figure 6 It is a schematic diagram of a process of obtaining similarity provided in an embodiment of the present application;
[0080] Figure 7 It is a schematic diagram of a process for obtaining a preset similarity threshold provided in an embodiment of the present application;
[0081] Figure 8 It is a schematic diagram of another process of obtaining a configuration parameter value of a target parameter provided in an embodiment of the present application;
[0082] Fig. 9 It is a schematic diagram of another process of obtaining a configuration parameter value of a target parameter provided in an embodiment of the present application;
[0083] Fig.10 It is a partial flow chart of a control method of a program-controlled device provided in an embodiment of the present application;
[0084] Fig.11 It is a partial flow chart of another control method of a program-controlled device provided in an embodiment of the present application;
[0085] Fig.12 It is a structural block diagram of a program-controlled device provided in an embodiment of the present application;
[0086] Fig.13 This is a structural block diagram of an implantable neural stimulation system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0087] Below, the present application is further described in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, under the premise of no conflict, the various embodiments or technical features described below can be arbitrarily combined to form a new embodiment.
[0088] See also Figure 1 , an embodiment of the present application provides a control method of a program-controlled device, which is applied to an implantable neural stimulation system, wherein the implantable neural stimulation system comprises the program-controlled device disposed outside the patient's body and a stimulator implanted in the patient's body;
[0089] The program-controlled device is communicatively connected to the stimulator, and the program-controlled device comprises:
[0090] A touch screen configured to receive an operation by a user;
[0091] A communication module, wherein the communication module is configured to implement data interaction between the program-controlled device and the stimulator;
[0092] The method includes step S101 to step S102.
[0093] Step S101: receiving a sliding operation using the touch screen, and acquiring a configuration parameter value of a target parameter in response to the sliding operation;
[0094] Step S102: Based on the configuration parameter value of the target parameter, a control instruction is generated and sent to the stimulator, so that the stimulator generates electrical stimulation according to the control instruction and applies the electrical stimulation to the patient's body tissue.
[0095] Generally speaking, existing programmable control devices require the input of specific numerical values or gradual adjustment through multiple key operations when setting parameter values, and the parameter value setting efficiency is low. The programmable control device of the present application can support the user's sliding operation, and the user can set the parameter value by sliding, which greatly reduces the user's operation steps, making the parameter value setting faster and more convenient, and improving the user's experience.
[0096] The stimulator can be any one of an implantable neural stimulation device, an implantable cardiac stimulation system (also known as a pacemaker), an implantable drug delivery system (IDDS) and a lead switching device. Examples of implantable neural stimulation devices include a deep brain stimulation system (DBS), an implantable cortical nerve stimulation system (CNS), an implantable spinal cord stimulation system (SCS), an implantable sacral nerve stimulation system (SNS), an implantable vagus nerve stimulation system (VNS), etc. The stimulator is placed in the patient's body to provide electrical stimulation.
[0097] The program-controlled device may include, but is not limited to, smart phones (such as Android phones, iOS phones, etc.), tablet computers, portable personal computers, mobile Internet devices (Mobile Internet Devices, MID), and other devices, which are not limited in the embodiments of the present application.
[0098] In some embodiments, the programming device may include a physician programming device and / or a patient programming device.
[0099] The patient programmable device is equipped for the patient, and the patient can use the patient programmable device to adjust the parameters of the corresponding stimulator by himself. Specifically, the corresponding preset adjustment range can be set based on the patient's disease information, and the patient can only adjust the parameters of the corresponding stimulator within the corresponding preset adjustment range.
[0100] The doctor-controlled device is equipped for doctors. One doctor-controlled device can use the communication module to exchange data with the stimulators of multiple patients respectively.
[0101] In some embodiments, the communication module may include a wired communication module and / or a wireless communication module.
[0102] The wired communication module may include one or more of an optical fiber communication unit, a coaxial cable communication unit, an open wire communication unit, a waveguide communication unit, and an optoelectronic communication unit; the wireless communication module may include one or more of a 4G communication unit, a 5G communication unit, a WIFI communication unit, a near-field communication unit, a WiGig communication unit, a Bluetooth communication unit, a ZigBee communication unit, a microwave communication unit, a satellite communication unit, and an atmospheric laser communication unit.
[0103] Wired communication modules are relatively stable, highly reliable and have high transmission rates; wireless communication modules have a longer communication distance and are not restricted by wires. They have certain mobility and can communicate through wireless connections while on the move, which is relatively low in cost.
[0104] In some embodiments, the touch screen may include any one of a resistive touch screen, a capacitive touch screen, and a surface acoustic wave screen.
[0105] In some optional embodiments, the target parameter may be any one of a pulse width parameter, an amplitude parameter, and a frequency parameter of the voltage.
[0106] In some optional embodiments, the target parameter may be any one of a pulse width parameter, an amplitude parameter, and a frequency parameter of the current.
[0107] Therefore, the target parameter can be any one of the pulse width parameter, amplitude parameter and frequency parameter, so that the programmable device can control the stimulator to apply corresponding electrical stimulation to the patient based on the configuration parameter value of the target parameter to meet the needs of actual applications.
[0108] See also Figure 2 In some optional embodiments, the step S101 may include steps S201 to S204.
[0109] Step S201: in response to the sliding operation, obtaining a sliding path corresponding to the target parameter;
[0110] Step S202: when it is detected that the positions of the trajectory points of the sliding path are all in the preset sliding area, based on the starting point, the end point and the path direction of the sliding path, a reference path corresponding to the sliding path is obtained, the reference path is a part of a preset circular path and the path direction of the reference path is determined by the path direction of the sliding path, and the preset circular path is in the preset sliding area;
[0111] Step S203: obtaining the similarity between the sliding path and the reference path;
[0112] Step S204: when the similarity is not less than a preset similarity threshold, obtaining a configuration parameter value of the target parameter based on the reference path.
[0113] Therefore, a two-stage detection process is used to determine whether it is an erroneous operation. The configuration parameter value is obtained only when it is determined that the sliding operation is not an erroneous operation. When the first stage detects that the positions of each trajectory point of the sliding path are in the preset sliding area, the configuration parameter value is not calculated directly, but the second stage of detection is entered. When the similarity is detected to be not less than the preset similarity threshold, it is determined that the sliding operation is not an erroneous operation, and then the configuration parameter value is obtained. The two-stage detection process can play a double insurance role, avoiding users from setting unreasonable parameter values due to erroneous operations and ensuring the life safety of patients.
[0114] Specifically, in the first stage, it is detected whether the positions of the track points of the sliding path are all in the preset sliding area. When it is detected that the positions of the track points of the sliding path are all in the preset sliding area, it indicates that the user may have the intention to configure the parameters, and then the second stage is entered; in the second stage, based on the starting point, end point and path direction of the sliding path, a reference path corresponding to the sliding path is obtained, the similarity between the sliding path and the reference path is obtained, and it is detected whether the similarity is not less than a preset similarity threshold. When the similarity is not less than the preset similarity threshold, it can be determined that the sliding operation is not an erroneous operation.
[0115] See also Figure 3 In some embodiments, the shape of the preset sliding area may be a circular ring concentric with the preset circular path.
[0116] The present application does not limit the length of the sliding path, and the user may slide less than one circle along the preset sliding area of the touch screen, or may slide multiple circles along the preset sliding area of the touch screen (the total number of circles may not be an integer).
[0117] The reference path may be less than one preset circular path, one preset circular path, or a non-integer number of preset circular paths (e.g., 1.5, 3.5, etc.). When the user slides 0.3 circles, the reference path is, for example, 0.3 circles of the preset circular path; when the user slides 1 circle, the reference path is, for example, 1 circle of the preset circular path; when the user slides 4.5 circles, the reference path is, for example, 4.5 circles of the preset circular path.
[0118] See also Figure 3 and Figure 4 In some optional embodiments, the method may further include steps S205 to S207.
[0119] Step S205: before step S202, detecting whether the starting point of the sliding path is within a valid starting point range, wherein the valid starting point range includes a position point on the touch screen corresponding to the current parameter value of the target parameter;
[0120] Step S206: if the starting point of the sliding path is within the effective starting point range, detecting whether the positions of each track point of the sliding path are all within the preset sliding area;
[0121] Step S207: If the starting point of the sliding path is not within the valid starting point range, no operation is performed, or the user is prompted to perform the operation again, or the area corresponding to the valid starting point range is displayed on the touch screen in a flashing state.
[0122] Thus, it is detected whether the starting point of the sliding path is within the valid starting point range. If the starting point of the sliding path is not within the valid starting point range, it indicates that the sliding operation may be a user error. At this time, no operation can be performed, and the user can be indirectly prompted that the sliding operation is invalid by the lack of response after the sliding operation. Alternatively, the user can be directly prompted to operate again, or the area corresponding to the valid starting point range is displayed on the touch screen in a flashing state. Any of the above processing methods can play the role of prompting the user that the sliding operation is invalid, and the degree of intelligence is relatively high.
[0123] The valid starting point range is, for example, a circle with the position point on the touch screen corresponding to the current parameter value of the target parameter as the center and a preset size as the radius; or, the valid starting point range is, for example, a square with the position point on the touch screen corresponding to the current parameter value of the target parameter as the center and a preset size as the side length. The preset size is, for example, 8 mm, 10 mm or 20 mm.
[0124] See also Figure 5 In some optional embodiments, step S202 may include steps S301 to S303.
[0125] Step S301: finding a point on the preset circular path that is closest to the starting point of the sliding path as the starting point of the reference path;
[0126] Step S302: finding a point on the preset circular path that is closest to the end point of the sliding path as the end point of the reference path;
[0127] Step S303: Based on the path direction of the sliding path, a path between the starting point and the end point of the reference path is intercepted from the preset circular path as the reference path.
[0128] Therefore, the point on the preset circular path that is closest to the starting point of the sliding path is taken as the starting point of the reference path, the point on the preset circular path that is closest to the end point of the sliding path is taken as the end point of the reference path, and the path from the starting point to the end point of the reference path along the path direction of the sliding path in the preset circular path is intercepted as the reference path. The reference path thus obtained is more consistent with the sliding path, and it is more reasonable to obtain the corresponding configuration parameter value based on the reference path, which can truly reflect the user's intention when configuring the parameters.
[0129] See also Figure 6 In some optional embodiments, the step S203 may include steps S401 to S403.
[0130] Step S401: Acquire a plurality of similarity training data, each of which includes a sample sliding path for training, a sample reference path, and annotated similarity between the two;
[0131] Step S402: using the plurality of similarity training data to train a preset deep learning model to obtain a similarity model;
[0132] Step S403: inputting the sliding path and the reference path into the similarity model to obtain the similarity.
[0133] Therefore, the preset deep learning model can be trained according to the similarity training data to obtain the similarity model. Only by inputting the sliding path and the reference path into the similarity model, the corresponding similarity can be automatically generated in real time, and the degree of intelligence is high. Through design, an appropriate amount of neuron computing nodes and a multi-layer operation hierarchy are established, and the appropriate input layer and output layer are selected to obtain the preset deep learning model. Through the learning and tuning of the preset deep learning model, a functional relationship from input to output is established. Although the functional relationship between input and output cannot be found 100%, it can be as close to the actual correlation as possible. The similarity model obtained by training can output the corresponding similarity in real time, and the output result is highly reliable.
[0134] See also Figure 7 In some optional embodiments, the preset similarity threshold can be obtained by using steps S501 to S502.
[0135] Step S501: obtaining a first corresponding relationship between a disease type and a similarity threshold;
[0136] Step S502: Based on the disease type of the patient and the first corresponding relationship, a similarity threshold corresponding to the disease type of the patient is obtained as the preset similarity threshold.
[0137] Therefore, patients with different disease types may have different hand control abilities. Compared with patients with strong hand control, Parkinson's patients with poor hand control may have a larger deviation between the sliding path and the preset circular path when sliding, and the similarity may be lower. Different preset similarity thresholds are used for patients with different disease types, so that the programmable device can support sliding operations for patients with poor hand control, which greatly reduces the difficulty of operation for patients when using the programmable device.
[0138] In a specific application, the similarity threshold corresponding to Parkinson's disease is 60%, the similarity threshold corresponding to depression is 80%, and the similarity threshold corresponding to drug addiction is 85%.
[0139] For example, if patient Zhang San is a Parkinson's disease patient, then the preset similarity threshold of Zhang San is 60%. When a patient has more than one disease type, the lowest similarity threshold corresponding to all disease types of the patient can be used as the preset similarity threshold of the patient.
[0140] The programmable device of the present application is not limited to the types of diseases for which it is applicable, and the types of diseases include but are not limited to: convulsive diseases (e.g., epilepsy), pain, migraine, mental illness (e.g., major depressive disorder (MDD)), bipolar disorder, anxiety disorder, post-traumatic stress disorder, mild depression, obsessive-compulsive disorder (OCD), behavioral disorders, mood disorders, memory disorders, mental state disorders, movement disorders (e.g., tremor or Parkinson's disease), Huntington's disease, Alzheimer's disease, drug addiction or other neurological or psychiatric diseases and injuries.
[0141] In some optional embodiments, the patient's disease type includes one or more of epilepsy, tremor, Parkinson's disease, depression, obsessive-compulsive disorder, Alzheimer's disease and drug addiction.
[0142] Therefore, the programmable device can be used to control the stimulators in the bodies of patients with different disease types, and has a wide range of applications.
[0143] See also Figure 8 In some optional embodiments, the step S204 may include steps S601 and S602.
[0144] Step S601: obtaining the range of the target parameter corresponding to the preset circular path;
[0145] Step S602: Determine a configuration parameter value of the target parameter based on a ratio of the length of the reference path to the preset circular path and a range of the target parameter.
[0146] The range of the target parameter is used to indicate a first set value and a second set value of the target parameter.
[0147] Range refers to the measuring range of a measuring tool, which is determined by the scale value and the maximum measurement value of the measuring tool. The range of an instrument is the difference between the upper and lower limits of the nominal range of the instrument. If the lower limit of the instrument is zero, the maximum value of the physical quantity that can be measured is equal to its range.
[0148] Therefore, the parameter value of the target parameter can be infinitely adjusted based on the ratio of the length of the reference path to the preset circular path and the range of the target parameter. The configuration parameter value of the target parameter can be any value within the range of the target parameter to meet the needs of practical applications.
[0149] In some implementations, step S602 may include:
[0150] The configuration parameter value of the target parameter is determined based on the ratio of the length of the reference path to the preset circular path, the path direction of the reference path, the current parameter value of the target parameter and the range of the target parameter.
[0151] When the reference path is less than a preset circular path, the first setting value of the target parameter may be the minimum setting value of the target parameter, and the second setting value of the target parameter may be the maximum setting value of the target parameter. Generally speaking, the configuration parameter value is in the range between the minimum setting value and the maximum setting value.
[0152] In a specific application, the target parameter is a voltage pulse width parameter of a stimulator, the range of the voltage pulse width parameter is 0 to 960 μs, the first setting value of the voltage pulse width parameter is 0 μs, and the second setting value is 960 μs.
[0153] The ratio of the length of the reference path to the preset circular path is 0.5, the path direction of the reference path is clockwise, the current parameter value of the voltage pulse width parameter is 20μs, and the configuration parameter value of the voltage pulse width parameter is 20μs+0.5×(960-0)μs=500μs.
[0154] When the reference path is more than one (non-integer multiple) preset circular paths (eg, 1.5, 3.5, etc.), the first setting value and the second setting value of the target parameter may both be within a range between the minimum setting value and the maximum setting value of the target parameter.
[0155] The above method can support users to slide multiple circles along the preset sliding area of the touch screen. When the adjustment range of the parameter value of the target parameter is large, if the user is only allowed to slide one circle, it is inconvenient for the user to make fine control within the range of one circle, which can easily cause the parameter value to be set too high or too low. The programmable control device of the present application can support users to slide multiple circles along the preset sliding area of the touch screen, making it easier for users to make fine adjustments.
[0156] In a specific application, the target parameter is a voltage amplitude parameter of the stimulator, the first setting value of the voltage amplitude parameter is 0V, and the second setting value is 0.6V.
[0157] The reference path is 3.5 preset circular paths, the ratio of the length of the reference path to the preset circular path is 3.5, the path direction of the reference path is counterclockwise, the current parameter value of the voltage amplitude parameter is 2.35V, and the configuration parameter value of the voltage amplitude parameter is 2.35V-3.5×(0.6-0)V=0.25V.
[0158] See also Fig. 9 In some optional embodiments, the preset circular path is provided with at least one scale, and the step S204 may include steps S701 and S702.
[0159] Step S701: acquiring the range of the target parameter corresponding to the preset circular path and the set value of the target parameter corresponding to each scale of the preset circular path;
[0160] Step S702: Determine the configuration parameter value of the target parameter based on the set value of the target parameter corresponding to the closest scale of the reference path.
[0161] Therefore, based on the set value of the target parameter corresponding to the scale closest to the reference path, the parameter value of the target parameter can be adjusted to obtain the configuration parameter value of the target parameter. The configuration parameter value of the target parameter can be one of the set values of the target parameter corresponding to multiple scales to meet the needs of practical applications.
[0162] In a specific application, the target parameter is a voltage pulse width parameter. The preset circular path is set with 20 scales. The set values of the voltage pulse width parameters corresponding to these 20 scales are 20μs, 40μs, 60μs, 80μs, 100μs, 120μs...960μs, respectively. The scale closest to the end point of the reference path is the 4th scale, and the configuration parameter value of the voltage pulse width parameter is 80μs.
[0163] In some optional embodiments, the step S601 or the step S701 acquires the range of the target parameter in the following manner:
[0164] A second correspondence between the configuration parameter value of the associated parameter and the range of the target parameter is obtained, wherein the associated parameter is one or more parameters other than the target parameter in the parameters of the stimulator; (the target parameter is one of the parameters of the stimulator, and the parameters of the stimulator include multiple parameters of the amplitude parameter of the constant current, the frequency parameter of the constant current, the amplitude parameter of the constant voltage, the pulse width parameter of the constant voltage, and the frequency of the constant voltage.)
[0165] Based on the configuration parameter value of the associated parameter and the second corresponding relationship, the range of the target parameter is obtained.
[0166] Therefore, the configuration process of each parameter of the stimulator is not isolated, and the configuration parameter value of each parameter is related to the range of other parameters, so that when setting parameters, it can only be completed within a relatively reasonable range, avoiding users from setting unreasonable parameter values and ensuring the patient's life safety.
[0167] In some optional embodiments, the preset circular path is provided with a plurality of scales, the reference path corresponding to the sliding path is no greater than one preset circular path, and the range of the target parameter is used to indicate the minimum setting value and the maximum setting value of the target parameter.
[0168] In some optional embodiments, the range of the target parameter includes an operable part and an inoperable part, and the method further includes: displaying a scale corresponding to the operable part of the range of the target parameter on the touch screen in a first state, and displaying a scale other than the scale corresponding to the inoperable part of the range of the target parameter on the touch screen in a second state;
[0169] When it is detected that the scale closest to the end point of the reference path is in the scale range corresponding to the inoperable part of the range of the target parameter, no operation is performed, or the user is prompted to re-operate, or the scale corresponding to the operable part of the range of the target parameter is displayed on the touch screen in a flashing state.
[0170] In a specific application, the corresponding target parameter is the voltage frequency parameter, the associated parameter corresponding to the voltage frequency parameter is the voltage amplitude parameter, and when the configuration parameter value of the voltage amplitude parameter is 0.2V, the range of the voltage frequency parameter is 40Hz~120Hz; and when the configuration parameter value of the voltage amplitude parameter is 0.3V, the range of the voltage frequency parameter can be 60Hz~160Hz.
[0171] The preset circular path is set with 8 scales. When setting the voltage frequency parameter, the set values corresponding to these 8 scales are 20Hz, 40Hz, 60Hz, 80Hz, 100Hz, 120Hz, 140Hz and 160Hz respectively. The scales corresponding to the operable part of the range of the voltage frequency parameter include the 2nd scale to the 6th scale.
[0172] The second to sixth scales are displayed in green on the touch screen, and the first, seventh and eighth scales are displayed in red or gray. The scale range corresponding to the green state is operable, and the scale range corresponding to the red or gray state is inoperable.
[0173] In some optional embodiments, the preset circular path is sequentially provided with N scales along its clockwise direction, the difference between the set value of the target parameter corresponding to the kth scale and the set value of the target parameter corresponding to the k-1th scale is the same as the difference between the set value of the target parameter corresponding to the k+1th scale and the set value of the target parameter corresponding to the kth scale, N is an integer greater than 2, and k is an integer greater than 1 and less than N. In some specific applications, (the controller of the program-controlled device) can use a touch screen to display the parameter values of the N scales.
[0174] In a specific application, the target parameter is a voltage amplitude parameter. A preset circular path is provided with 255 scales in sequence along the path direction of the sliding path. The difference between the set values of the voltage amplitude parameters corresponding to two adjacent scales is a fixed value of 0.05V. The set values of the voltage amplitude parameters corresponding to these 255 scales are 0.05V, 0.1V, 0.15V, 0.2V, 0.25V, 0.3V...12.75V in sequence.
[0175] Therefore, the set values of the N scale corresponding parameters form an arithmetic progression, which conforms to the user's operating habits.
[0176] In some optional embodiments, the preset circular path is provided with N scales in sequence along its clockwise direction, and the difference between the set value of the target parameter corresponding to the kth scale and the set value of the target parameter corresponding to the k-1th scale is different from the difference between the set value of the target parameter corresponding to the k+1th scale and the set value of the target parameter corresponding to the kth scale.
[0177] In a specific application, the target parameter is a voltage-frequency parameter, and a preset circular path is provided with 8 scales in sequence along the path direction of the sliding path. The difference between the set values of the voltage-frequency parameters corresponding to two adjacent scales is not a constant value. The set values of the voltage-frequency parameters corresponding to these 8 scales are 20 Hz, 60 Hz, 100 Hz, 200 Hz, 210 Hz, 230 Hz, 240 Hz and 245 Hz in sequence.
[0178] Therefore, the set value of the target parameter corresponding to any scale can be flexibly set according to the needs of actual application, and the application range is wide.
[0179] In some optional embodiments, the preset circular path is provided with N scales in sequence along its clockwise direction, and the difference between the set value of the target parameter corresponding to the kth scale and the set value of the target parameter corresponding to the k-1th scale is smaller than the difference between the set value of the target parameter corresponding to the k+1th scale and the set value of the target parameter corresponding to the kth scale.
[0180] Therefore, along the clockwise direction of the preset circular path itself, the difference between the set values of the target parameters corresponding to two adjacent scales becomes larger and larger, so that when the user slides clockwise, the amplitude change of the set value corresponding to the trajectory point (corresponding to the scale) gradually becomes faster, further speeding up the efficiency of parameter value setting.
[0181] See also Fig.10 In some optional embodiments, the method may further include step S208.
[0182] Step S208: when it is detected that the position of any track point of the sliding path is not in the preset sliding area, no operation is performed, or the user is prompted to perform the operation again, or the preset sliding area is displayed in a flashing state on the touch screen.
[0183] Therefore, when the position of any track point of the sliding path is not in the preset sliding area, it indicates that the sliding operation may be caused by an accidental touch by the user, and the sliding operation is judged to be invalid. At this time, no operation can be performed, and the user can be indirectly prompted that the sliding operation is invalid by the lack of response after the sliding operation, or the user can be prompted to operate again, or the preset sliding area can be displayed on the touch screen in a flashing state. Any of the above processing methods can play the role of prompting the user that the sliding operation is invalid, and the degree of intelligence is relatively high.
[0184] See also Fig.11 In some optional embodiments, the method may further include step S209.
[0185] Step S209: when the similarity is less than the preset similarity threshold, no operation is performed, or the user is prompted to perform the operation again, or the preset circular path is displayed in a flashing state on the touch screen.
[0186] Therefore, when the similarity is less than the preset similarity threshold, it indicates that the sliding operation may be caused by an accidental touch by the user, and the sliding operation is judged to be invalid. At this time, no operation can be performed, and the user can be indirectly prompted that the sliding operation is invalid by the lack of response after the sliding operation, or the user can be prompted to re-operate, or the preset circular path can be displayed on the touch screen in a flashing state. Any of the above processing methods can play the role of prompting the user that the sliding operation is invalid, and the degree of intelligence is relatively high.
[0187] See also Fig.12 The present application also provides a program-controlled device 100, the specific implementation of which is consistent with the implementation method and the technical effect achieved in the embodiment of the above-mentioned control method, and some contents will not be repeated here.
[0188] The program-controlled device 100 is applied to an implantable neural stimulation system, which includes the program-controlled device 100 disposed outside the patient's body and a stimulator implanted in the patient's body;
[0189] The program-controlled device 100 is communicatively connected to the stimulator, and the program-controlled device 100 includes:
[0190] A touch screen 101, wherein the touch screen 101 is configured to receive an operation of a user;
[0191] A communication module 102, wherein the communication module 102 is configured to implement data interaction between the program-controlled device 100 and the stimulator;
[0192] A controller 103, wherein the controller 103 is electrically connected to the touch screen 101 and the communication module 102 respectively, and the controller 103 is configured as follows:
[0193] Receiving a sliding operation using the touch screen 101, and acquiring a configuration parameter value of a target parameter in response to the sliding operation;
[0194] Based on the configuration parameter value of the target parameter, a control instruction is generated and sent to the stimulator, so that the stimulator generates electrical stimulation according to the control instruction and applies the electrical stimulation to the patient's body tissue.
[0195] In some embodiments, the controller 103 may include at least one memory, at least one processor, and a bus connecting different platform systems. Among them, the memory may include one or more of a random access memory (RAM), a read-only memory (ROM), and a cache memory. The memory stores a computer program that can be executed by the processor. The bus may be a local bus representing one or more of several types of bus structures, including a memory bus, a peripheral bus, a graphics acceleration port, or a local bus using any bus structure in a variety of bus structures.
[0196] In some optional embodiments, the controller 103 is further configured to obtain the configuration parameter value of the target parameter in the following manner:
[0197] In response to the sliding operation, obtaining a sliding path corresponding to the target parameter;
[0198] When it is detected that the positions of the track points of the sliding path are all in the preset sliding area, based on the starting point, the end point and the path direction of the sliding path, a reference path corresponding to the sliding path is acquired, wherein the reference path is a part of a preset circular path and the path direction of the reference path is determined by the path direction of the sliding path, and the preset circular path is in the preset sliding area;
[0199] Acquire the similarity between the sliding path and the reference path;
[0200] When the similarity is not less than a preset similarity threshold, a configuration parameter value of the target parameter is acquired based on the reference path.
[0201] In some optional embodiments, the controller 103 is further configured to:
[0202] Before detecting whether the positions of each track point of the sliding path are all in the preset sliding area, detecting whether the starting point of the sliding path is in a valid starting point range, the valid starting point range includes the position point on the touch screen 101 corresponding to the current parameter value of the target parameter;
[0203] If the starting point of the sliding path is within the effective starting point range, detecting whether the positions of each track point of the sliding path are all within the preset sliding area;
[0204] If the starting point of the sliding path is not within the valid starting point range, no operation is performed, or the user is prompted to perform the operation again, or the area corresponding to the valid starting point range is displayed in a flashing state on the touch screen 101 .
[0205] In some optional embodiments, the controller 103 is further configured to obtain the reference path in the following manner:
[0206] Finding a point on the preset circular path that is closest to the starting point of the sliding path as the starting point of the reference path;
[0207] Finding a point on the preset circular path that is closest to the end point of the sliding path as the end point of the reference path;
[0208] Based on the path direction of the sliding path, a path between the starting point and the end point of the reference path is intercepted from the preset circular path as the reference path.
[0209] In some optional embodiments, the controller 103 is further configured to obtain the similarity in the following manner:
[0210] Acquire a plurality of similarity training data, each of the similarity training data comprising a sample sliding path, a sample reference path and annotated similarity between the two for training;
[0211] Using the plurality of similarity training data to train a preset deep learning model to obtain a similarity model;
[0212] The sliding path and the reference path are input into the similarity model to obtain the similarity.
[0213] In some optional embodiments, the controller 103 is further configured to obtain the preset similarity threshold in the following manner:
[0214] Obtaining a first correspondence between a disease type and a similarity threshold;
[0215] Based on the disease type of the patient and the first corresponding relationship, a similarity threshold corresponding to the disease type of the patient is obtained as the preset similarity threshold.
[0216] In some optional embodiments, the controller 103 is further configured to obtain the configuration parameter value of the target parameter in the following manner:
[0217] Obtaining the range of the target parameter corresponding to the preset circular path;
[0218] Based on the ratio of the length of the reference path to the preset circular path and the range of the target parameter, a configuration parameter value of the target parameter is determined.
[0219] In some optional embodiments, the preset circular path is provided with at least one scale, and the controller 103 is further configured to obtain the configuration parameter value of the target parameter in the following manner:
[0220] Acquire the range of the target parameter corresponding to the preset circular path and the set value of the target parameter corresponding to each scale of the preset circular path;
[0221] The configuration parameter value of the target parameter is determined based on the set value of the target parameter corresponding to the scale closest to the end point of the reference path.
[0222] In some optional embodiments, the controller 103 obtains the range of the target parameter corresponding to the preset circular path in the following manner:
[0223] Acquire a second correspondence between a configuration parameter value of an associated parameter and a range of the target parameter corresponding to the preset circular path, wherein the associated parameter is one or more parameters other than the target parameter in the parameters of the stimulator;
[0224] Based on the configuration parameter value of the associated parameter and the second corresponding relationship, the range of the target parameter is obtained.
[0225] In some optional embodiments, the preset circular path is provided with N scales in sequence along its clockwise direction, the difference between the set value of the target parameter corresponding to the kth scale and the set value of the target parameter corresponding to the k-1th scale is smaller than the difference between the set value of the target parameter corresponding to the k+1th scale and the set value of the target parameter corresponding to the kth scale, N is an integer greater than 2, and k is an integer greater than 1 and less than N.
[0226] In some optional embodiments, the controller 103 is further configured to:
[0227] When it is detected that the position of any track point of the sliding path is not in the preset sliding area, no operation is performed, or the user is prompted to perform the operation again, or the preset sliding area is displayed in a flashing state on the touch screen 101 .
[0228] In some optional embodiments, the controller 103 is further configured to:
[0229] When the similarity is less than the preset similarity threshold, no operation is performed, or the user is prompted to perform an operation again, or the preset circular path is displayed in a flashing state on the touch screen 101 .
[0230] In some optional embodiments, the target parameter is any one of a pulse width parameter, an amplitude parameter and a frequency parameter of the voltage.
[0231] In some optional embodiments, the patient's disease type includes one or more of epilepsy, tremor, Parkinson's disease, depression, obsessive-compulsive disorder, Alzheimer's disease and drug addiction.
[0232] See also Fig.13 The present application also provides an implantable neural stimulation system 300, the specific implementation of which is consistent with the implementation method and the technical effect achieved in the above-mentioned control method embodiment, and some contents will not be repeated here.
[0233] The implantable neural stimulation system 300 includes the program-controlled device 100 disposed outside the patient's body and a stimulator implanted inside the patient's body;
[0234] The stimulator is configured to generate electrical stimulation and apply the electrical stimulation to the in vivo tissue of the patient;
[0235] The program-controlled device 100 is communicatively connected to the stimulator, and the program-controlled device 100 includes:
[0236] A touch screen 101, wherein the touch screen 101 is configured to receive an operation of a user;
[0237] A communication module 102, wherein the communication module 102 is configured to implement data interaction between the program-controlled device 100 and the stimulator;
[0238] A controller 103, wherein the controller 103 is electrically connected to the touch screen 101 and the communication module 102 respectively, and the controller 103 is configured as follows:
[0239] Receiving a sliding operation using the touch screen 101, and acquiring a configuration parameter value of a target parameter in response to the sliding operation;
[0240] Based on the configuration parameter value of the target parameter, a control instruction is generated and sent to the stimulator, so that the stimulator generates the electrical stimulation according to the control instruction.
[0241] Therefore, the implantable neural stimulation system 300 of the present application can support the user's sliding operation, and the user can set the parameter value by sliding, which greatly reduces the user's operation steps, makes the parameter value setting faster and more convenient, and improves the user's experience.
[0242] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0243] When a component is referred to as being "on" or "over," "connected to," or "coupled to" another component, the component may be directly on, directly connected to, or directly coupled to the other component, or intervening components may be present. However, when a component is referred to as being "directly on," "directly connected to," or "directly coupled to" another component, there are no intervening components. For this purpose, the term "connected" may refer to a physical connection, an electrical connection, etc., with or without intervening components.
[0244] This application is explained from the perspectives of purpose of use, effectiveness, progress and novelty, and has met the functional enhancement and usage requirements emphasized by the Patent Law. The above description and drawings of this application are only the preferred embodiments of this application, and are not intended to limit this application. Therefore, all structures, devices, features, etc. that are similar or identical to this application, that is, all equivalent replacements or modifications made in accordance with the scope of the patent application of this application, should fall within the scope of protection of the patent application of this application.
Claims
1. A program-controlled device, characterized in that: Applied to an implantable neural stimulation system, the implantable neural stimulation system comprises the program-controlled device disposed outside the patient's body and a stimulator implanted inside the patient's body; The program-controlled device is communicatively connected to the stimulator, and the program-controlled device comprises: A touch screen configured to receive an operation by a user; A communication module, wherein the communication module is configured to implement data interaction between the program-controlled device and the stimulator; A controller, the controller being electrically connected to the touch screen and the communication module respectively, and the controller being configured to: Receiving a sliding operation by means of the touch screen, and acquiring a configuration parameter value of a target parameter in response to the sliding operation, including: In response to the sliding operation, obtaining a sliding path corresponding to the target parameter; When it is detected that the positions of the track points of the sliding path are all in the preset sliding area, based on the starting point, the end point and the path direction of the sliding path, a reference path corresponding to the sliding path is acquired, wherein the reference path is a part of a preset circular path and the path direction of the reference path is determined by the path direction of the sliding path, and the preset circular path is in the preset sliding area; Acquire the similarity between the sliding path and the reference path; When the similarity is not less than a preset similarity threshold, acquiring a configuration parameter value of the target parameter based on the reference path; Based on the configuration parameter value of the target parameter, a control instruction is generated and sent to the stimulator, so that the stimulator generates electrical stimulation according to the control instruction and applies the electrical stimulation to the patient's body tissue.
2. The program-controlled device according to claim 1, characterized in that: The controller is also configured to: Before detecting whether the positions of each track point of the sliding path are all in the preset sliding area, detecting whether the starting point of the sliding path is in a valid starting point range, the valid starting point range includes the position point on the touch screen corresponding to the current parameter value of the target parameter; If the starting point of the sliding path is within the effective starting point range, detecting whether the positions of each track point of the sliding path are all within the preset sliding area; If the starting point of the sliding path is not within the valid starting point range, no operation is performed, or the user is prompted to perform the operation again, or the area corresponding to the valid starting point range is displayed on the touch screen in a flashing state.
3. The program-controlled device according to claim 1, characterized in that: The controller is further configured to obtain the reference path in the following manner: Finding a point on the preset circular path that is closest to the starting point of the sliding path as the starting point of the reference path; Finding a point on the preset circular path that is closest to the end point of the sliding path as the end point of the reference path; Based on the path direction of the sliding path, a path between the starting point and the end point of the reference path is intercepted from the preset circular path as the reference path.
4. The program-controlled device according to claim 1, characterized in that: The controller is further configured to obtain the similarity in the following manner: Acquire a plurality of similarity training data, each of the similarity training data comprising a sample sliding path, a sample reference path and annotated similarity between the two for training; Using the plurality of similarity training data to train a preset deep learning model to obtain a similarity model; The sliding path and the reference path are input into the similarity model to obtain the similarity.
5. The program-controlled device according to claim 1, characterized in that: The controller is further configured to obtain the preset similarity threshold in the following manner: Obtaining a first correspondence between a disease type and a similarity threshold; Based on the disease type of the patient and the first corresponding relationship, a similarity threshold corresponding to the disease type of the patient is obtained as the preset similarity threshold.
6. The program-controlled device according to claim 1, characterized in that: The controller is further configured to obtain the configuration parameter value of the target parameter in the following manner: Obtaining the range of the target parameter corresponding to the preset circular path; Based on the ratio of the length of the reference path to the preset circular path and the range of the target parameter, a configuration parameter value of the target parameter is determined.
7. The program-controlled device according to claim 3, characterized in that: The preset circular path is provided with at least one scale, and the controller is further configured to obtain the configuration parameter value of the target parameter in the following manner: Acquire the range of the target parameter corresponding to the preset circular path and the set value of the target parameter corresponding to each scale of the preset circular path; The configuration parameter value of the target parameter is determined based on the set value of the target parameter corresponding to the scale closest to the end point of the reference path.
8. The program-controlled device according to claim 6 or 7, characterized in that: The controller obtains the range of the target parameter corresponding to the preset circular path in the following manner: Acquire a second correspondence between a configuration parameter value of an associated parameter and a range of the target parameter corresponding to the preset circular path, wherein the associated parameter is one or more parameters other than the target parameter in the parameters of the stimulator; Based on the configuration parameter value of the associated parameter and the second corresponding relationship, the range of the target parameter is obtained.
9. The program-controlled device according to claim 8, characterized in that: The preset circular path is along There are N scales arranged in sequence in the clockwise direction of the body, the difference between the set value of the target parameter corresponding to the kth scale and the set value of the target parameter corresponding to the k-1th scale is smaller than the difference between the set value of the target parameter corresponding to the k+1th scale and the set value of the target parameter corresponding to the kth scale, N is an integer greater than 2, and k is an integer greater than 1 and less than N.
10. The program-controlled device according to claim 1, characterized in that: The controller is also configured to: When it is detected that the position of any track point of the sliding path is not in the preset sliding area, no operation is performed, or the user is prompted to perform the operation again, or the preset sliding area is displayed in a flashing state on the touch screen.
11. The program-controlled device according to claim 1, characterized in that: The controller is also configured to: When the similarity is less than the preset similarity threshold, no operation is performed, or the user is prompted to perform an operation again, or the preset circular path is displayed in a flashing state on the touch screen.
12. The program-controlled device according to claim 1, characterized in that: The target parameter is any one of a pulse width parameter, an amplitude parameter and a frequency parameter of the voltage.
13. The program-controlled device according to claim 1, characterized in that: The disease types of the patient include one or more of epilepsy, tremor, Parkinson's disease, depression, obsessive-compulsive disorder, Alzheimer's disease and drug addiction.
14. An implantable neural stimulation system, characterized in that: The implantable neural stimulation system includes a programmable device disposed outside the patient's body and a stimulator implanted inside the patient's body; The stimulator is configured to generate electrical stimulation and apply the electrical stimulation to the in vivo tissue of the patient; The program-controlled device is communicatively connected to the stimulator, and the program-controlled device comprises: A touch screen configured to receive an operation by a user; A communication module, wherein the communication module is configured to implement data interaction between the program-controlled device and the stimulator; A controller, the controller being electrically connected to the touch screen and the communication module respectively, and the controller being configured to: Receiving a sliding operation by means of the touch screen, and acquiring a configuration parameter value of a target parameter in response to the sliding operation, including: In response to the sliding operation, obtaining a sliding path corresponding to the target parameter; When it is detected that the positions of the track points of the sliding path are all in the preset sliding area, based on the starting point, the end point and the path direction of the sliding path, a reference path corresponding to the sliding path is acquired, wherein the reference path is a part of a preset circular path and the path direction of the reference path is determined by the path direction of the sliding path, and the preset circular path is in the preset sliding area; Acquire the similarity between the sliding path and the reference path; When the similarity is not less than a preset similarity threshold, acquiring a configuration parameter value of the target parameter based on the reference path; Based on the configuration parameter value of the target parameter, a control instruction is generated and sent to the stimulator, so that the stimulator generates the electrical stimulation according to the control instruction.
Citation Information
Patent Citations
User interface for breathing apparatus
CN102971035A
Implantable nerve stimulator in-vitro control system
CN106861044A
Remote control method, household appliance, remote control device and storage medium
CN108775678A
Method and system of remotely controlling electrical pulses provided to nerve tissue(s) by an implanted stimulator system for neuromodulation therapies
US20050131493A1