Font Size: a A A

Network Game Platform Based On Multi-layer Structure The Research And Application

Posted on:2008-04-21Degree:MasterType:Thesis
Country:ChinaCandidate:H KuangFull Text:PDF
GTID:2208360215966537Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Chinese network game estate is at present prompt developing, in 2004 Chinese network game marketable value amounts to RMB 2,470,000,000, grows by 47.9%, it is estimated that Chinese network game publishes the marketplace income from sales of products in 2009 will reach RMB 10,960,000,000. By, news being published bureau organization and so on the information industries department in the near future will issue "2004 Year China Game Industry Annual report" to state that, the Chinese network game market scale and the rate of rise will focus attention on for the whole world, the oneself will become the Chinese publication industry and the information industries new growth spot. At the same time, the Chinese network game profession merchant quantity, the product quality have all presented the trend of escalation, its industrial development has also led profession the and so on correspondence, IT manufacture development. At present, the Chinese network game merchant reaches 300.Each independent development network game is basic can pass through from the project investigation and study, the plan, the software overhead construction determination, the software code, hardware stage and so on overhead construction determination, test, official operation, each stage respectively has the stress. The whole looked, some two key aspect influence network game operation success or failure: Is plays itself may play the natural and the later period operation; Another is comes up the guarantee overall system from the overhead construction to be stable, the highly effective movement.At the same time, along with the game user scale rapid growth, the Internet scale suddenly expands, the band width unceasingly increases, the demand trend diversification, the server withstands the pressure is more and more big along with it. In this kind of situation, urgent needs to have the fast response ability, high expandable, Gao Ke with the information server which, is easy to manage, can at any time high-grade measures land processes the large-scale user the concurrent service request. The colony system has the very high overall performance (for example when response asked, turnover rate), the high expandability, the high usability, the higher performance/price compared to, is at present domestic and foreign constructs the high performance, the complex distributional application main development direction. Uses the colony technology has become a leading tendency as the strut network game platform.Therefore, already became take the colony technology as the foundation frame multilayered software system structure develops whether succeeded the key, only some stable, the reliable network game platform could attract and maintains the general games play the family.This article has carried on the outline to the software system structure, the key discussion multilayer software system structure technology, simultaneously studied has analyzed the colony technology. The union reality, the use sandwich construction, the colony technology have carried on the concrete application in the network game platform.This article studies the essential technology, innovation and do the work is as follows:1. The study of the network game related knowledge. To the network game concept, the development course, the classification, the characteristic and so on have conducted the detailed research and the elaboration.2. Thoroughly studied and analyzes has applied the platform the system structure. To presently already the widespread application C/S pattern, the B/S pattern and the sandwich construction principle and the characteristic have done the research and the analysis.3. Act on self's own having designed fundamental network game platform frame, essential as follows:(1) According to plays the user quantity demand, the network technology present situation and the load equalization and so on the basic request, has used the colony technology. In the colony system may dynamic join the server which the new server and the deletion needs to eliminate, has very strongly may the extension, thus can maximum limit expand the application need which the system satisfies unceasingly grows;moreover, the colony system has the usability, namely can provide the uninterrupted service for the user, when in a system point appears the breakdown time, the overall system still could continue for the user to provide the service; At the same time, because players distribute in different areas, we lay aside a complete game world server cluster system in the different region, like this causes to play the family to be allowed to visit leaves their recent server cluster system, to players experiences the quicker speed of response, to the service provider said saves the network band width, reduces the cost.(2) We have used the server cluster technology, and the platform design is four C/S structure, first is the customer end, provides the user the connection. The second layer is the communications game platform (gateway server), this is server cluster's only entrance, retransmits all functions request for the service point pond in concrete server, and processing all non-functions requested, and manages the terminal user, carries on the condition to maintain, the diary record and so on. The third layer provides the actual service the server group, processing and only processes all functions request, does not participate in the user management, the condition maintenance and so on, provides the purest function service. The fourth layer is the database memory system, which is responsible for manages of the logarithm according to read-write and maintenance, stably provides, the consistent data access service for the entire colony interior movement.(3)The data server uses the backup function and the establishment special disaster prepares the center, guarantees the platform system reliable movement.(4) From the network environment, the law the artificial stipulation system, the data security and the system reliability, the jurisdiction management, the system monitoring and so on many aspects design guarantee the entire platform system the security and the reliability.4. In the network game platform has realized the following essential technology.(1)Game communications platform. GateServer took the network game data interactive connection, is plays the customer end to turn on the server, the realization customer end to game server between data interactive. Uses the Winsocket network programming realization to play the family and the game server correspondence, simultaneously fully was considering "the performance" and "might the extension" in two proper attentions to both situations, we play communications platform GateServer to divide into the network first floor and the network intermediate deck serves two structures. The special-purpose game communications platform is advantageous to the realization reasonable load balance, forms simply, is consistent, the nimble distributional processing correspondence environment.(2)Communication data packet. It is the server and the customer end game agreement 's partial, namely game server and customer end correspondence rule. The network game correspondence data packet is the network package, has an accurate logical significance the data packet is the logical package, we use the way is has many the accurate logical significance a logical package of group to synthesize a network package, like this enhanced the transmission efficiency, reduced network band width occupation ratio, reduced the transmission data packet frequency.(3)Multithread. Designs at the network game, because the massive users participate in the game, therefore must use many lines regulation in the server end to carry on the network receive, operation and so on transmission, processing data packet. But in order to be advantageous for to many lines regulation carries on the maintenance, we encapsulate many thread into Thread Pool, will use for to establish, conclusion, assignment labor (?) regulation duty and so on work.5. In detail elaborated the game server realization process, discussed the game server overall frame, including the network level, the demand processing level and the hypothesized world level three parts, and separately has carried on the detailed description to their realization.The this article prime task in "WOQII", "FOD Online", " Phoenix Dance Tianjiao" in these three section networks game obtained the actual utilization, in which "WOQII" swims plays the family at the same time the online population to achieve several ten thousand, has obtained the very good economic efficiency.The author announces two thesises on academic journals such as reading a period , already "Journal of Computer Applications".
Keywords/Search Tags:Network game, System structure, Colony, multithread, Communication platform, communication data packet
PDF Full Text Request
Related items