E-commerce Protocol Analysis and Verification Based on SPIN Model Checking

Author
LiCuiCui
Advisor
CaiZuo
School
East China University of Science and Technology
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2012
Downloads
111
Citations
0

Request the full text

Abstract

As the wide application of Internet and distributed system, the electronic commerce develops more and more quickly too, and the correspondent web e-commerce protocols are the keys to make sure that the new exchange model runs smoothly. The design of e-commerce protocol is a very large and complicated job, and has extremely easily appeared all kinds of unexpected loopholes and mistakes. The features of protocols, such as distributed, asynchrony and concurrency, may lead to unpredictable losses, therefore, the analysis of e-commerce protocol becomes a subject of reality.Formal method is an important method to analyze and verify e-commerce. It’s hard to find potential errors by traditional non-formal method, so the formal method is becoming a hot topic. There are many famous formal methods such as BAN logic, strand space theory, theorem proving and so on. As a formal method, model checking method can automatically verify whether a system meets its design specifications. It has high automation and provides counter-examples, can effectively reduce the protocol design mistakes, and has been widely used in software and hardware verification area. SPIN is one of the well-known model checking tools which is used in distributed system.Based on the model checker SPIN, this paper is analysis and verify a series of e-commerce protocols in HDPolyService system. The article described the SPIN model checking verification mechanism, the basic grammar of PROMELA, liner temporal logic properties, and introduced these three "Distributed" transaction protocols in detail. After analyzed the RFC documents, we extracted formal description and state transition relation in the protocol, and transformed to programs PROMELA using the input language of SPIN. Then some properties were represented by LTL formula. The simulation results were used to repair the models, and some properties were verified by SPIN. Finally, we perfected the protocol by the verification results, summarized the current work and prospected for future plan. The paper shows that the application of SPIN in verifying the e-commerce protocol is feasible, and these three protocols have practical values.

Table of contents

Abstract 5-6 Abstract 6-9 Chapter 1 Introduction 9-12 1.1 Background 9-10 < br /> 1.2 research 10-11 1.3 this structure 11-12 Chapter 2 e-commerce protocols and formal analysis methods 12-23 < br /> 2.1 Overview of e-commerce agreement 12-14 2.1.1 definition of electronic commerce 12 2.1.2 the nature of e-commerce agreement 12-14 2.1.3 Brief Introduction of e-commerce protocol analysis 14 2.2 formal methods outlined 14-15 2.3 formal analysis method of classification 15 -19 2.3.1 trust logic methods 15-16 2.3.2 theorem proving methods 16 2.3.3 model checking 16 - 19 2.3.4 other general formalism 19 2.4 model checking techniques 19-20 2.4.1 model checking status 19-20 2.4.2 model Checking with other formal methods compare 20 2.5 common model checking tool 20-22 2.6 chapter Summary 22 -23 Chapter 3 protocol model checker SPIN research 23-32 3.1 SPIN Overview 23-24 3.1.1 SPIN history 23 3.1.2 SPIN basic structure and working principle 23-24 3.2 SPIN model checker theoretical foundation 24-28 3.2.1 linear Temporal logic LTL 24-26 3.2.2 finite Automata 26-27 3.2.3 SPIN basic algorithm 27-28 3.3 modeling language PROMELA 28-31 3.4 Summary 31-32 Chapter 4 of the tariff -based payment agreements SPIN model checker 32-53 4.1 protocol Description 33-39 4.1.1 HDPolyService system 33-34 4.1.2 agreement 34-36 4.1.3 electricity Generation agreement to pay a description 36-39 4.2 formal Description of tariff payment agreement 39-45 4.2.1 Agreement PROMELA model structure 39-41 4.2.2 protocol described in the main body of the state and behavior 41-45 4.3 protocol validation attribute description 45-46 4.4 protocol behavior simulation analysis 46-50 4.5 protocol attribute validation result analysis 50-52 4.6 Chapter Summary 52-53 Chapter 5 order and pay Alipay agreement with the phone recharge protocol model checking 53-67 5.1 Paypal orders and payment agreements 53-59 5.1.1 agreement with the description 53-54 <br / > 5.1.2 protocol formal Description 54-58 5.1.3 protocol attribute extraction and description 58-59 5.2 Paypal orders and payment protocol simulation and testing 59-61 5.2.1 SPIN -based protocol behavior simulation 59-60 5.2.2 protocol attribute validation 60-61 5.3 phones recharge agreement 61-64 5.3.1 phone recharge protocol description 61-62 5.3.2 Agreement PROMELA language to describe 62-64 5.4 SPIN protocol simulation and testing 64-66 5.5 Chapter Summary 66-67 Chapter 6 Summary and Outlook 67-69 6.1 paper summarizes 67 6.2 Prospects 67-69 References 69-72 Thanks 72

Related dissertations

  1. The Design and Implementation of an Automated Model Checking Oriented Model Extractor
    WangDaWei ·Hunan University ·2009 ·Master's thesis
  2. The Spin Model Checker Research and Application
    WangQiaoLi ·Guizhou University ·2006 ·Master's thesis
  3. Security Protocol Analysis and Verification Based on Model Checker SPIN
    SunShouQing ·Lanzhou University ·2006 ·Master's thesis
  4. Process Modeling and Verification of Service Oriented Architecture
    ZhangXiaoYan ·Beijing Jiaotong University ·2010 ·Master's thesis
  5. The Verification Method of UML Interactive Charts Based on Model Checking
    ChenDong ·East China Normal University ·2009 ·Master's thesis
  6. SPIN model checker mechanism of formal analysis and application
    LiuQiaoWei ·Nanchang University ·2008 ·Master's thesis
  7. The Effective Analysis System of Network Security Protocol
    WuChang ·Nanchang University ·2008 ·Master's thesis
  8. Composition Abstraction Spin Model Checking Based on Promela and Its Application
    ChenDaoXi ·Suzhou University ·2009 ·Master's thesis
  9. Based on the design and implementation of model checking , model-driven development system
    GongAiMin ·East China Normal University ·2008 ·Master's thesis
  10. SPIN protocol based on formal analysis and verification
    FengJie ·Guizhou University ·2009 ·Master's thesis
  11. The Analysis of Model Checking and Verification System of Network Security Protocol
    ChengYing ·Nanchang University ·2010 ·Master's thesis
  12. Formal model checking based authentication protocol
  13. The Improvement and Application of the PPTL Model Checker
  14. Research of Ada Program Model Checking Based on Program Slicing
  15. The Socket Communication Program Analysis System Based on SPIN
    YuLiQuan ·Nanchang University ·2012 ·Master's thesis
  16. Trusted Transmission of VoIP Traffic and Formal Verification
    QinYing ·Beijing Jiaotong University ·2013 ·Master's thesis
  17. The Formal Modelling and Model Checking Research of Rail Transportation Train Control System
    YanFei ·Beijing Jiaotong University ·2006 ·Doctoral dissertation
  18. Computer communication network security protocol analysis
  19. Hierarchical Formal Modeling and Verification Train Control System
    LvJiDong ·Beijing Jiaotong University ·2011 ·Doctoral dissertation
  20. A Study on Formally Modeling and Verifying the Composition of Web Services
    BaoLi ·Dalian Maritime University ·2009 ·Doctoral dissertation