[go: up one dir, main page]

CN115430053A - Pulse generator, stimulator, medical system and computer readable storage medium - Google Patents

Pulse generator, stimulator, medical system and computer readable storage medium Download PDF

Info

Publication number
CN115430053A
CN115430053A CN202211291000.2A CN202211291000A CN115430053A CN 115430053 A CN115430053 A CN 115430053A CN 202211291000 A CN202211291000 A CN 202211291000A CN 115430053 A CN115430053 A CN 115430053A
Authority
CN
China
Prior art keywords
pulse generator
mri
mode
preset
mode control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211291000.2A
Other languages
Chinese (zh)
Inventor
陈晶华
王帝
朱为然
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sceneray Co Ltd
Original Assignee
Sceneray Co Ltd
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 Sceneray Co Ltd filed Critical Sceneray Co Ltd
Priority to CN202211291000.2A priority Critical patent/CN115430053A/en
Publication of CN115430053A publication Critical patent/CN115430053A/en
Priority to CN202311360154.7A priority patent/CN117942497A/en
Priority to PCT/CN2023/125439 priority patent/WO2024083193A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N1/00Electrotherapy; Circuits therefor
    • A61N1/18Applying electric currents by contact electrodes
    • A61N1/32Applying electric currents by contact electrodes alternating or intermittent currents
    • A61N1/36Applying electric currents by contact electrodes alternating or intermittent currents for stimulation
    • A61N1/3605Implantable neurostimulators for stimulating central or peripheral nerve system
    • 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/36062Spinal 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
    • A61N1/3606Implantable neurostimulators for stimulating central or peripheral nerve system adapted for a particular treatment
    • A61N1/36064Epilepsy
    • 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/3606Implantable neurostimulators for stimulating central or peripheral nerve system adapted for a particular treatment
    • A61N1/36071Pain
    • 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/36082Cognitive or psychiatric applications, e.g. dementia or Alzheimer's 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/3606Implantable neurostimulators for stimulating central or peripheral nerve system adapted for a particular treatment
    • A61N1/36082Cognitive or psychiatric applications, e.g. dementia or Alzheimer's disease
    • A61N1/36092Mental training
    • 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/36082Cognitive or psychiatric applications, e.g. dementia or Alzheimer's disease
    • A61N1/36096Mood disorders, e.g. depression, anxiety or panic disorder
    • 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/36103Neuro-rehabilitation; Repair or reorganisation of neural tissue, e.g. after stroke
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N1/00Electrotherapy; Circuits therefor
    • A61N1/18Applying electric currents by contact electrodes
    • A61N1/32Applying electric currents by contact electrodes alternating or intermittent currents
    • A61N1/36Applying electric currents by contact electrodes alternating or intermittent currents for stimulation
    • A61N1/3605Implantable neurostimulators for stimulating central or peripheral nerve system
    • A61N1/36128Control systems
    • A61N1/36135Control systems using physiological parameters
    • 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/362Heart stimulators
    • A61N1/365Heart stimulators controlled by a physiological parameter, e.g. heart potential

Landscapes

  • Health & Medical Sciences (AREA)
  • Neurology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Neurosurgery (AREA)
  • Public Health (AREA)
  • General Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Radiology & Medical Imaging (AREA)
  • Veterinary Medicine (AREA)
  • Animal Behavior & Ethology (AREA)
  • Hospice & Palliative Care (AREA)
  • Psychiatry (AREA)
  • Psychology (AREA)
  • Child & Adolescent Psychology (AREA)
  • Developmental Disabilities (AREA)
  • Biophysics (AREA)
  • Cardiology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Physiology (AREA)
  • Pain & Pain Management (AREA)
  • Orthopedic Medicine & Surgery (AREA)
  • Rehabilitation Therapy (AREA)
  • Electrotherapy Devices (AREA)

Abstract

本申请提供了脉冲发生器、刺激器、医疗系统及计算机可读存储介质,脉冲发生器包括存储器和处理器,所述处理器被配置成:响应于MRI模式控制指令,进入MRI模式,停止接收外部设备发送的信息,并开始预设持续时长的倒计时;当倒计时未结束时,以预设频率将倒计时的实时剩余时长发送至预设的接收设备,以使所述接收设备显示所述实时剩余时长,所述接收设备包括模式控制设备、程控设备和显示设备中的一种或多种;当倒计时结束时,退出MRI模式,恢复接收外部设备发送的信息。脉冲发生器在MRI模式中不断向接收设备发送实时剩余时长,当接收设备所显示的实时剩余时长未实时更新时,照护人员可及时发现脉冲发生器已损坏的情况。

Figure 202211291000

The application provides a pulse generator, a stimulator, a medical system, and a computer-readable storage medium. The pulse generator includes a memory and a processor, and the processor is configured to: respond to an MRI mode control instruction, enter the MRI mode, and stop receiving The information sent by the external device, and start the countdown of the preset duration; when the countdown is not over, send the real-time remaining duration of the countdown to the preset receiving device at the preset frequency, so that the receiving device displays the real-time remaining duration, the receiving device includes one or more of a mode control device, a program-controlled device and a display device; when the countdown ends, exit the MRI mode and resume receiving information sent by an external device. In the MRI mode, the pulse generator continuously sends the real-time remaining time to the receiving device. When the real-time remaining time displayed by the receiving device is not updated in real time, the caregiver can find out that the pulse generator is damaged in time.

Figure 202211291000

Description

脉冲发生器、刺激器、医疗系统及计算机可读存储介质Pulse generator, stimulator, medical system and computer readable storage medium

技术领域technical field

本申请涉及植入式器械、脑深部电刺激、深度学习的技术领域,尤其涉及脉冲发生器、刺激器、医疗系统及计算机可读存储介质。This application relates to the technical fields of implantable devices, deep brain stimulation, and deep learning, and in particular to pulse generators, stimulators, medical systems, and computer-readable storage media.

背景技术Background technique

随着科技发展和社会进步,患者渴望通过各种治疗手段来提高生命质量,其中医疗器械,尤其是植入式器械的应用前景非常广阔。植入式器械是指借助手术全部或者部分进入人体内或腔道(口)中,或者用于替代人体上皮表面或眼表面,并且在手术过程结束后留在人体内30日(含)以上或者被人体吸收的医疗器械。刺激器是植入式器械的一种,刺激器通常包括IPG(Implantable Pulse Generator,植入式脉冲发生器)、延伸导线和电极导线,能够为患者提供参数可控的精细化电刺激治疗,在市场上受到众多消费者的欢迎。With the development of science and technology and social progress, patients are eager to improve the quality of life through various treatment methods, among which medical devices, especially implantable devices, have a very broad application prospect. Implantable devices refer to those that enter the human body or cavity (mouth) in whole or in part by means of surgery, or are used to replace the epithelial surface of the human body or the surface of the eye, and remain in the human body for more than 30 days (inclusive) after the surgical process, or Medical devices absorbed by the body. A stimulator is a type of implantable device. The stimulator usually includes an IPG (Implantable Pulse Generator, implantable pulse generator), extension wires, and electrode wires. It can provide patients with fine-tuned electrical stimulation therapy with controllable parameters. It is welcomed by many consumers in the market.

植入物(即植入式器械)进入MRI(Magnetic Resonance Imaging,磁共振成像)设备后可能会受影响甚至损坏。具体而言,患者或患者身体的特定部分置于MRI设备中时,MRI设备产生各种磁场和电磁场以获得患者的图像,包括静态磁场、梯度磁场、以及射频(RF)场。如果患者体内有植入物存在,则由MRI设备产生的各种场可能影响植入物的电刺激治疗,会导致植入物在不需要时递送治疗,或在需要时不递送治疗。Implants (i.e., implantable devices) may be affected or even damaged after entering MRI (Magnetic Resonance Imaging, Magnetic Resonance Imaging) equipment. Specifically, when a patient or a specific part of the patient's body is placed in the MRI apparatus, the MRI apparatus generates various magnetic and electromagnetic fields to obtain images of the patient, including static magnetic fields, gradient magnetic fields, and radio frequency (RF) fields. If an implant is present in a patient, the various fields generated by the MRI equipment may affect the implant's electrical stimulation therapy, causing the implant to deliver therapy when it is not needed, or not deliver therapy when it is needed.

专利CN106110503B公开了一种具有MRI模式的植入式医疗器械的工作方法,该植入式医疗器械包括体内植入装置和外设控制器,且该体内植入装置包括对外部强磁场敏感的电路元件;该植入式医疗器械的工作方法包括控制该体内植入装置的方法;该控制该体内植入装置的方法包括以下步骤:步骤S11,检测外部强磁场并判断是否检测到外部强磁场的存在,如果是,进入步骤S12,如果否,继续重复步骤S11;步骤S12,记录检测到外部强磁场的时间和体内植入装置的状态,标记处于强磁场环境,并进入步骤S13;步骤S13,切换为MRI模式,标记MRI模式切换事件,并进入步骤S14;步骤S14,判断外部强磁场是否消失,如果是,则进入步骤S15,如果否,则重复步骤S14;步骤S15,记录外部强磁场消失的时间和体内植入装置的状态,标记离开强磁场环境,并进入步骤S16;以及步骤S16,切换为正常模式,标记MRI模式切换事件,并返回步骤S11。该方法能够自动感应外部强磁场的存在并自动切换至MRI模式,并在MRI模式结束时通知外部设备。Patent CN106110503B discloses a working method of an implantable medical device with MRI mode. The implantable medical device includes an implanted device in the body and a peripheral controller, and the implanted device in the body includes a circuit that is sensitive to an external strong magnetic field components; the working method of the implantable medical device includes a method for controlling the implanted device in the body; the method for controlling the implanted device in the body includes the following steps: Step S11, detecting the external strong magnetic field and judging whether the external strong magnetic field is detected Exist, if yes, enter step S12, if no, continue to repeat step S11; step S12, record the time when the external strong magnetic field is detected and the state of the implanted device in the body, mark that it is in a strong magnetic field environment, and enter step S13; step S13, Switch to MRI mode, mark the MRI mode switching event, and enter step S14; step S14, judge whether the external strong magnetic field disappears, if yes, then enter step S15, if not, then repeat step S14; step S15, record the disappearance of the external strong magnetic field time and the state of the implanted device in the body, mark leaving the strong magnetic field environment, and enter step S16; and step S16, switch to normal mode, mark the MRI mode switching event, and return to step S11. The method can automatically sense the existence of an external strong magnetic field, automatically switch to the MRI mode, and notify the external device when the MRI mode ends.

基于此,本申请提供了脉冲发生器、刺激器、医疗系统及计算机可读存储介质,以改进现有技术。Based on this, the present application provides a pulse generator, a stimulator, a medical system and a computer-readable storage medium to improve the prior art.

发明内容Contents of the invention

本申请的目的在于提供脉冲发生器、刺激器、医疗系统及计算机可读存储介质,脉冲发生器在MRI模式中不断向指定的外部设备发送实时剩余时长,当接收设备所显示的实时剩余时长未实时更新时,照护人员可及时发现脉冲发生器已损坏的情况。The purpose of this application is to provide a pulse generator, a stimulator, a medical system, and a computer-readable storage medium. In the MRI mode, the pulse generator continuously sends the real-time remaining duration to a specified external device. When the real-time remaining duration displayed by the receiving device is not When updated in real time, caregivers can promptly discover when the pulse generator is damaged.

本申请的目的采用以下技术方案实现:The purpose of this application adopts following technical scheme to realize:

第一方面,本申请提供了一种脉冲发生器,所述脉冲发生器用于植入于患者体内,所述脉冲发生器包括存储器和处理器,所述存储器存储有计算机程序,所述处理器被配置成执行所述计算机程序时实现以下步骤:In a first aspect, the present application provides a pulse generator, the pulse generator is used to be implanted in a patient, the pulse generator includes a memory and a processor, the memory stores a computer program, and the processor is controlled by When configured to execute the computer program, the following steps are implemented:

响应于MRI模式控制指令,进入MRI模式,停止接收外部设备发送的信息,并开始预设持续时长的倒计时,所述MRI模式控制指令用于指示所述脉冲发生器的MRI模式的预设持续时长;In response to the MRI mode control command, enter the MRI mode, stop receiving information sent by the external device, and start the countdown of the preset duration, the MRI mode control command is used to indicate the preset duration of the MRI mode of the pulse generator ;

当倒计时未结束时,以预设频率将倒计时的实时剩余时长发送至预设的接收设备,以使所述接收设备显示所述实时剩余时长,所述接收设备包括模式控制设备、程控设备和显示设备中的一种或多种;When the countdown is not over, the real-time remaining duration of the countdown is sent to a preset receiving device at a preset frequency, so that the receiving device displays the real-time remaining duration, and the receiving device includes a mode control device, a program-controlled device and a display one or more of the devices;

当倒计时结束时,退出MRI模式,恢复接收外部设备发送的信息。When the countdown is over, exit the MRI mode and resume receiving the information sent by the external device.

现有技术没有考虑到脉冲发生器在MRI检测过程中可能已经发生损坏的情况,也没有考虑到脉冲发生器发生损坏后如何尽快通知照护人员该情况以便于医护人员做出应对措施(例如是更换或维修脉冲发生器),因此市面上的脉冲发生器在MRI模式中途并不会主动向外部设备以固定频率不间断地发送实时剩余时长。有的脉冲发生器可以在MRI模式结束后向外部设备发送通知信息,但假如此时脉冲发生器已经损坏,则无法顺利发送通知信息,即使照护人员能够通过始终未接收到通知信息或者程控失败等途径、被动地发现脉冲发生器已经损坏,获悉时机也落后于脉冲发生器的实际损坏时刻,也就是说,无法为维修或更换脉冲发生器等应对措施做出提前准备,而这可能耽误患者病情或者引发更严重的后果,因为使用脉冲发生器的患者对电刺激治疗的需求可能是非常紧迫的,例如重症强迫症患者、狂躁症患者或者戒毒人员,一旦不能及时恢复电刺激治疗,则可能会影响这些患者的病情稳定甚至导致其病情复发。这些隐患造成的顾虑将会导致相应患者的家属较难接受必要的MRI检测,从而不利于医生获取必要的MRI数据,不利于医生对患者进行精准地诊断、治疗以改善患者的生命质量。The prior art does not take into account that the pulse generator may have been damaged during the MRI detection process, nor does it consider how to notify the nursing staff of the situation as soon as possible after the pulse generator is damaged so that the medical staff can take countermeasures (such as replacing or maintain the pulse generator), so the pulse generator on the market will not actively send the real-time remaining duration to the external device at a fixed frequency in the middle of the MRI mode. Some pulse generators can send notification information to external devices after the end of the MRI mode, but if the pulse generator is damaged at this time, the notification information cannot be sent smoothly, even if the caregiver can pass the notification information or program control failure, etc. Passively find that the pulse generator has been damaged, and the timing of learning is also behind the actual damage time of the pulse generator, that is to say, it is impossible to make advance preparations for countermeasures such as repairing or replacing the pulse generator, which may delay the patient's condition Or lead to more serious consequences, because patients who use pulse generators may have very urgent needs for electrical stimulation therapy, such as patients with severe obsessive-compulsive disorder, manic patients, or drug addicts. It affects the stability of these patients' condition and even leads to the recurrence of their condition. The concerns caused by these hidden dangers will make it difficult for the family members of the corresponding patients to receive the necessary MRI testing, which is not conducive to the doctor's acquisition of the necessary MRI data, and is not conducive to the doctor's accurate diagnosis and treatment of the patient to improve the quality of life of the patient.

该技术方案的有益效果在于:脉冲发生器在MRI模式中不断向指定的外部设备(即接收设备)发送实时剩余时长,当接收设备所显示的实时剩余时长未实时更新时,照护人员可及时发现脉冲发生器已损坏的情况。The beneficial effect of this technical solution is that: in the MRI mode, the pulse generator continuously sends the real-time remaining duration to the designated external device (ie, the receiving device). When the real-time remaining duration displayed by the receiving device is not updated in real time, the nursing staff can find out in time A condition where the pulse generator is damaged.

植入于患者体内的脉冲发生器具有MRI模式,进入MRI模式后,脉冲发生器会不响应所有外部设备,因此,外部设备不能对其(即脉冲发生器)进行信息获取,无法主动获取脉冲发生器的情况,不知道脉冲发生器的MRI模式的实时剩余时长,医生等照护人员无法精准安排MRI检测结束后的程控、护理等工作,因此需要脉冲发生器主动将实时剩余时长推送给接收设备。The pulse generator implanted in the patient has an MRI mode. After entering the MRI mode, the pulse generator will not respond to any external equipment. Therefore, the external equipment cannot obtain information about it (that is, the pulse generator), and cannot actively obtain pulse generation. Due to the situation of the pulse generator, the real-time remaining time of the MRI mode of the pulse generator is unknown, and doctors and other nursing staff cannot accurately arrange the program control and nursing after the MRI test. Therefore, the pulse generator needs to actively push the real-time remaining time to the receiving device.

具体而言,脉冲发生器主动推送实时剩余时长的过程如下:在接收到MRI模式控制指令后,脉冲发生器会进入MRI模式,此时处理器停止接收任意外部设备(包括模式控制设备在内的所有外部设备)发送的信息,并对MRI模式进行倒计时(例如是预设持续时长,可以是10分钟、20分钟、30分钟等),并在MRI模式中以预设频率(例如是1Hz或者0.5Hz,对应的预设间隔时长例如是1秒或者2秒)不断向接收设备发送实时剩余时长,使得照护人员可以通过接收设备实时观察实时剩余时长的变化情况。一旦接收设备所显示的该脉冲发生器的实时剩余时长没有实时更新或无法显示该脉冲发生器的实时剩余时长,则表明脉冲发生器已无法正常运行,可能已经发生损坏,因此,采用本申请的脉冲发生器便于照护人员在MRI模式中及时发现脉冲发生器发生损坏的情况。Specifically, the process of the pulse generator actively pushing the real-time remaining duration is as follows: After receiving the MRI mode control command, the pulse generator will enter the MRI mode, and the processor stops receiving any external device (including the mode control device). information sent by all external devices), and count down the MRI mode (for example, the preset duration, which can be 10 minutes, 20 minutes, 30 minutes, etc.), and in the MRI mode at a preset frequency (for example, 1Hz or 0.5 Hz, the corresponding preset interval length is, for example, 1 second or 2 seconds) to continuously send the real-time remaining time to the receiving device, so that the caregiver can observe the change of the real-time remaining time in real time through the receiving device. Once the real-time remaining time of the pulse generator displayed by the receiving device is not updated in real time or cannot display the real-time remaining time of the pulse generator, it indicates that the pulse generator cannot operate normally and may have been damaged. The pulse generator makes it easy for caregivers to detect damage to the pulse generator in time in MRI mode.

另外,当倒计时结束时,脉冲发生器可以自动退出MRI模式,处理器恢复接收外部设备发送的信息。如果MRI检测没有导致脉冲发生器发生损坏,则可以尽快恢复脉冲发生器的电刺激治疗功能。医生还可以利用程控设备与脉冲发生器建立程控连接,针对患者的当前病情做出相应的程控操作,程控设备将程控操作对应的程控指令发送至脉冲发生器,而脉冲发生器在接收到程控设备发送的程控指令后,对脉冲发生器的一个或多个刺激参数进行配置,以向患者的体内组织(例如是脑组织、脊髓神经组织、骶神经组织等)递送刺激参数对应的电刺激治疗,从而缓解患者的病痛,控制患者的病情。In addition, when the countdown ends, the pulse generator can automatically exit the MRI mode, and the processor resumes receiving information sent by the external device. If the MRI detection does not cause damage to the pulse generator, the electrical stimulation therapy function of the pulse generator can be restored as soon as possible. The doctor can also use the program-controlled device to establish a program-controlled connection with the pulse generator, and make corresponding program-controlled operations according to the patient's current condition. The program-controlled device sends the program-controlled instructions corresponding to the program-controlled operation to the pulse generator, and the pulse generator receives After the programmed instruction is sent, one or more stimulation parameters of the pulse generator are configured to deliver electrical stimulation therapy corresponding to the stimulation parameters to tissues in the patient's body (such as brain tissue, spinal nerve tissue, sacral nerve tissue, etc.), So as to alleviate the patient's pain and control the patient's condition.

在一些可选的实施方式中,所述处理器被配置成执行所述计算机程序时采用以下方式响应于MRI模式控制指令,进入MRI模式:In some optional implementation manners, the processor is configured to enter the MRI mode in response to the MRI mode control instruction in the following manner when executing the computer program:

响应于所述MRI模式控制指令,检测所述脉冲发生器的电量是否不小于预设电量阈值;Responding to the MRI mode control command, detecting whether the power of the pulse generator is not less than a preset power threshold;

如果所述脉冲发生器的电量不小于所述预设电量阈值,则进入MRI模式;If the power of the pulse generator is not less than the preset power threshold, enter the MRI mode;

所述处理器还被配置成执行所述计算机程序时实现以下步骤:The processor is also configured to implement the following steps when executing the computer program:

如果所述脉冲发生器的电量小于所述预设电量阈值,则向所述接收设备发送第一提示信息,所述第一提示信息用于指示所述脉冲发生器的电量小于所述预设电量阈值。If the electric quantity of the pulse generator is less than the preset electric quantity threshold, then send first prompt information to the receiving device, the first prompt information is used to indicate that the electric quantity of the pulse generator is less than the preset electric quantity threshold.

该技术方案的有益效果在于:由于进入MRI模式之后要有一定的电量才能不断向接收设备发送信息(即实时剩余时长),因此在进入MRI模式之前可以检测是否具有相应电量,避免由于电量不足导致未能向外部设备发送信息,排除电量因素导致误判脉冲发生器损坏的情况。The beneficial effect of this technical solution is: since entering the MRI mode requires a certain amount of power to continuously send information to the receiving device (that is, the real-time remaining duration), it can be detected whether there is corresponding power before entering the MRI mode, so as to avoid problems caused by insufficient power. Failed to send information to the external device, ruled out the power factor caused by misjudgment of the damage of the pulse generator.

在一些可选的实施方式中,所述处理器被配置成执行所述计算机程序时采用以下方式获取所述预设电量阈值:In some optional implementation manners, the processor is configured to acquire the preset power threshold in the following manner when executing the computer program:

基于所述预设持续时长和预设的单位时间耗电量,获取所述预设电量阈值。The preset power threshold is acquired based on the preset duration and the preset power consumption per unit time.

该技术方案的有益效果在于:针对不同的预设持续时长,设置不同的预设电量阈值,以满足脉冲发生器在MRI模式期间对外发送信息的耗电需求。例如当MRI模式的预设持续时长较长时,设置较高的预设电量阈值(取值范围例如是50-80%);当MRI模式的预设持续时长较短时,设置较低的预设电量阈值(取值范围例如是10-30%)。单位时间耗电量是指预先获取的脉冲发生器在单位时间内的耗电量,可以通过实验或者在实践过程中测量得到。在一些实施方式中,可以将预设持续时长和单位时间耗电量输入预设多项式以计算得到预设电量阈值,该预设多项式可以是线性多项式或者非线性多项式。在另一些实施方式中,可以将预设持续时长和单位时间耗电量输入电量阈值模型以得到预设电量阈值,该电量阈值模型可以是利用训练集对预设的深度学习模型进行训练得到的。The beneficial effect of the technical solution is that: for different preset durations, different preset power thresholds are set to meet the power consumption requirements of the pulse generator for sending information externally during the MRI mode. For example, when the preset duration of the MRI mode is longer, a higher preset power threshold (value range is, for example, 50-80%) is set; when the preset duration of the MRI mode is shorter, a lower preset threshold is set. Set a power threshold (value range is, for example, 10-30%). The power consumption per unit time refers to the power consumption per unit time of the pre-acquired pulse generator, which can be measured through experiments or in practice. In some implementations, the preset duration and power consumption per unit time may be input into a preset polynomial to calculate the preset power threshold, and the preset polynomial may be a linear polynomial or a nonlinear polynomial. In other embodiments, the preset duration and power consumption per unit time can be input into the power threshold model to obtain the preset power threshold model, which can be obtained by using the training set to train the preset deep learning model .

在一些可选的实施方式中,所述处理器被配置成执行所述计算机程序时采用以下方式响应于MRI模式控制指令,进入MRI模式:In some optional implementation manners, the processor is configured to enter the MRI mode in response to the MRI mode control instruction in the following manner when executing the computer program:

响应于所述MRI模式控制指令,检测所述脉冲发生器的每个刺激参数是否处于对应的预设范围;Responding to the MRI mode control instruction, detecting whether each stimulation parameter of the pulse generator is within a corresponding preset range;

如果所有刺激参数均处于对应的预设范围,则进入MRI模式;If all stimulation parameters are in the corresponding preset range, enter the MRI mode;

所述处理器还被配置成执行所述计算机程序时实现以下步骤:The processor is also configured to implement the following steps when executing the computer program:

如果一个或多个刺激参数不处于对应的预设范围,则向所述接收设备发送第二提示信息,所述第二提示信息用于指示不处于自身对应的预设范围的刺激参数。If one or more stimulation parameters are not within the corresponding preset range, sending second prompt information to the receiving device, where the second prompt information is used to indicate the stimulation parameters that are not within the corresponding preset range.

该技术方案的有益效果在于:在MRI模式下,患者全身或特定部位进入MRI设备中,外部场可能会导致植入于患者体内的脉冲发生器所产生的电磁场发生波动,这种波动可能会影响脉冲发生器的电刺激治疗效果,甚至造成人体损伤。因此可以使脉冲发生器的各刺激参数处于给定的预设范围内,再进入MRI模式,其中,预设范围是预先设定的取值范围(取值范围可以是数值取值范围或者非数值取值范围),当各刺激参数处于自身对应的预设范围时,脉冲发生器不产生电磁场或者所产生的电磁场能够较少受到MRI设备干扰。即,可以提前关掉脉冲发生器(使各刺激参数为0、为空或者采用缺省选项),停止电刺激治疗,再进入MRI模式。The beneficial effect of this technical solution is that: in the MRI mode, when the patient's whole body or specific parts enter the MRI equipment, the external field may cause the electromagnetic field generated by the pulse generator implanted in the patient to fluctuate, and this fluctuation may affect The electrical stimulation therapy effect of the pulse generator can even cause damage to the human body. Therefore, each stimulation parameter of the pulse generator can be within a given preset range, and then enter the MRI mode, wherein the preset range is a preset value range (the value range can be a numerical value range or a non-numeric value value range), when each stimulation parameter is within its corresponding preset range, the pulse generator does not generate an electromagnetic field or the generated electromagnetic field can be less interfered by the MRI equipment. That is, the pulse generator can be turned off in advance (make each stimulation parameter 0, empty or use the default option), stop the electrical stimulation treatment, and then enter the MRI mode.

在一些可选的实施方式中,所述处理器还被配置成执行所述计算机程序时采用以下方式确定所述脉冲发生器的每个刺激参数的参数值:In some optional implementations, the processor is further configured to determine the parameter value of each stimulation parameter of the pulse generator in the following manner when executing the computer program:

利用植入于所述患者体内的电极导线感测所述患者的电生理活动,以得到所述患者的电生理信号;sensing the electrophysiological activity of the patient by using an electrode lead implanted in the patient to obtain an electrophysiological signal of the patient;

将所述患者的电生理信号输入至状态分类模型,以得到所述电生理信号对应的状态分类信息;Inputting the electrophysiological signal of the patient into a state classification model to obtain state classification information corresponding to the electrophysiological signal;

当所述电生理信号对应的状态分类信息用于指示所述患者的病情未得到控制时,将所述电生理信号输入至参数配置模型,以得到所述电生理信号对应的参数配置信息,从而利用所述电极导线向所述患者递送所述参数配置信息对应的电刺激,所述参数配置信息用于指示所述脉冲发生器的每个刺激参数的参数值。When the state classification information corresponding to the electrophysiological signal is used to indicate that the condition of the patient is not under control, the electrophysiological signal is input into the parameter configuration model to obtain the parameter configuration information corresponding to the electrophysiological signal, so that The electrical stimulation corresponding to the parameter configuration information is delivered to the patient by using the electrode lead, and the parameter configuration information is used to indicate a parameter value of each stimulation parameter of the pulse generator.

该技术方案的有益效果在于:基于实时感测得到的电生理信号对患者的状态进行分类,状态分类信息用于指示患者的病情得到控制或者患者的病情未得到控制;当患者的病情未得到控制时,基于实时感测得到的电生理信号获取对应的参数配置信息,从而向患者递送该参数配置信息对应的电刺激。为获取参数配置信息设置了一个前提条件,即基于患者的电生理信号检测出患者的病情未得到控制时,才会获取参数配置信息,而当患者的病情得到控制时,不获取参数配置信息。这样做的好处是,可以减少参数配置信息的获取次数,减少脉冲发生器的计算量,减少耗电,延长充电型脉冲发生器的充电间隔或者延长非充电型脉冲发生器的使用寿命。其中,利用状态分类模型和参数配置模型来分别获取状态分类信息和参数配置信息,实时性强,准确度高,适用范围广。The beneficial effect of the technical solution is that the state of the patient is classified based on the electrophysiological signals sensed in real time, and the state classification information is used to indicate that the patient's condition is under control or that the patient's condition is not under control; when the patient's condition is not under control , the corresponding parameter configuration information is obtained based on the electrophysiological signal sensed in real time, so as to deliver the electrical stimulation corresponding to the parameter configuration information to the patient. A precondition is set for obtaining the parameter configuration information, that is, the parameter configuration information will only be obtained when it is detected that the patient's condition is not under control based on the patient's electrophysiological signal, and the parameter configuration information will not be obtained when the patient's condition is under control. The advantage of doing this is that it can reduce the number of acquisitions of parameter configuration information, reduce the amount of calculation of the pulse generator, reduce power consumption, prolong the charging interval of the rechargeable pulse generator or prolong the service life of the non-rechargeable pulse generator. Among them, using the state classification model and the parameter configuration model to obtain state classification information and parameter configuration information respectively has strong real-time performance, high accuracy and wide application range.

在一些可选的实施方式中,所述脉冲发生器还包括无线通信模块;In some optional implementation manners, the pulse generator also includes a wireless communication module;

所述处理器被配置成执行所述计算机程序时采用以下方式停止接收外部设备发送的信息:The processor is configured to stop receiving information sent by the external device in the following manner when executing the computer program:

禁用所述无线通信模块的接收功能;Disable the receiving function of the wireless communication module;

所述处理器被配置成执行所述计算机程序时采用以下方式恢复接收外部设备发送的信息:The processor is configured to resume receiving information sent by the external device in the following manner when executing the computer program:

启用所述无线通信模块的接收功能。Enable the receiving function of the wireless communication module.

该技术方案的有益效果在于:由于脉冲发生器植入于患者体内,脉冲发生器和外部设备之间采用无线通信方式,因此,禁用所述无线通信模块的接收功能,就可以使处理器停止接收外部设备发送的信息,相应地,启用所述无线通信模块的接收功能,就可以使处理器恢复接收外部设备发送的信息。The beneficial effect of this technical solution is that: since the pulse generator is implanted in the patient's body, the pulse generator and the external device adopt a wireless communication mode, therefore, disabling the receiving function of the wireless communication module can make the processor stop receiving For the information sent by the external device, correspondingly, enabling the receiving function of the wireless communication module enables the processor to resume receiving the information sent by the external device.

在一些可选的实施方式中,所述处理器被配置成执行所述计算机程序时采用以下方式禁用所述无线通信模块的接收功能:In some optional implementation manners, the processor is configured to disable the receiving function of the wireless communication module in the following manner when executing the computer program:

向所述无线通信模块发送第一使能信号,以禁用所述无线通信模块的接收功能;sending a first enabling signal to the wireless communication module to disable the receiving function of the wireless communication module;

所述处理器被配置成执行所述计算机程序时采用以下方式启用所述无线通信模块的接收功能:The processor is configured to enable the receiving function of the wireless communication module in the following manner when executing the computer program:

向所述无线通信模块发送第二使能信号,以启用所述无线通信模块的接收功能。sending a second enabling signal to the wireless communication module to enable the receiving function of the wireless communication module.

该技术方案的有益效果在于:通过第一使能信号和第二使能信号分别控制无线通信模块的接收功能的禁用和启用,控制过程简单,容易实现。第一使能信号例如是高电平,第二使能信号例如是低电平;或者,第一使能信号例如是低电平,第二使能信号例如是高电平。The beneficial effect of the technical solution lies in that the disabling and enabling of the receiving function of the wireless communication module are controlled respectively by the first enabling signal and the second enabling signal, and the control process is simple and easy to implement. The first enable signal is, for example, a high level, and the second enable signal is, for example, a low level; or, the first enable signal is, for example, a low level, and the second enable signal is, for example, a high level.

在一些可选的实施方式中,所述脉冲发生器具有MRI模式、休眠模式、快速侦听模式和通信模式;In some optional embodiments, the pulse generator has an MRI mode, a sleep mode, a fast listening mode and a communication mode;

所述处理器被配置成执行所述计算机程序时采用以下方式接收MRI模式控制指令:The processor is configured to receive the MRI mode control instruction in the following manner when executing the computer program:

当检测到有磁体靠近所述脉冲发生器时,将所述脉冲发生器从休眠模式切换为快速侦听模式,所述脉冲发生器在休眠模式下的侦听周期是第一预设时长,所述脉冲发生器在快速侦听模式下的侦听周期是第二预设时长,所述第二预设时长小于所述第一预设时长;When it is detected that there is a magnet close to the pulse generator, the pulse generator is switched from the sleep mode to the fast listening mode, and the listening period of the pulse generator in the sleep mode is the first preset duration, so The listening period of the pulse generator in the fast listening mode is a second preset duration, and the second preset duration is shorter than the first preset duration;

在快速侦听模式下建立所述脉冲发生器和所述模式控制设备之间的通信连接,以使所述脉冲发生器进入通信模式;establishing a communication connection between the pulse generator and the mode control device in a fast listening mode, so that the pulse generator enters a communication mode;

在通信模式下接收所述MRI模式控制指令。The MRI mode control instruction is received in a communication mode.

该技术方案的有益效果在于:在休眠模式下脉冲发生器的侦听周期较长,可能需要较长时间才能被模式控制设备搜索到;而在快速侦听模式下脉冲发生器的侦听周期较短,能够快速被模式控制设备搜索到。因此,当需要对指定的脉冲发生器进行MRI模式控制时,可以利用磁体靠近脉冲发生器,将脉冲发生器从休眠模式切换为快速侦听模式,建立通信连接,并在通信模式下接收MRI模式控制指令。这样做的好处是,能够使指定的脉冲发生器快速被模式控制设备搜索到,并执行MRI模式控制,提高MRI模式控制效率,减少患者等待进入MRI设备的时间,从整体上辅助患者快速完成MRI检测过程,并恢复正常的电刺激治疗,减少患者的心理压力,有助于稳定患者的病情,特别是对于重度强迫症患者或者戒毒人员等对电刺激治疗依赖程度较深的患者。The beneficial effect of this technical solution is: the listening period of the pulse generator is longer in sleep mode, and it may take a long time to be searched by the mode control device; and the listening period of the pulse generator is shorter in the fast listening mode. Short and can be quickly searched by the mode control device. Therefore, when MRI mode control of a specified pulse generator is required, a magnet can be used to approach the pulse generator, switch the pulse generator from sleep mode to fast listening mode, establish a communication connection, and receive MRI mode in communication mode Control instruction. The advantage of this is that the specified pulse generator can be quickly searched by the mode control device, and the MRI mode control can be performed, which improves the efficiency of MRI mode control, reduces the time for patients to wait for access to the MRI equipment, and assists patients to quickly complete MRI as a whole. The detection process and normal electrical stimulation therapy can reduce the patient’s psychological pressure and help stabilize the patient’s condition, especially for patients with severe obsessive-compulsive disorder or drug addicts who rely heavily on electrical stimulation therapy.

第二方面,本申请提供了一种脉冲发生器的通信方法,所述脉冲发生器用于植入于患者体内,所述方法包括:In a second aspect, the present application provides a communication method of a pulse generator, the pulse generator is used to be implanted in a patient, and the method includes:

响应于MRI模式控制指令,进入MRI模式,停止接收外部设备发送的信息,并开始预设持续时长的倒计时,所述MRI模式控制指令用于指示所述脉冲发生器的MRI模式的预设持续时长;In response to the MRI mode control command, enter the MRI mode, stop receiving information sent by the external device, and start the countdown of the preset duration, the MRI mode control command is used to indicate the preset duration of the MRI mode of the pulse generator ;

当倒计时未结束时,以预设频率将倒计时的实时剩余时长发送至预设的接收设备,以使所述接收设备显示所述实时剩余时长,所述接收设备包括模式控制设备、程控设备和显示设备中的一种或多种;When the countdown is not over, the real-time remaining duration of the countdown is sent to a preset receiving device at a preset frequency, so that the receiving device displays the real-time remaining duration, and the receiving device includes a mode control device, a program-controlled device and a display one or more of the devices;

当倒计时结束时,退出MRI模式,恢复接收外部设备发送的信息。When the countdown is over, exit the MRI mode and resume receiving the information sent by the external device.

在一些可选的实施方式中,所述响应于MRI模式控制指令,进入MRI模式,包括:In some optional implementation manners, the entering the MRI mode in response to the MRI mode control instruction includes:

响应于所述MRI模式控制指令,检测所述脉冲发生器的电量是否不小于预设电量阈值;Responding to the MRI mode control command, detecting whether the power of the pulse generator is not less than a preset power threshold;

如果所述脉冲发生器的电量不小于所述预设电量阈值,则进入MRI模式;If the power of the pulse generator is not less than the preset power threshold, enter the MRI mode;

所述方法还包括:The method also includes:

如果所述脉冲发生器的电量小于所述预设电量阈值,则向所述接收设备发送第一提示信息,所述第一提示信息用于指示所述脉冲发生器的电量小于所述预设电量阈值。If the electric quantity of the pulse generator is less than the preset electric quantity threshold, then send first prompt information to the receiving device, the first prompt information is used to indicate that the electric quantity of the pulse generator is less than the preset electric quantity threshold.

在一些可选的实施方式中,获取所述预设电量阈值的过程包括:In some optional implementation manners, the process of obtaining the preset power threshold includes:

基于所述预设持续时长和预设的单位时间耗电量,获取所述预设电量阈值。The preset power threshold is acquired based on the preset duration and the preset power consumption per unit time.

在一些可选的实施方式中,所述响应于MRI模式控制指令,进入MRI模式,包括:In some optional implementation manners, the entering the MRI mode in response to the MRI mode control instruction includes:

响应于所述MRI模式控制指令,检测所述脉冲发生器的每个刺激参数是否处于对应的预设范围;Responding to the MRI mode control instruction, detecting whether each stimulation parameter of the pulse generator is within a corresponding preset range;

如果所有刺激参数均处于对应的预设范围,则进入MRI模式;If all stimulation parameters are in the corresponding preset range, enter the MRI mode;

所述方法还包括:The method also includes:

如果一个或多个刺激参数不处于对应的预设范围,则向所述接收设备发送第二提示信息,所述第二提示信息用于指示不处于自身对应的预设范围的刺激参数。If one or more stimulation parameters are not within the corresponding preset range, sending second prompt information to the receiving device, where the second prompt information is used to indicate the stimulation parameters that are not within the corresponding preset range.

在一些可选的实施方式中,确定所述脉冲发生器的每个刺激参数的参数值的过程包括:In some optional implementation manners, the process of determining the parameter value of each stimulation parameter of the pulse generator includes:

利用植入于所述患者体内的电极导线感测所述患者的电生理活动,以得到所述患者的电生理信号;sensing the electrophysiological activity of the patient by using an electrode lead implanted in the patient to obtain an electrophysiological signal of the patient;

将所述患者的电生理信号输入至状态分类模型,以得到所述电生理信号对应的状态分类信息;Inputting the electrophysiological signal of the patient into a state classification model to obtain state classification information corresponding to the electrophysiological signal;

当所述电生理信号对应的状态分类信息用于指示所述患者的病情未得到控制时,将所述电生理信号输入至参数配置模型,以得到所述电生理信号对应的参数配置信息,从而利用所述电极导线向所述患者递送所述参数配置信息对应的电刺激,所述参数配置信息用于指示所述脉冲发生器的每个刺激参数的参数值。When the state classification information corresponding to the electrophysiological signal is used to indicate that the condition of the patient is not under control, the electrophysiological signal is input into the parameter configuration model to obtain the parameter configuration information corresponding to the electrophysiological signal, so that The electrical stimulation corresponding to the parameter configuration information is delivered to the patient by using the electrode lead, and the parameter configuration information is used to indicate a parameter value of each stimulation parameter of the pulse generator.

在一些可选的实施方式中,所述脉冲发生器还包括无线通信模块;In some optional implementation manners, the pulse generator also includes a wireless communication module;

停止接收外部设备发送的信息的过程包括:The process of stopping receiving information from external devices includes:

禁用所述无线通信模块的接收功能;Disable the receiving function of the wireless communication module;

恢复接收外部设备发送的信息的过程包括:The process of resuming receiving information sent by the external device includes:

启用所述无线通信模块的接收功能。Enable the receiving function of the wireless communication module.

在一些可选的实施方式中,所述禁用所述无线通信模块的接收功能,包括:In some optional implementation manners, the disabling the receiving function of the wireless communication module includes:

向所述无线通信模块发送第一使能信号,以禁用所述无线通信模块的接收功能;sending a first enabling signal to the wireless communication module to disable the receiving function of the wireless communication module;

所述启用所述无线通信模块的接收功能,包括:The enabling of the receiving function of the wireless communication module includes:

向所述无线通信模块发送第二使能信号,以启用所述无线通信模块的接收功能。sending a second enabling signal to the wireless communication module to enable the receiving function of the wireless communication module.

在一些可选的实施方式中,所述脉冲发生器具有MRI模式、休眠模式、快速侦听模式和通信模式;In some optional embodiments, the pulse generator has an MRI mode, a sleep mode, a fast listening mode and a communication mode;

接收MRI模式控制指令的过程包括:The process of receiving MRI mode control instructions includes:

当检测到有磁体靠近所述脉冲发生器时,将所述脉冲发生器从休眠模式切换为快速侦听模式,所述脉冲发生器在休眠模式下的侦听周期是第一预设时长,所述脉冲发生器在快速侦听模式下的侦听周期是第二预设时长,所述第二预设时长小于所述第一预设时长;When it is detected that there is a magnet close to the pulse generator, the pulse generator is switched from the sleep mode to the fast listening mode, and the listening period of the pulse generator in the sleep mode is the first preset duration, so The listening period of the pulse generator in the fast listening mode is a second preset duration, and the second preset duration is shorter than the first preset duration;

在快速侦听模式下建立所述脉冲发生器和所述模式控制设备之间的通信连接,以使所述脉冲发生器进入通信模式;establishing a communication connection between the pulse generator and the mode control device in a fast listening mode, so that the pulse generator enters a communication mode;

在通信模式下接收所述MRI模式控制指令。The MRI mode control instruction is received in a communication mode.

第三方面,本申请提供了一种刺激器,所述刺激器用于植入于患者体内,所述刺激器包括:In a third aspect, the present application provides a stimulator, the stimulator is used to be implanted in a patient, and the stimulator includes:

上述任一项脉冲发生器;Any of the above pulse generators;

电极导线,所述电极导线用于感测所述患者的电生理活动以得到电生理信号,以及向所述患者的体内组织递送电刺激。The electrode leads are used to sense the electrophysiological activity of the patient to obtain electrophysiological signals, and to deliver electrical stimulation to tissues in the patient's body.

在一些可选的实施方式中,所述刺激器还包括:In some optional embodiments, the stimulator also includes:

延伸导线,所述延伸导线设置于所述脉冲发生器和所述电极导线之间,所述延伸导线用于实现所述脉冲发生器和所述电极导线之间的通信连接。An extension wire, the extension wire is arranged between the pulse generator and the electrode wire, and the extension wire is used to realize the communication connection between the pulse generator and the electrode wire.

第四方面,本申请提供了一种医疗系统,所述医疗系统包括:In a fourth aspect, the present application provides a medical system, which includes:

上述任一项刺激器;Any of the above stimulators;

模式控制设备,所述模式控制设备被配置成向所述刺激器的脉冲发生器发送MRI模式控制指令,以及接收倒计时的实时剩余时长并实时显示所述实时剩余时长。A mode control device configured to send an MRI mode control instruction to the pulse generator of the stimulator, and receive the real-time remaining duration of the countdown and display the real-time remaining duration in real time.

在一些可选的实施方式中,所述模式控制设备被配置成采用以下方式向所述脉冲发生器发送MRI模式控制指令:In some optional implementation manners, the mode control device is configured to send an MRI mode control instruction to the pulse generator in the following manner:

响应于搜寻操作,搜寻处于侦听状态的脉冲发生器并实时显示;In response to the search operation, search for the pulse generator in the listening state and display it in real time;

响应于针对其中一个处于侦听状态的脉冲发生器的选择操作,建立所述模式控制设备和被选择的脉冲发生器之间的通信连接;In response to a selection operation for one of the pulse generators in the listening state, establishing a communication connection between the mode control device and the selected pulse generator;

响应于针对预设持续时长的设置操作,生成所述MRI模式控制指令,所述MRI模式控制指令用于指示所述脉冲发生器的MRI模式的预设持续时长;generating the MRI mode control instruction in response to the setting operation for the preset duration, the MRI mode control instruction is used to indicate the preset duration of the MRI mode of the pulse generator;

向被选择的脉冲发生器发送所述MRI模式控制指令。Sending the MRI mode control command to the selected pulse generator.

在一些可选的实施方式中,所述模式控制设备被配置成采用以下方式接收并显示所述实时剩余时长:In some optional implementation manners, the mode control device is configured to receive and display the real-time remaining duration in the following manner:

响应于接收MRI操作,搜寻处于MRI模式的脉冲发生器,接收并显示处于MRI模式的每个脉冲发生器的标识和实时剩余时长。In response to receiving the MRI operation, the pulse generators in the MRI mode are searched for, and the identification and real-time remaining duration of each pulse generator in the MRI mode is received and displayed.

在一些可选的实施方式中,所述医疗系统还包括:In some optional embodiments, the medical system also includes:

程控设备,所述程控设备被配置成与所述脉冲发生器建立通信连接,向所述脉冲发生器发送程控指令,以调整所述脉冲发生器的刺激参数。A program-controlled device, the program-controlled device is configured to establish a communication connection with the pulse generator, and send a program-controlled command to the pulse generator to adjust stimulation parameters of the pulse generator.

在一些可选的实施方式中,所述模式控制设备和所述程控设备结合为一体。In some optional implementation manners, the mode control device and the program control device are integrated into one body.

在一些可选的实施方式中,所述患者的疾病包括以下至少一种:In some optional embodiments, the patient's disease includes at least one of the following:

痉挛疾病、抑郁症、躁郁症、焦虑症、创伤后压力心理障碍症、强迫症、行为障碍、情绪障碍、记忆障碍、心理状态障碍、震颤、帕金森氏病、亨廷顿病、阿尔茨海默症、成瘾性疾病和孤独症。Spasticity Disorders, Depression, Bipolar Disorders, Anxiety Disorders, PTSD, OCD, Behavior Disorders, Mood Disorders, Memory Disorders, Mental Status Disorders, Tremors, Parkinson's Disease, Huntington's Disease, Alzheimer's disorders, addictive disorders, and autism.

第五方面,本申请提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述任一项方法的步骤或者实现上述任一项脉冲发生器的功能。In a fifth aspect, the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it realizes the steps of any of the above methods or realizes any of the above-mentioned function of the pulse generator.

附图说明Description of drawings

下面结合附图和实施方式对本申请进一步说明。The present application will be further described below in conjunction with the accompanying drawings and embodiments.

图1示出了本申请实施例提供的一种医疗系统的结构框图。Fig. 1 shows a structural block diagram of a medical system provided by an embodiment of the present application.

图2示出了本申请实施例提供的一种脉冲发生器的通信方法的流程示意图。Fig. 2 shows a schematic flowchart of a communication method for a pulse generator provided in an embodiment of the present application.

图3示出了本申请实施例提供的一种确定每个刺激参数的参数值的流程示意图。Fig. 3 shows a schematic flowchart of determining the parameter value of each stimulation parameter provided by the embodiment of the present application.

图4示出了本申请实施例提供的一种脉冲发生器的结构框图。Fig. 4 shows a structural block diagram of a pulse generator provided by an embodiment of the present application.

图5示出了本申请实施例提供的一种程序产品的结构示意图。FIG. 5 shows a schematic structural diagram of a program product provided by an embodiment of the present application.

具体实施方式detailed description

下面将结合本申请的说明书附图以及具体实施方式,对本申请中的技术方案进行描述,需要说明的是,在不相冲突的前提下,以下描述的各实施方式之间或各技术特征之间可以任意组合形成新的实施方式。The following will describe the technical solutions in this application in conjunction with the description, drawings and specific implementation methods of the application. Any combination forms a new embodiment.

在本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,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 embodiments of the present application, "at least one" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of 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. The character "/" generally indicates that the contextual objects are an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one item (piece) of a, b or c can represent: a, b, c, a and b, a and c, b and c, a and b and c, wherein a, b and c can be It can be single or multiple. It should be noted that "at least one item (item)" can also be interpreted as "one item (item) or multiple items (item)".

还需说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施方式或设计方案不应被解释为比其他实施方式或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should also be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations or descriptions. Any implementation or design described as "exemplary" or "for example" in the embodiments of the present application shall not be interpreted as being more preferable or advantageous than other implementations or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.

下面,首先对本申请实施例的其中一个应用领域(即植入式器械)进行简单说明。In the following, one of the application fields (ie, implantable devices) of the embodiments of the present application will be briefly described first.

植入式神经刺激系统(一种植入式医疗系统)主要包括植入患者体内的刺激器以及设置于患者体外的程控设备。现有的神经调控技术主要是通过立体定向手术在体内特定结构(即靶点)植入电极,并由植入患者体内的刺激器经电极向靶点发放电脉冲,调控相应神经结构和网络的电活动及其功能,从而改善症状、缓解病痛。其中,刺激器可以是植入式神经电刺激装置、植入式心脏电刺激系统(又称心脏起搏器)、植入式药物输注装置(Implantable Drug Delivery System,简称I DDS)和导线转接装置中的任意一种。植入式神经电刺激装置例如是脑深部电刺激系统(Deep Brain Stimulation,简称DBS)、植入式脑皮层刺激系统(Cortical Nerve Stimulation,简称CNS)、植入式脊髓电刺激系统(SpinalCord Stimulation,简称SCS)、植入式骶神经电刺激系统(Sacral 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 and a program-controlled device installed outside the patient's body. The existing neuromodulation technology mainly uses stereotaxic surgery to implant electrodes in specific structures (i.e., targets) in the body, and the stimulator implanted in the patient sends electrical pulses to the targets through the electrodes to regulate the corresponding neural structures and networks. Electrical activity and its function, thereby improving symptoms and relieving pain. Among them, the stimulator can be an implantable electrical nerve stimulation device, an implantable cardiac electrical stimulation system (also known as a cardiac pacemaker), an implantable drug infusion device (Implantable Drug Delivery System, referred to as IDDS) and a wire transduction device. any one of the connected devices. Implantable nerve electrical stimulation devices are, for example, Deep Brain Stimulation (DBS for short), Cortical Nerve Stimulation (CNS for short), Implantable Spinal Cord Stimulation (Spinal Cord Stimulation, SCS for short), implantable sacral nerve stimulation system (Sacral Nerve Stimulation, SNS for short), implantable vagus nerve stimulation system (Vagus Nerve Stimulation, VNS for short), etc.

刺激器可以包括IPG、延伸导线和电极导线,IPG(implantable pulse generator,植入式脉冲发生器)设置于患者体内,响应于程控设备发送的程控指令,依靠密封电池和电路向体内组织提供可控制的电刺激能量,通过植入的延伸导线和电极导线,为体内组织的特定区域递送一路或两路可控制的特定电刺激。延伸导线配合IPG使用,作为电刺激信号的传递媒体,将IPG产生的电刺激信号,传递给电极导线。电极导线通过多个电极触点,向体内组织的特定区域递送电刺激。刺激器设置有单侧或双侧的一路或多路电极导线,电极导线上设置有多个电极触点,电极触点可以均匀排列或者非均匀排列在电极导线的周向上。作为一个示例,电极触点可以以4行3列的阵列(共计12个电极触点)排列在电极导线的周向上。电极触点可以包括刺激电极触点和/或采集电极触点。电极触点例如可以采用片状、环状、点状等形状。The stimulator can include IPG, extension wires and electrode wires. IPG (implantable pulse generator, implantable pulse generator) is set in the patient's body, responds to the programmed instructions sent by the programmed device, and relies on sealed batteries and circuits to provide controllable pulses to tissues in the body. The electrical stimulation energy, through the implanted extension lead and electrode lead, delivers one or two controllable specific electrical stimulations to specific areas of tissues in the body. The extension lead is used in conjunction with the IPG as a transmission medium for the electrical stimulation signal, and transmits the electrical stimulation signal generated by the IPG to the electrode lead. Electrode leads deliver electrical stimulation to specific areas of tissue in the body through multiple electrode contacts. The stimulator is provided with one or more electrode wires on one side or both sides, and a plurality of electrode contacts are arranged on the electrode wires, and the electrode contacts can be arranged uniformly or non-uniformly in the circumferential direction of the electrode wires. As an example, the electrode contacts may be arranged in an array of 4 rows and 3 columns (a total of 12 electrode contacts) in the circumferential direction of the electrode wire. Electrode contacts may include stimulation electrode contacts and/or collection electrode contacts. The electrode contacts can be in the shape of, for example, a sheet, a ring, or a dot.

在一些可选的实施方式中,受刺激的体内组织可以是患者的脑组织,受刺激的部位可以是脑组织的特定部位。当患者的疾病类型不同时,受刺激的部位一般来说是不同的,所使用的刺激触点(单源或多源)的数量、一路或多路(单通道或多通道)特定电刺激信号的运用以及刺激参数数据也是不同的。本申请实施例对适用的疾病类型不做限定,其可以是脑深部刺激(DBS)、脊髓刺激(SCS)、骨盆刺激、胃刺激、外周神经刺激、功能性电刺激所适用的疾病类型。其中,DBS可以用于治疗或管理的疾病类型包括但不限于:痉挛疾病(例如,癫痫)、疼痛、偏头痛、精神疾病(例如,重度抑郁症(MDD))、躁郁症、焦虑症、创伤后压力心理障碍症、轻郁症、强迫症(OCD)、行为障碍、情绪障碍、记忆障碍、心理状态障碍、移动障碍(例如,特发性震颤或帕金森氏病)、亨廷顿病、阿尔茨海默症、药物成瘾症、孤独症或其他神经学或精神科疾病和损害。In some optional 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 the patient's disease type is different, the stimulated site is generally different, the number of stimulation contacts used (single source or multi-source), one or more channels (single-channel or multi-channel) specific electrical stimulation signals The application and stimulus parameter data are also different. The embodiment of the present application does not limit the applicable disease types, which may be the applicable disease types for deep brain stimulation (DBS), spinal cord stimulation (SCS), pelvic stimulation, gastric stimulation, peripheral nerve stimulation, and functional electrical stimulation. Among the types of disorders that DBS can be used to treat or manage include, but are not limited to: spasticity disorders (e.g., epilepsy), pain, migraine, psychiatric disorders (e.g., major depressive disorder (MDD)), bipolar disorder, anxiety disorders, Post-traumatic stress disorder, hypodepression, obsessive-compulsive disorder (OCD), conduct disorder, mood disorder, memory disorder, mental status disorder, mobility disorder (eg, essential tremor or Parkinson's disease), Huntington's disease, Al Alzheimer's disease, drug addiction, autism, or other neurological or psychiatric conditions and impairments.

本申请实施例中,程控设备和刺激器建立程控连接时,可以利用程控设备调整刺激器的刺激参数(或者说脉冲发生器的刺激参数,不同的刺激参数所对应的电刺激信号不同),也可以通过刺激器感测患者的电生理活动以采集得到电生理信号,并可以通过所采集到的电生理信号来继续调整刺激器的刺激参数。In the embodiment of the present application, when the program-controlled device establishes a program-controlled connection with the stimulator, the program-controlled device can be used to adjust the stimulation parameters of the stimulator (or the stimulation parameters of the pulse generator, and the electrical stimulation signals corresponding to different stimulation parameters are different). The electrophysiological activity of the patient can be sensed by the stimulator to collect electrophysiological signals, and the stimulation parameters of the stimulator can be continuously adjusted by using the collected electrophysiological signals.

刺激参数可以包括以下至少一种:用于递送电刺激的电极触点标识(例如可以是2#电极触点和3#电极触点)、频率(例如是单位时间1s内的电刺激脉冲信号个数,单位为Hz)、脉宽(每个脉冲的持续时间,单位为μs)、幅值(一般用电压表述,即每个脉冲的强度,单位为V)、时序(例如可以是连续或者簇发,簇发是指多个过程组成的不连续的时序行为)、刺激模式(包括电流模式、电压模式、定时刺激模式和循环刺激模式中的一种或多种)、医生控制上限及下限(医生可调节的范围)和患者控制上限及下限(患者可自主调节的范围)。Stimulation parameters may include at least one of the following: electrode contact identification (for example, 2# electrode contact and 3# electrode contact) for delivering electrical stimulation, frequency (for example, the number of electrical stimulation pulse signals per unit time 1s) number, the unit is Hz), pulse width (the duration of each pulse, the unit is μ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 cluster Burst refers to discontinuous timing behavior composed of multiple processes), stimulation mode (including one or more of current mode, voltage mode, timed stimulation mode and cyclic stimulation mode), upper limit and lower limit of doctor's control ( doctor adjustable range) and patient control upper and lower limits (patient self-adjustable range).

在一个具体应用场景中,可以在电流模式或者电压模式下对刺激器的各刺激参数进行调节。In a specific application scenario, various stimulation parameters of the stimulator can be adjusted in current mode or voltage mode.

程控设备可以是医生程控设备(即医生使用的程控设备)或者患者程控设备(即患者使用的程控设备)。医生程控设备例如可以是搭载有程控软件的平板电脑、笔记本电脑、台式计算机、手机等智能终端设备。患者程控设备例如可以是搭载有程控软件的平板电脑、笔记本电脑、台式计算机、手机等智能终端设备,患者程控设备还可以是其他具有程控功能的电子设备(例如是具有程控功能的充电器、数据采集设备等)。The program-controlled device may be a doctor-programmed device (ie, a program-controlled device used by a doctor) or a patient-programmed device (ie, a program-controlled device used by a patient). The doctor's program-controlled device can be, for example, a tablet computer, a notebook computer, a desktop computer, a mobile phone and other smart terminal devices equipped with program-controlled software. The patient program-controlled device can be, for example, smart terminal devices such as tablet computers, notebook computers, desktop computers, and mobile phones equipped with program-controlled software, and the patient program-controlled device can also be other electronic devices with program-controlled functions (such as chargers with program-controlled functions, data collection equipment, etc.).

本申请实施例对医生程控设备和刺激器的数据交互不进行限制,当医生远程程控时,医生程控设备可以通过服务器、患者程控设备与刺激器进行数据交互。当医生线下和患者面对面进行程控时,医生程控设备可以通过患者程控设备与刺激器进行数据交互,医生程控设备还可以直接与刺激器进行数据交互。The embodiment of the present application does not limit the data interaction between the doctor's program-controlled device and the stimulator. When the doctor remotely programs, the doctor's program-controlled device can perform data interaction with the stimulator through the server and the patient's program-controlled device. When the doctor performs program control with the patient face-to-face offline, the doctor's program-controlled device can interact with the stimulator through the patient's program-controlled device, and the doctor's program-controlled device 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.48GHz工作频段与刺激器直接进行数据交互。In some optional embodiments, the patient programmable device may include a host (communicating with the server) and a slave (communicating with the stimulator), the host and the slave being communicatively connected. Among them, the doctor's program-controlled equipment can exchange data with the server through the 3G/4G/5G network, the server can exchange data with the host through the 3G/4G/5G network, and the host can exchange data with the slave through the Bluetooth protocol/WIFI protocol/USB protocol. Interaction, the sub-machine can exchange data 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 exchange data with the stimulator through the 401MHz-406MHz working frequency band/2.4GHz-2.48GHz working frequency band interact.

除了上述植入式器械的应用领域,本申请实施例还可以应用于其他医疗器械甚至非医疗器械的技术领域,本申请实施例不对此设限,只要涉及MRI环境下通信的场合均可应用,且医生程控设备发送至刺激器的指令可以不局限于程控指令。In addition to the above-mentioned application fields of implantable devices, the embodiments of the present application can also be applied to the technical fields of other medical devices or even non-medical devices. The embodiments of the present application are not limited to this, as long as it involves communication in the MRI environment, it can be applied. And the instructions sent to the stimulator by the doctor's program-controlled device may not be limited to the program-controlled instructions.

(系统实施方式)(system implementation)

参见图1,图1示出了本申请实施例提供的一种医疗系统的结构框图。Referring to FIG. 1, FIG. 1 shows a structural block diagram of a medical system provided by an embodiment of the present application.

本申请实施例提供了一种医疗系统,所述医疗系统包括:An embodiment of the present application provides a medical system, which includes:

刺激器10;Stimulator 10;

模式控制设备20,所述模式控制设备20被配置成向所述刺激器10的脉冲发生器11发送MRI模式控制指令,以及接收倒计时的实时剩余时长并实时显示所述实时剩余时长。A mode control device 20 configured to send an MRI mode control command to the pulse generator 11 of the stimulator 10 , and receive the real-time remaining duration of the countdown and display the real-time remaining duration in real time.

继续参见图1,本申请实施例还提供了一种刺激器10,所述刺激器10用于植入于患者体内,所述刺激器10包括:Continuing to refer to FIG. 1, the embodiment of the present application also provides a stimulator 10, which is used to be implanted in a patient, and the stimulator 10 includes:

脉冲发生器11;Pulse generator 11;

电极导线12,所述电极导线12用于感测所述患者的电生理活动以得到电生理信号,以及向所述患者的体内组织递送电刺激。The electrode lead 12 is used for sensing the electrophysiological activity of the patient to obtain an electrophysiological signal, and delivering electrical stimulation to the tissue in the patient's body.

本申请实施例中,患者的体内组织例如可以是脑组织、脊髓神经组织、骶神经组织等。In the embodiment of the present application, the tissue in the patient's body may be, for example, brain tissue, spinal nerve tissue, sacral nerve tissue, and the like.

在一些可选的实施方式中,所述刺激器10还包括:In some optional embodiments, the stimulator 10 also includes:

延伸导线13,所述延伸导线13设置于所述脉冲发生器11和所述电极导线12之间,所述延伸导线13用于实现所述脉冲发生器11和所述电极导线12之间的通信连接。An extension wire 13, the extension wire 13 is arranged between the pulse generator 11 and the electrode wire 12, the extension wire 13 is used to realize the communication between the pulse generator 11 and the electrode wire 12 connect.

本申请实施例中,电极导线12的数量可以是一个或多个,相应地,延伸导线13的数量可以是一个或多个。延伸导线13和电极导线12一一对应,每个延伸导线13设置于自身对应的电极导线12和脉冲发生器11之间。In the embodiment of the present application, the number of electrode wires 12 may be one or more, and correspondingly, the number of extension wires 13 may be one or more. The extension wires 13 correspond to the electrode wires 12 one by one, and each extension wire 13 is arranged between its corresponding electrode wire 12 and the pulse generator 11 .

本申请实施例中,脉冲发生器11和电极导线12通信连接,二者之间可以直接通信,也可以通过延伸导线13实现数据交互。In the embodiment of the present application, the pulse generator 11 is communicatively connected with the electrode lead 12 , and the two can communicate directly, or realize data interaction through the extension lead 13 .

当脉冲发生器11和电极导线12均植入于患者颅内时,刺激器10也可以不包括延伸导线13,而只包括脉冲发生器11和电极导线12。When both the pulse generator 11 and the electrode leads 12 are implanted in the patient's cranium, the stimulator 10 may not include the extension leads 13 , but only include the pulse generator 11 and the electrode leads 12 .

本申请实施例中,电极导线12可以植入于患者颅内或者体内其他位置。电极导线12的数量例如可以是1、2、3、4、5、6等。每个电极导线12的电极触点的数量例如可以是4、6、8、9、10、12、15、18等。当患者颅内植入有多个电极导线12时,多个电极导线12可以植入于大脑的同一侧半球,也可以分别植入于大脑的两个半球。In the embodiment of the present application, the electrode lead 12 can be implanted in the patient's cranium or other positions in the body. The number of electrode wires 12 can be 1, 2, 3, 4, 5, 6, etc., for example. The number of electrode contacts of each electrode wire 12 can be, for example, 4, 6, 8, 9, 10, 12, 15, 18 and so on. When multiple electrode leads 12 are implanted in the patient's cranium, the multiple electrode leads 12 can be implanted in the same hemisphere of the brain, or can be implanted in two hemispheres of the brain respectively.

本申请实施例中,电极导线12可以用于感测单细胞和/或多细胞的电生理活动,以得到单细胞的电生理信号和/或局部场电位。局部场电位(Local Field Potential,LFP)是一类特殊的电生理信号。在生物体内,具有一定体积的生物组织中的树突突触活动会引发电流,当这股电流流经具有一定阻抗的细胞外空间时,就形成了一定的电压分布,在某一点记录到的局部电压值就叫做局部场电位。In the embodiment of the present application, the electrode leads 12 can be used to sense electrophysiological activities of single cells and/or multiple cells, so as to obtain electrophysiological signals and/or local field potentials of single cells. Local Field Potential (LFP) is a special kind of electrophysiological signal. In living organisms, dendritic synaptic activity in biological tissue with a certain volume will trigger a current. When this current flows through the extracellular space with a certain impedance, a certain voltage distribution will be formed. The recorded voltage at a certain point The local voltage value is called the local field potential.

模式控制设备20是指具有模式控制功能的电子设备,模式控制设备20例如可以是具有程控功能或者不具有程控功能的外部设备。模式控制设备20上可以搭载有模式控制软件(例如可以是电脑端APP或者移动端APP)。The mode control device 20 refers to an electronic device with a mode control function, and the mode control device 20 may be, for example, an external device with or without a program control function. The mode control device 20 may be equipped with mode control software (for example, it may be a computer terminal APP or a mobile terminal APP).

在一些可选的实施方式中,所述模式控制设备20被配置成采用以下方式向所述脉冲发生器11发送MRI模式控制指令:In some optional implementation manners, the mode control device 20 is configured to send an MRI mode control instruction to the pulse generator 11 in the following manner:

响应于搜寻操作,搜寻处于侦听状态的脉冲发生器11并实时显示;In response to the search operation, search for the pulse generator 11 in the listening state and display it in real time;

响应于针对其中一个处于侦听状态的脉冲发生器11的选择操作,建立所述模式控制设备20和被选择的脉冲发生器11之间的通信连接;In response to a selection operation for one of the pulse generators 11 in the listening state, establishing a communication connection between the mode control device 20 and the selected pulse generator 11;

响应于针对预设持续时长的设置操作,生成所述MRI模式控制指令,所述MRI模式控制指令用于指示所述脉冲发生器11的MRI模式的预设持续时长;In response to the setting operation for the preset duration, generating the MRI mode control instruction, the MRI mode control instruction is used to indicate the preset duration of the MRI mode of the pulse generator 11;

向被选择的脉冲发生器11发送所述MRI模式控制指令。The MRI mode control command is sent to the selected pulse generator 11 .

脉冲发生器11处于侦听(LISTENING)状态是指该脉冲发生器11处于可连接状态,即等待连接、但还没有被连接。当脉冲发生器11处于休眠模式或者快速侦听模式时,都可能处于侦听状态,但是频率不同,即侦听周期的时长不同,脉冲发生器11在每个侦听周期的开始时刻都会向外发送一次信号,该信号包括脉冲发生器11自身的标识。当脉冲发生器11处于休眠模式时,一个侦听周期的时长例如是3分钟、5分钟、10分钟等。当脉冲发生器11处于快速侦听模式时,一个侦听周期的时长例如是1秒钟、2秒钟、3秒钟、5秒钟等。一旦脉冲发生器11和外部设备(例如是模式控制设备20或者程控设备30)建立通信连接时,则脉冲发生器11从侦听状态进入已连接状态,进入通信模式。The pulse generator 11 being in a listening (LISTENING) state means that the pulse generator 11 is in a connectable state, that is, waiting for a connection but not being connected yet. When the pulse generator 11 is in the dormant mode or the fast listening mode, it may be in the listening state, but the frequency is different, that is, the duration of the listening cycle is different, and the pulse generator 11 will be outward at the beginning of each listening cycle. A signal is sent once, and the signal includes the identification of the pulse generator 11 itself. When the pulse generator 11 is in sleep mode, the duration of a listening period is, for example, 3 minutes, 5 minutes, 10 minutes and so on. When the pulse generator 11 is in the fast listening mode, the duration of a listening cycle is, for example, 1 second, 2 seconds, 3 seconds, 5 seconds, etc. Once the pulse generator 11 establishes a communication connection with the external device (such as the mode control device 20 or the program control device 30), the pulse generator 11 enters the connected state from the listening state and enters the communication mode.

本申请实施例对利用模式控制设备20或者程控设备30接收各种人工操作(或者说用户操作)的方式不作限定。按照输入方式划分操作,例如可以包括文本输入操作、音频输入操作、视频输入操作、按键操作、按钮操作、旋钮操作、鼠标操作、键盘操作、智能触控笔操作、智能触控板操作等。这些操作包括但不限于搜寻操作、选择操作、设置操作、接收MRI操作等。其中,搜寻操作例如可以是点击模式控制软件内的“搜寻”控件;搜寻得到等待连接的脉冲发生器11列表后,选择操作例如可以是点击模式控制软件内的脉冲发生器11列表中的其中一个脉冲发生器11;在模式控制设备20与脉冲发生器11连接成功后,在模式控制软件的功能选择页面,点击“MRI”控件,设置操作例如可以是在弹窗形式的文本输入框内输入MRI模式的预设持续时长,取值范围例如可以为1-120分钟;接收MRI操作例如可以是点击模式控制软件内的“接收MRI”控件。在计算机编程当中,控件(或部件,widget或control)是一种图形用户界面元素,其显示的信息排列可由用户改变,例如视窗或文本框。控件定义的特点是为给定数据的直接操作(direct manipulation)提供单独的互动点。控件是一种基本的可视构件块,包含在应用程序中,控制着该程序处理的所有数据以及关于这些数据的交互操作。The embodiment of the present application does not limit the manner of receiving various manual operations (or user operations) by using the mode control device 20 or the program-controlled device 30 . Operations are divided according to input methods, for example, text input operations, audio input operations, video input operations, key operations, button operations, knob operations, mouse operations, keyboard operations, smart stylus operations, smart touchpad operations, etc. can be included. These operations include, but are not limited to, search operations, selection operations, setting operations, receiving MRI operations, and the like. Wherein, the search operation can be, for example, clicking on the "search" control in the mode control software; after searching for a list of pulse generators 11 waiting to be connected, the selection operation can be, for example, clicking one of the pulse generators 11 list in the mode control software Pulse generator 11; After the mode control device 20 is successfully connected with the pulse generator 11, click the "MRI" control on the function selection page of the mode control software, and the setting operation can be, for example, input MRI in a text input box in the form of a pop-up window The preset duration of the mode can range from, for example, 1-120 minutes; the operation of receiving MRI can be, for example, clicking the "receive MRI" control in the mode control software. In computer programming, a control (or component, widget or control) is a graphical user interface element whose arrangement of displayed information can be changed by the user, such as a window or a text box. A control definition is characterized by providing a single point of interaction for direct manipulation of given data. A control is a basic visual building block contained in an application program that controls all data that the program processes and interacts with that data.

本申请实施例中,模式控制软件内的“搜寻”控件、“MRI”控件、“接收MRI”控件例如可以采用按钮(Button)形式。In the embodiment of the present application, the "search" control, the "MRI" control, and the "receive MRI" control in the mode control software may be in the form of buttons, for example.

在一些可选的实施方式中,所述模式控制设备20被配置成采用以下方式接收并显示所述实时剩余时长:In some optional implementation manners, the mode control device 20 is configured to receive and display the real-time remaining duration in the following manner:

响应于接收MRI操作,搜寻处于MRI模式的脉冲发生器11,接收并显示处于MRI模式的每个脉冲发生器11的标识和实时剩余时长。In response to receiving the MRI operation, the pulse generators 11 in the MRI mode are searched, and the identity and real-time remaining duration of each pulse generator 11 in the MRI mode are received and displayed.

此处,同时显示处于MRI模式的每个脉冲发生器11的标识以及每个脉冲发生器11的MRI模式的实时剩余时长。为了呈现更好的视觉效果,还可以同时显示一个进度条,以进度条的总长度来指示整个MRI模式的时长,以进度条的高亮部分的长度来指示MRI模式的持续时长,以进度条的非高亮部分的长度来指示实时剩余时长。Here, the identification of each pulse generator 11 in the MRI mode and the real-time remaining duration of the MRI mode of each pulse generator 11 are simultaneously displayed. In order to present a better visual effect, a progress bar can also be displayed at the same time, the total length of the progress bar indicates the duration of the entire MRI mode, the length of the highlighted part of the progress bar indicates the duration of the MRI mode, and the progress bar to indicate the remaining time in real time.

需要注意的是,当脉冲发生器11未发生损坏时,模式控制设备20所接收和显示的实时剩余时长是以固定频率进行更新的,例如每2秒更新一次。换句话说,模式控制设备20虽然可以设置MRI模式的预设持续时长,但是模式控制设备20自身并不对脉冲发生器11的MRI模式进行计时或者倒计时,而是需要接收脉冲发生器11实时发送的实时剩余时长。正因如此,才可以根据模式控制设备20是否接收到实时剩余时长、所接收到的实时剩余时长是否实时更新来判断脉冲发生器11是否发生损坏。It should be noted that when the pulse generator 11 is not damaged, the real-time remaining duration received and displayed by the mode control device 20 is updated at a fixed frequency, for example every 2 seconds. In other words, although the mode control device 20 can set the preset duration of the MRI mode, the mode control device 20 itself does not count or count down the MRI mode of the pulse generator 11, but needs to receive the real-time information sent by the pulse generator 11. Real-time remaining time. Because of this, it can be judged whether the pulse generator 11 is damaged according to whether the mode control device 20 receives the real-time remaining duration and whether the received real-time remaining duration is updated in real time.

在一些可选的实施方式中,所述医疗系统还包括:In some optional embodiments, the medical system also includes:

程控设备30,所述程控设备30被配置成与所述脉冲发生器11建立通信连接,向所述脉冲发生器11发送程控指令,以调整所述脉冲发生器11的刺激参数。A program control device 30 , the program control device 30 is configured to establish a communication connection with the pulse generator 11 , and send a program control command to the pulse generator 11 to adjust the stimulation parameters of the pulse generator 11 .

程控设备30包括医生程控设备30和/或患者程控设备30。每个医生程控设备30可以接收对应医生的范围配置操作,配置所述脉冲发生器11的每个刺激参数对应的可自适应调整的数值范围;所述脉冲发生器11用于在每个刺激参数对应的可自适应调整的数值范围里进行自适应调整,实现刺激参数的闭环控制。由此,医生可以配置允许刺激器10自适应调整刺激参数的数值范围,保障电刺激治疗的安全性。医生可以根据不同患者的病情严重程度,为各患者设置不同的数值范围,兼顾安全性和治疗效果。Programmers 30 include physician programmers 30 and/or patient programmers 30 . Each doctor's program-controlled device 30 can receive the range configuration operation corresponding to the doctor, and configure the adaptively adjustable numerical range corresponding to each stimulation parameter of the pulse generator 11; the pulse generator 11 is used for each stimulation parameter Adaptive adjustment is performed within the corresponding adaptively adjustable value range to realize closed-loop control of stimulation parameters. Therefore, the doctor can configure the value range that allows the stimulator 10 to adaptively adjust the stimulation parameters, so as to ensure the safety of the electrical stimulation therapy. Doctors can set different numerical ranges for each patient according to the severity of the condition of different patients, taking into account safety and therapeutic effect.

其中,脉冲发生器11自适应调整刺激参数的闭环控制过程包括:利用电极导线12实时感测患者的电生理活动以得到电生理信号;获取电生理信号对应的参数配置信息,所述参数配置信息用于指示所述脉冲发生器11的每个刺激参数的参数值;利用电极导线12向患者递送所述参数配置信息对应的电刺激;刺激参数的调整可以对患者的病情产生作用,从而导致下一时刻感测到的电生理活动发生变化从而得到新的电生理信号。Among them, the closed-loop control process of the pulse generator 11 adaptively adjusting the stimulation parameters includes: using the electrode wire 12 to sense the patient's electrophysiological activity in real time to obtain the electrophysiological signal; obtaining the parameter configuration information corresponding to the electrophysiological signal, the parameter configuration information Used to indicate the parameter value of each stimulation parameter of the pulse generator 11; use the electrode lead 12 to deliver the electrical stimulation corresponding to the parameter configuration information to the patient; the adjustment of the stimulation parameter can have an effect on the patient's condition, resulting in the following The electrophysiological activity sensed at a moment changes to obtain a new electrophysiological signal.

在一个具体应用场景中,电极导线12植入于患者颅内,电极导线12的电极触点同时具备感测电生理活动和递送电刺激的功能;脉冲发生器11能够利用电极导线12感测患者脑部的局部场电位,在患者即将发病或发病(此时患者的病情未得到控制)时,通过智能化、自动化的方式及时向患者脑部发出精确的、间隙性刺激信号。In a specific application scenario, the electrode lead 12 is implanted in the patient's brain, and the electrode contacts of the electrode lead 12 have the functions of sensing electrophysiological activity and delivering electrical stimulation; the pulse generator 11 can use the electrode lead 12 to sense the patient's The local field potential of the brain sends precise and intermittent stimulation signals to the brain of the patient in an intelligent and automated manner when the patient is about to get sick or when the disease is not under control.

本申请实施例对医生程控设备30不作限定,其例如可以包括平板电脑、笔记本电脑、台式计算机、手机、智能穿戴设备中的一种或多种,还可以是控制台或者工作站。The embodiment of the present application does not limit the doctor's program-controlled device 30, which may include, for example, one or more of a tablet computer, a notebook computer, a desktop computer, a mobile phone, and a smart wearable device, and may also be a console or a workstation.

在一些可选的实施方式中,所述模式控制设备20和所述程控设备30结合为一体。也就是说,程控设备30设置于患者体外,可以同时搭载有程控软件和模式控制软件,程控软件和模式控制软件可以整合为一个软件,以方便安装和使用。In some optional implementation manners, the mode control device 20 and the program control device 30 are combined into one. That is to say, the program-controlled device 30 is set outside the body of the patient, and can be equipped with program-controlled software and mode control software at the same time, and the program-controlled software and mode control software can be integrated into one software to facilitate installation and use.

本申请实施例中,照护人员例如可以是医护人员或者患者的家人、朋友等照顾、看护患者的人员。医护人员例如可以包括医生、护士、护工等。In the embodiment of the present application, the caregiver may be, for example, a medical staff or a family member or friend of the patient who takes care of the patient. Medical personnel may include, for example, doctors, nurses, nurses, and the like.

在一些可选的实施方式中,所述患者的疾病包括以下至少一种:In some optional embodiments, the patient's disease includes at least one of the following:

痉挛疾病、抑郁症、躁郁症、焦虑症、创伤后压力心理障碍症、强迫症、行为障碍、情绪障碍、记忆障碍、心理状态障碍、震颤、帕金森氏病、亨廷顿病、阿尔茨海默症、成瘾性疾病和孤独症。Spasticity Disorders, Depression, Bipolar Disorders, Anxiety Disorders, PTSD, OCD, Behavior Disorders, Mood Disorders, Memory Disorders, Mental Status Disorders, Tremors, Parkinson's Disease, Huntington's Disease, Alzheimer's disorders, addictive disorders, and autism.

由此,电刺激治疗直接对神经靶点(例如是伏隔核、内囊前肢、尾状核、豆状核、壳核等组织、核团、纤维束等)进行电刺激,能够有效控制上述疾病的病情,减轻患者的症状,缓解患者的痛苦。Therefore, electrical stimulation therapy directly stimulates nerve targets (such as nucleus accumbens, internal capsule forelimb, caudate nucleus, lenticular nucleus, putamen and other tissues, nuclei, fiber bundles, etc.), which can effectively control the above-mentioned The condition of the disease, relieve the patient's symptoms, relieve the patient's pain.

本申请实施例中,所述脉冲发生器11可以被配置成实现脉冲发生器11的通信方法的步骤,下文将先对脉冲发生器11的通信方法进行说明,再对脉冲发生器11进行说明。In the embodiment of the present application, the pulse generator 11 can be configured to implement the steps of the communication method of the pulse generator 11 , and the communication method of the pulse generator 11 will be described below first, and then the pulse generator 11 will be described.

(方法实施例)(method example)

参见图2,图2示出了本申请实施例提供的一种脉冲发生器的通信方法的流程示意图。Referring to FIG. 2 , FIG. 2 shows a schematic flowchart of a communication method for a pulse generator provided in an embodiment of the present application.

本申请实施例提供了一种脉冲发生器的通信方法,所述脉冲发生器用于植入于患者体内,所述方法包括:An embodiment of the present application provides a communication method of a pulse generator, the pulse generator is used to be implanted in a patient, and the method includes:

步骤S101:响应于MRI模式控制指令,进入MRI模式,停止接收外部设备发送的信息,并开始预设持续时长的倒计时,所述MRI模式控制指令用于指示所述脉冲发生器的MRI模式的预设持续时长;Step S101: Enter the MRI mode in response to the MRI mode control command, stop receiving information sent by the external device, and start the countdown of the preset duration, the MRI mode control command is used to indicate the preset time of the MRI mode of the pulse generator Set duration;

步骤S102:当倒计时未结束时,以预设频率将倒计时的实时剩余时长发送至预设的接收设备,以使所述接收设备显示所述实时剩余时长,所述接收设备包括模式控制设备、程控设备和显示设备中的一种或多种;Step S102: When the countdown is not over, send the real-time remaining duration of the countdown to a preset receiving device at a preset frequency, so that the receiving device displays the real-time remaining duration, and the receiving device includes a mode control device, a program-controlled one or more of a device and a display device;

步骤S103:当倒计时结束时,退出MRI模式,恢复接收外部设备发送的信息。Step S103: When the countdown ends, exit the MRI mode and resume receiving information sent by the external device.

作为一个示例,脉冲发生器例如可以具有MRI模式、休眠模式和快速侦听模式。As an example, a pulse generator may have, for example, an MRI mode, a sleep mode, and a fast listen mode.

模式控制设备、程控设备和显示设备都是外部设备,但外部设备不止包括这些设备。Mode control devices, program control devices, and display devices are all peripheral devices, but the peripheral devices are not limited to these devices.

本申请实施例中,在MRI模式下,脉冲发生器停止接收外部设备发送的信息是指停止接收外部设备发送的任何信息。In the embodiment of the present application, in the MRI mode, the pulse generator stops receiving information sent by the external device refers to stopping receiving any information sent by the external device.

本申请实施例对预设持续时长不作限定,其取值范围例如可以是1-200分钟。作为示例,预设持续时长例如可以是1、3、5、8、10、20、30、50、100、120、150、200分钟。The embodiment of the present application does not limit the preset duration, and its value range may be, for example, 1-200 minutes. As an example, the preset duration may be, for example, 1, 3, 5, 8, 10, 20, 30, 50, 100, 120, 150, or 200 minutes.

在倒计时过程中脉冲发生器不断向接收设备发送信息(即实时剩余时长),本申请实施例对脉冲发生器发送信息的预设频率不作限定,其例如可以是1、0.5、0.2Hz等,脉冲发生器的两次发送信息的间隔时长例如可以是1、2、5秒钟等。During the countdown process, the pulse generator continuously sends information to the receiving device (that is, the real-time remaining duration). The embodiment of the present application does not limit the preset frequency of the pulse generator sending information, which can be 1, 0.5, 0.2 Hz, etc., for example. The interval between two sendings of information by the generator can be, for example, 1, 2, 5 seconds, etc.

现有技术没有考虑到脉冲发生器在MRI检测过程中可能已经发生损坏的情况,也没有考虑到脉冲发生器发生损坏后如何尽快通知照护人员该情况以便于医护人员做出应对措施(例如是更换或维修脉冲发生器),因此市面上的脉冲发生器在MRI模式中途并不会主动向外部设备以固定频率不间断地发送实时剩余时长。有的脉冲发生器可以在MRI模式结束后向外部设备发送通知信息,但假如此时脉冲发生器已经损坏,则无法顺利发送通知信息,即使照护人员能够通过始终未接收到通知信息或者程控失败等途径、被动地发现脉冲发生器已经损坏,获悉时机也落后于脉冲发生器的实际损坏时刻,也就是说,无法为维修或更换脉冲发生器等应对措施做出提前准备,而这可能耽误患者病情或者引发更严重的后果,因为使用脉冲发生器的患者对电刺激治疗的需求可能是非常紧迫的,例如重症强迫症患者、狂躁症患者或者戒毒人员,一旦不能及时恢复电刺激治疗,则可能会影响这些患者的病情稳定甚至导致其病情复发。这些隐患造成的顾虑将会导致相应患者的家属较难接受必要的MRI检测(即MRI检查),从而不利于医生获取必要的MRI数据,不利于医生对患者进行精准地诊断、治疗以改善患者的生命质量。The prior art does not take into account that the pulse generator may have been damaged during the MRI detection process, nor does it consider how to notify the nursing staff of the situation as soon as possible after the pulse generator is damaged so that the medical staff can take countermeasures (such as replacing or maintain the pulse generator), so the pulse generator on the market will not actively send the real-time remaining duration to the external device at a fixed frequency in the middle of the MRI mode. Some pulse generators can send notification information to external devices after the end of the MRI mode, but if the pulse generator is damaged at this time, the notification information cannot be sent smoothly, even if the caregiver can pass the notification information or program control failure, etc. Passively find that the pulse generator has been damaged, and the timing of learning is also behind the actual damage time of the pulse generator, that is to say, it is impossible to make advance preparations for countermeasures such as repairing or replacing the pulse generator, which may delay the patient's condition Or lead to more serious consequences, because patients who use pulse generators may have very urgent needs for electrical stimulation therapy, such as patients with severe obsessive-compulsive disorder, manic patients, or drug addicts. It affects the stability of these patients' condition and even leads to the recurrence of their condition. The concerns caused by these hidden dangers will make it difficult for the family members of the corresponding patients to receive the necessary MRI examination (ie, MRI examination), which is not conducive to doctors obtaining the necessary MRI data, and it is not conducive to doctors to accurately diagnose and treat patients to improve the patient's health. quality of life.

由此,脉冲发生器在MRI模式中不断向接收设备发送实时剩余时长,当接收设备所显示的实时剩余时长未实时更新时,照护人员可及时发现脉冲发生器已损坏的情况。Thus, the pulse generator continuously sends the real-time remaining duration to the receiving device in the MRI mode. When the real-time remaining duration displayed by the receiving device is not updated in real time, the caregiver can find out that the pulse generator is damaged in time.

植入于患者体内的脉冲发生器具有MRI模式,进入MRI模式后,脉冲发生器会不响应所有外部设备,因此,外部设备不能对其(即脉冲发生器)进行信息获取,无法主动获取脉冲发生器的情况,不知道脉冲发生器的MRI模式的实时剩余时长,医生等照护人员无法精准安排MRI检测结束后的程控、护理等工作,因此需要脉冲发生器主动将实时剩余时长推送给接收设备。The pulse generator implanted in the patient has an MRI mode. After entering the MRI mode, the pulse generator will not respond to any external equipment. Therefore, the external equipment cannot obtain information about it (that is, the pulse generator), and cannot actively obtain pulse generation. Due to the situation of the pulse generator, the real-time remaining time of the MRI mode of the pulse generator is unknown, and doctors and other nursing staff cannot accurately arrange the program control and nursing after the MRI test. Therefore, the pulse generator needs to actively push the real-time remaining time to the receiving device.

具体而言,脉冲发生器主动推送实时剩余时长的过程如下:在接收到MRI模式控制指令后,脉冲发生器会进入MRI模式,此时处理器停止接收任意外部设备(包括模式控制设备在内的所有外部设备)发送的信息,并对MRI模式进行倒计时(例如是预设持续时长,可以是10分钟、20分钟、30分钟等),并在MRI模式中以预设频率(例如是1Hz或者0.5Hz,对应的预设间隔时长例如是1秒或者2秒)不断向接收设备发送实时剩余时长,使得照护人员可以通过接收设备实时观察实时剩余时长的变化情况。一旦接收设备所显示的该脉冲发生器的实时剩余时长没有实时更新或无法显示该脉冲发生器的实时剩余时长,则表明脉冲发生器已无法正常运行,可能已经发生损坏,因此,采用本申请的脉冲发生器便于照护人员在MRI模式中及时发现脉冲发生器发生损坏的情况。Specifically, the process of the pulse generator actively pushing the real-time remaining duration is as follows: After receiving the MRI mode control command, the pulse generator will enter the MRI mode, and the processor stops receiving any external device (including the mode control device). information sent by all external devices), and count down the MRI mode (for example, the preset duration, which can be 10 minutes, 20 minutes, 30 minutes, etc.), and in the MRI mode at a preset frequency (for example, 1Hz or 0.5 Hz, the corresponding preset interval length is, for example, 1 second or 2 seconds) to continuously send the real-time remaining time to the receiving device, so that the caregiver can observe the change of the real-time remaining time in real time through the receiving device. Once the real-time remaining time of the pulse generator displayed by the receiving device is not updated in real time or cannot display the real-time remaining time of the pulse generator, it indicates that the pulse generator cannot operate normally and may have been damaged. The pulse generator makes it easy for caregivers to detect damage to the pulse generator in time in MRI mode.

另外,当倒计时结束时,脉冲发生器可以自动退出MRI模式,处理器恢复接收外部设备发送的信息。如果MRI检测没有导致脉冲发生器发生损坏,则可以尽快恢复脉冲发生器的电刺激治疗功能。医生还可以利用程控设备与脉冲发生器建立程控连接,针对患者的当前病情做出相应的程控操作,程控设备将程控操作对应的程控指令发送至脉冲发生器,而脉冲发生器在接收到程控设备发送的程控指令后,对脉冲发生器的一个或多个刺激参数进行配置,以向患者的体内组织(例如是脑组织、脊髓神经组织、骶神经组织等)递送刺激参数对应的电刺激治疗,从而缓解患者的病痛,控制患者的病情。In addition, when the countdown ends, the pulse generator can automatically exit the MRI mode, and the processor resumes receiving information sent by the external device. If the MRI detection does not cause damage to the pulse generator, the electrical stimulation therapy function of the pulse generator can be restored as soon as possible. The doctor can also use the program-controlled device to establish a program-controlled connection with the pulse generator, and make corresponding program-controlled operations according to the patient's current condition. The program-controlled device sends the program-controlled instructions corresponding to the program-controlled operation to the pulse generator, and the pulse generator receives After the programmed instruction is sent, one or more stimulation parameters of the pulse generator are configured to deliver electrical stimulation therapy corresponding to the stimulation parameters to tissues in the patient's body (such as brain tissue, spinal nerve tissue, sacral nerve tissue, etc.), So as to alleviate the patient's pain and control the patient's condition.

在一些可选的实施方式中,步骤S101中的所述响应于MRI模式控制指令,进入MRI模式,包括:In some optional implementation manners, entering the MRI mode in response to the MRI mode control instruction in step S101 includes:

响应于所述MRI模式控制指令,检测所述脉冲发生器的电量是否不小于预设电量阈值;Responding to the MRI mode control command, detecting whether the power of the pulse generator is not less than a preset power threshold;

如果所述脉冲发生器的电量不小于所述预设电量阈值,则进入MRI模式;If the power of the pulse generator is not less than the preset power threshold, enter the MRI mode;

所述方法还包括:The method also includes:

如果所述脉冲发生器的电量小于所述预设电量阈值,则向所述接收设备发送第一提示信息,所述第一提示信息用于指示所述脉冲发生器的电量小于所述预设电量阈值。If the electric quantity of the pulse generator is less than the preset electric quantity threshold, then send first prompt information to the receiving device, the first prompt information is used to indicate that the electric quantity of the pulse generator is less than the preset electric quantity threshold.

本申请实施例对预设电量阈值不作限定,其例如可以是10%、15%、20%、30%、50%、80%、90%等。The embodiment of the present application does not limit the preset power threshold, which may be, for example, 10%, 15%, 20%, 30%, 50%, 80%, 90% and so on.

由此,由于进入MRI模式之后要有一定的电量才能不断向接收设备发送信息(即实时剩余时长),因此在进入MRI模式之前可以检测是否具有相应电量,避免由于电量不足导致未能向外部设备发送信息,排除电量因素导致误判脉冲发生器损坏的情况。Therefore, after entering the MRI mode, a certain amount of power is required to continuously send information to the receiving device (that is, the remaining time in real time), so it can be detected whether there is corresponding power before entering the MRI mode, so as to avoid failure to send data to the external device due to insufficient power. Send information to eliminate the situation that the power factor causes the wrong judgment that the pulse generator is damaged.

也就是说,只有当脉冲发生器的当前电量大于或等于预设电量阈值时,才会进入MRI模式,而当脉冲发生器的当前电量小于预设电量阈值时,则不会进入MRI模式。That is to say, the MRI mode will only be entered when the current power of the pulse generator is greater than or equal to the preset power threshold, and will not enter the MRI mode when the current power of the pulse generator is less than the preset power threshold.

发送提示信息的方式例如是短信推送、邮件推送、应用内推送、电话通知等,此处提示信息包括第一提示信息和/或第二提示信息,应用例如是甲公司APP、乙公司APP、小程序等。The way of sending prompt information is, for example, text message push, email push, in-app push, phone notification, etc. Here, the prompt information includes the first prompt information and/or the second prompt information. program etc.

在一些可选的实施方式中,获取所述预设电量阈值的过程包括:In some optional implementation manners, the process of obtaining the preset power threshold includes:

基于所述预设持续时长和预设的单位时间耗电量,获取所述预设电量阈值。The preset power threshold is acquired based on the preset duration and the preset power consumption per unit time.

由此,针对不同的预设持续时长,设置不同的预设电量阈值,以满足脉冲发生器在MRI模式期间对外发送信息的耗电需求。例如当MRI模式的预设持续时长较长时,设置较高的预设电量阈值(取值范围例如是50-80%);当MRI模式的预设持续时长较短时,设置较低的预设电量阈值(取值范围例如是10-30%)。单位时间耗电量是指预先获取的脉冲发生器在单位时间内的耗电量,可以通过实验或者在实践过程中测量得到。其中,单位时间例如可以是1日、1小时、1分、1秒、100毫秒等。Therefore, for different preset durations, different preset power thresholds are set to meet the power consumption requirements of the pulse generator for sending information externally during the MRI mode. For example, when the preset duration of the MRI mode is longer, a higher preset power threshold (value range is, for example, 50-80%) is set; when the preset duration of the MRI mode is shorter, a lower preset threshold is set. Set a power threshold (value range is, for example, 10-30%). The power consumption per unit time refers to the power consumption per unit time of the pre-acquired pulse generator, which can be measured through experiments or in practice. Here, the unit time may be, for example, 1 day, 1 hour, 1 minute, 1 second, 100 milliseconds, and the like.

在一些实施方式中,可以将预设持续时长和单位时间耗电量输入预设多项式以计算得到预设电量阈值,该预设多项式可以是线性多项式或者非线性多项式。In some implementations, the preset duration and power consumption per unit time may be input into a preset polynomial to calculate the preset power threshold, and the preset polynomial may be a linear polynomial or a nonlinear polynomial.

在另一些实施方式中,可以将预设持续时长和单位时间耗电量输入电量阈值模型以得到预设电量阈值,该电量阈值模型可以是利用训练集对预设的深度学习模型进行训练得到的。In other embodiments, the preset duration and power consumption per unit time can be input into the power threshold model to obtain the preset power threshold model, which can be obtained by using the training set to train the preset deep learning model .

在一些可选的实施方式中,步骤S101中的所述响应于MRI模式控制指令,进入MRI模式,包括:In some optional implementation manners, entering the MRI mode in response to the MRI mode control instruction in step S101 includes:

响应于所述MRI模式控制指令,检测所述脉冲发生器的每个刺激参数是否处于对应的预设范围;Responding to the MRI mode control instruction, detecting whether each stimulation parameter of the pulse generator is within a corresponding preset range;

如果所有刺激参数均处于对应的预设范围,则进入MRI模式;If all stimulation parameters are in the corresponding preset range, enter the MRI mode;

所述方法还包括:The method also includes:

如果一个或多个刺激参数不处于对应的预设范围,则向所述接收设备发送第二提示信息,所述第二提示信息用于指示不处于自身对应的预设范围的刺激参数。If one or more stimulation parameters are not within the corresponding preset range, sending second prompt information to the receiving device, where the second prompt information is used to indicate the stimulation parameters that are not within the corresponding preset range.

在MRI模式下,患者全身或特定部位进入MRI设备中,外部场可能会导致植入于患者体内的脉冲发生器所产生的电磁场发生波动,这种波动可能会影响脉冲发生器的电刺激治疗效果,甚至造成人体损伤。因此可以使脉冲发生器的各刺激参数处于给定的预设范围内,再进入MRI模式,其中,预设范围是预先设定的取值范围(取值范围可以是数值取值范围或者非数值取值范围),当各刺激参数处于自身对应的预设范围时,脉冲发生器不产生电磁场或者所产生的电磁场能够较少受到MRI设备干扰。即,可以提前关掉脉冲发生器(使各刺激参数为0、为空或者采用缺省选项),停止电刺激治疗,再进入MRI模式。In the MRI mode, the whole body or specific parts of the patient enter the MRI equipment, and the external field may cause fluctuations in the electromagnetic field generated by the pulse generator implanted in the patient, which may affect the electrical stimulation therapy effect of the pulse generator , and even cause bodily injury. Therefore, each stimulation parameter of the pulse generator can be within a given preset range, and then enter the MRI mode, wherein the preset range is a preset value range (the value range can be a numerical value range or a non-numeric value value range), when each stimulation parameter is within its corresponding preset range, the pulse generator does not generate an electromagnetic field or the generated electromagnetic field can be less interfered by the MRI equipment. That is, the pulse generator can be turned off in advance (make each stimulation parameter 0, empty or use the default option), stop the electrical stimulation treatment, and then enter the MRI mode.

本申请实施例对每个刺激参数对应的预设范围不作限定。The embodiment of the present application does not limit the preset range corresponding to each stimulation parameter.

本申请实施例中,刺激参数例如可以包括以下至少一种:用于递送电刺激的电极触点标识、频率、脉宽、幅值、时序和刺激模式。In the embodiment of the present application, the stimulation parameters may include at least one of the following, for example: electrode contact identification, frequency, pulse width, amplitude, timing and stimulation mode for delivering electrical stimulation.

作为示例,用于递送电刺激的电极触点标识对应的预设范围例如是空(不选定任何电极触点);频率、脉宽、幅值对应的预设范围例如可以是0;时序对应的预设范围例如可以是连续和簇发(即不作限定);刺激模式对应的预设范围例如可以是电流模式、电压模式、定时刺激模式和循环刺激模式(即不作限定)。As an example, the preset range corresponding to the electrode contact identification used to deliver electrical stimulation is, for example, empty (no electrode contact is selected); the preset range corresponding to frequency, pulse width, and amplitude can be 0, for example; timing corresponds to The preset ranges can be, for example, continuous and burst (that is, not limited); the preset ranges corresponding to the stimulation modes can be, for example, current mode, voltage mode, timed stimulation mode and cycle stimulation mode (that is, not limited).

参见图3,图3示出了本申请实施例提供的一种确定每个刺激参数的参数值的流程示意图。Referring to FIG. 3 , FIG. 3 shows a schematic flowchart of determining a parameter value of each stimulation parameter provided by an embodiment of the present application.

在一些可选的实施方式中,确定所述脉冲发生器的每个刺激参数的参数值的过程包括:In some optional implementation manners, the process of determining the parameter value of each stimulation parameter of the pulse generator includes:

步骤S201:利用植入于所述患者体内的电极导线感测所述患者的电生理活动,以得到所述患者的电生理信号;Step S201: sensing the patient's electrophysiological activity by using the electrode lead implanted in the patient's body to obtain the patient's electrophysiological signal;

步骤S202:将所述患者的电生理信号输入至状态分类模型,以得到所述电生理信号对应的状态分类信息;Step S202: Input the electrophysiological signal of the patient into the state classification model to obtain state classification information corresponding to the electrophysiological signal;

步骤S203:当所述电生理信号对应的状态分类信息用于指示所述患者的病情未得到控制时,将所述电生理信号输入至参数配置模型,以得到所述电生理信号对应的参数配置信息,从而利用所述电极导线向所述患者递送所述参数配置信息对应的电刺激,所述参数配置信息用于指示所述脉冲发生器的每个刺激参数的参数值。Step S203: When the state classification information corresponding to the electrophysiological signal is used to indicate that the patient's condition is not under control, input the electrophysiological signal into the parameter configuration model to obtain the parameter configuration corresponding to the electrophysiological signal Information, so as to use the electrode leads to deliver electrical stimulation corresponding to the parameter configuration information to the patient, and the parameter configuration information is used to indicate the parameter value of each stimulation parameter of the pulse generator.

由此,基于实时感测得到的电生理信号对患者的状态进行分类,状态分类信息用于指示患者的病情得到控制或者患者的病情未得到控制;当患者的病情未得到控制时,基于实时感测得到的电生理信号获取对应的参数配置信息,从而向患者递送该参数配置信息对应的电刺激。Thus, the state of the patient is classified based on the electrophysiological signals sensed in real time, and the state classification information is used to indicate that the patient's condition is under control or that the patient's condition is not under control; The corresponding parameter configuration information is obtained from the measured electrophysiological signal, so as to deliver the electrical stimulation corresponding to the parameter configuration information to the patient.

也就是说,为获取参数配置信息设置了一个前提条件,即基于患者的电生理信号检测出患者的病情未得到控制时,才会获取参数配置信息,而当患者的病情得到控制时,不获取参数配置信息。That is to say, a precondition is set for obtaining the parameter configuration information, that is, when it is detected based on the patient's electrophysiological signal that the patient's condition is not under control, the parameter configuration information will be obtained, and when the patient's condition is under control, the parameter configuration information will not be obtained. Parameter configuration information.

这样做的好处是,可以减少参数配置信息的获取次数,减少脉冲发生器的计算量,减少耗电,延长充电型脉冲发生器的充电间隔或者延长非充电型脉冲发生器的使用寿命。The advantage of doing this is that it can reduce the number of acquisitions of parameter configuration information, reduce the amount of calculation of the pulse generator, reduce power consumption, prolong the charging interval of the rechargeable pulse generator or prolong the service life of the non-rechargeable pulse generator.

其中,利用状态分类模型和参数配置模型来分别获取状态分类信息和参数配置信息,实时性强,准确度高,适用范围广。Among them, using the state classification model and the parameter configuration model to obtain state classification information and parameter configuration information respectively has strong real-time performance, high accuracy and wide application range.

状态分类模型的训练过程例如可以包括:The training process of the state classification model may include, for example:

获取第一训练集,所述第一训练集包括多个第一训练数据,每个所述第一训练数据包括一个样本电生理信号以及所述样本电生理信号对应的状态分类信息的标注数据,所述样本电生理信号对应的状态分类信息用于指示病情是否得到控制;Acquiring a first training set, the first training set includes a plurality of first training data, each of the first training data includes a sample electrophysiological signal and label data of state classification information corresponding to the sample electrophysiological signal, The state classification information corresponding to the sample electrophysiological signal is used to indicate whether the condition is under control;

针对所述第一训练集中的每个第一训练数据,执行以下处理:For each first training data in the first training set, perform the following processing:

将所述第一训练数据中的样本电生理信号输入至预设的第一深度学习模型,以得到所述样本电生理信号对应的状态分类信息的预测数据;Inputting the sample electrophysiological signals in the first training data to a preset first deep learning model to obtain prediction data of state classification information corresponding to the sample electrophysiological signals;

基于所述样本电生理信号对应的状态分类信息的预测数据和标注数据,对所述第一深度学习模型的模型参数进行更新;updating the model parameters of the first deep learning model based on the prediction data and labeling data of the state classification information corresponding to the sample electrophysiological signal;

检测是否满足预设的第一训练结束条件;如果是,则将训练出的所述第一深度学习模型作为所述状态分类模型;如果否,则利用下一个所述第一训练数据继续训练所述第一深度学习模型。Detect whether the preset first training end condition is met; if yes, use the trained first deep learning model as the state classification model; if not, use the next first training data to continue training the Describe the first deep learning model.

参数配置模型的训练过程包括:The training process of the parameter configuration model includes:

获取第二训练集,所述第二训练集包括多个第二训练数据,每个所述第二训练数据包括一个样本电生理信号以及所述样本电生理信号对应的参数配置信息的标注数据;Acquire a second training set, the second training set includes a plurality of second training data, each of the second training data includes a sample electrophysiological signal and label data of parameter configuration information corresponding to the sample electrophysiological signal;

针对所述第二训练集中的每个第二训练数据,执行以下处理:For each second training data in the second training set, perform the following processing:

将所述第二训练数据中的样本电生理信号输入预设的第二深度学习模型,以以得到所述样本电生理信号对应的参数配置信息的预测数据;Inputting the sample electrophysiological signals in the second training data into a preset second deep learning model to obtain prediction data of parameter configuration information corresponding to the sample electrophysiological signals;

基于所述样本电生理信号对应的参数配置信息的预测数据和标注数据,对所述第二深度学习模型的模型参数进行更新;updating the model parameters of the second deep learning model based on the prediction data and labeling data of the parameter configuration information corresponding to the sample electrophysiological signal;

检测是否满足预设的第二训练结束条件;如果是,则将训练出的所述第二深度学习模型作为所述参数配置模型;如果否,则利用下一个所述第二训练数据继续训练所述第二深度学习模型。Detect whether the preset second training end condition is met; if yes, use the second deep learning model trained as the parameter configuration model; if not, use the next second training data to continue training the Describe the second deep learning model.

由此,通过设计,建立适量的神经元计算节点和多层运算层次结构,选择合适的输入层和输出层,就可以得到预设的深度学习模型(包括第一深度学习模型和第二深度学习模型),通过深度学习模型的学习和调优,建立起从输入到输出的函数关系,虽然不能100%找到输入与输出的函数关系,但是可以尽可能地逼近现实的关联关系,由此训练得到的状态分类模型和参数配置模型,可以基于输入数据获取对应的输出数据,适用范围广,且计算结果准确性高、可靠性高。Therefore, by designing, establishing an appropriate amount of neuron computing nodes and a multi-layer computing hierarchy, and selecting an appropriate input layer and output layer, a preset deep learning model (including the first deep learning model and the second deep learning model) can be obtained. model), through the learning and tuning of the deep learning model, the functional relationship from input to output is established. Although the functional relationship between input and output cannot be found 100%, it can be as close as possible to the actual relationship. The state classification model and parameter configuration model can obtain the corresponding output data based on the input data, which has a wide range of applications, and the calculation results are highly accurate and reliable.

使用样本电生理信号对深度学习模型进行训练,能够只通过学习少量样本就可以进行快速建模,深度学习模型在不断的训练过程中训练误差会逐渐降低,深度学习模型可以保存最优的权重,并读取权重;记录下训练集和验证集的精度,便于调参(调整模型参数);对深度学习模型的模型参数进行更新,可以使模型更好地拟合数据,具有有效的泛化能力,提高鲁棒性和拟合精度。Using sample electrophysiological signals to train the deep learning model can quickly model by learning a small number of samples. The training error of the deep learning model will gradually decrease during the continuous training process. The deep learning model can save the optimal weight. And read the weights; record the accuracy of the training set and verification set, which is convenient for parameter adjustment (adjusting model parameters); updating the model parameters of the deep learning model can make the model better fit the data and have effective generalization capabilities , to improve robustness and fitting accuracy.

在一些可选的实施方式中,本申请实施例可以训练得到状态分类模型和参数配置模型,在另一些可选的实施方式中,本申请可以采用预先训练好的状态分类模型和参数配置模型。In some optional implementation manners, the embodiment of the present application can train a state classification model and a parameter configuration model. In other optional implementation manners, the present application can use a pre-trained state classification model and parameter configuration model.

在一些可选的实施方式中,例如可以对历史数据进行数据挖掘,以获取训练集(包括第一训练集和第二训练集)中的样本电生理信号。也就是说,这些样本电生理信号可以是对真实患者进行采集得到的。另外,样本电生理信号也可以是利用GAN模型的生成网络自动生成的。In some optional implementation manners, for example, data mining may be performed on historical data to obtain sample electrophysiological signals in the training set (including the first training set and the second training set). That is to say, these sample electrophysiological signals may be collected from real patients. In addition, the sample electrophysiological signal can also be automatically generated by using the generation network of the GAN model.

其中,GAN模型即生成对抗网络(Generative Adversarial Network),由一个生成网络与一个判别网络组成。生成网络从潜在空间(latent space)中随机采样作为输入,其输出结果需要尽量模仿训练集中的真实样本。判别网络的输入则为真实样本或生成网络的输出,其目的是将生成网络的输出从真实样本中尽可能分辨出来。而生成网络则要尽可能地欺骗判别网络。两个网络相互对抗、不断调整参数,最终目的是使判别网络无法判断生成网络的输出结果是否真实。使用GAN模型可以生成多个样本电生理信号,用于状态分类模型和参数配置模型的训练过程,能有效降低原始数据采集的数据量,大大降低数据采集和标注的成本。Among them, the GAN model is the Generative Adversarial Network, which consists of a generation network and a discriminant network. The generator network randomly samples from the latent space as input, and its output needs to imitate the real samples in the training set as much as possible. The input of the discriminative network is the real sample or the output of the generation network, and its purpose is to distinguish the output of the generation network from the real sample as much as possible. The generative network should deceive the discriminative network as much as possible. The two networks fight against each other and constantly adjust the parameters. The ultimate goal is to make the discriminant network unable to judge whether the output of the generating network is true or not. Using the GAN model can generate multiple sample electrophysiological signals for the training process of the state classification model and parameter configuration model, which can effectively reduce the amount of data collected by the original data, and greatly reduce the cost of data collection and labeling.

本申请实施例对标注数据的获取方式不作限定,例如可以采用人工标注的方式,也可以采用自动标注或者半自动标注的方式。当样本电生理信号是对真实患者采集得到时,可以通过关键词提取的方式从历史数据中获取真实数据作为标注数据。The embodiment of the present application does not limit the manner of obtaining the labeling data, for example, manual labeling, automatic labeling or semi-automatic labeling may be used. When the sample electrophysiological signals are collected from real patients, real data can be obtained from historical data as labeled data by means of keyword extraction.

本申请实施例对状态分类模型和参数配置模型的训练过程不作限定,其例如可以采用上述监督学习的训练方式,或者可以采用半监督学习的训练方式,或者可以采用无监督学习的训练方式。The embodiment of the present application does not limit the training process of the state classification model and the parameter configuration model. For example, the training method of the above-mentioned supervised learning, or the training method of semi-supervised learning, or the training method of unsupervised learning can be used.

本申请实施例对预设的训练结束条件(包括第一训练结束条件和第二训练结束条件)不作限定,其例如可以是训练次数达到预设次数(预设次数例如是1次、3次、10次、100次、1000次、10000次等),或者可以是训练集中的训练数据都完成一次或多次训练,或者可以是本次训练得到的总损失值不大于预设损失值。The embodiment of the present application does not limit the preset training end condition (including the first training end condition and the second training end condition), which can be, for example, 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 be that the training data in the training set has completed one or more trainings, or it can be that the total loss value obtained in this training is not greater than the preset loss value.

在一些可选的实施方式中,所述脉冲发生器还包括无线通信模块;In some optional implementation manners, the pulse generator also includes a wireless communication module;

停止接收外部设备发送的信息的过程包括:The process of stopping receiving information from external devices includes:

禁用所述无线通信模块的接收功能;Disable the receiving function of the wireless communication module;

恢复接收外部设备发送的信息的过程包括:The process of resuming receiving information sent by the external device includes:

启用所述无线通信模块的接收功能。Enable the receiving function of the wireless communication module.

由此,由于脉冲发生器植入于患者体内,脉冲发生器和外部设备之间采用无线通信方式,因此,禁用所述无线通信模块的接收功能,就可以使处理器停止接收外部设备发送的信息,相应地,启用所述无线通信模块的接收功能,就可以使处理器恢复接收外部设备发送的信息。Thus, since the pulse generator is implanted in the patient's body, the pulse generator and the external device adopt a wireless communication mode, therefore, disabling the receiving function of the wireless communication module can make the processor stop receiving information sent by the external device Correspondingly, enabling the receiving function of the wireless communication module can enable the processor to resume receiving information sent by the external device.

本申请实施例对无线通信模块不作限定,其工作频段例如可以包括401MHz-406MHz(MICS专用植入式医疗频段)和/或2.4GHz-2.48GHz。The embodiment of the present application does not limit the wireless communication module, and its working frequency band may include, for example, 401MHz-406MHz (MICS dedicated implantable medical frequency band) and/or 2.4GHz-2.48GHz.

MICS即医疗植入物通信服务,用于满足外部设备与植入物之间的沟通需求。植入物包括心脏起搏器、除颤器、刺激器、药物输送系统等。MICS stands for Medical Implant Communication Service, which is used to meet the communication needs between external devices and implants. Implants include pacemakers, defibrillators, stimulators, drug delivery systems, and more.

在一些可选的实施方式中,所述禁用所述无线通信模块的接收功能,包括:In some optional implementation manners, the disabling the receiving function of the wireless communication module includes:

向所述无线通信模块发送第一使能信号,以禁用所述无线通信模块的接收功能;sending a first enabling signal to the wireless communication module to disable the receiving function of the wireless communication module;

所述启用所述无线通信模块的接收功能,包括:The enabling of the receiving function of the wireless communication module includes:

向所述无线通信模块发送第二使能信号,以启用所述无线通信模块的接收功能。sending a second enabling signal to the wireless communication module to enable the receiving function of the wireless communication module.

由此,通过第一使能信号和第二使能信号分别控制无线通信模块的接收功能的禁用和启用,控制过程简单,容易实现。第一使能信号例如是高电平,第二使能信号例如是低电平;或者,第一使能信号例如是低电平,第二使能信号例如是高电平。Therefore, the disabling and enabling of the receiving function of the wireless communication module are controlled respectively through the first enabling signal and the second enabling signal, and the control process is simple and easy to implement. The first enable signal is, for example, a high level, and the second enable signal is, for example, a low level; or, the first enable signal is, for example, a low level, and the second enable signal is, for example, a high level.

在一些可选的实施方式中,所述脉冲发生器具有MRI模式、休眠模式、快速侦听模式和通信模式;In some optional embodiments, the pulse generator has an MRI mode, a sleep mode, a fast listening mode and a communication mode;

接收MRI模式控制指令的过程包括:The process of receiving MRI mode control instructions includes:

当检测到有磁体靠近所述脉冲发生器时,将所述脉冲发生器从休眠模式切换为快速侦听模式,所述脉冲发生器在休眠模式下的侦听周期是第一预设时长,所述脉冲发生器在快速侦听模式下的侦听周期是第二预设时长,所述第二预设时长小于所述第一预设时长;When it is detected that there is a magnet close to the pulse generator, the pulse generator is switched from the sleep mode to the fast listening mode, and the listening period of the pulse generator in the sleep mode is the first preset duration, so The listening period of the pulse generator in the fast listening mode is a second preset duration, and the second preset duration is shorter than the first preset duration;

在快速侦听模式下建立所述脉冲发生器和所述模式控制设备之间的通信连接,以使所述脉冲发生器进入通信模式;establishing a communication connection between the pulse generator and the mode control device in a fast listening mode, so that the pulse generator enters a communication mode;

在通信模式下接收所述MRI模式控制指令。The MRI mode control instruction is received in a communication mode.

本申请实施例对磁体不作限定,其例如可以是永磁体或者软磁体。具体而言,磁体可以采用磁铁或者其他具有磁性的物体。The embodiment of the present application does not limit the magnet, which may be, for example, a permanent magnet or a soft magnet. Specifically, the magnet may be a magnet or other magnetic objects.

由此,在休眠模式下脉冲发生器的侦听周期较长,可能需要较长时间才能被模式控制设备搜索到;而在快速侦听模式下脉冲发生器的侦听周期较短,能够快速被模式控制设备搜索到。Therefore, in the dormant mode, the pulse generator has a long listening period, and it may take a long time to be searched by the mode control device; while in the fast listening mode, the pulse generator has a short listening period, and can be quickly detected. The mode control device is searched for.

因此,当需要对指定的脉冲发生器进行MRI模式控制时,可以利用磁体靠近脉冲发生器,将脉冲发生器从休眠模式切换为快速侦听模式,建立通信连接,并在通信模式下接收MRI模式控制指令。Therefore, when MRI mode control of a specified pulse generator is required, a magnet can be used to approach the pulse generator, switch the pulse generator from sleep mode to fast listening mode, establish a communication connection, and receive MRI mode in communication mode Control instruction.

这样做的好处是,能够使指定的脉冲发生器快速被模式控制设备搜索到,并执行MRI模式控制,提高MRI模式控制效率,减少患者等待进入MRI设备的时间,从整体上辅助患者快速完成MRI检测过程,并恢复正常的电刺激治疗,减少患者的心理压力,有助于稳定患者的病情,特别是对于重度强迫症患者或者戒毒人员等对电刺激治疗依赖程度较深的患者。The advantage of this is that the specified pulse generator can be quickly searched by the mode control device, and the MRI mode control can be performed, which improves the efficiency of MRI mode control, reduces the time for patients to wait for access to the MRI equipment, and assists patients to quickly complete MRI as a whole. The detection process and normal electrical stimulation therapy can reduce the patient’s psychological pressure and help stabilize the patient’s condition, especially for patients with severe obsessive-compulsive disorder or drug addicts who rely heavily on electrical stimulation therapy.

(设备实施例)(device embodiment)

本申请还提供了一种脉冲发生器,其具体实施方式与上述方法实施例中记载的实施方式、所达到的技术效果一致,部分内容不再赘述。The present application also provides a pulse generator, the specific implementation manner of which is consistent with the implementation manner and achieved technical effect described in the above-mentioned method embodiments, and part of the content will not be repeated here.

所述脉冲发生器用于植入于患者体内,所述脉冲发生器包括存储器和处理器,所述存储器存储有计算机程序,所述处理器被配置成执行所述计算机程序时实现以下步骤:The pulse generator is used to be implanted in a patient, the pulse generator includes a memory and a processor, the memory stores a computer program, and the processor is configured to implement the following steps when executing the computer program:

响应于MRI模式控制指令,进入MRI模式,停止接收外部设备发送的信息,并开始预设持续时长的倒计时,所述MRI模式控制指令用于指示所述脉冲发生器的MRI模式的预设持续时长;In response to the MRI mode control command, enter the MRI mode, stop receiving information sent by the external device, and start the countdown of the preset duration, the MRI mode control command is used to indicate the preset duration of the MRI mode of the pulse generator ;

当倒计时未结束时,以预设频率将倒计时的实时剩余时长发送至预设的接收设备,以使所述接收设备显示所述实时剩余时长,所述接收设备包括模式控制设备、程控设备和显示设备中的一种或多种;When the countdown is not over, the real-time remaining duration of the countdown is sent to a preset receiving device at a preset frequency, so that the receiving device displays the real-time remaining duration, and the receiving device includes a mode control device, a program-controlled device and a display one or more of the devices;

当倒计时结束时,退出MRI模式,恢复接收外部设备发送的信息。When the countdown is over, exit the MRI mode and resume receiving the information sent by the external device.

在一些可选的实施方式中,所述处理器被配置成执行所述计算机程序时采用以下方式响应于MRI模式控制指令,进入MRI模式:In some optional implementation manners, the processor is configured to enter the MRI mode in response to the MRI mode control instruction in the following manner when executing the computer program:

响应于所述MRI模式控制指令,检测所述脉冲发生器的电量是否不小于预设电量阈值;Responding to the MRI mode control command, detecting whether the power of the pulse generator is not less than a preset power threshold;

如果所述脉冲发生器的电量不小于所述预设电量阈值,则进入MRI模式;If the power of the pulse generator is not less than the preset power threshold, enter the MRI mode;

所述处理器还被配置成执行所述计算机程序时实现以下步骤:The processor is also configured to implement the following steps when executing the computer program:

如果所述脉冲发生器的电量小于所述预设电量阈值,则向所述接收设备发送第一提示信息,所述第一提示信息用于指示所述脉冲发生器的电量小于所述预设电量阈值。If the electric quantity of the pulse generator is less than the preset electric quantity threshold, then send first prompt information to the receiving device, the first prompt information is used to indicate that the electric quantity of the pulse generator is less than the preset electric quantity threshold.

在一些可选的实施方式中,所述处理器被配置成执行所述计算机程序时采用以下方式获取所述预设电量阈值:In some optional implementation manners, the processor is configured to acquire the preset power threshold in the following manner when executing the computer program:

基于所述预设持续时长和预设的单位时间耗电量,获取所述预设电量阈值。The preset power threshold is acquired based on the preset duration and the preset power consumption per unit time.

在一些可选的实施方式中,所述处理器被配置成执行所述计算机程序时采用以下方式响应于MRI模式控制指令,进入MRI模式:In some optional implementation manners, the processor is configured to enter the MRI mode in response to the MRI mode control instruction in the following manner when executing the computer program:

响应于所述MRI模式控制指令,检测所述脉冲发生器的每个刺激参数是否处于对应的预设范围;Responding to the MRI mode control instruction, detecting whether each stimulation parameter of the pulse generator is within a corresponding preset range;

如果所有刺激参数均处于对应的预设范围,则进入MRI模式;If all stimulation parameters are in the corresponding preset range, enter the MRI mode;

所述处理器还被配置成执行所述计算机程序时实现以下步骤:The processor is also configured to implement the following steps when executing the computer program:

如果一个或多个刺激参数不处于对应的预设范围,则向所述接收设备发送第二提示信息,所述第二提示信息用于指示不处于自身对应的预设范围的刺激参数。If one or more stimulation parameters are not within the corresponding preset range, sending second prompt information to the receiving device, where the second prompt information is used to indicate the stimulation parameters that are not within the corresponding preset range.

在一些可选的实施方式中,所述处理器还被配置成执行所述计算机程序时采用以下方式确定所述脉冲发生器的每个刺激参数的参数值:In some optional implementations, the processor is further configured to determine the parameter value of each stimulation parameter of the pulse generator in the following manner when executing the computer program:

利用植入于所述患者体内的电极导线感测所述患者的电生理活动,以得到所述患者的电生理信号;sensing the electrophysiological activity of the patient by using an electrode lead implanted in the patient to obtain an electrophysiological signal of the patient;

将所述患者的电生理信号输入至状态分类模型,以得到所述电生理信号对应的状态分类信息;Inputting the electrophysiological signal of the patient into a state classification model to obtain state classification information corresponding to the electrophysiological signal;

当所述电生理信号对应的状态分类信息用于指示所述患者的病情未得到控制时,将所述电生理信号输入至参数配置模型,以得到所述电生理信号对应的参数配置信息,从而利用所述电极导线向所述患者递送所述参数配置信息对应的电刺激,所述参数配置信息用于指示所述脉冲发生器的每个刺激参数的参数值。When the state classification information corresponding to the electrophysiological signal is used to indicate that the condition of the patient is not under control, the electrophysiological signal is input into the parameter configuration model to obtain the parameter configuration information corresponding to the electrophysiological signal, so that The electrical stimulation corresponding to the parameter configuration information is delivered to the patient by using the electrode lead, and the parameter configuration information is used to indicate a parameter value of each stimulation parameter of the pulse generator.

在一些可选的实施方式中,所述脉冲发生器还包括无线通信模块;In some optional implementation manners, the pulse generator also includes a wireless communication module;

所述处理器被配置成执行所述计算机程序时采用以下方式停止接收外部设备发送的信息:The processor is configured to stop receiving information sent by the external device in the following manner when executing the computer program:

禁用所述无线通信模块的接收功能;Disable the receiving function of the wireless communication module;

所述处理器被配置成执行所述计算机程序时采用以下方式恢复接收外部设备发送的信息:The processor is configured to resume receiving information sent by the external device in the following manner when executing the computer program:

启用所述无线通信模块的接收功能。Enable the receiving function of the wireless communication module.

在一些可选的实施方式中,所述处理器被配置成执行所述计算机程序时采用以下方式禁用所述无线通信模块的接收功能:In some optional implementation manners, the processor is configured to disable the receiving function of the wireless communication module in the following manner when executing the computer program:

向所述无线通信模块发送第一使能信号,以禁用所述无线通信模块的接收功能;sending a first enabling signal to the wireless communication module to disable the receiving function of the wireless communication module;

所述处理器被配置成执行所述计算机程序时采用以下方式启用所述无线通信模块的接收功能:The processor is configured to enable the receiving function of the wireless communication module in the following manner when executing the computer program:

向所述无线通信模块发送第二使能信号,以启用所述无线通信模块的接收功能。sending a second enabling signal to the wireless communication module to enable the receiving function of the wireless communication module.

在一些可选的实施方式中,所述脉冲发生器具有MRI模式、休眠模式、快速侦听模式和通信模式;In some optional embodiments, the pulse generator has an MRI mode, a sleep mode, a fast listening mode and a communication mode;

所述处理器被配置成执行所述计算机程序时采用以下方式接收MRI模式控制指令:The processor is configured to receive the MRI mode control instruction in the following manner when executing the computer program:

当检测到有磁体靠近所述脉冲发生器时,将所述脉冲发生器从休眠模式切换为快速侦听模式,所述脉冲发生器在休眠模式下的侦听周期是第一预设时长,所述脉冲发生器在快速侦听模式下的侦听周期是第二预设时长,所述第二预设时长小于所述第一预设时长;When it is detected that there is a magnet close to the pulse generator, the pulse generator is switched from the sleep mode to the fast listening mode, and the listening period of the pulse generator in the sleep mode is the first preset duration, so The listening period of the pulse generator in the fast listening mode is a second preset duration, and the second preset duration is shorter than the first preset duration;

在快速侦听模式下建立所述脉冲发生器和所述模式控制设备之间的通信连接,以使所述脉冲发生器进入通信模式;establishing a communication connection between the pulse generator and the mode control device in a fast listening mode, so that the pulse generator enters a communication mode;

在通信模式下接收所述MRI模式控制指令。The MRI mode control instruction is received in a communication mode.

参见图4,图4示出了本申请实施例提供的一种脉冲发生器的结构框图。Referring to FIG. 4 , FIG. 4 shows a structural block diagram of a pulse generator provided by an embodiment of the present application.

脉冲发生器例如可以包括至少一个存储器210、至少一个处理器220以及连接不同平台系统的总线230。The pulse generator may include, for example, at least one memory 210, at least one processor 220, and a bus 230 connecting different platform systems.

存储器210可以包括易失性存储器形式的可读介质,例如随机存取存储器(RAM)211和/或高速缓存存储器212,还可以进一步包括只读存储器(ROM)213。Memory 210 may include readable media in the form of volatile memory, such as random access memory (RAM) 211 and/or cache memory 212 , and may further include read only memory (ROM) 213 .

其中,存储器210还存储有计算机程序,计算机程序可以被处理器220执行,使得处理器220实现上述任一项方法的步骤。Wherein, the memory 210 also stores a computer program, and the computer program can be executed by the processor 220, so that the processor 220 implements the steps of any one of the above-mentioned methods.

存储器210还可以包括具有至少一个程序模块215的实用工具214,这样的程序模块215包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例的每一个或某种组合中可能包括网络环境的实现。Memory 210 may also include utility 214 having at least one program module 215 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some of these examples Implementations of network environments may be included in this combination.

相应的,处理器220可以执行上述计算机程序,以及可以执行实用工具214。Correspondingly, the processor 220 can execute the above-mentioned computer program, and can execute the utility tool 214 .

处理器220可以采用一个或多个应用专用集成电路(ASIC,Application SpecificIntegrated Circuit)、DSP、可编程逻辑器件(PLD,ProgrammableLogicDevice)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、现场可编程门阵列(FPGA,Field-Programmable Gate Array)或其他电子元件。Processor 220 can adopt one or more application-specific integrated circuits (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, ProgrammableLogicDevice), complex programmable logic device (CPLD, Complex Programmable LogicDevice), field programmable Gate array (FPGA, Field-Programmable Gate Array) or other electronic components.

总线230可以为表示几类总线结构的一种或多种,包括存储器总线或者存储器控制器、外围总线、图形加速端口、处理器或者使用多种总线结构的任意总线结构的局域总线。Bus 230 may be a local bus representing one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or any bus structure using a variety of bus structures.

脉冲发生器也可以与一个或多个外部设备240例如键盘、指向设备、蓝牙设备等通信,还可与一个或者多个能够与该脉冲发生器交互的设备通信,和/或与使得该脉冲发生器能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等)通信。这种通信可以通过输入输出接口250进行。并且,脉冲发生器还可以通过网络适配器260与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。网络适配器260可以通过总线230与脉冲发生器的其它模块通信。应当明白,尽管图中未示出,可以结合脉冲发生器使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理器、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储平台等。The pulse generator can also communicate with one or more external devices 240, such as keyboards, pointing devices, Bluetooth devices, etc., and can also communicate with one or more devices capable of interacting with the pulse generator, and/or communicate with the pulse generator to cause the pulse to occur. A router is any device (eg, router, modem, etc.) capable of communicating with one or more other computing devices. Such communication may occur through input-output interface 250 . Also, the pulse generator can also communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN) and/or a public network such as the Internet) through the network adapter 260 . Network adapter 260 may communicate with other modules of the pulse generator via bus 230 . It should be understood that although not shown in the figure, other hardware and/or software modules may be used in conjunction with the pulse generator, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives And data backup storage platform, etc.

(介质实施例)(Medium Example)

本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述任一项方法的步骤或者实现上述任一项脉冲发生器的功能,其具体实施方式与上述方法实施例中记载的实施方式、所达到的技术效果一致,部分内容不再赘述。The embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it realizes the steps of any of the above-mentioned methods or realizes any of the above-mentioned The function of the pulse generator, its specific implementation mode is consistent with the implementation mode and the achieved technical effect described in the above-mentioned method embodiments, and part of the content will not be repeated.

参见图5,图5示出了本申请实施例提供的一种程序产品的结构示意图。Referring to FIG. 5 , FIG. 5 shows a schematic structural diagram of a program product provided by an embodiment of the present application.

所述程序产品用于实现上述任一项方法的步骤。程序产品可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在终端设备,例如个人电脑上运行。然而,本发明的程序产品不限于此,在本申请实施例中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product is used to realize the steps of any one of the above methods. The program product may take the form of a portable compact disc read-only memory (CD-ROM) and include program code, and be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In the embodiments of the present application, the readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, device or device. A program product may take the form of any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: electrical connection with one or more conductors, portable disk, hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

计算机可读存储介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读存储介质还可以是任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。可读存储介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等,或者上述的任意合适的组合。可以以一种或多种程序设计语言的任意组合来编写用于执行本发明操作的程序代码,程序设计语言包括面向对象的程序设计语言诸如Java、C++等,还包括常规的过程式程序设计语言诸如C语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。A computer readable storage medium may include a data signal carrying readable program code in baseband or as part of a carrier wave traveling as part of a data signal. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable storage medium may also be any readable medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the readable storage medium can be transmitted by any appropriate medium, including but not limited to wireless, cable, optical cable, RF, etc., or any suitable combination of the above. The program codes for performing the operations of the present invention can be written in any combination of one or more programming languages, and the programming languages include object-oriented programming languages such as Java, C++, etc., and also include conventional procedural programming languages A programming language such as C or similar. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server to execute. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider). business to connect via the Internet).

本申请从使用目的上,效能上,进步及新颖性等观点进行阐述,已符合专利法所强调的功能增进及使用要件,本申请以上的说明书及说明书附图,仅为本申请的较佳实施例而已,并非以此局限本申请,因此,凡一切与本申请构造,装置,特征等近似、雷同的,即凡依本申请专利申请范围所作的等同替换或修饰等,皆应属本申请的专利申请保护的范围之内。This application is elaborated from the perspectives of purpose of use, performance, progress and novelty, etc., and has met the function enhancement and use requirements emphasized by the Patent Law. The above description and drawings of this application are only the preferred implementation of this application. It is just an example, and this application is not limited thereto. Therefore, all the structures, devices, features, etc. that are similar to or identical to those of this application, that is, all equivalent replacements or modifications made according to the patent application scope of this application, shall belong to this application. within the scope of patent application protection.

Claims (16)

1.一种脉冲发生器,其特征在于,所述脉冲发生器用于植入于患者体内,所述脉冲发生器包括存储器和处理器,所述存储器存储有计算机程序,所述处理器被配置成执行所述计算机程序时实现以下步骤:1. A pulse generator, characterized in that, the pulse generator is used to be implanted in a patient, the pulse generator includes a memory and a processor, the memory stores a computer program, and the processor is configured to The following steps are implemented when the computer program is executed: 响应于MRI模式控制指令,进入MRI模式,停止接收外部设备发送的信息,并开始预设持续时长的倒计时,所述MRI模式控制指令用于指示所述脉冲发生器的MRI模式的预设持续时长;In response to the MRI mode control command, enter the MRI mode, stop receiving information sent by the external device, and start the countdown of the preset duration, the MRI mode control command is used to indicate the preset duration of the MRI mode of the pulse generator ; 当倒计时未结束时,以预设频率将倒计时的实时剩余时长发送至预设的接收设备,以使所述接收设备显示所述实时剩余时长,所述接收设备包括模式控制设备、程控设备和显示设备中的一种或多种;When the countdown is not over, the real-time remaining duration of the countdown is sent to a preset receiving device at a preset frequency, so that the receiving device displays the real-time remaining duration, and the receiving device includes a mode control device, a program-controlled device and a display one or more of the devices; 当倒计时结束时,退出MRI模式,恢复接收外部设备发送的信息。When the countdown is over, exit the MRI mode and resume receiving the information sent by the external device. 2.根据权利要求1所述的脉冲发生器,其特征在于,所述处理器被配置成执行所述计算机程序时采用以下方式响应于MRI模式控制指令,进入MRI模式:2. The pulse generator according to claim 1, wherein the processor is configured to enter the MRI mode in response to the MRI mode control instruction in the following manner when executing the computer program: 响应于所述MRI模式控制指令,检测所述脉冲发生器的电量是否不小于预设电量阈值;Responding to the MRI mode control command, detecting whether the power of the pulse generator is not less than a preset power threshold; 如果所述脉冲发生器的电量不小于所述预设电量阈值,则进入MRI模式;If the power of the pulse generator is not less than the preset power threshold, enter the MRI mode; 所述处理器还被配置成执行所述计算机程序时实现以下步骤:The processor is also configured to implement the following steps when executing the computer program: 如果所述脉冲发生器的电量小于所述预设电量阈值,则向所述接收设备发送第一提示信息,所述第一提示信息用于指示所述脉冲发生器的电量小于所述预设电量阈值。If the electric quantity of the pulse generator is less than the preset electric quantity threshold, then send first prompt information to the receiving device, the first prompt information is used to indicate that the electric quantity of the pulse generator is less than the preset electric quantity threshold. 3.根据权利要求2所述的脉冲发生器,其特征在于,所述处理器被配置成执行所述计算机程序时采用以下方式获取所述预设电量阈值:3. The pulse generator according to claim 2, wherein the processor is configured to obtain the preset power threshold in the following manner when executing the computer program: 基于所述预设持续时长和预设的单位时间耗电量,获取所述预设电量阈值。The preset power threshold is acquired based on the preset duration and the preset power consumption per unit time. 4.根据权利要求1所述的脉冲发生器,其特征在于,所述处理器被配置成执行所述计算机程序时采用以下方式响应于MRI模式控制指令,进入MRI模式:4. The pulse generator according to claim 1, wherein the processor is configured to enter the MRI mode in response to the MRI mode control instruction in the following manner when executing the computer program: 响应于所述MRI模式控制指令,检测所述脉冲发生器的每个刺激参数是否处于对应的预设范围;Responding to the MRI mode control instruction, detecting whether each stimulation parameter of the pulse generator is within a corresponding preset range; 如果所有刺激参数均处于对应的预设范围,则进入MRI模式;If all stimulation parameters are in the corresponding preset range, enter the MRI mode; 所述处理器还被配置成执行所述计算机程序时实现以下步骤:The processor is also configured to implement the following steps when executing the computer program: 如果一个或多个刺激参数不处于对应的预设范围,则向所述接收设备发送第二提示信息,所述第二提示信息用于指示不处于自身对应的预设范围的刺激参数。If one or more stimulation parameters are not within the corresponding preset range, sending second prompt information to the receiving device, where the second prompt information is used to indicate the stimulation parameters that are not within the corresponding preset range. 5.根据权利要求4所述的脉冲发生器,其特征在于,所述处理器还被配置成执行所述计算机程序时采用以下方式确定所述脉冲发生器的每个刺激参数的参数值:5. The pulse generator according to claim 4, wherein the processor is further configured to determine the parameter value of each stimulation parameter of the pulse generator in the following manner when executing the computer program: 利用植入于所述患者体内的电极导线感测所述患者的电生理活动,以得到所述患者的电生理信号;sensing the electrophysiological activity of the patient by using an electrode lead implanted in the patient to obtain an electrophysiological signal of the patient; 将所述患者的电生理信号输入至状态分类模型,以得到所述电生理信号对应的状态分类信息;Inputting the electrophysiological signal of the patient into a state classification model to obtain state classification information corresponding to the electrophysiological signal; 当所述电生理信号对应的状态分类信息用于指示所述患者的病情未得到控制时,将所述电生理信号输入至参数配置模型,以得到所述电生理信号对应的参数配置信息,从而利用所述电极导线向所述患者递送所述参数配置信息对应的电刺激,所述参数配置信息用于指示所述脉冲发生器的每个刺激参数的参数值。When the state classification information corresponding to the electrophysiological signal is used to indicate that the condition of the patient is not under control, the electrophysiological signal is input into the parameter configuration model to obtain the parameter configuration information corresponding to the electrophysiological signal, so that The electrical stimulation corresponding to the parameter configuration information is delivered to the patient by using the electrode lead, and the parameter configuration information is used to indicate a parameter value of each stimulation parameter of the pulse generator. 6.根据权利要求1所述的脉冲发生器,其特征在于,所述脉冲发生器还包括无线通信模块;6. pulse generator according to claim 1, is characterized in that, described pulse generator also comprises wireless communication module; 所述处理器被配置成执行所述计算机程序时采用以下方式停止接收外部设备发送的信息:The processor is configured to stop receiving information sent by the external device in the following manner when executing the computer program: 禁用所述无线通信模块的接收功能;Disable the receiving function of the wireless communication module; 所述处理器被配置成执行所述计算机程序时采用以下方式恢复接收外部设备发送的信息:The processor is configured to resume receiving information sent by the external device in the following manner when executing the computer program: 启用所述无线通信模块的接收功能。Enable the receiving function of the wireless communication module. 7.根据权利要求6所述的脉冲发生器,其特征在于,所述处理器被配置成执行所述计算机程序时采用以下方式禁用所述无线通信模块的接收功能:7. The pulse generator according to claim 6, wherein the processor is configured to disable the receiving function of the wireless communication module in the following manner when executing the computer program: 向所述无线通信模块发送第一使能信号,以禁用所述无线通信模块的接收功能;sending a first enabling signal to the wireless communication module to disable the receiving function of the wireless communication module; 所述处理器被配置成执行所述计算机程序时采用以下方式启用所述无线通信模块的接收功能:The processor is configured to enable the receiving function of the wireless communication module in the following manner when executing the computer program: 向所述无线通信模块发送第二使能信号,以启用所述无线通信模块的接收功能。sending a second enabling signal to the wireless communication module to enable the receiving function of the wireless communication module. 8.根据权利要求1-7任一项所述的脉冲发生器,其特征在于,所述脉冲发生器具有MRI模式、休眠模式、快速侦听模式和通信模式;8. The pulse generator according to any one of claims 1-7, wherein the pulse generator has an MRI mode, a sleep mode, a fast listening mode and a communication mode; 所述处理器被配置成执行所述计算机程序时采用以下方式接收MRI模式控制指令:The processor is configured to receive the MRI mode control instruction in the following manner when executing the computer program: 当检测到有磁体靠近所述脉冲发生器时,将所述脉冲发生器从休眠模式切换为快速侦听模式,所述脉冲发生器在休眠模式下的侦听周期是第一预设时长,所述脉冲发生器在快速侦听模式下的侦听周期是第二预设时长,所述第二预设时长小于所述第一预设时长;When it is detected that there is a magnet close to the pulse generator, the pulse generator is switched from the sleep mode to the fast listening mode, and the listening period of the pulse generator in the sleep mode is the first preset duration, so The listening period of the pulse generator in the fast listening mode is a second preset duration, and the second preset duration is shorter than the first preset duration; 在快速侦听模式下建立所述脉冲发生器和所述模式控制设备之间的通信连接,以使所述脉冲发生器进入通信模式;establishing a communication connection between the pulse generator and the mode control device in a fast listening mode, so that the pulse generator enters a communication mode; 在通信模式下接收所述MRI模式控制指令。The MRI mode control instruction is received in a communication mode. 9.一种刺激器,其特征在于,所述刺激器用于植入于患者体内,所述刺激器包括:9. A stimulator, characterized in that, the stimulator is used to be implanted in a patient, and the stimulator comprises: 权利要求1-8任一项所述的脉冲发生器;The pulse generator according to any one of claims 1-8; 电极导线,所述电极导线用于感测所述患者的电生理活动以得到电生理信号,以及向所述患者的体内组织递送电刺激。The electrode leads are used to sense the electrophysiological activity of the patient to obtain electrophysiological signals, and to deliver electrical stimulation to tissues in the patient's body. 10.根据权利要求9所述的刺激器,其特征在于,所述刺激器还包括:10. The stimulator of claim 9, further comprising: 延伸导线,所述延伸导线设置于所述脉冲发生器和所述电极导线之间,所述延伸导线用于实现所述脉冲发生器和所述电极导线之间的通信连接。An extension wire, the extension wire is arranged between the pulse generator and the electrode wire, and the extension wire is used to realize the communication connection between the pulse generator and the electrode wire. 11.一种医疗系统,其特征在于,所述医疗系统包括:11. A medical system, characterized in that the medical system comprises: 权利要求9或10所述的刺激器;A stimulator as claimed in claim 9 or 10; 模式控制设备,所述模式控制设备被配置成向所述刺激器的脉冲发生器发送MRI模式控制指令,以及接收倒计时的实时剩余时长并实时显示所述实时剩余时长。A mode control device configured to send an MRI mode control instruction to the pulse generator of the stimulator, and receive the real-time remaining duration of the countdown and display the real-time remaining duration in real time. 12.根据权利要求11所述的医疗系统,其特征在于,所述模式控制设备被配置成采用以下方式向所述脉冲发生器发送MRI模式控制指令:12. The medical system according to claim 11, wherein the mode control device is configured to send an MRI mode control instruction to the pulse generator in the following manner: 响应于搜寻操作,搜寻处于侦听状态的脉冲发生器并实时显示;In response to the search operation, search for the pulse generator in the listening state and display it in real time; 响应于针对其中一个处于侦听状态的脉冲发生器的选择操作,建立所述模式控制设备和被选择的脉冲发生器之间的通信连接;In response to a selection operation for one of the pulse generators in the listening state, establishing a communication connection between the mode control device and the selected pulse generator; 响应于针对预设持续时长的设置操作,生成所述MRI模式控制指令,所述MRI模式控制指令用于指示所述脉冲发生器的MRI模式的预设持续时长;generating the MRI mode control instruction in response to the setting operation for the preset duration, the MRI mode control instruction is used to indicate the preset duration of the MRI mode of the pulse generator; 向被选择的脉冲发生器发送所述MRI模式控制指令。Sending the MRI mode control command to the selected pulse generator. 13.根据权利要求12所述的医疗系统,其特征在于,所述模式控制设备被配置成采用以下方式接收并显示所述实时剩余时长:13. The medical system according to claim 12, wherein the mode control device is configured to receive and display the real-time remaining duration in the following manner: 响应于接收MRI操作,搜寻处于MRI模式的脉冲发生器,接收并显示处于MRI模式的每个脉冲发生器的标识和实时剩余时长。In response to receiving the MRI operation, the pulse generators in the MRI mode are searched for, and the identification and real-time remaining duration of each pulse generator in the MRI mode is received and displayed. 14.根据权利要求11所述的医疗系统,其特征在于,所述医疗系统还包括:14. The medical system according to claim 11, wherein the medical system further comprises: 程控设备,所述程控设备被配置成与所述脉冲发生器建立通信连接,向所述脉冲发生器发送程控指令,以调整所述脉冲发生器的刺激参数。A program-controlled device, the program-controlled device is configured to establish a communication connection with the pulse generator, and send a program-controlled command to the pulse generator to adjust stimulation parameters of the pulse generator. 15.根据权利要求14所述的医疗系统,其特征在于,所述模式控制设备和所述程控设备结合为一体。15. The medical system according to claim 14, wherein the mode control device and the program control device are integrated into one body. 16.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-8任一项所述脉冲发生器的功能。16. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the pulse generator according to any one of claims 1-8 is implemented. Function.
CN202211291000.2A 2022-10-21 2022-10-21 Pulse generator, stimulator, medical system and computer readable storage medium Pending CN115430053A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202211291000.2A CN115430053A (en) 2022-10-21 2022-10-21 Pulse generator, stimulator, medical system and computer readable storage medium
CN202311360154.7A CN117942497A (en) 2022-10-21 2023-10-19 Pulse generator, stimulator, medical system, and computer-readable storage medium
PCT/CN2023/125439 WO2024083193A1 (en) 2022-10-21 2023-10-19 Pulse generator, stimulator, medical system and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211291000.2A CN115430053A (en) 2022-10-21 2022-10-21 Pulse generator, stimulator, medical system and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN115430053A true CN115430053A (en) 2022-12-06

Family

ID=84252640

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202211291000.2A Pending CN115430053A (en) 2022-10-21 2022-10-21 Pulse generator, stimulator, medical system and computer readable storage medium
CN202311360154.7A Pending CN117942497A (en) 2022-10-21 2023-10-19 Pulse generator, stimulator, medical system, and computer-readable storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202311360154.7A Pending CN117942497A (en) 2022-10-21 2023-10-19 Pulse generator, stimulator, medical system, and computer-readable storage medium

Country Status (2)

Country Link
CN (2) CN115430053A (en)
WO (1) WO2024083193A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116680571A (en) * 2023-06-29 2023-09-01 苏州景昱医疗器械有限公司 Parameter configuration device, medical system, storage medium, and program product
WO2024083193A1 (en) * 2022-10-21 2024-04-25 景昱医疗科技(苏州)股份有限公司 Pulse generator, stimulator, medical system and computer-readable storage medium
CN118490987A (en) * 2024-07-16 2024-08-16 杭州神络医疗科技有限公司 Wireless communication method and device for nerve stimulator and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101912668B (en) * 2010-07-26 2013-04-10 香港脑泰科技有限公司 Navigation transcranial magnetic stimulation treatment system
CN106110503B (en) * 2016-06-17 2018-11-23 清华大学 A kind of implantable medical devices and its working method with MRI mode
US10792501B2 (en) * 2017-01-03 2020-10-06 Boston Scientific Neuromodulation Corporation Systems and methods for selecting MRI-compatible stimulation parameters
CN113362946A (en) * 2021-07-20 2021-09-07 景昱医疗器械(长沙)有限公司 Video processing apparatus, electronic device, and computer-readable storage medium
CN115430053A (en) * 2022-10-21 2022-12-06 苏州景昱医疗器械有限公司 Pulse generator, stimulator, medical system and computer readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024083193A1 (en) * 2022-10-21 2024-04-25 景昱医疗科技(苏州)股份有限公司 Pulse generator, stimulator, medical system and computer-readable storage medium
CN116680571A (en) * 2023-06-29 2023-09-01 苏州景昱医疗器械有限公司 Parameter configuration device, medical system, storage medium, and program product
CN118490987A (en) * 2024-07-16 2024-08-16 杭州神络医疗科技有限公司 Wireless communication method and device for nerve stimulator and electronic equipment

Also Published As

Publication number Publication date
WO2024083193A1 (en) 2024-04-25
CN117942497A (en) 2024-04-30

Similar Documents

Publication Publication Date Title
CN115054828B (en) Pulse generator, medical system, and computer-readable storage medium
US11890475B2 (en) Notification indicative of a change in efficacy of therapy
CN115430053A (en) Pulse generator, stimulator, medical system and computer readable storage medium
US8761890B2 (en) Electrical stimulation programming
CN114849063B (en) Extracorporeal charger, program-controlled system, and computer-readable storage medium
CN113856040B (en) Implantable neurostimulator and implantable neurostimulation system
CN114842956B (en) Control device, medical system, and computer-readable storage medium
CN115501481A (en) Emergency program-controlled equipment, medical system, and computer-readable storage medium
WO2024041496A1 (en) Charging reminding device, implantable neural stimulation system, and storage medium
CN116488297A (en) In-vitro charger, charging method thereof, storage medium and program product
CN115463347A (en) Parameter adjusting device, program control apparatus, medical system, and computer storage medium
CN117180612B (en) Implantable electrodes, stimulators and control methods thereof, and storage media
CN115299893A (en) Self-diagnostic equipment, program control system and computer readable storage medium
WO2023124390A1 (en) Program-controlled device and implantable neurostimulation system
WO2023185410A1 (en) Imaging identification method for stimulation electrode wire, and related apparatus
EP4539060A1 (en) Programmed control device, programmed control system, electronic device and computer-readable storage medium
CN116936060A (en) Fault detection methods and related devices for medical systems
WO2023000788A1 (en) Parameter comparison method and apparatus, electronic device, and computer readable storage medium
WO2023000789A1 (en) Programming information recording method and related apparatus
WO2023024881A1 (en) Video tracing method for patient with chronic disease and related apparatus
CN204219610U (en) The audio frequency and video stored program controlled of implantable medical devices
CN116932319A (en) Methods and related devices for determining program control errors
CN115019948A (en) Control device, remote consultation system, and computer-readable storage medium
CN117577293A (en) Remote program control device, method, medical system and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 215000 building C16, bio nano Park, 218 Xinghu street, Suzhou Industrial Park, Jiangsu Province

Applicant after: Jingyu Medical Technology (Suzhou) Co.,Ltd.

Address before: 215000 building C16, bio nano Park, 218 Xinghu street, Suzhou Industrial Park, Jiangsu Province

Applicant before: SCENERAY Co.,Ltd.

WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20221206