基于BPEL的容錯Web服務(wù)組合的研究與實現(xiàn)
發(fā)布時間:2018-10-18 07:10
【摘要】:隨著Web服務(wù)技術(shù)的不斷發(fā)展,Web服務(wù)被廣泛應(yīng)用在軍事、金融、電子商務(wù)等各個領(lǐng)域,Web服務(wù)的可靠性是決定這些業(yè)務(wù)系統(tǒng)能否成功運行的關(guān)鍵。與傳統(tǒng)業(yè)務(wù)系統(tǒng)不同,Web服務(wù)通常被部署在不確定的網(wǎng)絡(luò)環(huán)境中,Web服務(wù)的松耦合性使得Web服務(wù)的可靠性得不到保證。因此,如何提高Web服務(wù)的可靠性已經(jīng)成為業(yè)界的研究熱點。 容錯技術(shù)常用來提高軟件的可靠性,容錯的關(guān)鍵是程序多樣性設(shè)計,網(wǎng)絡(luò)中存在大量的Web服務(wù)冗余資源,因此,采用容錯技術(shù)來提高組合Web服務(wù)可靠性是一個成本效益好的方法。文中提出只為系統(tǒng)中關(guān)鍵服務(wù)進行容錯的思想,基于系統(tǒng)中服務(wù)之間的調(diào)用關(guān)系以及調(diào)用頻率等信息提出了兩個服務(wù)排序算法:WSRank1和WSRank2。算法WSRank1利用系統(tǒng)運行剖面對系統(tǒng)中的Web服務(wù)按照關(guān)鍵度進行排序;算法WSRank2不但利用了系統(tǒng)運行剖面信息,而且對系統(tǒng)中每個Web服務(wù)的可靠性進行了研究。接下來,對組合Web服務(wù)的容錯策略進行了分析,提出了基于用戶條件限制的最優(yōu)容錯策略選擇算法,為系統(tǒng)中關(guān)鍵服務(wù)選取合適的容錯策略。在對組合Web服務(wù)可靠性研究的基礎(chǔ)之上,設(shè)計并實現(xiàn)了基于BPEL的組合Web服務(wù)容錯規(guī)則。 基于排序算法和BPEL容錯規(guī)則,文中以銀行業(yè)務(wù)系統(tǒng)為例,設(shè)計并實現(xiàn)了系統(tǒng)中的基本W(wǎng)eb服務(wù),通過BPEL對系統(tǒng)中基本W(wǎng)eb服務(wù)進行了編配,,緊接著使用SoapUI對銀行業(yè)務(wù)系統(tǒng)進行了可靠性測試。結(jié)果表明,銀行業(yè)務(wù)系統(tǒng)的可靠性不能滿足用戶對系統(tǒng)可靠性的要求,因此需要采用容錯技術(shù)提高系統(tǒng)整體可靠性。接下來通過大量的測試得到了系統(tǒng)的運行剖面,然后根據(jù)服務(wù)排序算法得出系統(tǒng)中的關(guān)鍵服務(wù),并根據(jù)不同用戶的限制對銀行業(yè)務(wù)系統(tǒng)中的關(guān)鍵服務(wù)進行了容錯。最后,本文對容錯組合服務(wù)系統(tǒng)的可靠性進行了測試,并對可靠性結(jié)果進行了分析。實驗結(jié)果表明,對銀行業(yè)務(wù)系統(tǒng)中的關(guān)鍵服務(wù)進行容錯可以大幅度提高系統(tǒng)整體的可靠性,這對組合服務(wù)在可靠性和開銷之間的權(quán)衡起到了很好的指導(dǎo)作用。
[Abstract]:With the continuous development of Web services technology, Web services are widely used in military, financial, electronic commerce and other fields. The reliability of Web services is the key to the successful operation of these business systems. Unlike traditional business systems, Web services are usually deployed in uncertain network environments, and the loose coupling of Web services makes the reliability of Web services not guaranteed. Therefore, how to improve the reliability of Web services has become a hot spot in the industry. Fault-tolerant technology is often used to improve the reliability of software. The key of fault-tolerance is the diversity of program design. There are a lot of redundant resources of Web services in the network. It is a cost-effective method to improve the reliability of composite Web services by using fault-tolerant technology. In this paper, the idea of fault tolerance for key services in the system is proposed. Based on the information of calling relationship and frequency between services in the system, two sorting algorithms of services, WSRank1 and WSRank2., are proposed. The algorithm WSRank1 sorts the Web services in the system according to the criticality by using the system running profile, and the algorithm WSRank2 not only utilizes the system operation profile information, but also studies the reliability of each Web service in the system. Then, the fault-tolerant strategy of composition Web services is analyzed, and an optimal fault-tolerant policy selection algorithm based on user constraints is proposed to select the appropriate fault-tolerant strategy for critical services in the system. Based on the research on the reliability of composite Web services, the fault tolerant rule of composition Web services based on BPEL is designed and implemented. Based on sorting algorithm and BPEL fault-tolerant rule, the basic Web service in the system is designed and implemented by taking the bank business system as an example. The basic Web service in the system is programmed through BPEL. Then SoapUI is used to test the reliability of the banking system. The results show that the reliability of banking system can not meet the requirement of system reliability, so it is necessary to use fault-tolerant technology to improve the overall reliability of the system. Then the running profile of the system is obtained by a large number of tests, and then the critical services in the system are obtained according to the service sorting algorithm, and the critical services in the banking system are fault-tolerant according to the limitations of different users. Finally, the reliability of fault-tolerant composite service system is tested and the reliability results are analyzed. Experimental results show that fault tolerance for key services in banking systems can greatly improve the overall reliability of the system, which plays a good role in guiding the trade-off between reliability and overhead of composite services.
【學(xué)位授予單位】:哈爾濱工業(yè)大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP393.09
本文編號:2278380
[Abstract]:With the continuous development of Web services technology, Web services are widely used in military, financial, electronic commerce and other fields. The reliability of Web services is the key to the successful operation of these business systems. Unlike traditional business systems, Web services are usually deployed in uncertain network environments, and the loose coupling of Web services makes the reliability of Web services not guaranteed. Therefore, how to improve the reliability of Web services has become a hot spot in the industry. Fault-tolerant technology is often used to improve the reliability of software. The key of fault-tolerance is the diversity of program design. There are a lot of redundant resources of Web services in the network. It is a cost-effective method to improve the reliability of composite Web services by using fault-tolerant technology. In this paper, the idea of fault tolerance for key services in the system is proposed. Based on the information of calling relationship and frequency between services in the system, two sorting algorithms of services, WSRank1 and WSRank2., are proposed. The algorithm WSRank1 sorts the Web services in the system according to the criticality by using the system running profile, and the algorithm WSRank2 not only utilizes the system operation profile information, but also studies the reliability of each Web service in the system. Then, the fault-tolerant strategy of composition Web services is analyzed, and an optimal fault-tolerant policy selection algorithm based on user constraints is proposed to select the appropriate fault-tolerant strategy for critical services in the system. Based on the research on the reliability of composite Web services, the fault tolerant rule of composition Web services based on BPEL is designed and implemented. Based on sorting algorithm and BPEL fault-tolerant rule, the basic Web service in the system is designed and implemented by taking the bank business system as an example. The basic Web service in the system is programmed through BPEL. Then SoapUI is used to test the reliability of the banking system. The results show that the reliability of banking system can not meet the requirement of system reliability, so it is necessary to use fault-tolerant technology to improve the overall reliability of the system. Then the running profile of the system is obtained by a large number of tests, and then the critical services in the system are obtained according to the service sorting algorithm, and the critical services in the banking system are fault-tolerant according to the limitations of different users. Finally, the reliability of fault-tolerant composite service system is tested and the reliability results are analyzed. Experimental results show that fault tolerance for key services in banking systems can greatly improve the overall reliability of the system, which plays a good role in guiding the trade-off between reliability and overhead of composite services.
【學(xué)位授予單位】:哈爾濱工業(yè)大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP393.09
【參考文獻(xiàn)】
相關(guān)期刊論文 前3條
1 劉玲霞;武兆雪;錢淵;夏靖波;;Web服務(wù)容錯技術(shù)研究[J];計算機科學(xué);2009年01期
2 譚玲,曲峰,董劍,楊孝宗;基于軟件故障注入的容錯性能評測技術(shù)[J];計算機工程與科學(xué);2005年11期
3 劉影;何克清;梁鵬;馮在文;;Web服務(wù)中可靠性消息規(guī)范的比較研究[J];計算機應(yīng)用研究;2006年12期
相關(guān)博士學(xué)位論文 前2條
1 鐘讀杭;Web服務(wù)組合的可靠性預(yù)測研究[D];國防科學(xué)技術(shù)大學(xué);2007年
2 劉安;Web服務(wù)驅(qū)動的業(yè)務(wù)流程的容錯性研究[D];中國科學(xué)技術(shù)大學(xué);2008年
本文編號:2278380
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/2278380.html
最近更新
教材專著