Designing and Implementation of Remote Workstations Fault Detection

Author
QiZhiJun
Advisor
LiuShuFen
School
Jilin University
Major
Software Engineering
Classification
TP274 Data processing, data processing system
Degree
Master's thesis
Year
2004
Downloads
116
Citations
0

Request the full text

Abstract

With the rapid development of modern science and technology, scientific and technological achievements in practice constantly used, the upgrading of the network hardware, and in reality, corporate network gradually expand the scale, is also increasing the number of computers in the network, allowing companies to for the management and maintenance of computer workload gradually increase, so companies also raised the demand for remote monitoring and control workstations. Network control and detection of remote terminal, not only saves manpower, and timely monitoring of the health of the remote terminal, found the problem in a timely manner, without employing site field testing. For large enterprises, often the larger the number of terminals, it is difficult to guarantee real-time, can not be found in a timely manner, if manual monitoring and control of the terminal, some special time or special circumstances, may cause a lot of inconvenience. Thus, network control and testing of the advantages are evident. Especially terminal is more and more able to reflect, the wider the geographical distribution of the benefits of network control and detection. This system is based on the actual needs of the user, web-based technology to detect remote terminal management system. User demand for the system: located in the park of 300,000 square meters of the open state of a number of workstations can be monitored through the network, whether to monitor a workstation at a time can be set according to the attendance To set monitoring time do one set, the long-term effective. Workstation for key positions in the monitoring of the work of the state, when a fault is found, should be promptly sent to the administrator the alarm, so the administrator can know the location of the failure of the workstation to facilitate processing. If the alarm information is not confirmed within a certain time processing, it will alarm information stepwise Add, until it is recognized. At the same time, the failure time, location, disposition is recorded in the system log. Monitoring through a network of workstations, using the ICMP protocol to detect the operational status of each workstation. ICMP is often considered to be an integral part of the IP layer. It communicates error messages and other areas requiring attention. ICMP packets are usually the IP layer or higher layer protocol (TCP or UDP). Some ICMP packets error message is returned to the user process. ICMP packets are enclosed within the IP datagram is transmitted its message format has 15 different types, respectively, to perform different functions. lt; WP = 48 gt; the ICMP packet type system is set to the echo request type is 8. Send it to the network was monitoring workstation's IP address, if this workstation is in normal operating condition, the on the workstation TCP / IP software capable of receiving to the ICMP echo request (ECHO the REQUEST), which returns an ICMP back to send response (ECHO REPLY). Instead, this workstation failure, or failure connected with the line, then sent out the ICMP echo request within the set delay can not get a response. Its operating status can be detected by this method. ICMP datagram is encapsulated in the IP packet header. With other protocols datagram header plus posed by data portion, its reported that the head of the format with a structure of the body to said: the typedef struct tagIcmpHead / * icmp header * /? {? BYTE icmp_type; / * icmp service type * /? BYTE icmp_code; / * icmp header code, 8 echo require, 0 echo reply * /? USHORT icmp_chksum; / * icmp header chksum * /? USHORT icmp_id; / * icmp packet identification * /? USHORT icmp_seq; / * icmp packet sequent * /? ULONG timestamp;?} IcmpHeader; workstation running condition monitoring based on the ICMP protocol, so that the monitoring operation and workstation system separation, monitoring client simply install the system without having to install the software on a workstation monitored greatly reduce operation and maintenance costs, and improve the maintainability of the whole system. Process using multi-threading technology to improve the efficiency of the system. The use of multi-threading technology to create efficient applications, so that the computer can run multiple applications simultaneously task significantly improve resource utilization and reduce application response time for users. The system uses a multi-threaded programming method to detect multiple workstations running state, to make the system more usable. The basic idea is to start a thread for each IP address to send ICMP packets. Then the main thread to do to generate these threads, and then as the IP address assigned to the lt; WP = 49 gt; it. The number of threads is appropriate it? Can not believe the number of IP on the number of concurrent threads simultaneously. If unchecked create a thread, when the number reaches a certain value, the response time of the computer will timeout, it must limit the number of concurrent threads of execution. In an actual implementation, we use two threads, one sending thread, is to transmit a specified number of ICMP packets, and if the maximum set value is not reached, continues to send packets, and when it reaches the maximum set value, the wait; Further a receiving thread, the thread listening for and receiving ICMP packet parsing to see if it is their own send ICMP packets corresponding data packet when receiving the package or timed out after, according to the set of a few a state return. Used in the implementation of a global variable (for example: iThreadNum) to save the number of the current thread, its initial value is 0, whenever a thread running this thread (iThreadNum) value plus 1, while the exit It is decremented by 1. The note plus 1 and minus 1 process must use function TcriticalSection lock the. This allows the number of threads is relatively stable, not explosive growth. The overall architecture of the system uses a three-tier C / S structure. :? User service layer: The main user interface, based on the the C builder's Windows window, through the interface to achieve its function. ? Business service layer: business layer logic components. Defined classes, attributes and operations to complete the related functions. ? Database service layer: running on enterprise information systems (Enterprise Information System) data access functionality. Description of business logic and data separation to separate the different software entities, so that the system has good flexibility, scalability and maintainability. This paper the design and implementation of the Changchun Movie Wonderland workstation fault detection system. Around this system, we have experienced a needs analysis, use case diagram analysis to determine the class diagram analysis to determine the timing diagram analysis to determine until

Table of contents

Directory 5-7 Chapter Preface 7-8 1.1 development background 7 1.2 text organization 7-8 < br /> the second chapter related technologies and concepts 8-28 2.1 C Bulider characteristics the 2.2 the TThread thread class 8-9 About 9-10 < br /> 2.3 linear synchronous 10-12 2.4 IP protocol Overview 12-15 2.5 TCP / IP socket 15-20 < br / the > 2.6 ICMP introduced 20-28 2.6.1 ICMP packet type the 21-23 2.6.2 ICMP address mask request and the response 23 < br /> 2.6.3 ICMP timestamp request and reply 23-24 2.6.4 ICMP port unreachable 24-25 2.6.5 ICMP packets 4.4 BSD processing 25-28 Chapter describes 28-31 3.1 system functions Overview 28 3.2 system architecture 28-30 3.3 system users and rights management 30-31 the Chapter system analysis and design 31-37 of 4.1 overall system design and analysis 31-32 4.2 system classes defined 32-35 4.3 system timing diagram 35-37 Chapter system core design and analysis 37-44 5.1 design principles the 37-38 5.2 design process 38-44 Chapter VI Conclusion 44-45 < br /> reference 45-47 Summary 47-50 ABSTRACT 50-54 Acknowledgements 54

Related dissertations

  1. Fault Detection Mechanism in the Cloud Environment
    LiLiang ·Central South University ·2012 ·Master's thesis
  2. Research of Fault Detection Method for Batch Processes Based on Clustering
  3. Local Temporal-Spatial Structure Feature Extraction and Fault Detection of Industry Processes
    MiaoAiMin ·Zhejiang University ·2014 ·Doctoral dissertation
  4. Study on Data-based Multimode Industrial Process Monitoring Method
    LiZhiMing ·Northeastern University ·2011 ·Master's thesis
  5. Research of Multimode Industrial Process Monitoring Method Based on Locally Linear Embedding
    WangChuang ·Northeastern University ·2013 ·Master's thesis
  6. Research on Reconstruction-PCA Based Transition Process Monitoring Method
    AnJiaYu ·Northeastern University ·2013 ·Master's thesis
  7. Research on Process Monitoring Method Based on Kernel Principle Component Analysis
    FengZuo ·Northeastern University ·2013 ·Master's thesis
  8. Research and Application on Intelligent Temperature Control System of Furnace Based on ePLC
  9. The Design and Fault Detection of Dual-arm Robot Controller
    LiuYingTao ·Chang'an University ·2013 ·Master's thesis
  10. Research on Fault Detection of FPSO Production Process Based on the Kernel Function
    HaoXiaoPeng ·Tianjin University of Technology ·2013 ·Master's thesis
  11. Research on Ensemble Techniques of Fault Detection and Diagnosis
    YangQing ·Changchun University of Science and Technology ·2013 ·Doctoral dissertation
  12. Research on Transient Faults Detection for Networked Control System Based on Models
  13. Unbalanced Data Classification Under-sampling Algorithm Based on SVM for Research and Application
    ZhangDongXue ·Harbin Engineering University ·2013 ·Master's thesis
  14. Research on and Implementation of Network Topology Discovery Algorithm
  15. Research on Fault Detection Method of Heterogeneous Network Based on Mobile Agent
    SuiZuo ·Harbin Engineering University ·2013 ·Master's thesis
  16. Research and Implementation of a High-performance Packet Capture System
    LiuBaoChen ·Shanghai Jiaotong University ·2013 ·Master's thesis
  17. Design and Implementation of BFD Protocol Software in a Centralized Routing Architecture
  18. Research and Implementation of Fault Recovery Mechanism in Large-scale Graph Processing System Based on BSP
    NingChao ·Northeastern University ·2012 ·Master's thesis
  19. The Research and Application of Plan Recognition Based on Dynamic Probabilistic Relational Models
  20. The Performance Analysis and Optimization of the Police Performance Appraisal System
    DongBaoSen ·Tianjin University ·2012 ·Master's thesis