CN105376332A - Load migration method for mobile phone game servers - Google Patents

Load migration method for mobile phone game servers Download PDF

Info

Publication number
CN105376332A
CN105376332A CN201510921503.7A CN201510921503A CN105376332A CN 105376332 A CN105376332 A CN 105376332A CN 201510921503 A CN201510921503 A CN 201510921503A CN 105376332 A CN105376332 A CN 105376332A
Authority
CN
China
Prior art keywords
server
game server
mobile phone
load
clients
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
CN201510921503.7A
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.)
Jiangsu Mingtong Tech Co Ltd
Original Assignee
Jiangsu Mingtong Tech 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 Jiangsu Mingtong Tech Co Ltd filed Critical Jiangsu Mingtong Tech Co Ltd
Priority to CN201510921503.7A priority Critical patent/CN105376332A/en
Publication of CN105376332A publication Critical patent/CN105376332A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • H04L67/1004Server selection for load balancing
    • H04L67/1021Server selection for load balancing based on client or server locations
    • 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
    • H04L67/1004Server selection for load balancing
    • H04L67/1012Server selection for load balancing based on compliance of requirements or conditions with available server resources

Abstract

The invention discloses a load migration method for mobile game servers. The method includes the following steps that: 1) a connection threshold value of a single game server is set; 2) the single game server monitors the number of clients which login the game server in real time; 3) whether the number of the clients is greater than the connection threshold value is judged according to the monitored number of the clients, if the number of the clients is greater than the connection threshold value, step 4) is executed, otherwise, the method returns to step 2); 4) excess clients are put in a waiting queue, and a server list is looked up, so that an idle game server which is closest to the single game server can be found out; and (5) the connections of the clients are transferred to the idle game server, and the clients can login the idle game server. According to the load migration method of the invention, a load migration module is utilized to limit the resources of the single server, and therefore, a situation that a large number of users login the single server at the same time can be avoided, and the exhaustion of the resources of the server can be prevented, and the normal operation of a mobile phone game can be ensured. The load migration method has a bright application prospect.

Description

A kind of load for mobile phone games server migrates method
Technical field
The present invention relates to a kind of load for mobile phone games server and migrate method, belong to mobile phone games development technique field.
Background technology
A few days ago, along with the continuous lifting of mobile phone soft hardware performance, mobile phone games have also been obtained fast development.The capacity of mobile phone games is also increasing, and, the user logged in also gets more and more, thus cause mobile phone games server can bear maximum resource load, when a large number of users logs in same game server simultaneously, the resource of moment this server a large amount of can be taken, cause the exhaustion of server resource, thus affect user's login, even there is the phenomenon of servers go down.
Summary of the invention
The present invention seeks in order to overcome existing amount user log in same game server time, the resource of this server a large amount of can be taken, cause the exhaustion of server resource, even occur the phenomenon of servers go down.Load for mobile phone games server of the present invention migrates method, adopt load to migrate the resource of module to individual server to limit, a large number of users can be solved and log in single server simultaneously, prevent the exhaustion of server resource, ensure the normal operation of mobile phone games, have a good application prospect.
In order to achieve the above object, the technical solution adopted in the present invention is:
Load for mobile phone games server migrates a method, it is characterized in that: comprise the following steps,
Step (1), arranges the connect threshold of single game server;
Step (2), single game server real-time listening logs in the client terminal quantity of this game server;
Step (3), according to the client terminal quantity listened to, judges whether to be greater than connection connect threshold; If be greater than, then perform step (4); Otherwise, return step (2);
Step (4), puts into the client exceeding client terminal quantity and puts waiting list, and search server list, finds the idle game server near single game server;
Step (5), by the handoff of client to idle game server, carries out client logs.
The aforementioned load for mobile phone games server migrates method, it is characterized in that: the quantity of described connect threshold is between 1-255.
The aforementioned load for mobile phone games server migrates method, it is characterized in that: step (2), single game server real-time listening be spaced apart 2-4s.
The aforementioned load for mobile phone games server migrates method, it is characterized in that: step (2), single game server real-time listening be spaced apart 3s.
The aforesaid load for mobile phone games server migrates method, it is characterized in that: step (4) searches server list, the idle game server method near single game server is found to be, looked-up sequence be same subnet to same local area network (LAN) to the Internet, and increase one by one according to IP address and search.
The aforesaid load for mobile phone games server migrates method, it is characterized in that: the client terminal quantity that described idle game server connects is less than the half of connect threshold.
The invention has the beneficial effects as follows: the load for mobile phone games server of the present invention migrates method, adopt load to migrate the resource of module to individual server to limit, a large number of users can be solved and log in single server simultaneously, prevent the exhaustion of server resource, ensure the normal operation of mobile phone games, have a good application prospect.
Accompanying drawing explanation
Fig. 1 is the flow chart that the load for mobile phone games server of the present invention migrates method.
Embodiment
Below in conjunction with Figure of description, the present invention will be further described.Following examples only for technical scheme of the present invention is clearly described, and can not limit the scope of the invention with this.
Load for mobile phone games server of the present invention migrates method, adopt load to migrate the resource of module to individual server to limit, a large number of users can be solved and log in single server simultaneously, prevent the exhaustion of server resource, ensure the normal operation of mobile phone games, as shown in Figure 1, comprise the following steps
Step (1), arranges the connect threshold of single game server, and the quantity of connect threshold is between 1-255;
Step (2), single game server real-time listening logs in the client terminal quantity of this game server, real-time listening be spaced apart 2-4s, preferred 3s;
Step (3), according to the client terminal quantity listened to, judges whether to be greater than connection connect threshold; If be greater than, then perform step (4); Otherwise, return step (2);
Step (4), the client exceeding client terminal quantity is put into and puts waiting list, and search server list, find the idle game server near single game server, looked-up sequence is that same subnet is to same local area network (LAN) to the Internet, and increase one by one according to IP address and search, such guarantee finds the idle game server near single game server, and the client terminal quantity that described idle game server connects is less than the half of connect threshold;
Step (5), by the handoff of client to idle game server, carries out client logs.
More than show and describe general principle of the present invention, principal character and advantage.The technical staff of the industry should understand; the present invention is not restricted to the described embodiments; what describe in above-described embodiment and specification just illustrates principle of the present invention; without departing from the spirit and scope of the present invention; the present invention also has various changes and modifications, and these changes and improvements all fall in the claimed scope of the invention.Application claims protection range is defined by appending claims and equivalent thereof.

Claims (6)

1. the load for mobile phone games server migrates a method, it is characterized in that: comprise the following steps,
Step (1), arranges the connect threshold of single game server;
Step (2), single game server real-time listening logs in the client terminal quantity of this game server;
Step (3), according to the client terminal quantity listened to, judges whether to be greater than connection connect threshold; If be greater than, then perform step (4); Otherwise, return step (2);
Step (4), puts into the client exceeding client terminal quantity and puts waiting list, and search server list, finds the idle game server near single game server;
Step (5), by the handoff of client to idle game server, carries out client logs.
2. the load for mobile phone games server according to claim 1 migrates method, it is characterized in that: the quantity of described connect threshold is between 1-255.
3. the load for mobile phone games server according to claim 1 migrates method, it is characterized in that: step (2), single game server real-time listening be spaced apart 2-4s.
4. the load for mobile phone games server according to claim 2 migrates method, it is characterized in that: step (2), single game server real-time listening be spaced apart 3s.
5. the load for mobile phone games server according to claim 1 migrates method, it is characterized in that: step (4) searches server list, the idle game server method near single game server is found to be, looked-up sequence be same subnet to same local area network (LAN) to the Internet, and increase one by one according to IP address and search.
6. the load for mobile phone games server according to claim 1 migrates method, it is characterized in that: the client terminal quantity that described idle game server connects is less than the half of connect threshold.
CN201510921503.7A 2015-12-14 2015-12-14 Load migration method for mobile phone game servers Pending CN105376332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510921503.7A CN105376332A (en) 2015-12-14 2015-12-14 Load migration method for mobile phone game servers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510921503.7A CN105376332A (en) 2015-12-14 2015-12-14 Load migration method for mobile phone game servers

Publications (1)

Publication Number Publication Date
CN105376332A true CN105376332A (en) 2016-03-02

Family

ID=55378127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510921503.7A Pending CN105376332A (en) 2015-12-14 2015-12-14 Load migration method for mobile phone game servers

Country Status (1)

Country Link
CN (1) CN105376332A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10348836B2 (en) 2017-02-22 2019-07-09 Microsoft Technology Licensing, Llc Migrating clients between servers

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020026560A1 (en) * 1998-10-09 2002-02-28 Kevin Michael Jordan Load balancing cooperating cache servers by shifting forwarded request
CN102970379A (en) * 2012-12-19 2013-03-13 中国电子科技集团公司第十五研究所 Method for realizing load balance among multiple servers
CN103873457A (en) * 2012-12-17 2014-06-18 人人游戏网络科技发展(上海)有限公司 Method and equipment for balancing loads among game servers
CN104142862A (en) * 2013-12-16 2014-11-12 腾讯科技(深圳)有限公司 Overload protection method and device for server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020026560A1 (en) * 1998-10-09 2002-02-28 Kevin Michael Jordan Load balancing cooperating cache servers by shifting forwarded request
CN103873457A (en) * 2012-12-17 2014-06-18 人人游戏网络科技发展(上海)有限公司 Method and equipment for balancing loads among game servers
CN102970379A (en) * 2012-12-19 2013-03-13 中国电子科技集团公司第十五研究所 Method for realizing load balance among multiple servers
CN104142862A (en) * 2013-12-16 2014-11-12 腾讯科技(深圳)有限公司 Overload protection method and device for server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
苏志同等: "手机游戏开发架构的研究", 《计算机工程与设计》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10348836B2 (en) 2017-02-22 2019-07-09 Microsoft Technology Licensing, Llc Migrating clients between servers

Similar Documents

Publication Publication Date Title
US10951733B2 (en) Route selection method and system, network acceleration node, and network acceleration system
US9674279B2 (en) Methods, devices, and systems for allocating service nodes in a network
KR101987784B1 (en) Software-defined network-based method and system for implementing content distribution network
CN109951347B (en) Service identification method, device and network equipment
CN109040243B (en) Message processing method and device
US20140007100A1 (en) Method and Apparatus for Migrating Virtual Machine Parameters and Virtual Machine Server
CN112511571A (en) Web vulnerability scanning method, device, system, equipment and storage medium
US10693785B2 (en) Method and system for forwarding data, virtual load balancer, and readable storage medium
WO2023155617A1 (en) Live streaming origin-pull method and apparatus
CN109756584B (en) Domain name resolution method, domain name resolution device and computer readable storage medium
CN108055338B (en) ISCSI access load balancing method
US20210185083A1 (en) Packet fingerprinting for enhanced distributed denial of service protection
WO2015014176A1 (en) Method, device, scheduling server and system for network allocation
CN104079668B (en) A kind of DNS load balancing adjusting method and system
CN107645540A (en) The load-balancing method of web application systems
CN107196949A (en) The system for limiting same user account registration terminal quantity
CN107864189A (en) A kind of application layer traffic load-balancing method based on DPI
KR20120121668A (en) High Performance System and Method for Blocking Harmful Sites Access on the basis of Network
WO2020190656A8 (en) Server load prediction and advanced performance measures
CN104918258A (en) Communication method in high-speed railway operation
US20190037044A1 (en) Content distribution and delivery optimization in a content delivery network (cdn)
CN108388471B (en) Management method based on double-threshold constraint virtual machine migration
CN105376332A (en) Load migration method for mobile phone game servers
WO2021023141A1 (en) Method and apparatus for obtaining routing table entry, and device
CN106790502B (en) Load balancing system of IPv4 terminal and IPv6 service intercommunication service based on NAT64 prefix

Legal Events

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

Application publication date: 20160302