CN109513206A - The network architecture of online game and data forwarding method for online game - Google Patents

The network architecture of online game and data forwarding method for online game Download PDF

Info

Publication number
CN109513206A
CN109513206A CN201710851627.1A CN201710851627A CN109513206A CN 109513206 A CN109513206 A CN 109513206A CN 201710851627 A CN201710851627 A CN 201710851627A CN 109513206 A CN109513206 A CN 109513206A
Authority
CN
China
Prior art keywords
data
module
game
server
money
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
Application number
CN201710851627.1A
Other languages
Chinese (zh)
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.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud 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 Beijing Kingsoft Cloud Network Technology Co Ltd, Beijing Kingsoft Cloud Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN201710851627.1A priority Critical patent/CN109513206A/en
Publication of CN109513206A publication Critical patent/CN109513206A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/71Game security or game management aspects using secure communication between game devices and game servers, e.g. by encrypting game data or authenticating players
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a kind of network architecture of online game and for the data forwarding method of online game, it is related to Internet technical field, the network architecture of the online game includes: the first global service module, game services module and the second global service module;The first global service module includes access server and supplements server with money;The game services module includes central server and multiple groups scene server;It cooperates between each module, the load of game server can be reduced in the case where not influencing normal game speed.

Description

The network architecture of online game and data forwarding method for online game
Technical field
The present invention relates to Internet technical fields, the network architecture more particularly to online game and for online game Data forwarding method.
Background technique
So that major transformation occurs for electronic game, online game has become the main joy of people for the development of Internet technology One of happy activity.Wherein, MMO (Massively Multiplayer Online, Massively Multiplayer Online) type game scene is rich Richness, player interaction is high, therefore is liked deeply by player.For online game especially MMO type game, there are extensive visitors Family end it is online simultaneously and frequently interaction, game open clothes or daily timing activity cause server occur stronger region hot spot, It is high and across taking number to there are frequent write-in demand, network I/O (Input/Output, input/output) throughput demands in rear end storage The features such as frequent according to intercommunication, causes very big processing pressure to server end.
The network architecture of existing online game includes firewall, interchanger, multiple game servers and database, is being swum When play, client sends request data;Firewall is filtered request data, and sends filtered number of request to interchanger According to;Request data is forwarded in corresponding game server by interchanger, and game server handles request data, and will Related data is saved in database.But in existing online game framework, game server needs to handle client Logging request, while also needing to run preset games, it safeguards scene of game, handles the charging request and completion of client It is interacted with the various game informations of client, and it also requires being frequently written and read with database.
Data processing centrality is strong in the network architecture of existing network game, and the processing of game server loads high, game Server is easy overload.
Summary of the invention
A kind of network architecture for being designed to provide online game of the embodiment of the present invention and data for online game Retransmission method enhances redundancy ability to realize that the processing reduced to game server loads.Specific technical solution is as follows:
In a first aspect, the embodiment of the invention provides a kind of network architecture for online game, which can be with Include:
First global service module, game services module and the second global service module;
Above-mentioned first global service module includes access server, supplements server with money;
Above-mentioned game services module includes central server and multiple groups scene server;Wherein,
Above-mentioned access server is for obtaining access request, when above-mentioned access request meets preset entry rules, to Lian Zhiling is built in above-mentioned central server transmission, is logged in allowing to send the client of the access request;
Above-mentioned server of supplementing with money supplements rule with money according to preset, to above-mentioned charging request application for obtaining charging request The user account supplemented with money is supplemented with money;
Above-mentioned central server builds Lian Zhiling by what above-mentioned access server was sent for receiving, in the instruction of the above-mentioned company of building The client of mark configures corresponding scene server, establishes the communication connection with the client identified in the instruction of the above-mentioned company of building; Above-mentioned multiple groups scene server is for generating and safeguarding preset scene of game;
Above-mentioned second global service module is for obtaining the game interaction number for having accessed client and above-mentioned central server According to according to preset game rule, execution operation corresponding with above-mentioned game interaction data, wherein above-mentioned to have accessed client For the client for establishing communication connection with above-mentioned central server.
Optionally, the above-mentioned network architecture can also include:
Safety protection module will be accorded with for filtering by the incoming invalid data request for not meeting default safety regulation of outer net The valid data request for closing default safety regulation is sent to above-mentioned access server and/or above-mentioned supplements server with money, wherein above-mentioned Valid data request includes access request and/or charging request.
Optionally, above-mentioned safety protection module may include:
Firewall obtains the designated identification of the incoming request of data of outer net for receiving the request of data being passed to by outer net, When above-mentioned designated identification meets default filtering rule, the incoming data of Xiang Suoshu the first global service module forwards outer net are asked It asks, when above-mentioned designated identification does not meet default filtering rule, deletes the incoming data of outer net;
Optionally, above-mentioned safety protection module can also include:
Distributed denial of service Ddos protects submodule, for being more than pre- in the request of current transmission control protocol TCP connection When big vast threshold value of setting up defences, limits the synchronous half-connection number opened simultaneously and shorten the time of synchronous half-connection The out time.
Optionally, above-mentioned safety protection module can also include:
High anti-IP protects submodule, when for detecting that the incoming request of data of outer net is distributed denial of service attack, The attack traffic drainage for the request of data that outer net is passed to.
Optionally, the above-mentioned network architecture can also include:
Database, for storing the related data when operation of the above-mentioned network architecture, wherein when the above-mentioned network architecture is run Related data includes: above-mentioned access server run when related data, it is above-mentioned supplement with money server operation when related data and Related data when above-mentioned central server is run.
Optionally, the above-mentioned network architecture can also include:
Game data analysis module, when for obtaining above-mentioned first global service module and the operation of above-mentioned game services module Data generated, and while running to above-mentioned first global service module and above-mentioned game services module data generated carry out Analysis and arrangement.
Optionally, above-mentioned game data analysis module may include:
Log services cluster, for obtaining above-mentioned first global service module and above-mentioned game services module operation Shi Suosheng At data, and generate log;
First data service cluster, for carrying out streaming computing to above-mentioned log;
Object sub-module stored, log that treated for storing above-mentioned log and above-mentioned first data service cluster;
Second data service cluster, for carrying out batch processing to the data stored in above-mentioned object sub-module stored;
Relational database, data that treated for arranging above-mentioned second data service cluster, to generate database table;
Column database, log that treated for arranging above-mentioned first data service cluster, to generate column data.
Optionally, above-mentioned game data analysis module can also include:
4th cache sub-module, log that treated for caching above-mentioned first data service cluster.
Optionally, above-mentioned game data analysis module can also include:
Monitoring alarm submodule, log that treated for obtaining above-mentioned first data service cluster, in above-mentioned first number According to service cluster treated log deposits when abnormal, send and identify above-mentioned abnormal warning information.
Optionally, above-mentioned network architecture framework can also include:
Service module is updated, for sending more new data to client to be updated.
Optionally, above-mentioned update service module may include:
Object stores source station, for storing and distributing the more new data needed for above-mentioned client to be updated updates;
Content distributing network CDN, for completing the update data interaction between each client and above-mentioned object storage source station.
Optionally, above-mentioned first global service module can also include:
First cache sub-module, for caching the related data when operation of above-mentioned access server.
Optionally, above-mentioned first global service module can also include:
Second cache sub-module, for caching the above-mentioned related data supplemented with money when server is run.
Optionally, above-mentioned to supplement server with money, may include:
Supplement service cluster with money, including it is multiple supplement virtual machine with money, above-mentioned virtual machine of supplementing with money is for handling supplementing with money for each client Service;
First Load Balance Unit, for obtaining the current load for respectively supplementing virtual machine with money, and according to respectively supplementing virtual machine with money Current load distributes charging request respectively to supplement virtual machine with money.
Optionally, above-mentioned access server may include:
Gateway service cluster, including multiple net virtual machines, above-mentioned net virtual machine is for handling connecing for above-mentioned client Enter service;
Second Load Balance Unit, for obtaining the current load of each net virtual machine, and according to each net virtual machine Current load distributes access request for each net virtual machine.
Optionally, above-mentioned second global service module includes more physical machines.
Optionally, every physical machine in above-mentioned second global service module includes at least chatting service cluster, seniority among brothers and sisters clothes A cluster being engaged in cluster, good friend's service cluster, store service cluster and mail service cluster, wherein
Above-mentioned chatting service cluster is chatted for obtaining the above-mentioned chat data for having accessed client transmission according to preset Its rule, executes chatting operation corresponding with above-mentioned chat data;
Above-mentioned seniority among brothers and sisters service cluster, for obtaining the specified data in above-mentioned central server, and according to preset displaying Rule, Xiang Shangshu have accessed client and have shown above-mentioned specified data;
Above-mentioned good friend's service cluster, for obtaining the above-mentioned good friend's data for having accessed client transmission, according to preset good Friendly rule executes good friend's operation corresponding with above-mentioned good friend's data;
Above-mentioned store service cluster, for obtaining the above-mentioned store data for having accessed client transmission, according to preset quotient City rule executes store operation corresponding with above-mentioned store data;
Above-mentioned mail service cluster, for obtaining the above-mentioned mail data for having accessed client transmission, according to preset postal Part rule, executes mail action corresponding with above-mentioned mail data.
Optionally, above-mentioned game services module can also include:
Third cache sub-module, for caching the related data when operation of above-mentioned central server.
Optionally, every group of scene server in the above-mentioned scene server of multiple groups is located in different physical machines.
Second aspect, the embodiment of the invention provides a kind of data forwarding methods for online game, are applied to network Framework, the above-mentioned network architecture include the first global service module, game services module and the second global service module;Above-mentioned first Global service module includes access server and supplements server with money;Above-mentioned game services module includes central server and multiple groups field Scape server;This method may include:
Above-mentioned access server obtains access request, when above-mentioned access request meets preset entry rules, Xiang Shangshu Lian Zhiling is built in central server transmission, is logged in allowing to send the client of the access request;
Above-mentioned server of supplementing with money obtains charging request, supplements rule with money according to preset, supplements with money to above-mentioned charging request application User account supplement with money;
Above-mentioned central server receive by above-mentioned access server send it is above-mentioned build Lian Zhiling, be during above-mentioned company of building instructs The client of mark configures corresponding scene server, establishes the communication connection with the client identified in the instruction of the above-mentioned company of building; Above-mentioned multiple groups scene server generates and safeguards preset scene of game;
Above-mentioned second global service module obtains the above-mentioned game interaction number for having accessed client and above-mentioned central server According to according to preset game rule, execution operation corresponding with above-mentioned game interaction data, wherein above-mentioned to have accessed client For the client for establishing communication connection with above-mentioned central server.
Optionally, when the above-mentioned network architecture further includes safety protection module, correspondingly, the above-mentioned number for online game Can also include: according to retransmission method
Above-mentioned safety protection module filtering is requested by the incoming invalid data for not meeting default safety regulation of outer net, will be met The valid data request of default safety regulation is sent to above-mentioned access server and/or above-mentioned supplements server with money, wherein above-mentioned conjunction Method request of data includes access request and/or charging request.
Optionally, when the above-mentioned network architecture further includes database, correspondingly, the above-mentioned data forwarding for online game Method can also include:
Related data when the above-mentioned above-mentioned network architecture of database purchase is run, wherein when the above-mentioned network architecture is run Related data includes: above-mentioned access server run when related data, it is above-mentioned supplement with money server operation when related data and Related data when above-mentioned central server is run.
Optionally, when the above-mentioned network architecture further includes game data analysis module, correspondingly, above-mentioned be used for online game Data forwarding method can also include:
When above-mentioned game data analysis module obtains above-mentioned first global service module and the operation of above-mentioned game services module Data generated, and while running to above-mentioned first global service module and above-mentioned game services module data generated carry out Analysis and arrangement.
It optionally, include that log services cluster, the first data service cluster, object are deposited in above-mentioned game data analysis module When storing up submodule, the second data service cluster, relational database and column database, correspondingly, above-mentioned game data analysis module Data generated when above-mentioned first global service module and the operation of above-mentioned game services module are obtained, and global to above-mentioned first Service module and above-mentioned game services module when running data generated analyzed and arranged, may include:
Above-mentioned log services cluster obtains above-mentioned first global service module and above-mentioned game services module runs Shi Suosheng At data, and generate log;Above-mentioned first data service cluster obtains the log that above-mentioned log services cluster generates, to above-mentioned Log carries out streaming computing;Above-mentioned object sub-module stored stores above-mentioned log and above-mentioned first data service cluster streaming computing Log afterwards;Above-mentioned second data service cluster obtains the data stored in above-mentioned object sub-module stored and carries out at batch Reason;Data after the above-mentioned second data service cluster batch processing of above-mentioned relation database grooming, to generate database table;On It states column database and arranges above-mentioned first data service cluster treated log, to generate column data.
Optionally, when above-mentioned game data analysis module further includes four cache sub-module, correspondingly, above-mentioned game number Data generated when obtaining above-mentioned first global service module and the operation of above-mentioned game services module according to analysis module, and to upper It states data generated when the first global service module and above-mentioned game services module are run to be analyzed and arranged, can also wrap It includes:
Above-mentioned 4th cache sub-module caches the log after above-mentioned first data service cluster streaming computing.
Optionally, when above-mentioned game data analysis module further includes monitoring alarm submodule, correspondingly, above-mentioned game number Data generated when obtaining above-mentioned first global service module and the operation of above-mentioned game services module according to analysis module, and to upper It states data generated when the first global service module and above-mentioned game services module are run to be analyzed and arranged, can also wrap It includes:
Above-mentioned monitoring alarm submodule obtains the log after above-mentioned first data service cluster streaming computing, above-mentioned first Log after data service cluster streaming computing is deposited when abnormal, is sent and is identified above-mentioned abnormal warning information.
Optionally, when the above-mentioned network architecture further includes updating service module, correspondingly, the above-mentioned number for online game Can also include: according to retransmission method
Above-mentioned update service module updates client to be updated.
Optionally, in above-mentioned update service module, including when object storage source station and content distributing network CDN, correspondingly, Above-mentioned update service module updates client to be updated, may include:
The update sent by client request is transmitted to above-mentioned object and stores source station by above-mentioned CDN;Above-mentioned object storage source It stands and obtains above-mentioned update request, determine that corresponding more new data is requested in above-mentioned update, by above-mentioned CDN, to the above-mentioned update of transmission The client of request sends above-mentioned more new data.
Optionally, when above-mentioned first global service module further includes the first cache sub-module, correspondingly, above-mentioned be used for net The data forwarding method of network game can also include:
Above-mentioned first cache sub-module caches the related data when operation of above-mentioned access server.
Optionally, above-mentioned to be used for online game when above-mentioned first global service module further includes the second cache sub-module Data forwarding method further include:
Above-mentioned second cache sub-module caches the above-mentioned related data supplemented with money when server is run.
It optionally, include supplementing service cluster and the first Load Balance Unit with money in above-mentioned server of supplementing with money, it is above-mentioned to supplement clothes with money It is engaged in cluster, including multiple when supplementing virtual machine with money, correspondingly, above-mentioned server of supplementing with money obtains charging request, is supplemented with money according to preset Rule, the user account supplemented with money to above-mentioned charging request application are supplemented with money, may include:
Above-mentioned first Load Balance Unit obtains the current load for respectively supplementing virtual machine with money, and works as according to virtual machine is respectively supplemented with money Preceding load distributes charging request respectively to supplement virtual machine with money.Above-mentioned virtual machine of supplementing with money is for handling the service of supplementing with money of each client;
It optionally, include gateway service cluster and the second Load Balance Unit, above-mentioned gateway clothes in above-mentioned access server Business cluster, including when multiple net virtual machines, correspondingly, above-mentioned access server obtains access request, in above-mentioned access request When meeting preset entry rules, Lian Zhiling is built in the transmission of Xiang Shangshu central server, may include:
Above-mentioned second Load Balance Unit obtains the current load of each net virtual machine, and is worked as according to each net virtual machine Preceding load distributes access request for each net virtual machine;Above-mentioned net virtual machine, above-mentioned net virtual machine are above-mentioned for handling The access service of client.
It optionally, include more physical machines in above-mentioned second global service module, in above-mentioned second global service module Every physical machine includes at least chatting service cluster, seniority among brothers and sisters service cluster, good friend's service cluster, store service cluster and mail clothes Be engaged in a cluster in cluster when, correspondingly, above-mentioned second global service module obtains the above-mentioned client and among the above of having accessed The game interaction data of central server execute operation corresponding with above-mentioned game interaction data according to preset game rule, can To include:
Above-mentioned chatting service cluster obtains the above-mentioned chat data for having accessed client transmission, advises according to preset chat Then, chatting operation corresponding with above-mentioned chat data is executed;Above-mentioned seniority among brothers and sisters service cluster obtains the finger in above-mentioned central server Fixed number evidence, and according to preset displaying rule, Xiang Shangshu has accessed client and has shown above-mentioned specified data;Above-mentioned good friend's services set Group obtains the above-mentioned good friend's data for having accessed client transmission, according to preset good friend's rule, executes and above-mentioned good friend's data phase The good friend's operation answered;Above-mentioned store service cluster obtains the above-mentioned store data for having accessed client transmission, according to preset quotient City rule executes store operation corresponding with above-mentioned store data;Above-mentioned mail service cluster acquisition is above-mentioned to have accessed client The mail data of transmission executes mail action corresponding with above-mentioned mail data according to preset Mail rule.
Optionally, when above-mentioned game services module further includes third cache sub-module, correspondingly, above-mentioned swim for network The data forwarding method of play further include:
Third cache sub-module caches the related data when operation of above-mentioned access server.
The network architecture of online game provided in an embodiment of the present invention and data forwarding method for online game, this Structure includes: the first global service module, game services module and the second global service module;Above-mentioned first global service module packet It includes access server, supplement server with money;Wherein, above-mentioned game services module includes central server and multiple groups scene server. Above-mentioned access server is for obtaining access request, when above-mentioned access request meets preset entry rules, the center Xiang Shangshu Lian Zhiling is built in server transmission, is logged in allowing to send the client of the access request;Above-mentioned server of supplementing with money is for obtaining Charging request supplements rule with money according to preset, and the user account supplemented with money to above-mentioned charging request application is supplemented with money;Above-mentioned center service Device builds Lian Zhiling by what above-mentioned access server was sent for receiving, and the client to identify in the instruction of the above-mentioned company of building configures corresponding Scene server, establish with above-mentioned company of building instruct in the communication connection of client that identifies;Above-mentioned multiple groups scene server is used In generating and safeguard preset scene of game;Above-mentioned second global service module has accessed client and above-mentioned center for obtaining The game interaction data of server execute operation corresponding with above-mentioned game interaction data according to preset game rule.It will be right Instantaneity requires low service to separate from game server, and each intermodule cooperates, and can not influence normal game In the case where speed, the load of game server is reduced.Certainly, it implements any of the products of the present invention or method must be not necessarily required to Reach above all advantages simultaneously.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of schematic diagram of the network architecture for online game of the embodiment of the present invention;
Fig. 2 is the structural schematic diagram of the data analysis module of the embodiment of the present invention;
Fig. 3 is the structural schematic diagram of the safety protection module of the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of the second global service module of the embodiment of the present invention;
Fig. 5 is that the schematic diagram of data is written into caching and database for the cloud host of the embodiment of the present invention;
Fig. 6 is that the cloud host of the embodiment of the present invention reads the schematic diagram of data from caching and database;
Fig. 7 is the schematic diagram of the database using RDS framework of the embodiment of the present invention;
Fig. 8 is the schematic diagram using host-guest architecture storing data of the embodiment of the present invention;
Fig. 9 is the available area of the embodiment of the present invention and the schematic diagram of access point;
Figure 10 is another schematic diagram of the network architecture for online game of the embodiment of the present invention;
Figure 11 is the flow diagram of the data forwarding method for online game of the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Existing online game, for example, MMO class game has the following characteristics that server state high cohesion, in each server System module state strongly consistent;Large scale customer end is online simultaneously and frequently interacts;Game is held clothes or daily timing activity and can be led Cause stronger region hot issue occur;There are more across taking data interchange demand for data in game;Network I/O throughput It is required that it is high, it needs to reach network flow quantity shunting using load-balancing technique when necessary;There is frequent write-in demand in rear end storage, The stronger caching of the real-time that needs to arrange in pairs or groups and asynchronous I/O mechanism;Distributed structure/architecture is used to accommodate a large amount of while online clients End guarantees the consistency of the state between distributed process;O&M is complicated, and game server quantity is more, and demand is different, needs to safeguard Numerous servers;Game generates a large amount of daily record data, and storage becomes bottleneck with analysis, need profession data analysis team and Tool is specifically handled.
For MMO class game These characteristics it is found that the online game framework of MMO class game needs to pay attention to following problems: 1, The physical machine of game server loads high: network by force high concurrent, real-time, interactive verify by force, the strong cohesion of service state, handling capacity are high. 2, availability and reliability are poor: considering that disaster tolerance is few, there are loss of data risks, troubleshooting trouble.3, O&M trouble: project week Phase is short, game server quantity is more, a large amount of repeated works, configuration management is complicated, needs to improve monitoring system.4, data analyze mould Model: the big source of data volume is more, the wasting of resources, is not easy to dilatation, lacks professional team.
It is existing to be directed to the online game network architecture, for example, the network architecture of the online game for the game of MMO class, trip Play server, database are deployed in same cloud host, there is single-point risk, and without highly reliable design, delay machine risk is high, game server High to host performance requirement, CPU, IO, memory, network are likely to become the performance bottleneck of online game framework;Self-built data Inventory is lacked in loss of data risk using caching consciousness, and deployment is more chaotic, lacks more mature delivery system, can not do To timely early warning, game can generate a large amount of data at runtime, and storage becomes bottleneck, part Content with analysis Producer (content provider) can not still establish a healthy and strong game renewal mechanism, lack relatively sound game and run number According to collection and smart subsystem.
For the existing online game framework feature high to the performance requirement of game server, the embodiment of the present invention is provided A kind of network architecture for online game, referring to Fig. 1, comprising:
First global service module 101, game services module 102 and the second global service module 103;
First global service module 101 is including access server 1011 and supplements server 1012 with money;
Game services module 102 includes central server 1021 and multiple groups scene server 1022.Wherein,
Access server 1011 is for obtaining access request, when access request meets preset entry rules, Xiang Zhongxin Lian Zhiling is built in the transmission of server 1021, is logged in allowing to send the client of access request.
Access server 1011 obtains the access request sent by client, optionally, steps in access request comprising request The mark of the server of record, the account of user and password, access server 1011 obtain pre-stored user ID data, Account and password in user ID data, when with the account and identical password in access request, judgement allows to send the access The client of request logs in, and otherwise forbids the client for sending the access request to log in, and return to false command to client.
When the client for determining to allow to send access request logs in, access server 1011 is requested according in access request The mark of the server of login, to requested in access request in the corresponding game services module 102 of server logged in Lian Zhiling is built in the transmission of central server 1021, this builds mark and the user that connection instruction includes the client for sending above-mentioned access request The mark etc. of account.In embodiments of the present invention, access server is independently gone out into game garment module, will not influence whole game Speed, and the load of game garment module can be reduced, framework layout is more reasonable.
Server 1012 is supplemented with money for obtaining charging request, rule is supplemented with money according to preset, charging request application is supplemented with money User account supplement with money.
It supplements server 1012 with money and obtains the charging request sent by client, optionally, filled in charging request comprising request The account of the user of value supplements the link that server 1012 sends payment platform to client with money, flat to establish client and payment The communication connection of platform is supplemented the acquisition of server 1012 with money and is sent by payment platform after client completes payment by payment platform Payment successful information, paying includes user account and payment amount in successful information, supplements server 1012 with money to paying successfully The corresponding amount of money is supplemented with money in the corresponding user account of information.In embodiments of the present invention, server will be supplemented with money and independently go out game garment Module will not influence whole game rate, and can reduce the load of game garment module, and framework layout is more reasonable.
Central server 1021 builds Lian Zhiling by what access server 1011 was sent for receiving, for the company's of building command identification Client configures corresponding scene server 1022, establishes and the communication connection of the client of the company's of building command identification;Multiple groups scene Server 1022 is for generating and safeguarding preset scene of game;
It is related to read the user account identified in the pre-stored company's of building instruction according to Lian Zhiling is built for central server 1021 Game data.Central server 1021 determines on the role of user account according to the relevant game data of above-mentioned user account Secondary scene where when exiting game, and the relevant game data of user account is loaded in corresponding scene server 1022, If the attribute of the role of user account is to equip, and establish central server 1021 and client and client and scene service The communication connection of device 1022.Optionally, central server 1021 is also responsible for the role switching of client, the functions such as route choosing, For carrying out overall control to the operation of game.
Second global service module 103 is for obtaining the game interaction number for having accessed client and central server 1021 According to executing operation corresponding with game interaction data according to preset game rule, wherein having accessed client is and center Server 1021 establishes the client of communication connection.
After client is communicated with the foundation of game services module 102, the second global service module 103 is established with the client Communication connection, the second global service module 103 receive by central server 1021 and have accessed the game interaction number of client According to, according to preset game rule, operation corresponding with game interaction data is executed, such as: the second global service module 103 obtains The chat data for having accessed client transmission is taken, according to preset chat rule, executes chatting operation corresponding with chat data; Second global service module 103 obtains the specified data of central server 1021, and regular according to preset displayings, to having accessed Client shows specified data;Second global service module 103 obtains the good friend's data for having accessed client transmission, according to default Good friend's rule, execute corresponding with good friend's data good friend and operate;The acquisition of second global service module 103 has accessed client hair The store data sent execute store operation corresponding with store data according to preset store rule;Second global service module 103 obtain the mail data for having accessed client transmission, according to preset Mail rule, execute mail corresponding with mail data Operation.The game interaction data that the acquisition of second global service module 103 has accessed client are held according to preset game rule Row operation corresponding with game interaction data, can reduce the load of game services module 102, and will not influence whole game Speed, network architecture layout are more reasonable.
In embodiments of the present invention, the access request and charging request of the first global service resume module user, second is complete Office's service module obtains the game interaction data for having accessed client and central server, completes corresponding operation, each module is matched Work is closed, the load of game services module (game server) is reduced, prevents game services module from occurring because of load too high It is abnormal, enhance redundancy ability.And the game data of the first global service module and the second global service resume module is pair Instantaneity requires low data, will not influence normal game rate.
Optionally, the network architecture of the embodiment of the present invention can also include:
Database, for storing the related data when operation of the above-mentioned network architecture, wherein when the above-mentioned network architecture is run Related data includes: related data, the above-mentioned phase supplemented with money when server 1012 is run when above-mentioned access server 1011 is run Close related data when data and the operation of above-mentioned central server 1021.
When database is run for storing the related data when operation of the above-mentioned network architecture, while providing the above-mentioned network architecture Required data.For example, storing the remaining sum of user account in database and history supplements record with money, when supplementing with money, server 1012 is right When the user account that charging request application is supplemented with money is supplemented with money, need to obtain the remaining sum of user account from database, then in user Plus the amount of money that this is supplemented with money on the basis of account balance, and store into database.
Database can be located in different physical machines from game services module 102, in some game server module institute Physical machine failure when, will not influence the normal work of database, reduce single-point risk, enhance redundancy ability.
In embodiments of the present invention, by database, related data when network architecture operation is stored, is above-mentioned network rack The normal operation of structure provides support.
Optionally, above-mentioned first global service module 101 can also include:
First cache sub-module, for caching related data when access server operation.
Access server 1011 obtains access request, and reads from database or the first cache sub-module and ask with the access Relevant data are sought, to determine whether the access request meets preset entry rules.Specifically, including request in access request The mark of the server of login, the account of user and password, access server 1011 are read from the first cache sub-module first Data relevant to access request access clothes if not including data relevant to the access request in the first cache sub-module Business device 1011 reads data relevant to the access request from database, and caching and the access in the first cache sub-module Request relevant data.Access server 1011 can also store the processing result of this access request to the first caching submodule In block and database, for example, access server 1011, the login time for the account that access request request is logged in and the clothes of login The data such as device of being engaged in storage is into the first cache sub-module and database.
In embodiments of the present invention, the related data that access server 1011 is run is saved in the first cache sub-module In, access server 1011 reads data from the first cache sub-module first, makes full use of caching, and data reading speed is fast, Reduce the reading pressure of database.
Optionally, above-mentioned first global service module 101 can also include:
Second cache sub-module, for caching the related data supplemented with money when server is run.
It supplements server 1012 with money and obtains charging request, read and the charging request from database or the second cache sub-module Relevant data, and the communication connection of client and payment platform is established, so that user completes to supplement with money.Specifically, charging request In the account of user supplemented with money comprising request, supplement the use that acquisition request is supplemented with money from the charging request received of server 1012 with money The account at family, and relevant data are supplemented with money (such as the user account from reading the user account in the second cache sub-module first Remaining sum, history consumer record or history supplement record etc. with money), phase is supplemented with money with the user account if not including in the second cache sub-module The data of pass are then supplemented server 1012 with money and are read from database and supplement relevant data with money to the user account, and slow second It deposits and caches the user account in submodule and supplement relevant data with money.Supplementing server 1012 with money can also request to supplement with money by charging request User account and recharge amount be saved in the second cache sub-module and database.
In embodiments of the present invention, the related data that server 1012 is run will be supplemented with money and is saved in the second cache sub-module In 1012, supplements server 1012 with money and read data from the second cache sub-module first, make full use of caching, data reading speed Fastly, the reading pressure of database is reduced.
Optionally, above-mentioned game services module can also include:
Third cache sub-module, for caching related data when central server operation.
Central server 1021 identifies in the instruction of the reading company of building first in third cache sub-module according to Lian Zhiling is built The relevant game data of user account, if it is relevant not include the user account identified in the company's of building instruction in third cache sub-module Game data, then central server 1021 from read in database company of building instruct in the relevant game number of user account that identifies According to.
In embodiments of the present invention, the related data that central server 1021 is run is saved in third cache sub-module In, central server 1021 reads data from third cache sub-module first, makes full use of caching, and data reading speed is fast, Reduce the reading pressure of database.
Optionally, the network architecture of the embodiment of the present invention can also include:
Game data analysis module, it is generated when for obtaining the first global service module and the operation of game services module Data, and while running to the first global service module and game services module data generated are analyzed and are arranged.
Game data analysis module is based on the Computational frames such as Hadoop and Spark, and building data analyze cluster, processing first Global service module and game services module mass data generated when running.Game data analysis module takes first overall situation Module and the game services module of being engaged in when running data record generated be log, and log is carried out at streaming computing and batch Reason, is finally stored in table form.Game data analysis module cooperates RDS (Relational Database Service, relevant database service), KS3 (Kingsoft Standard Storage Service, Kingsoft standard storage Service) and the types such as KTS (Kingsoft Table Service, Kingsoft table service) storage service can be realized it is end-to-end Big data processing.
Referring to fig. 2, in a kind of possible embodiment of the embodiment of the present invention, game data analysis module, comprising:
Log services cluster 1061, it is generated when for obtaining the first global service module and the operation of game services module Data, and generate log.
Related data when log services cluster 1061 runs the network architecture generates log, can facilitate the analysis of data And inquiry.
First data service cluster 1062, for carrying out streaming computing to log.
First data service cluster 1062 is based on MapReduce, Yahoo!The stream such as S4, StreamBase or Boreallsd Formula Computational frame carries out streaming computing to the log generated in log services cluster 1061.
Object sub-module stored 1063, log that treated for storing log and the first data service cluster 1062.
Cohesion object sub-module stored 1063 in game data analysis module, the storage for the log that can increase that treated with The speed of reading improves log read-write efficiency.In a kind of possible embodiment of the embodiment of the present invention, object sub-module stored It can be replaced by database, to save hardware cost.
Second data service cluster 1064, for being carried out at batch to the data stored in object sub-module stored 1063 Reason.
Relational database 1065, for arranging the second data service cluster 1064 treated data, to generate database Table.
Relational database 1065 can be one of databases such as SQL Server, Oracle or Sybase.Relationship number The data after second data service cluster batch processing are stored as database table, every number in table form according to library 1065 Indicate that one or more data class, row indicate a unique data entity according to the column in the table of library.Such as certain row indicates User 1, and each arrange corresponding with the row accordingly respectively indicates the letters such as login time, downtime and the role equipment of user 1 Breath.Data are saved using relational database, extensive data type is convenient, while facilitating the inquiry of data.
Cohesion relational database in game data analysis module, the storage for the log that can increase that treated and the speed read Degree;In a kind of possible embodiment of the embodiment of the present invention, relational database can be replaced by database, with save hardware at This.
Column database 1066, for arranging treated the log of the first data service cluster, to generate column data.
Column database 1066 with column associated storage framework by the first data service cluster 1062 treated log storage at Column data.Column database can adapt to high IO, be adapted to parallel processing and the immediate inquiring of mass data.
Cohesion column database 1066 in game data analysis module, the storage of the log that can increase that treated with read Speed;In a kind of possible embodiment of the embodiment of the present invention, column database can be replaced by database, with save hardware at This.
In embodiments of the present invention, data logging is carried out by the first data service cluster and the second data service cluster Processing, and store into relational database and column database, operation maintenance personnel can be read from relational database and column database The relevant data of network architecture operation facilitate analysis and generate operation report.
Optionally, game data analysis module can also include:
4th cache sub-module 1067, for caching treated the log of the first data service cluster 1062.
By the log buffer after 1062 streaming computing of the first data service cluster in the 4th cache sub-module 1067, columns According to the first data service of reading cluster 1062 in library 1066, treated that log speed is fast, and reading efficiency is high.
Optionally, game data analysis module can also include:
Monitoring alarm submodule 1068, for obtaining treated the log of the first data service cluster 1062, in the first number According to service cluster 1062 treated log deposits when abnormal, send the abnormal warning information of mark.
Monitoring alarm submodule 1068 detects treated the log of the first data service cluster 1062, and according to preset peace Full rule judges in log with the presence or absence of exception information, and if it exists, then sends the warning information for identifying the exception.For in log Various data, corresponding safety regulation can be preset, for example, default safety regulation may include: in period N, for Game services modules A, exited in preset time (such as 0.5 hour) extremely client (the not sent exit instruction of client, it is directly disconnected Open and be considered as abnormal exit with the connection of game services module) total quantity should be less than M (such as 200), then when the data in log Statistic when being more than M, then it is assumed that exception has occurred;Correspondingly, warning information can in period N, game services modules A Exception exits client terminal quantity more than early warning.Monitoring alarm submodule sends a warning message, facilitate warning information subscriber and The running exception of the Shi Faxian network architecture, it is convenient to make corresponding adjustment to abnormal in time.
Optionally, the network architecture of the embodiment of the present invention can also include:
Service module is updated, for sending more new data to client to be updated.
It updates server and obtains the update request sent by client, include the current version of client in update request Number, it updates service module and corresponding more new data is configured according to the current version number for updating client in request, and asked to update Corresponding client is asked to send the more new data.
In embodiments of the present invention, the update of client is realized by updating service module, guarantees that client can receive To newest service, user experience is improved.
Optionally, service module is updated, may include:
Object stores source station, for storing and distributing the more new data needed for client to be updated updates.
More new data needed for storing client upgrading in object storage source station, when object storage source station receives CDN After the update request sent by client of (Content Delivery Network, content distributing network) transmission, object is deposited More new data corresponding with the current version number of client in request is updated is integrated out at source of bank savings station, is sent by CDN to client More new data.
Content distributing network CDN, for completing the update data interaction between each client and object storage source station.
CDN can in real time according to the connection load state of network flow and each node and to the distance and response of user when Between etc. information, the more new data of client is imported on the service node nearest from client, so as to accelerate client The speed of more new data is downloaded, user experience is improved.
In embodiments of the present invention, source station and CDN are stored by object, realizes the quick update of client, improve user Experience.
Optionally, the network architecture for online game in the embodiment of the present invention can also include:
Safety protection module will be accorded with for filtering by the incoming invalid data request for not meeting default safety regulation of outer net The valid data request for closing default safety regulation is sent to access server and/or supplements server with money, wherein valid data request Including access request and/or charging request.
In embodiments of the present invention, it is filtered by the data that safety protection module is passed to outer net, enhances network The security performance of framework.
Optionally, referring to Fig. 3, safety protection module, comprising:
Firewall 1071 obtains the designated identification of the incoming data of outer net, is referring to for receiving the data being passed to by outer net When calibration knowledge meets default filtering rule, the data for allowing outer net incoming pass through, and do not meet default filtering rule in designated identification When, the data for forbidding outer net incoming pass through.
Firewall 1071 in the embodiment of the present invention includes hardware firewall, Packet Filtering type, Circuit Gateway and answers With one of grade gateway or multiple types, the data for only designated identification being allowed to meet default filtering rule pass through.Designated identification Including source IP (Internet Protocol, network protocol) address of data packet, source port number, purpose IP address, mesh Port numbers, service type (such as HTTP (Hyper Text Transfer Protocol, hypertext transfer protocol) or FTP (File Transfer Protocol, text transfer protocol)), communication protocol, TTL (Time To Live, life span) value, One of attributes such as the domain name or network segment in source are a variety of.Default filtering rule is meet the embodiment of the present invention any Rule, such as designated identification is only allowed to be that the data of specified source network segment pass through, or designated identification is only allowed to be specified source terminal The data of slogan pass through.
In embodiments of the present invention, invalid data is filtered by firewall 1071, ensure that the safety of the network architecture.
Optionally, above-mentioned safety protection module, may also include that
Ddos (Distributed denial of service attack, distributed denial of service attack) protects submodule Block 1072, in current transmission control protocol TCP (Transmission Control Protocol, transmission control protocol) When connection request is more than default flood control threshold value, synchronous (use when ICP/IP protocol establishes connection opened simultaneously is limited Handshake) half-connection number and shorten synchronous half-connection time out (time-out) time.
Default flood control threshold value is to meet any threshold of the embodiment of the present invention, according to the actual treatment energy of gaming network framework Power is set, and is such as set as 50 or bigger, 200 or bigger, 500 or bigger etc..
In embodiments of the present invention, it protects submodule 1072 to defend Ddos by Ddos, ensure that the safety of the network architecture.
Optionally, safety protection module can also include:
High anti-IP protects submodule 1073, for when by distributed denial of service attack, attack traffic to be drained.
When by big flow distributed denial of service attack, Gao Fang IP protects submodule 1073 by the distribution of big flow Formula limit absolutely service attack setting recipient be bypass in cleaning equipment address, i.e., attack traffic is drained into bypass In cleaning equipment, and the legal data after cleaning equipment cleaning are received, the original that legal data are sent to the data is specified IP address.Guarantee that, in the case where attacking by Ddos, the network architecture can still work normally.
Optionally, it supplements server 1012 with money, may include:
Supplement service cluster with money, including it is multiple supplement virtual machine with money, supplement virtual machine with money for handling the service of supplementing with money of each client.
First Load Balance Unit, for obtaining the current load for respectively supplementing virtual machine with money, and according to respectively supplementing virtual machine with money Current load distributes charging request respectively to supplement virtual machine with money.
First load balancing module according to the current load of virtual machine is respectively supplemented with money, choose load it is the smallest supplement with money virtual machine or Load is less than default load value (default load value is any number for meeting the embodiment of the present invention, such as 60%, 50%, 40% etc.) Supplement virtual machine with money to handle charging request, handle charging request supplements virtual machine with money in the second cache sub-module or database The record of supplementing with money for requesting the client supplemented with money in charging request is read, and sends the link of payment platform to client, to establish The communication connection of client and payment platform is supplemented virtual machine with money and is obtained by propping up after client completes payment by payment platform The payment successful information that platform is sent is paid, supplements the corresponding amount of money with money in the corresponding user account of Xiang Zhifu successful information, and will fill The related data generated during value is saved in the second cache sub-module.
In embodiments of the present invention, the first Load Balance Unit is completed respectively to supplement the load balancing between virtual machine with money, prevents list It is a to supplement virtual machine overload with money, it supplements service cluster with money and is disposed by the way of cluster, each independently working between supplementing virtual machine with money, individually It supplements virtual machine with money extremely and will not influence other and supplement Virtual Machine Worker with money, redundancy ability is strong.
Optionally, access service 1011 may include:
Gateway service cluster, including multiple net virtual machines, net virtual machine are used to handle the access service of client.
Second Load Balance Unit, for obtaining the current load of each net virtual machine, and according to each net virtual machine Current load distributes access request for each net virtual machine.
The load current according to each net virtual machine of second load balancing module, choose load the smallest net virtual machine or Load is less than default load value (default load value is any number for meeting the embodiment of the present invention, such as 60%, 50%, 40% etc.) Net virtual machine handle access request, handle the net virtual machine of access request in the first cache sub-module or database The relevant data of access request are read, to determine whether the access request meets preset entry rules.Specifically, access request In comprising request log in the mark of game services module, the account of user and password.Meet in the access request of user default Entry rules when, when passing through verifying such as the account and password of user.Net virtual machine is to the corresponding game services of access request Connection instruction is built in the central server transmission of module, and will be handled the related data generated during access request and be saved in first and delay It deposits in submodule.
In embodiments of the present invention, the second Load Balance Unit completes the load balancing between each net virtual machine, prevents list A net virtual machine overload, gateway service cluster are disposed by the way of cluster, independently working between each net virtual machine, individually Net virtual machine will not influence the work of other net virtual machines extremely, and redundancy ability is strong.
Optionally, referring to fig. 4, the second global service module 103 includes: chatting service cluster 1031, seniority among brothers and sisters service cluster 1032, good friend's service cluster 1033, store service cluster 1034 and mail service cluster 1035.
Optionally, the second global service module 103 includes more physical machines.
Second global service module includes more physical machines, each interior net interconnecting of physical machine, independently working, separate unit physics Machine does not influence the normal work of other physical machines extremely, and redundancy ability is strong.
Optionally, every physical machine in the second global service module includes at least chatting service cluster 1031, seniority among brothers and sisters clothes A cluster being engaged in cluster 1032, good friend's service cluster 1033, store service cluster 1034 and mail service cluster 1035, In,
Chatting service cluster 1031 is advised for obtaining the chat data for having accessed client transmission according to preset chat Then, chatting operation corresponding with chat data is executed.
Chat communication between client is completed by chatting service cluster 1031, comprising multiple in chatting service cluster Chat virtual machine.Chat data includes chat content, the mark of sender and the mark of recipient.Preset chat rule is symbol Any regular for closing the embodiment of the present invention can be completed chat content being sent to recipient according to preset chat rule.Example Such as, when customer end A and customer end B are chatted, customer end A sends chat data to chat virtual machine, which receives To after chat data, according to the mark (mark of customer end B, such as the role of customer end B login account of recipient in chat data Title) to customer end B send chat content.Chatting service cluster is disposed by way of cluster, and (chat is virtual for individual node Machine) it breaks down, the normal work of chatting service cluster is not influenced, and redundancy ability is strong.
Optionally, chatting service cluster 1031 is also used to obtain the chat data sent by central server 1021, according to Preset chat rule, executes chatting operation corresponding with chat data.
For example, when the game server client all into certain GameChannel or scene of game in center sends bulletin, Center game server sends advertisement data to chat virtual machine, and virtual machine of chatting is according to GameChannel in advertisement data or game The mark of scene sends advertisement data to corresponding GameChannel or scene of game.Chatting service cluster is by way of cluster Deployment, individual node (chat virtual machine) break down, and do not influence the normal work of chatting service cluster, redundancy ability is strong.
Service cluster 1032 is ranked, for obtaining the specified data in central server 1021, and according to preset displaying Rule shows specified data to client has been accessed.
Ranking service cluster 1032 includes multiple seniority among brothers and sisters virtual machines, and seniority among brothers and sisters virtual machine is used to obtain the specified of central server Data, specified data are freely set according to the actual situation, such as user's fighting capacity seniority among brothers and sisters in specified GameChannel or scene of game The role of TOP V or user's game money rank the user etc. of the first seven, and preset displaying rule is to meet the embodiment of the present invention Any regular, such as by specified GameChannel or scene of game user's fighting capacity seniority among brothers and sisters TOP V role in the game It is shown in each client in channel or scene of game.Seniority among brothers and sisters service cluster is disposed by way of cluster, individual node (seniority among brothers and sisters virtual machine) breaks down, and does not influence the normal work for ranking service cluster, and redundancy ability is strong.
Good friend's service cluster 1033 is advised for obtaining the good friend's data for having accessed client transmission according to preset good friend Then, good friend's operation corresponding with good friend's data is executed.
Good friend's service cluster 1033 includes multiple good friend's virtual machines, and good friend's virtual machine has accessed client transmission for obtaining Good friend's data, good friend's data are the arbitrary data for meeting the embodiment of the present invention, such as establish the request of good friend, check good friend's game The request etc. of data executes good friend's operation corresponding with good friend's data according to preset good friend's rule.Preset good friend's rule For any regular for meeting the embodiment of the present invention, for example, good friend's virtual machine obtains user A (user's for having accessed customer end A) The request for establishing good friend sends to target user according to the mark of target user in the request for establishing good friend and establishes asking for good friend It asks, after target user agrees to, establishes the friend relation of user A and target user.Good friend's service cluster is by way of cluster Deployment, individual node (good friend's virtual machine) break down, and do not influence the normal work of good friend's service cluster, redundancy ability is strong.
Store service cluster 1034 is advised for obtaining the store data for having accessed client transmission according to preset store Then, store operation corresponding with store data is executed.
Store service cluster 1034 includes multiple store virtual machines, and store virtual machine is for receiving by having accessed client hair The store data sent, store data are the arbitrary data for meeting the embodiment of the present invention, such as merchandise display is requested, consumer requests, And according to preset store rule, store operation corresponding with store data is executed.Preset store rule is to meet the present invention Any regular of embodiment, such as user A send consumer requests, the store road of identity user A request purchase in the consumer requests Has A, then store virtual machine reads the relevant information of account balance of user A from database, and therefrom deducts and store stage property A Corresponding rate, while the service of store stage property A is provided to user A.Store service cluster is disposed by way of cluster, individually Node (store virtual machine) breaks down, and does not influence the normal work of store service cluster, redundancy ability is strong.
Mail service cluster 1035 is advised for obtaining the mail data for having accessed client transmission according to preset mail Then, mail action corresponding with mail data is executed.
Mail service cluster 1035 includes multiple mail virtual machines, and mail data includes the text for swimming mail, addressee's Mark, the mark of sender can also include the game articles sent and game money etc..Preset Mail rule is to meet this hair Any regular of bright embodiment, such as mail virtual machine receive the mail data sent by user A, receive according in the mail data The mark of part people sends the mail data to corresponding addressee.Mail service cluster is disposed by way of cluster, single to save Point (mail virtual machine) breaks down, and does not influence the normal work of mail service cluster, redundancy ability is strong.
In embodiments of the present invention, every physical machine in the second global service module include at least chatting service cluster, Rank a cluster in service cluster, good friend's service cluster, store service cluster and mail service cluster, chatting service collection The mode that group, seniority among brothers and sisters service cluster, good friend's service cluster, store service cluster and mail service cluster are all made of cluster is disposed, When a physical machine or virtual machine break down, the overall operation of the second global service module will not influence, redundancy ability is strong.
Optionally, every group of scene in the network architecture of the embodiment of the present invention, in the above-mentioned scene server 1022 of multiple groups Server is located in different physical machines.
Each scene server in game services module, is each located in different physical machines, a physical machine failure When, it will not influence the scene server in other physical machines, it is ensured that game services module integrally can be used, and disaster tolerance is strong.
Fig. 5 is that the schematic diagram of data is written into caching and database for the cloud host of the embodiment of the present invention.
In the network architecture of the embodiment of the present invention, in order to solve large-scale consumer while online to server bring pressure Power adjusts game structure, using cloud host+caching+database game structure, to replace the game structure of single cloud host. Cloud host is the physical machine that each module operation is carried in the network architecture.All cloud hosts are all made of solid state hard disk, to improve data Read or write speed and processing capacity to data.
Each module in the network architecture relies on the operation of cloud host, i.e. physics cloud host supports virtual machine operation, each virtual The function of each module in the network architecture is executed when machine is run.Cloud host can customize backup strategy, and each virtual machine uses mirror image Booting, whens virtual machine crashes, can be restored rapidly by image starting, and enable resilient ip switching, when application layer breaks down When, by switching IP, realize that the communication of switch failure application into other application, realizes minute level restoration.
Caching includes: the first cache sub-module, the second cache sub-module, third cache sub-module and the 4th caching submodule Block.Generated data storage is into caching and database when running the network architecture for cloud host, as where supplementing server with money Cloud host stores the relevant data of supplementing with money of client into the second cache sub-module and database or where access server Cloud host the login time of client is stored to the cloud into the first cache sub-module and database or where central server The related data storage for the game money that host obtains the role of user is medium to third cache sub-module and database.Caching and After database is respectively completed storage, storage successful information respectively is returned to cloud host.
Optionally, the caching in the embodiment of the present invention can use KCS (Kingsoft Cache Service, Kingsoft cloud Buffer service) framework, the cache structures such as Redis framework or memCached framework.KCS framework can be suitable for performance requirement compared with High scene supports the application of I/O intensive type and compute-intensive applications.Redis framework has function abundant and outstanding property Can, support complex data structures and persistent storage.MemCached framework is suitable for simple data framework, does not support persistently Change storage, but there is lower cost.
Optionally, using EBS, (Elastic Block Store, elastomer block are deposited in the database in the embodiment of the present invention Storage) storing data, the storage volume that uses can be realized thermophoresis, the migration of fast quickly cooling of data using EBS when virtual machine is run, When bottom failure occurs, it can be achieved that second level restoration.
Referring to Fig. 6, Fig. 6 is that the cloud host of the embodiment of the present invention reads the schematic diagram of data from caching or database.
When needing to read data, cloud host reads data from caching first, is read if not including cloud host in caching The data taken, then cloud host reads data from database.
Optionally, in the network architecture in embodiments of the present invention, database uses RDS (Relational Database Service, relevant database service) framework.
The example master of creation and example slave can be assigned to by difference using the database of RDS framework referring to Fig. 7 Physics host on, can be avoided single-point risk, and in example master failure, being switched to example slave can be 5 It is completed in second, resume speed is fast, and redundancy ability is strong.Database creates read-only example, and read requests are shared on read-only node, It realizes read and write abruption, can reduce the reading pressure of database, database is avoided to overload, enhance redundancy ability.Case-based Reasoning Preset time point in master creates temporal instance, preset time point pair in the data and example master in temporal instance After the data answered are fully synchronized, the IP address of example master is tied in temporal instance, realizes that any time point data is extensive It is multiple, enhance redundancy ability.Using RDS database, database performance can be greatly improved, reduction manages and maintains cost.
Referring to Fig. 8, in a kind of possible embodiment of the embodiment of the present invention, the caching and database in the network architecture are equal Using client/server, i.e. data are divided to master and slave two copies to be saved in different hosts;Cluster mode can also be used, i.e., will Data are divided into multiple data slots, are saved in different hosts respectively;The side of cluster mode can also be added using client/server Data are saved as two copies, each copy are divided into multiple data slots, is saved in different hosts respectively by formula, and The same data slot of two copies of same data is stored in different hosts.
In embodiments of the present invention, using cloud host+caching+database game structure, to replace single cloud host Game structure reduces the load pressure of game server, enhances the disaster tolerance and processing capacity of the network architecture.Cloud host can customize Backup strategy, caching saves double data and caching supports the persistence of data to save, and database saves double data, provides Binlog downloading, ensure that the high reliability of data.
Referring to Fig. 9, in a kind of possible embodiment of the embodiment of the present invention, each first global server, each game garment Business module and each second global service module are arranged in different AZ (Available Zone, available area), and each AZ passes through TC In access point and outer net interconnecting, TC (Transit Center, switching centre) is for safeguarding outer net and the data exchange of AZ, AZ Between pass through interior net interconnecting, it is not necessary to by the forwarding of TC, communication efficiency is high between AZ, improves user and accesses experience.High speed between computer room Across the computer room deployment framework of consolidated network game may be implemented in transmission network, and data are active and standby across computer room.It is self-service to open dress system, in north Computer room is arranged in the main cities such as capital, Shanghai, and game server is deployed in different computer rooms, and game player can access neighbour nearby The game server of nearly computer room, meets the needs of game player accesses nearby,
The line attachment of TC uses Redundancy Design, and the access point in TC passes through multi-thread BGP (Border Gateway Protocol, Border Gateway Protocol) network and outer net interconnecting.Outer net is that telecommunications, connection, movement, roc doctor, Tie Tong, century are mutual Connection, education network, upright broadband, Hangzhou China number, OCN (Oriental Cable Network, east are wired) and other operators At least two in network, realize the covering of multi-operator route.Point of presence works as outer net by multi-thread bgp network and outer net interconnecting In a certain carrier network when breaking down, by adjust the routing table in router realize it is trans-regional and cross operator logical Letter improves user experience to guarantee the normal game of client.
Referring to Figure 10, Figure 10 is another schematic diagram of the network architecture of the embodiment of the present invention, comprising:
Safety protection module 104, the first global service module 101, database 105, game services module 102, second is complete Office's service module 103, game data analysis module 106 update service module 107.Wherein, safety protection module 104 includes anti- Wall with flues, Ddos protection submodule and high anti-IP protect submodule (not shown);First global service module 101 includes access Server 1011, the first cache sub-module 1013 supplement server 1012 and the second cache sub-module 1014 with money;Game services module 102 include central server 1021, third cache sub-module 1023 and multiple scene servers 1022;Second global service mould Block 103 includes chatting service cluster, seniority among brothers and sisters service cluster, good friend's service cluster, store service cluster and mail service cluster (figure In be not shown);Game data analysis module 106 includes log services cluster, the first data service cluster, the 4th caching submodule Block, monitoring alarm submodule, object sub-module stored, the second data service cluster, relational database and column database are (in figure not It shows);Updating service module 107 includes that CDN1071 and object store source station 1072.
Each module in the network architecture relies on the operation of cloud host, i.e. physics cloud host supports virtual machine running, each virtual The work of each module in the network architecture is executed when machine operates, cloud host is game-specific cloud host, and each cluster is all made of game Dedicated cluster carries between the cloud host of disparate modules through VPC (Virtual Private Cloud, virtual private cloud) Intranet Intercommunication, physical environment is high-quality, and performance is strong, and the exclusive cluster stability of game is high, and redundancy ability is strong, can satisfy all types of game industry The demand for scene of being engaged in.All cloud hosts are all made of solid state hard disk, to improve IO ability and data-handling capacity, and support double netcard To enhance redundancy ability.Each virtual machine is switched on using mirror image, and whens virtual machine crashes can be restored rapidly by image starting, and be opened Switched with resilient ip, when application layer breaks down, by switching IP, the communication that realization switch failure is applied to other application In, realize minute level restoration.
Safety protection module 104 is used to filter by the incoming invalid data for not meeting default safety regulation of outer net, will meet The valid data of default safety regulation is sent to access server 1011 and/or supplements server 1012 with money, wherein meets default peace The data of full rule include access request and/or charging request.Specifically, firewall, for receiving the data being passed to by outer net, The designated identification for obtaining the incoming data of outer net, when designated identification meets default filtering rule, the incoming data of permission outer net Pass through, when designated identification does not meet default filtering rule, the data for forbidding outer net incoming pass through;Ddos protects submodule, uses In when the request of current transmission control protocol TCP connection is more than default flood control threshold value, the synchronous half opened simultaneously is limited Linking number and the time out time for shortening synchronous half-connection;High anti-IP protects submodule, for being flowed greatly When the distributed denial of service attack of amount, attack traffic is drained.
Firewall, Ddos protection submodule and high anti-IP in safety protection module 104 protect submodule, can filter out Invalid data safeguards the safety of the network architecture, guarantees the normal operation of the network architecture.
First global game server 101 is used to handle the access request and charging request of client.Specifically, access clothes Business device 1011 is used to receive the valid data (being herein specially access request) sent by safety protection module 104, in legal number When according to meeting preset entry rules, send what the client for identifying and allowing to send valid data logged in central server 1021 Build Lian Zhiling;First cache sub-module 1013 is used to cache related data when access server operation;Supplement server 1012 with money For receiving the valid data sent by safety protection module 104 (being herein specially charging request), rule are supplemented with money by preset Then, operation is supplemented in the client completion that guidance sends valid data with money;Second cache sub-module 1014 supplements server with money for caching Related data when operation.
Access server 1011 includes the second Load Balance Unit and gateway service cluster (not shown), the service of supplementing with money Device 1012 is including the first Load Balance Unit and supplements service cluster (not shown) with money.First Load Balance Unit, for obtaining The current load for respectively supplementing virtual machine with money is taken, and according to the current load of virtual machine is respectively supplemented with money, is filled respectively to supplement virtual machine distribution with money Value request;Supplement service cluster with money, including it is multiple supplement virtual machine with money, supplement virtual machine with money for handling the service of supplementing with money of each client. Second Load Balance Unit is born for obtaining the current load of each net virtual machine, and according to each net virtual machine is current It carries, distributes access request for each net virtual machine;Gateway service cluster, including multiple net virtual machines, net virtual machine are used for Handle the access service of client.
It access server 1011 and supplements server more than 1012 deployment with money, arranges that multiple accesses take in different physical machines It is engaged in device 1011 and multiple value servers 1012, eliminates the distributed deployment scheme of single-point, using the resilient expansion characteristic of cloud host, Realize rapid deployment and the elasticity dilatation of each module, while configuration load equilibrium carries out flow and shares, and prevents local nodes (gateway The node of service cluster/supplement with money in service cluster) overload, improves overall data-handling capacity, in access server 1011 Gateway service cluster reads data from the first cache module 1013, supplements gateway service cluster in server 1012 with money from second Data are read in cache module 1014, data reading speed is fast, data processing it is high-efficient.
Game services module 102 is for the overall operation for controlling online game, specifically, central server 1021 is for connecing It receives and builds Lian Zhiling by what access server 1011 was sent, the client to identify in the company's of building instruction configures corresponding scene server 1022, establish and the company's of building instruction in the communication connection of client that identifies;Third cache sub-module 1023 is for genuinely convinced in caching Related data when business device operation;Multiple groups scene server 1022 is for generating and safeguarding preset scene of game.
Game services module more than 102 deployment, arrange multiple game services modules 102 in different physical machines, eliminate The distributed deployment scheme of single-point, each scene server 1022 are located in different physical machines, are expanded using the elasticity of cloud host Characteristic is opened up, realizes rapid deployment and the elasticity dilatation of each module, while configuration load equilibrium carries out flow and shares, and enhances disaster tolerance Energy.Game services module 102 binds elastic IP address, in some game services 102 failure of module, unbinds the failure game garment The elastic IP address for module 102 of being engaged in, is tied in the game services module of advance reservation, realizes the fast quick-recovery of failure.Center Server 1021 reads data from third cache sub-module 1023 first, makes full use of caching, and data reading speed is fast, reduces The reading pressure of database 105.
Second global service module 103 is for obtaining the game interaction number for having accessed client and central server 1021 According to executing operation corresponding with game interaction data according to preset game rule, wherein having accessed client is and center Server 1021 establishes the client of communication connection.Specifically, chatting service cluster, has accessed client transmission for obtaining Chat data executes chatting operation corresponding with chat data according to preset chat rule;Service cluster is ranked, for obtaining The specified data in central server are taken, and according to preset displaying rule, show specified data to client has been accessed;Good friend Service cluster, according to preset good friend's rule, executes and good friend's data for obtaining the good friend's data for having accessed client transmission Corresponding good friend's operation;Store service cluster, for obtaining the store data for having accessed client transmission, according to preset store Rule executes store operation corresponding with store data;Mail service cluster, for obtaining the mail for having accessed client transmission Data execute mail action corresponding with mail data according to preset Mail rule.
Second global service module 103, which obtains, has accessed the game interaction data of client, according to preset game rule, Operation corresponding with game interaction data is executed, game services module 102 can be reduced in the case where not influencing game rate Load.And it is communicated between the second global service module 103 and client, data need not pass through safety protection module 104 Filtering again, greatly improve game rate, user experience is good.
Database 105 is used to store related data when network architecture operation, wherein the dependency number when network architecture is run According to include: access server operation when related data, supplement with money server operation when related data and central server operation When related data.Related data when access server is run can be the login time of user account, request the trip logged in Play channel etc..The amount of money that related data when supplementing server operation with money can supplement with money for user account, user account supplement with money when Between, mode etc. that user account is supplemented with money.Related data when central server is run can be locating for the role of user account Scene, the role of user account game articles obtained, the grade etc. of the role of user account.Specifically, database 105 is adopted The example master of creation can be assigned on different physics hosts from example slave with the database of RDS framework, it can Single-point risk is avoided, and in example master failure, being switched to example slave can complete in 5 seconds, resume speed Fastly, redundancy ability is strong.Database creates read-only example, and read requests are shared on read-only node, realizes read and write abruption, can The reading pressure for mitigating database, avoids database from overloading, and enhances redundancy ability.Preset time point in Case-based Reasoning master, Temporal instance is created, after the data data corresponding with preset time point in example master in temporal instance are fully synchronized, The IP address of example master is tied in temporal instance, realizes that any time point data is restored, enhances redundancy ability.
Using EBS (Elastic Block Store, elastomer block storage) storing data, virtual machine operation in RDS database When the storage volume that uses using EBS, can be realized thermophoresis, the migration of fast quickly cooling of data, when bottom failure occurs, it can be achieved that Second level restoration.In the management process, the management of RDS database can be realized by RDS console, RDS console provides more Kind database resource monitored item is realized the management of RDS database by these monitoring resource items, such as obtained in monitoring resource item Current total connection number, realizes the connection management of RDS database;Or obtain the average reading per second of the buffer pool of RDS database Data volume and the data volume of average write-in per second, to realize the IO management of RDS database Buffer Pool;Or it obtains in RDS database The utilization rate of each CPU, to realize the management of RDS database CPU.Using RDS database, database performance can be greatly improved, Reduction manages and maintains cost.
Service module 107 is updated to be used to send more new data to client to be updated.Specifically, CDN1071, has been used for At the update data interaction between each client and object storage source station.Object stores source station 1072, for storing and distributing to more New client updates required more new data.
CDN can implement according to the connection load state of network flow and each node and to the distance and response of user when Between etc. information, the more new data of client is imported on the service node nearest from client, so as to accelerate client The speed of more new data is downloaded, user experience is improved, the update of client is realized by updating service module, guarantees client energy Newest service is enough received, user experience is improved.
It is generated when game data analysis module 106 is for obtaining the first global service module and the operation of game services module Data, and while running to the first global service module and game services module data generated are analyzed and are arranged.Tool Body, log services cluster, data generated when for obtaining the first global service module and the operation of game services module, and Generate log;First data service cluster, for carrying out streaming computing to log;Object sub-module stored, for storing log And first data service cluster treated the log;Second data service cluster, for storing in object sub-module stored Data carry out batch processing;Monitoring alarm submodule, for obtaining treated the log of the first data service cluster, in the first number According to service cluster treated log deposits when abnormal, send the abnormal warning information of mark;4th cache sub-module, for delaying Deposit the first data service cluster treated log;Relational database, for arrange the second data service cluster treated number According to generate database table;Column database, for arranging treated the log of the first data service cluster, to generate columns According to.
Game data analysis module 106 is a kind of cluster trusteeship service based on Computational frames such as Hadoop, Spark, is led to The storage that Hadoop cluster realizes the data files such as log is crossed, the quick processing of data is realized by batch processing, and will processing Data afterwards are imported into relational database, and (Business Intelligence Software, business intelligence are soft with BI software Part) it is implemented in combination with the visualization presentation of data analysis result.
Monitoring alarm submodule in game data analysis module 106 cooperates external monitoring systems, can be realized network rack The game state of structure monitors entirely.The warning strategies and alarm mode of monitoring alarm submodule can be set according to the actual situation It is fixed.Such as it when monitoring alarm submodule detects the log missing of any game services module, then sends and identifies the game garment The alarm for module exception of being engaged in;When monitoring alarm submodule detects the account balance of certain user in log, with the consumption of game store When not being inconsistent, the alarm for identifying the user account remaining sum exception is sent;When monitoring alarm submodule detect it is genuinely convinced in certain in log When business device repeatedly reads same data in for a period of time from database, sends and identify the corresponding third caching of the central server The alarm of submodule exception.
Caching includes: the first cache sub-module, the second cache sub-module, third cache sub-module and the 4th caching submodule Block.Caching combination KCS (Kingsoft Cache Service) framework in the embodiment of the present invention, Redis framework and The advantages of memCached framework.Using KCS framework, the application of I/O intensive type and compute-intensive applications are supported.Using Redis frame Structure supports complex data structures and persistent storage.The number of persistent storage is not needed simply by the storage of memCached framework According to reduce caching cost.Each example is divided equally two parts and is stored using master and slave binode in caching, and two parts of data can It is switched fast, Single Point of Faliure is avoided to cause service disruption, there is high availability.By Redis framework, using memory+hard disk Storage mode meets data persistence demand while providing high-speed data read-write, and all data are on master and slave node Double copies are carried out, there is high reliability.Caching provides self-built Redis migration scheme, easy to use.Caching uses distributed side Formula distributes data across in more physical machines, gets rid of the capacity and resource constraint of separate unit physical machine, and caches using cluster Mode is disposed, and effectively supports cache node dilatation, realizes one key dilatation of memory capacity, and cluster is not influenced in dilation process Normal operation, support on-line rapid estimation continual service, realize resize do not withdraw.
The network architecture in the embodiment of the present invention, automates mechanism using O&M, manages resource, network rack by game item Each module automatic running in structure, it is not necessary to manual intervention;By the virtual machine added in cloud host, each cluster is configured, is realized automatic Change deployment, batch is disposed;Switched by client/server and resilient ip, can be realized failure and quickly handle, O&M is high-efficient;Control Platform operation, without etc. improve basic resource monitoring;Game data analysis module 106 cooperates external monitoring systems, can be realized net The game state of network framework monitors entirely, and cooperation BI software realization visualized data is shown, is realized by monitoring alarm submodule more Kind type of alarm formulates customized alarm strategy.Single game services module maximum supports 10000DAU (Daily Active User, day active users), 3000PCU (Peak Concurrent Users, highest simultaneously online player's number);All In One game takes cloud host, provides high calculating, high IO, high network processes, big memory;Redis, RDS platform product are directly used, Liberate database administrator deployment, maintenance work;Caching and database are using principal and subordinate's configuration, automatic switchover, backup;Have perfect Monitoring;The host delay machine of game services module, does not influence database, and game garment module Intranet connects RDS database, avoids data Library is deployed on public network cloud host;Game services module, caching, database are separately deployed on different hosts, and redundancy backup reaches To 99.995% High Availabitity;The active and standby High Availabitity deployment of game services module is realized active and standby automatic by switching elastic IP address Switching.
The embodiment of the invention provides a kind of data forwarding methods of online game, are applied to the network architecture, the network rack Structure includes safety protection module, the first global service module, database, game services module and the second global service module;The One global service module includes access server, the first cache sub-module, supplements server and the second cache sub-module with money;Game garment Module of being engaged in includes central server, third cache sub-module and multiple groups scene server;Referring to Figure 11, the data of the online game Retransmission method includes:
S1101, access server obtains access request, genuinely convinced in when access request meets preset entry rules Lian Zhiling is built in business device transmission, is logged in allowing to send the client of access request.
S1102 supplements server with money and obtains charging request, supplements rule with money according to preset, supplement with money to charging request application User account is supplemented with money.
S1103, central server, which is received, builds Lian Zhiling by what access server was sent, for the client identified in the company's of building instruction End configures corresponding scene server, establish and company of building instruct in the communication connection of client that identifies;Multiple groups scene server Generate and safeguard preset scene of game.
S1104, the second global service module obtain the game interaction data for having accessed client and central server, according to Preset game rule executes operation corresponding with game interaction data, wherein having accessed client is to build with central server The client of vertical communication connection.
In embodiments of the present invention, the access request and charging request of the first global service resume module user, second is complete Office's service module obtains the game interaction data for having accessed client and central server, completes corresponding operation, each module is matched Close work reduces the load of game services module (game server), prevents in the case where not influencing normal game speed Game services module is abnormal because of load too high, enhances redundancy ability.
It optionally, include supplementing service cluster and the first Load Balance Unit with money in above-mentioned server of supplementing with money, it is above-mentioned to supplement clothes with money It is engaged in cluster, including multiple when supplementing virtual machine with money;Above-mentioned server of supplementing with money receives charging request, supplements rule with money according to preset, right Supplementing with money for the user account that above-mentioned charging request application is supplemented with money may include:
Above-mentioned first Load Balance Unit obtains the current load for respectively supplementing virtual machine with money, and works as according to virtual machine is respectively supplemented with money Preceding load distributes charging request respectively to supplement virtual machine with money.Above-mentioned virtual machine of supplementing with money is for handling the service of supplementing with money of each client.
In embodiments of the present invention, the first Load Balance Unit is completed respectively to supplement the load balancing between virtual machine with money, prevents list It is a to supplement virtual machine overload with money, it supplements service cluster with money and is disposed by the way of cluster, each independently working between supplementing virtual machine with money, individually It supplements virtual machine with money extremely and will not influence other and supplement Virtual Machine Worker with money, redundancy ability is strong.
It optionally, include gateway service cluster and the second Load Balance Unit, above-mentioned gateway clothes in above-mentioned access server Business cluster, including when multiple net virtual machines;Above-mentioned access server receives access request, meets in above-mentioned access request default Entry rules when, Xiang Shangshu central server transmission build Lian Zhiling, may include:
Above-mentioned second Load Balance Unit obtains the current load of each net virtual machine, and is worked as according to each net virtual machine Preceding load distributes access request for each net virtual machine;Above-mentioned net virtual machine, above-mentioned net virtual machine are above-mentioned for handling The access service of client.
In embodiments of the present invention, the second Load Balance Unit completes the load balancing between each net virtual machine, prevents list A net virtual machine overload, gateway service cluster are disposed by the way of cluster, independently working between each net virtual machine, individually Net virtual machine will not influence the work of other net virtual machines extremely, and redundancy ability is strong.
Optionally, when above-mentioned online game framework further includes database, correspondingly, the above method can also include:
Related data when the above-mentioned above-mentioned online game framework of database purchase is run, wherein above-mentioned online game framework Related data when operation includes: related data, the above-mentioned phase supplemented with money when server is run when above-mentioned access server is run Close related data when data and the operation of above-mentioned central server.
In embodiments of the present invention, by database, related data when network architecture operation is stored, is above-mentioned network rack The normal operation of structure provides support.
Optionally, when above-mentioned first global service module further includes the first cache sub-module, the above method can also be wrapped It includes:
Above-mentioned first cache sub-module caches the related data when operation of above-mentioned access server.
In embodiments of the present invention, the related data that access server is run is saved in the first cache sub-module, is connect Enter server and read data from the first cache sub-module first, make full use of caching, data reading speed is fast, reduces database Reading pressure.
Optionally, when above-mentioned first global service module further includes the second cache sub-module, the above method can also be wrapped It includes:
Above-mentioned second cache sub-module caches the above-mentioned related data supplemented with money when server is run.
In embodiments of the present invention, the related data for supplementing server operation with money is saved in the second cache sub-module, is filled Value server reads data from the second cache sub-module first, makes full use of caching, and data reading speed is fast, reduces database Reading pressure.
Optionally, when above-mentioned game services module further includes third cache sub-module, the above method can also include:
Third cache sub-module caches the related data when operation of above-mentioned access server.
In embodiments of the present invention, the related data that central server 1 is run is saved in third cache sub-module, in Central server reads data from third cache sub-module first, makes full use of caching, and data reading speed is fast, reduces database Reading pressure.
Optionally, when the network architecture further includes game data analysis module, correspondingly, the above method can also include:
Game data analysis module obtains data generated when the first global service module and the operation of game services module, And data generated are analyzed and are arranged when running to the first global service module and game services module.
In embodiments of the present invention, game data analysis module is capable of handling the first global service module and game services mould Block mass data generated when running, cooperation database can be realized big data processing end to end.
It optionally, include log services cluster, the first data service cluster, object storage in game data analysis module When module, the second data service cluster, relational database and column database, correspondingly, game data analysis module obtains first Global service module and game services module data generated when running, and to the first global service module and game services mould Data generated are analyzed and are arranged when block is run, and may include:
Log services cluster obtains data generated when the first global service module and the operation of game services module, and raw At log;First data service cluster obtains the log that log services cluster generates, and carries out streaming computing to log;Object storage Submodule stores the log after log and the first data service cluster streaming computing;Second data service cluster obtains object storage The data that store in submodule simultaneously carry out batch processing;Relational database arranges the number after the second data service cluster batch processing According to generate database table;Column database arranges treated the log of the first data service cluster, to generate column data.
In embodiments of the present invention, data logging is carried out by the first data service cluster and the second data service cluster Processing, and store into relational database and column database, operation maintenance personnel can be read from relational database and column database The relevant data of network architecture operation facilitate analysis and generate operation report.
Optionally, when game data analysis module further includes four cache sub-module, correspondingly, game data analyzes mould Block obtains data generated when the first global service module and game services module are run, and to the first global service module and Data generated are analyzed and are arranged when game services module is run, and can also include:
4th cache sub-module caches the log after the first data service cluster streaming computing.
In embodiments of the present invention, the log buffer after the first data service cluster streaming computing is cached into submodule the 4th In block, treated that log speed is fast for the first data service of reading cluster of column database, and storage efficiency is high.
Optionally, when game data analysis module further includes monitoring alarm submodule, correspondingly, game data analyzes mould Block obtains data generated when the first global service module and game services module are run, and to the first global service module and Data generated are analyzed and are arranged when game services module is run, and can also include:
Monitoring alarm submodule obtains the log after the first data service cluster streaming computing, in the first data service cluster Log after streaming computing is deposited when abnormal, and the abnormal warning information of mark is sent.
In embodiments of the present invention, monitoring alarm submodule sends a warning message, and facilitates the subscriber of warning information timely It was found that the running exception of the network architecture, convenient to make corresponding adjustment to abnormal in time.
Optionally, when above-mentioned online game framework further includes safety protection module, correspondingly, the above method further include:
Above-mentioned safety protection module filtering is requested by the incoming invalid data for not meeting default safety regulation of outer net, will be met The valid data request of default safety regulation is sent to above-mentioned access server and/or above-mentioned supplements server with money, wherein above-mentioned conjunction Method request of data includes access request and/or charging request.
In embodiments of the present invention, it is filtered by the data that safety protection module is passed to outer net, enhances network The security performance of framework.
Optionally, when the network architecture further includes updating service module, correspondingly, the above method can also include:
It updates service module and updates client to be updated.
In embodiments of the present invention, the update of client is realized by updating service module, guarantees that client can receive To newest service, user experience is improved.
Optionally, service module is being updated, including when object storage source station and content distributing network CDN, more new demand servicing mould Block updates client to be updated, comprising:
The update sent by client request is transmitted to object storage source station by CDN;Object storage source station, which obtains to update, to be asked It asks, determines to update and request corresponding more new data, by CDN, send more new data to the client for updating request is sent.
In embodiments of the present invention, source station and CDN are stored by object, realizes the quick update of client, improve user Experience.
It optionally, include more physical machines in the second global service module, every physics in the second global service module Machine includes at least in chatting service cluster, seniority among brothers and sisters service cluster, good friend's service cluster, store service cluster and mail service cluster A cluster when, the second global service module, which obtains, has accessed the game interaction data of client and central server, according to Preset game rule executes operation corresponding with game interaction data, may include:
Chatting service cluster obtains the chat data for having accessed client transmission, according to preset chat rule, execute and The corresponding chatting operation of chat data;The specified data in service cluster acquisition central server are ranked, and according to preset exhibition Show rule, shows specified data to client has been accessed;Good friend's service cluster obtains the good friend's data for having accessed client transmission, According to preset good friend's rule, good friend's operation corresponding with good friend's data is executed;Service cluster acquisition in store has accessed client The store data of transmission execute store operation corresponding with store data according to preset store rule;Mail service cluster obtains The mail data for having accessed client transmission is taken, according to preset Mail rule, executes mail action corresponding with mail data.
In embodiments of the present invention, every physical machine in the second global service module include at least chatting service cluster, Rank a cluster in service cluster, good friend's service cluster, store service cluster and mail service cluster, chatting service collection The mode that group, seniority among brothers and sisters service cluster, good friend's service cluster, store service cluster and mail service cluster are all made of cluster is disposed, When a physical machine breaks down, the overall operation of the second global service module will not influence, redundancy ability is strong.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for method reality For applying example, since it is substantially similar to the embodiment of the network architecture, so being described relatively simple, related place is referring to network The part of the embodiment of framework illustrates.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (34)

1. a kind of network architecture for online game, which is characterized in that the network architecture includes:
First global service module, game services module and the second global service module;
The first global service module includes access server, supplements server with money;
The game services module includes central server and multiple groups scene server;Wherein,
The access server is for obtaining access request, when the access request meets preset entry rules, Xiang Suoshu Lian Zhiling is built in central server transmission, is logged in allowing to send the client of the access request;
The server of supplementing with money is supplemented rule with money according to preset, is supplemented with money to the charging request application for obtaining charging request User account supplement with money;
The central server for receive as the access server send described in build Lian Zhiling, marked for company of the building instruction The client of knowledge configures corresponding scene server, establishes the communication connection with the client of the company's of building command identification;
The multiple groups scene server is for generating and safeguarding preset scene of game;
The second global service module is pressed for obtaining the game interaction data for having accessed client and the central server According to preset game rule, execute operation corresponding with the game interaction data, wherein it is described accessed client for institute State the client that central server establishes communication connection.
2. the network architecture according to claim 1, which is characterized in that the network architecture further include:
Safety protection module will meet pre- for filtering by the incoming invalid data request for not meeting default safety regulation of outer net If the valid data request of safety regulation is sent to the access server and/or described supplements server with money, wherein described legal Request of data includes access request and/or charging request.
3. the network architecture according to claim 2, which is characterized in that the safety protection module, comprising:
Firewall obtains the designated identification of the incoming request of data of outer net, in institute for receiving the request of data being passed to by outer net When stating designated identification and meeting default filtering rule, the incoming request of data of Xiang Suoshu the first global service module forwards outer net, When the designated identification does not meet default filtering rule, the incoming request of data of outer net is deleted.
4. network architecture according to claim 3, which is characterized in that the safety protection module, further includes:
Distributed denial of service Ddos protects submodule, for being more than to set up defences in advance in the request of current transmission control protocol TCP connection When big vast threshold value, limits the synchronous half-connection number opened simultaneously and shorten the time out of synchronous half-connection Time.
5. network architecture according to claim 3 or 4, which is characterized in that the safety protection module, further includes:
High anti-IP protects submodule, will be outer when for detecting that the incoming request of data of outer net is distributed denial of service attack The attack traffic drainage of the incoming request of data of net.
6. the network architecture according to claim 1, which is characterized in that the network architecture further include:
Database, for storing related data when network architecture operation, wherein the correlation when network architecture is run Related data when data include: access server operation, the related data and described when supplementing server operation with money Related data when central server is run.
7. the network architecture according to claim 1, which is characterized in that the network architecture further include:
Game data analysis module, for obtaining the first global service module and game services module operation Shi Suosheng At data, and while running to the first global service module and game services module data generated are analyzed And it arranges.
8. the network architecture according to claim 7, which is characterized in that the game data analysis module, comprising:
Log services cluster, it is generated when for obtaining the first global service module and game services module operation Data, and generate log;
First data service cluster, for carrying out streaming computing to the log;
Object sub-module stored, log that treated for storing the log and the first data service cluster;
Second data service cluster, for carrying out batch processing to the data stored in the object sub-module stored;
Relational database, data that treated for arranging the second data service cluster, to generate database table;
Column database, log that treated for arranging the first data service cluster, to generate column data.
9. the network architecture according to claim 8, which is characterized in that the game data analysis module, further includes:
4th cache sub-module, log that treated for caching the first data service cluster.
10. the network architecture according to claim 8 or claim 9, which is characterized in that the game data analysis module, further includes:
Monitoring alarm submodule, log that treated for obtaining the first data service cluster, takes in first data Business cluster treated log deposits when abnormal, send and identify the abnormal warning information.
11. the network architecture according to claim 1, which is characterized in that the network architecture further include:
Service module is updated, for sending more new data to client to be updated.
12. the network architecture according to claim 11, which is characterized in that the update service module, comprising:
Object stores source station, for storing and distributing the more new data needed for the client to be updated updates;
Content distributing network CDN, for completing the update data interaction between each client and object storage source station.
13. the network architecture according to claim 1, which is characterized in that the first global service module, further includes:
First cache sub-module, for caching related data when access server operation.
14. according to claim 1 or the network architecture described in 13, which is characterized in that the first global service module is also wrapped It includes:
Second cache sub-module, for caching the related data supplemented with money when server is run.
15. the network architecture according to claim 1, which is characterized in that described to supplement server with money, comprising:
Supplement service cluster with money, including it is multiple supplement virtual machine with money, the virtual machine of supplementing with money is for handling the service of supplementing with money of each client;
First Load Balance Unit, for obtaining the current load for respectively supplementing virtual machine with money, and it is current according to virtual machine is respectively supplemented with money Load, for respectively supplement with money virtual machine distribute charging request.
16. the network architecture according to claim 1, which is characterized in that the access server, comprising:
Gateway service cluster, including multiple net virtual machines, the net virtual machine are used to handle the access clothes of the client Business;
Second Load Balance Unit, for obtaining the current load of each net virtual machine, and it is current according to each net virtual machine Load, for each net virtual machine distribute access request.
17. the network architecture according to claim 1, which is characterized in that the second global service module includes more objects Reason machine, every physical machine in the second global service module include at least chatting service cluster, seniority among brothers and sisters service cluster, good friend A cluster in service cluster, store service cluster and mail service cluster, wherein
The chatting service cluster is advised for obtaining the chat data for having accessed client transmission according to preset chat Then, chatting operation corresponding with the chat data is executed;
The seniority among brothers and sisters service cluster, for obtaining the specified data in the central server, and it is regular according to preset displaying, The specified data are shown to the client that accessed;
Good friend's service cluster is advised for obtaining the good friend's data for having accessed client transmission according to preset good friend Then, good friend's operation corresponding with good friend's data is executed;
The store service cluster is advised for obtaining the store data for having accessed client transmission according to preset store Then, store operation corresponding with the store data is executed;
The mail service cluster is advised for obtaining the mail data for having accessed client transmission according to preset mail Then, mail action corresponding with the mail data is executed.
18. the network architecture according to claim 1, which is characterized in that the game services module, further includes:
Third cache sub-module, for caching related data when central server operation.
19. the network architecture according to claim 1, which is characterized in that every group of scene in scene server described in multiple groups Server is located in different physical machines.
20. a kind of data forwarding method for online game, which is characterized in that be applied to the network architecture, the network architecture Including the first global service module, game services module and the second global service module;The first global service module includes Access server and supplement server with money;The game services module includes central server and multiple groups scene server;The side Method includes:
The access server obtains access request, when the access request meets preset entry rules, the center Xiang Suoshu Lian Zhiling is built in server transmission, is logged in allowing to send the client of the access request;
The server of supplementing with money obtains charging request, supplements rule with money according to preset, the use supplemented with money to the charging request application Family account is supplemented with money;
The central server receive as the access server send described in build Lian Zhiling, for company of building instruct in identify Client configure corresponding scene server, establish with company of building instruct in the communication connection of client that identifies;It is described Multiple groups scene server generates and safeguards preset scene of game;
The second global service module obtains the game interaction data for having accessed client and the central server, presses According to preset game rule, execute operation corresponding with the game interaction data, wherein it is described accessed client for institute State the client that central server establishes communication connection.
21. according to the method for claim 20, which is characterized in that in the network architecture further include safety protection module When, correspondingly, the method also includes:
The safety protection module filtering is requested by the incoming invalid data for not meeting default safety regulation of outer net, default by meeting The valid data request of safety regulation is sent to the access server and/or described supplements server with money, wherein the legal number It include access request and/or charging request according to request.
22. according to the method for claim 20, which is characterized in that when the network architecture further includes database, accordingly , the method also includes:
The related data when network architecture described in the database purchase is run, wherein the correlation when network architecture is run Related data when data include: access server operation, the related data and described when supplementing server operation with money Related data when central server is run.
23. according to the method for claim 20, which is characterized in that the network architecture further include game data analysis mould When block, correspondingly, the method also includes:
The game data analysis module obtains the first global service module and the game services module runs Shi Suosheng At data, and while running to the first global service module and game services module data generated are analyzed And it arranges.
24. according to the method for claim 23, which is characterized in that in the game data analysis module include log services When cluster, the first data service cluster, object sub-module stored, the second data service cluster, relational database and column database, Correspondingly, the game data analysis module obtains the first global service module and the game services module runs when institute The data of generation, and while running to the first global service module and game services module data generated are divided Analysis and arrangement, comprising:
The log services cluster obtains generated when the first global service module and game services module operation Data, and generate log;The first data service cluster obtains the log that the log services cluster generates, to the log Carry out streaming computing;After the object sub-module stored stores the log and the first data service cluster streaming computing Log;The second data service cluster obtains the data stored in the object sub-module stored and carries out batch processing;Institute It states relational database and arranges the data after the second data service cluster batch processing, to generate database table;The column Treated the log of first data service cluster described in database grooming, to generate column data.
25. according to the method for claim 24, which is characterized in that in the game data analysis module further include the 4th slow When depositing submodule, correspondingly, the game data analysis module obtains the first global service module and the game services Data generated when module is run, and while running to the first global service module and the game services module, is generated Data analyzed and arranged, further includes:
4th cache sub-module caches the log after the first data service cluster streaming computing.
26. the method according to claim 24 or 25, which is characterized in that the game data analysis module further include prison When charging alert submodule, correspondingly, the game data analysis module obtains the first global service module and the game Service module data generated when running, and when institute is run to the first global service module and the game services module The data of generation are analyzed and are arranged, further includes:
The monitoring alarm submodule obtains the log after the first data service cluster streaming computing, in first data Log after service cluster streaming computing is deposited when abnormal, is sent and is identified the abnormal warning information.
27. according to the method for claim 20, which is characterized in that the network architecture further include update service module When, correspondingly, the method also includes:
The update service module updates client to be updated.
28. according to the method for claim 27, which is characterized in that in the update service module, including object storage source It stands and when content distributing network CDN, correspondingly, the update service module updates client to be updated, comprising:
The update sent by client request is transmitted to the object and stores source station by the CDN;It obtains object storage source station It takes the update to request, determines that corresponding more new data is requested in the update, by the CDN, requested to the update is sent Client send the more new data.
29. according to the method for claim 20, which is characterized in that in the first global service module further include first slow When depositing submodule, correspondingly, the method also includes:
First cache sub-module caches related data when access server operation.
30. according to the method for claim 29, which is characterized in that in the first global service module further include second slow When depositing submodule, correspondingly, the method also includes:
Supplement related data when server operation described in the second cache sub-module caching with money.
31. according to the method for claim 20, which is characterized in that it is described supplement with money server include supplement with money service cluster and First Load Balance Unit, it is described to supplement service cluster with money including multiple when supplementing virtual machine with money, correspondingly, described supplement server with money Charging request is obtained, supplements rule with money according to preset, the user account supplemented with money to the charging request application is supplemented with money, comprising:
First Load Balance Unit obtains the current load for respectively supplementing virtual machine with money, and current according to virtual machine is respectively supplemented with money Load distributes charging request respectively to supplement virtual machine with money.The virtual machine of supplementing with money is for handling the service of supplementing with money of each client.
32. according to the method for claim 20, which is characterized in that the access server include gateway service cluster and Second Load Balance Unit, the gateway service cluster, including when multiple net virtual machines, correspondingly, the access server Access request is obtained, when the access request meets preset entry rules, Lian Zhiling is built in the transmission of Xiang Suoshu central server, Include:
Second Load Balance Unit obtains the current load of each net virtual machine, and current according to each net virtual machine Load distributes access request for each net virtual machine;The net virtual machine, the net virtual machine is for handling the client The access service at end.
33. according to the method for claim 20, which is characterized in that in the second global service module include more physics Machine, every physical machine in the second global service module include at least chatting service cluster, seniority among brothers and sisters service cluster, good friend's clothes Be engaged in cluster, a cluster in store service cluster and mail service cluster when, correspondingly, the second global service module obtains The game interaction data for having accessed client and the central server are taken, according to preset game rule, execution and institute State the corresponding operation of game interaction data, comprising:
The chatting service cluster obtains the chat data for having accessed client transmission, according to preset chat rule, holds Row chatting operation corresponding with the chat data;The seniority among brothers and sisters service cluster obtains the specified number in the central server According to, and according to preset displaying rule, Xiang Suoshu has accessed client and has shown the specified data;Good friend's service cluster obtains The good friend's data for having accessed client transmission are taken, according to preset good friend's rule, are executed corresponding with good friend's data Good friend's operation;The store service cluster obtains the store data for having accessed client transmission, advises according to preset store Then, store operation corresponding with the store data is executed;The mail service cluster obtains the client that accessed and sends Mail data execute mail action corresponding with the mail data according to preset Mail rule.
34. according to the method for claim 20, which is characterized in that the game services module further include third caching When module, correspondingly, the method also includes:
Third cache sub-module caches related data when access server operation.
CN201710851627.1A 2017-09-19 2017-09-19 The network architecture of online game and data forwarding method for online game Pending CN109513206A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710851627.1A CN109513206A (en) 2017-09-19 2017-09-19 The network architecture of online game and data forwarding method for online game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710851627.1A CN109513206A (en) 2017-09-19 2017-09-19 The network architecture of online game and data forwarding method for online game

Publications (1)

Publication Number Publication Date
CN109513206A true CN109513206A (en) 2019-03-26

Family

ID=65768407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710851627.1A Pending CN109513206A (en) 2017-09-19 2017-09-19 The network architecture of online game and data forwarding method for online game

Country Status (1)

Country Link
CN (1) CN109513206A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110124321A (en) * 2019-05-24 2019-08-16 腾讯科技(深圳)有限公司 A kind of object processing method, device, equipment and medium
CN110855708A (en) * 2019-11-26 2020-02-28 上海莉莉丝科技股份有限公司 Game server architecture
CN110928645A (en) * 2019-11-21 2020-03-27 网易(杭州)网络有限公司 Server maintenance method and device, storage medium, processor and electronic device
CN111905362A (en) * 2020-08-19 2020-11-10 网易(杭州)网络有限公司 Game guild loading method and server
CN112190926A (en) * 2020-10-15 2021-01-08 蒋海斌 Data traffic processing method in online game scene and online game server
CN112221119A (en) * 2020-10-19 2021-01-15 珠海金山网络游戏科技有限公司 Game prop processing system, method and device
CN112600914A (en) * 2020-12-07 2021-04-02 腾讯科技(深圳)有限公司 Data processing method and device, computer readable medium and electronic equipment
WO2021233093A1 (en) * 2020-05-22 2021-11-25 腾讯科技(深圳)有限公司 Account access method and apparatus, storage medium, and electronic device
CN114070578A (en) * 2021-09-27 2022-02-18 杭州安恒信息技术股份有限公司 User private network intranet intercommunication method, system, computer and storage medium
CN114257566A (en) * 2020-09-11 2022-03-29 北京金山云网络技术有限公司 Domain name access method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140059117A1 (en) * 2012-08-27 2014-02-27 Anoop Santhanam Service provider facilitating access of diverse web-based services
CN103873457A (en) * 2012-12-17 2014-06-18 人人游戏网络科技发展(上海)有限公司 Method and equipment for balancing loads among game servers
CN104135506A (en) * 2014-06-25 2014-11-05 深圳市盛讯达科技股份有限公司 System and method of load balancing design of network data
CN105553707A (en) * 2015-12-14 2016-05-04 江苏名通信息科技有限公司 MMORPG game server end
CN107800741A (en) * 2016-09-06 2018-03-13 盛趣信息技术(上海)有限公司 MMORPG server architectures

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140059117A1 (en) * 2012-08-27 2014-02-27 Anoop Santhanam Service provider facilitating access of diverse web-based services
CN103873457A (en) * 2012-12-17 2014-06-18 人人游戏网络科技发展(上海)有限公司 Method and equipment for balancing loads among game servers
CN104135506A (en) * 2014-06-25 2014-11-05 深圳市盛讯达科技股份有限公司 System and method of load balancing design of network data
CN105553707A (en) * 2015-12-14 2016-05-04 江苏名通信息科技有限公司 MMORPG game server end
CN107800741A (en) * 2016-09-06 2018-03-13 盛趣信息技术(上海)有限公司 MMORPG server architectures

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110124321A (en) * 2019-05-24 2019-08-16 腾讯科技(深圳)有限公司 A kind of object processing method, device, equipment and medium
CN110124321B (en) * 2019-05-24 2022-08-19 腾讯科技(深圳)有限公司 Object processing method, device, equipment and medium
CN110928645A (en) * 2019-11-21 2020-03-27 网易(杭州)网络有限公司 Server maintenance method and device, storage medium, processor and electronic device
CN110855708A (en) * 2019-11-26 2020-02-28 上海莉莉丝科技股份有限公司 Game server architecture
CN110855708B (en) * 2019-11-26 2021-06-11 上海莉莉丝科技股份有限公司 Game server architecture
US11513863B2 (en) 2019-11-26 2022-11-29 Shanghai Lilith Technology Corporation Game server architecture
JP7375203B2 (en) 2020-05-22 2023-11-07 ▲騰▼▲訊▼科技(深▲セン▼)有限公司 Account access methods and devices, storage media, and electronic devices
JP2023508061A (en) * 2020-05-22 2023-02-28 ▲騰▼▲訊▼科技(深▲セン▼)有限公司 ACCOUNT ACCESS METHOD AND DEVICE, STORAGE MEDIUM, AND ELECTRONIC DEVICE
WO2021233093A1 (en) * 2020-05-22 2021-11-25 腾讯科技(深圳)有限公司 Account access method and apparatus, storage medium, and electronic device
CN111905362A (en) * 2020-08-19 2020-11-10 网易(杭州)网络有限公司 Game guild loading method and server
CN114257566A (en) * 2020-09-11 2022-03-29 北京金山云网络技术有限公司 Domain name access method and device and electronic equipment
CN112190926A (en) * 2020-10-15 2021-01-08 蒋海斌 Data traffic processing method in online game scene and online game server
CN112190926B (en) * 2020-10-15 2021-08-20 段绍森 Data traffic processing method in online game scene and online game server
CN112221119A (en) * 2020-10-19 2021-01-15 珠海金山网络游戏科技有限公司 Game prop processing system, method and device
CN112600914A (en) * 2020-12-07 2021-04-02 腾讯科技(深圳)有限公司 Data processing method and device, computer readable medium and electronic equipment
CN114070578A (en) * 2021-09-27 2022-02-18 杭州安恒信息技术股份有限公司 User private network intranet intercommunication method, system, computer and storage medium
CN114070578B (en) * 2021-09-27 2024-05-28 杭州安恒信息技术股份有限公司 User private network intranet intercommunication method, system, computer and storage medium

Similar Documents

Publication Publication Date Title
CN109513206A (en) The network architecture of online game and data forwarding method for online game
US11677860B2 (en) Decentralization processing method, communication proxy, host, and storage medium
CN103827825B (en) Virtual resource object component
US9550125B2 (en) Dynamic and scalable topology for virtual world environments
CN103997725B (en) System and method for the mobile data network in abstract and layout network environment
CN103581276B (en) Cluster management device, system, service customer end and correlation method
CN106899518A (en) A kind of method for processing resource and device based on Internet data center
CN106412113A (en) Energy cloud service system and communication method thereof
CN101605092A (en) A kind of content-based SiteServer LBS
CN107078921A (en) The method and system for characterizing, monitoring and controlling for the Network that strategy is driven based on commercial intention
CN111459986B (en) Data computing system and method
CN110134674A (en) A kind of money and credit big data monitoring analysis system
CN105872110B (en) A kind of cloud platform service management and device
TW201432597A (en) Electronic trading platform and method thereof
CN108920948A (en) A kind of anti-fraud streaming computing device and method
CN102439913A (en) System and method for network traffic management and load balancing
CN109621430A (en) Game services end system, game control method, device, medium and electronic equipment
CN110334072A (en) A kind of distributed file system, file updating method and device
CN105357090A (en) Load balancing method and device for externally-connected bus service system
Reddy et al. On optimization efficiency of scalability and availability of cloud-based software services using scale rate limiting algorithm
CN110008019A (en) Method and device, the system of shared server resource
CN106790659A (en) A kind of space time information cloud storage management method
Mazur et al. Machine learning prediction of gamer’s private networks (GPN® S)
CN106547790A (en) A kind of relevant database service system
CN111404774A (en) Data monitoring method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190326

RJ01 Rejection of invention patent application after publication