CN103618772A - Load balance distribution method based on host pressure - Google Patents

Load balance distribution method based on host pressure Download PDF

Info

Publication number
CN103618772A
CN103618772A CN201310584102.8A CN201310584102A CN103618772A CN 103618772 A CN103618772 A CN 103618772A CN 201310584102 A CN201310584102 A CN 201310584102A CN 103618772 A CN103618772 A CN 103618772A
Authority
CN
China
Prior art keywords
gateway server
load
gateway
links
load equalizer
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.)
Granted
Application number
CN201310584102.8A
Other languages
Chinese (zh)
Other versions
CN103618772B (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.)
ZHEJIANG CREAWAY AUTOMATION ENGINEERING Co Ltd
State Grid Corp of China SGCC
Information and Telecommunication Branch of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
ZHEJIANG CREAWAY AUTOMATION ENGINEERING Co Ltd
State Grid Corp of China SGCC
Information and Telecommunication Branch of State Grid Zhejiang Electric Power 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 ZHEJIANG CREAWAY AUTOMATION ENGINEERING Co Ltd, State Grid Corp of China SGCC, Information and Telecommunication Branch of State Grid Zhejiang Electric Power Co Ltd filed Critical ZHEJIANG CREAWAY AUTOMATION ENGINEERING Co Ltd
Priority to CN201310584102.8A priority Critical patent/CN103618772B/en
Publication of CN103618772A publication Critical patent/CN103618772A/en
Application granted granted Critical
Publication of CN103618772B publication Critical patent/CN103618772B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a load balance distribution method, in particular to a load balance distribution method based on host pressure. For a traditional load balance technology, some servers are prone to being overloaded during load distribution. The load balance distribution method comprises the following steps that the weight is set according to hardware configuration situations of each gateway server; a load balancer maintains a gateway server list and the weight information of each gateway server; the load balancer determines distribution paths, and updates the current link number of each gateway server; every time the load balancer distributes a link to each gateway server, the current link number plus one is achieved by a counter; when the service of one gateway server is abnormal, the load balancer distributes the links of the abnormal gateway server to other gateway servers; when the load of the corresponding gateway server is larger than a preset threshold value, new links are not distributed to the corresponding gateway server any longer. According to the technical scheme, the situation that system performance is limited due to the fact that some gateway servers are overloaded can be effectively avoided.

Description

Load balancing distribution method based on main frame pressure
Technical field
The present invention relates to a kind of load balancing distribution method, the load balancing distribution method that especially large-scale data gathers.
Background technology
The reliability of system will be leaned on the Technical Architecture of system, any one node is single-point, capital becomes the bottleneck of high availability, need holding load Equalization Design, support linear expansion, traditional load-balancing technique adopts the fixed policy such as random distribution, weight classification, minimum linking number distribution mostly, causes dividing the situation of mixing a few overloads of easy generation in the load of server.
Summary of the invention
The technical assignment of the technical problem to be solved in the present invention and proposition is that prior art scheme is improved and improved, and provides the distribution method of the load balancing based on main frame pressure, to reach the object of load balancing.For this reason, the present invention takes following technical scheme.
Load balancing distribution method based on main frame pressure, is characterized in that comprising the following steps:
1) according to the hardware configuration situation of each gateway server, set weight, by maximum, can bear number of links pressure by gateway server stepping;
2) load equalizer is safeguarded the weight information of gateway server list and each gateway server;
3) load equalizer is received after terminal connection request, determines distribution path, and upgrade the number of links of current each gateway server according to gateway server weight and current each gateway server number of links; Load equalizer regularly obtains the current number of links of gateway server by each gateway monitoring port, revises local record;
4) load equalizer, to connection of the every distribution of gateway server, adds 1 by the current number of links meter of gateway server;
5) when the service of a gateway server occurs when abnormal, it to be deleted from load equalizer server list, load equalizer is dispensed to the link of former abnormal gateway server on gateway server according to the link stress equilibrium of current all the other gateway servers; After this gateway server Resume service, again add, by load equalizer, again redistribute its link;
6) if the load of certain gateway server surpasses default threshold values, the weight of this gateway server is made as to zero, represent that load equalizer is no longer assigned to new connection on this gateway server.The hardware configuration of considering while setting weight is mainly machine internal memory, CPU etc.Health status and the pressure of load equalizer periodic monitor gateway, by configuring corresponding weight, distribute connection, by the pressure to gateway server, monitor, based on each gateway current pressure, take suitable distribution policy, can effectively avoid a few gateway server overloads and the situation generation of generation systematic function bottleneck.
As the further of technique scheme improved and supplemented, the present invention also comprises following additional technical feature.
Load equalizer can bear number of links according to gateway server maximum and set the number of links threshold values with 10%-30% redundancy; Load equalizer is set the gateway node quantity with 10%-30% redundancy according to on-site terminal quantity, gateway node dynamically increases or reduces.
Gateway server can bear number of links pressure minute third gear by maximum: category-A, category-B, C class.By gateway server stepping, be conducive to the management to gateway server.
The maximum link quantity that wherein category-A can bear is 80,000; The maximum link quantity that the maximum link quantity that category-B can bear is 160,000, C class can be born is 200,000.
Beneficial effect: the technical program is taked suitable distribution policy based on each gateway current pressure, the situation generation that can effectively avoid a few gateway server overloads and produce systematic function bottleneck, then avoid taking terminal connection request that high overload causes and message and sending the situation that cannot respond in time and occur because NM server memory source takies too high, cpu resource, thereby improve reliability, the stability of gateway server work.
Accompanying drawing explanation
Fig. 1 is principle assumption diagram of the present invention.
Embodiment
Below in conjunction with Figure of description, technical scheme of the present invention is described in further detail.
As shown in Figure 1, gateway server is realized the load-balancing function that terminal links is safeguarded by load equalizer, and terminal links is distributed to gateway server by load equalizer by rule, and gateway server can dynamically increase and reduce node.Health status and the pressure of load equalizer periodic monitor gateway server, distribute connection by configuring corresponding weight, and it comprises the following steps:
1) according to the hardware configuration situation of each gateway server, set weight, by maximum, can bear number of links pressure gateway server is divided into third gear: category-A (80,000), category-B (160,000), C class (200,000);
2) in load equalizer, safeguard the weight information of gateway server list and each gateway server;
3) load equalizer is received after terminal connection request, determines distribution path, and upgrade the number of links of current each gateway server according to gateway server weight and current each gateway server number of links; Load equalizer can regularly obtain the current number of links of gateway server by each gateway server monitoring port, revises local record;
4) load equalizer, to connection of the every distribution of gateway server, adds 1 by the current number of links meter of gateway server, and can bear number of links maintenance certain proportion redundancy by gateway server maximum; Acquiescence redundancy is 20%, also can bear the adjusting of link total quantity situation according to gateway server total quantity and maximum; Because a station terminal needs a link, the configuration of gateway server also needs to keep certain redundancy according to on-site terminal quantity, and gateway server node can dynamically increase;
5) when the service of certain gateway server occurs when abnormal, it to be deleted from load equalizer server list, load equalizer is dispensed to the link of former abnormal server on each gateway server according to the link stress equilibrium of current each gateway server; After this gateway server Resume service, again add, by load equalizer, again redistribute link;
6) if the load of certain gateway server surpasses default threshold values, the weight of this gateway server is made as to zero, represent that load equalizer is no longer assigned to new connection on this gateway server.
The load balancing distribution method based on main frame pressure shown in above Fig. 1 is specific embodiments of the invention; substantive distinguishing features of the present invention and progress have been embodied; can be according to actual use needs; under enlightenment of the present invention; it is carried out to the equivalent modifications of the aspects such as shape, structure, all at the row of the protection range of this programme.

Claims (4)

1. the load balancing distribution method based on main frame pressure, is characterized in that comprising the following steps:
1) according to the hardware configuration situation of each gateway server, set weight, by maximum, can bear number of links pressure by gateway server stepping;
2) load equalizer is safeguarded the weight information of gateway server list and each gateway server;
3) load equalizer is received after terminal connection request, determines distribution path, and upgrade the number of links of current each gateway server according to gateway server weight and current each gateway server number of links; Load equalizer regularly obtains the current number of links of gateway server by each gateway monitoring port, revises local record;
4) load equalizer, to connection of the every distribution of gateway server, adds 1 by the current number of links meter of gateway server;
5) when the service of a gateway server occurs when abnormal, it to be deleted from load equalizer server list, load equalizer is dispensed to the link of former abnormal gateway server on gateway server according to the link stress equilibrium of current all the other gateway servers; After this gateway server Resume service, again add, by load equalizer, again redistribute its link;
6) if the load of certain gateway server surpasses default threshold values, the weight of this gateway server is made as to zero, represent that load equalizer is no longer assigned to new connection on this gateway server.
2. the load balancing distribution method based on main frame pressure according to claim 1, is characterized in that: load equalizer can bear number of links according to gateway server maximum and set the number of links threshold values with 10%-30% redundancy; Load equalizer is set the gateway node quantity with 10%-30% redundancy according to on-site terminal quantity, gateway node dynamically increases or reduces.
3. the load balancing distribution method based on main frame pressure according to claim 2, is characterized in that: gateway server can bear number of links pressure minute third gear by maximum: category-A, category-B, C class.
4. the load balancing distribution method based on main frame pressure according to claim 3, is characterized in that: the maximum link quantity that wherein category-A can bear is 80,000; The maximum link quantity that the maximum link quantity that category-B can bear is 160,000, C class can be born is 200,000.
CN201310584102.8A 2013-11-20 2013-11-20 The load balance distribution method of Intrusion Detection based on host pressure Active CN103618772B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310584102.8A CN103618772B (en) 2013-11-20 2013-11-20 The load balance distribution method of Intrusion Detection based on host pressure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310584102.8A CN103618772B (en) 2013-11-20 2013-11-20 The load balance distribution method of Intrusion Detection based on host pressure

Publications (2)

Publication Number Publication Date
CN103618772A true CN103618772A (en) 2014-03-05
CN103618772B CN103618772B (en) 2018-12-11

Family

ID=50169476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310584102.8A Active CN103618772B (en) 2013-11-20 2013-11-20 The load balance distribution method of Intrusion Detection based on host pressure

Country Status (1)

Country Link
CN (1) CN103618772B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209666A (en) * 2015-05-07 2016-12-07 中兴通讯股份有限公司 A kind of link multiplexing method based on load equalizer and system
CN107846338A (en) * 2017-12-11 2018-03-27 宁波翼动通讯科技有限公司 A kind of distributed low-power consumption wide area network system and its control method
CN108111239A (en) * 2017-12-20 2018-06-01 北斗七星(重庆)物联网技术有限公司 Improve method, apparatus, equipment and the medium of the reliability of Internet of Things information transmission
CN109154896A (en) * 2016-04-29 2019-01-04 思杰系统有限公司 System and method for service chaining load balance
CN113112139A (en) * 2021-04-07 2021-07-13 上海联蔚盘云科技有限公司 Cloud platform bill processing method and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534244A (en) * 2009-02-09 2009-09-16 华为技术有限公司 Method, device and system for load distribution
CN102638407A (en) * 2012-04-17 2012-08-15 北京星网锐捷网络技术有限公司 Message forwarding method, device and network equipment
CN103118076A (en) * 2013-01-11 2013-05-22 烽火通信科技股份有限公司 Upgraded server cluster system and load balancing method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534244A (en) * 2009-02-09 2009-09-16 华为技术有限公司 Method, device and system for load distribution
CN102638407A (en) * 2012-04-17 2012-08-15 北京星网锐捷网络技术有限公司 Message forwarding method, device and network equipment
CN103118076A (en) * 2013-01-11 2013-05-22 烽火通信科技股份有限公司 Upgraded server cluster system and load balancing method thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209666A (en) * 2015-05-07 2016-12-07 中兴通讯股份有限公司 A kind of link multiplexing method based on load equalizer and system
CN106209666B (en) * 2015-05-07 2020-06-02 中兴通讯股份有限公司 Link multiplexing method and system based on load balancer
CN109154896A (en) * 2016-04-29 2019-01-04 思杰系统有限公司 System and method for service chaining load balance
CN109154896B (en) * 2016-04-29 2022-04-01 思杰系统有限公司 System and method for service chain load balancing
CN107846338A (en) * 2017-12-11 2018-03-27 宁波翼动通讯科技有限公司 A kind of distributed low-power consumption wide area network system and its control method
CN108111239A (en) * 2017-12-20 2018-06-01 北斗七星(重庆)物联网技术有限公司 Improve method, apparatus, equipment and the medium of the reliability of Internet of Things information transmission
CN113112139A (en) * 2021-04-07 2021-07-13 上海联蔚盘云科技有限公司 Cloud platform bill processing method and equipment

Also Published As

Publication number Publication date
CN103618772B (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN107040415B (en) Terminal, data reporting method, server and data receiving method
Dixit et al. Elasticon: an elastic distributed sdn controller
CN103618772A (en) Load balance distribution method based on host pressure
CN103618738B (en) Intelligent load distribution system and method for achieving TCP long connection and communication
CN103827828B (en) For the system and method for the flexibility that load balance and data compression are provided in flow director environment
CN108712464A (en) A kind of implementation method towards cluster micro services High Availabitity
CN106656533B (en) A kind of the load processing monitoring method and device of group system
CN102577241B (en) Method, device and system for scheduling distributed buffer resources
CN103369601A (en) Method for providing large concurrent processing and flow control for mobile phone client sides
WO2020019472A1 (en) Rating method for service node, domain name system (dns) scheduling method and server
CN102123087B (en) Method for quickly calibrating multi-level forwarding load balance and multi-level forwarding network system
JP5914245B2 (en) Load balancing method considering each node of multiple layers
EP2856318A1 (en) Method and apparatus for single point of failure elimination for cloud-based applications
CN105872079B (en) A kind of link equalization method based on domain name system DNS
CN107026907A (en) A kind of load-balancing method, load equalizer and SiteServer LBS
CN103259832A (en) Cluster resource control method for achieving dynamic load balance, fault diagnosis and failover
WO2008110983A1 (en) Dynamic load balancing
CN103368864A (en) Intelligent load balancing method based on c/s (Client/Server) architecture
CN104133727A (en) Load distribution method based on real-time resources
CN103095598A (en) Monitoring data aggregate method under large-scale cluster environment
US20200042608A1 (en) Distributed file system load balancing based on available node capacity
CN105808343A (en) Cluster resource control method used for complicated production management system
JP2018521439A (en) Method and apparatus for leveling load on distributed database
CN104363278A (en) Mass terminal communication access system
CN105553872A (en) Multipath data traffic load equalizing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100031 West Chang'an Avenue, Xicheng District, Xicheng District, Beijing

Applicant after: State Grid Corporation of China

Applicant after: Information communication branch office of Guo Wang Zhejiang Electric Power Company

Applicant after: Zhejiang Huayun Information Technology Co., Ltd.

Address before: 100031 West Chang'an Avenue, Xicheng District, Xicheng District, Beijing

Applicant before: State Grid Corporation of China

Applicant before: Information communication branch office of Guo Wang Zhejiang Electric Power Company

Applicant before: Zhejiang Creaway Automation Engineering Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant