| 1. IntroductionWith the increasing of number of the Internet users, the incredible increasingapplication for internet, and the sustained technical level, it is no longer merelyfocus on the simple turning on but the increment service based on it. The Internetpaid information inquiry service of liaoning CNC which is a telecommunicationincrement service for the purpose of enriching the content application. Since thedevelopment of the service, the type has increased unceasingly, which is alreadythoroughly developing from the original education profession to the transportation,the traveling, society guarantees, the industry and commerce and any other variousprofessions, from free service to one kind of charge increment service. In recentyears, the user's visiting quantity of this kind of service have being increasingmultiply year by year, therefore, it is the key point to construct a Internet paidinformation inquiry system platform, into which integrating all the paidinformation inquiry service of Liaoning CNC.2. The Function of System PlatformTaking advantage of the simple disposition, The system platform must be ableto produce a new information inquiry service immediately, provides many kinds oftypes such as narrow band to cost, wide band costs, mobile costs, make thingsconvenience for the customers to use the costs the system, for the systemmanager to carry on the management, the monitoring and the statistical analysis tothe service, moreover provides a set of standardized opened interface, enables otherSP to connect with platform possibly.3. The Design of Software Structure on System PlatformThe system platform programmed and develops by the Java language, makeuse of three systems structure design and the MVC design pattern, combined thebuffer technology and the database connection pool technology in order to enhancethe system performance.3.1 The Servlet programming model based on Java languageThe platform develops Java Sevlet the Web development model based on Java.When the user initiates a request to servlet, the server may only simply deal therequest by using a different thread. This method can enhance the procedureefficiency;it does not have to produce much advancement like CGI procedureaccording to such many requests. Line regulation needs less resource, as result of it;it is able to enhance the entire system operating efficiency.3.2 The Design of Three-layer System StructureThe platform has adopted three B/S (Browser/Server) structure design,divides the entire system into the expression layer, the application layer and thedata layer. The expression layer created user's demonstration interface through theJSP document production, the application layer carries on the system logicalprocessing, and the data layer provides the data for the system running.The expression layer does not alternate with the data layer directly, but bybeing dealt with the application layer, the formatted result returns to the expressionlayer. Uses three systems structure design, any of internal structure change cannotaffect other layer's the normal work, enhanced the system maintainability andextension.3.3 Technique of Buffers and Database Connection Poolsâ— Buffer technique:The buffer technology is a method that carries the data into the systemmemory which is commonly used or needs frequently to connect the database tocarry on the inquiry when the system initializing, thus enhances the data visitingspeed.â— Technique of database connection pool:The database connection pool technology is a method that establishing somedatabase connections beforehand and then lays aside in the system memory inorder to use, after completes the database operation, the user needs to release thedatabase connection, and the connection pond manager recycles the resources,without separating to the actual database connection, but redistributes for other useruses.Thus, it can eliminate the expenses and the bottleneck which is brought by thedatabase frequent connection and the separation, so that the application system `sreaction rate and the connection speed both greatly speeds up, enhances theconcurrent processing performance.4. The Network Structure Design on System PlatformThe network structure design of system platform has adopted the server clusterand the load balance technology. The so-called cluster is a group of mutuallyindependent computers, which is interconnected through the high speed network;they constituted a group, and is managed by the sole system pattern. When a userand the cluster affect mutually, the cluster looks like a sole computer.The load balance essence is that according to some algorithm, assigns theservice to the multi-machines equally as far as possible, which is originally exertson only one machine, makes the service complete as early as possible in order thatthe service request will be quickly response.5. ConclusionThrough the detailed analysis to the service demand as well as the newtechnical research which developed in the recent years, the author designs anddevelops the Internet paid information inquiry system platform of Liaoning CNC,make use of three systems structural design according to the J2EE standard,enhanced the platform maintainability and the extension, combined the buffertechnology and the database connection pool technology, enhanced the systemperformance. In the network aspect, applying for four-layer switchboards tocomplete the design of load equalization, it has guaranteed the system handlingability and the reliability. The application of this system platform, has brought inmore than 5 million services income for the Liaoning CNC this several years. |