CN105915554A - Webpage game server based on Flex - Google Patents
Webpage game server based on Flex Download PDFInfo
- Publication number
- CN105915554A CN105915554A CN201610474823.7A CN201610474823A CN105915554A CN 105915554 A CN105915554 A CN 105915554A CN 201610474823 A CN201610474823 A CN 201610474823A CN 105915554 A CN105915554 A CN 105915554A
- Authority
- CN
- China
- Prior art keywords
- game
- module
- player
- flex
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000013515 script Methods 0.000 claims abstract description 25
- 238000000034 method Methods 0.000 claims abstract description 12
- 238000005516 engineering process Methods 0.000 claims description 35
- 238000004891 communication Methods 0.000 claims description 15
- 238000013461 design Methods 0.000 claims description 10
- 230000003993 interaction Effects 0.000 claims description 9
- 230000002452 interceptive effect Effects 0.000 claims description 9
- 238000001514 detection method Methods 0.000 claims description 6
- 238000013507 mapping Methods 0.000 claims description 6
- 230000008569 process Effects 0.000 claims description 6
- 238000013473 artificial intelligence Methods 0.000 claims description 3
- 230000008878 coupling Effects 0.000 claims description 3
- 238000010168 coupling process Methods 0.000 claims description 3
- 238000005859 coupling reaction Methods 0.000 claims description 3
- 238000012423 maintenance Methods 0.000 claims description 3
- 230000007246 mechanism Effects 0.000 claims description 3
- 238000012544 monitoring process Methods 0.000 claims description 3
- 238000004806 packaging method and process Methods 0.000 claims description 3
- 230000002688 persistence Effects 0.000 claims description 3
- 238000012795 verification Methods 0.000 claims description 3
- 230000000007 visual effect Effects 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 abstract 1
- 238000011161 development Methods 0.000 description 20
- 230000018109 developmental process Effects 0.000 description 20
- 238000011160 research Methods 0.000 description 10
- 238000007726 management method Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 6
- 238000009877 rendering Methods 0.000 description 6
- 238000012827 research and development Methods 0.000 description 5
- 238000009825 accumulation Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 239000003795 chemical substances by application Substances 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000012010 growth Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000011835 investigation Methods 0.000 description 2
- 238000010521 absorption reaction Methods 0.000 description 1
- 230000003698 anagen phase Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000005284 excitation Effects 0.000 description 1
- 239000002360 explosive Substances 0.000 description 1
- 230000002045 lasting effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000035515 penetration Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 229920006395 saturated elastomer Polymers 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/02—Protocol performance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/131—Protocols for games, networked simulations or virtual reality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/03—Protocol definition or specification
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a webpage game server based on Flex. The server is characterized in that a network bottom layer module, a database connection part, an authentication module, a game map module, a game player module, a game monster module, a game skill module, a game task module, a game script module, a game resource management module, a game configuration module and a game manager instruction module are arranged in the game server. The network bottom layer module provides efficient network transmission service to a game based on a SOCKET bottom layer network technique. The network bottom layer module is mainly responsible for receiving a network connection request of a user, receives a network message of a client, decodes the network message into message streaming required by a game logic part and sends a client notice message produced by the game logic.
Description
Technical field
The present invention relates to a kind of game engine, particularly relate to a kind of web game server based on Flex.
Background technology
China's Online Games market experiences the development of more than 10 year, occupies an important position in world's network game.According to current research data, within 2013, China's Online Games market scale reaches 82,100,000,000 yuan, and rate of increase reaches 24%.From the point of view of China's Online Games market clusters, after the game business model innovation phase of the explosive growth phase Yu 2006-2008 that experienced by 2002-2005, from 2009
Nian Qi, online game market entirety speedup substantially slows down, and competition tends to fierce, imply that network game enters the scale stable development phase.Over the past two years, in the face of community's friend-making, the high speed development of mobile phone games the Internet entertainment industry, the consuming capacity of network gaming user are disperseed, and along with the Internet entertainment industry content variation with become more meticulous, the requirement of product is improved by network gaming user the most increasingly, and single dull game content and game mode can not meet the demand of user.Thus while online game remains one of column support type industry in China Internet economy, but industry comprehensive competition is growing more intense, client network game increasing option, web game increases very fast for nearly 2 years, and mobile phone games are had an optimistic view of by market along with selling fast of smart mobile phone.
The quick growth of online game, has benefited from following reason:
(1) online game market integral outer environment
The healthy and sustainable development in online game market, it be unable to do without good external environmental atmosphere, and China's Online Games city field energy obtains burst growth nearly ten years, important one seat is occupied in internet economy, with the prosperity of Chinese macroscopic economy policy environment, socioeconomic sustainable development, the lasting improvement of national life condition level improves, the fast development that the Internet infrastructure is built, the technical research level of relevant enterprise and service content provide that growing to improve factor closely related.
(2) policy environment impact
China's reform is over more than 30 year, economy obtains huge rapid development, but the undue Economic Development Mode relying on industry makes this industrial structure cannot adapt to the industry demand in creative economy epoch, also cannot meet the requirement of China's cultural creative enterprise development, and Cultural and Creative Industries is a kind of new industry situation of comprehensive culture, intention, science and technology, capital, manufacture key element.Compared with overseas developed country, China starts late in terms of Cultural and Creative Industries, is in a backward condition for a long time." country's Eleventh Five-Year Plan cultural development in period planning outline " clearly proposes the main task of national development Cultural and Creative Industries, each big city, the whole nation is the most all released relevant policies support and promotes the development of Cultural and Creative Industries, Beijing, Shanghai, Shenzhen, Hangzhou City all by Cultural and Creative Industries as important pillar of the economy industry, the development of Cultural and Creative Industries has become as the focus of new round competition between city, and online game as a part important in cultural industry also by by the excitation of government's culture policy and promotion, increase simultaneously and rapidly.
(3) economic environment impact
Within 2013, China's Online Games number of users tends to saturated, and industry size speedup gradually slows down.From the point of view of segmentation field, client Game Market is by the complete monopoly of Ji Jia listed company, and ERM is with the obvious advantage, and play high R&D costs, long R&D cycle of client makes medium-sized and small enterprises not possess financial strength to compete with it.Referring again to page end Game Market, set foot in the most one after another wherein owing to flow cashability that web game is powerful causes large quantities of Large-Scale Interconnected net enterprise, add the business development of Tong Duanyou enterprise, page parade industry comprehensive competition pressure is the most constantly increasing, and the vivosphere of middle-size and small-size Ye You enterprise is by severe crush.Finally from the point of view of mobile terminal, being essentially all with Start gaming enterprise in the majority, market access degree is higher, and medium and small developer even personal development person can have reasonable development space.
(4) social environment influence
According to CNNIC 2014
" the 31st the China Internet network state of development statistical report " display in January in year, by the end of 2013 12 months, China's netizen's scale reaches 5.64 hundred million, and annual amounting to increases netizen 5090 newly
Ten thousand people.Internet penetration is 42.1%, relatively 2012
Promoting 3.8 percentage points the end of the year, the increasing degree of popularity rate is compared and is continued to zoom out last year.Meanwhile, China mobile netizen's scale is 4.2 hundred million, relatively goes up and will increase by about 64,400,000 people the end of the year, uses crowd's accounting of surfing Internet with cell phone by the upper end of the year in netizen
69.3% is promoted to 74.5%.
(5) technological accumulation and inheritance impact
On the one hand it is game engine technology, the development of games engine technique of China is promoted along with the development in China's Online Games market, is main to developing mid-term by the initial stage by introducing the development of games engine of American-European and Korea S, the game engine of a series of domestic independent researches starts to demonstrate head foot, domestic network Game Market is in basis research and development strength at present, and the research and development experience having had been provided with relative maturity researches and develops engine with comparing excellent game.On the other hand it is the design of game intention, although China is not so good as to develop America and Europe earlier and Japan and Korea S in terms of creative design, but pass through the study for overseas business and imitation, carry out experience accumulation and absorption innovation, have been able to be dissolved in the middle of the research and development of domestic game by their design creativity, simultaneously, owing to there be cultural infrastructure and the intention material of thousand of years in China, the online game R & D Enterprises of China can well incorporate the cultural concept of this nationality in the design of starting an undertaking of game, has produced the most successful a collection of domestic original online game product.
Summary of the invention
In order to solve the problems of the prior art, the invention provides a kind of simple in construction, the web game server based on Flex that efficiency is high.
In order to solve the problems referred to above, the technical solution used in the present invention is:
A kind of web game server based on Flex, it is characterised in that: by network bottom layer module inside described game server, data base coupling part, authentication module, map module, game player's module, Game Eccentric Person module, game item module, game skill module, Mission Objective module, game scripts module, game resource management module, game configuration module, game master instruction module collectively constitutes.
Aforesaid a kind of web game server based on Flex, it is characterized in that: described network bottom layer module, realize based on SOCKET underlying network technology, efficient transport services is provided for game, network bottom layer module is mainly responsible for receiving the network connecting request of user, receive the internet message of client and be decoded as the message stream that game logic portion needs, sending the client notification message that game logic produces.
Aforesaid a kind of web game server based on Flex, it is characterized in that: described database connection module is responsible for the communication service of game server and MYSQL data software, the loading of the game content needing persistence in game logic is provided and preserves service, main part is just to provide efficient player attributes, article, loading in terms of task data and preserve function.
Aforesaid a kind of web game server based on Flex, it is characterized in that: described authentication module provides the certificate server of user account information, authentication module achieves and need not player's password by realizing player authentication authentication module with the protocol of game operation platform and can realize the design of verification process, can improve user account data security greatly.
Aforesaid a kind of web game server based on Flex, it is characterized in that: described map module provides the realization of map function system in game, this module mainly realizes the loading of map, there is provided maintenance and the amendment of player's visual range data, it is provided that the support in terms of waypoint detection and pathfinding.
Aforesaid a kind of web game server based on Flex, it is characterized in that: described game player's module is the nucleus module of game server, agent functionality is provided alternately for player and server, player is mutual with player module, game player's module and other modules in server, such as mapping module, monster module, NPC module is alternately to provide final interactive service.
Aforesaid a kind of web game server based on Flex, it is characterized in that the realization of monster system in the game of described Game Eccentric Person module, the function comprised has the refreshing of monster, monster empirical value system, the realization of the monster article mechanism of dropping, artificial intelligence's part of monster realizes;Described game item module realizes game article system and the realization of stage property system, player's equipment in game, consume stage property all to be realized by this module, this module of working together also provides for equipping attribute and strengthens, equipment condition detects, consuming stage property functional realiey, stage property uses spaced apart condition detection, stage property and equipment attribute configuration function also to realize in this module.
Aforesaid a kind of web game server based on Flex, it is characterized in that: it is the server logic function of other more than 40 technical ability magics that described game skill module realizes three kinds of technical ability of three kinds of occupation correspondences in game, game skill module provides unified interaction platform, and the difference for each technical ability function uses different modules to realize respectively.
Aforesaid a kind of web game server based on Flex, it is characterised in that: described Mission Objective module realizes the realization of Mission Objective system, it is provided that receive an assignment, and task condition judges, task is rewarded and given, the realization of task description each function of system;Described game scripts module bottom uses LUA script to realize, LUA script is carried out the packaging of necessity and has revised with the needs adapting to game logic, script system and task module, mapping module, other modules of player's module coordinate the autgmentability greatly improving games system, and the many theme logics of game are all that the script function provided by script system is realized in a series of scripts.
Aforesaid a kind of web game server based on Flex, it is characterised in that: described game resource management module provides the loading of the game configuration data of bottom, preserves and inquires about service;Described game configuration module;Game configuration module provides the realization of each configuration item of game server, the monitoring IP of game server, listening port, game data catalogue, visitor's name configures, and game database information configuration, game authentication data base configures the configuration of many aspects and realized by this module;Described game master module coordinates chat module to provide online game management function for game master, and the major function that this module realizes has game configuration information to reload, and player's level information is revised, dynamic refresh monster, redirects map, creates article.
The beneficial effect that the present invention is reached:
The online game of the present invention is online game of the most immediately fighting, this game bottom uses top Oncient game engine exploitation based on the exploitation of flex Floor layer Technology, achieve the magnificent instant fight picture of 2.5D, dazzle cruel magic effect, distinguish the simple word of other web games and add figure;Break away from the tactful pass mode of dullness, really realize player and launch real-time interaction and risk with game;Smooth game experiencing, it is not necessary to picture switching and page furbishing.Abandon the tedious steps such as client downloads, installation completely.Open webpage and can enter game, be zero gate sill for a user.
Current some newly gone out domestic web games based on flex framework, are the most all the game of simple bout policy class, it is impossible to realize immediately fighting picture, and a key technology difficult problem is on the Implementation Technology of MMORPG.The flash rendering intent that the most well-known the most domestic game is used renders, and can render about 40-50 people with screen, and efficiency is the lowest.And we are through the implementation of further investigation flex technology itself, work out the optimal rendering intent (this achievement in research is applying for national patent at present) that a set of use flex technology represents MMORPG, under same hardware condition, can support with shielding about 500 people, it may be said that excavate the limit of flex rendering capability.The interaction effect being directly connected between player with screen number, and the core value of the mutual online game just between player, so technically supporting more to have established necessary guarantee with the success that screen number is game.Project framework is with flex technology, and the technology such as Oncient engine is as the engine that represents of front end, and ASP.NET ripe with the efficient game server program that backstage is realized from C Plus Plus, the multi-layer frame work of the WEB server technology composition such as APACHE, MYSQL realizes.
The present invention is in terms of server, and the online game of major part policy class at present is all to use traditional http protocol mutual with WEB server. traditional WEB server, such as IIS, Apache etc., it is primarily used to provide a user with WEB-browsing services.Game services be a kind of except being provided with status service while, also provide between user is mutual.Dynamic web page technique is mainly passed through in some current game, such as PHP, ASP.NET etc. coordinate Mysql, the cooperation of the data storage technologies such as MemCache realizes state and keeps and mutual between user, efficiency is it may be said that the lowest, a usual server supports that 300-500 people is the most smooth simultaneously, and for player provide the most very limited.The server of this project game is entirely game services and designs, build from the SOCKET technology of the bottom, can provide interactive game service, next station server of normal condition that 3000-5000 people can be provided the most online efficiently, provide the user efficient interactive play experience.
Inventive network communication aspect, general web game is all the network communication protocol being processed client and server by http protocol, communication each time will be carried out by the way of newly-built SOCKET connects, being required for newly-built connection alternately even simplest, one time establishment of connection process is the slowest.Online game is compared many alternately, thus need frequently with server communication, use the mode not only inefficiency of HTTP, and the biggest bandwidth can be taken.One mode optimized is to use the technology such as AJAX, WEB Service to reduce bandwidth to use and improve efficiency, but can not solve the disadvantage repeating to connect in a large number.We play and use the online game communications protocol of independent research, remove from and repeat to connect and the problem of occupied bandwidth, have higher safety simultaneously.
Detailed description of the invention
Following example are only used for clearly illustrating technical scheme, and can not limit the scope of the invention with this.
Game client of the present invention: the client of this project series of network game is realized by the 2.5D network game engine of company's independent research, this engine bottom uses the multiple client technology for revealing flex technology of ripe webpage advanced in the world to realize, and represents efficiency and reaches domestically leading level.The feature of this project series of network game client maximum is exactly while reaching traditional magnificent effect of large-scale online games, maintains web game and need not download, enters feature easily.
The present invention plays gateway: game gateway is realized by C++ substrate, it is possible to provide data transport service for player efficiently.Game gateway is to connect client and the bridge of game server.System flexibility and the extensibility of games system can be realized by game gateway.Game gateway provides the functions such as Game Protocol encryption and deciphering, helps game server to solve part disposal ability.Game gateway can be distributed in different geographical, provides efficient network transfer server for the user that cross-region network condition is poor.Game gateway is a group, but the when that number of players steeply rising, can improve system processing power by the way of increasing game gateway.Game background data base is provided by MYSQL database system.
Background data base MySQL of the present invention is a mini-relational type data base management system, and developer is MySQLAB company of Sweden, is purchased by Sun Microsystems on January 16th, 2008.In the middle-size and small-size website that MySQL is widely used on Internet.Owing to its volume is little, speed is fast, the total cost of ownership is low, especially this feature of open source code, many middle-size and small-size websites have selected MySQL as site databases to reduce the website total cost of ownership.Background data base is provided game data to preserve server by multiple list structures jointly.Player table preserves player's data, and Guild table preserves the guild's information in game, and Ghost table preserves visitor's game data of the player of visitor's mode entry in game.
Resource downloading server of the present invention: game resource download server is realized by Apache Server.Apache is that the world uses the web server software ranked the first.It may operate on nearly all widely used computer platform, owing to it is cross-platform and safety is widely used, is one of most popular Web server end software.Apache transliteration simultaneously is Apache, is a clan of Flat head, cries race of Apache, in the west and south of the U.S..Also it is the title of a foundation, a kind of armed helicopter etc..The server cluster that resource downloading server is made up of Apache Server forms, by being distributed in each area, the whole nation, some servers of different bandwidth condition, the DDNS method of salary distribution is coordinated to provide dynamic load, realize the region according to player place, network provider, band provides the download service of game content across the various information such as condition optimal result of calculating after complicated algorithm processes to player.
The present invention wants the key technical problem that emphasis solves
(1) game ture technology.Project is online game of the most immediately fighting based on the online game of exploitation, and this game bottom uses top Oncient game engine exploitation based on the exploitation of flex Floor layer Technology, it is achieved that the magnificent instant fight picture of 2.5D.
(2) server interaction technology.This item server interaction technique is to design exclusively for web game service, build from the SOCKET technology of the bottom, can provide interactive game service, next station server of normal condition that 3000-5000 people can be provided the most online efficiently, provide the user efficient interactive play experience.
(3) network communications technology.This project uses the online game communications protocol of independent research, removes from and repeats to connect and the problem of occupied bandwidth, has higher safety simultaneously.
Solve the problems referred to above, use the concrete mode to be: by network bottom layer module inside game server of the present invention, data base coupling part, authentication module, map module, game player's module, Game Eccentric Person module, game item module, game skill module, Mission Objective module, game scripts module, game resource management module, game configuration module, game master instruction module collectively constitutes.
Described network bottom layer module, realize based on SOCKET underlying network technology, efficient transport services is provided for game, network bottom layer module is mainly responsible for receiving the network connecting request of user, receive the internet message of client and be decoded as the message stream that game logic portion needs, sending the client notification message that game logic produces.Described database connection module is responsible for the communication service of game server and MYSQL data software, the loading of the game content needing persistence in game logic is provided and preserves service, main part is just to provide the loading in terms of efficient player attributes, article, task data and preserves function.
Described authentication module provides the certificate server of user account information, authentication module achieves and need not player's password by realizing player authentication authentication module with the protocol of game operation platform and can realize the design of verification process, can improve user account data security greatly;Described map module provides the realization of map function system in game, and this module mainly realizes the loading of map, it is provided that the maintenance of player's visual range data and amendment, it is provided that the support in terms of waypoint detection and pathfinding.Described game player's module is the nucleus module of game server, agent functionality is provided alternately for player and server, player is mutual with player module, game player's module and other modules in server, such as mapping module, monster module, NPC module is alternately to provide final interactive service;The realization of monster system in the game of described Game Eccentric Person module, the function comprised has the refreshing of monster, monster empirical value system, the realization of the monster article mechanism of dropping, and artificial intelligence's part of monster realizes;Described game item module realizes game article system and the realization of stage property system, player's equipment in game, consume stage property all to be realized by this module, this module of working together also provides for equipping attribute and strengthens, equipment condition detects, consuming stage property functional realiey, stage property uses spaced apart condition detection, stage property and equipment attribute configuration function also to realize in this module.
It is the server logic function of other more than 40 technical ability magics that described game skill module realizes three kinds of technical ability of three kinds of occupation correspondences in game, game skill module provides unified interaction platform, and the difference for each technical ability function uses different modules to realize respectively;Described Mission Objective module realizes the realization of Mission Objective system, it is provided that receive an assignment, and task condition judges, task is rewarded and given, the realization of task description each function of system;Described game scripts module bottom uses LUA script to realize, LUA script is carried out the packaging of necessity and has revised with the needs adapting to game logic, script system and task module, mapping module, other modules of player's module coordinate the autgmentability greatly improving games system, and the many theme logics of game are all that the script function provided by script system is realized in a series of scripts.Described game resource management module provides the loading of the game configuration data of bottom, preserves and inquires about service;Described game configuration module;Game configuration module provides the realization of each configuration item of game server, the monitoring IP of game server, listening port, game data catalogue, visitor's name configures, and game database information configuration, game authentication data base configures the configuration of many aspects and realized by this module;Described game master module coordinates chat module to provide online game management function for game master, and the major function that this module realizes has game configuration information to reload, and player's level information is revised, dynamic refresh monster, redirects map, creates article.
In sum: the online game of the present invention is online game of the most immediately fighting, this game bottom uses top Oncient game engine exploitation based on the exploitation of flex Floor layer Technology, achieve the magnificent instant fight picture of 2.5D, dazzle cruel magic effect, distinguish the simple word of other web games and add figure;Break away from the tactful pass mode of dullness, really realize player and launch real-time interaction and risk with game;Smooth game experiencing, it is not necessary to picture switching and page furbishing.Abandon the tedious steps such as client downloads, installation completely.Open webpage and can enter game, be zero gate sill for a user.
Current some newly gone out domestic web games based on flex framework, are the most all the game of simple bout policy class, it is impossible to realize immediately fighting picture, and a key technology difficult problem is on the Implementation Technology of MMORPG.The flash rendering intent that the most well-known the most domestic game is used renders, and can render about 40-50 people with screen, and efficiency is the lowest.And we are through the implementation of further investigation flex technology itself, work out the optimal rendering intent (this achievement in research is applying for national patent at present) that a set of use flex technology represents MMORPG, under same hardware condition, can support with shielding about 500 people, it may be said that excavate the limit of flex rendering capability.The interaction effect being directly connected between player with screen number, and the core value of the mutual online game just between player, so technically supporting more to have established necessary guarantee with the success that screen number is game.Project framework is with flex technology, and the technology such as Oncient engine is as the engine that represents of front end, and ASP.NET ripe with the efficient game server program that backstage is realized from C Plus Plus, the multi-layer frame work of the WEB server technology composition such as APACHE, MYSQL realizes.
The present invention is in terms of server, and the online game of major part policy class at present is all to use traditional http protocol mutual with WEB server. traditional WEB server, such as IIS, Apache etc., it is primarily used to provide a user with WEB-browsing services.Game services be a kind of except being provided with status service while, also provide between user is mutual.Dynamic web page technique is mainly passed through in some current game, such as PHP, ASP.NET etc. coordinate Mysql, the cooperation of the data storage technologies such as MemCache realizes state and keeps and mutual between user, efficiency is it may be said that the lowest, a usual server supports that 300-500 people is the most smooth simultaneously, and for player provide the most very limited.The server of this project game is entirely game services and designs, build from the SOCKET technology of the bottom, can provide interactive game service, next station server of normal condition that 3000-5000 people can be provided the most online efficiently, provide the user efficient interactive play experience.
Inventive network communication aspect, general web game is all the network communication protocol being processed client and server by http protocol, communication each time will be carried out by the way of newly-built SOCKET connects, being required for newly-built connection alternately even simplest, one time establishment of connection process is the slowest.Online game is compared many alternately, thus need frequently with server communication, use the mode not only inefficiency of HTTP, and the biggest bandwidth can be taken.One mode optimized is to use the technology such as AJAX, WEB Service to reduce bandwidth to use and improve efficiency, but can not solve the disadvantage repeating to connect in a large number.We play and use the online game communications protocol of independent research, remove from and repeat to connect and the problem of occupied bandwidth, have higher safety simultaneously.
The ultimate principle of the present invention, principal character and advantage have more than been shown and described.Skilled person will appreciate that of the industry; the present invention is not restricted to the described embodiments; the principle that the present invention is simply described described in above-described embodiment and description; without departing from the spirit and scope of the present invention; the present invention also has various changes and modifications, and these changes and improvements both fall within scope of the claimed invention.Claimed scope is defined by appending claims and effect thing thereof.
Claims (10)
1. a web game server based on Flex, it is characterised in that: by network bottom layer module inside described game server, data base coupling part, authentication module, map module, game player's module, Game Eccentric Person module, game item module, game skill module, Mission Objective module, game scripts module, game resource management module, game configuration module, game master instruction module collectively constitutes.
A kind of web game server based on Flex the most according to claim 1, it is characterized in that: described network bottom layer module, realize based on SOCKET underlying network technology, efficient transport services is provided for game, network bottom layer module is mainly responsible for receiving the network connecting request of user, receive the internet message of client and be decoded as the message stream that game logic portion needs, sending the client notification message that game logic produces.
A kind of web game server based on Flex the most according to claim 2, it is characterized in that: described database connection module is responsible for the communication service of game server and MYSQL data software, the loading of the game content needing persistence in game logic is provided and preserves service, main part is just to provide efficient player attributes, article, loading in terms of task data and preserve function.
A kind of web game server based on Flex the most according to claim 3, it is characterized in that: described authentication module provides the certificate server of user account information, authentication module achieves and need not player's password by realizing player authentication authentication module with the protocol of game operation platform and can realize the design of verification process, can improve user account data security greatly.
A kind of web game server based on Flex the most according to claim 4, it is characterized in that: described map module provides the realization of map function system in game, this module mainly realizes the loading of map, there is provided maintenance and the amendment of player's visual range data, it is provided that the support in terms of waypoint detection and pathfinding.
A kind of web game server based on Flex the most according to claim 5, it is characterized in that: described game player's module is the nucleus module of game server, agent functionality is provided alternately for player and server, player is mutual with player module, game player's module and other modules in server, such as mapping module, monster module, NPC module is alternately to provide final interactive service.
A kind of web game server based on Flex the most according to claim 6, it is characterized in that: the realization of monster system in the game of described Game Eccentric Person module, the function comprised has the refreshing of monster, monster empirical value system, the realization of the monster article mechanism of dropping, artificial intelligence's part of monster realizes;Described game item module realizes game article system and the realization of stage property system, player's equipment in game, consume stage property all to be realized by this module, this module of working together also provides for equipping attribute and strengthens, equipment condition detects, consuming stage property functional realiey, stage property uses spaced apart condition detection, stage property and equipment attribute configuration function also to realize in this module.
A kind of web game server based on Flex the most according to claim 7, it is characterized in that: it is the server logic function of other more than 40 technical ability magics that described game skill module realizes three kinds of technical ability of three kinds of occupation correspondences in game, game skill module provides unified interaction platform, and the difference for each technical ability function uses different modules to realize respectively.
A kind of web game server based on Flex the most according to claim 8, it is characterized in that: described Mission Objective module realizes the realization of Mission Objective system, it is provided that receive an assignment, task condition judges, task is rewarded and is given, the realization of task description each function of system;Described game scripts module bottom uses LUA script to realize, LUA script is carried out the packaging of necessity and has revised with the needs adapting to game logic, script system and task module, mapping module, other modules of player's module coordinate the autgmentability greatly improving games system, and the many theme logics of game are all that the script function provided by script system is realized in a series of scripts.
A kind of web game server based on Flex the most according to claim 9, it is characterised in that: described game resource management module provides the loading of the game configuration data of bottom, preserves and inquires about service;Described game configuration module;Game configuration module provides the realization of each configuration item of game server, the monitoring IP of game server, listening port, game data catalogue, visitor's name configures, and game database information configuration, game authentication data base configures the configuration of many aspects and realized by this module;Described game master module coordinates chat module to provide online game management function for game master, and the major function that this module realizes has game configuration information to reload, and player's level information is revised, dynamic refresh monster, redirects map, creates article.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610474823.7A CN105915554A (en) | 2016-06-27 | 2016-06-27 | Webpage game server based on Flex |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610474823.7A CN105915554A (en) | 2016-06-27 | 2016-06-27 | Webpage game server based on Flex |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105915554A true CN105915554A (en) | 2016-08-31 |
Family
ID=56758806
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610474823.7A Pending CN105915554A (en) | 2016-06-27 | 2016-06-27 | Webpage game server based on Flex |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105915554A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106778301A (en) * | 2016-12-05 | 2017-05-31 | 上海时年信息科技有限公司 | Reliable cross-platform data storage method and system based on cocos2d x |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101470773A (en) * | 2007-12-25 | 2009-07-01 | 山东易通商业经纪有限公司 | Method for implementing web page game system based on WEB browser |
US20110319175A1 (en) * | 2005-05-17 | 2011-12-29 | Electronic Arts Inc. | Collaborative online gaming system and method |
CN102663245A (en) * | 2012-03-30 | 2012-09-12 | 福建天趣网络科技有限公司 | 3D (three-dimensional) game world editor |
CN202650010U (en) * | 2012-01-19 | 2013-01-02 | 马卡里 | Real person role-play game system |
-
2016
- 2016-06-27 CN CN201610474823.7A patent/CN105915554A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110319175A1 (en) * | 2005-05-17 | 2011-12-29 | Electronic Arts Inc. | Collaborative online gaming system and method |
CN101470773A (en) * | 2007-12-25 | 2009-07-01 | 山东易通商业经纪有限公司 | Method for implementing web page game system based on WEB browser |
CN202650010U (en) * | 2012-01-19 | 2013-01-02 | 马卡里 | Real person role-play game system |
CN102663245A (en) * | 2012-03-30 | 2012-09-12 | 福建天趣网络科技有限公司 | 3D (three-dimensional) game world editor |
Non-Patent Citations (1)
Title |
---|
林锦贤: "基于Flex与J2EE的网页MMORPG游戏的研究与实现", 《中国优秀硕士学位论文全文数据库信息科技辑(月刊 )2011 年 第 07 期》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106778301A (en) * | 2016-12-05 | 2017-05-31 | 上海时年信息科技有限公司 | Reliable cross-platform data storage method and system based on cocos2d x |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Richards | Events in the network society: The role of pulsar and iterative events | |
US12330067B2 (en) | Cloud gaming processing method, apparatus, and device, and storage medium | |
CN103442774B (en) | Double mode program performs and loads | |
CN102195935B (en) | game hosting system and method | |
JP5648889B2 (en) | Method for providing virtual space environment, computer system and computer-readable storage medium | |
US20150052458A1 (en) | Cross platform sharing of user-generated content | |
CN104941181A (en) | Method and device for achieving real-time game interaction between different intelligent terminals | |
CN104168282B (en) | cross-platform game communication method and system | |
CN104113531A (en) | Method and system for publishing game screenshot and game client | |
CN107527294A (en) | A kind of method and server realized both sides and carry out group activity jointly | |
CN102025786A (en) | Operation method and system for interactive control of three-network terminals | |
CN106484387A (en) | The method that intelligent mobile terminal is used as game paddle and web game device | |
CN109985386A (en) | A kind of method and apparatus generating map | |
Qiu | Network societies and Internet studies: Rethinking time, space, and class | |
CN111182036B (en) | Data distribution method, network construction method, device, equipment and storage medium | |
CN116363286A (en) | Game processing method, game processing device, storage medium and program product | |
CN105915554A (en) | Webpage game server based on Flex | |
CN103414791A (en) | Mobile application development cloud platform | |
CN103209255B (en) | Mobile terminal network games system | |
CN102752233B (en) | A kind of method and system of competitive sports remote information prompting | |
Bose et al. | Enter the Dragon: Khillwar’s foray into the mobile gaming market of China | |
CN106139591A (en) | A kind of web game engine based on Flex | |
CN105740398A (en) | Virtual tourism interactive platform | |
WO2024001528A1 (en) | Map switching method and apparatus, and server, storage medium and program product | |
CN103977560A (en) | Real-time social function implementing method for mobile game products |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160831 |