Computer Engineering and Applications ›› 2007, Vol. 43 ›› Issue (4): 160-163.

• 网络、通信与安全 • Previous Articles     Next Articles

WSRF Based Online Lab Platform Design &Implementation

张皓 Hao Zhang   

  • Received:2006-01-24 Revised:1900-01-01 Online:2007-02-01 Published:2007-02-01
  • Contact: 张皓 Hao Zhang

基于WSRF的网络实验平台设计与实现

张皓 江建军 刘继光   

  1. 华中科技大学电子科学与技术系 华中科技大学电子科学与技术系
  • 通讯作者: 张皓

Abstract: Web Service is the stateless service. When the web based experiment platform is designed, lots of experiments, especially the interactive experiments, make some intermediate state.And the state transition among these states is inevitable. Therefore, WSRF specification is used to manage the states , which are defined as the stateful resource. And duing to the problem of state transition among these states,we have designed an state transition management interface,based on WSRF, to manage state transition of the stateful resources.Then an example, a serial port communication, is given to specify the state transition interface in the end of this paper.

Key words: Web Service, Web-based Lab, state transition management interface, state, WSRF

摘要: Web Service是无状态的服务,在以Web Service方式实现网络实验平台的设计过程中,大量的实验尤其是交互式的实验,在以Web Service方式调用中会产生大量的中间状态,这些中间状态以及它们之间相互转换的问题不可避免。因此,本文提出了采用WSRF把实验中产生的状态定义成状态资源进行管理的办法。同时,针对状态资源之间状态转换的问题,结合状态机的原理在WSRF的基础上,设计了一个状态转换管理接口实现对状态资源转换的管理。最后,以串口通讯的实验为例详细说明了状态管理接口的实现方法。

关键词: Web Service, 网络实验室, 状态转换管理接口, 状态, WSRF