Extension of Mobile Ambients and Its Implementation for the Lexical Analysis Program

Author
LiJiaQin
Advisor
YangYongJian , ZhangHong
School
Jilin University
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2010
Downloads
19
Citations
0

Request the full text

Abstract

A process algebra is a structure in the sense of universal algebra that satisfied a particular set of axioms. The phrase process algebra is also to denote an area of science. In this meaning the phrase was sometimes used to refer to their own algebraic approach to the study of concurrent processes, and sometimes to such algebraic approaches. There is two kinds of properties for mobile process algebras .The first is the labile structure, which can exhibit dynamic changes in their interaction structure, as modeled in the pi-calculus of Milner, Parrow and Walker for example, and the other is mobility, which can exhibit motion, as modeled in the ambient calculus of Cardelli and Gordon. The framework presented in this paper belongs to second class.The Mobile Ambients calculus was proposed by Luca Cardelli and Andrew Gordon in 1998, and has become a very popular process calculus for distributed and mobile systems. Ambients are named places with boundaries,and computation can happen within which. Ambients can be nested arbitrarily and may interact through the mobile capabilities. The Mobile Ambients calculus is based on traditional process algebras, such as the pi-calculus of Robin Miner, its emphasis is on movement of processes. Especially it extends the notion of mobility found in Java by allowing active processes, as opposed to passive code, to move between the administrative. The Mobile Ambients nested relationship of the tree, it can be directly used to describe the Internet’s autonomous domain and firewall, autonomous sub-domain domain, autonomous domain and sub-domain computing devices, mobile agent environment and run contains all of its internal procedures for mobile agent. Whether it is a mobile agent, a portable computer, or a Intranet network, both in the Mobile Ambient calculus been formalized into a Ambient, and the Ambient’s border has a protective effect, a process that only across the border into the interior can occur with information exchange. Mobile Ambients calculus extends the Java mobile thinking, dynamic running processes, not just static code, can be move between the capacity of the ambients.In order to design the process calculi as well as the static analysis techniques , Extension of Mobile Ambients is to be given. We therefore explicitly introduce two kinds of superscript annotations which are identical underα-conversion. The first class is the stable names and the binders for variables occurring in name input actions and capability input actions respectively. The second class of annotations is the labels. They can precisely pin-point program points inside the ambient system. We use the labels annotates the ambient, the open-capability, the in-capability, the out-capability, the input of name, the input of capability, the output of capability, the output of name and the capability variable respectively. The syntax of the Extended Mobile Ambients and the reduction Rules of the Extended Mobile Ambients are given in detail. In addition, for the precise positioning in a static analysis program points, respectively, on the environment and the ability to be identified. Environmental note for the difference between the environment and the ability to appear in different syntax.Design and Implementation of Mobile Ambients calculus extended lexical analyzer. Lexical analysis is based compiler is a major component of the compiler. In order to implement the lexical analysis program ,The class as well as the structur of words in the Extended Mobile Ambients are given in detail, a define finite automata to identify the words is to be designed and then to be translated into a program. Finally, the client - server protocol system as an example given in the final results of lexical analysis.

Table of contents

Summary 4-7 Chapter 1 Introduction 7-9 1.1 process algebra 7-8 1.2 Process Algebra history 8-9 Chapter 2 MOBILE AMBIENTS calculus 9-23 the calculus 2.1 MOBILE AMBIENTS features 9 2.2 MOBILE AMBIENTS calculus syntax 9-11 2.3 MOBILE AMBIENTS calculus equivalence rules 11 2.4 MOBILE AMBIENTS calculus semantic description 11-12 2.5 Example 12-23 Chapter 3 the MOBILE AMBIENTS calculus extended 23-30 3.1 the need to expand the MOBILE AMBIENTS calculus 23-24 the extensible 3.2 MOBILE AMBIENTS calculus 24-25 3.3 Example 25-30 Chapter 4, of lexical analysis 30-49 4.1 lexical analysis introduced 30-31 4.1.1 lexical analysis program features 30 4.1.2 lexical analysis program interface 30-31 4.2 lexical analysis program designed 31-35 4.2.1 word classification 31-32 4.2.2 word internal representation 32 4.2.3 words in the form of description 32-34 4.2.4 automata realization 34-35 4.3 lexical analysis program implementation 35-40 4.3.1 lexical analyzer should be noted that 35-37 4.3.2 identifier table and the constant table 37-38 4.3.3 word structure 38 4.3.4 algorithm 38-40 4.4 extended the MOBILE AMBIENTS calculus parser design and implementation. 40-49 4.4.1 expansion of the Mobile Ambients calculus word classification 40-41 4.4.2 expansion of the Mobile Ambients calculus word structure 41 4.4.3 algorithm 41-46 4.4.4 instance 46-49 Chapter 5 summarizes 49-51 5.1 to complete the work 49-50 5.2 further 50-51 References 51-54 thank 54-55 Summary 55-57 ABSTRACT 57-58

Related dissertations

  1. Design and Development of a High-speed Heavy-load Palletizing Robot
    CaoJiaZuo ·Tianjin University ·2012 ·Master's thesis
  2. The Design and Analysis of Octahedral Module Deployable Mast
    LiCheng ·Harbin Engineering University ·2013 ·Master's thesis
  3. Research on Mechanical Properties Of the Elastic Body of a Six-Axis Force Sensor Based on Strain Gauge
    WangZhiHong ·Anhui University of Engineering ·2013 ·Master's thesis
  4. Compiler-directed Static Analysis and Code Transformation
  5. Static Security Detection of C Applications
  6. The Research of Exploiting Software Security Vulnerabilities Based on Android Platforms
    TangYuJing ·Hebei University of Engineering ·2013 ·Master's thesis
  7. The Finite Element Analysis and Optimization of the Key Components of FP2500A Type Stack-Turning Machine for Organic Fertilizer
    WangZeMin ·Nanjing Agricultural College ·2013 ·Master's thesis
  8. Design and Analysis of PF1In-cryostat-feeder Support for ITER Poloidal Field
    ZhangJunLong ·Hefei University of Technology ·2013 ·Master's thesis
  9. Research on Steel Structure Optimization and Dynamic Characteristics of HZS240Concrete Mixing Station
  10. Mechanical Performance Analysis of Semi-rigid Steel Frames Filled Profild Steel Plate Wall
    LiuYing ·Harbin Institute of Technology ·2012 ·Master's thesis
  11. Large Steel Structure Natural Draft Cooling Tower of Force Analysis
    WangJin ·East China Jiaotong University ·2013 ·Master's thesis
  12. The Wind Resistance Study of the Steel Frame Structural Main Factory Building of Large Thermal Power Plant
    WanShunLu ·Guangxi University ·2012 ·Master's thesis
  13. The Analysis of the Structure Stability of Zhongding International Mansion
    WangLi ·Shenyang University ·2012 ·Master's thesis
  14. Research on the Mechanical Behaviors of Concrete-filled Double Skin Steel Tubular Column
    PengCaiJie ·Hunan University ·2013 ·Master's thesis
  15. The Analysis and Comparison for Different Forms of T Fence in the Wiggins Gas Holder
    ZhangZuo ·Tianjin University ·2012 ·Master's thesis
  16. The Research on the Use of Composite Structure in Three-dimensional Garage
    XuZhaoFeng ·Hunan University ·2013 ·Master's thesis
  17. Static Analysis of the Ground-supported Flat-bottomed Cylindrical Steel-concrete Composite Silo
    GaoCongChao ·Hebei University of Engineering ·2013 ·Master's thesis
  18. Mechanical Behavior Analysis of Large Silos Storage for High Temperature Stored Materials
    SongJing ·Zhejiang University ·2014 ·Master's thesis
  19. Structure Performance Analysis and Optimization on a Bus Frame
    MuBiao ·Hefei University of Technology ·2013 ·Master's thesis
  20. Fatigue Life Research of a Three-axis Commercial Vehicle Frame
    LuJinHai ·Hunan University ·2013 ·Master's thesis