Font Size: a A A

The Remote Control System Based On IOCP

Posted on:2012-02-08Degree:MasterType:Thesis
Country:ChinaCandidate:J ChenFull Text:PDF
GTID:2218330338967192Subject:Electrical system control and information technology
Abstract/Summary:PDF Full Text Request
Along with the network popularization, the remote computer control technology shows a more and more important role. It is widely used in many domains such as telecommuting, remote teaching, remote maintenance and remote assistance. It brings great convenience to people's life. And because of the Internet openness, remote control technology has a great threat to network resources. So it is necessary to further study remote control technology.The network applications based on IOCP (I/O Completion port) model can effectively manage a lot of network connection, and will often be able to achieve the best system performance. Meanwhile this model has very strong expansibility. Now it has been widely used in network server programming. This paper takes IOCP model as the core and combines the Select network model and WSAEventSelcet network model, then uses TCP/IP protocol to realize a multipoint remote control system. The research content includes the following points:1,The principle and characteristics of remote control technology is described. The present development status and future development trend of this technology is analyzed, and the current main problems of this technology are summarized.2,The technology which used in the system design process is analyzed, including TCP/IP protocol, Windows network programming and Windows multi-threaded programming. The implementation principles of several screen image copy algorithms are also specified, including differences comparison, interlaced scanning and XOR (exclusive or) algorithm. Several data compression algorithm frequently used are compared.3,Guided by OOP (object-oriented programming), the remote control system is designed and realized on the VC++6.0 platform by using IOCP, Select and WSAEventSelect model. In this system, differences comparison and interlaced scanning are adopted to monitor the screen of client-side. Server-side can control the client-side through mouse and keyboard operation.The test result indicates that the remote control system based on IOCP can simultaneously control multiple clients effectively. Compared with traditional method that a thread services a client, by using IOCP model, the lower CPU usage, higher CPU utilization and more timely client response can be achieved. In the view of screen image data volume, differences comparison is less than interlaced scanning. But taking the frame rate into consideration, the frame rate of interlaced scanning can reach 60 frames per second while differences comparison can only get 4-6 frames per second. Combining these two aspects to consider, interlaced scanning method is more superior than differences comparison.
Keywords/Search Tags:Remote control, IOCP, Image copy, Differences comparison, Interlaced scanning
PDF Full Text Request
Related items