To know about accurate real-time operation status of the service of the work flow and its component services,this paper proposes a probe-based Web service run-time monitoring method. According to this method,by using aspect-oriented programming (AOP),the researcher can insert the monitoring probe for Web service to acquire data related to the properties of abnormal events and QoS of Web service during operation to realize the real-time monitoring on the operation status of Web service.Aiming at the monitoring demands related to abnormality,response time,reliability and availability,the paper designs and realizes AOP-based monitoring probes respectively;On this basis, based on the open service gateway protocol (OSGI)framework design,the paper implements a Web service runtime monitoring and visual analysis prototype system and then verifies the effectiveness of the method and the availability of the system.%为了实时、准确地获取工作流服务及其构件服务的运行状态,提出了一种基于探针的 Web 服务运行时监测方法。该方法采用面向方面编程(AOP)技术对 Web 服务进行监测探针插入,以捕获 Web 服务运行过程中的异常事件和服务质量(QoS)属性相关数据,进而实现对 Web 服务运行状态的实时监测;针对异常、响应时间、可靠性以及可用性的监测需求分别设计和实现基于 AOP 的监测探针;在此基础上,基于开放服务网关协议(OSGI)框架设计实现了一个 Web 服务运行时监测与可视分析原型系统,并通过实验验证了方法的有效性和系统的可用性。
展开▼