CN102647395B - Method, device and system for distributing number of people for online game server - Google Patents
Method, device and system for distributing number of people for online game server Download PDFInfo
- Publication number
- CN102647395B CN102647395B CN201110039119.6A CN201110039119A CN102647395B CN 102647395 B CN102647395 B CN 102647395B CN 201110039119 A CN201110039119 A CN 201110039119A CN 102647395 B CN102647395 B CN 102647395B
- Authority
- CN
- China
- Prior art keywords
- copy
- server
- map
- replica
- signing messages
- 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.)
- Active
Links
Abstract
The invention provides a method for distributing number of people for an online game server and belongs to the field of communication. The method comprises the following steps: a map server judges a replica entering instruction which is sent by a player through a client side and sends the replica entering instruction into a replica server under the condition that the player conforms to the replica entering instruction; the replica server generates a corresponding replica according to the received replica entering instruction and sends related information of the replica to the map server; the map server sends the related information of the replica to the client side; and the client side exits from the current map server according to the related information of the replica and logins the replica server. According to the embodiment of the invention, the number of people of the online game server is distributed by the replica server to be uniform, so that people are allotted for the online game server uniformly.
Description
Technical field
The invention belongs to the communications field, particularly relate to a kind of methods, devices and systems of current-dividing network game server number.
Background technology
Copy a: part for virtual world in game, by one group independently map scene form, only have player and can enter same copy with the team that player forms, the player carrying out in copy playing often can account for 50% of whole player headcounts, even more.
Map server: the map server that all players that in online game, player enters into share, map server comprises all non-copy maps.
Replica server: the map server that only there is copy map, it is to be noted that generally replica server does not exist map, only have after player proposes to enter the request of copy, the request entering copy described in replica server just meeting basis generates corresponding copy, and replica server can generate all copy maps.
Signature: player's connection server needs the connection identifier information taken.
Current-dividing network game server number is the insoluble problem of online game operator always, and in prior art, server shunts player's number according to map (comprising the map carrying out copy).Such as when player enters map A, then all players entering map A are put into the server of process map A, and because the needs of the story of a play or opera, task, each map role is different, player must be made in the number maldistribution of each server: the server had has a full house, and some servers are empty, if a certain period player wants to enter map A, then can, because of the problem of server capacity, cause some player cannot enter map A.
Summary of the invention
The object of the embodiment of the present invention is a kind of method providing current-dividing network game server number, is intended to solve network game server number maldistribution, the problem of equalization server load.
The embodiment of the present invention is achieved in that a kind of method of current-dividing network game server number, said method comprising the steps of:
The instruction entering copy is sent to map server;
Receive the relevant information of the copy that map server sends, exit the game role of current map server according to the relevant information of described copy, keep the connection of GID and map server;
Obtain signing messages, enter replica server according to described signing messages.
Another object of the embodiment of the present invention is a kind of method providing current-dividing network game server number, said method comprising the steps of:
Receive the instruction entering copy that player is sent by client, the described instruction entering copy is judged;
When judging that player can enter copy, the described instruction entering copy is sent to replica server;
Receive the relevant information of the copy that replica server sends, and described relevant information is sent to client.
Another object of the embodiment of the present invention is a kind of method providing current-dividing network game server number, said method comprising the steps of:
Receive the instruction entering copy that map server sends, generate corresponding copy according to the described instruction entering copy;
The relevant information of described copy is sent to map server.
Another object of the embodiment of the present invention is a kind of method providing current-dividing network game server number, said method comprising the steps of:
Map server judges the instruction entering copy that player is sent by client, and when entering the instruction of copy described in player meets, the described instruction entering copy is sent to replica server;
The instruction that replica server enters copy according to reception generates corresponding copy, and the relevant information of copy is sent to map server;
The relevant information of described copy is sent to client by map server;
Client exits current map server according to the relevant information of described copy, logins replica server.
Another object of the embodiment of the present invention is the client terminal device providing a kind of current-dividing network game server number, and described device comprises:
Entering copy instruction sending module, entering copy instruction for sending to map server;
Copy relevant information receiver module, for receiving the copy relevant information that map server sends;
Map server exits module, and the copy relevant information for receiving according to described copy relevant information receiver module exits the game role of current map server, keeps the connection of GID and map server;
Signing messages acquisition module, for obtaining signing messages;
Replica server enters module, enters replica server for the signing messages obtained according to described signing messages acquisition module.
Another object of the embodiment of the present invention is the server system providing a kind of current-dividing network game server number, and described system comprises:
Map server, for receive client send enter copy instruction/to replica server send enter copy instruction, enter copy instruction judge that can player enter copy according to described, the copy relevant information that reception replica server sends/send copy relevant information to client, the signing messages that reception replica server sends/to client transmission signing messages;
Replica server, for receive map server send enter copy instruction, enter copy instruction generate corresponding copy according to described, copy relevant information is sent to map server, receive the acquisition signing messages request that client sends, signing messages is sent, the signature successful information that reception access server sends/send signing messages to map server to access server.
Another object of the embodiment of the present invention is the network game system providing a kind of current-dividing network game server number, and described system comprises:
Client, entering copy instruction for sending to map server, receiving the relevant information of the copy that replica server is sent by map server, exiting current map server, login replica server according to the relevant information of described copy;
Map server, for receive client send enter copy instruction/to replica server send enter copy instruction, enter copy instruction judge that can player enter copy according to described, the copy relevant information that reception replica server sends/send copy relevant information to client, the signing messages that reception replica server sends/to client transmission signing messages;
Replica server, for receive map server send enter copy instruction, enter copy instruction generate corresponding copy according to described, copy relevant information is sent to map server, receive the acquisition signing messages request that client sends, signing messages is sent, the signature successful information that reception access server sends/send signing messages to map server to access server.
The embodiment of the present invention, server is divided into map server and replica server according to effect, map server comprises all non-copy maps, replica server can generate all copies according to the request of player, map server and replica server can receive the player of all game request, after certain map number of a map server arrives and limits, the player that hope can be entered same map transfers on another map server, balance the number of each server, no longer occur that certain server number has a full house, can't bear the heavy load, and the situation of other server number rarenesses.
Accompanying drawing explanation
Fig. 1 is the flow chart of the current-dividing network game server people counting method that the embodiment of the present invention provides;
Fig. 2 is the specific implementation flow chart of the step S107 shown in Fig. 1 that the embodiment of the present invention provides;
Fig. 3 is the structure chart of the client terminal device of the current-dividing network game server number that the embodiment of the present invention provides;
Fig. 4 is the structure chart of the Map Services apparatus of the current-dividing network game server number that the embodiment of the present invention provides;
Fig. 5 is the structure chart of the Copy Service apparatus of the current-dividing network game server number that the embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The embodiment of the present invention, server is divided into map server and replica server according to effect, map server comprises all non-copy maps, replica server can generate all copies according to the request of player, map server and replica server can receive the player of all game request, after certain map number of a map server arrives and limits, the player that hope can be entered same map transfers on another map server, balance the number of each server, no longer occur that certain server number has a full house, can't bear the heavy load, and the situation of other server number rarenesses.
Be illustrated in figure 1 the flow chart utilizing replica server current-dividing network game server people counting method that the embodiment of the present invention provides, details are as follows:
Step S101, client receives the instruction entering copy of player's input, and described instruction is sent to map server.
In embodiments of the present invention, server end is divided into two classes: map server and replica server.Client receive player input enter the instruction of copy after, the described instruction entering copy is sent to map server.
Step S102, map server receives the instruction entering copy that client sends, and judging whether player can enter copy according to described instruction, the foundation whether described player of judgement can enter copy is: whether reach the grade can carrying out copy, the previous task whether completing copy, whether hold the stage property etc. entering copy.Then enter step S103; No, then terminate.
Step S103, the described instruction entering copy is sent to replica server by map server.
Step S104, replica server according to described in enter copy instruction generate corresponding copy.
Step S105, the relevant information of described copy is sent to map server by replica server.
In embodiments of the present invention, the relevant information of described copy comprises the IP address of copy at replica server of generation, map position information and coordinate points.
Step S106, the relevant information of described copy is sent to client by map server.
Step S107, the copy relevant information that the map server that player receives according to client returns, exits current map server, again logins replica server.
In embodiments of the present invention, player can enter the judgement of copy according to the map server that client receives, and exits current map server, again logins replica server.Its specific implementation step refers to Fig. 2 and the follow-up description to Fig. 2, does not repeat them here.
The embodiment of the present invention, server is divided into map server and replica server according to effect, map server comprises all non-copy maps, replica server can generate all copies according to the request of player, map server and replica server can receive the player of all game request, after certain map number of a map server arrives and limits, the player that hope can be entered same map transfers on another map server, balance the number of each server, no longer occur that certain server number has a full house, can't bear the heavy load, and the situation of other server number rarenesses.
Be illustrated in figure 2 the specific implementation flow process of the step S107 as shown in Figure 1 that the embodiment of the present invention provides, details are as follows:
Step S201, client receives the relevant information of the copy that map server sends, and player exits the game role at current map server, keeps the connection of GID and map server.
Step S202, while exiting map server, player sends the request obtaining signing messages to replica server by client.
Step S203, replica server receives the request of the acquisition signing messages of player, and described signing messages is sent to the access server being responsible for process access request.
Step S204, access server judges to sign successfully.
Step S205, by replica server and map server the most at last signing messages be sent to client.
In embodiments of the present invention, player has exited the role of map server, but the account of player is still connected to map server (account of player and role are corresponding relations), and player still can obtain the successful information of described signature by client.
Step S206, player logins replica server according to the described signing messages that client receives and carries out copy.
Be illustrated in figure 3 the structure chart utilizing the client terminal device of replica server current-dividing network game server number that the embodiment of the present invention provides, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention:
Entering copy instruction sending module 11, entering copy instruction for sending to map server.
Copy relevant information receiver module 12, for receiving the copy relevant information that map server sends.
Map server exits module 13, and the copy relevant information for receiving according to described copy relevant information receiver module exits the game role of current map server, keeps the connection of GID and map server.
Signing messages acquisition module 14, for obtaining signing messages.
Wherein signing messages acquisition module module 14 also comprises:
Obtain signing messages request sending module 141, for sending the request obtaining signing messages to replica server.
Signing messages receiver module 142, for receiving the signing messages that map server sends.
Be illustrated in figure 4 the structure chart utilizing the Map Services apparatus of replica server current-dividing network game server number that the embodiment of the present invention provides, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention:
Enter copy command reception module 21, for receive client send enter copy instruction.
Enter copy instruction sending module 22, for entering the copy instruction that enters that copy command reception module 21 receives be sent to replica server by described.
Entry condition judge module 23, for according to the copy entry instruction entering the reception of copy command reception module 21, judges whether player can enter copy.
Copy relevant information receiver module 24, for receiving the copy relevant information that replica server sends.
Copy relevant information sending module 25, is sent to client for the copy relevant information received by described copy relevant information receiver module 24.
Signing messages receiver module 26, for receiving the signing messages that replica server sends.
Signing messages sending module 27, is sent to client for the signing messages received by described signing messages receiver module 26.
Be illustrated in figure 5 the structure chart utilizing the Copy Service apparatus of replica server current-dividing network game server number that the embodiment of the present invention provides, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention:
Enter copy command reception module 31, for receive map server send enter copy instruction.
Copy generation module 32, for enter described in basis copy command reception module 31 receive enter copy instruction, generate corresponding copy.
Copy relevant information sending module 33, the relevant information for the copy generated by described copy generation module 32 is sent to map server.
Obtain signing messages request receiving module 34, for receiving the request of the acquisition signing messages that player is sent by client.
Signing messages sending module 35, for sending signing messages to access server, and sends signing messages to map server under access server judges the successful situation of signature.
Signing messages receiver module 36, for receiving the signature successful information that access server sends.
The embodiment of the present invention, server is divided into map server and replica server according to effect, map server comprises all non-copy maps, replica server can generate all copies according to the request of player, map server and replica server can receive the player of all game request, after certain map number of a map server arrives and limits, the player that hope can be entered same map transfers on another map server, balance the number of each server, no longer occur that certain server number has a full house, can't bear the heavy load, and the situation of other server number rarenesses.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. a method for current-dividing network game server number, is characterized in that, said method comprising the steps of:
The instruction entering copy is sent to map server;
Receive the relevant information of the copy that map server sends, exit the game role of current map server according to the relevant information of described copy, keep the connection of GID and map server;
Obtain signing messages, enter replica server according to described signing messages;
Described map server comprises all non-copy maps, and described replica server only exists copy map.
2. the method for claim 1, is characterized in that, the step obtaining signing messages is specially:
Player sends the request obtaining signing messages to replica server by client;
Replica server receives the request that player obtains signing messages, and described signing messages is sent to the access server being responsible for process access request;
Under access server judges the successful situation of signature, signing messages is finally sent to client by replica server and map server.
3. method as claimed in claim 2, it is characterized in that, player is by obtaining signing messages with the player account of client's side link.
4. a method for current-dividing network game server number, is characterized in that, said method comprising the steps of:
Receive the instruction entering copy that player is sent by client, the described instruction entering copy is judged;
When judging that player can enter copy, the described instruction entering copy is sent to replica server;
Receive the relevant information of the copy that replica server sends, and described relevant information is sent to client;
Only there is copy map in described replica server.
5. a method for current-dividing network game server number, is characterized in that, said method comprising the steps of:
Receive the instruction entering copy that map server sends, generate corresponding copy according to the described instruction entering copy;
The relevant information of described copy is sent to map server;
Described map server comprises all non-copy maps, and described replica server only exists copy map.
6. a method for current-dividing network game server number, is characterized in that, said method comprising the steps of:
Map server judges the instruction entering copy that player is sent by client, and when entering the instruction of copy described in player meets, the described instruction entering copy is sent to replica server;
The instruction that replica server enters copy according to reception generates corresponding copy, and the relevant information of copy is sent to map server;
The relevant information of described copy is sent to client by map server;
Client exits current map server according to the relevant information of described copy, logins replica server;
Described map server comprises all non-copy maps, and described replica server only exists copy map.
7. a client, is characterized in that, described client comprises:
Entering copy instruction sending module, entering copy instruction for sending to map server;
Copy relevant information receiver module, for receiving the copy relevant information that map server sends;
Map server exits module, and the copy relevant information for receiving according to described copy relevant information receiver module exits the game role of current map server, keeps the connection of GID and map server;
Signing messages acquisition module, for obtaining signing messages;
Replica server enters module, enters replica server for the signing messages obtained according to described signing messages acquisition module;
Described map server comprises all non-copy maps, and described replica server only exists copy map.
8. client as claimed in claim 7, it is characterized in that, described signing messages acquisition module also comprises:
Obtain signing messages request sending module, for sending the request obtaining signing messages to replica server;
Signing messages receiver module, for receiving the signing messages that map server sends.
9. a server system, is characterized in that, described system comprises:
Map server, for receive client send enter copy instruction/to replica server send enter copy instruction, enter copy instruction judge that can player enter copy according to described, the copy relevant information that reception replica server sends/send copy relevant information to client, the signing messages that reception replica server sends/to client transmission signing messages;
Replica server, for receive map server send enter copy instruction, enter copy instruction generate corresponding copy according to described, copy relevant information is sent to map server, receive the acquisition signing messages request that client sends, signing messages is sent, the signature successful information that reception access server sends/send signing messages to map server to access server;
Described map server comprises all non-copy maps, and described replica server only exists copy map.
10. a network game system, is characterized in that, described system comprises:
Client, entering copy instruction for sending to map server, receiving the relevant information of the copy that replica server is sent by map server, exiting current map server, login replica server according to the relevant information of described copy;
Map server, for receive client send enter copy instruction/to replica server send enter copy instruction, enter copy instruction judge that can player enter copy according to described, the copy relevant information that reception replica server sends/send copy relevant information to client, the signing messages that reception replica server sends/to client transmission signing messages;
Replica server, for receive map server send enter copy instruction, enter copy instruction generate corresponding copy according to described, copy relevant information is sent to map server, receive the acquisition signing messages request that client sends, signing messages is sent, the signature successful information that reception access server sends/send signing messages to map server to access server;
Described map server comprises all non-copy maps, and described replica server only exists copy map.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110039119.6A CN102647395B (en) | 2011-02-16 | 2011-02-16 | Method, device and system for distributing number of people for online game server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110039119.6A CN102647395B (en) | 2011-02-16 | 2011-02-16 | Method, device and system for distributing number of people for online game server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102647395A CN102647395A (en) | 2012-08-22 |
CN102647395B true CN102647395B (en) | 2015-02-04 |
Family
ID=46659974
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110039119.6A Active CN102647395B (en) | 2011-02-16 | 2011-02-16 | Method, device and system for distributing number of people for online game server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102647395B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103873457A (en) * | 2012-12-17 | 2014-06-18 | 人人游戏网络科技发展(上海)有限公司 | Method and equipment for balancing loads among game servers |
CN104834802B (en) * | 2014-02-11 | 2019-03-22 | 冒险王国有限公司 | Multi-person game system |
CN106302340B (en) * | 2015-05-25 | 2019-03-05 | 广州四三九九信息科技有限公司 | Server scene management method |
CN106730835A (en) * | 2016-12-16 | 2017-05-31 | 青岛蘑菇网络技术有限公司 | A kind of network game accelerated method and system based on router and vpn server |
CN110113414B (en) * | 2019-05-05 | 2022-05-31 | 深圳市腾讯网域计算机网络有限公司 | Method, device, server and storage medium for managing copies |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1556491A (en) * | 2003-12-30 | 2004-12-22 | 北京金山数字娱乐科技有限公司 | Servicer system |
-
2011
- 2011-02-16 CN CN201110039119.6A patent/CN102647395B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1556491A (en) * | 2003-12-30 | 2004-12-22 | 北京金山数字娱乐科技有限公司 | Servicer system |
Non-Patent Citations (1)
Title |
---|
moonbird1226.网络游戏用户分流设计浅谈(一)--新手村分流方案.《CSDN博客频道,http://blog.csdn.netmoonbird1226articledetails5805491》.2010, * |
Also Published As
Publication number | Publication date |
---|---|
CN102647395A (en) | 2012-08-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1643879B (en) | Method for updating information in AAA server | |
CN102647395B (en) | Method, device and system for distributing number of people for online game server | |
KR101165746B1 (en) | Push message service system and method thereof | |
CN102571885B (en) | Vehicle-mounted information push service system and method | |
CN102932958A (en) | Method, device and system for real-time data sharing | |
CN102594876B (en) | The mixing accelerating system of game real time data and more new data | |
CN104883402A (en) | Information processing method and cloud-end service platform | |
CN105991412A (en) | Method and device for pushing message | |
EP2916522A1 (en) | File transmission method and system thereof | |
CN102571877A (en) | Vehicle-mounted information synchronization service system and method | |
CN102948120A (en) | Apparatus and method for configuring personal network using PN routing table | |
CN105656964B (en) | The implementation method and device of data-pushing | |
CN103281346A (en) | Disconnection reconnection method, network system and proxy server | |
CN103618967A (en) | Method and device for interaction of mobile terminal and television end | |
CN103546528A (en) | Distributed message pushing method and system | |
CN202004788U (en) | Vehicle-mounted information push service system | |
CN102546727A (en) | Full-time on-line system and method of vehicle | |
CN103974224A (en) | Credit control method and equipment | |
CN202050442U (en) | Automobile full-time on-line system | |
CN102088422A (en) | Instant communication realization method based on set-top box | |
CN105743885A (en) | Data file transmitting and receiving method and device based on multi-level server client mode | |
CN109526009B (en) | Communication method, mobile terminal and system | |
CN102957726A (en) | Business processing method and system | |
CN102790753A (en) | Method and device for inquiring instant messaging client capacity information | |
CN103685141B (en) | The implementation method of a kind of transmission service and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |