The State Space Analysis and Model Checking for a Class of Round-Based Distributed Algorithms

Author
AnZuo
Advisor
SunYuQing , Sjouke Mauw
School
Shandong University
Major
Applied Computer Technology
Classification
TP338.8 Distributed computer
Degree
Master's thesis
Year
2010
Downloads
42
Citations
0

Request the full text

Abstract

With the rapid development of information technology, the computer system has been widely used in various aspects of daily life, such as telephone communication system, the banking system. Most of these systems require distributed algorithm running in the background to some of the basic objectives, such as distributed consistency and errors to avoid. The correctness of the algorithm and is critical to the effectiveness of the systems. However, due to the distributed algorithm running complex environment, the design of the algorithm is very easy to make mistakes. Application of appropriate mathematical theory and analysis methods can enhance the accuracy and reliability of the system. Formal methods based on model checking is one such technology, and has been successfully applied to verify the correctness of complex timing circuit design and communication protocol in practice. Model checking through all the reachable state space traversal system to verify that the system meets the specific security attributes. Very large when the state space of the system to be verified, and even unlimited, will lead to state space explosion in model checking problem: that is, in the limited time and storage space conditions, can not traverse the entire state space of the system, and thus can not be to verify the correctness of the system. In the field of distributed computing, there are many distributed algorithm is used to solve the basic problem in distributed computing, such as the Leader of the problem and the consistency problem. No deterministic solution to these problems, these algorithms often through the introduction of a number of rounds to ensure that its goals can be done with a certain probability, but this has led to a number of rounds unboundedness, resulting in formal the application model checking algorithm The verification space explosion problem. The goal of this paper is to use for this type of state space explosion by dealing with such algorithms based on the number of rounds of distributed algorithms, model checking to formal verification of such algorithms. In this paper, the relationship between the analysis of the number of rounds, found that although the number of rounds of the algorithm can be increased indefinitely, however, the distance between the number of rounds is bounded. A type of algorithm model checking based on the discovery of this article, said the number of rounds by maintaining the relative relationship between the number of rounds, equivalent to a finite representation of unbounded round indicative of the number, rather than the number of rounds in the algorithm expressed directly. This state space representation of the algorithm for limited, so that the automated verification of such algorithms become possible. Also formalized proof of the feasibility of this approach. This method is applied to the two leader election algorithm (including the newly proposed leader election algorithm) and two distributed consistency algorithm. The following is a focus on four algorithms, and the main theoretical results: 1) Itai-Rodeh leader election algorithm: in the running of the algorithm, the distance between the number of rounds of the active processes up to 1; 2) a of this article new proposed leader election algorithm: In this algorithm, the distance between the number of rounds in the active process between a maximum of n-1; 3) a probability by Bracha and Toueg consistency algorithm: when only one process can crash, a process determines the distance between the rounds of all the correct processes up to 3; 4) a failure detector rotation coordinator algorithm: only one process can crash in a process decided before all properly process the distance between the number of rounds up to 2n. For the above algorithm, the paper first analyze the relationship between the algorithm in round number, and to find the distance between the number of rounds of the algorithm, and gives the results obtained by theoretical analysis and mathematical proof; then, pursuant to which the algorithm for transformation, and thus the state of the algorithm as a limited space conversion; detector Spin Finally, using the model to validate them.

Table of contents

Abstract 8-10 ABSTRACT 10-12 The first chapter introduces 12-16 1.1 Background <br / > 1.2 Problem Description 12-13 1.3 This work 13-14 1.4 The structure of the paper nbsp 14-16 Chapter II related work; 16-26 2.1 distributed algorithm 16-20 2.1.1 network model 16-17 2.1.2 leader election 17 -18 2.1.3 Distributed Consensus 18-20 2.2 model checking the 20-24 2.2.1 Spin model detector 20 -21 2.2.2 Promel language 21-23 2.2.3 linear temporal logic 23 2.2.4 authentication options 23 - 24 2.2.5 state space explosion 24 2.3 leader election algorithm formal verification 24 2.4 Distributed formal verification of the consistency algorithm 24-26 conversion method based on the relative distance of the number of rounds infinite state space 26-29 3.1 infinite state space conversion based on the relative distance of the number of rounds 26 the a 3.2 effectiveness and justification 26-29 Chapter leader election algorithm model checking 29-47 4.1 Itai-Rodeh leader election algorithm the model checking 29-39 4.1.1 Itai-Rodeh algorithm 29-31 4.1.2 the number of rounds between the analysis of the relationship 31-32 < br /> 4.1.3 algorithm model checking 32-39 4.2 Improved Itai-Rodeh algorithm model checking 39-47 4.2.1 without dirty bit algorithm analysis of the relationship between 39 4.2.2 round 39-41 4.2.3 algorithm the model detection 41-44 4.2.4 algorithm the correctness proof 44-47 Chapter distributed consistency algorithm model checking 47-65 5.1 BT consistency probability algorithm model checking the consistency algorithm nbsp 47-55 5.1.1 BT probability; 47-49 5.1.2 space explosion problem analysis and processing 49-52 <br / > 5.1.3 algorithm model checking 52-55 5.2 a rotating coordinator algorithm model checking 55-65 5.2.1 rotating coordinator algorithm 56 5.2.2 on space explosion problem analysis and processing 56-60 5.2.3 Algorithm the model detection 60-65 Chapter Summary and Looking the 65-67 6.1 summarizes 65-66 6.2 future work 66-67 Reference 67-71 Acknowledgements 71-72 studying for a degree during the academic catalog 72-73 Dissertation Table of reviewers and the respondent 73

Related dissertations

  1. Research and Application on Verification Technology of Formal B Method
    ZuoTeng ·Yangzhou University ·2008 ·Master's thesis
  2. Research on the Method for Modeling and Analyzing PLC Programs Based on Petri Nets
    ChenXueZuo ·Huaqiao University ·2013 ·Master's thesis
  3. Research on Trustworthiness of Resource Adaptability for Internetware
    XiaZuo ·Anhui University of Engineering ·2013 ·Master's thesis
  4. Clocks Manipulation Applying to the Formal Verificationof Timed System
    GuiYaYun ·Shanghai University ·2013 ·Master's thesis
  5. Model Checking of FlexRay Communication Protocol
    GuoXiaoZuo ·Tianjin University ·2012 ·Master's thesis
  6. The Research of Parallel Current-sharing for Modular High-power DC Power Supply
    ZhaoLiJuan ·Hebei University of Technology ·2012 ·Master's thesis
  7. The Application of over Sampling Technology on Intelligent Monitoring of Thetransformer
  8. Research of Analysis Method in RBC Based on Model Checking
    SongHaiFeng ·Beijing Jiaotong University ·2014 ·Master's thesis
  9. Research on Mathematical Model of Hydrogen Absorption Process in NdFeB Hydrogen Decrepitation
  10. Theory and Application Research of Fuzzy Logical FLCOMand Fuzzy Set FSCOM with Three Kinds of Negation
    WangZuoZuo ·Jiangnan University ·2014 ·Master's thesis
  11. Study on Land Carrying Capacity of Regional Differences By the State Space Method
    ChengLi ·Central China Normal University ·2012 ·Master's thesis
  12. Evalution Method of Outstanding Claims Reserve
    HeSiQi ·Jilin University ·2012 ·Master's thesis
  13. Quantitative Research on the Nominal and Real Factors Affecting the Price Fluctuation in China
    LiuJinZhou ·Jilin University ·2013 ·Master's thesis
  14. Bread First Search Based Model Checking
  15. Research and Application on Key Technologies of Model Checking
    LiuZhiFeng ·Nanjing University ·2011 ·Doctoral dissertation
  16. Research on Safety Verification Techniques for Logic Control
    TianFengQi ·Northeastern University ·2010 ·Master's thesis
  17. The Research for State Reachability Relation of Uncertain Planning via Model Checking
    HuYuLong ·Xiangtan University ·2012 ·Master's thesis
  18. The Research of Effective Model Checking for Network Authentication Protocol
    TanZhiHua ·Hunan University ·2011 ·Master's thesis
  19. The Formal Modeling of Network Protocols and Discovery of Attacks Based on Model Checking
    MengGuoZhu ·Tianjin University ·2012 ·Master's thesis
  20. Research on Network Security Evalutation Technology Based on Attack Graph Model
    ChengYeXia ·Shanghai Jiaotong University ·2012 ·Master's thesis