CN103873428A - Webpage game architecture and method for applying same - Google Patents

Webpage game architecture and method for applying same Download PDF

Info

Publication number
CN103873428A
CN103873428A CN201210526409.8A CN201210526409A CN103873428A CN 103873428 A CN103873428 A CN 103873428A CN 201210526409 A CN201210526409 A CN 201210526409A CN 103873428 A CN103873428 A CN 103873428A
Authority
CN
China
Prior art keywords
server
game
central control
user
control 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.)
Granted
Application number
CN201210526409.8A
Other languages
Chinese (zh)
Other versions
CN103873428B (en
Inventor
肖竞瑜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GUANGZHOU AIYOU INFORMATION TECHNOLOGY Co Ltd
Original Assignee
GUANGZHOU AIYOU INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by GUANGZHOU AIYOU INFORMATION TECHNOLOGY Co Ltd filed Critical GUANGZHOU AIYOU INFORMATION TECHNOLOGY Co Ltd
Priority to CN201210526409.8A priority Critical patent/CN103873428B/en
Publication of CN103873428A publication Critical patent/CN103873428A/en
Application granted granted Critical
Publication of CN103873428B publication Critical patent/CN103873428B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a webpage game architecture and a method for applying same. The webpage game architecture comprises a user resource storage server, a user resource exchange server, a central control server and more than two game servers. A first input and output interface of the central control server is respectively connected with the game servers, and a second input and output interface of the central control server is connected with the user resource storage server through the user resource exchange server. The webpage game architecture of the invention has the advantages of high resource utilization rate, low software and hardware cost, simple server consolidation operation, and low probability of data loss.

Description

Web game framework and apply the method for this framework
Technical field
The invention belongs to communication technical field, be specifically related to a kind of web game framework and apply the method for this framework.
Background technology
Existing web game framework is: according to the online number of game products, the business indicators such as some card income, offer the game server of many platform independent for same game products, and every game server is stored respectively player attributes data and player's operating data.But, along with the minimizing of online number and operating income, more game server only can additionally increase operation cost and allow remaining player be dispersed in each game server and experience the enjoyment less than more interactions, therefore in this case, close clothes and just become a kind of inevitable means that extend the product life cycle and improve running income.
But, close while taking based on above-mentioned web game framework, for example: when game server A and game server B are merged into a new game server C, all player attributes data of the upper storage of game server A and player's operating data need to be imported to game server C, simultaneously, all player attributes data of upper game server B storage and player's operating data need to be imported to game server C, therefore, have to close and take complicated operation, deficiency that cost is high; And, in the process of clothes, easily cause loss of data closing.In addition, because each game server stored respectively player attributes data and player's operating data, therefore, also there is the defect that game server load is heavy, the whole network architecture is difficult to expansion.
Summary of the invention
The defect existing for prior art, the invention provides a kind of web game framework and applies the method for this framework, has advantages of that resource utilization is high, software and hardware cost is low, closes and take simple to operate and be difficult for obliterated data.
The technical solution used in the present invention is as follows:
The invention provides a kind of web game framework, comprise user resources storage server, user resources swap server, central control server and more than two game server; The first input/output interface of described central control server is connected with game server described in each respectively; The second input/output interface of described central control server is connected with described user resources storage server by described user resources swap server.
Preferably, described central control server is connected by cable network or wireless network with game server described in each.
Preferably, described wireless network is GPRS wireless network, WCDMA wireless network or cdma wireless network.
Preferably, also comprise more than one game client; Described in each, game client is connected with described central control server respectively.
The present invention also provides a kind of method of applying above-mentioned web game framework, comprises the following steps:
S1, in the time that described central control server receives the access request of described game client transmission, judges that whether the user ID of carrying in described access request has been stored in described user resources swap server, if judged result is no, carries out S2-S3; If judged result is yes, carry out S4-S6;
S2, described central control server sends the request message that obtains of player registers information to described game client;
S3, when described central control server receives after the message of the player registers information that described game client returns, specify game server to the user assignment that described user ID is corresponding, allow user corresponding to described user ID to play at described appointment game server; Meanwhile, described user ID is stored in described user resources swap server with the mapping relations of corresponding player information; Meanwhile, described player information is stored in described user resources storage server;
S4, described central control server is searched described user resources swap server according to described user ID, obtains the memory location of described player information in described user resources storage server according to the mapping relations of the described user ID of storing in described user resources swap server and described player information;
S5, described user resources storage server is searched in the described memory location that described central control server obtains according to S4, obtains the described player information corresponding with described user ID;
S6, the described player information that described central control server finds based on S5 is to user assignment game resource corresponding to described user ID, and user corresponding to described user ID play according to described game resource.
Preferably, described player information comprises player attributes information and player's operation information.
Preferably, described player's operation information comprises the game server ID that fights player in game operation and/or updating operation and/or described player play.
Preferably, in S3, described central control server specifies game server to be specially to user assignment corresponding to described user ID:
Described central control server obtains described in each game server optimum in game server based on load balancing principle, then the game server of described optimum is distributed to user corresponding to described user ID.
Preferably, after S6, also comprise:
S7, in the time that described central control server need to close clothes operation to game server described in each, described central control server merges the above game server, obtains new game server.
Preferably, in S7, described central control server merges the above game server and is specially:
Described central control server merges described in each each the lightest described game server of load in game server.
Beneficial effect of the present invention is as follows:
The invention provides a kind of web game framework and apply the method for this framework, have the following advantages:
(1) realized maximum using, the software and hardware cost of resource low;
(2) close and take simple to operately, do not need to merge player attributes data and player's operating data, realize and close the seamless of clothes and accept; And close and in the process of clothes, also there is the obliterated data of being difficult for.
(3) reduce the load of game server, be conducive to the expansion of online game framework.
Accompanying drawing explanation
Fig. 1 is the structural representation of web game framework provided by the invention;
Fig. 2 is method and the schematic flow sheet of applying web page game structure provided by the invention.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in detail:
As shown in Figure 1, the invention provides a kind of web game framework, comprise user resources storage server, user resources swap server, central control server and more than two game server; The first input/output interface of described central control server is connected with game server described in each respectively; The second input/output interface of described central control server is connected with described user resources storage server by described user resources swap server.Wherein, central control server is connected by cable network or wireless network with game server described in each; Wireless network includes but not limited to GPRS wireless network, WCDMA wireless network or cdma wireless network.Also comprise more than one game client; Described in each, game client is connected with described central control server respectively.
As shown in Figure 2, apply the method for above-mentioned web game framework, comprise the following steps:
S1, in the time that described central control server receives the access request of described game client transmission, judges that whether the user ID of carrying in described access request has been stored in described user resources swap server, if judged result is no, carries out S2-S3; If judged result is yes, carry out S4-S6;
S2, described central control server sends the request message that obtains of player registers information to described game client;
S3, when described central control server receives after the message of the player registers information that described game client returns, specify game server to the user assignment that described user ID is corresponding, allow user corresponding to described user ID to play at described appointment game server; Meanwhile, described user ID is stored in described user resources swap server with the mapping relations of corresponding player information; Meanwhile, described player information is stored in described user resources storage server; Wherein, player information comprises player attributes information and player's operation information; Player's operation information comprises the game server ID that fights player in game operation and/or updating operation and/or described player play.
In addition, central control server specifies game server to be specially to user assignment corresponding to described user ID: described central control server obtains described in each optimum game server in game server based on load balancing principle, then the game server of described optimum is distributed to user corresponding to described user ID.
S4, described central control server is searched described user resources swap server according to described user ID, obtains the memory location of described player information in described user resources storage server according to the mapping relations of the described user ID of storing in described user resources swap server and described player information;
S5, described user resources storage server is searched in the described memory location that described central control server obtains according to S4, obtains the described player information corresponding with described user ID;
S6, the described player information that described central control server finds based on S5 is to user assignment game resource corresponding to described user ID, and user corresponding to described user ID play according to described game resource.
After S6, also comprise:
S7, in the time that central control server need to close clothes operation to each game server, described central control server merges the above game server, obtains new game server.As a kind of optimal way, central control server merges described in each each the lightest described game server of load in game server.
The invention provides a kind of web game framework and apply the method for this framework, have the following advantages:
(1) realized maximum using, the software and hardware cost of resource low;
(2) close and take simple to operately, do not need to merge player attributes data and player's operating data, realize and close the seamless of clothes and accept; And close and in the process of clothes, also there is the obliterated data of being difficult for.
(3) reduce the load of game server, be conducive to the expansion of online game framework.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.

Claims (10)

1. a web game framework, is characterized in that, comprises user resources storage server, user resources swap server, central control server and more than two game server; The first input/output interface of described central control server is connected with game server described in each respectively; The second input/output interface of described central control server is connected with described user resources storage server by described user resources swap server.
2. web game framework according to claim 1, is characterized in that, described central control server is connected by cable network or wireless network with game server described in each.
3. web game framework according to claim 2, is characterized in that, described wireless network is GPRS wireless network, WCDMA wireless network or cdma wireless network.
4. web game framework according to claim 1, is characterized in that, also comprises more than one game client; Described in each, game client is connected with described central control server respectively.
5. a method for the web game framework described in application rights requirement 1 to 4 any one, is characterized in that, comprises the following steps:
S1, in the time that described central control server receives the access request of described game client transmission, judges that whether the user ID of carrying in described access request has been stored in described user resources swap server, if judged result is no, carries out S2-S3; If judged result is yes, carry out S4-S6;
S2, described central control server sends the request message that obtains of player registers information to described game client;
S3, when described central control server receives after the message of the player registers information that described game client returns, specify game server to the user assignment that described user ID is corresponding, allow user corresponding to described user ID to play at described appointment game server; Meanwhile, described user ID is stored in described user resources swap server with the mapping relations of corresponding player information; Meanwhile, described player information is stored in described user resources storage server;
S4, described central control server is searched described user resources swap server according to described user ID, obtains the memory location of described player information in described user resources storage server according to the mapping relations of the described user ID of storing in described user resources swap server and described player information;
S5, described user resources storage server is searched in the described memory location that described central control server obtains according to S4, obtains the described player information corresponding with described user ID;
S6, the described player information that described central control server finds based on S5 is to user assignment game resource corresponding to described user ID, and user corresponding to described user ID play according to described game resource.
6. method according to claim 5, is characterized in that, described player information comprises player attributes information and player's operation information.
7. method according to claim 6, is characterized in that, described player's operation information comprises the game server ID that fights player in game operation and/or updating operation and/or described player play.
8. method according to claim 5, is characterized in that, in S3, described central control server specifies game server to be specially to user assignment corresponding to described user ID:
Described central control server obtains described in each game server optimum in game server based on load balancing principle, then the game server of described optimum is distributed to user corresponding to described user ID.
9. method according to claim 5, is characterized in that, after S6, also comprises:
S7, in the time that described central control server need to close clothes operation to game server described in each, described central control server merges the above game server, obtains new game server.
10. method according to claim 9, is characterized in that, in S7, described central control server merges the above game server and is specially:
Described central control server merges described in each each the lightest described game server of load in game server.
CN201210526409.8A 2012-12-07 2012-12-07 The method of web game framework and the application framework Expired - Fee Related CN103873428B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210526409.8A CN103873428B (en) 2012-12-07 2012-12-07 The method of web game framework and the application framework

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210526409.8A CN103873428B (en) 2012-12-07 2012-12-07 The method of web game framework and the application framework

Publications (2)

Publication Number Publication Date
CN103873428A true CN103873428A (en) 2014-06-18
CN103873428B CN103873428B (en) 2017-11-28

Family

ID=50911559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210526409.8A Expired - Fee Related CN103873428B (en) 2012-12-07 2012-12-07 The method of web game framework and the application framework

Country Status (1)

Country Link
CN (1) CN103873428B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681294A (en) * 2016-01-11 2016-06-15 厦门市光娱投资管理有限公司 Game service management method and game service management system
CN106470742A (en) * 2014-06-30 2017-03-01 微软技术许可有限责任公司 The data center management of multimodal service device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1556491A (en) * 2003-12-30 2004-12-22 北京金山数字娱乐科技有限公司 Servicer system
JP2005118376A (en) * 2003-10-17 2005-05-12 Sankyo Kk Game system
CN1953793A (en) * 2004-03-15 2007-04-25 科乐美数码娱乐株式会社 Game server system, game element providing method, game device, and program product
CN101068180A (en) * 2007-06-15 2007-11-07 腾讯科技(深圳)有限公司 Network game main controlling system, management system and managing method
CN101082945A (en) * 2006-06-01 2007-12-05 上海盛大网络发展有限公司 Identification system for game virtual equipment
CN202940844U (en) * 2012-12-07 2013-05-15 广州爱游信息科技有限公司 Webpage game architecture

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005118376A (en) * 2003-10-17 2005-05-12 Sankyo Kk Game system
CN1556491A (en) * 2003-12-30 2004-12-22 北京金山数字娱乐科技有限公司 Servicer system
CN1953793A (en) * 2004-03-15 2007-04-25 科乐美数码娱乐株式会社 Game server system, game element providing method, game device, and program product
CN101082945A (en) * 2006-06-01 2007-12-05 上海盛大网络发展有限公司 Identification system for game virtual equipment
CN101068180A (en) * 2007-06-15 2007-11-07 腾讯科技(深圳)有限公司 Network game main controlling system, management system and managing method
CN202940844U (en) * 2012-12-07 2013-05-15 广州爱游信息科技有限公司 Webpage game architecture

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106470742A (en) * 2014-06-30 2017-03-01 微软技术许可有限责任公司 The data center management of multimodal service device
CN105681294A (en) * 2016-01-11 2016-06-15 厦门市光娱投资管理有限公司 Game service management method and game service management system
CN105681294B (en) * 2016-01-11 2019-03-15 厦门光翎信息科技有限公司 A kind of game services management method and game business management system

Also Published As

Publication number Publication date
CN103873428B (en) 2017-11-28

Similar Documents

Publication Publication Date Title
CN105893083A (en) Container-based mobile code unloading support system under cloud environment and unloading method thereof
CN103338252B (en) Realizing method of distributed database concurrence storage virtual request mechanism
CN103763173B (en) Data transmission method and calculate node
CN104966214A (en) Electronic ticket interaction method and device
CN102929989B (en) The load-balancing method of a kind of geographical spatial data on cloud computing platform
CN109889576A (en) A kind of mobile cloud game method for optimizing resources based on game theory
CN103188245A (en) Fight game server system
CN102946429A (en) High-efficiency dynamic resource scheduling method based on cloud storage
CN105897887A (en) Clouding computing-based remote sensing satellite big data processing system and method
CN107729570A (en) Data migration method and device for server
CN103473848B (en) Network invoice checking framework and method based on high concurrency
CN108920274B (en) Performance optimization and device for image processing server side
CN102479355A (en) Method and device for loading business documents and mobile terminal
CN105681052A (en) Energy-saving method for data center distributed file storage
CN103581273B (en) A kind of distributed system performs method, the apparatus and system of business
CN106302778A (en) A kind of distributed flow process automotive engine system
CN107528708A (en) A kind of method and system for arranging Linux server cluster
CN101751297A (en) Information system to which a large number of clients can log in and method for large number of clients to log in to same
CN101895531A (en) Client equipment, multimedia data unloading system and unloading method
CN103873428A (en) Webpage game architecture and method for applying same
CN104111860B (en) Virtual machine operation method and system in server
CN105404672A (en) Webpage data storage and operation system and method
CN202940844U (en) Webpage game architecture
CN101778135A (en) Server system of rural general message platform and operation method thereof
CN106547595A (en) A kind of UI resources loading method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 56 No. 510665, No. 58, No. 401, and 402A, Jianzhong Road, Guangdong, Guangzhou

Applicant after: Guangzhou 4399 Information Technology Co., Ltd.

Address before: 1, 16, 1201-1 rooms, 510630 Yun Yun Road, Tianhe District, Guangdong, Guangzhou

Applicant before: GUANGZHOU AIYOU INFORMATION TECHNOLOGY CO., LTD.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: GUANGZHOU AIYOU INFORMATION TECHNOLOGY CO., LTD. TO: GUANGZHOU 4399 INFORMATION TECHNOLOGY CO., LTD.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171128

Termination date: 20191207