Font Size: a A A

Design And Implementation Of File Service System Based On Socket

Posted on:2017-01-23Degree:MasterType:Thesis
Country:ChinaCandidate:Y P QiaoFull Text:PDF
GTID:2308330488453361Subject:Electronic and communication engineering
Abstract/Summary:PDF Full Text Request
This thesis implements a high reliability file service system based on socket network communication for the needs of enterprise data storage. According to the different functions of the system, the system is divided into three subsystems:the client and the server system, the secondary server and the main server system, the query management and the server system. Function modules of each subsystem is designed and implemented. The client includes four modules:connected server module, menu selection module, file operation module and log file module. The server includes primary server and secondary server, and they achieve mutual backup; when the master server failure, the secondary server work instead of the main server to ensure the reliability of the system; query end management mainly realizes to all the server disk and file operation log query function. File services include upload, download, delete, move, delete, rename, update detection, directory index and directory creation, etc.This thesis firstly analyzes the development status and trends of the file system in the domestic and foreign. On the basis of study of relevant technology of the file system, this thesis in-depth analysis of the file service system demand, and determines the system architecture, the abstract model, function module partition, and carry out the program design and implementation. This system adopts the C/S architecture, uses the TCP/IP communication protocol and socket network programming, and adopts thread pool technology for multi-user. This thesis designs a high reliability of network transmission strategy:file block divided method in order to ensure the file transfer speed and accuracy, and uses MD5 algorithm in order to ensure the timely update of the client and server files. This system adopts QT programming software for the friendly interface and user interface design.Based on the above analyses and research, this thesis has designed and implemented a high reliability file service system based on socket network programming. This system has realized the fast file transfer, multi user operation, server main and secondary backup functions, using the thread pool, MD5 algorithm and other techniques to greatly improve the reliability and stability of the system. Test results show that the system is stable and reliable, and achieve the desired design requirements to meet the company’s business data on the server of the unified storage and service.
Keywords/Search Tags:TCP/IP, socket, MD5, primary and secondary backup, thread pool
PDF Full Text Request
Related items