采用.NET的Socket Async Event Args类实现了高性能通信服务器.服务器采用连接池和缓冲池异步接收远程终端发送的信息,并按照约定通信协议对接收的信息进行过滤和处理,存入相应的数据库.针对无线远程监控系统的实际需求,提出了无线远程监控系统的逻辑模型,分析了通信服务器的功能和结构,讨论了通信服务器软件设计和实现的关键技术.测试结果表明,服务器能够高效准确地处理来自客户端的大规模并发连接请求,具有一定的通用性.
A high performance communication server was realized by using the Socket Async Event Args object in. NET framework. The technologies of connection and buffer pool were used in this server to asynchronously receive the information from the remote terminals. After filtered and processed according to the predefined communication protocol,the information was stored in the corresponding database. A logic model of general wireless remote monitoring system was presented. The functions and structures of the communication server were discussed,and key technologies of design and realization of communication server were stated in details. Test results showed that the server was able to efficiently handle concurrent requests from the client,and had some generality.