THP -based Web services transaction processing research and prototype implementation

Author
HeDaoJu
Advisor
ZhouMingTian
School
University of Electronic Science and Technology
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2009
Downloads
49
Citations
0

Request the full text

Abstract

As a new generation of distributed computing pattern, Web service technology provides common programming interfaces and unified interoperability protocols for software system, which eliminates the difference of the operating system, programming language, and the underlying hardware structure, and improves the efficiency of software reusing and updating. With the development of Internet, the web transaction has become a hotspot issues, which calls for solutions for problems of transactional support of web services to guarantee the reliable accomplishment of web services and the consistency of system status.Web service transaction is different from traditional database transaction, which takes the interoperation as the core, rather than focuses on persistent data in databases. Because web transactions have distinct features,such as long-lived,autonomous and interactive,the traditional transaction mechanisms of resource locking and rollback are proved to be inappropriate. And web Service Transaction requires a reasonable architecture and the standards for coordinating messages between web services.For the coordination problems of transaction processing, this thesis reviews the past progress and important achievements in the research of transaction processing model, and point out the main problems of current research of this field. From the view of resource reservation and resource coordination, this thesis proposed a web service transaction processing model bases on THP through researching the existed problems in web transaction processing. The model combines THP protocol with WS-Transaction protocol to coordinate the transaction in web services. Coordinating resources before transaction executing, the model ensures the necessary resources while transaction executing and reduces transaction failure because of resource locking. Meanwhile, this thesis also designs the corresponding transaction coordination algorithm for atomic transactions and business transactions, and describes the state transition in detail. Then, the prototype system of transaction processing based on the standard architecture of web service is developed. This system supports extended transaction processing protocol, and provides unified user interface to deal with web request. The coordinator is applied in backend to deal with complicated business logic. Thus, it possesses the ability of coordinating short-lived transaction and long-running transaction, and can effectively solve the coordination problems in the environment of web services. Last, this thesis analyses the advantages and disadvantages of the web service transaction processing model system based on THP.

Table of contents

Abstract 4-5 ABSTRACT 5-10 Chapter Introduction 10-19 1.1 Background and Significance 10 - 11 1.2 research status 11-17 1.2.1 compensation mechanism 11-12 1.2.2 Web services transaction protocol 12 - 13 1.2.2.1 BTP protocol 12 1.2.2.2 WS-Transaction protocol family 12-13 1.2.2.3 WS-CAF 13 < br /> 1.2.3 transaction model 13-17 1.2.3.1 Sagas model 13-14 1.2.3.2 ACTA model 14-15 <br / > 1.2.3.3 BTP model 15-16 1.2.3.4 transaction processing model 16-17 1.3 research 17-18 1.4 paper structure 18 1.5 topics sources 18-19 Chapter resource reservation -based Web services transaction coordination algorithms 19-39 2.1 resources remain tentative agreement 19-22 2.1.1 THP protocol state transition diagram 19-20 2.1.2 THP transaction model 20-21 2.1.3 THP transaction model resource allocation algorithm 21-22 2.2 THP with the Web service transaction coordination mechanisms combined 22-38 2.2.1 Web service transaction coordination mechanisms 23 2.2.2 THP combined with 2PC protocol 23-30 2.2.2.1 THP 2PC protocol state diagram 23-25 ?? 2.2.2.2 THP 2PC coordination algorithm 25-30 2.2.3 THP binding agreement with WS-Coordination/WS-BA 30-38 2.2.3.1 THP WS-C/BA protocol state transition diagram 30-32 2.2.3.2 THP WS-C/BA coordination algorithm 32-38 2.3 chapter Summary 38-39 <br / > Chapter Web services transaction processing prototype design and implementation 39-63 3.1 requirements Analysis 39-40 3.2 overall framework 40-45 <br / > 3.2.1 function module division 40-42 3.2.2 feature list 42-44 3.2.2.1 business transaction processing application interface module 42 < br /> 3.2.2.2 autonomous service coordination support module 42 3.2.2.3 business transaction processing core module 42-43 3.2.2.4 business transaction monitoring module 43-44 3.2.3 basic design idea 44-45 3.3 detailed Design and Implementation 45-62 3.3.1 nbsp business transaction processing core module ; 46-60 3.3.1.1 transaction lifecycle Management 46-49 3.3.1.2 atomic transaction support module 49-53 3.3.1.3 polymerization transaction support module 53-60 3.3.2 business transaction management and monitoring module 60-62 3.4 Summary 62-63 fourth Chapter Web services transaction processing model test 63-72 4.1 testing purposes 63 4.2 test environment 63-66 4.2.1 test preparation 63-64 4.2.2 system Configuration 64-66 4.2.2.1 coordinator configuration 64-66 4.2.2.2 participants configuration 66 4.2.2.3 initiator configuration 66 4.3 test 66-71 4.3.1 participant Services achieve 67 -70 4.3.2 application implements 70-71 4.3.3 test Results 71 4.4 Summary 71-72 <br / > Chapter Web services transaction processing model in regional cooperative medical application 72-79 5.1 regional Medical resource Co background 72 5.2 collaborative regional medical resources of the Web services 72-74 5.3 Web services transaction processing model in regional collaborative medical application 74-78 5.3.1 scene Description 74-75 <br / > 5.3.2 test environment and configuration 75-76 5.3.3 test 76-77 5.3.4 test results and analysis 77-78 5.4 Summary 78-79 Chapter VI Conclusion 79-81 6.1 summarizes research 79-80 6.2 under Previous work 80-81 Thanks 81-82 Appendix atomic transaction support test table 82-90 Appendix II polymerization Affairs support function test table 90-96 References 96-100 research achievements during the master 100-101

Related dissertations

  1. The Research on Optimization of China’s Financial Regulation System and the Coordination with Financial Structure
    WangYing ·Nankai University ·2013 ·Doctoral dissertation
  2. The Separation and Coordination of Accounting and Bank Supervision
  3. Separation and Coordination of Accounting Report and the Banking Regulatory Report
  4. Coordination Research of Retailer-dominant Supply-Chain Competition under Demand Disruption
  5. Research on Rebate and Penalty Contract for Supply Chain Coordination
  6. Study on the Response Strategy of Demand Disruptions Based on Supply Chain Competition
  7. Research on Coordination of the Green Supply Chain Based on Contract Theory
    ZhangCan ·Henan Agricultural University ·2013 ·Master's thesis
  8. Study on Quick Response System for Apparel Supply Chain Based on Web Services
    GeYan ·Donghua University ·2013 ·Doctoral dissertation
  9. Study on Coordination and Incentive of Closed-loop Supply Chain in the Condition of Different Channel and Information
    XuHong ·Jiangsu University ·2014 ·Doctoral dissertation
  10. Agriculture Supply Chain Coordination Research Based on Option
    LiLuLu ·Northeastern University ·2012 ·Master's thesis
  11. The Study on the Relevance Problem of China’s Financial Industry Structure and the Economic Growth
    WuMin ·Anhui University of Finance ·2012 ·Master's thesis
  12. Coordination Mechanism of the Economic Behavior of Local Governments in the Northeast Regional Economic Integration Process
    XueBo ·Northeastern University ·2012 ·Master's thesis
  13. Regional Financial and Regional Economic Coordination Promotes Sustainable Development
    CuiXinYan ·Shandong University ·2013 ·Master's thesis
  14. Study on the Relations of China’s Tax Revenue and Economic Growth
    ZhangShouHong ·Chang'an University ·2013 ·Master's thesis
  15. Research on Human Resource Management of the Integrated Operation of Real Estate Development Project
  16. Research on the coordination of human resources and regional economic development in Liaoning
    DanLiang ·Liaoning Normal University ·2012 ·Doctoral dissertation
  17. Efficiency and Fairness Analysis of Introduction of Carbon Tax to China
    ZhouZhiGuo ·Harbin Institute of Technology ·2012 ·Master's thesis
  18. The Statistical Research on the Driving Relationship among Energy, Economy and Environment
    FuShan ·Hunan University ·2013 ·Master's thesis
  19. Research on Personalized Information Service of Digital Library in the Cloud Computing Environment
    HuXiuYun ·Hubei University of Technology ·2014 ·Master's thesis
  20. The Design and Application of Network Measurement and Control Platform Based on Embedded WEB Service
    SunWei ·Hebei University of Technology ·2013 ·Master's thesis