基于SNMP的端到端Web服務(wù)質(zhì)量監(jiān)測系統(tǒng)的設(shè)計與實現(xiàn)
發(fā)布時間:2018-06-25 18:38
本文選題:Web + Service ; 參考:《東北大學》2014年碩士論文
【摘要】:當前,以Web服務(wù)為代表的軟件服務(wù)技術(shù)正在快速發(fā)展,它所具備的松散耦合以及平臺無關(guān)的優(yōu)良特性非常適合于Internet環(huán)境下異構(gòu)應(yīng)用之間的互操作和集成,其商業(yè)應(yīng)用與學術(shù)研究的重要性也備受關(guān)注。隨著Web服務(wù)日益增多,為了在功能相同或相似的服務(wù)中選擇適合的、最優(yōu)的服務(wù),人們普遍采用服務(wù)質(zhì)量作為評價和衡量的標準。Web服務(wù)質(zhì)量(QoWS)已成為了產(chǎn)業(yè)界和學術(shù)界重點關(guān)注的焦點問題。本文簡述了Web服務(wù)質(zhì)量監(jiān)測的需求,總結(jié)了目前Web服務(wù)質(zhì)量監(jiān)測的不足,提出了六維QoWS模型,即期望質(zhì)量、約定質(zhì)量、交付質(zhì)量、傳輸質(zhì)量、感知質(zhì)量和統(tǒng)計質(zhì)量。對于Web服務(wù)質(zhì)量的獲取,本文提出了應(yīng)用程序接口鉤子(API Hook)技術(shù)實現(xiàn)服務(wù)會話信息的獲取方法,通過該技術(shù)可以對SOAP消息進行攔截和分析,以提取出服務(wù)會話的基本信息。采用簡單網(wǎng)絡(luò)管理協(xié)議(Simple Network Management Protocol, SNMP)實現(xiàn)服務(wù)質(zhì)量信息的傳輸,由SNMP管理者(即服務(wù)監(jiān)測者)從SNMP代理(即服務(wù)提供者和服務(wù)使用者)周期性地讀取服務(wù)會話信息。在此基礎(chǔ)上提出了一種端到端Web服務(wù)質(zhì)量監(jiān)測系統(tǒng)及方法,以實現(xiàn)從服務(wù)提供者和服務(wù)使用者兩端監(jiān)測服務(wù)會話,繼而得到了六維質(zhì)量信息,并給出了詳細的實施步驟。該監(jiān)測系統(tǒng)包括以下四個模塊:注冊模塊、SNMP代理模塊、監(jiān)測模塊和評價模塊。具體實現(xiàn)包括:Web服務(wù)質(zhì)量MIB庫的設(shè)計;一種基于API Hook技術(shù)的Web服務(wù)質(zhì)量原始數(shù)據(jù)的獲取方法;從SOAP消息數(shù)據(jù)包中解析Web服務(wù)質(zhì)量各個參數(shù);攔截數(shù)據(jù)包模塊的設(shè)計與實現(xiàn);分析數(shù)據(jù)包模塊的設(shè)計與實現(xiàn);攔截數(shù)據(jù)包模塊與分析數(shù)據(jù)包模塊的交互;基于UCD-SNMP開發(fā)包的擴展代理的實現(xiàn)。最后通過該系統(tǒng)進行了充分的測試,其性能優(yōu)點:簡單有效且開銷較低,并能夠客觀的、綜合的反映服務(wù)會話質(zhì)量信息,以便為服務(wù)選取提供客觀依據(jù)。
[Abstract]:At present, the software service technology represented by Web services is developing rapidly. Its loose coupling and platform-independent characteristics are very suitable for interoperation and integration between heterogeneous applications under Internet environment. The importance of its commercial applications and academic research has also attracted much attention. With the increasing number of Web services, in order to select the most appropriate, optimal service in a service with the same or similar functionality, Quality of Service (QoS) is widely used as a standard of evaluation and measurement. The quality of Web Services (QoS) has become the focus of attention in industry and academia. This paper briefly describes the requirements of Web service quality monitoring, summarizes the shortcomings of current Web service quality monitoring, and proposes a six-dimensional QoS model, namely, expected quality, agreed quality, delivery quality, transmission quality, perceived quality and statistical quality. In this paper, the application program interface hook (API hook) technology is proposed to obtain the service session information. The soap message can be intercepted and analyzed by this technology to extract the basic information of the service session. Simple Network Management Protocol (SNMP) is used to transmit QoS information. SNMP managers (i.e. service monitors) periodically read service session information from SNMP agents (i.e. service providers and service consumers). On this basis, an end-to-end Web service quality monitoring system and its method are proposed to monitor service sessions from both ends of service providers and service consumers, and then six dimensional quality information is obtained, and the implementation steps are given in detail. The monitoring system includes four modules: registration module SNMP agent module, monitoring module and evaluation module. The concrete implementation includes the design of the MIB library of Web quality of service, a method of obtaining raw data of quality of Web service based on API Hook technology, parsing the parameters of quality of Web service from soap message packet, designing and implementing the module of intercepting data packet. The design and implementation of the analysis packet module, the interaction between the intercepting data packet module and the analysis data packet module, and the implementation of the extended agent based on UCD-SNMP development kit. Finally, the system is fully tested, and its performance is simple and effective, low cost, and can objectively and synthetically reflect the service session quality information, in order to provide an objective basis for service selection.
【學位授予單位】:東北大學
【學位級別】:碩士
【學位授予年份】:2014
【分類號】:TP393.09;TP274
,
本文編號:2067083
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/2067083.html
最近更新
教材專著