Research and Implementation of Load Balancing in Mass Secure Card System

Author
YangZuo
Advisor
LuYiMing
School
Tsinghua University
Major
Computer technology
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2007
Downloads
41
Citations
0

Request the full text

Abstract

The Mass Secure Card System designed in this thesis combines the current advanced smartcard technology, network communication techniques and computer science, and forms an intelligent security authentication system. This system implemented the bidirectional authentication between a smartcard of a certain user and that of this system, completion of finance trade in period of validity, and many other smartcard applications. The Mass Secure Card System is working as a smartcards pool at the server end, in order to increase the throughput of the server, and assure the performance of responding large amounts of user requests.Due to the stochastic character of task arriving, and the difference of processing ability among the nodes, some of the nodes will be overloaded after running a while; however, some of the others will be disengaged. On one hand, the overloaded nodes have to finish jobs as soon as possible; on the other hand, those free nodes are somehow a waster of resources. To avoid this situation, we have to design a load balancing algorithm, so to raise the utilization of the entire system, and decrease the mean response time of jobs. The target of load balancing should be minimizing the response time of those tasks.The most challenging part of this thesis is how to design an effective load balancing algorithm, combined with the specific characters of this system. Thus the main task of this thesis is not only to implement the basic functions of The Mass Secure Card System, such as reading and writing IC cards, but also to design an effective load balancing algorithm, so to make the full use of the hardwared parallel processing ability. After summarizing and comparing lots of the current load balancing algorithms, analyzing the features of this system, two new load balancing algorithms were designed, which are Job-Oriented and Card-Oriented Algorithms. Additionally, experiments to quantify the mean response time of each algorithm were carried respectively to compare the performance of the algorithms. The results indicate that these two algorithms have relatively higher efficiency under different system utilization respectively. Besides, experiments are also carried to testify the ability of expand of each algorithm.

Table of contents

Abstract 3-5 Abstract 5-11 Chapter 1 massive security card system introduced 11-17 1.1 Introduction the 1.2 massive security card device system composed 11-13 1.3 resource allocation server works 13-14 1.4 software portion of the business processes 14-15 1.5 driver interface introduced 15-16 1.6 This chapter Summary 16-17 Chapter 2 load balancing 17-24 2.1 Overview of load balancing 17 2.2 load balancing classification 17-19 2.3 load balancing basic method 19-20 2.3.1 polling method 19 2.3.2 Hashing 19 2.3.3 Minimum connection method 19 2.3.4 minimum absence of law 19 2.3.5 fastest response method 19-20 2.3.6 weighting method 20 2.4 load balancing strategy 20-21 2.4.1 Information Strategies (Information Policy) 20 2.4.2 transfer strategies (Transfer Policy) 20 2.4.3 location strategy (Location Policy) 20-21 2.4.4 Selection Policy (Selection Policy) 21 2.4.5 acceptance policy (Acceptance Policy) 21 2.4.6 policy decisions (Decision Making Policy) 21 2.5 load balancing objects and metrics 21-23 2.5.1 factors impact load conditions 21-22 2.5.2 load conditions of measurement 22 2.5.3 load condition evaluation 22-23 2.6 This chapter Summary 23-24 Load balancing in the system Chapter 3 24-37 3.1 of the system load balancing characteristics 24-27 3.1.1 task portability 24-26 the advantage of 3.1.2 centralized algorithm 26-27 3.2 two load balancing methods 27-30 3.2.1 task-oriented load balancing algorithm 27-28 3.2.2 card load balancing algorithm 28-30 3.3 load balanced performance evaluation experiments 30-36 3.3.1 The purpose of the experiment 30 3.3.2 experimental data 30-33 3.3.3 Data Analysis 33-36 3.4 This chapter Summary 36-37 Chapter 4 DMS design 37-47 4.1 DMS's functional design 37-38 4.2 DMS software implementation 38-46 4.2.1 on the management of the IC card slot 38-44 4.2.2 through SOCKET communications 44-45 4.2.3 implementation of RMS request 45-46 4.3 This chapter Summary 46-47 Chapter 5 RMS Design and Implementation 47-53 5.1 RMS functionality designed 47-48 5.2 RMS software implementation 48-52 5.2.1 resource allocation module 48-50 5.2.2 application and DMS communications 50-52 5.3 This chapter Summary 52-53 Chapter 6 Conclusion 53-55 6.1 research summarizes 53 6.2 Future research 53-55 the References 55-58 Acknowledgements 58-59 Appendix A Aloha driver interface functions 59-61 Appendix B MATLAB program 61-64 the Appendix C for task-oriented load balancing algorithm implementation code 64-66 the Appendix D for card load balancing algorithm code 66-68 the biographical 68

Related dissertations

  1. Design of Prepaid Gas Meter Control System Based on PIC16F73and CPU Card
    HuangZuoQun ·Northeastern University ·2011 ·Master's thesis
  2. Disign and Implementation on the Samrt Card Information System of BJ College
    ZuoTianTian ·Hebei University of Technology ·2013 ·Master's thesis
  3. Design and Practice of Vending Systems Based on Smart Meter with Fee Control
  4. QoS-aware Optimization Strategies and Algorithms in SSL Protocol
    QiFang ·Central South University ·2007 ·Doctoral dissertation
  5. Design of Intelligent Water Meter System Based-on CPU Card
    LiLong ·Wuhan University of Technology ·2007 ·Master's thesis
  6. The domestic CPU card companies competitive strategy
  7. Research and Design of CPU Smart Card Prepayment Power Meter System
  8. Fiscal System Design and Implementation of Security Mechanism
    WangXin ·Shanghai Normal University ·2005 ·Master's thesis
  9. Chain of gas stations automatic data acquisition and management system for CPU card
    LvSongMao ·Sichuan University ·2002 ·Master's thesis
  10. The Design and Realization of Prepaid Three-Phase Power Meter Based on CPU Card
    FuZhongQuan ·Hunan University ·2009 ·Master's thesis
  11. The Design and Development of a Multi-rated and Prepayment Three-phase Watt-hour Meter Based on CPU Card
    XieXiaoJie ·Hunan University ·2008 ·Master's thesis
  12. The Study and Design of Key Management System of Power Charging System Based on CPU Card
  13. Design and Implementation of the Smart Card System in Public Traffic of Guangzhou