WO2024027781A1 - Self-diagnosis device, programmable system, and computer-readable storage medium - Google Patents

Self-diagnosis device, programmable system, and computer-readable storage medium Download PDF

Info

Publication number
WO2024027781A1
WO2024027781A1 PCT/CN2023/110886 CN2023110886W WO2024027781A1 WO 2024027781 A1 WO2024027781 A1 WO 2024027781A1 CN 2023110886 W CN2023110886 W CN 2023110886W WO 2024027781 A1 WO2024027781 A1 WO 2024027781A1
Authority
WO
WIPO (PCT)
Prior art keywords
self
stimulator
patient
fault
measurement data
Prior art date
Application number
PCT/CN2023/110886
Other languages
French (fr)
Chinese (zh)
Inventor
刘鑫蕊
周国新
Original Assignee
景昱医疗科技(苏州)股份有限公司
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 景昱医疗科技(苏州)股份有限公司 filed Critical 景昱医疗科技(苏州)股份有限公司
Publication of WO2024027781A1 publication Critical patent/WO2024027781A1/en

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/0205Simultaneously evaluating both cardiovascular conditions and different types of body conditions, e.g. heart and respiratory condition
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/103Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
    • A61B5/11Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/103Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
    • A61B5/11Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
    • A61B5/1116Determining posture transitions
    • A61B5/1117Fall detection
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/369Electroencephalography [EEG]
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/389Electromyography [EMG]
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/74Details of notification to user or communication with user or patient ; user input means
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N1/00Electrotherapy; Circuits therefor
    • A61N1/02Details
    • A61N1/025Digital circuitry features of electrotherapy devices, e.g. memory, clocks, processors
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N1/00Electrotherapy; Circuits therefor
    • A61N1/02Details
    • A61N1/08Arrangements or circuits for monitoring, protecting, controlling or indicating
    • 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
    • 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
    • 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/3606Implantable neurostimulators for stimulating central or peripheral nerve system adapted for a particular treatment
    • A61N1/36067Movement disorders, e.g. tremor or Parkinson disease
    • 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/372Arrangements in connection with the implantation of 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/375Constructional arrangements, e.g. casings
    • A61N1/37514Brain implants
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R27/00Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom
    • G01R27/02Measuring real or complex resistance, reactance, impedance, or other two-pole characteristics derived therefrom, e.g. time constant
    • G01R27/08Measuring resistance by measuring both voltage and current
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/764Arrangements for image or video recognition or understanding using pattern recognition or machine learning using classification, e.g. of video objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/82Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/60ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices
    • G16H40/63ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices for local operation

Definitions

  • This application relates to the technical field of implantable medical devices, such as self-diagnostic equipment, program-controlled systems and computer-readable storage media.
  • a programmable controller In the technical field of implantable medical equipment, a programmable controller is used to establish a programmable connection with the patient's IPG (Implantable Pulse Generator). The doctor adjusts the configuration information of the IPG through the programmable controller to achieve control of the IPG. adjustment of stimulation parameters.
  • IPG Implantable Pulse Generator
  • the IPG is generally checked when the doctor adjusts the configuration information of the IPG through the program controller, or when the stimulator delivers electrical stimulation to the tissue in the patient's body.
  • patent CN113426009A discloses a Parkinson's disease treatment device and its application method based on DBS technology.
  • the method includes: when performing electrical stimulation treatment, the electrode stimulation signal is transmitted to the adapter module through the extended wire, and is then sequentially introduced to the signal detection
  • the module detects the signal, and then uses the signal to determine whether the module comparison signal is correct.
  • the device operates normally.
  • the signal is abnormal, the device operates abnormally.
  • the operation detection module detects that the main chip and main power supply are shut down or If it is damaged, the signal judgment module determines the abnormality, so that the patient can contact the hospital to repair or replace the IPG neurostimulator.
  • This patent uses the electrode stimulation signal itself to detect whether the stimulator is malfunctioning during electrical stimulation treatment, without considering the patient's own condition.
  • this application provides a self-diagnostic device, a program-controlled system and a computer-readable storage medium to solve the problems existing in the above related technologies.
  • the purpose of this application is to provide a self-diagnostic device, a program-controlled system and a computer-readable storage medium, which can detect whether a fault occurs in the stimulator through historical measurement data and second measurement data based on the patient's first measurement data.
  • a self-diagnostic device the self-diagnostic device is used to perform fault self-diagnosis of a stimulator implanted in a patient, the self-diagnostic device is configured to:
  • the stimulator delivers the actual configuration information to the patient's body tissue.
  • the actual configuration information is used to indicate the actual parameter value of each stimulation parameter of the stimulator;
  • the self-diagnosis device is configured to obtain the actual configuration information in the following manner:
  • N is a positive integer
  • the actual configuration information is obtained based on the most recent N times of historical configuration information.
  • the first measurement data includes one or more of the following: heart rate data, pulse data, electromyography data, and electroencephalography data;
  • the historical configuration information includes one or more stimulation parameter identifiers and historical parameter values corresponding to each stimulation parameter identifier, and N is a positive integer;
  • the preset monitoring conditions include one or more of the following: the current time reaches the preset monitoring time; the patient is detected to have fallen, dropped, twitched, self-mutilated or inhaled.
  • the self-diagnosis device is configured to obtain fault diagnosis results in the following manner:
  • the training process of the similarity model includes:
  • the first training set includes a plurality of training data, each of the training data includes a first sample object, a second sample object, the first sample object and the second sample object similarity;
  • For each training data in the first training set perform the following processing: input the first sample object and the second sample object in the training data into the preset first deep learning model to obtain the first The predicted similarity between the sample object and the second sample object;
  • the self-diagnosis device when the fault diagnosis result is that the stimulator is faulty, the self-diagnosis device is further configured to:
  • An alarm signal is sent out using an alarm device, which includes one or more of a sound alarm device, a flash alarm device, or an audible and visual alarm device.
  • the stimulator includes an IPG and one or more electrode leads;
  • the self-diagnostic device is configured to determine a fault diagnosis result of the stimulator in the following manner:
  • the fault diagnosis result is that the electrode wire whose impedance data is not within its corresponding preset range is faulty. occur;
  • the self-diagnosis device when the fault diagnosis result is that a fault occurs, the self-diagnosis device Also configured to:
  • the fault information of the stimulator includes stimulator identification information, fault time information and fault type information. of one or more.
  • the self-diagnosis device is further configured to:
  • the fault information of the stimulator is sent to a preset service device.
  • the self-diagnosis device is further configured to:
  • the latest fault information of the stimulator is sent to the preset service device.
  • the process of detecting whether the patient falls, falls, twitches, self-mutilates, takes drugs, or has no abnormal events includes:
  • the real-time image is input into the abnormal event model to obtain the event classification result corresponding to the real-time image.
  • the event classification result is falling, falling, twitching, self-mutilation, sucking, or no abnormal event.
  • this application also provides a program-controlled system, which includes a health monitoring device and the self-diagnostic device of any one of the first aspects, and the self-diagnostic device and the health monitoring device are communicatively connected. .
  • the present application also provides a computer-readable storage medium that stores a computer program.
  • the computer program When the computer program is executed by a processor, the self-diagnosis of any one of the first aspects is implemented.
  • Device functionality When the computer program is executed by a processor, the self-diagnosis of any one of the first aspects is implemented. Device functionality.
  • This application provides self-diagnostic equipment, a program-controlled system and a computer-readable storage medium. Using the self-diagnostic equipment provided by this application has at least the following advantages:
  • the patient's first measurement data will only be obtained when the patient meets the preset monitoring conditions.
  • the measurement data of one or more health monitoring parameters is not within its corresponding preset range, the actual configuration information will be obtained, and the patient's first measurement data will be obtained.
  • the second measurement data detects a fault condition of the stimulator based on the historical measurement data and the second measurement data, and obtains a fault diagnosis result of the stimulator.
  • the first measurement data of the patient's health monitoring parameters will be obtained through the health monitoring equipment only when the preset monitoring conditions are met. This avoids the discomfort caused to the patient by long-term use of the health monitoring equipment and reduces the cost of the health monitoring equipment.
  • the electrical stimulation will be delivered to the tissue in the patient's body through the stimulator to prevent the patient from accidentally falling or falling. After falls, convulsions, self-mutilation or drug abuse, the patient still needs to judge whether fault diagnosis of the stimulator is needed.
  • Judgment can detect the failure of the stimulator at the first time to clarify whether the cause of the stimulator failure is the stimulator itself or the patient's use, which fundamentally eliminates the possibility of affecting the doctor-patient relationship and improves the harmony of the doctor-patient relationship.
  • a self-diagnosis device which is different from the related technology in which the user (patient or guardian) will judge whether the IPG is faulty based on the feedback of the electrical stimulation treatment only when the doctor (doctor) treats the patient through the stimulator. Obtaining the fault results of the stimulator immediately improves the user experience and the doctor-patient relationship.
  • Figure 1 shows a schematic flowchart of steps executed by a self-diagnostic device provided by an embodiment of the present application.
  • Figure 2 shows a schematic flowchart of obtaining actual configuration information provided by an embodiment of the present application.
  • FIG. 3 shows a schematic flowchart of detecting fault occurrence provided by an embodiment of the present application.
  • FIG. 4 shows a schematic flowchart of determining a fault diagnosis result provided by an embodiment of the present application.
  • Figure 5 shows a schematic flowchart of fault information uploading provided by an embodiment of the present application.
  • Figure 6 shows a schematic flowchart of another fault information upload provided by an embodiment of the present application.
  • Figure 7 shows a schematic flowchart of detecting abnormal events in patients provided by an embodiment of the present application.
  • Figure 8 shows a structural block diagram of a program control system provided by an embodiment of the present application.
  • “multiple” refers to two or more than two.
  • “And/or” describes the association of associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural. character “/” generally indicates that the related objects are an "or” relationship. "At least one of the following” or similar expressions thereof refers to any combination of these items, including any combination of a single item (items) or a plurality of items (items).
  • At least one of a, b or c can mean: a, b, c, a and b, a and c, b and c or a and b and c, where a, b and c can It can be single or multiple. It is worth noting that "at least one item (item)” can also be interpreted as “one item (item) or multiple items (item)”.
  • An implantable neurostimulation system (an implantable medical system) mainly includes a stimulator implanted in the patient's body (i.e., an implantable neurostimulator) and a program-controlled device installed outside the patient's body.
  • Relevant neuromodulation technology mainly involves implanting electrodes into specific structures (i.e. target points) in the body through stereotaxic surgery, and a stimulator implanted in the patient's body sends electrical pulses to the target point through the electrodes to regulate the electrical activity of the corresponding neural structures and networks. activities and their functions, thereby improving symptoms and relieving pain.
  • the stimulator can be an implantable nerve electrical stimulation device, an implantable cardiac electrical stimulation system (also known as a pacemaker), an implantable drug delivery device (Implantable Drug Delivery System, referred to as IDDS) and a lead. Any type of switching device.
  • Implantable neuroelectric stimulation devices include, for example, Deep Brain Stimulation (DBS), Cortical Nerve Stimulation (CNS), and Spinal Cord Stimulation. , referred to as SCS), implanted sacral nerve electrical stimulation system (Sacral Nerve Stimulation, referred to as SNS), implanted vagus nerve electrical stimulation system (Vagus Nerve Stimulation, referred to as VNS), etc.
  • the stimulator can include an IPG and electrode leads.
  • the IPG implantable pulse generator
  • the IPG receives program-controlled instructions sent by the program-controlled device, and relies on sealed batteries and circuits to provide controllable electrical stimulation energy to tissues in the body.
  • the electrode lead includes an extension lead and a stimulation section.
  • the extension lead is used in conjunction with the IPG as a transmission medium for electrical stimulation signals to transmit the electrical stimulation signal generated by the IPG to the stimulation section of the electrode lead.
  • Electrode leads pass through multiple stimulation segments Electrode contacts that deliver electrical stimulation to specific areas of tissue in the body.
  • the stimulator is provided with one or more electrode leads on one or both sides.
  • the stimulation section of the electrode lead is provided with multiple electrode contacts.
  • the electrode contacts can be arranged evenly or non-uniformly in the circumferential direction of the electrode lead.
  • the electrode contacts may be arranged in an array of 4 rows and 3 columns (12 electrode contacts in total) in the circumferential direction of the stimulation section of the electrode lead.
  • the electrode contacts may include stimulation electrode contacts and/or collection electrode contacts.
  • the electrode contacts may be in the shape of, for example, a sheet, a ring, a dot, or the like.
  • the stimulated body tissue may be the patient's brain tissue, and the stimulated site may be a specific part of the brain tissue.
  • the stimulated parts are generally different, the number of stimulation contacts used (single source or multiple sources), one or more channels (single channel or multi-channel) specific electrical stimulation signals
  • the application and stimulation parameter data are also different.
  • the embodiments of this application do not limit the applicable disease types, which may be the disease types applicable to deep brain stimulation (DBS), spinal cord stimulation (SCS), pelvic stimulation, gastric stimulation, peripheral nerve stimulation, and functional electrical stimulation.
  • DBS diseases that DBS can be used to treat or manage
  • diseases include, but are not limited to: spastic diseases (eg, epilepsy), pain, migraine, mental illness (eg, 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 status disorders, mobility disorders (e.g., essential tremor or Parkinson's disease), Huntington's disease, Alzheimer's disease Alzheimer's disease, drug addiction, autism or other neurological or psychiatric diseases and impairments.
  • spastic diseases eg, epilepsy
  • pain migraine
  • mental illness eg, major depressive disorder (MDD)
  • bipolar disorder e.g., anxiety disorder, Post-traumatic stress disorder, mild depression, obsessive-compulsive disorder (OCD)
  • OCD obsessive-compulsive disorder
  • behavioral disorders e.g., mood disorders, memory disorders, mental status
  • the program-controlled device when the program-controlled device and the stimulator establish a program-controlled connection, can be used to adjust the stimulation parameters of the stimulator (different stimulation parameters correspond to different electrical stimulation signals), and the stimulator can also be used to sense the deep brain of the patient.
  • the bioelectrical activity is used to collect electrophysiological signals, and the stimulation parameters of the electrical stimulation signal of the stimulator can be continuously adjusted through the collected electrophysiological signals.
  • Stimulation parameters may include one or more of the following: frequency (for example, the number of electrical stimulation pulse signals per unit time 1 s, in Hz), pulse width (duration of each pulse, in ⁇ s), amplitude ( Generally expressed in voltage, that is, the intensity of each pulse, the unit is V), timing (for example, it can be continuous or burst, burst refers to a discontinuous timing behavior composed of multiple processes), stimulation mode (including current mode, voltage mode , one or more of timed stimulation mode and cyclic stimulation mode), doctor control upper and lower limits (the range that the doctor can adjust) and patient control upper and lower limits (the range that the patient can adjust independently).
  • frequency for example, the number of electrical stimulation pulse signals per unit time 1 s, in Hz
  • pulse width duration of each pulse, in ⁇ s
  • amplitude Generally expressed in voltage, that is, the intensity of each pulse, the unit is V
  • timing for example, it can be continuous or burst, burst refers to a discontinuous timing behavior composed of multiple processes
  • each stimulation parameter of the stimulator can be adjusted in current mode or voltage mode.
  • the program-controlled equipment may be a doctor-programmed equipment (that is, a program-controlled equipment used by a doctor) or a patient-programmed equipment (that is, a program-controlled equipment used by a patient).
  • the doctor's program-controlled equipment may be, for example, a tablet computer, a notebook computer, a desktop computer, a mobile phone, or other intelligent terminal equipment equipped with program-controlled software.
  • the patient's program-controlled equipment can be, for example, tablet computers, laptops, desktop computers, mobile phones and other intelligent terminal devices equipped with program-controlled software.
  • the patient's program-controlled equipment can also be other electronic equipment with program-controlled functions (such as chargers, data sets with program-controlled functions). collection equipment).
  • the embodiments of this application do not limit the data interaction between the doctor's program-controlled equipment and the stimulator.
  • the doctor remotely programs the device
  • the doctor's program-controlled equipment can interact with the stimulator through the server and the patient's program-controlled equipment.
  • the doctor performs face-to-face programming with the patient offline
  • the doctor's program-controlled equipment can interact with the stimulator through the patient's program-controlled equipment, and the doctor's program-controlled equipment can also directly interact with the stimulator.
  • the patient programming device may include a host (in communication with the server) and a slave (in communication with the stimulator), the host and slave being communicably connected.
  • the doctor's program-controlled equipment can interact with the server through the 3G/4G/5G network
  • the server can interact with the host through the 3G/4G/5G network
  • the host can interact with the slave through the Bluetooth protocol/WIFI protocol/USB protocol.
  • the slave machine can interact with the stimulator through the 401MHz-406MHz working frequency band/2.4GHz-2.48GHz working frequency band
  • the doctor's program-controlled equipment can directly interact with the stimulator through the 401MHz-406MHz working frequency band/2.4GHz-2.48GHz working frequency band. Data interaction.
  • Figure 1 shows a schematic flowchart of steps performed by a self-diagnostic device provided by an embodiment of the present application.
  • Embodiments of the present application provide a self-diagnostic device, which is used to perform fault self-diagnosis of a stimulator implanted in a patient's body.
  • the self-diagnostic device is configured to perform the following steps:
  • Step S101 When the patient meets the preset monitoring conditions, use the health monitoring device to obtain the first measurement data of the patient's health monitoring parameters.
  • Step S102 Detect whether the first measurement data of each health monitoring parameter is within its corresponding preset range.
  • Step S103 Obtain actual configuration information when it is detected that the first measurement data of one or more health monitoring parameters is not within its corresponding preset range, so that the stimulator can deliver the first measurement data to the patient's body tissue.
  • Actual configuration information corresponding to electrical stimulation.
  • the actual configuration information is used to indicate the actual parameter value of each stimulation parameter of the stimulator.
  • Step S104 Use the health monitoring device to obtain second measurement data of the patient's health monitoring parameters.
  • Step S105 Based on the historical measurement data and the second measurement data, detect whether a fault occurs in the stimulator to obtain a fault diagnosis result.
  • the first measurement data may include one or more of the following: heart rate data, pulse data, electromyographic data and electroencephalographic data;
  • the historical configuration information may include one or more stimulation parameter identifiers and historical parameter values corresponding to each stimulation parameter identifier, and N is a positive integer;
  • the preset monitoring conditions may include one or more of the following: reaching the preset monitoring time at the current time; detecting that the patient has fallen, dropped, twitched, self-mutilated or sucked.
  • the actual configuration information is used to configure the stimulation parameters of the stimulator, so that the duration of the electrical stimulation corresponding to the actual configuration information delivered by the stimulator to the patient's body tissue is much shorter than
  • the normal electrical stimulation treatment time such as several minutes to tens of minutes, is performed when the patient meets the preset monitoring conditions and the measurement data of the first measurement data is not within its corresponding preset range.
  • the self-diagnosis of the stimulator allows the user (patient or guardian) to obtain the failure results of the stimulator as soon as the stimulator fails, improving the user experience.
  • the patient's first measurement data will be obtained only when the patient meets the preset monitoring conditions.
  • the measurement data of one or more health monitoring parameters is not within its corresponding preset range, the actual configuration information will be obtained, and The patient's second measurement data is obtained, a fault condition of the stimulator is detected based on the historical measurement data and the second measurement data, and a fault diagnosis result of the stimulator is obtained.
  • the first measurement data of the patient's health monitoring parameters will be obtained through the health monitoring equipment only when the preset monitoring conditions are met, avoiding the discomfort caused to the patient by long-term use of the health monitoring equipment, and also reducing the cost of the health monitoring equipment.
  • a self-diagnosis device which is different from the related technology in which the user (patient or guardian) will judge whether the IPG is faulty based on the feedback of the electrical stimulation treatment only when the doctor (doctor) treats the patient through the stimulator. Obtaining the fault results of the stimulator immediately improves the user experience and the doctor-patient relationship.
  • the fault diagnosis result is, for example, "the patient's stimulator is faulty” or "the patient's stimulator is not faulty”.
  • the health monitoring equipment may be a wearable device, such as a health monitoring vest with integrated health monitoring function, a health monitoring bracelet, etc., or an implantable medical device, such as an implantable cardiac device. Electrical monitor, etc.
  • the health monitoring device is, for example, an electroencephalogram monitoring device, an electrocardiogram monitoring device, a myoelectricity monitoring device, a heart rate monitoring device, a pulse monitoring device or a visual monitoring device.
  • the preset monitoring time is, for example: 10 hours later, 12:00, or 10:13 am on working days (Monday to Friday). Detecting that the patient has fallen, dropped, convulsed, self-mutilated or inhaled, for example, means that the patient falls while standing, the patient falls from the bed to the ground, the patient has general convulsions, the patient is detected by a visual detection device (camera, etc.) Localized epilepsy, patients injuring their own limbs, or patients inhaling objects. Depend on Stimulators implanted in patients can provide electrical stimulation treatment for drug addiction. Patients may relapse to drugs or similar substances after abstaining from addiction.
  • the drug or analogue is selected from the group consisting of heroin, morphine, opiate concentrate, fentanyl, opium, nicodeine, hydrocodeine, poppy shells, thebaine, codeine, levmethorphan, betaine Any one of oxymorphine, dextropropoxyphene, pholcodine, Ritalin, sodium caffeine, methamphetamine or a combination thereof.
  • the preset range corresponding to the first measurement data is, for example, pulse rate 60 beats/minute to 100 beats/minute, electromyography 450 Hz to 500 Hz, etc.
  • the historical configuration information is, for example, the configuration information of the stimulator that is pre-stored in the self-diagnosis device, on a local area network server, or on a cloud server.
  • the stimulation parameter identification can be represented by one or more of Chinese, letters, numbers and special symbols, such as any one of "A001", “voltage”, “amplitude” or “#01” or a combination thereof.
  • the historical parameter value and the actual parameter value are, for example, frequency 120Hz, pulse width 65 ⁇ s or amplitude 3.1V.
  • the historical measurement data and the second measurement data are, for example, pulse data, electrocardiogram curve, or electroencephalogram curve.
  • the historical measurement data and the second measurement data are curves respectively, it can be performed based on each point of the curve, the shape of the curve (Hausdorff distance calculation), the segmentation of the curve (such as one-way distance method (One Way Distance)), etc. Compare to obtain the similarity between the two.
  • a preset degree of familiarity for example, 0.98, 0.95
  • Figure 2 shows a schematic flow chart of obtaining actual configuration information provided by an embodiment of the present application.
  • the self-diagnosis device is configured to obtain the actual configuration information in the following manner:
  • Step S201 Obtain the most recent N historical configuration information of the stimulator and the corresponding historical measurement data of the patient's health monitoring parameters, where N is a positive integer.
  • the historical measurement data can be used together with the second measurement data to detect whether a malfunction has occurred in the stimulator.
  • Step S202 Obtain the actual configuration information based on the last N times of historical configuration information.
  • N 1
  • the most recent historical configuration information of the stimulator and the corresponding historical measurement data of the patient's health monitoring parameters are selected.
  • the most recent historical configuration information can best reflect the recent The patient's condition can be reduced while providing electrical stimulation to the patient's body.
  • the degree of intelligence is high; on the other hand, when N is a positive integer other than 1, multiple historical configuration information can be reasonably utilized to avoid fluctuations in individual historical configuration information causing damage to the electrical stimulation delivered to the patient's body tissue. bias to improve the objectivity of the second measurement data obtained.
  • the preset range corresponding to patient A is heart rate data from 55 beats/minute to 100 beats/minute, and N is 1.
  • the camera set up in the patient's room obtained the information about the fall of epilepsy patient A, which met the preset detection conditions of patient A.
  • the health monitoring equipment obtained the patient's first measurement data: the heart rate data was 110 beats/minute. Because the first measurement data is not within its corresponding preset range, the most recent historical configuration information (voltage 2V) of patient A and its corresponding historical measurement data (pulse curve) of the patient's health monitoring parameters are obtained.
  • the historical measurement data and the second measurement data may each include a continuous pulse curve after the electrical stimulation is delivered to the tissue in the patient's body, and the patient's symptoms have been relieved (or asymptomatic) after the electrical stimulation.
  • the stimulator does not malfunction. The entire judgment process does not require patient A's operation. Patient A only needs to cooperate with the treatment with peace of mind and has a high level of intelligence.
  • the preset range corresponding to patient A is heart rate data from 60 beats/minute to 100 beats/minute, and N is 4.
  • the camera set up in the patient's room obtained information about the fall of epilepsy patient A.
  • Patient A met the preset detection conditions.
  • the health monitoring equipment obtained the patient's first measurement data: the heart rate data was 105 beats/minute, and the first measurement data was not in Its own corresponding preset range obtains the last 4 historical configuration information of patient A (voltage 2V, voltage 2.1V, voltage 1.9V, voltage 2V) and the corresponding historical measurement data of the patient's health monitoring parameters (4 pulse curves fitting curve).
  • the stimulation parameters are configured to a voltage of 2V based on the average of the four historical configuration information, and electrical stimulation corresponding to the stimulation parameters is delivered to the patient's body tissue and corresponding second measurement data (pulse curve) is obtained.
  • the historical measurement data and the second measurement data may each include a continuous pulse curve after the electrical stimulation is delivered to the tissue in the patient's body, and the patient's symptoms have been relieved (or asymptomatic) after the electrical stimulation. Based on the historical measurement data and the second measurement data, it is detected that the stimulator is faulty.
  • Figure 3 shows a schematic flowchart of a fault detection method provided by an embodiment of the present application.
  • step S105 may include:
  • Step S301 Input the historical measurement data and the second measurement data into the similarity model to obtain the similarity between the historical measurement data and the second measurement data;
  • Step S302 When the similarity is not less than the preset similarity threshold, determine that the fault diagnosis result is that the stimulator is not faulty;
  • Step S303 When the similarity is less than the preset similarity threshold, determine that the fault diagnosis result is that the stimulator is faulty.
  • the training process of the similarity model includes:
  • the first training set includes a plurality of training data, each of the training data includes a first sample object, a second sample object, the first sample object and the second sample object similarity;
  • For each training data in the first training set perform the following processing: input the first sample object and the second sample object in the training data into the preset first deep learning model to obtain the first The predicted similarity between the sample object and the second sample object;
  • the beneficial effect of this technical solution is that the similarity model can be trained by a large amount of training data, and can predict corresponding output data (i.e., historical measurement data and the second measurement data) for different input data (i.e., historical measurement data and second measurement data).
  • the similarity between the two measurement data has a wide range of applications and a high level of intelligence.
  • design establish an appropriate number of neuron computing nodes and a multi-layer computing hierarchy, and select the appropriate input layer and output layer to obtain the preset first deep learning model.
  • the similarity model obtained by training can be based on each The similarity between the historical measurement data and the second measurement data is obtained respectively, and the calculation result is highly accurate and reliable.
  • this application can use the above training process to train and obtain a similarity model. In other optional implementations, this application can use a pre-trained similarity model.
  • data mining can be performed on historical data to obtain training data.
  • the first sample object and the second sample object can also be automatically generated using the generation network of the GAN model. of.
  • the GAN model is a Generative Adversarial Network, which consists of a generative network and a discriminative network.
  • the generative network randomly samples from the latent space as input, and its output results need to imitate the real samples in the training set as much as possible.
  • the input of the discriminant network is a real sample or the output of the generative network, and its purpose is to distinguish the output of the generative network from the real sample as much as possible.
  • the generative network must deceive the discriminant network as much as possible.
  • the two networks compete with each other and constantly adjust parameters. The ultimate goal is to make the discriminant network unable to judge whether the output results of the generating network are true.
  • the predicted similarity can be expressed as a number or a percentage. When expressed as a number, the predicted similarity is, for example, 60, 80, or 90; when expressed as a percentage, the predicted similarity is, for example, 50%, 70%, or 90%. The higher the value, the better the predicted similarity. The higher the similarity.
  • This application does not limit the preset similarity threshold, which can be 70%, 80% or 90%.
  • This application does not limit the preset training end condition. For example, it can be that the number of training times reaches the preset number of times (the preset number of times is, for example, 1 time, 3 times, 10 times, 100 times, 1000 times, 10000 times, etc.), or it can The training data in the training set have completed one or more trainings, or the total loss value obtained in this training is not greater than the preset loss value.
  • the self-diagnosis device when the fault diagnosis result is that the stimulator is faulty, the self-diagnosis device is further configured to:
  • An alarm signal is sent out using an alarm device, which includes one or more of a sound alarm device, a flash alarm device, or an audible and visual alarm device.
  • alarming through the alarm device can attract the attention of people around the patient, so that the patient or patient guardian can learn the diagnosis result as soon as possible, and provide timely treatment. Seek help from a professional (doctor or stimulator provider).
  • the alarm device may be one of a horn (speaker), a buzzer, a display screen, etc. or a combination thereof.
  • Figure 4 shows a schematic flowchart of determining a fault diagnosis result provided by an embodiment of the present application.
  • the stimulator includes an IPG and one or more electrode leads;
  • the self-diagnostic device is configured to determine a fault diagnosis result of the stimulator in the following manner:
  • Step S401 Detect whether the impedance data of each electrode wire is in its corresponding preset state. set scope;
  • Step S402 When it is detected that the impedance data of one or more of the electrode wires is not within its corresponding preset range, determine that the fault diagnosis result is the electrode whose impedance data is not within its corresponding preset range. A fault occurs in the wire;
  • Step S403 When it is detected that the impedance data of all the electrode wires are within the corresponding preset range, determine that all the electrode wires are fault-free, and continue to detect all the electrode wires based on the historical measurement data and the second measurement data. Check whether a fault occurs in the IPG to obtain the fault diagnosis result.
  • the electrode lead since the outer diameter of the electrode lead is generally only about 1-1.5mm and the length of the electrode lead is about 500-550mm, when the patient falls, collides, etc., the electrode lead is more likely to malfunction (open circuit, etc.). If the electrode lead where the electrode contact is located is short-circuited, the electrical stimulation output by it may generate excessive current, which may cause damage to the body tissue receiving specific stimulation or to the tissue directly contacting the electrode contact at the short-circuit point; or, the electrode If the conductive path in the body where the contact is located is broken, the electrical stimulation will be output directly at the electrode contact at the broken point, so it cannot deliver effective treatment to the patient's designated internal tissue.
  • the impedance data of the electrode lead is first detected, and then it is determined whether the IPG needs to be detected based on the detection result of the electrode lead.
  • the fault of the stimulator can be determined with a high probability, which is more targeted and improves the response speed of the patient's self-diagnosis of the stimulator; on the other hand, the stimulator implanted in the patient's body can There is more than one electrode lead.
  • the faulty electrode lead can be quickly determined.
  • other electrode leads can be used to treat the patient, thus avoiding Delay patient care.
  • the circuit of the IPG may include a circuit inspection module.
  • the circuit inspection module can detect the IPG and determine the fault condition of the IPG, such as IPG power module failure, signal transmission failure, etc.
  • the impedance data of each electrode lead can be provided by IPG with a fixed voltage value, and the current value passing through each electrode lead can be measured to obtain the impedance data of each electrode lead; it can also be provided by IPG with a supply current value and measured with each electrode.
  • the voltage value of the wire is then obtained to obtain the impedance data of each electrode wire.
  • the self-diagnosis device when the fault diagnosis result is that a fault occurs, the self-diagnosis device also is configured to execute:
  • Step S106 Store the fault information of the stimulator in a preset storage location, and generate fault prompt information to send to the preset user equipment.
  • the fault information of the stimulator includes one or more of stimulator identification information, fault time information and fault type information.
  • the self-diagnosis equipment finds that the stimulator is faulty, the user (the patient or the patient's guardian) will be informed of the fault condition through the user device as soon as possible to avoid the patient's negative resistance to the treatment of the stimulator, and the degree of intelligence relatively high.
  • the preset storage location is, for example, the memory of the patient's programming device.
  • the fault prompt information can be a voice message, a pop-up window message, or a text message.
  • the text message is "The stimulator implanted in patient A has failed. Please contact doctor B in time for further diagnosis. The contact number is 13000000000.”
  • the user equipment is, for example, a mobile phone, laptop computer, desktop computer, tablet computer or patient program controller owned by the patient himself or the patient's guardian or caregiver.
  • the fault type information is, for example, "Patient's left brain 1# electrode lead fault”, “Stimulator fault”, “I PG fault”, etc.
  • the fault information is "Patient C, at 12:13 on January 1, 2020, the stimulator failed.”
  • Figure 5 shows a schematic flow chart of fault information uploading provided by an embodiment of the present application.
  • the self-diagnosis device may also be configured to:
  • Step S107 Use the user equipment to receive the user's fault upload operation
  • Step S108 In response to the fault upload operation, send the fault information of the stimulator to a preset service device.
  • the fault information of the stimulator will be sent to the preset service device, which respects the user's right to choose.
  • patients undergoing stimulator treatment are in a lower mood. This group of users can be given enough respect so that patients can actively cooperate with doctors for treatment, which is more conducive to later communication between doctors and patients.
  • the user's fault upload operation includes, for example, clicking on the upload selection menu in the user's device to upload, issuing a voice command to the user's device through the voice function "Please upload this fault information", etc.
  • the default service equipment is, for example, a local area network server of a hospital, a community, or a stimulator manufacturer, or a wide area network server for cross-regional data connection.
  • Doctors or stimulator manufacturers can know the user's actual stimulator usage in a timely manner, and can prescribe appropriate treatment for stimulator failures caused by patients falling down. For example, when a certain proportion of patients have faulty stimulators with electrode lead lengths exceeding 650mm, then stimulator manufacturers will technically consider how to solve the problem of unstable quality of electrode leads that are too long. Doctors will also consider reducing the length of electrode leads for patients who will be implanted with stimulators to avoid unstable electrode leads. Defects.
  • the self-diagnostic device is further configured to:
  • a fault-free duration is obtained.
  • the fault-free duration is used to indicate the current moment and the latest generation of the fault prompt information. the length of time between moments;
  • the self-diagnosis strategy of the self-diagnosis device is obtained to determine whether a fault occurs in the stimulator.
  • Figure 6 shows a schematic flowchart of yet another fault information uploading process provided by an embodiment of the present application.
  • the self-diagnostic device is further configured to:
  • Step S109 When the number of fault information stored in the preset storage location is not less than the preset number of faults, send the latest fault information of the stimulator to the preset service device.
  • the patient does not choose to send fault information to the preset service device (doctor or stimulator manufacturer), the patient himself will also bear the risk of physical injury caused by the electrical stimulation delivered to the patient himself when the stimulator fails.
  • an appropriate preset number of faults is selected so that when the stimulator has a number of faults not less than the preset number of faults, the doctor or stimulator manufacturer can promptly receive the latest Based on the fault information, doctors or suppliers can promptly contact patients or their guardians based on the content of the fault information to prevent patients from suffering undue harm.
  • the preset number of faults is, for example, 3 times, 5 times, 8 times, 11 times, etc.
  • Figure 7 shows a schematic flowchart of detecting abnormal events in patients provided by an embodiment of the present application.
  • the process of detecting whether the patient falls, falls, twitches, self-mutilates, takes drugs, or has no abnormal events includes:
  • Step S501 Use visual detection equipment to obtain real-time images including the patient;
  • Step S502 Input the real-time image to the abnormal event model to obtain event classification results corresponding to the real-time image.
  • the event classification result is falling, falling, convulsing, self-mutilation, inhalation or no abnormal event.
  • the patient can be considered to have no abnormal events.
  • images including patients are acquired in real time through visual detection equipment, and the images are input into the abnormal event model to obtain event classification results corresponding to the real-time images with high accuracy.
  • the training process of the abnormal event model can be as follows:
  • a second training set is obtained, where the second training set includes a plurality of training images and their corresponding annotation data of the labeled classification results.
  • the labeled data can be falling events, falling events, twitching events, self-mutilation events, smoking events or no abnormal events.
  • the second training set is used to train the preset second deep learning model to obtain the abnormal event model.
  • using the second training set to train a preset second deep learning model may include the following steps:
  • For each training image in the second training set input the training image into a preset second deep learning model to obtain prediction data of mark detection results corresponding to the training image;
  • the second training end condition at the end of training can be configured based on actual needs, and the abnormal event model obtained by training has strong robustness and low overfitting risk.
  • the abnormal event model can be trained with a large amount of training data and can predict corresponding mark detection for a variety of input data. As a result, it has a wide range of applications and a high level of intelligence. Through design, establish an appropriate number of neuron computing nodes and a multi-layer computing hierarchy, and select the appropriate input layer and output layer to obtain the preset second deep learning model. Through the learning of the preset second deep learning model and tuning to establish the functional relationship from input to output. Although the functional relationship between input and output cannot be found 100%, it can approximate the realistic correlation relationship as much as possible.
  • the abnormal event model obtained by training can realize imaging The self-diagnosis function of identification is high, and the diagnostic results are highly reliable.
  • the visual detection device may be a camera or a device including a camera.
  • Figure 8 shows a structural block diagram of a program control system 100 provided by an embodiment of the present application.
  • the program-controlled system 100 includes a health monitoring device 300 and the self-diagnostic device 200 provided in any of the above embodiments.
  • the self-diagnostic device 200 and the health monitoring device 300 are communicatively connected.
  • Embodiments of the present application also provide a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program.
  • the computer program When executed by a processor, it implements the self-diagnosis device described in any of the above embodiments. Function.

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Public Health (AREA)
  • Animal Behavior & Ethology (AREA)
  • Veterinary Medicine (AREA)
  • Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Radiology & Medical Imaging (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Theoretical Computer Science (AREA)
  • Molecular Biology (AREA)
  • Biophysics (AREA)
  • Surgery (AREA)
  • Neurology (AREA)
  • Pathology (AREA)
  • Neurosurgery (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Physiology (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Databases & Information Systems (AREA)
  • Cardiology (AREA)
  • Dentistry (AREA)
  • Psychiatry (AREA)
  • Data Mining & Analysis (AREA)
  • Business, Economics & Management (AREA)
  • Social Psychology (AREA)
  • Computational Linguistics (AREA)
  • Hospice & Palliative Care (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)

Abstract

A self-diagnosis device (200), a programmable system (100), and a computer-readable storage medium. The self-diagnosis device (200) is configured to: acquire, when a patient satisfies a preset monitoring condition, first measurement data of health monitoring parameters of the patient using a health monitoring device (300); determine whether the first measurement data of each of the health monitoring parameters is within a corresponding preset range thereof; when it is detected that the first measurement data of one or more of the health monitoring parameters are not within corresponding preset ranges thereof, acquire historical measurement data; acquire actual configuration information on the basis of the historical information about the last N configurations, and make a stimulator deliver electrical stimulation corresponding to the actual configuration information to in-vivo tissues of the patient; acquire second measurement data of health monitoring parameters of the patient using the health monitoring device (300); and detect the presence of faults in the stimulator on the basis of historical measurement data and the second measurement data to obtain a fault diagnosis result. By means of the self-diagnosis device (200), the patient is enabled to acquire a fault result for the stimulator as soon as possible.

Description

自诊断设备、程控系统及计算机可读存储介质Self-diagnostic equipment, program-controlled systems and computer-readable storage media
本申请要求于2022年08月05日提交的申请号为202210939974.0的中国专利的优先权,上述中国专利通过全文引用的形式并入。This application claims priority to the Chinese patent with application number 202210939974.0, which was submitted on August 5, 2022. The above Chinese patent is incorporated by reference in full.
技术领域Technical field
本申请涉及植入式医疗设备的技术领域,例如涉及自诊断设备、程控系统及计算机可读存储介质。This application relates to the technical field of implantable medical devices, such as self-diagnostic equipment, program-controlled systems and computer-readable storage media.
背景技术Background technique
在植入式医疗设备的技术领域,通过程控器建立与患者端的IPG(植入式脉冲发生器,Implantable Pulse Generator)之间的程控连接,医生通过程控器调整IPG的配置信息,以实现对IPG的刺激参数的调整。In the technical field of implantable medical equipment, a programmable controller is used to establish a programmable connection with the patient's IPG (Implantable Pulse Generator). The doctor adjusts the configuration information of the IPG through the programmable controller to achieve control of the IPG. adjustment of stimulation parameters.
相关技术中,一般是在医生通过程控器调整IPG的配置信息时,或刺激器向患者体内组织递送电刺激时,对IPG进行检查。In the related art, the IPG is generally checked when the doctor adjusts the configuration information of the IPG through the program controller, or when the stimulator delivers electrical stimulation to the tissue in the patient's body.
例如,专利CN113426009A公开了一种基于DBS技术的帕金森病治疗装置及其应用方法,方法包括:进行电刺激治疗时,电极刺激信号通过延伸导线传输至转接模组,随后依次导入至信号检测模组进行检测信号,随后通过信号判断模组对比信号是否正确,信号正确时则设备运行正常,信号异常时设备运行异常;在异常运行时,运行检测模组检测到主芯片和主电源停机或损坏,通过信号判断模组判断异常,以使患者联系医院对IPG神经刺激器进行维修或更换。该专利在电刺激治疗时基于电极刺激信号本身去检测刺激器是否发生故障,未考虑患者本身的情况。For example, patent CN113426009A discloses a Parkinson's disease treatment device and its application method based on DBS technology. The method includes: when performing electrical stimulation treatment, the electrode stimulation signal is transmitted to the adapter module through the extended wire, and is then sequentially introduced to the signal detection The module detects the signal, and then uses the signal to determine whether the module comparison signal is correct. When the signal is correct, the device operates normally. When the signal is abnormal, the device operates abnormally. During abnormal operation, the operation detection module detects that the main chip and main power supply are shut down or If it is damaged, the signal judgment module determines the abnormality, so that the patient can contact the hospital to repair or replace the IPG neurostimulator. This patent uses the electrode stimulation signal itself to detect whether the stimulator is malfunctioning during electrical stimulation treatment, without considering the patient's own condition.
基于此,本申请提供了自诊断设备、程控系统及计算机可读存储介质,以解决上述相关技术中存在的问题。Based on this, this application provides a self-diagnostic device, a program-controlled system and a computer-readable storage medium to solve the problems existing in the above related technologies.
发明内容Contents of the invention
本申请的目的在于提供自诊断设备、程控系统及计算机可读存储介质,基于患者的第一测量数据,通过历史测量数据和第二测量数据检测刺激器是否有故障发生。The purpose of this application is to provide a self-diagnostic device, a program-controlled system and a computer-readable storage medium, which can detect whether a fault occurs in the stimulator through historical measurement data and second measurement data based on the patient's first measurement data.
本申请的目的采用以下技术方案实现:The purpose of this application is achieved using the following technical solutions:
第一方面,本申请提供了 Firstly, this application provides
一种自诊断设备,所述自诊断设备用于对植入患者体内的刺激器进行故障自诊断,所述自诊断设备被配置成:A self-diagnostic device, the self-diagnostic device is used to perform fault self-diagnosis of a stimulator implanted in a patient, the self-diagnostic device is configured to:
当患者满足预设监测条件时,利用健康监测设备获取患者的健康监测参数的第一测量数据;When the patient meets the preset monitoring conditions, use the health monitoring equipment to obtain the first measurement data of the patient's health monitoring parameters;
分别检测每个所述健康监测参数的第一测量数据是否处于自身对应的预设范围;Detect respectively whether the first measurement data of each of the health monitoring parameters is within its corresponding preset range;
当检测到一个或多个所述健康监测参数的第一测量数据不处于自身对应的预设范围时获取实际配置信息,以使所述刺激器向所述患者的体内组织递送所述实际配置信息相应的电刺激,所述实际配置信息用于指示所述刺激器的每个刺激参数的实际参数值;Obtain actual configuration information when it is detected that the first measurement data of one or more health monitoring parameters is not within its corresponding preset range, so that the stimulator delivers the actual configuration information to the patient's body tissue. Corresponding electrical stimulation, the actual configuration information is used to indicate the actual parameter value of each stimulation parameter of the stimulator;
利用所述健康监测设备获取所述患者的健康监测参数的第二测量数据;utilizing the health monitoring device to obtain second measurement data of the patient's health monitoring parameters;
基于历史测量数据和所述第二测量数据,检测所述刺激器是否有故障发生,以得到故障诊断结果。Based on the historical measurement data and the second measurement data, it is detected whether a fault occurs in the stimulator to obtain a fault diagnosis result.
在一种实现方式中,所述自诊断设备被配置成采用以下方式获取所述实际配置信息:In one implementation, the self-diagnosis device is configured to obtain the actual configuration information in the following manner:
获取所述刺激器最近N次的历史配置信息及其对应的患者的健康监测参数的历史测量数据,N是正整数;Obtain the most recent N historical configuration information of the stimulator and the corresponding historical measurement data of the patient's health monitoring parameters, where N is a positive integer;
基于最近N次的所述历史配置信息获取所述实际配置信息。The actual configuration information is obtained based on the most recent N times of historical configuration information.
在一种实现方式中,所述第一测量数据包括以下一种或多种:心率数据、脉搏数据、肌电数据和脑电数据;In one implementation, the first measurement data includes one or more of the following: heart rate data, pulse data, electromyography data, and electroencephalography data;
所述历史配置信息包括一个或多个刺激参数标识以及每个刺激参数标识对应的历史参数值,N是正整数;The historical configuration information includes one or more stimulation parameter identifiers and historical parameter values corresponding to each stimulation parameter identifier, and N is a positive integer;
所述预设监测条件包括以下一种或多种:当前时刻到达预设的监测时刻;检测到所述患者发生摔倒、掉落、抽搐、自残或者吸食事件。The preset monitoring conditions include one or more of the following: the current time reaches the preset monitoring time; the patient is detected to have fallen, dropped, twitched, self-mutilated or inhaled.
在一种实现方式中,所述自诊断设备被配置成采用以下方式得到故障诊断结果:In one implementation, the self-diagnosis device is configured to obtain fault diagnosis results in the following manner:
将所述历史测量数据和所述第二测量数据输入至相似度模型,以得到所述历史测量数据和所述第二测量数据之间的相似度;Input the historical measurement data and the second measurement data into a similarity model to obtain the similarity between the historical measurement data and the second measurement data;
当所述相似度不小于预设相似度阈值时,确定所述故障诊断结果是所述刺激 器没有发生故障;When the similarity is not less than a preset similarity threshold, it is determined that the fault diagnosis result is the stimulus The device did not malfunction;
当所述相似度小于所述预设相似度阈值时,确定所述故障诊断结果是所述刺激器发生故障;When the similarity is less than the preset similarity threshold, it is determined that the fault diagnosis result is that the stimulator is faulty;
其中,所述相似度模型的训练过程包括:Wherein, the training process of the similarity model includes:
获取第一训练集,所述第一训练集包括多个训练数据,每个所述训练数据包括第一样本对象、第二样本对象以及所述第一样本对象和所述第二样本对象的相似度;Obtain a first training set, the first training set includes a plurality of training data, each of the training data includes a first sample object, a second sample object, the first sample object and the second sample object similarity;
针对所述第一训练集中的每个训练数据,执行以下处理:将所述训练数据中的第一样本对象和第二样本对象输入预设的第一深度学习模型,以得到所述第一样本对象和所述第二样本对象的预测相似度;For each training data in the first training set, perform the following processing: input the first sample object and the second sample object in the training data into the preset first deep learning model to obtain the first The predicted similarity between the sample object and the second sample object;
基于所述第一样本对象和所述第二样本对象的预测相似度,对所述第一深度学习模型的模型参数进行更新;Based on the predicted similarity between the first sample object and the second sample object, update the model parameters of the first deep learning model;
检测是否满足预设的训练结束条件;若是,则将训练出的深度学习模型作为所述相似度模型;若否,则利用下一个所述训练数据继续训练所述第一深度学习模型。Check whether the preset training end condition is met; if so, use the trained deep learning model as the similarity model; if not, use the next training data to continue training the first deep learning model.
在一种实现方式中,在所述故障诊断结果是所述刺激器有故障发生时,所述自诊断设备还被配置成:In one implementation, when the fault diagnosis result is that the stimulator is faulty, the self-diagnosis device is further configured to:
利用报警装置发出报警信号,所述报警装置包括声音报警装置、闪光报警装置或声光报警装置中的一种或多种。An alarm signal is sent out using an alarm device, which includes one or more of a sound alarm device, a flash alarm device, or an audible and visual alarm device.
在一种实现方式中,所述刺激器包括IPG和一个或多个电极导线;In one implementation, the stimulator includes an IPG and one or more electrode leads;
所述自诊断设备被配置成采用以下方式确定所述刺激器的故障诊断结果:The self-diagnostic device is configured to determine a fault diagnosis result of the stimulator in the following manner:
分别检测每个所述电极导线的阻抗数据是否处于自身对应的预设范围;Detect respectively whether the impedance data of each electrode lead is within its corresponding preset range;
当检测到一个或多个所述电极导线的阻抗数据不处于自身对应的预设范围时,确定所述故障诊断结果是所述阻抗数据不处于自身对应的预设范围的所述电极导线有故障发生;When it is detected that the impedance data of one or more electrode wires is not within its corresponding preset range, it is determined that the fault diagnosis result is that the electrode wire whose impedance data is not within its corresponding preset range is faulty. occur;
当检测到所有所述电极导线的阻抗数据都处于自身对应的预设范围时,确定所有所述电极导线无故障发生,并基于历史测量数据和所述第二测量数据,继续检测所述IPG是否有故障发生,以得到所述故障诊断结果。When it is detected that the impedance data of all the electrode leads are within their corresponding preset ranges, it is determined that all the electrode leads are fault-free, and based on the historical measurement data and the second measurement data, continue to detect whether the IPG A fault occurs to obtain the fault diagnosis result.
在一种实现方式中,当所述故障诊断结果是有故障发生时,所述自诊断设备 还被配置成:In one implementation, when the fault diagnosis result is that a fault occurs, the self-diagnosis device Also configured to:
将所述刺激器的故障信息存储至预设存储位置,并生成故障提示信息发送至预设的用户设备,所述刺激器的故障信息包括刺激器标识信息、故障时间信息和故障类型信息的中的一种或多种。Store the fault information of the stimulator to a preset storage location, and generate fault prompt information to send to the preset user equipment. The fault information of the stimulator includes stimulator identification information, fault time information and fault type information. of one or more.
在一种实现方式中,所述自诊断设备还被配置成:In one implementation, the self-diagnosis device is further configured to:
利用所述用户设备接收所述用户的故障上传操作;Utilize the user equipment to receive the user's fault upload operation;
响应于所述故障上传操作,将所述刺激器的故障信息发送至预设服务设备。In response to the fault upload operation, the fault information of the stimulator is sent to a preset service device.
在一种实现方式中,所述自诊断设备还被配置成:In one implementation, the self-diagnosis device is further configured to:
当存储至所述预设存储位置的所述故障信息的数量不小于预设故障数量时,将所述刺激器最近一次的故障信息发送至预设服务设备。When the amount of the fault information stored in the preset storage location is not less than the preset number of faults, the latest fault information of the stimulator is sent to the preset service device.
在一种实现方式中,检测所述患者是否发生摔倒、掉落、抽搐、自残、吸食或无异常事件的过程包括:In one implementation, the process of detecting whether the patient falls, falls, twitches, self-mutilates, takes drugs, or has no abnormal events includes:
利用视觉检测设备获取包括所述患者的实时图像;utilizing visual inspection equipment to obtain real-time images including the patient;
将所述实时图像输入至异常事件模型,以得到所述实时图像对应的事件分类结果,所述事件分类结果是摔倒、掉落、抽搐、自残、吸食或无异常事件。The real-time image is input into the abnormal event model to obtain the event classification result corresponding to the real-time image. The event classification result is falling, falling, twitching, self-mutilation, sucking, or no abnormal event.
第二方面,本申请还提供了一种程控系统,所述程控系统包括健康监测设备和第一方面的任一项的自诊断设备,所述自诊断设备和所述健康监测设备可通信地连接。In a second aspect, this application also provides a program-controlled system, which includes a health monitoring device and the self-diagnostic device of any one of the first aspects, and the self-diagnostic device and the health monitoring device are communicatively connected. .
第三方面,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现第一方面的任一项所述自诊断设备的功能。In a third aspect, the present application also provides a computer-readable storage medium that stores a computer program. When the computer program is executed by a processor, the self-diagnosis of any one of the first aspects is implemented. Device functionality.
本申请提供了自诊断设备、程控系统及计算机可读存储介质,采用本申请提供的自诊断设备至少具有以下优点:This application provides self-diagnostic equipment, a program-controlled system and a computer-readable storage medium. Using the self-diagnostic equipment provided by this application has at least the following advantages:
只有在患者满足预设监测条件时才会获取患者的第一测量数据,当一个或多个健康监测参数的测量数据不处于自身对应的预设范围时才会获取实际配置信息,并获取患者的第二测量数据,基于历史测量数据和第二测量数据检测刺激器的故障情况,得到有刺激器的故障诊断结果。一方面,只有在满足预设监测条件时才会通过健康监测设备获取患者的健康监测参数的第一测量数据,避免健康监测设备长时间使用使患者带来的不适,也降低了健康监测设备的能耗,提高了患 者的使用体验;另一方面,只有一个或多个第一测量数据不处于自身对应的预设范围时才会通过刺激器向患者体内组织递送电刺激,避免患者在无意间发生摔倒、掉落、抽搐、自残或者吸食事件后,还需要患者人为判断是否需要对刺激器进行故障诊断,患者只需配合医生和刺激器配置进行治疗,更人性化;又一方面,通过预设监测条件的判断,能够第一时间发现刺激器的故障,以厘清刺激器的故障原因是刺激器本身还是患者使用原因,从根本上消除了影响医患关系的可能性,提高了医患关系的融洽程度。The patient's first measurement data will only be obtained when the patient meets the preset monitoring conditions. When the measurement data of one or more health monitoring parameters is not within its corresponding preset range, the actual configuration information will be obtained, and the patient's first measurement data will be obtained. The second measurement data detects a fault condition of the stimulator based on the historical measurement data and the second measurement data, and obtains a fault diagnosis result of the stimulator. On the one hand, the first measurement data of the patient's health monitoring parameters will be obtained through the health monitoring equipment only when the preset monitoring conditions are met. This avoids the discomfort caused to the patient by long-term use of the health monitoring equipment and reduces the cost of the health monitoring equipment. energy consumption, increased risk The user experience of the patient; on the other hand, only when one or more first measurement data are not within its corresponding preset range, the electrical stimulation will be delivered to the tissue in the patient's body through the stimulator to prevent the patient from accidentally falling or falling. After falls, convulsions, self-mutilation or drug abuse, the patient still needs to judge whether fault diagnosis of the stimulator is needed. The patient only needs to cooperate with the doctor and the stimulator configuration for treatment, which is more humane; on the other hand, through preset monitoring conditions Judgment can detect the failure of the stimulator at the first time to clarify whether the cause of the stimulator failure is the stimulator itself or the patient's use, which fundamentally eliminates the possibility of affecting the doctor-patient relationship and improves the harmony of the doctor-patient relationship.
综上,提供了一种自诊断设备,区别于相关技术中的在(医生)通过刺激器对患者进行治疗时才会根据电刺激治疗的反馈判断IPG是否有故障,使用户(患者或监护人)第一时间获取刺激器的故障结果,提高了用户的使用体验和医患关系。In summary, a self-diagnosis device is provided, which is different from the related technology in which the user (patient or guardian) will judge whether the IPG is faulty based on the feedback of the electrical stimulation treatment only when the doctor (doctor) treats the patient through the stimulator. Obtaining the fault results of the stimulator immediately improves the user experience and the doctor-patient relationship.
附图说明Description of the drawings
下面结合附图和实施例对本申请进一步说明。The present application will be further described below in conjunction with the accompanying drawings and examples.
图1示出了本申请实施例提供的一种自诊断设备执行步骤的流程示意图。Figure 1 shows a schematic flowchart of steps executed by a self-diagnostic device provided by an embodiment of the present application.
图2示出了本申请实施例提供的一种获取实际配置信息的流程示意图。Figure 2 shows a schematic flowchart of obtaining actual configuration information provided by an embodiment of the present application.
图3示出了本申请实施例提供的一种检测故障发生的流程示意图。FIG. 3 shows a schematic flowchart of detecting fault occurrence provided by an embodiment of the present application.
图4示出了本申请实施例提供的一种确定故障诊断结果的流程示意图。FIG. 4 shows a schematic flowchart of determining a fault diagnosis result provided by an embodiment of the present application.
图5示出了本申请实施例提供的一种故障信息上传的流程示意图。Figure 5 shows a schematic flowchart of fault information uploading provided by an embodiment of the present application.
图6示出了本申请实施例提供的另一种故障信息上传的流程示意图。Figure 6 shows a schematic flowchart of another fault information upload provided by an embodiment of the present application.
图7示出了本申请实施例提供的一种检测患者的异常事件的流程示意图。Figure 7 shows a schematic flowchart of detecting abnormal events in patients provided by an embodiment of the present application.
图8示出了本申请实施例提供的一种程控系统的结构框图。Figure 8 shows a structural block diagram of a program control system provided by an embodiment of the present application.
具体实施方式Detailed ways
下面,结合附图以及具体实施方式,对本申请做进一步描述,需要说明的是,在不相冲突的前提下,以下描述的各实施例之间或各技术特征之间可以任意组合形成新的实施例。Below, the present application will be further described with reference to the accompanying drawings and specific embodiments. It should be noted that, on the premise that there is no conflict, the embodiments or technical features described below can be arbitrarily combined to form new embodiments. .
在本申请实施例中,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符 “/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,a和b,a和c,b和c或a和b和c,其中a、b和c可以是单个,也可以是多个。值得注意的是,“至少一项(个)”还可以解释成“一项(个)或多项(个)”。In the embodiment of this application, "multiple" refers to two or more than two. "And/or" describes the association of associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural. character "/" generally indicates that the related objects are an "or" relationship. "At least one of the following" or similar expressions thereof refers to any combination of these items, including any combination of a single item (items) or a plurality of items (items). For example, at least one of a, b or c can mean: a, b, c, a and b, a and c, b and c or a and b and c, where a, b and c can It can be single or multiple. It is worth noting that "at least one item (item)" can also be interpreted as "one item (item) or multiple items (item)".
本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of this application, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "such as" is not intended to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the words "exemplary" or "such as" is intended to present the concept in a concrete manner.
下面,首先对本申请实施例的其中一个应用领域(即植入式神经刺激器)进行简单说明。Below, one of the application fields of the embodiments of the present application (namely, the implantable neurostimulator) will be briefly described.
植入式神经刺激系统(一种植入式医疗系统)主要包括植入患者体内的刺激器(即植入式神经刺激器)以及设置于患者体外的程控设备。相关的神经调控技术主要是通过立体定向手术在体内特定结构(即靶点)植入电极,并由植入患者体内的刺激器经电极向靶点发放电脉冲,调控相应神经结构和网络的电活动及其功能,从而改善症状、缓解病痛。其中,刺激器可以是植入式神经电刺激装置、植入式心脏电刺激系统(又称心脏起搏器)、植入式药物输注装置(Implantable Dru g Delivery System,简称I DDS)和导线转接装置中的任意一种。植入式神经电刺激装置例如是脑深部电刺激系统(Deep Brain Stimulation,简称DBS)、植入式脑皮层刺激系统(Cortical Nerve Stimulation,简称CNS)、植入式脊髓电刺激系统(Spinal Cord Stimulation,简称SCS)、植入式骶神经电刺激系统(Sac ral Nerve Stimulation,简称SNS)、植入式迷走神经电刺激系统(Vagus Nerve Stimulation,简称VNS)等。An implantable neurostimulation system (an implantable medical system) mainly includes a stimulator implanted in the patient's body (i.e., an implantable neurostimulator) and a program-controlled device installed outside the patient's body. Relevant neuromodulation technology mainly involves implanting electrodes into specific structures (i.e. target points) in the body through stereotaxic surgery, and a stimulator implanted in the patient's body sends electrical pulses to the target point through the electrodes to regulate the electrical activity of the corresponding neural structures and networks. activities and their functions, thereby improving symptoms and relieving pain. Among them, the stimulator can be an implantable nerve electrical stimulation device, an implantable cardiac electrical stimulation system (also known as a pacemaker), an implantable drug delivery device (Implantable Drug Delivery System, referred to as IDDS) and a lead. Any type of switching device. Implantable neuroelectric stimulation devices include, for example, Deep Brain Stimulation (DBS), Cortical Nerve Stimulation (CNS), and Spinal Cord Stimulation. , referred to as SCS), implanted sacral nerve electrical stimulation system (Sacral Nerve Stimulation, referred to as SNS), implanted vagus nerve electrical stimulation system (Vagus Nerve Stimulation, referred to as VNS), etc.
刺激器可以包括IPG和电极导线,IPG(implantable pulse generator,植入式脉冲发生器)设置于患者体内,接收程控设备发送的程控指令,依靠密封电池和电路向体内组织提供可控制的电刺激能量,通过植入的电极导线,为体内组织的特定区域递送一路或两路可控制的特定电刺激。也可以认为电极导线包括延伸导线和刺激段,通过延伸导线配合IPG使用,作为电刺激信号的传递媒体,将I PG产生的电刺激信号,传递给电极导线的刺激段。电极导线通过刺激段的多个 电极触点,向体内组织的特定区域递送电刺激。刺激器设置有单侧或双侧的一路或多路电极导线,电极导线的刺激段上设置有多个电极触点,电极触点可以均匀排列或者非均匀排列在电极导线的周向上。作为一个示例,电极触点可以以4行3列的阵列(共计12个电极触点)排列在电极导线的刺激段的周向上。电极触点可以包括刺激电极触点和/或采集电极触点。电极触点例如可以采用片状、环状、点状等形状。The stimulator can include an IPG and electrode leads. The IPG (implantable pulse generator) is placed in the patient's body, receives program-controlled instructions sent by the program-controlled device, and relies on sealed batteries and circuits to provide controllable electrical stimulation energy to tissues in the body. , through implanted electrode leads, deliver one or two controllable specific electrical stimulations to specific areas of tissue in the body. It can also be considered that the electrode lead includes an extension lead and a stimulation section. The extension lead is used in conjunction with the IPG as a transmission medium for electrical stimulation signals to transmit the electrical stimulation signal generated by the IPG to the stimulation section of the electrode lead. Electrode leads pass through multiple stimulation segments Electrode contacts that deliver electrical stimulation to specific areas of tissue in the body. The stimulator is provided with one or more electrode leads on one or both sides. The stimulation section of the electrode lead is provided with multiple electrode contacts. The electrode contacts can be arranged evenly or non-uniformly in the circumferential direction of the electrode lead. As an example, the electrode contacts may be arranged in an array of 4 rows and 3 columns (12 electrode contacts in total) in the circumferential direction of the stimulation section of the electrode lead. The electrode contacts may include stimulation electrode contacts and/or collection electrode contacts. The electrode contacts may be in the shape of, for example, a sheet, a ring, a dot, or the like.
在一些可能的实施方式中,受刺激的体内组织可以是患者的脑组织,受刺激的部位可以是脑组织的特定部位。当患者的疾病类型不同时,受刺激的部位一般来说是不同的,所使用的刺激触点(单源或多源)的数量、一路或多路(单通道或多通道)特定电刺激信号的运用以及刺激参数数据也是不同的。本申请实施例对适用的疾病类型不做限定,其可以是脑深部刺激(DBS)、脊髓刺激(SCS)、骨盆刺激、胃刺激、外周神经刺激、功能性电刺激所适用的疾病类型。其中,DBS可以用于治疗或管理的疾病类型包括但不限于:痉挛疾病(例如,癫痫)、疼痛、偏头痛、精神疾病(例如,重度抑郁症(MDD))、躁郁症、焦虑症、创伤后压力心理障碍症、轻郁症、强迫症(OCD)、行为障碍、情绪障碍、记忆障碍、心理状态障碍、移动障碍(例如,特发性震颤或帕金森氏病)、亨廷顿病、阿尔茨海默症、药物成瘾症、孤独症或其他神经学或精神科疾病和损害。In some possible embodiments, the stimulated body tissue may be the patient's brain tissue, and the stimulated site may be a specific part of the brain tissue. When patients have different types of diseases, the stimulated parts are generally different, the number of stimulation contacts used (single source or multiple sources), one or more channels (single channel or multi-channel) specific electrical stimulation signals The application and stimulation parameter data are also different. The embodiments of this application do not limit the applicable disease types, which may be the disease types applicable to deep brain stimulation (DBS), spinal cord stimulation (SCS), pelvic stimulation, gastric stimulation, peripheral nerve stimulation, and functional electrical stimulation. Among them, the types of diseases that DBS can be used to treat or manage include, but are not limited to: spastic diseases (eg, epilepsy), pain, migraine, mental illness (eg, 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 status disorders, mobility disorders (e.g., essential tremor or Parkinson's disease), Huntington's disease, Alzheimer's disease Alzheimer's disease, drug addiction, autism or other neurological or psychiatric diseases and impairments.
本申请实施例中,程控设备和刺激器建立程控连接时,可以利用程控设备调整刺激器的刺激参数(不同的刺激参数所对应的电刺激信号不同),也可以通过刺激器感测患者脑深部的生物电活动以采集得到电生理信号,并可以通过所采集到的电生理信号来继续调节刺激器的电刺激信号的刺激参数。In the embodiment of the present application, when the program-controlled device and the stimulator establish a program-controlled connection, the program-controlled device can be used to adjust the stimulation parameters of the stimulator (different stimulation parameters correspond to different electrical stimulation signals), and the stimulator can also be used to sense the deep brain of the patient. The bioelectrical activity is used to collect electrophysiological signals, and the stimulation parameters of the electrical stimulation signal of the stimulator can be continuously adjusted through the collected electrophysiological signals.
刺激参数可以包括以下一种或多种:频率(例如是单位时间1s内的电刺激脉冲信号个数,单位为Hz)、脉宽(每个脉冲的持续时间,单位为μs)、幅值(一般用电压表述,即每个脉冲的强度,单位为V)、时序(例如可以是连续或者簇发,簇发指多个过程组成且不连续的时序行为)、刺激模式(包括电流模式、电压模式、定时刺激模式和循环刺激模式中的一种或多种)、医生控制上限及下限(医生可调节的范围)和患者控制上限及下限(患者可自主调节的范围)。Stimulation parameters may include one or more of the following: frequency (for example, the number of electrical stimulation pulse signals per unit time 1 s, in Hz), pulse width (duration of each pulse, in μs), amplitude ( Generally expressed in voltage, that is, the intensity of each pulse, the unit is V), timing (for example, it can be continuous or burst, burst refers to a discontinuous timing behavior composed of multiple processes), stimulation mode (including current mode, voltage mode , one or more of timed stimulation mode and cyclic stimulation mode), doctor control upper and lower limits (the range that the doctor can adjust) and patient control upper and lower limits (the range that the patient can adjust independently).
在一个具体应用场景中,可以在电流模式或者电压模式下对刺激器的各刺激参数进行调节。 In a specific application scenario, each stimulation parameter of the stimulator can be adjusted in current mode or voltage mode.
程控设备可以是医生程控设备(即医生使用的程控设备)或者患者程控设备(即患者使用的程控设备)。医生程控设备例如可以是搭载有程控软件的平板电脑、笔记本电脑、台式计算机、手机等智能终端设备。患者程控设备例如可以是搭载有程控软件的平板电脑、笔记本电脑、台式计算机、手机等智能终端设备,患者程控设备还可以是其他具有程控功能的电子设备(例如是具有程控功能的充电器、数据采集设备)。The program-controlled equipment may be a doctor-programmed equipment (that is, a program-controlled equipment used by a doctor) or a patient-programmed equipment (that is, a program-controlled equipment used by a patient). The doctor's program-controlled equipment may be, for example, a tablet computer, a notebook computer, a desktop computer, a mobile phone, or other intelligent terminal equipment equipped with program-controlled software. The patient's program-controlled equipment can be, for example, tablet computers, laptops, desktop computers, mobile phones and other intelligent terminal devices equipped with program-controlled software. The patient's program-controlled equipment can also be other electronic equipment with program-controlled functions (such as chargers, data sets with program-controlled functions). collection equipment).
本申请实施例对医生程控设备和刺激器的数据交互不进行限制,当医生远程程控时,医生程控设备可以通过服务器、患者程控设备与刺激器进行数据交互。当医生线下和患者面对面进行程控时,医生程控设备可以通过患者程控设备与刺激器进行数据交互,医生程控设备还可以直接与刺激器进行数据交互。The embodiments of this application do not limit the data interaction between the doctor's program-controlled equipment and the stimulator. When the doctor remotely programs the device, the doctor's program-controlled equipment can interact with the stimulator through the server and the patient's program-controlled equipment. When the doctor performs face-to-face programming with the patient offline, the doctor's program-controlled equipment can interact with the stimulator through the patient's program-controlled equipment, and the doctor's program-controlled equipment can also directly interact with the stimulator.
在一个实施例中,患者程控设备可以包括(与服务器通信的)主机和(与刺激器通信的)子机,主机和子机可通信的连接。其中,医生程控设备可以通过3G/4G/5G网络与服务器进行数据交互,服务器可以通过3G/4G/5G网络与主机进行数据交互,主机可以通过蓝牙协议/WIFI协议/USB协议与子机进行数据交互,子机可以通过401MHz-406MHz工作频段/2.4GHz-2.48GHz工作频段与刺激器进行数据交互,医生程控设备可以通过401MHz-406MHz工作频段/2.4GHz-2.48GH z工作频段与刺激器直接进行数据交互。In one embodiment, the patient programming device may include a host (in communication with the server) and a slave (in communication with the stimulator), the host and slave being communicably connected. Among them, the doctor's program-controlled equipment can interact with the server through the 3G/4G/5G network, the server can interact with the host through the 3G/4G/5G network, and the host can interact with the slave through the Bluetooth protocol/WIFI protocol/USB protocol. Interaction, the slave machine can interact with the stimulator through the 401MHz-406MHz working frequency band/2.4GHz-2.48GHz working frequency band, and the doctor's program-controlled equipment can directly interact with the stimulator through the 401MHz-406MHz working frequency band/2.4GHz-2.48GHz working frequency band. Data interaction.
在实际应用场景中,当患者出现摔跤、碰撞等状况时都可能会导致刺激器出现问题,相关技术中都是在对患者进行电刺激治疗时,才会根据电刺激治疗的反馈判断IPG是否有故障,使患者失去在刺激器出现故障的第一时间获取刺激器故障的机会。In actual application scenarios, when patients fall, collide, etc., problems may occur with the stimulator. In related technologies, it is only when the patient is undergoing electrical stimulation treatment that the IPG is judged based on the feedback from the electrical stimulation treatment. Failure causes the patient to lose the opportunity to detect the stimulator failure as soon as the stimulator fails.
参见图1,图1示出了本申请实施例提供的一种自诊断设备执行步骤的流程示意图。Referring to Figure 1, Figure 1 shows a schematic flowchart of steps performed by a self-diagnostic device provided by an embodiment of the present application.
本申请实施例提供了一种自诊断设备,所述自诊断设备用于对植入患者体内的刺激器进行故障自诊断,所述自诊断设备被配置成执行以下步骤:Embodiments of the present application provide a self-diagnostic device, which is used to perform fault self-diagnosis of a stimulator implanted in a patient's body. The self-diagnostic device is configured to perform the following steps:
步骤S101:当患者满足预设监测条件时,利用健康监测设备获取患者的健康监测参数的第一测量数据。Step S101: When the patient meets the preset monitoring conditions, use the health monitoring device to obtain the first measurement data of the patient's health monitoring parameters.
步骤S102:分别检测每个所述健康监测参数的第一测量数据是否处于自身对应的预设范围。 Step S102: Detect whether the first measurement data of each health monitoring parameter is within its corresponding preset range.
步骤S103:当检测到一个或多个所述健康监测参数的第一测量数据不处于自身对应的预设范围时获取实际配置信息,以使所述刺激器向所述患者的体内组织递送所述实际配置信息相应的电刺激。所述实际配置信息用于指示所述刺激器的每个刺激参数的实际参数值。Step S103: Obtain actual configuration information when it is detected that the first measurement data of one or more health monitoring parameters is not within its corresponding preset range, so that the stimulator can deliver the first measurement data to the patient's body tissue. Actual configuration information corresponding to electrical stimulation. The actual configuration information is used to indicate the actual parameter value of each stimulation parameter of the stimulator.
步骤S104:利用所述健康监测设备获取所述患者的健康监测参数的第二测量数据。Step S104: Use the health monitoring device to obtain second measurement data of the patient's health monitoring parameters.
步骤S105:基于历史测量数据和所述第二测量数据,检测所述刺激器是否有故障发生,以得到故障诊断结果。Step S105: Based on the historical measurement data and the second measurement data, detect whether a fault occurs in the stimulator to obtain a fault diagnosis result.
其中,所述第一测量数据可以包括以下一种或多种:心率数据、脉搏数据、肌电数据和脑电数据;Wherein, the first measurement data may include one or more of the following: heart rate data, pulse data, electromyographic data and electroencephalographic data;
所述历史配置信息可以包括一个或多个刺激参数标识以及每个刺激参数标识对应的历史参数值,N是正整数;The historical configuration information may include one or more stimulation parameter identifiers and historical parameter values corresponding to each stimulation parameter identifier, and N is a positive integer;
所述预设监测条件可以包括以下一种或多种:当前时刻到达预设的监测时刻;检测到所述患者发生摔倒、掉落、抽搐、自残或者吸食事件。The preset monitoring conditions may include one or more of the following: reaching the preset monitoring time at the current time; detecting that the patient has fallen, dropped, twitched, self-mutilated or sucked.
相关技术中,当刺激器发生故障时,递送到患者体内组织的电刺激出现异常,电刺激治疗效果无法保证,患者病痛无法缓解,此时患者一般会向医生(或者院方)进行求助,医生重新配置患者的刺激器的刺激参数,当重新配置后仍然无法有效控制疾病症状时,由于患者不能准确判断出问题所在,有可能会将刺激器故障造成的身体不适怀疑到电刺激治疗的治疗手段本身,降低了患者的使用体验,不利于促使患者配合医生进行治疗。另外,就算医患双方意识到存在刺激器自身发生故障的可能性,并最终检测发现刺激器确实发生故障,但仍然无法确认故障发生原因,究竟是患者使用中损坏,还是刺激器产品自身的质量问题,最终可能导致医疗纠纷的发生,影响刺激器这种植入式医疗器械的市场前景。In related technologies, when a stimulator malfunctions, the electrical stimulation delivered to the tissue in the patient's body becomes abnormal, the therapeutic effect of the electrical stimulation cannot be guaranteed, and the patient's pain cannot be relieved. At this time, the patient will generally seek help from a doctor (or hospital), and the doctor Reconfigure the stimulation parameters of the patient's stimulator. When the disease symptoms still cannot be effectively controlled after the reconfiguration, the patient may not be able to accurately determine the problem and may suspect the physical discomfort caused by the stimulator failure to the treatment method of electrical stimulation therapy. In itself, it reduces the patient's experience and is not conducive to prompting patients to cooperate with doctors for treatment. In addition, even if both doctors and patients are aware of the possibility of the stimulator itself malfunctioning, and eventually detect that the stimulator does malfunction, they still cannot confirm the cause of the malfunction, whether it is damage caused by the patient's use, or the quality of the stimulator product itself. Problems may eventually lead to medical disputes and affect the market prospects of implantable medical devices such as stimulators.
患者方面的种种原因导致发生故障时,能够第一时间发现、厘清刺激器的故障原因是自身质量问题还是患者使用所造成的故障可以将医疗纠纷扼杀在摇篮里。区别于上述相关技术,利用所述实际配置信息配置所述刺激器的刺激参数,以使所述刺激器向所述患者的体内组织递送所述实际配置信息相应的电刺激的时长远远短于正常的电刺激治疗的时间,例如数分钟至数十分钟,在患者满足预设监测条件时且第一测量数据的测量数据不处于自身对应的预设范围时就进行 刺激器的自诊断,使用户(患者或监护人)在刺激器出现故障的第一时间就能获取刺激器的故障结果,提高了用户的使用体验。When a malfunction occurs due to various reasons on the patient's side, being able to discover immediately and clarify whether the cause of the stimulator's malfunction is its own quality problem or a malfunction caused by the patient's use can nip medical disputes in the cradle. Different from the above related technologies, the actual configuration information is used to configure the stimulation parameters of the stimulator, so that the duration of the electrical stimulation corresponding to the actual configuration information delivered by the stimulator to the patient's body tissue is much shorter than The normal electrical stimulation treatment time, such as several minutes to tens of minutes, is performed when the patient meets the preset monitoring conditions and the measurement data of the first measurement data is not within its corresponding preset range. The self-diagnosis of the stimulator allows the user (patient or guardian) to obtain the failure results of the stimulator as soon as the stimulator fails, improving the user experience.
由此,只有在患者满足预设监测条件时才会获取患者的第一测量数据,当一个或多个健康监测参数的测量数据不处于自身对应的预设范围时才会获取实际配置信息,并获取患者的第二测量数据,基于历史测量数据和第二测量数据检测刺激器的故障情况,得到有刺激器的故障诊断结果。一方面,只有在满足预设监测条件时才会通过健康监测设备获取患者的健康监测参数的第一测量数据,避免健康监测设备长时间使用使患者带来的不适,也降低了健康监测设备的能耗,提高了患者的使用体验;另一方面,只有一个或多个第一测量数据不处于自身对应的预设范围时才会通过刺激器向患者体内组织递送电刺激,避免患者在无意间发生摔倒、掉落、抽搐、自残或者吸食事件后,还需要患者人为判断是否需要对刺激器进行故障诊断,患者只需配合医生和刺激器配置进行治疗,更人性化;又一方面,通过预设监测条件的判断,能够第一时间发现刺激器的故障,以厘清刺激器的故障原因是刺激器本身还是患者使用原因,从根本上消除了影响医患关系的可能性,提高了医患关系的融洽程度。Therefore, the patient's first measurement data will be obtained only when the patient meets the preset monitoring conditions. When the measurement data of one or more health monitoring parameters is not within its corresponding preset range, the actual configuration information will be obtained, and The patient's second measurement data is obtained, a fault condition of the stimulator is detected based on the historical measurement data and the second measurement data, and a fault diagnosis result of the stimulator is obtained. On the one hand, the first measurement data of the patient's health monitoring parameters will be obtained through the health monitoring equipment only when the preset monitoring conditions are met, avoiding the discomfort caused to the patient by long-term use of the health monitoring equipment, and also reducing the cost of the health monitoring equipment. Energy consumption improves the patient's experience; on the other hand, only when one or more first measurement data are not within its corresponding preset range, electrical stimulation will be delivered to the patient's body tissue through the stimulator, preventing the patient from inadvertently After falling, falling, convulsing, self-mutilation or smoking, the patient still needs to judge whether the stimulator needs to be fault diagnosed. The patient only needs to cooperate with the doctor and the stimulator configuration for treatment, which is more humane; on the other hand, through The judgment of preset monitoring conditions can detect the failure of the stimulator at the first time to clarify whether the cause of the stimulator failure is the stimulator itself or the patient's use. This fundamentally eliminates the possibility of affecting the doctor-patient relationship and improves the doctor-patient relationship. The rapport of the relationship.
综上,提供了一种自诊断设备,区别于相关技术中的在(医生)通过刺激器对患者进行治疗时才会根据电刺激治疗的反馈判断IPG是否有故障,使用户(患者或监护人)第一时间获取刺激器的故障结果,提高了用户的使用体验和医患关系。In summary, a self-diagnosis device is provided, which is different from the related technology in which the user (patient or guardian) will judge whether the IPG is faulty based on the feedback of the electrical stimulation treatment only when the doctor (doctor) treats the patient through the stimulator. Obtaining the fault results of the stimulator immediately improves the user experience and the doctor-patient relationship.
其中,故障诊断结果例如是“患者的刺激器有故障”或“患者的刺激器无故障”。The fault diagnosis result is, for example, "the patient's stimulator is faulty" or "the patient's stimulator is not faulty".
本申请对健康监测设备不进行限制,健康监测设备可以是可穿戴设备,例如是集成健康监测功能的健康监测背心、健康监测手环等,还可以是植入式医疗设备,例如植入式心电监测器等。具体而言,健康监测设备例如是脑电监测设备、心电监测设备、肌电监测设备、心率监测设备、脉搏监测设备或视觉监测设备。This application does not limit the health monitoring equipment. The health monitoring equipment may be a wearable device, such as a health monitoring vest with integrated health monitoring function, a health monitoring bracelet, etc., or an implantable medical device, such as an implantable cardiac device. Electrical monitor, etc. Specifically, the health monitoring device is, for example, an electroencephalogram monitoring device, an electrocardiogram monitoring device, a myoelectricity monitoring device, a heart rate monitoring device, a pulse monitoring device or a visual monitoring device.
预设的监测时刻例如是:10小时后、12:00或工作日(周一至周五)的上午十时十三分。检测到所述患者发生摔倒、掉落、抽搐、自残或者吸食事件例如指通过视觉检测设备(摄像头等)检测到患者站立时跌倒、患者自床榻上掉落至地面、患者全身性抽搐、患者局限性癫痫、患者伤害自身肢体或患者吸食物品。由 于植入患者体内的刺激器可以对药物成瘾症进行电刺激治疗,患者可能会在戒除成瘾后复吸药物或类似物。药物或类似物选自海洛因、吗啡、婴莱杆浓缩物、芬太尼、阿片、尼可待因、醋氢可待因、婴粟壳、蒂巴因、可待因、左美沙芬、乙基吗啡、右丙氧芬、福尔可定、利他林、安钠咖、去氧麻黄碱中的任意一种或其组合。The preset monitoring time is, for example: 10 hours later, 12:00, or 10:13 am on working days (Monday to Friday). Detecting that the patient has fallen, dropped, convulsed, self-mutilated or inhaled, for example, means that the patient falls while standing, the patient falls from the bed to the ground, the patient has general convulsions, the patient is detected by a visual detection device (camera, etc.) Localized epilepsy, patients injuring their own limbs, or patients inhaling objects. Depend on Stimulators implanted in patients can provide electrical stimulation treatment for drug addiction. Patients may relapse to drugs or similar substances after abstaining from addiction. The drug or analogue is selected from the group consisting of heroin, morphine, opiate concentrate, fentanyl, opium, nicodeine, hydrocodeine, poppy shells, thebaine, codeine, levmethorphan, betaine Any one of oxymorphine, dextropropoxyphene, pholcodine, Ritalin, sodium caffeine, methamphetamine or a combination thereof.
第一测量数据对应的预设范围例如是脉搏60次/分钟至100次/分钟、肌电450Hz至500Hz等。The preset range corresponding to the first measurement data is, for example, pulse rate 60 beats/minute to 100 beats/minute, electromyography 450 Hz to 500 Hz, etc.
历史配置信息例如是预先存储在自诊断设备内的、局域网服务器的或者云服务器的刺激器的配置信息。The historical configuration information is, for example, the configuration information of the stimulator that is pre-stored in the self-diagnosis device, on a local area network server, or on a cloud server.
刺激参数标识可以使用中文、字母、数字和特殊符号中的一种或多种来表示,例如“A001”、“电压”、“幅值”或者“#01”中的任一种或其组合。历史参数值和实际参数值例如是频率120Hz、脉宽65μs或幅值3.1V。The stimulation parameter identification can be represented by one or more of Chinese, letters, numbers and special symbols, such as any one of "A001", "voltage", "amplitude" or "#01" or a combination thereof. The historical parameter value and the actual parameter value are, for example, frequency 120Hz, pulse width 65μs or amplitude 3.1V.
历史测量数据和第二测量数据例如是脉搏数据、心电曲线或脑电曲线。当历史测量数据和第二测量数据分别是曲线时,可以基于曲线的每个点、曲线的形状(Hausdorff距离计算)、曲线的分段(例如单向距离法(One Way Distance))等方式进行比较,以获取二者之间的相似度,当二者之间的相似度高于一个预设相识度时(例如0.98、0.95),可以认为历史测量数据和第二测量数据的相似度高,刺激器没有故障发生。The historical measurement data and the second measurement data are, for example, pulse data, electrocardiogram curve, or electroencephalogram curve. When the historical measurement data and the second measurement data are curves respectively, it can be performed based on each point of the curve, the shape of the curve (Hausdorff distance calculation), the segmentation of the curve (such as one-way distance method (One Way Distance)), etc. Compare to obtain the similarity between the two. When the similarity between the two is higher than a preset degree of familiarity (for example, 0.98, 0.95), it can be considered that the similarity between the historical measurement data and the second measurement data is high. No stimulator malfunction occurred.
参见图2,图2示出了本申请实施例提供的一种获取实际配置信息的流程示意图。Referring to Figure 2, Figure 2 shows a schematic flow chart of obtaining actual configuration information provided by an embodiment of the present application.
在一个实施例中,所述自诊断设备被配置成采用以下方式获取所述实际配置信息:In one embodiment, the self-diagnosis device is configured to obtain the actual configuration information in the following manner:
步骤S201:获取所述刺激器最近N次的历史配置信息及其对应的患者的健康监测参数的历史测量数据,N是正整数。历史测量数据可用于和第二测量数据一起检测所述刺激器是否有故障发生。Step S201: Obtain the most recent N historical configuration information of the stimulator and the corresponding historical measurement data of the patient's health monitoring parameters, where N is a positive integer. The historical measurement data can be used together with the second measurement data to detect whether a malfunction has occurred in the stimulator.
步骤S202:基于最近N次的所述历史配置信息获取所述实际配置信息。Step S202: Obtain the actual configuration information based on the last N times of historical configuration information.
由此,一方面,当N取1时,选取刺激器的最近一次的历史配置信息及其对应的患者的健康监测参数的历史测量数据,一般而言,最近一次的历史配置信息最能反应近期患者的状态,可以在满足对患者体内提供电刺激的前提下减少数 据运算量,智能化程度较高;另一方面,当N取1以外的正整数时,可以合理利用多个历史配置信息,避免个别历史配置信息的波动造成对患者体内组织递送的电刺激的偏差,提高获取的第二测量数据的客观性。Therefore, on the one hand, when N is 1, the most recent historical configuration information of the stimulator and the corresponding historical measurement data of the patient's health monitoring parameters are selected. Generally speaking, the most recent historical configuration information can best reflect the recent The patient's condition can be reduced while providing electrical stimulation to the patient's body. According to the amount of calculations, the degree of intelligence is high; on the other hand, when N is a positive integer other than 1, multiple historical configuration information can be reasonably utilized to avoid fluctuations in individual historical configuration information causing damage to the electrical stimulation delivered to the patient's body tissue. bias to improve the objectivity of the second measurement data obtained.
在一个具体应用中,患者A对应的预设范围是心率数据55次/分钟至100次/分钟,N取1。设置在患者房间的摄像头获取到癫痫症患者A跌倒的信息,满足了患者A的预设检测条件,健康监测设备获取患者的第一测量数据:心率数据为110次/分钟。因为第一测量数据不处于自身对应的预设范围,所以获取患者A最近1次的历史配置信息(电压2V)及其对应的患者的健康监测参数的历史测量数据(脉搏曲线)。根据历史配置信息配置刺激参数为电压2V并向患者的体内组织递送与刺激参数相应的电刺激并获取对应的第二测量数据(脉搏曲线)。其中,历史测量数据和第二测量数据分别可以包括向患者体内组织递送电刺激之后的连续的脉搏曲线,经过电刺激后的患者症状已经缓解(或无症状状态)。根据历史测量数据和第二测量数据,检测得到刺激器没有故障发生。整个判断过程无需患者A操作,患者A只需要安心配合治疗,智能化水平高。In a specific application, the preset range corresponding to patient A is heart rate data from 55 beats/minute to 100 beats/minute, and N is 1. The camera set up in the patient's room obtained the information about the fall of epilepsy patient A, which met the preset detection conditions of patient A. The health monitoring equipment obtained the patient's first measurement data: the heart rate data was 110 beats/minute. Because the first measurement data is not within its corresponding preset range, the most recent historical configuration information (voltage 2V) of patient A and its corresponding historical measurement data (pulse curve) of the patient's health monitoring parameters are obtained. Configure the stimulation parameters to a voltage of 2V according to the historical configuration information, deliver electrical stimulation corresponding to the stimulation parameters to the patient's body tissues, and obtain corresponding second measurement data (pulse curve). Wherein, the historical measurement data and the second measurement data may each include a continuous pulse curve after the electrical stimulation is delivered to the tissue in the patient's body, and the patient's symptoms have been relieved (or asymptomatic) after the electrical stimulation. According to the historical measurement data and the second measurement data, it is detected that the stimulator does not malfunction. The entire judgment process does not require patient A's operation. Patient A only needs to cooperate with the treatment with peace of mind and has a high level of intelligence.
在另一个具体应用中,患者A对应的预设范围是心率数据60次/分钟至100次/分钟,N取4。设置在患者房间的摄像头获取到癫痫症患者A跌倒的信息,患者A满足了预设检测条件,健康监测设备获取患者的第一测量数据:心率数据为105次/分钟,第一测量数据不处于自身对应的预设范围,获取患者A最近4次的历史配置信息(电压2V、电压2.1V、电压1.9V、电压2V)及其对应的患者的健康监测参数的历史测量数据(4次脉搏曲线的拟合曲线)。根据4次历史配置信息的均值配置刺激参数为电压2V并向患者的体内组织递送与刺激参数相应的电刺激并获取对应的第二测量数据(脉搏曲线)。其中,历史测量数据和第二测量数据分别可以包括对患者体内组织递送电刺激之后的连续的脉搏曲线,经过电刺激后的患者症状已经缓解(或无症状状态)。根据历史测量数据和第二测量数据,检测得到刺激器有故障发生。In another specific application, the preset range corresponding to patient A is heart rate data from 60 beats/minute to 100 beats/minute, and N is 4. The camera set up in the patient's room obtained information about the fall of epilepsy patient A. Patient A met the preset detection conditions. The health monitoring equipment obtained the patient's first measurement data: the heart rate data was 105 beats/minute, and the first measurement data was not in Its own corresponding preset range obtains the last 4 historical configuration information of patient A (voltage 2V, voltage 2.1V, voltage 1.9V, voltage 2V) and the corresponding historical measurement data of the patient's health monitoring parameters (4 pulse curves fitting curve). The stimulation parameters are configured to a voltage of 2V based on the average of the four historical configuration information, and electrical stimulation corresponding to the stimulation parameters is delivered to the patient's body tissue and corresponding second measurement data (pulse curve) is obtained. The historical measurement data and the second measurement data may each include a continuous pulse curve after the electrical stimulation is delivered to the tissue in the patient's body, and the patient's symptoms have been relieved (or asymptomatic) after the electrical stimulation. Based on the historical measurement data and the second measurement data, it is detected that the stimulator is faulty.
参见图3,图3示出了本申请实施例提供的一种检测故障发生的流程示意图。Referring to Figure 3, Figure 3 shows a schematic flowchart of a fault detection method provided by an embodiment of the present application.
在一个实施例中,所述步骤S105可以包括:In one embodiment, step S105 may include:
步骤S301:将所述历史测量数据和所述第二测量数据输入至相似度模型,以得到所述历史测量数据和所述第二测量数据之间的相似度; Step S301: Input the historical measurement data and the second measurement data into the similarity model to obtain the similarity between the historical measurement data and the second measurement data;
步骤S302:当所述相似度不小于预设相似度阈值时,确定所述故障诊断结果是所述刺激器没有发生故障;Step S302: When the similarity is not less than the preset similarity threshold, determine that the fault diagnosis result is that the stimulator is not faulty;
步骤S303:当所述相似度小于所述预设相似度阈值时,确定所述故障诊断结果是所述刺激器发生故障。Step S303: When the similarity is less than the preset similarity threshold, determine that the fault diagnosis result is that the stimulator is faulty.
其中,所述相似度模型的训练过程包括:Wherein, the training process of the similarity model includes:
获取第一训练集,所述第一训练集包括多个训练数据,每个所述训练数据包括第一样本对象、第二样本对象以及所述第一样本对象和所述第二样本对象的相似度;Obtain a first training set, the first training set includes a plurality of training data, each of the training data includes a first sample object, a second sample object, the first sample object and the second sample object similarity;
针对所述第一训练集中的每个训练数据,执行以下处理:将所述训练数据中的第一样本对象和第二样本对象输入预设的第一深度学习模型,以得到所述第一样本对象和所述第二样本对象的预测相似度;For each training data in the first training set, perform the following processing: input the first sample object and the second sample object in the training data into the preset first deep learning model to obtain the first The predicted similarity between the sample object and the second sample object;
基于所述第一样本对象和所述第二样本对象的预测相似度,对所述第一深度学习模型的模型参数进行更新;Based on the predicted similarity between the first sample object and the second sample object, update the model parameters of the first deep learning model;
检测是否满足预设的训练结束条件;若是,则将训练出的深度学习模型作为所述相似度模型;若否,则利用下一个所述训练数据继续训练所述第一深度学习模型。Check whether the preset training end condition is met; if so, use the trained deep learning model as the similarity model; if not, use the next training data to continue training the first deep learning model.
该技术方案的有益效果在于,相似度模型可以由大量的训练数据训练得到,能够针对不同的输入数据(即历史测量数据和第二测量数据)预测得到相应的输出数据(即历史测量数据和第二测量数据之间的相似度),适用范围广,智能化水平高。通过设计,建立适量的神经元计算节点和多层运算层次结构,选择合适的输入层和输出层,就可以得到预设的第一深度学习模型,通过该预设的第一深度学习模型的学习和调优,建立起从输入到输出的函数关系,虽然不能100%找到输入与输出的函数关系,但是可以尽可能地逼近现实的关联关系,由此训练得到的相似度模型,可以基于每个历史测量数据和第二测量数据之间的相似度分别获取二者之间的相似度,且计算结果准确性高、可靠性高。The beneficial effect of this technical solution is that the similarity model can be trained by a large amount of training data, and can predict corresponding output data (i.e., historical measurement data and the second measurement data) for different input data (i.e., historical measurement data and second measurement data). The similarity between the two measurement data), has a wide range of applications and a high level of intelligence. Through design, establish an appropriate number of neuron computing nodes and a multi-layer computing hierarchy, and select the appropriate input layer and output layer to obtain the preset first deep learning model. Through the learning of the preset first deep learning model and tuning, establish the functional relationship from input to output. Although the functional relationship between input and output cannot be found 100%, it can approximate the realistic correlation relationship as much as possible. The similarity model obtained by training can be based on each The similarity between the historical measurement data and the second measurement data is obtained respectively, and the calculation result is highly accurate and reliable.
在一个实施例中,本申请可以采用上述训练过程训练得到相似度模型,在另一些可选的实施方式中,本申请可以采用预先训练好的相似度模型。In one embodiment, this application can use the above training process to train and obtain a similarity model. In other optional implementations, this application can use a pre-trained similarity model.
在一个实施例中,例如可以对历史数据进行数据挖掘,以获取训练数据。当然,第一样本对象、第二样本对象也可以是利用GAN模型的生成网络自动生成 的。In one embodiment, for example, data mining can be performed on historical data to obtain training data. Of course, the first sample object and the second sample object can also be automatically generated using the generation network of the GAN model. of.
其中,GAN模型即生成对抗网络(Generative Adversarial Network),由一个生成网络与一个判别网络组成。生成网络从潜在空间(latent space)中随机采样作为输入,其输出结果需要尽量模仿训练集中的真实样本。判别网络的输入则为真实样本或生成网络的输出,其目的是将生成网络的输出从真实样本中尽可能分辨出来。而生成网络则要尽可能地欺骗判别网络。两个网络相互对抗、不断调整参数,最终目的是使判别网络无法判断生成网络的输出结果是否真实。Among them, the GAN model is a Generative Adversarial Network, which consists of a generative network and a discriminative network. The generative network randomly samples from the latent space as input, and its output results need to imitate the real samples in the training set as much as possible. The input of the discriminant network is a real sample or the output of the generative network, and its purpose is to distinguish the output of the generative network from the real sample as much as possible. The generative network must deceive the discriminant network as much as possible. The two networks compete with each other and constantly adjust parameters. The ultimate goal is to make the discriminant network unable to judge whether the output results of the generating network are true.
预测相似度可以用数字或者百分数表示,用数字表示时,预测相似度例如是60、80或者90;用百分数表示时,预测相似度例如是50%、70%或者90%,数值越高,预测相似度越高。The predicted similarity can be expressed as a number or a percentage. When expressed as a number, the predicted similarity is, for example, 60, 80, or 90; when expressed as a percentage, the predicted similarity is, for example, 50%, 70%, or 90%. The higher the value, the better the predicted similarity. The higher the similarity.
本申请对预设相似度阈值不作限定,其可以是70%、80%或者90%。This application does not limit the preset similarity threshold, which can be 70%, 80% or 90%.
本申请对预设的训练结束条件不作限定,其例如可以是训练次数达到预设次数(预设次数例如是1次、3次、10次、100次、1000次、10000次等),或者可以是训练集中的训练数据都完成一次或多次训练,或者可以是本次训练得到的总损失值不大于预设损失值。This application does not limit the preset training end condition. For example, it can be that the number of training times reaches the preset number of times (the preset number of times is, for example, 1 time, 3 times, 10 times, 100 times, 1000 times, 10000 times, etc.), or it can The training data in the training set have completed one or more trainings, or the total loss value obtained in this training is not greater than the preset loss value.
在一个实施例中,在所述故障诊断结果是所述刺激器有故障发生时,所述自诊断设备还被配置成:In one embodiment, when the fault diagnosis result is that the stimulator is faulty, the self-diagnosis device is further configured to:
利用报警装置发出报警信号,所述报警装置包括声音报警装置、闪光报警装置或声光报警装置中的一种或多种。An alarm signal is sent out using an alarm device, which includes one or more of a sound alarm device, a flash alarm device, or an audible and visual alarm device.
由此,针对例如是部分患者年龄较大或者患有精神类疾病的情况,通过报警装置进行报警,可以引起患者周边人员的注意力,使患者或患者监护人能第一时间获知诊断结果,以及时寻求专业人士(医生或刺激器的提供商)帮助。Therefore, for example, when some patients are older or suffer from mental illness, alarming through the alarm device can attract the attention of people around the patient, so that the patient or patient guardian can learn the diagnosis result as soon as possible, and provide timely treatment. Seek help from a professional (doctor or stimulator provider).
其中,报警装置可以是喇叭(扬声器)、蜂鸣器、显示屏等中的一种或其组合。The alarm device may be one of a horn (speaker), a buzzer, a display screen, etc. or a combination thereof.
参见图4,图4示出了本申请实施例提供的一种确定故障诊断结果的流程示意图。Referring to Figure 4, Figure 4 shows a schematic flowchart of determining a fault diagnosis result provided by an embodiment of the present application.
在一个实施例中,所述刺激器包括IPG和一个或多个电极导线;In one embodiment, the stimulator includes an IPG and one or more electrode leads;
所述自诊断设备被配置成采用以下方式确定所述刺激器的故障诊断结果:The self-diagnostic device is configured to determine a fault diagnosis result of the stimulator in the following manner:
步骤S401:分别检测每个所述电极导线的阻抗数据是否处于自身对应的预 设范围;Step S401: Detect whether the impedance data of each electrode wire is in its corresponding preset state. set scope;
步骤S402:当检测到一个或多个所述电极导线的阻抗数据不处于自身对应的预设范围时,确定所述故障诊断结果是所述阻抗数据不处于自身对应的预设范围的所述电极导线有故障发生;Step S402: When it is detected that the impedance data of one or more of the electrode wires is not within its corresponding preset range, determine that the fault diagnosis result is the electrode whose impedance data is not within its corresponding preset range. A fault occurs in the wire;
步骤S403:当检测到所有所述电极导线的阻抗数据都处于自身对应的预设范围时,确定所有所述电极导线无故障发生,并基于历史测量数据和所述第二测量数据,继续检测所述IPG是否有故障发生,以得到所述故障诊断结果。Step S403: When it is detected that the impedance data of all the electrode wires are within the corresponding preset range, determine that all the electrode wires are fault-free, and continue to detect all the electrode wires based on the historical measurement data and the second measurement data. Check whether a fault occurs in the IPG to obtain the fault diagnosis result.
具体应用中,由于电极导线的外径一般只有1-1.5mm左右,电极导线的长度500-550mm左右,当患者出现摔跤、碰撞等情况,电极导线更容易出现故障(断路等情况)。电极触点所处的电极导线若出现短路,由其输出的电刺激可能产生过大的电流,会对接受特定刺激的体内组织递或直接接触短路处电极触点的组织造成损伤;或者,电极触点所处的体内导电通路出现断路情形,电刺激将直接在断路处电极触点输出,因而不能对患者指定的体内组织递产生有效的治疗。In specific applications, since the outer diameter of the electrode lead is generally only about 1-1.5mm and the length of the electrode lead is about 500-550mm, when the patient falls, collides, etc., the electrode lead is more likely to malfunction (open circuit, etc.). If the electrode lead where the electrode contact is located is short-circuited, the electrical stimulation output by it may generate excessive current, which may cause damage to the body tissue receiving specific stimulation or to the tissue directly contacting the electrode contact at the short-circuit point; or, the electrode If the conductive path in the body where the contact is located is broken, the electrical stimulation will be output directly at the electrode contact at the broken point, so it cannot deliver effective treatment to the patient's designated internal tissue.
由此,首先对电极导线的阻抗数据进行检测,根据电极导线的检测结果再确定是否需要对IPG进行检测。一方面,首先对电极导线进行检测,能较大概率的判断出刺激器的故障,针对性比较强,也提高了对患者的刺激器自诊断的响应速度;另一方面,植入患者体内的电极导线不止一根,通过对每个电极导线的阻抗数据的检测和比对,能较快判断出故障的电极导线,故障电极导线的问题解决之前可以使用其他电极导线对患者进行治疗,避免了延误患者的治疗。Therefore, the impedance data of the electrode lead is first detected, and then it is determined whether the IPG needs to be detected based on the detection result of the electrode lead. On the one hand, by first testing the electrode leads, the fault of the stimulator can be determined with a high probability, which is more targeted and improves the response speed of the patient's self-diagnosis of the stimulator; on the other hand, the stimulator implanted in the patient's body can There is more than one electrode lead. By detecting and comparing the impedance data of each electrode lead, the faulty electrode lead can be quickly determined. Before the problem of the faulty electrode lead is solved, other electrode leads can be used to treat the patient, thus avoiding Delay patient care.
综上,按照电极阻抗、IPG的检测顺序。相比于相关技术中借助CT或核磁设备判断故障电极导线,本申请通过每个电极导线的阻抗数据判断电极导线的故障情况,无需到医院通过专业设备就能第一时间初步确认问题,能将刺激器故障对患者的治疗影响降到最低。In summary, follow the detection sequence of electrode impedance and IPG. Compared with the related technology of using CT or nuclear magnetic equipment to determine the faulty electrode lead, this application uses the impedance data of each electrode lead to determine the fault condition of the electrode lead. The problem can be preliminarily confirmed at the first time without going to the hospital and using professional equipment. Stimulator failure has minimal impact on patient treatment.
其中,IPG的电路中可以包括电路检查模块,通过电路检查模块可以对IPG进行检测,判断IPG的故障情况,例如IPG的电源模块故障、信号传输故障等。每个电极导线的阻抗数据可以是通过IPG提供固定电压值,测量通过每个电极导线的电流值,进而得到每个电极导线的阻抗数据;也可以是通过IPG提供供电电流值,测量每个电极导线的电压值,进而得到每个电极导线的阻抗数据。Among them, the circuit of the IPG may include a circuit inspection module. The circuit inspection module can detect the IPG and determine the fault condition of the IPG, such as IPG power module failure, signal transmission failure, etc. The impedance data of each electrode lead can be provided by IPG with a fixed voltage value, and the current value passing through each electrode lead can be measured to obtain the impedance data of each electrode lead; it can also be provided by IPG with a supply current value and measured with each electrode. The voltage value of the wire is then obtained to obtain the impedance data of each electrode wire.
在一个实施例中,当所述故障诊断结果是有故障发生时,所述自诊断设备还 被配置成执行:In one embodiment, when the fault diagnosis result is that a fault occurs, the self-diagnosis device also is configured to execute:
步骤S106:将所述刺激器的故障信息存储至预设存储位置,并生成故障提示信息发送至预设的用户设备。所述刺激器的故障信息包括刺激器标识信息、故障时间信息和故障类型信息的中的一种或多种。Step S106: Store the fault information of the stimulator in a preset storage location, and generate fault prompt information to send to the preset user equipment. The fault information of the stimulator includes one or more of stimulator identification information, fault time information and fault type information.
一般而言,当刺激器出现故障时,患者受到治疗的电刺激往往会发生较大变化(例如刺激突然停止、卡顿等),以使患者怀疑自身病情加重,或者怀疑自身不适合进行刺激器治疗(打击患者自身治疗的信心)、或者医生对刺激器设置的刺激参数不合理(医生不专业或不负责)等。Generally speaking, when a stimulator malfunctions, the electrical stimulation that the patient receives often undergoes major changes (such as sudden cessation of stimulation, lags, etc.), which makes the patient suspect that his or her condition is getting worse or that he or she is not suitable for the stimulator. treatment (destroying the patient's confidence in their own treatment), or the doctor's stimulation parameters set by the stimulator are unreasonable (the doctor is unprofessional or irresponsible), etc.
由此,如果自诊设备发现刺激器有故障,第一时间就会通过用户设备使用户(患者或患者的监护人)获知故障情况,避免患者对刺激器的治疗产生负面的抵触情绪,智能化程度比较高。Therefore, if the self-diagnosis equipment finds that the stimulator is faulty, the user (the patient or the patient's guardian) will be informed of the fault condition through the user device as soon as possible to avoid the patient's negative resistance to the treatment of the stimulator, and the degree of intelligence relatively high.
其中,预设存储位置例如是患者程控设备的存储器。故障提示信息可以是语音信息、弹窗信息、文字信息,例如是文字信息“患者A植入体内的刺激器出现故障,请及时联系医生B进行进一步诊断,联系电话13000000000”。The preset storage location is, for example, the memory of the patient's programming device. The fault prompt information can be a voice message, a pop-up window message, or a text message. For example, the text message is "The stimulator implanted in patient A has failed. Please contact doctor B in time for further diagnosis. The contact number is 13000000000."
用户设备例如是患者本人或患者的监护人、护理人所拥有的手机、笔记本电脑、台式机、平板电脑或患者程控器等。The user equipment is, for example, a mobile phone, laptop computer, desktop computer, tablet computer or patient program controller owned by the patient himself or the patient's guardian or caregiver.
故障类型信息例如是“患者左脑部1#电极导线故障”、“刺激器故障”、“I PG故障”等。The fault type information is, for example, "Patient's left brain 1# electrode lead fault", "Stimulator fault", "I PG fault", etc.
在一个具体应用中,故障信息是“患者C,2020年1月1日12时13分,刺激器故障”。In a specific application, the fault information is "Patient C, at 12:13 on January 1, 2020, the stimulator failed."
参见图5,图5示出了本申请实施例提供的一种故障信息上传的流程示意图。Referring to Figure 5, Figure 5 shows a schematic flow chart of fault information uploading provided by an embodiment of the present application.
在一个实施例中,所述自诊断设备还可以被配置成:In one embodiment, the self-diagnosis device may also be configured to:
步骤S107:利用所述用户设备接收所述用户的故障上传操作;Step S107: Use the user equipment to receive the user's fault upload operation;
步骤S108:响应于所述故障上传操作,将所述刺激器的故障信息发送至预设服务设备。Step S108: In response to the fault upload operation, send the fault information of the stimulator to a preset service device.
由此,只有在用户主动进行故障上传操作时,才会将刺激器的故障信息发送至预设服务设备,更为尊重用户的选择权。相对正常人而言,进行刺激器治疗的患者情绪较为低落,能够给与这部分用户足够的尊重,以使患者能积极主动的配合医生进行治疗,更利于后期医患之间的沟通交流。 Therefore, only when the user actively performs a fault upload operation, the fault information of the stimulator will be sent to the preset service device, which respects the user's right to choose. Compared with normal people, patients undergoing stimulator treatment are in a lower mood. This group of users can be given enough respect so that patients can actively cooperate with doctors for treatment, which is more conducive to later communication between doctors and patients.
其中,用户的故障上传操作例如是对用户设备中的上传选择菜单进行点选上传操作、通过语音功能对用户设备下达语音指令“请将本次故障信息上传”等。Among them, the user's fault upload operation includes, for example, clicking on the upload selection menu in the user's device to upload, issuing a voice command to the user's device through the voice function "Please upload this fault information", etc.
预设服务设备例如是医院的、社区的、刺激器生产商的局域网服务器,还例如是跨区域数据连接的广域网服务器。The default service equipment is, for example, a local area network server of a hospital, a community, or a stimulator manufacturer, or a wide area network server for cross-regional data connection.
医生或者刺激器生产厂商可以及时获知用户真实的刺激器使用情况,对出现因为患者自身跌倒等情况造成的刺激器故障可以对症下药,例如当一定比重的患者的刺激器的故障电极导线长度都是超过650mm,则刺激器生产厂商就会从技术上考虑如何解决过长的电极导线质量不稳定的问题,医生也会对将要植入刺激器的患者考虑减少电极导线的长度、避免出现电极导线不稳定的缺陷。Doctors or stimulator manufacturers can know the user's actual stimulator usage in a timely manner, and can prescribe appropriate treatment for stimulator failures caused by patients falling down. For example, when a certain proportion of patients have faulty stimulators with electrode lead lengths exceeding 650mm, then stimulator manufacturers will technically consider how to solve the problem of unstable quality of electrode leads that are too long. Doctors will also consider reducing the length of electrode leads for patients who will be implanted with stimulators to avoid unstable electrode leads. Defects.
在一个实施例中,所述自诊断设备还被配置成:In one embodiment, the self-diagnostic device is further configured to:
当检测到任一个所述健康监测参数的第一测量数据都处于自身对应的预设范围时,获取无故障时长,所述无故障时长用于指示当前时刻与最近一次所述故障提示信息的生成时刻之间的时长;When it is detected that the first measurement data of any of the health monitoring parameters is within its corresponding preset range, a fault-free duration is obtained. The fault-free duration is used to indicate the current moment and the latest generation of the fault prompt information. the length of time between moments;
当所述无故障时长大于预设时长时,获取所述自诊断设备的自诊断策略以用于确定所述刺激器是否有故障发生。When the fault-free time period is greater than the preset time period, the self-diagnosis strategy of the self-diagnosis device is obtained to determine whether a fault occurs in the stimulator.
由此,通过无故障时长和预设时长的比对,避免健康监测设备自身出现故障或健康监测设备与自诊断设备信号传输故障时,也能在一个合理的时间点对患者体内的刺激器进行自诊断。Therefore, by comparing the fault-free time and the preset time, it is possible to avoid the failure of the health monitoring equipment itself or the signal transmission failure between the health monitoring equipment and the self-diagnostic equipment. The stimulator in the patient's body can also be performed at a reasonable time point. Self-diagnosis.
参见图6,图6示出了本申请实施例提供的又一种故障信息上传的流程示意图。Referring to Figure 6, Figure 6 shows a schematic flowchart of yet another fault information uploading process provided by an embodiment of the present application.
在一个实施例中,所述自诊断设备还被配置成:In one embodiment, the self-diagnostic device is further configured to:
步骤S109:当存储至所述预设存储位置的所述故障信息的数量不小于预设故障数量时,将所述刺激器最近一次的故障信息发送至预设服务设备。Step S109: When the number of fault information stored in the preset storage location is not less than the preset number of faults, send the latest fault information of the stimulator to the preset service device.
当患者不选择将故障信息发送至(医生或刺激器生产商的)预设服务设备时,患者本身也会承担刺激器故障时向患者本人递送电刺激造成身体受损伤的风险。When the patient does not choose to send fault information to the preset service device (doctor or stimulator manufacturer), the patient himself will also bear the risk of physical injury caused by the electrical stimulation delivered to the patient himself when the stimulator fails.
由此,在充分尊重用户的选择权的前提下,选择适当的预设故障数量,以使刺激器出现不少于预设故障数量的故障次数时医生或刺激器生产商能及时接收到最近一次的故障信息,医生或供应商可以根据故障信息的内容及时联系患者或其监护人,避免患者受到不应有的损伤。 Therefore, on the premise of fully respecting the user's right to choose, an appropriate preset number of faults is selected so that when the stimulator has a number of faults not less than the preset number of faults, the doctor or stimulator manufacturer can promptly receive the latest Based on the fault information, doctors or suppliers can promptly contact patients or their guardians based on the content of the fault information to prevent patients from suffering undue harm.
其中,预设故障数量例如是3次、5次、8次、11次等。Among them, the preset number of faults is, for example, 3 times, 5 times, 8 times, 11 times, etc.
参见图7,图7示出了本申请实施例提供的一种检测患者的异常事件的流程示意图。Referring to Figure 7, Figure 7 shows a schematic flowchart of detecting abnormal events in patients provided by an embodiment of the present application.
在一个实施例中,检测所述患者是否发生摔倒、掉落、抽搐、自残、吸食或无异常事件的过程包括:In one embodiment, the process of detecting whether the patient falls, falls, twitches, self-mutilates, takes drugs, or has no abnormal events includes:
步骤S501:利用视觉检测设备获取包括所述患者的实时图像;Step S501: Use visual detection equipment to obtain real-time images including the patient;
步骤S502:将所述实时图像输入至异常事件模型,以得到所述实时图像对应的事件分类结果。所述事件分类结果是摔倒、掉落、抽搐、自残、吸食或无异常事件。也就是说,当没有检测到患者有摔倒、掉落、抽搐、自残或吸食事件,就可以认为患者无异常事件。Step S502: Input the real-time image to the abnormal event model to obtain event classification results corresponding to the real-time image. The event classification result is falling, falling, convulsing, self-mutilation, inhalation or no abnormal event. In other words, when no falling, falling, convulsions, self-mutilation or ingestion events are detected, the patient can be considered to have no abnormal events.
由此,通过视觉检测设备实时获取包括患者的图像,并将图像输入异常事件模型,以得到实时图像对应的事件分类结果,准确度高。As a result, images including patients are acquired in real time through visual detection equipment, and the images are input into the abnormal event model to obtain event classification results corresponding to the real-time images with high accuracy.
其中,所述异常事件模型的训练过程可以如下:Wherein, the training process of the abnormal event model can be as follows:
获取第二训练集,所述第二训练集包括多个训练图像及其对应的标记分类结果的标注数据。其中标注数据可以是摔倒事件、掉落事件、抽搐事件、自残事件、吸食事件或无异常事件。A second training set is obtained, where the second training set includes a plurality of training images and their corresponding annotation data of the labeled classification results. The labeled data can be falling events, falling events, twitching events, self-mutilation events, smoking events or no abnormal events.
利用所述第二训练集对预设的第二深度学习模型进行训练,得到所述异常事件模型。The second training set is used to train the preset second deep learning model to obtain the abnormal event model.
具体地,在所述异常事件模型的训练过程中,所述利用所述第二训练集对预设的第二深度学习模型进行训练,可以包括以下步骤:Specifically, during the training process of the abnormal event model, using the second training set to train a preset second deep learning model may include the following steps:
针对所述第二训练集中的每个训练图像,将所述训练图像输入预设的第二深度学习模型,得到与所述训练图像相对应的标记检测结果的预测数据;For each training image in the second training set, input the training image into a preset second deep learning model to obtain prediction data of mark detection results corresponding to the training image;
基于与所述训练图像相对应的标记检测结果的预测数据以及标注数据,对所述预设的第二深度学习模型的模型参数进行更新;Update the model parameters of the preset second deep learning model based on the prediction data and annotation data of the mark detection results corresponding to the training image;
检测是否满足预设的第二训练结束条件,如果是,则停止训练,并将训练得到的所述预设的第二深度学习模型作为所述异常事件模型,如果否,则利用下一个所述训练数据继续训练所述预设的第二深度学习模型。Detect whether the preset second training end condition is met. If so, stop training and use the preset second deep learning model obtained by training as the abnormal event model. If not, use the next The training data continues to train the preset second deep learning model.
由此,训练结束的第二训练结束条件可基于实际需求配置,训练得到的异常事件模型具有较强的鲁棒性和较低的过拟合风险。 Therefore, the second training end condition at the end of training can be configured based on actual needs, and the abnormal event model obtained by training has strong robustness and low overfitting risk.
利用第二训练集对预设的第二深度学习模型进行训练,可以得到训练好的异常事件模型,异常事件模型可以由大量的训练数据训练得到,能够针对多种输入数据预测得到相应的标记检测结果,适用范围广,智能化水平高。通过设计,建立适量的神经元计算节点和多层运算层次结构,选择合适的输入层和输出层,就可以得到预设的第二深度学习模型,通过该预设的第二深度学习模型的学习和调优,建立起从输入到输出的函数关系,虽然不能100%找到输入与输出的函数关系,但是可以尽可能地逼近现实的关联关系,由此训练得到的异常事件模型,可以实现对成像识别的自我诊断功能,且诊断结果可靠性高。Use the second training set to train the preset second deep learning model to obtain a trained abnormal event model. The abnormal event model can be trained with a large amount of training data and can predict corresponding mark detection for a variety of input data. As a result, it has a wide range of applications and a high level of intelligence. Through design, establish an appropriate number of neuron computing nodes and a multi-layer computing hierarchy, and select the appropriate input layer and output layer to obtain the preset second deep learning model. Through the learning of the preset second deep learning model and tuning to establish the functional relationship from input to output. Although the functional relationship between input and output cannot be found 100%, it can approximate the realistic correlation relationship as much as possible. The abnormal event model obtained by training can realize imaging The self-diagnosis function of identification is high, and the diagnostic results are highly reliable.
其中,视觉检测设备可以是摄像头或包括摄像头的设备。The visual detection device may be a camera or a device including a camera.
参见图8,图8示出了本申请实施例提供的一种程控系统100的结构框图。Referring to Figure 8, Figure 8 shows a structural block diagram of a program control system 100 provided by an embodiment of the present application.
所述程控系统100包括健康监测设备300和上述任一实施例提供的自诊断设备200,所述自诊断设备200和健康监测设备300可通信地连接。The program-controlled system 100 includes a health monitoring device 300 and the self-diagnostic device 200 provided in any of the above embodiments. The self-diagnostic device 200 and the health monitoring device 300 are communicatively connected.
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述任一项实施例中所述自诊断设备的功能。Embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, it implements the self-diagnosis device described in any of the above embodiments. Function.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“对应于”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。 The terms "first", "second", "third", "fourth", etc. (if present) in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects without necessarily using Used to describe a specific order or sequence. It is to be understood that data so used are interchangeable under appropriate circumstances so that the embodiments of the application described herein, for example, can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "include" and "corresponding to" and any variations thereof are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or device that includes a series of steps or units and need not be limited to those explicitly listed may include other steps or elements not expressly listed or inherent to the process, method, product or apparatus.

Claims (12)

  1. 一种自诊断设备,所述自诊断设备用于对植入患者体内的刺激器进行故障自诊断,所述自诊断设备被配置成:A self-diagnostic device, the self-diagnostic device is used to perform fault self-diagnosis of a stimulator implanted in a patient, the self-diagnostic device is configured to:
    当患者满足预设监测条件时,利用健康监测设备获取患者的健康监测参数的第一测量数据;When the patient meets the preset monitoring conditions, use the health monitoring equipment to obtain the first measurement data of the patient's health monitoring parameters;
    分别检测每个所述健康监测参数的第一测量数据是否处于自身对应的预设范围;Detect respectively whether the first measurement data of each of the health monitoring parameters is within its corresponding preset range;
    当检测到一个或多个所述健康监测参数的第一测量数据不处于自身对应的预设范围时获取实际配置信息,以使所述刺激器向所述患者的体内组织递送所述实际配置信息相应的电刺激,所述实际配置信息用于指示所述刺激器的每个刺激参数的实际参数值;Obtain actual configuration information when it is detected that the first measurement data of one or more health monitoring parameters is not within its corresponding preset range, so that the stimulator delivers the actual configuration information to the patient's body tissue. Corresponding electrical stimulation, the actual configuration information is used to indicate the actual parameter value of each stimulation parameter of the stimulator;
    利用所述健康监测设备获取所述患者的健康监测参数的第二测量数据;utilizing the health monitoring device to obtain second measurement data of the patient's health monitoring parameters;
    基于历史测量数据和所述第二测量数据,检测所述刺激器是否有故障发生,以得到故障诊断结果。Based on the historical measurement data and the second measurement data, it is detected whether a fault occurs in the stimulator to obtain a fault diagnosis result.
  2. 根据权利要求1所述的自诊断设备,其中,所述自诊断设备被配置成采用以下方式获取所述实际配置信息:The self-diagnostic device according to claim 1, wherein the self-diagnostic device is configured to obtain the actual configuration information in the following manner:
    获取所述刺激器最近N次的历史配置信息及其对应的患者的健康监测参数的历史测量数据,N是正整数;Obtain the most recent N historical configuration information of the stimulator and the corresponding historical measurement data of the patient's health monitoring parameters, where N is a positive integer;
    基于最近N次的所述历史配置信息获取所述实际配置信息。The actual configuration information is obtained based on the most recent N times of historical configuration information.
  3. 根据权利要求1所述的自诊断设备,其中,所述第一测量数据包括以下一种或多种:心率数据、脉搏数据、肌电数据和脑电数据;The self-diagnosis device according to claim 1, wherein the first measurement data includes one or more of the following: heart rate data, pulse data, electromyography data and electroencephalography data;
    所述历史配置信息包括一个或多个刺激参数标识以及每个刺激参数标识对应的历史参数值,N是正整数;The historical configuration information includes one or more stimulation parameter identifiers and historical parameter values corresponding to each stimulation parameter identifier, and N is a positive integer;
    所述预设监测条件包括以下一种或多种:当前时刻到达预设的监测时刻;检测到所述患者发生摔倒、掉落、抽搐、自残或者吸食事件。The preset monitoring conditions include one or more of the following: the current time reaches the preset monitoring time; the patient is detected to have fallen, dropped, twitched, self-mutilated or inhaled.
  4. 根据权利要求1所述的自诊断设备,其中,所述自诊断设备被配置成采用以下方式得到故障诊断结果:The self-diagnosis device according to claim 1, wherein the self-diagnosis device is configured to obtain fault diagnosis results in the following manner:
    将所述历史测量数据和所述第二测量数据输入至相似度模型,以得到所述历 史测量数据和所述第二测量数据之间的相似度;The historical measurement data and the second measurement data are input into the similarity model to obtain the historical measurement data. The similarity between the historical measurement data and the second measurement data;
    当所述相似度不小于预设相似度阈值时,确定所述故障诊断结果是所述刺激器没有发生故障;When the similarity is not less than the preset similarity threshold, it is determined that the fault diagnosis result is that the stimulator is not faulty;
    当所述相似度小于所述预设相似度阈值时,确定所述故障诊断结果是所述刺激器发生故障;When the similarity is less than the preset similarity threshold, it is determined that the fault diagnosis result is that the stimulator is faulty;
    其中,所述相似度模型的训练过程包括:Wherein, the training process of the similarity model includes:
    获取第一训练集,所述第一训练集包括多个训练数据,每个所述训练数据包括第一样本对象、第二样本对象以及所述第一样本对象和所述第二样本对象的相似度;Obtain a first training set, the first training set includes a plurality of training data, each of the training data includes a first sample object, a second sample object, the first sample object and the second sample object similarity;
    针对所述第一训练集中的每个训练数据,执行以下处理:将所述训练数据中的第一样本对象和第二样本对象输入预设的第一深度学习模型,以得到所述第一样本对象和所述第二样本对象的预测相似度;For each training data in the first training set, perform the following processing: input the first sample object and the second sample object in the training data into the preset first deep learning model to obtain the first The predicted similarity between the sample object and the second sample object;
    基于所述第一样本对象和所述第二样本对象的预测相似度,对所述第一深度学习模型的模型参数进行更新;Based on the predicted similarity between the first sample object and the second sample object, update the model parameters of the first deep learning model;
    检测是否满足预设的训练结束条件;若是,则将训练出的深度学习模型作为所述相似度模型;若否,则利用下一个所述训练数据继续训练所述第一深度学习模型。Check whether the preset training end condition is met; if so, use the trained deep learning model as the similarity model; if not, use the next training data to continue training the first deep learning model.
  5. 根据权利要求4所述的自诊断设备,其中,在所述故障诊断结果是所述刺激器有故障发生时,所述自诊断设备还被配置成:The self-diagnosis device according to claim 4, wherein when the fault diagnosis result is that the stimulator is faulty, the self-diagnosis device is further configured to:
    利用报警装置发出报警信号,所述报警装置包括声音报警装置、闪光报警装置或声光报警装置中的一种或多种。An alarm signal is sent out using an alarm device, which includes one or more of a sound alarm device, a flash alarm device, or an audible and visual alarm device.
  6. 根据权利要求1所述的自诊断设备,其中,所述刺激器包括IPG和一个或多个电极导线;The self-diagnostic device of claim 1, wherein the stimulator includes an IPG and one or more electrode leads;
    所述自诊断设备被配置成采用以下方式确定所述刺激器的故障诊断结果:The self-diagnostic device is configured to determine a fault diagnosis result of the stimulator in the following manner:
    分别检测每个所述电极导线的阻抗数据是否处于自身对应的预设范围;Detect respectively whether the impedance data of each electrode lead is within its corresponding preset range;
    当检测到一个或多个所述电极导线的阻抗数据不处于自身对应的预设范围时,确定所述故障诊断结果是所述阻抗数据不处于自身对应的预设范围的所述电极导线有故障发生; When it is detected that the impedance data of one or more electrode wires is not within its corresponding preset range, it is determined that the fault diagnosis result is that the electrode wire whose impedance data is not within its corresponding preset range is faulty. occur;
    当检测到所有所述电极导线的阻抗数据都处于自身对应的预设范围时,确定所有所述电极导线无故障发生,并基于所述历史测量数据和所述第二测量数据,继续检测所述IPG是否有故障发生,以得到所述故障诊断结果。When it is detected that the impedance data of all the electrode leads are within their corresponding preset ranges, it is determined that all the electrode leads are fault-free, and based on the historical measurement data and the second measurement data, continue to detect the Check whether a fault occurs in the IPG to obtain the fault diagnosis result.
  7. 根据权利要求6所述的自诊断设备,其中,当所述故障诊断结果是有故障发生时,所述自诊断设备还被配置成:The self-diagnosis device according to claim 6, wherein when the fault diagnosis result is that a fault occurs, the self-diagnosis device is further configured to:
    将所述刺激器的故障信息存储至预设存储位置,并生成故障提示信息发送至预设的用户设备,所述刺激器的故障信息包括刺激器标识信息、故障时间信息和故障类型信息的中的一种或多种。Store the fault information of the stimulator to a preset storage location, and generate fault prompt information to send to the preset user equipment. The fault information of the stimulator includes stimulator identification information, fault time information and fault type information. of one or more.
  8. 根据权利要求7所述的自诊断设备,其中,所述自诊断设备还被配置成:The self-diagnostic device according to claim 7, wherein the self-diagnostic device is further configured to:
    利用所述用户设备接收所述用户的故障上传操作;Utilize the user equipment to receive the user's fault upload operation;
    响应于所述故障上传操作,将所述刺激器的故障信息发送至预设服务设备。In response to the fault upload operation, the fault information of the stimulator is sent to a preset service device.
  9. 根据权利要求7所述的自诊断设备,其中,所述自诊断设备还被配置成:The self-diagnostic device according to claim 7, wherein the self-diagnostic device is further configured to:
    当存储至所述预设存储位置的所述故障信息的数量不小于预设故障数量时,将所述刺激器最近一次的故障信息发送至预设服务设备。When the amount of the fault information stored in the preset storage location is not less than the preset number of faults, the latest fault information of the stimulator is sent to the preset service device.
  10. 根据权利要求1所述的自诊断设备,其中,检测所述患者是否发生摔倒、掉落、抽搐、自残、吸食或无异常事件的过程包括:The self-diagnosis device according to claim 1, wherein the process of detecting whether the patient falls, falls, twitches, self-mutilates, sucks, or has no abnormal event includes:
    利用视觉检测设备获取包括所述患者的实时图像;utilizing visual inspection equipment to obtain real-time images including the patient;
    将所述实时图像输入至异常事件模型,以得到所述实时图像对应的事件分类结果,所述事件分类结果是摔倒、掉落、抽搐、自残、吸食或无异常事件。The real-time image is input into the abnormal event model to obtain the event classification result corresponding to the real-time image. The event classification result is falling, falling, twitching, self-mutilation, sucking, or no abnormal event.
  11. 一种程控系统,所述程控系统包括健康监测设备和权利要求1-10任一项的自诊断设备,所述自诊断设备和所述健康监测设备可通信地连接。A program-controlled system, the program-controlled system includes a health monitoring device and the self-diagnostic device of any one of claims 1 to 10, and the self-diagnostic device and the health monitoring device are communicably connected.
  12. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-10任一项所述自诊断设备的功能。 A computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the function of the self-diagnostic device described in any one of claims 1-10 is implemented.
PCT/CN2023/110886 2022-08-05 2023-08-03 Self-diagnosis device, programmable system, and computer-readable storage medium WO2024027781A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210939974.0A CN115299893B (en) 2022-08-05 2022-08-05 Self-diagnosis device, program control system, and computer-readable storage medium
CN202210939974.0 2022-08-05

Publications (1)

Publication Number Publication Date
WO2024027781A1 true WO2024027781A1 (en) 2024-02-08

Family

ID=83861442

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/110886 WO2024027781A1 (en) 2022-08-05 2023-08-03 Self-diagnosis device, programmable system, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN115299893B (en)
WO (1) WO2024027781A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115299893B (en) * 2022-08-05 2024-01-26 景昱医疗科技(苏州)股份有限公司 Self-diagnosis device, program control system, and computer-readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5792205A (en) * 1996-10-21 1998-08-11 Intermedics, Inc. Cardiac pacemaker with bidirectional communication
US20070028664A1 (en) * 2005-08-03 2007-02-08 Konica Minolta Sensing, Inc. Failure diagnostic device for acceleration sensor, electronic device equipped with failure diagnostic device, failure diagnostic system, and failure diagnostic method
US20140379039A1 (en) * 2013-06-21 2014-12-25 Medtronic, Inc. Event triggered prognostics
CN110010239A (en) * 2019-04-17 2019-07-12 河北医科大学第二医院 Medical Devices monitoring method, system and breathing detection module
WO2022018529A1 (en) * 2020-07-24 2022-01-27 Cochlear Limited Diagnosis or treatment via vestibular and cochlear measures
CN114781516A (en) * 2022-04-22 2022-07-22 苏州景昱医疗器械有限公司 Emergency program control device, method, system and computer readable storage medium
CN115299893A (en) * 2022-08-05 2022-11-08 苏州景昱医疗器械有限公司 Self-diagnosis device, program-controlled system, and computer-readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5792205A (en) * 1996-10-21 1998-08-11 Intermedics, Inc. Cardiac pacemaker with bidirectional communication
US20070028664A1 (en) * 2005-08-03 2007-02-08 Konica Minolta Sensing, Inc. Failure diagnostic device for acceleration sensor, electronic device equipped with failure diagnostic device, failure diagnostic system, and failure diagnostic method
US20140379039A1 (en) * 2013-06-21 2014-12-25 Medtronic, Inc. Event triggered prognostics
CN110010239A (en) * 2019-04-17 2019-07-12 河北医科大学第二医院 Medical Devices monitoring method, system and breathing detection module
WO2022018529A1 (en) * 2020-07-24 2022-01-27 Cochlear Limited Diagnosis or treatment via vestibular and cochlear measures
CN114781516A (en) * 2022-04-22 2022-07-22 苏州景昱医疗器械有限公司 Emergency program control device, method, system and computer readable storage medium
CN115299893A (en) * 2022-08-05 2022-11-08 苏州景昱医疗器械有限公司 Self-diagnosis device, program-controlled system, and computer-readable storage medium

Also Published As

Publication number Publication date
CN115299893A (en) 2022-11-08
CN115299893B (en) 2024-01-26

Similar Documents

Publication Publication Date Title
US9333350B2 (en) Psychiatric disorder therapy control
US10493281B2 (en) Timing therapy evaluation trials
EP2294524B1 (en) Analyzing a washout period characteristic for psychiatric disorder therapy delivery
US9731135B2 (en) Automatic selection of lead configuration for a neural stimulation lead
US10729905B2 (en) Pain management based on muscle tension measurements
US8918176B2 (en) Assessing cognitive disorders based on non-motor epileptiform bioelectrical brain activity
US9669214B2 (en) Electrical stimulation of the claustrum/piriform cortex for treatment of epilepsy
CN114901351A (en) Brain stimulation and sensing
WO2024027781A1 (en) Self-diagnosis device, programmable system, and computer-readable storage medium
WO2024021959A1 (en) Program control apparatus, medical system, and computer-readable storage medium
WO2024001723A1 (en) Control device, medical system, and computer-readable storage medium
WO2023071378A1 (en) Implantable nerve stimulator and implantable nerve stimulation system
WO2024067449A1 (en) Parameter adjusting apparatus and method therefor, program-controlled device, medical system, and storage medium
WO2024083193A1 (en) Pulse generator, stimulator, medical system and computer-readable storage medium
WO2023241338A1 (en) Programmed control device, programmed control system, electronic device and computer-readable storage medium
WO2024007823A1 (en) In-vitro charger, program control system, and computer-readable storage medium
US20230181906A1 (en) Methods and systems for monitoring or assessing movement disorders or other physiological parameters using a stimulation system
US20220230743A1 (en) Medical device management using risk control measures
US20220230742A1 (en) Medical device management
US11890468B1 (en) Neurostimulation systems with event pattern detection and classification
EP2274049A2 (en) Timing therapy evaluation trials
CN116936060A (en) Fault detection method and related device for medical system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23849485

Country of ref document: EP

Kind code of ref document: A1