1 / 68
文档名称:

基于Web服务资源框架的在线实验服务设计与实现.pdf

格式:pdf   页数:68
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

基于Web服务资源框架的在线实验服务设计与实现.pdf

上传人:numten7 2014/2/24 文件大小:0 KB

下载得到文件列表

基于Web服务资源框架的在线实验服务设计与实现.pdf

文档介绍

文档介绍:华中科技大学
硕士学位论文
基于Web服务资源框架的在线实验服务设计与实现
姓名:张皓
申请学位级别:硕士
专业:微电子学与固体电子学
指导教师:江建军
20060924
摘要
随着学科之间交流的加强及科研人员之间协同工作的深入,建立一个分布式的虚
拟实验平台,加强不同学科不同地区的研究人员之间的合作是一些科研机构的迫切要
求。而计算机网络和虚拟仪器系统的发展为建立一个分布式的在线实验平台提供了可
能。
目前,在线实验平台通常是采用面向服务架构(SOA)实现的,并采用无状态的
Web Service 提供实验服务。而在实验过程中可能存在的中间状态问题,尤其是交互式
实验服务可能存在的状态转换问题无法避免。针对这些问题,提出了基于 Web 服务资
源框架(WSRF)解决实验的中间状态问题的方案,并在此框架的基础上设计了一个
状态转换管理接口,用以解决交互性实验存在中间状态转换问题。
按照实验的分类,将批处理和传感器类型实验的参数定义为状态资源,并根据
WSRF 规范把它们的实验服务转换成有状态的服务。对于具有多个中间状态的交互式
实验,采用状态转换接口完成对状态转换的管理。状态管理接口采用了状态机模型描
述中间状态的转换,它包括构造状态表和查询状态表的一系列方法。然后以具体实验
为例,使用 GT4 的 Java 工具包实现了几种具体的实验服务。另外,对实验服务代理
进行了重构,在实验的逻辑层和关系数据库之间添加了数据持久层。同时采用了 MVC
框架将实验客户代理的应用层与逻辑层划分开了,提高了实验客户代理的可维护性和
健壮性。
最后,采用压力测试软件 JMeter 对实验服务的调用效率进行了压力测试,并且统
计了几种不同情况下测试的结果,给出了响应时间的置信区间。采用 WSRF 实现的实
验服务不仅解决了实验服务的状态问题,而且有利于实验平台向网格方向发展。

关键词:在线实验 WSRF 状态资源状态转换管理数据持久层 MVC
I
ABSTRACT
With the development of intercourse between the scientific research and cooperation of
the researchers, it is urgent to create a anization, which could enhance the
cooperation of the researchers in different fields and locations. And work
and virtual instrument technologies could bring it to effect.
Nowadays, the Online-Experiment platforms were usually implemented by Service
Oriented Architecture (SOA) and provided experiments by stateless Web Service. But it’s
inevitable to be confronted with the state problems during the experiment procedure. The
Web Service Resource Framework (WSRF) is then proposed to resolve the state problems.
Moreover, a state transition management interface is designed to manage the state machine
that is caused by intermedial state transition on the basis of WSRF.
In light of the classification of the experiments, the parameters of batch experiments
and sensor experiments are defined as state resources, and their experimental services are
transferred to state services in terms of the WSRF specification. For the interactive
experiments, which ha