CN103166871A - System and method of large-scale internet server network to achieve load balancing - Google Patents
System and method of large-scale internet server network to achieve load balancing Download PDFInfo
- Publication number
- CN103166871A CN103166871A CN2012102566221A CN201210256622A CN103166871A CN 103166871 A CN103166871 A CN 103166871A CN 2012102566221 A CN2012102566221 A CN 2012102566221A CN 201210256622 A CN201210256622 A CN 201210256622A CN 103166871 A CN103166871 A CN 103166871A
- Authority
- CN
- China
- Prior art keywords
- server
- client
- service
- network
- boot
- 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
Links
Landscapes
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a system and a method of a large-scale internet server network to achieve load balancing. The system and the method comprise a first step that a business server sends heartbeat data to a guiding server, and a second step that the guiding server judges present state of the corresponding business server according to the heartbeat data, guides a client correspondingly to the business server if the state is normal, and does not distribute the client to the business server if the state is abnormal. Compared with the prior art, the guiding server judges the working state and loading condition of the business server, distributes the client to the business server which can work normally and does not overload when the client requests service, and does not distribute the client to the business server which can not work normally and overloads. The system and the method achieve the goal that network load can convert to other servers which can work normally under a condition that individual server is not effective in a large number of server groups, and can add the restored server into the system in time after the server which is not effective is restored and provide service for the client.
Description
Technical field
The invention belongs to the Internet communication technology field, what be specifically related to is the system and method that a kind of Large-Scale Interconnected network server network is realized load balancing, be mainly used in realizing in the Large-Scale Interconnected net, load balancing between numerous service servers, and when solving individual servers and losing efficacy, traffic load can not be distributed to the normal operation server and share, and can't guarantee the problem of user network service.
Background technology
At present, network application develops in depth just comprehensively, and enterprise online and e-government implementation win initial success.Along with the development of network technology, educational information network and remote teaching network etc. is also popularized, and various places have all been built up educational information network in succession, have driven the development of network application.
A website that gears to the needs of the society, especially the website of the aspects such as finance, telecommunications, education and retail, the user of every day online is countless, and may be all the same server of Concurrency Access or same file simultaneously, so just be easy to produce the communication choking phenomenon; Add the quality problems of Internet circuit, also easily cause the phenomenon that data are stopped up, make people have to take long to and access a website, also may see time and again certain website " server is too busy ", or frequently meet with the system failure.Therefore, how optimizing the performance of information system, is the problem that people generally are concerned about with the disposal ability that improves whole information system.
Due to each core of information system rapid growth along with raising, visit capacity and the data traffic of traffic carrying capacity, its disposal ability and calculating strength be corresponding increase also, make single equipment can't bear at all, must adopt the multiple servers collaborative work, improve disposal ability and the calculating strength of computer system, to satisfy the demand of current business amount.And how to realize load balancing between numerous service servers, especially when certain station server lost efficacy, how system accomplishes timely reaction, traffic load being distributed to the server of normal operation shares, assurance is for the user in time provides service, is the difficult problem that needs to be resolved hurrily of all Large-Scale Interconnected nets systems at present.
Summary of the invention
For this reason, the object of the present invention is to provide a kind of Large-Scale Interconnected network server network to realize the system and method for load balancing, lost efficacy because of individual servers wherein to solve present Large-Scale Interconnected net system, causing failed server traffic load can't be distributed to other servers shares, the network failure that occurs can't in time provide the problem of service for the user.
The objective of the invention is to be achieved through the following technical solutions.
A kind of Large-Scale Interconnected network server network is realized the system of load balancing, comprise client and a plurality of service server, be connected by network between described client and a plurality of service servers, wherein also include at least one Boot Server, all service servers are connected with client by this Boot Server and network, described Boot Server is used for obtaining the information of every service server, according to the state of this information recording/corresponding with service device, and distribute client according to the state of record for this service server.
Preferably, described client is panel computer, PC, mobile phone or above-mentioned combination in any.
Preferably, the information that described Boot Server obtains every service server comprises heartbeat data, and this heartbeat data is made of operating state data and the load condition data of service server.
Preferably, described load condition data comprise the resource operating position of client terminal quantity that this service server connects and CPU, internal memory, memory.
In addition, the present invention also provides a kind of Large-Scale Interconnected network server network to realize the method for load balancing, comprises step:
A, service server send heartbeat data to Boot Server,
B, Boot Server judge the current state of corresponding service server according to this heartbeat data, if normal, enter step C; If abnormal, enter step D;
C, Boot Server are directed to the client correspondence on this service server;
D, Boot Server do not distribute client for this service server.
Preferably, comprise before steps A:
Guarantee that client is connected with Boot Server by network, and all service servers are connected with Boot Server.
Preferably, steps A comprises:
All service servers send a heartbeat data to Boot Server after at interval of the one-period time T.
Preferably, step B comprises:
Boot Server is according to the current state of the corresponding service server of this heartbeat data judgement, if Boot Server each interval time of cycle T can be received the heartbeat data of this service server, assert that it is normal, and according to its load condition, the corresponding client of distributing; If three, Boot Server interval period of time T is not received heartbeat data, assert that this service server is abnormal, and corresponding in Boot Server mark its for losing efficacy, when client-requested serve, be not this service server distribution client.
Preferably, be provided with in described Boot Server be used to the service server state table that records every service server operating state and load condition.
Preferably, for the service server that lost efficacy, if after repairing, Boot Server can continuous three interval time cycle T receive its heartbeat data, assert that it is normal, and when client was sent request service, the guiding client was to this service server.
The present invention compared with prior art, beneficial effect is: a kind of Large-Scale Interconnected network server network provided by the invention is realized the system and method for load balancing, by having increased a Boot Server, utilize this Boot Server that service server operating state and the load condition that all are attached thereto judged, and when client-requested is served, for normal operation and not the service server of excess load distribute client, and to losing efficacy or the service server of excess load does not distribute client.Compared with prior art, the present invention has realized in the situation of individual servers inefficacy in a large amount of server zones, network load can in time be transferred to the server of other normal operation, and after the server that lost efficacy was repaired, also can in time add in system provided service for client.
Description of drawings
Fig. 1 is system principle diagram of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, 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, is not intended to limit the present invention.
The present invention is to provide a kind of Large-Scale Interconnected network server network and realize the system and method for load balancing, by increasing at least one Boot Server, all service server operating state and load conditions that are attached thereto are judged, and when client-requested is served, for normal operation and not the service server of excess load distribute client, and to losing efficacy or the service server of excess load does not distribute client.The invention solves present Large-Scale Interconnected net system and lost efficacy because of individual servers wherein, cause failed server traffic load can't be distributed to other servers and share, the network failure of appearance can't in time provide the problem of service for the user.
See also shown in Figure 1ly, Fig. 1 is system principle diagram of the present invention.the present invention is to provide a kind of Large-Scale Interconnected network server network and realize the system of load balancing, this system includes a plurality of clients and a plurality of service server, described client can be panel computer, PC, mobile phone or above-mentioned combination in any, it can be also other the electronic device terminal that can be connected to network, be connected by network between described a plurality of client and a plurality of service servers, wherein also include at least one Boot Server in this system, all service servers are connected with client by above-mentioned Boot Server and network, described Boot Server is used for obtaining the heartbeat data of every service server, this heartbeat data is made of operating state data and the load condition data of service server, described load condition data comprise client terminal quantity and the CPU that this service server connects, internal memory, the resource operating position of memory, Boot Server can be produced the service server state table according to operating state and the load condition record of this above-mentioned service server, and be that corresponding service server distributes client according to the state of record.
Wherein because Boot Server in the present invention becomes crucial single-point in system, if Boot Server lost efficacy, will cause whole system to provide service for the user, for this reason, the present invention has adopted at least one Boot Server (two or more), and when one of them went wrong, the standby horse back of another one was enabled, can effectively prevent because the Boot Server fault causes network failure the problem that can't provide services on the Internet for the user.
Be more than that Large-Scale Interconnected network server network of the present invention is realized that the system of load balancing has been described in detail, the below will realize that the method for load balancing is further described to Large-Scale Interconnected network server network of the present invention.
The present invention also provides a kind of Large-Scale Interconnected network server network to realize the method for load balancing, and it comprises that specifically step is as follows:
At first guarantee that client is connected with Boot Server by network, and all service servers are connected with Boot Server, and guarantee that network is in unimpeded state, standby Boot Server is in stand-by state.
A, service server send heartbeat data to Boot Server,
All service servers send a heartbeat data to Boot Server after at interval of the one-period time T.
Wherein heartbeat data has two effects, and one means that book server is still in normal operation; The 2nd, comprised the load condition of book server in data, as, the client terminal quantity of connection, the operating position of the server resources such as CPU, internal memory, storage.
B, Boot Server judge the current state of corresponding service server according to this heartbeat data, if normal, enter step C; If abnormal, enter step D;
Boot Server is according to the current state of the corresponding service server of this heartbeat data judgement, if Boot Server each interval time of cycle T can be received the heartbeat data of this service server, assert that it is normal, and according to its load condition, the corresponding client of distributing; If three, Boot Server interval period of time T is not received heartbeat data, assert that this service server is abnormal, and corresponding in Boot Server mark its for losing efficacy, when client-requested serve, be not this service server distribution client.
But for the service server that lost efficacy, if after repairing, Boot Server can continuous three interval time cycle T receive its heartbeat data, assert that it is normal, and when client was sent request service, the guiding client was to this service server.
C, Boot Server are directed to the client correspondence on this service server;
D, Boot Server do not distribute client for this service server.
In sum, the invention solves in Large-Scale Interconnected network server network, the problem of load balancing of service server, especially solved in the situation that in a large amount of server zones, individual servers lost efficacy, the problem that can't provide services on the Internet for client, by network load in time being transferred to the server of other normal operation, and after the server that lost efficacy was repaired, also can in time add in system provided service for client.
More than that a kind of Large-Scale Interconnected network server network provided by the present invention is realized that the system and method for load balancing is described in detail, used specific case herein structural principle of the present invention and execution mode are set forth, above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (10)
1. a Large-Scale Interconnected network server network is realized the system of load balancing, comprise client and a plurality of service server, be connected by network between described client and a plurality of service servers, characterized by further comprising at least one Boot Server, all service servers are connected with client by this Boot Server and network, described Boot Server is used for obtaining the information of every service server, according to the state of this information recording/corresponding with service device, and distribute client according to the state of record for this service server.
2. Large-Scale Interconnected network server network according to claim 1 is realized the system of load balancing, it is characterized in that described client is panel computer, PC, mobile phone or above-mentioned combination in any.
3. Large-Scale Interconnected network server network according to claim 1 is realized the system of load balancing, it is characterized in that the information that described Boot Server obtains every service server comprises heartbeat data, this heartbeat data is made of operating state data and the load condition data of service server.
4. Large-Scale Interconnected network server network according to claim 3 is realized the system of load balancing, it is characterized in that the resource operating position of client terminal quantity that described load condition data comprise that this service server connects and CPU, internal memory, memory.
5. a Large-Scale Interconnected network server network is realized the method for load balancing, it is characterized in that comprising step:
A, service server send heartbeat data to Boot Server,
B, Boot Server judge the current state of corresponding service server according to this heartbeat data, if normal, enter step C; If abnormal, enter step D;
C, Boot Server are directed to the client correspondence on this service server;
D, Boot Server do not distribute client for this service server.
6. Large-Scale Interconnected network server network according to claim 5 is realized the method for load balancing, it is characterized in that comprising before steps A:
Guarantee that client is connected with Boot Server by network, and all service servers are connected with Boot Server.
7. Large-Scale Interconnected network server network according to claim 5 is realized the method for load balancing, it is characterized in that steps A comprises:
All service servers send a heartbeat data to Boot Server after at interval of the one-period time T.
8. Large-Scale Interconnected network server network according to claim 5 is realized the method for load balancing, it is characterized in that step B comprises:
Boot Server is according to the current state of the corresponding service server of this heartbeat data judgement, if Boot Server each interval time of cycle T can be received the heartbeat data of this service server, assert that it is normal, and according to its load condition, the corresponding client of distributing; If three, Boot Server interval period of time T is not received heartbeat data, assert that this service server is abnormal, and corresponding in Boot Server mark its for losing efficacy, when client-requested serve, be not this service server distribution client.
9. Large-Scale Interconnected network server network according to claim 5 is realized the method for load balancing, it is characterized in that being provided with in described Boot Server the service server state table be used to recording every service server operating state and load condition.
10. according to claim 5 or 8 described Large-Scale Interconnected network server networks are realized the method for load balancing, it is characterized in that:
For the service server that lost efficacy, if after repairing, Boot Server can continuous three interval time cycle T receive its heartbeat data, assert that it is normal, and when client was sent request service, the guiding client was to this service server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012102566221A CN103166871A (en) | 2012-07-24 | 2012-07-24 | System and method of large-scale internet server network to achieve load balancing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012102566221A CN103166871A (en) | 2012-07-24 | 2012-07-24 | System and method of large-scale internet server network to achieve load balancing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103166871A true CN103166871A (en) | 2013-06-19 |
Family
ID=48589621
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012102566221A Pending CN103166871A (en) | 2012-07-24 | 2012-07-24 | System and method of large-scale internet server network to achieve load balancing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103166871A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103973809A (en) * | 2014-05-22 | 2014-08-06 | 北京锐安科技有限公司 | Data distributing method and system |
CN105049509A (en) * | 2015-07-23 | 2015-11-11 | 浪潮电子信息产业股份有限公司 | Cluster scheduling method, load balancer and clustering system |
CN105071956A (en) * | 2015-07-23 | 2015-11-18 | 苏州汉明科技有限公司 | Communication method and system for commercial WIFI |
CN106411984A (en) * | 2015-08-03 | 2017-02-15 | 天脉聚源(北京)科技有限公司 | Network load balancing method based on WeChat platform and system thereof |
CN107196777A (en) * | 2016-03-14 | 2017-09-22 | 阿里巴巴集团控股有限公司 | A kind of method and apparatus of application processing |
CN107243156A (en) * | 2017-06-30 | 2017-10-13 | 珠海金山网络游戏科技有限公司 | A kind of large-scale distributed network game server system |
CN109062739A (en) * | 2018-08-28 | 2018-12-21 | 深圳市网心科技有限公司 | Dispatch server, load-balancing method, system and readable storage medium storing program for executing |
WO2019100268A1 (en) * | 2017-11-22 | 2019-05-31 | 深圳市沃特沃德股份有限公司 | Method and apparatus for connecting engine |
CN111092948A (en) * | 2019-12-20 | 2020-05-01 | 深圳前海达闼云端智能科技有限公司 | Guiding method, guiding server, server and storage medium |
CN113596170A (en) * | 2021-08-03 | 2021-11-02 | 上海浦东发展银行股份有限公司 | Load balancing equipment-based shutdown processing method, device, medium and equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010036181A1 (en) * | 1999-12-23 | 2001-11-01 | Rogers Steven A. | Network switch with packet scheduling |
CN101207626A (en) * | 2007-12-05 | 2008-06-25 | 中兴通讯股份有限公司 | Control protocol and corresponding remote video supervisory control system |
CN101571813A (en) * | 2009-01-04 | 2009-11-04 | 四川川大智胜软件股份有限公司 | Master/slave scheduling method in multimachine assembly |
CN101605092A (en) * | 2009-07-10 | 2009-12-16 | 浪潮电子信息产业股份有限公司 | A kind of content-based SiteServer LBS |
-
2012
- 2012-07-24 CN CN2012102566221A patent/CN103166871A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010036181A1 (en) * | 1999-12-23 | 2001-11-01 | Rogers Steven A. | Network switch with packet scheduling |
CN101207626A (en) * | 2007-12-05 | 2008-06-25 | 中兴通讯股份有限公司 | Control protocol and corresponding remote video supervisory control system |
CN101571813A (en) * | 2009-01-04 | 2009-11-04 | 四川川大智胜软件股份有限公司 | Master/slave scheduling method in multimachine assembly |
CN101605092A (en) * | 2009-07-10 | 2009-12-16 | 浪潮电子信息产业股份有限公司 | A kind of content-based SiteServer LBS |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103973809A (en) * | 2014-05-22 | 2014-08-06 | 北京锐安科技有限公司 | Data distributing method and system |
CN103973809B (en) * | 2014-05-22 | 2017-10-31 | 北京锐安科技有限公司 | A kind of data distributing method and system |
CN105049509A (en) * | 2015-07-23 | 2015-11-11 | 浪潮电子信息产业股份有限公司 | Cluster scheduling method, load balancer and clustering system |
CN105071956A (en) * | 2015-07-23 | 2015-11-18 | 苏州汉明科技有限公司 | Communication method and system for commercial WIFI |
CN106411984A (en) * | 2015-08-03 | 2017-02-15 | 天脉聚源(北京)科技有限公司 | Network load balancing method based on WeChat platform and system thereof |
CN107196777A (en) * | 2016-03-14 | 2017-09-22 | 阿里巴巴集团控股有限公司 | A kind of method and apparatus of application processing |
CN107243156A (en) * | 2017-06-30 | 2017-10-13 | 珠海金山网络游戏科技有限公司 | A kind of large-scale distributed network game server system |
WO2019100268A1 (en) * | 2017-11-22 | 2019-05-31 | 深圳市沃特沃德股份有限公司 | Method and apparatus for connecting engine |
CN109062739A (en) * | 2018-08-28 | 2018-12-21 | 深圳市网心科技有限公司 | Dispatch server, load-balancing method, system and readable storage medium storing program for executing |
CN109062739B (en) * | 2018-08-28 | 2022-04-01 | 深圳市网心科技有限公司 | Scheduling server, load balancing method, system and readable storage medium |
CN111092948A (en) * | 2019-12-20 | 2020-05-01 | 深圳前海达闼云端智能科技有限公司 | Guiding method, guiding server, server and storage medium |
CN113596170A (en) * | 2021-08-03 | 2021-11-02 | 上海浦东发展银行股份有限公司 | Load balancing equipment-based shutdown processing method, device, medium and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103166871A (en) | System and method of large-scale internet server network to achieve load balancing | |
CN102843436B (en) | A kind of device management method, equipment, server and system | |
CN102708173B (en) | Method and system for processing user requests of accessing to web pages | |
CN105337755B (en) | The system of the method and processing business of client/server server and its processing business | |
CN108009028A (en) | Message treatment method, device, equipment and computer-readable recording medium | |
CN105407180A (en) | Server message pushing method and device | |
CN103209223A (en) | Distributed application conversation information sharing method and system and application server | |
CN106210147A (en) | A kind of load-balancing method based on poll and device | |
CN103179099B (en) | A kind ofly access the uniform authentication method of open website platform and a kind of website platform | |
CN103731462A (en) | Remote storage system and method of network attached storage (NAS) device | |
CN107888666A (en) | A kind of cross-region data-storage system and method for data synchronization and device | |
WO2006078502A3 (en) | Systems, methods, and software for distributed loading of databases | |
CN101588344A (en) | System and method for controlling same account login in network system | |
CN104144202B (en) | Access method, system and the device of Hadoop distributed file system | |
CN103997523A (en) | Smart city service system based on cloud services and implementation method thereof | |
CN103581111A (en) | Communication method and system | |
CN109062681A (en) | A kind of execution method, system, device and the storage medium of periodic cycle task | |
CN107689941A (en) | A kind of apparatus and method for preventing same user's repeat logon | |
CN106487834A (en) | A kind of method that server providing services are disposed on cloud platform | |
CN201985898U (en) | Communication service load balancing system | |
CN109165112A (en) | A kind of fault recovery method, system and the associated component of metadata cluster | |
CN103716230A (en) | Message sending method, device and server | |
CN109451029A (en) | A kind of data cache method, device, equipment and the medium of distributed objects storage | |
CN201387555Y (en) | Comprehensive remote control monitoring system | |
CN105338069A (en) | Conversation sharing method crossing web containers, system and web application server |
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 |
Application publication date: 20130619 |
|
RJ01 | Rejection of invention patent application after publication |