节点文献
基于定制Android平台的呼吸机软件研究与实现
Research and Development of Ventilator Software Based on Customized Android Platform
【作者】 李晨;
【导师】 堵国樑;
【作者基本信息】 东南大学 , 电路与系统, 2016, 硕士
【摘要】 呼吸机作为提供生命支持的重要急救设备,自二十世纪初以来得到了不断的发展和完善,智能化、信息化是其发展的重要趋势。而Android作为开源操作系统在医疗领域有着巨大的应用空间,结合Android系统可以使传统医疗设备获得移动互联网支持完善、应用程序图形界面丰富、硬件平台兼容性好等优势。论文介绍了基于定制Android平台的呼吸机监控软件的研究和实现过程。软件运行于ARM嵌入式平台,拥有完善的人机接口和呼吸机监控功能,满足呼吸机系统实际工作需求。首先论文分析了呼吸机软件功能和性能需求。针对Android平台特点,提出了旨在发挥平台优势,改进呼吸机功能的特殊需求,如界面显示优化、触摸屏操作与外部设备输入相结合、移动存储支持等。其次,论文阐述了Android系统的裁剪、定制以及优化过程。在分析Android系统启动流程和系统服务的基础上,对系统服务和原生应用程序进行了裁剪;根据需求对系统启动画面、HOME应用程序进行了定制;为了优化系统启动时间和资源占用,精简了预加载类。系统运行在友善之臂嵌入式平台Tiny4412之上,与原厂移植的Android 4.2.2系统相比,定制和优化之后的系统运行内存占用减少了44.19%,文件系统两个主要目录/system和/data的空间占用分别减少了46.45%和37.85%,系统启动耗时减少了41%,结果表明系统优化效果显著。第三,论文介绍了外部输入设备的驱动程序开发过程。在分析物理按键和旋转编码器驱动程序开发必要性和基本原理的基础上,阐述了Linux驱动程序编写方法、编译进内核的安装方式以及在Android应用程序中通过YNI和NDK进行调用的方法。第四,论文介绍了应用程序的设计和实现方法。采用基于三层架构的设计方法,将应用程序分为表示层、业务逻辑层和数据访问层,通过模型组件实现层次之间的交互。从动态界面设计、操作方式优化以及实时波形平滑处理三个方面具体阐述了用户界面设计和优化的主要工作。最后分模块介绍了应用程序各项功能的实现方法。最后,论文介绍了软件的测试方法和测试过程。在模拟真实使用环境的硬件平台上,使用Monkey和Monkeyrunner工具进行应用程序稳定性和功能正确性的自动化测试,排除代码漏洞和缺陷,提高了程序运行稳定性,保证了各项功能的正常运行。利用Traceview工具分析了应用程序运行性能,针对分析结果对性能进行了优化。通过MAT工具进行了内存分析,改善了内存泄漏问题。
【Abstract】 As an important emergency machine which provides life support, ventilator has been continuously developed and improved since the early twentieth century. Intelligentialize and informatization are important trends of ventilators. Android, as an open source operating system, has extensive application space in medical field. With the combination of Android system, Traditional medical equipment would gain the capability of mobile network access, rich graphical interfaces and decent hardware compatibility. The research and development process of customized Android platform based ventilator software is introduced in this thesis. The software which runs on an embedded ARM platform, has sufficient human-machine interface and full function of ventilator monitoring. It satisfies the needs of actual use of ventilator.First, the function and performance requirements of ventilator software are discussed. Aiming to take advantage of this platform and improve the ventilator function, new requirements are elicited, such as graphic interface optimization, combination of touch screen and external device input operation and support of mobile storage.Second, the Android system tailoring, customization and optimization procedure is introduced. After analyzing the system booting process and system service, these unnecessary services and applications are removed. System booting animation and home application are customized as needed. Preloaded classes are reduced in order to accelerate the system startup speed. After system optimization, memory usage is reduced by 44.19%. The Space occupation of file system is reduced by 46.45% in directory of/system and user data reduction is 37.85% in directory of/data.Third, the development of external input device drivers is introduced. The necessity and principle of the drivers of physical keys and rotary encoder are discussed. After that, the way to program, compile and call drivers from Android application using JNI and NDK is presented.Fourth, the design and implementation of the application is introduced. Based on the three tier architecture, the application is divided into user interface layer, business logic layer and data access layer. Components called models are used for data exchange between layers. Major work of user interface design and optimization is discussed from three aspects:dynamic interface design, operation optimization and smoothing of real time waveform. The application functions are presented respectively.At last, the software test method and procedure are introduced. Application stability and functional correctness are automatically tested by Monkey and Monkeyrunner. Code defects are fixed and the stability of application is improved. Application performance is analyzed using Traceview. Performance testing and optimization procedure is introduced. Memory leak is detected and corrected using MAT.
【Key words】 Ventilator; Android; Embedded System; Linux Driver; Software Development;
- 【网络出版投稿人】 东南大学 【网络出版年期】2017年 03期
- 【分类号】TP311.52;TP316
- 【被引频次】4
- 【下载频次】153