CN105847171A - Network device overload protection method - Google Patents

Network device overload protection method Download PDF

Info

Publication number
CN105847171A
CN105847171A CN201610184538.1A CN201610184538A CN105847171A CN 105847171 A CN105847171 A CN 105847171A CN 201610184538 A CN201610184538 A CN 201610184538A CN 105847171 A CN105847171 A CN 105847171A
Authority
CN
China
Prior art keywords
value
network equipment
load
threshold value
load threshold
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
CN201610184538.1A
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.)
LeTV Holding Beijing Co Ltd
LeTV Cloud Computing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Cloud Computing 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 LeTV Holding Beijing Co Ltd, LeTV Cloud Computing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610184538.1A priority Critical patent/CN105847171A/en
Publication of CN105847171A publication Critical patent/CN105847171A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/29Flow control; Congestion control using a combination of thresholds

Abstract

The invention provides a network device overload protection method. The network device overload protection method is characterized in that when a service request of a request terminal is received, a current load state value of a network device can be compared with a predetermined load threshold value, and the predetermined load threshold value is smaller than the maximum load capability value of the network device; when the current load state value is greater than the predetermined load threshold value, a redirect message can be returned to the request terminal by a special response channel. The invention also provides a corresponding network device overload protection system. The network device overload protection method is advantageous in that by setting the load threshold value, the system resource can be reserved for the sending of the subsequent redirect message; the redirect message can be sent by the special response channel, and the communication congestion during the sending of the redirect message can be prevented to a certain extent; and in addition, the redirect message, not the error message, is sent to the request terminal, and then the request terminal is directly used for the requesting of other network devices without receiving the error prompt, and the user experience is not affected.

Description

Network equipment overload protection method
Technical field
The present embodiments relate to communication technical field, particularly relate to a kind of network equipment overload protection method.
Background technology
Modern network is along with the quick growth of raising, visit capacity and the data traffic of portfolio, for network The disposal ability of core and calculating strength demand are also increased dramatically, and this allows for single equipment and cannot hold at all Load.In the case, so load-balancing mechanism arises at the historic moment.
Fig. 1 is a kind of network equipment overload protection method flow chart in prior art, when receiving request end Service request time, if the network equipment has transshipped, network device processing time-out can return mistake, please Asking end to continue to retry access, the network equipment is easy to go wrong and have destructiveness in this case.
Summary of the invention
The problem existed for prior art, on the one hand the embodiment of the present invention provides a kind of network equipment mistake Carry guard method, including:
When the service receiving request end is asked, the current loading condition value of comparing cell equipment is with pre- The size of fixed load threshold value, wherein said predetermined load threshold value is less than the maximum load of the described network equipment Ability value;
If current loading condition value meets or exceeds predetermined load threshold value, then via special response channel to Request end returns redirection message.
On the other hand the embodiment of the present invention provides a kind of network equipment overload protective device, including:
Comparing unit, during for asking in the service receiving request end, comparing cell equipment current Load condition value and the size of predetermined load threshold value, wherein said predetermined load threshold value is less than described network The maximum load capability value of equipment;
Response unit, is used for when current loading condition value meets or exceeds predetermined load threshold value via specially Redirection message is returned to request end by response channel.
The present invention is by setting load threshold, and system money has been reserved in the transmission for follow-up redirection message Source;It addition, redirection message is sent via special response channel, avoid to a certain extent and reset Traffic congestion when message sends.Even if solving the network equipment in prior art and " having expired " negative Load but need nonetheless remain for request end and continues to retry the situation of access, it addition, by the network equipment to request end Send redirection message rather than error message so that request end is straight in the case of not receiving error prompting Connect and ask again with other network equipments, do not affect the experience of user.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under, Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of network equipment overload protection method flow chart in prior art;
Fig. 2 is one network equipment overload protection method embodiment flow chart of the present invention;
Fig. 3 is one network equipment overload protective device example structure schematic diagram of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise The every other embodiment obtained, broadly falls into the scope of protection of the invention.
As in figure 2 it is shown, a kind of network equipment overload protection method, including:
When the service receiving request end is asked, the current loading condition value of comparing cell equipment is with pre- The size of fixed load threshold value, wherein said predetermined load threshold value is less than the maximum load of the described network equipment Ability value;
If described current loading condition value meets or exceeds described predetermined load threshold value, then via special sound Passage is answered to return redirection message to request end.
It is assumed herein that server end is respectively load-balancing device 1 and load-balancing device 2, client It can be PC end;When PC end sends HTTP request to load-balancing device 1, load balancing Equipment 1 can compare the size of current loading condition value and predetermined load threshold value, if current loading condition Value meets or exceeds predetermined load threshold value, illustrates that load-balancing device 1 exceedes apparatus of load, and load is all Weighing apparatus equipment 1 preferentially returns 302 return codes by special response channel to PC end, and PC end group is in 302 The Redirect Address that return code returns issues HTTP request load-balancing device 2 again, and load is all Weighing apparatus equipment 2 continues the size comparing current loading condition value with predetermined load threshold value, if present load State value is less than predetermined load threshold value, then load-balancing device 2 responds, and otherwise continues to PC End returns 302 return codes.
As in figure 2 it is shown, made comparisons with predetermined load threshold value by the current loading condition value of the network equipment, Decide whether that preferentially calling special response channel returns redirection message to request end, changes existing Even if the network equipment has loaded and but continued to retry access in technology, thus cause accessing and easily go out Existing problem and to have damaging influence system properly functioning, this method be effectively improved system safety and Availability.
Above-mentioned predetermined load threshold value determines according to the nominal operational parameters of the network equipment, wherein nominal operation Parameter at least includes: cpu load and/or internal memory and/or bandwidth.
Predetermined load threshold values can be determined by configuration file, such as, and the machine or switch bandwidth predetermined Load threshold can configure according to the ratio of the 90% of current bandwidth or 80%;Same cpu load, Internal memory is also to configure predetermined load threshold value in proportion.The most special response channel occupies only surplus The low capacity space of remaining 10% or 20% is specifically designed to and returns redirection message to request end.
The current loading condition value of the network equipment is according to the present load measured value and upper of the network equipment Secondary load measurement determines.The current loading condition value of the network equipment is equal to present load measured value and upper Sum after one time load measurement weights respectively, wherein, the weight of last load measurement is more than working as The weight of front load measurement.
Generally, data acquisition set value has the situation of shake, and such as, broadband may be by original The collection value of 1.5G shakes into the collection value of 1.3G, in this case, current loading condition value=last time Measured value * X+ this measured value * (1-X), X is more than 0.5, it is preferred that X=0.8.
When the network equipment needs to perform multiple task, preferential execution returns to request end in multiple tasks The task of redirection message.
It is other that the most special response channel has limit priority, if current loading condition value exceedes predetermined load Threshold value, then the special response channel of preferential execution returns redirection message to request end, it is to avoid because retrying visit Ask produced problem, it is achieved that the load protection to the network equipment, improve access efficiency.
When the agreement of service request is HTTP, redirection message is 302 return codes.302 return The advantage of code essentially consists in client and need not action, it is not required that configuration, as long as client meets mark Accurate the most permissible.
As it is shown on figure 3, a kind of network equipment overload protective device, including:
Comparing unit, during for asking in the service receiving request end, comparing cell equipment current Load condition value and the size of predetermined load threshold value, wherein predetermined load threshold value is less than the described network equipment Maximum load capability value;
Response unit, is used for when current loading condition value meets or exceeds predetermined load threshold value via specially Redirection message is returned to request end by response channel.
Above-mentioned predetermined load threshold value determines according to the nominal operational parameters of the network equipment, wherein nominal operation Parameter at least includes: cpu load and/or internal memory and/or bandwidth.
This network equipment overload protective device also includes: current loading condition value determines unit, for root Present load measured value and last load measurement according to the network equipment determine the current of the network equipment Load condition value.The current loading condition value of the network equipment is born equal to present load measured value and last time Carrying sum after measured value weights respectively, wherein, the weight of last load measurement is more than present load The weight of measured value.
This network equipment overload protective device also includes: scheduling unit, for needing to hold when the network equipment During the multiple task of row, described in the plurality of task of preferential execution, response unit returns to described request end The task of redirection message.
When the agreement of described service request is HTTP, redirection message is 302 return codes.
Device embodiment described above is only schematically, wherein said illustrates as separating component Unit can be or may not be physically separate, the parts shown as unit can be or Person may not be physical location, i.e. may be located at a place, or can also be distributed to multiple network On unit.Some or all of module therein can be selected according to the actual needs to realize the present embodiment The purpose of scheme.Those of ordinary skill in the art are not in the case of paying performing creative labour, the most permissible Understand and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each reality The mode of executing can add the mode of required general hardware platform by software and realize, naturally it is also possible to by firmly Part.Based on such understanding, the portion that prior art is contributed by technique scheme the most in other words Dividing and can embody with the form of software product, this computer software product can be stored in computer can Read in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that one Computer equipment (can be personal computer, server, or the network equipment etc.) performs each to be implemented The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, rather than to it Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill The essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (14)

1. a network equipment overload protection method, including:
When the service receiving request end is asked, the current loading condition value of comparing cell equipment is with pre- The size of fixed load threshold value, wherein said predetermined load threshold value is less than the maximum load of the described network equipment Ability value;
If described current loading condition value meets or exceeds described predetermined load threshold value, then via special sound Passage is answered to return redirection message to described request end.
Method the most according to claim 1, wherein, described predetermined load threshold value is according to described The nominal operational parameters of the network equipment determines.
Method the most according to claim 2, wherein, described nominal operational parameters at least includes: CPU Load and/or internal memory and/or bandwidth.
Method the most according to claim 1, wherein, the present load shape of the described network equipment State value determines according to present load measured value and the last load measurement of the described network equipment.
Method the most according to claim 4, wherein, the current loading condition value of the described network equipment Sum after weighting respectively equal to described present load measured value and described last load measurement, wherein, The weight of described last load measurement is more than the weight of described present load measured value.
Method the most according to claim 1, wherein, when the described network equipment needs execution many During individual task, the plurality of task of preferential execution returns to described request end appointing of redirection message Business.
7. according to the method according to any one of claim 1-6, wherein, when described service request When agreement is HTTP, described redirection message is 302 return codes.
8. a network equipment overload protective device, including:
Comparing unit, during for asking in the service receiving request end, comparing cell equipment current Load condition value and the size of predetermined load threshold value, wherein said predetermined load threshold value is less than described network The maximum load capability value of equipment;
Response unit, for meeting or exceeding described predetermined load threshold value when described current loading condition value Time via special response channel to described request end return redirection message.
System the most according to claim 8, wherein, described predetermined load threshold value is according to described The nominal operational parameters of the network equipment determines.
System the most according to claim 9, wherein, described nominal operational parameters is at least wrapped Include: cpu load and/or internal memory and/or bandwidth.
11. systems according to claim 8, wherein, described system includes:
Current loading condition value determines unit, for the present load measured value according to the described network equipment With the current loading condition value that last load measurement determines the described network equipment.
12. systems according to claim 11, wherein, the current loading condition of the described network equipment Value weight respectively equal to described present load measured value and described last load measurement after sum, wherein, The weight of described last load measurement is more than the weight of described present load measured value.
13. systems according to claim 8, wherein, described system includes:
Scheduling unit, for when the described network equipment needs to perform multiple task, preferential execution is described Response unit described in multiple tasks returns the task of redirection message to described request end.
14. systems according to any one of-13 according to Claim 8, wherein, when described service request Agreement when being HTTP, described redirection message is 302 return codes.
CN201610184538.1A 2016-03-28 2016-03-28 Network device overload protection method Pending CN105847171A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610184538.1A CN105847171A (en) 2016-03-28 2016-03-28 Network device overload protection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610184538.1A CN105847171A (en) 2016-03-28 2016-03-28 Network device overload protection method

Publications (1)

Publication Number Publication Date
CN105847171A true CN105847171A (en) 2016-08-10

Family

ID=56583950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610184538.1A Pending CN105847171A (en) 2016-03-28 2016-03-28 Network device overload protection method

Country Status (1)

Country Link
CN (1) CN105847171A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110971561A (en) * 2018-09-28 2020-04-07 阿里巴巴集团控股有限公司 Access request processing method, device and equipment
CN112242915A (en) * 2019-07-19 2021-01-19 诺基亚通信公司 Method and device for carrying out overload control on ONU (optical network Unit) equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040049579A1 (en) * 2002-04-10 2004-03-11 International Business Machines Corporation Capacity-on-demand in distributed computing environments
CN1495634A (en) * 2002-06-27 2004-05-12 上海汉唐科技有限公司 Server clustering load balancing method and system
CN1736079A (en) * 2002-12-10 2006-02-15 国际商业机器公司 Apparatus and methods for co-location and offloading of web site traffic based on traffic pattern recognition
CN1852502A (en) * 2006-05-29 2006-10-25 杭州华为三康技术有限公司 Method for realizing load uniform in clustering system, system and storage controller
CN101389127A (en) * 2007-09-12 2009-03-18 华为技术有限公司 Redirection method, system, customer equipment and wireless network control unit
CN102055654A (en) * 2009-11-10 2011-05-11 中兴通讯股份有限公司 Method for load balancing of network equipment and IP multi-media subsystem
CN102281590A (en) * 2011-09-15 2011-12-14 华为技术有限公司 Method and device for controlling load capacity
US20120155274A1 (en) * 2010-12-20 2012-06-21 Yi-Pin Eric Wang DENIAL OF SERVICE (DoS) ATTACK PREVENTION THROUGH RANDOM ACCESS CHANNEL RESOURCE REALLOCATION
CN103826272A (en) * 2014-02-24 2014-05-28 大唐移动通信设备有限公司 Cell redirecting method and device
CN105099934A (en) * 2014-04-25 2015-11-25 阿尔卡特朗讯公司 Load balancing method and device in telecommunication product

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040049579A1 (en) * 2002-04-10 2004-03-11 International Business Machines Corporation Capacity-on-demand in distributed computing environments
CN1495634A (en) * 2002-06-27 2004-05-12 上海汉唐科技有限公司 Server clustering load balancing method and system
CN1736079A (en) * 2002-12-10 2006-02-15 国际商业机器公司 Apparatus and methods for co-location and offloading of web site traffic based on traffic pattern recognition
CN1852502A (en) * 2006-05-29 2006-10-25 杭州华为三康技术有限公司 Method for realizing load uniform in clustering system, system and storage controller
CN101389127A (en) * 2007-09-12 2009-03-18 华为技术有限公司 Redirection method, system, customer equipment and wireless network control unit
CN102055654A (en) * 2009-11-10 2011-05-11 中兴通讯股份有限公司 Method for load balancing of network equipment and IP multi-media subsystem
US20120155274A1 (en) * 2010-12-20 2012-06-21 Yi-Pin Eric Wang DENIAL OF SERVICE (DoS) ATTACK PREVENTION THROUGH RANDOM ACCESS CHANNEL RESOURCE REALLOCATION
CN102281590A (en) * 2011-09-15 2011-12-14 华为技术有限公司 Method and device for controlling load capacity
CN103826272A (en) * 2014-02-24 2014-05-28 大唐移动通信设备有限公司 Cell redirecting method and device
CN105099934A (en) * 2014-04-25 2015-11-25 阿尔卡特朗讯公司 Load balancing method and device in telecommunication product

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110971561A (en) * 2018-09-28 2020-04-07 阿里巴巴集团控股有限公司 Access request processing method, device and equipment
CN110971561B (en) * 2018-09-28 2022-08-23 阿里巴巴集团控股有限公司 Access request processing method, device and equipment
CN112242915A (en) * 2019-07-19 2021-01-19 诺基亚通信公司 Method and device for carrying out overload control on ONU (optical network Unit) equipment
CN112242915B (en) * 2019-07-19 2023-12-15 诺基亚通信公司 Method and device for overload control of ONU (optical network Unit) equipment

Similar Documents

Publication Publication Date Title
CN108513271B (en) Short message distribution method and device based on multiple short message channels
CN107800756A (en) A kind of load-balancing method and load equalizer
CN109491797A (en) Date storage method, system and computer readable storage medium
US8972551B1 (en) Prioritizing service requests
CN104301243A (en) Load control method and device
CN111600967A (en) Access pressure-based load balancing system among block chain nodes
EP3657429A1 (en) Api billing system, api billing management method, and api billing program
CN109617750A (en) A kind of service method for early warning and gateway
EP2996382B1 (en) Physical resource adjustment method, device and controller
CN111030945A (en) Disaster recovery method, disaster recovery gateway, storage medium, device and system
CN105847171A (en) Network device overload protection method
CN106570011B (en) Distributed crawler URL seed distribution method, scheduling node and capturing node
EP3975596A1 (en) Method, device and system for implementing edge computing
CN110753001A (en) Method and device for efficiently transmitting data and storage medium
CN111555984A (en) Method and device for data transmission, smart home equipment and storage medium
CN110391880A (en) Access request processing method and equipment based on terminal-server framework
CN112416888B (en) Dynamic load balancing method and system for distributed file system
US11397618B2 (en) Resource allocation device, resource allocation method, and resource allocation program
CN114936089A (en) Resource scheduling method, system, device and storage medium
CN106550342A (en) The overload controlling method and device of charging request message
CN112350880B (en) Overload detection method, system, computer readable storage medium and electronic device
CN106998366B (en) Cloud controller load balancing method and device and cloud controller
CN102594449A (en) Implementation system and method of multipath calculating element cooperation in optical networks
CN100568185C (en) Resource management apparatus and radio network controller
CN116848508A (en) Scheduling tasks for computer execution based on reinforcement learning model

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160810