CN109274713A - 一种均衡游戏服务器负载的方法 - Google Patents

一种均衡游戏服务器负载的方法 Download PDF

Info

Publication number
CN109274713A
CN109274713A CN201810926304.9A CN201810926304A CN109274713A CN 109274713 A CN109274713 A CN 109274713A CN 201810926304 A CN201810926304 A CN 201810926304A CN 109274713 A CN109274713 A CN 109274713A
Authority
CN
China
Prior art keywords
server
load
list
load level
game
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
CN201810926304.9A
Other languages
English (en)
Inventor
于捷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hongcheng Shengshi (tianjin) Network Technology Co Ltd
Original Assignee
Hongcheng Shengshi (tianjin) Network 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 Hongcheng Shengshi (tianjin) Network Technology Co Ltd filed Critical Hongcheng Shengshi (tianjin) Network Technology Co Ltd
Priority to CN201810926304.9A priority Critical patent/CN109274713A/zh
Publication of CN109274713A publication Critical patent/CN109274713A/zh
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
    • 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
    • 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/131Protocols for games, networked simulations or virtual reality
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/53Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing
    • A63F2300/534Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing for network load management, e.g. bandwidth optimization, latency reduction

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明涉及网络服务器通信技术领域,尤其涉及一种均衡游戏服务器负载的方法,包括以下步骤,实时监测服务器列表中多个服务器的负载水平,服务器的负载水平大于第一阈值时,列入超载服务器列表,服务器的负载水平小于第一阈值时,列入轻载服务器列表,将轻载服务器信息发送给客户端,建立通信连接,通过本方法既可以避免个别服务器负载过重影响游戏体验,又可以当服务器负载较低时,释放另一个服务器上的资源,从而实现服务器间灵活的用户分配和资源管理。

Description

一种均衡游戏服务器负载的方法
技术领域
本发明涉及网络服务器通信技术领域,尤其涉及一种均衡游戏服务器负载的方法。
背景技术
随着目前市场上网络游戏的发展,游戏玩家的规模不断壮大,对服务器带来的压力也越来越大,单一服务器无法满足游戏的运行,通常游戏运营商会提供多组服务器,不同玩家登陆不同的服务器以确保全部玩家的游戏需求,但是这种方法无法使服务器资源得到合理利用,容易造成服务器资源的浪费,或者造成个别服务器负载过大,影响游戏体验。
发明内容
本发明所要解决的技术问题是克服现有技术中存在的不足,提供一种既能防止服务器负载过重、又能防止服务器资源浪费的均衡游戏服务器负载的方法。
本发明是通过以下技术方案予以实现:
一种均衡游戏服务器负载的方法,其特征在于,包括以下步骤:
维护服务器列表,该列表中包含当前提供游戏服务的多个服务器信息表,
实时监测服务器列表中多个服务器的负载水平,
当任一服务器的负载水平大于第一阈值时,将该服务器信息列入超载服务器列表,当任一服务器的负载水平小于第一阈值时,将该服务器信息列入轻载服务器列表,
从轻载服务器列表中选择任意一个服务器信息发送给客户端,供客户端与该服务器建立通信连接。
优选的,当任意两个服务器的负载水平之和小于第一阈值时,将其中一个服务器的负载转移到另一个服务器上。
优选的,服务器的负载水平包括与该服务器建立连接的客户端数量。
优选的,服务器的负载水平为该服务器的CPU利用率、内存利用率以及网络宽带占用率中的任意一项。
本发明的有益效果是:
通过本方法既可以避免个别服务器负载过重影响游戏体验,又可以当服务器负载较低时,释放另一个服务器上的资源,从而实现服务器间灵活的用户分配和资源管理。
附图说明
图1是本发明的原理结构示意图。
具体实施方式
为了使本技术领域的技术人员更好地理解本发明的技术方案,下面结合附图和最佳实施例对本发明作进一步的详细说明。
如图所示,本发明包括以下步骤:
维护服务器列表,该列表中包含当前提供游戏服务的多个服务器信息表,
实时监测服务器列表中多个服务器的负载水平,
当任一服务器的负载水平大于第一阈值时,将该服务器信息列入超载服务器列表,当任一服务器的负载水平小于第一阈值时,将该服务器信息列入轻载服务器列表,超载服务器列表中的服务器信息不再发送给客户端,防止服务器负载过高,影响游戏体验,随着超载服务器负载水平的降低,实时监测会刷新负载水平,从而将其重新列入轻载服务器列表,
从轻载服务器列表中选择任意一个服务器信息发送给客户端,供客户端与该服务器建立通信连接,能够保证玩家良好的游戏体验,防止个别服务器负载过高。
优选的,当任意两个服务器的负载水平之和小于第一阈值时,将其中一个服务器的负载转移到另一个服务器上,当服务器负载较低时,可以释放另一个服务器上的资源,从而实现服务器间灵活的用户分配和资源管理。
优选的,服务器的负载水平包括与该服务器建立连接的客户端数量,连接的客户端数量越多,说明服务器负载水平越高。
优选的,服务器的负载水平为该服务器的CPU利用率、内存利用率以及网络宽带占用率中的任意一项,CPU利用率、内存利用率以及网络宽带占用率越高,说明服务器负载水平越高。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (4)

1.一种均衡游戏服务器负载的方法,其特征在于,包括以下步骤:
维护服务器列表,该列表中包含当前提供游戏服务的多个服务器信息表,
实时监测服务器列表中多个服务器的负载水平,
当任一服务器的负载水平大于第一阈值时,将该服务器信息列入超载服务器列表,当任一服务器的负载水平小于第一阈值时,将该服务器信息列入轻载服务器列表,
从轻载服务器列表中选择任意一个服务器信息发送给客户端,供客户端与该服务器建立通信连接。
2.根据权利要求1所述的一种均衡游戏服务器负载的方法,其特征在于,当任意两个服务器的负载水平之和小于第一阈值时,将其中一个服务器的负载转移到另一个服务器上。
3.根据权利要求1或2所述的一种均衡游戏服务器负载的方法,其特征在于,服务器的负载水平包括与该服务器建立连接的客户端数量。
4.根据权利要求1或2所述的一种均衡游戏服务器负载的方法,其特征在于,服务器的负载水平为该服务器的CPU利用率、内存利用率以及网络宽带占用率中的任意一项。
CN201810926304.9A 2018-08-15 2018-08-15 一种均衡游戏服务器负载的方法 Pending CN109274713A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810926304.9A CN109274713A (zh) 2018-08-15 2018-08-15 一种均衡游戏服务器负载的方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810926304.9A CN109274713A (zh) 2018-08-15 2018-08-15 一种均衡游戏服务器负载的方法

Publications (1)

Publication Number Publication Date
CN109274713A true CN109274713A (zh) 2019-01-25

Family

ID=65153629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810926304.9A Pending CN109274713A (zh) 2018-08-15 2018-08-15 一种均衡游戏服务器负载的方法

Country Status (1)

Country Link
CN (1) CN109274713A (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110955524A (zh) * 2019-11-27 2020-04-03 北京网聘咨询有限公司 服务器优化调度方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110955524A (zh) * 2019-11-27 2020-04-03 北京网聘咨询有限公司 服务器优化调度方法

Similar Documents

Publication Publication Date Title
CN103442030B (zh) 发送和处理业务请求信息的方法和系统以及客户端装置
Greenberg et al. The cost of a cloud: research problems in data center networks
CN102984144B (zh) 一种手机游戏撮合竞技比赛的自由撮合方法
CN107147730B (zh) 游戏场景管理方法与场景管理服务器
JP2017511644A5 (zh)
WO2008112694A3 (en) Systems and methods for load balancing based on user selected metrics
CN102035864B (zh) 一种开放式服务的实现方法及系统
CN105721552B (zh) 一种基于dns实现动态负载均衡的方法及dns系统
US9930107B2 (en) Method and apparatus for load balancing in communication system
CN104092650A (zh) 一种分配业务请求的方法和装置
EP2996285A1 (en) Scheduling method, apparatus and system
CN105247834B (zh) 虚拟网络功能中网络资源的分配方法、编排器及管理器
CN102469409A (zh) 一种多媒体会议实现方法和装置
CN107645540A (zh) web应用系统的负载均衡方法
CN103346978A (zh) 一种虚拟机网络带宽公平性和稳定性保障方法
CN109274713A (zh) 一种均衡游戏服务器负载的方法
US20140355479A1 (en) Method and system for user based network analysis and planning
CN103812685B (zh) 同时在线统计系统及统计方法
KR101448413B1 (ko) Atca-기반 장비에서 통신 트래픽을 스케줄링하기 위한 방법 및 장치
Marsden et al. From one edge to the other: Exploring gaming's rising presence on the network
CN103618772A (zh) 基于主机压力的负载均衡分发方法
CN105471762B (zh) 一种电力通信网拓扑的时间感知服务降级方法
CN114338425B (zh) 一种网络规划方法、装置和存储介质
CN206042227U (zh) 一种分布式视频监控平台
CN102694833A (zh) 多播树建立方法及多播系统中的服务器和节点

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190125

WD01 Invention patent application deemed withdrawn after publication