Font Size: a A A

Research On Network Server Middleware

Posted on:2015-12-29Degree:MasterType:Thesis
Country:ChinaCandidate:J X YuFull Text:PDF
GTID:2308330452958210Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the rapid development of computer and network techniques, different hardwareplatforms and network protocol heterogeneous environments were brought in succession.To be adapted to all these hardware platforms and environments, application softwaredevelopers had to face many complicated and tough problems, where much time andeffort was wasted. There’s an urgent need for developing and running environmentswhich is based on standards and independent of computer hardware and operatingsystems, and middleware technique comes into being.Considering the characteristics of C/S communication servers, much research workwas carried out on middleware technique, and a sort of network server middlewaresuitable for Windows platform was developed utilizing the socket, thread pool, and I/Odispatcher techniques.Domestic and international research status was analyzed firstly, and techniqueprinciples related to the research were discussed, including physical layer, logical layer,I/O distributed layer, memory pool and thread pool techniques. The design of middlelayer overall framework and kernel function was completed, based on the analysis of thelogic layer and physical layer of server middleware. Windows completion port techniquewas applied in the physical layer to achieve efficient communication, and the thread pooltechnology in the logical layer to realize efficient process layer. I/O distributionmechanism was used to connect physical and logical layer, which effectively solved thephenomenon that I/O monopolized tasks and imbalance of distribution.Key techniques of some modules in the middleware was discussed then, includingdata receiving and sending, memory cache processing, memory pool management, userlayer programming interface, user layer data processing and I/O requests dispatcher.According to the function requirement of each module, the way to divide and connectmodules was introduced and then the realization methods of each function modules arepresented.Simulation experiments were carried out on the data throughput and stability of the servermiddleware. Test result shows that the middleware performance could satisfy therequirement of system design and can meet the needs of developing network serverprograms and client communication, and meanwhile it has a sound stability.
Keywords/Search Tags:completion port, socket, middleware, server
PDF Full Text Request
Related items