脑起搏器是一种通过电流脉冲刺激脑深部核团以治疗帕金森病等功能性神经疾病的有源植入式医疗器械,其参数调节需要通过体外程控仪实现,而体外程控仪所需要解决的关键问题包括系统设计、平台选择、软件设计和可靠性保证等。本文针对脑起搏器程控系统、Android系统、低功耗蓝牙技术、SQLite数据库及Web应用开发技术进行了深入研究,首次提出将智能移动设备及低功耗蓝牙技术应用于脑起搏器程控系统。该系统在实际工程项目中得到了成功的应用,性能与传统程控系统相比有很大提升,对脑起搏器程控系统的自主研究起到了积极的促进作用,对推动脑起搏器成果的产业化也具有重要意义。本文首先针对程控系统需要实现的功能进行了调研与归纳,提出程控系统基本需求。经过对现有技术的对比分析,确定了程控系统的整体技术方案及功能模块规划。 紧接着,对各功能模块进行分析,并给出了实现方法。程控通信模块,主要是Android系统与蓝牙串口芯片之间的低功耗蓝牙技术通信,包括类的设计与封装、通信协议的应用、接收数据与发送数据方法的实现,并结合脑起搏器工程特点提出了流量控制方案、时间窗口方案、界面响应方法及步进编程方案;数据库操作模块,主要是Android系统SQLite数据库操作,包括数据表设计、数据存储与查询方法,提出了数据更新方案及组合查询方案;网络功能模块,主要是网络服务的开发及客户端调用服务接口的实现,包括数据上传及版本升级;视频记录模块,主要是Android系统多媒体功能开发,包括拍摄及播放患者视频,首次在程控系统中实现了视频记录功能,使医生能够更直观地了解脑起搏器的疗效。本文提出了MAC地址配对方案、程控系统管理应用方案及全局状态数据方案,对多设备间的配对管理及身份识别提出了解决方案,提高了程控系统的可靠性与安全性。最后,考虑到程控系统主要面向医生,针对用户界面及软件性能进行了优化,包括安装包优化、内存优化、节电优化及用户交互优化,改善用户体验。
Deep brain stimulator is a kind of active implantable medical devices that give treatment to Parkinson's disease and other functional neurological disorders by using current pulse to stimulate deep brain nuclei. One can use clinician programmer to adjustment deep brain stimulator’s parameters. The key issues of clinician programmer to be addressed include system design, platform selection, software design and reliability assurance.In this paper, deep brain stimulator clinician programmer, Android system, Bluetooth Low Energy technology, SQLite database and web application development technology are deeply studied and put forward the concept that smart mobile devices, Bluetooth Low Energy technology used in clinician programmer for the first time. This system has been successfully applied in practical projects and performance has greatly improved compared with traditional ones. This paper plays a positive role in promoting independent research of deep brain stimulator clinician programmer and also has positive significance to the industrialization of deep brain stimulator achievements.In this paper, the functions that clinician programmer needs to achieve are firstly analyzed, the basic needs of system are proposed. Determine the overall technical solutions and function module planning by comparing and analyzing of existing technologies.Then, realization methods of these modules are proposed. Program communication module is mainly responsible for the implementation of communication between Android system and Bluetooth serial port chip by using Bluetooth Low Energy technology. This module including: class design, application of communication protocol, data send and receive methods. According to the characteristics of deep brain stimulator, flow control solution, time window solution, interface response method and step programming solution are put forward. Database operation module is responsible for SQLite database operations, including: table design, data storage and query method. Data update solution and combination query solution are mentioned. Network function module is responsible for development of WebService and implementation of calling service interface by client, including: data upload and version upgrade. Video recording module is responsible for development of media function, including: shooting and playing patient's video. This paper adds video recording function to clinician programmer for the first time and enables doctors to more intuitive understanding the efficacy of the deep brain stimulator.This paper presents MAC address matching solution, clinician programmer management application solution and global state data solution. These solutions aim at matching management and identification between multiple devices and improve the reliability and security of clinician programmer. Finally, considering clinician programmer mainly for doctors, user interface and software performance is optimized to improve user experience, incluing: installation optimization, memory optimization, power saving optimization and interaction optimization.