Design and Implementation of Switch Simulator

Author
LiuXiaoFang
Advisor
ChenShaoQiang
School
Beijing University of Posts and Telecommunications
Major
Computer Science and Technology
Classification
TP393.11 Ethernet
Degree
Master's thesis
Year
2008
Downloads
254
Citations
0

Request the full text

Abstract

Virtual Ethernet switch ARM full system simulator and an important part of the subject. With the continuous development of computer and communications technology, embedded applications, especially embedded network applications in an increasingly wide range of embedded development environment is also time and efficiency, a higher demand. The traditional method requires the development of software debugging in real hardware environment and a real network environment, high-risk, long life cycle. In order to solve the bottleneck of the software development, full system simulator and virtual network technology came into being based on the full system simulator, which simulates specific embedded target system and the the embedded target network environment, allowing users in contact with real hardware and use emulator under development to improve development efficiency, reduce development costs based on the full system simulator virtual networking technology is one of the embedded hot research field. Network structure and technical design differences between the full system simulator networking products, no one can fully follow the theory and methods. In this paper, the independent full-system simulator how networking issues, focusing on the networking model as well as the technical difficulties and the solution, and a full system simulator network simulation program based on virtual Ethernet switches. The concept of virtual Ethernet switch is an extension based on the principle of the physical switch for network simulation communication between nodes to achieve full system simulator. It can simulate the complete physical Ethernet switch data forwarding, error checking, maintaining the function of the address mapping table; Further analog communication links, the analog physical port, Mac address communication and time synchronization function of the data link layer. The networking features of this simulation is that it is out of the the simulator environment outside of the system-wide concrete realization of the full system simulator technology, and multi-host the simulation node network communication and synchronization. The paper first introduces the principle of full system simulator and background of the project, and then introduce a full system simulator networking technology. Proposed a different network simulation models with the existing models, as well as a \The key technical level of some of the unique problems in a simulated environment were discussed, and the design of an Ethernet Frame over IP protocol, and the Mac address of the data link layer communication method. The client simulation tests to verify the availability of the system. And pointed out that the design and implementation has not been perfect, the focus of the next phase of the preliminary study.

Table of contents

Abstract 4-5 ABSTRACT 5-10 first chapter 10-21 1.1 Project background and significance 10-15 1.1.1 full system simulator Profile 10-14 1.1.2 of the project's research significance 14-15 1.2 research status 15-18 1.2.1 Research Survey 15 1.2.2 research situation summed 15-18 1.2.3 full system simulator network simulation principle 18 1.3 to study target 18-19 1.4 research 19 1.5 The paper is organized with the structure 19-21 The chapter virtual Ethernet switch technology background introduction 21-27 2.1 Ethernet frame 21-23 2.1.1 Ethernet frame types 21 2.1.2 Ethernet frame format 21-23 2.1.3 how to distinguish between the Ethernet frame 23 2.2 The role of virtual Ethernet switches 23-24 2.3 virtual Ethernet switch works 24-26 2.3.1 works 24 2.3.2 Address mapping table 24-25 2.3.3 transponder technology 25-26 2.4 virtual Ethernet switch function list 26 2.5 Summary 26-27 Chapter III virtual Ethernet switch network structure model design 27-32 3.1 full system simulator network simulation concepts and models 27-28 3.2 SIMICS full system simulator network structure model 28-29 the 3.2.1 SimicS model shortcomings of 29 3.3 The system design virtual Ethernet switch network structure model 29-31 3.3.1 Virtual Ethernet switch network structure touch-advantages 31 3.4 Summary 31-32 Chapter IV virtual simulation of Ethernet switch time (synchronous) model designed 32-38 The basic concept of the 4.1 time simulation (synchronous) 32-34 4.1.1 true hardware environment clock 32 4.1.2 simulator time simulation 32-34 4.2 time synchronization model arbitration based on the Ethernet frame time 34-36 4.2.1 Distributed system time synchronization model points Shao 34-35 4.2.2 of time synchronization arbitration based on the Ethernet frame time model design 35-36 4.3 Ethernet frame time the arbitration time synchronization model-based protocol 36-37 4.3.1 Time the synchronous arbitration agreement designed 36-37 4.4 Summary 37-38 the key issues and resolve 38-50 5.1 communication link simulation 38-42 5.1.1 shared memory 38-40 5.1.2 RPC with SOCKET 40-42 5.2 transport layer protocol selection 42-43 5.2.1 TCP and UDP compare and select 42-43 5.3 ETHERNET FRAME OVER IP 43-46 5.3.1 entity switches in the network architecture level 44 the 5.3.2 virtual switch involved in grid architecture level 44-45 5.3.3 solution - Ethernet Frame over IP (analog Ethernet data frames) 45-46 5.4 analog switch port 46-48 5.4.1 cross-body switch port 46 5.4.2 virtual switch port function analog 46 5.4.3 port queue 46-47 5.4.4 port management 47-48 5.5 data link layer MAC address communication 48-49 5.5.1 problems 48 5.5.2 IP forwarding mechanism 48-49 5.5.3 Mac address generation mechanism 49 5.5.4 program select 49 5.6 Summary 49-50 Chapter VI virtual Ethernet switch designed 50-59 6.1 system design principles 50 6.2 system working mechanism 50-54 6.2.1 system overall flowchart 50-51 6.2.2 unicast frame processing 51-52 6.2.3 broadcast frame handling 52-53 6.3.4 synchronization control frame example 53-54 6.3 system architecture design 54-58 6.3.1 Network Module 54-55 6.3.2 Data processing module 55-56 6.3.3 address mapping table management module 56 6.3.4 virtual port management module 56-57 6.3.5 Time arbitration management module 57-58 6.3.6 thread pool management module 58 6.3.7 User the command management module 58 6.3.8 global object management module 58 6.4 Summary 58-59 Chapter VII of the realization of the virtual Ethernet switch 59-73 the 7.1 overall system class diagram 59 the 7.2 global object management module 59-64 7.3 network module 64-66 7.4 data processing module 66-68 7.5 address mapping table management module 68-69 7.6 virtual port management module 69-70 7.7 time arbitration management module 70-71 7.8 thread pool management module 71-72 7.9 user the command management module 72 7.10 Summary 72-73 Chapter 8 of the test 73-81 8.1 test target 73 8.2 test method 73 8.3 test cases 73-77 8.4 test results 77-78 the the 8.5 instance test - PING command 78-80 8.5.1 test instance configuration 79 8.5.2 testing process 79-80 8.5.3 instance test results 80 8.6 Summary 80-81 Chapter Conclusion 81-83 9.1 paper summarizes 81-82 9.2 The next step of the research work 82-83 the References 83-85 Appendix 85-86 Abbreviations 85-86 Acknowledgements 86-87 the papers published 87

Related dissertations

  1. Research on Optimization and Implementation of POWERLINK Time Synchronization Technology
    HeYuXiang ·Wuhan University of Technology ·2013 ·Master's thesis
  2. Research and Implementation of Time Synchronization of Wireless Sensor Networks
    XiangKunJie ·Harbin Institute of Technology ·2012 ·Master's thesis
  3. Reducing Flooding Nodes for Time Synchronization in Wireless Sensor Network
    JiangWei ·Harbin Institute of Technology ·2012 ·Master's thesis
  4. Research on Time Synchronization Algorithm in Underwater Acoustic Sensor Network
    XingZuoNing ·Harbin Engineering University ·2013 ·Master's thesis
  5. Research on Real-time Performance of Train Communication Network Based on Switched Ethernet Technology
    WangTao ·Beijing Jiaotong University ·2014 ·Master's thesis
  6. MPLS Traffic Engineering Load Balance Algorithm Using Deviation Path
  7. The Design and Implementation of a High Resolution Network Clock Synchronization System Based on PTP Protocol
    LiHongLiang ·Tianjin University ·2012 ·Master's thesis
  8. The Design and Actualize of the Network Simulation System
  9. Key Technology Research of Team Training Simulation Support Platform Based on HLA
  10. Design and Implementation of Network Damnification Simulation System
    WangJun ·Xiamen University ·2013 ·Master's thesis
  11. Simulation and Analysis of Autonomous Time Synchronization Based on Two-way Inter-satellite Link
  12. Industrial Wireless Sensor Network System Based on FM the Design and Implementation
    YuanHongBin ·Zhongyuan Institute of Technology ·2013 ·Master's thesis
  13. Research of Implimentation of Time Synchronization in10G EPON
    ZhangWenXing ·WRI ·2012 ·Master's thesis
  14. Research and Application of the Dynamic Password Authentication Based on Mobile Phone for E-government
  15. The Research of Movement Control Strategy Based on Virtual Force in Multi-tier Mobile Sensor
    GongJianLiang ·Jiangxi Normal University ·2013 ·Master's thesis
  16. Research of Energy Optimization Strategy and Implementation of Time Synchronization Algorithm for Wireless Sensor Network
    HuangSenMao ·Hubei University of Technology ·2013 ·Master's thesis
  17. Research on Fault-tolerant Topology Control Algorithms for Wireless Self-organizing Network
    DengHao ·Hunan University ·2013 ·Master's thesis
  18. Research on Beamforming and Time Synchronization in Wireless Sensor Networks
  19. Research for Routing Protocols of Vehicular Networks in City Scenarios
  20. Array Surface Electromyography Signal Acquisition and Transmission Based on WIFI
    HuYe ·Zhejiang University ·2014 ·Master's thesis