NMR(核磁共振)仪器控制软件开发 ——基于Java脚本引擎的Shell命令解析-毕业论文

上传人:wo7****35 文档编号:54922574 上传时间:2018-09-21 格式:DOC 页数:61 大小:1.30MB
返回 下载 相关 举报
NMR(核磁共振)仪器控制软件开发 ——基于Java脚本引擎的Shell命令解析-毕业论文_第1页
第1页 / 共61页
NMR(核磁共振)仪器控制软件开发 ——基于Java脚本引擎的Shell命令解析-毕业论文_第2页
第2页 / 共61页
NMR(核磁共振)仪器控制软件开发 ——基于Java脚本引擎的Shell命令解析-毕业论文_第3页
第3页 / 共61页
NMR(核磁共振)仪器控制软件开发 ——基于Java脚本引擎的Shell命令解析-毕业论文_第4页
第4页 / 共61页
NMR(核磁共振)仪器控制软件开发 ——基于Java脚本引擎的Shell命令解析-毕业论文_第5页
第5页 / 共61页
亲,该文档总共61页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

《NMR(核磁共振)仪器控制软件开发 ——基于Java脚本引擎的Shell命令解析-毕业论文》由会员分享,可在线阅读,更多相关《NMR(核磁共振)仪器控制软件开发 ——基于Java脚本引擎的Shell命令解析-毕业论文(61页珍藏版)》请在金锄头文库上搜索。

1、本科毕业论文本科毕业论文(科研训练、毕业设计)题题 目:目:NMR(核磁共振)仪器控制软件开发(核磁共振)仪器控制软件开发基于基于 Java 脚本引擎的脚本引擎的 Shell 命令解析命令解析姓 名:学 院:软件学院 系:软件工程专 业:软件工程 年 级: 学 号:指导教师(校内): 职称: 年 月摘 要NMR(核磁共振)仪器控制软件,作为 500MHz 超导核磁共振谱仪系统的随机软件,将实现对谱仪控制,完成 NMR 实验设计及采样、数据的处理及仪器、用户管理等。本毕设课题的研究重点在集各模块功能于一体的命令行模块的设计原理和实现上。命令行模块基于 Java 语言的脚本引擎,实现了对 Shel

2、l 命令的解析。作为整个 RCP 系统的一部分视图,该模块没有明显的独立功能,而是所有系统功能操作的命令集结以及实现脚本的解析。它通过引入 Java 6 中对脚本引擎的支持,来实现引擎运作的底层机制。本文首先对项目的相关背景及需求作了简要介绍,旨在说明课题的研究目的及意义。接下来,本文对 NMR 谱仪控制软件系统的模块结构,系统运作流程,界面风格以及项目的特色进行总体介绍,并让读者对系统的开发环境有个初步了解。在接下来两章,是本课题的研究重点,即命令行模块的设计原理,实现方法。由于该模块涉及到的是所有其他模块的功能命令化,因此该模块需要很好的处理好与各模块之间的参数使用及代码维护。因此在开发命

3、令行模块之前,对整个系统的数据构成,参数使用,进行了相关说明,以便知晓如何深入使用和操作。关键词关键词: 控制软件;Java;脚本引擎;Shell 命令AbstractController software for The NMR (nuclear magnetic resonance) instrument, as the affiliated software of 500MHz superconductivity nuclear magnetic resonance spectrometer system, will achieve the purpose of spectrometer

4、 controlling, NMR experiment designing and sampling, data processing and the management of the user and the instrument. The research key of this topic is the module of command-line which will realize all of the functions of each module.Command-line module, which is based on the script engine of Java

5、 language, has realized the analysis of Shell commands. As parts of the views of entire RCP system, this module does not have its own functions obviously, but mass all of the functions of the system by commands. It realizes the operation mechanism by the support of script engine supplied by Java Ver

6、sion 6.First of all, the article makes a brief introduction to the background and requirements of this project, for the purpose of explaining the goal and the significance of this research. Secondly, this article gives an overall introduction to the module structure, the operation flow, the interfac

7、e style as well as the feature of the project. And whats more, it will give a preliminary understanding to the readers about the development environment.In the coming two chapters, it gives the keystone of this topic, which is about the principle of the design of the command-line module and the meth

8、ods of realization. As the command-line module involves the functions of all other modules, this module should have a good processing to other modules in parameter using and the code maintenance. So in the beginning, I give out a description of the system data constitution and the parameter using in

9、 order to let readers understand how to use them thoroughly. Keywords: Controller software; Java; Script engine; Shell commandI目录目录第一章第一章 绪论绪论 11.1 课题背景简介11.2 NMR 谱仪及控制软件研究现状及其应用.11.3 课题的需求说明21.4 论文的主要工作和结构3第二章第二章 NMR 控制软件系统设计控制软件系统设计 42.1 系统模块结构42.1.1 实验设计模块.42.1.2 数据处理模块.52.1.3 用户管理模块.52.2 系统流程图52

10、.3 系统运行界面62.4 系统数据处理特色介绍.7第三章第三章 系统的开发环境简介系统的开发环境简介.83.1 基本开发环境83.2 ECLIPSE RCP 介绍.83.3 ECLIPSE RCP 开发环境.93.4 主要相关插件介绍 11第四章第四章 命令行模块的数命令行模块的数据据基础基础 .134.1 数据格式介绍134.2 系统的参数文件 134.2.1 参数类型和约束 134.2.2 参数树.144.2.3 参数的存储格式 144.2.4 参数的相关操作 16II第五章第五章 命令行模块的设计和实现命令行模块的设计和实现185.1 命令行模块的设计目标.185.1.1 功能命令提示

11、符 185.1.2 脚本语言引擎195.1.3 信息提示.205.1.4 命令缓冲.205.2 命令行模块界面设计 .215.3 命令行模块脚本引擎的实现 245.3.1 脚本 API 功能介绍.245.3.2 构建脚本引擎.265.3.3 脚本引擎的运行上下文 285.3.4 使用脚本引擎解析脚本 315.3.5 脚本访问 Java 对象方法的高级实现325.4 命令接口定制335.4.1 定制接口335.4.2 功能代码整合.345.5 主要辅助功能的实现 .355.5.1 命令辅助提示的设计实现355.5.2 命令缓冲区的功能实现 .365.6 批量脚本执行的性能优化策略.375.6.1

12、 编译脚本策略375.6.2 使用代理运行脚本.38第六章第六章 总总结结39致谢致谢.40参考文献参考文献 .41附录附录.42IIIContentsChapter 1 Introduction11.1 Project Background11.2 Present situation and application of the hardware and software of NMR 11.3 Requirement of the project.21.4 Main work and structure of the thesis3Chapter 2 Design of the softw

13、are system.42.1 System module structure42.1.1 Experiment designing module42.1.2 Data processing module 52.1.3 User management module.52.2 System flow chart.52.3 Introduction to the software interface.62.4 Features in the data processing of the system 7Chapter 3 Development environment83.1 Basic envi

14、ronment83.2 Introduction to Eclipse RCP .83.3 Eclipse RCP Development environment93.4 Introduction to some plug-ins in use.11Chapter 4 Basic data of the command-line module.134.1 Introduction to the format of the data .134.2 Parameters document of the system134.2.1 Type of parameters and their restr

15、iction 134.2.2 Parameters tree .144.2.3 Memory format of parameters144.2.4 Operation to parameters16IVChapter 5 Design and realization of command-line module.185.1 Design purpose of the command-line module185.1.1 Command interface of function185.1.2 Engine of the script 195.1.3 Information prompt.20

16、5.1.4 Commands buffering.205.2 Interface design of command-line module 215.3 Realization of the script engine.245.3.1 Introduction to script API245.3.2 Discovery and creation of script engine.265.3.3 Context of the script engine .285.3.4 Running the script by engine315.3.5 Advanced realization of accessing Java methods by script.325.4 Complements of command-line interface.335.4.1 Making interfaces.335.4.2 Transplant

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 学术论文 > 毕业论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号