CN101150512B - Method for load balance of communication link - Google Patents
Method for load balance of communication link Download PDFInfo
- Publication number
- CN101150512B CN101150512B CN2007101637341A CN200710163734A CN101150512B CN 101150512 B CN101150512 B CN 101150512B CN 2007101637341 A CN2007101637341 A CN 2007101637341A CN 200710163734 A CN200710163734 A CN 200710163734A CN 101150512 B CN101150512 B CN 101150512B
- Authority
- CN
- China
- Prior art keywords
- link
- inaccessible
- network element
- diameter
- obturation
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method for realizing load balance of a communications link. The method comprises the following steps: step S502, the invention judges whether a network element in a network is overloaded; step S504, the invention determines whether to block one or a plurality of links between the network element and other network elements according to the judging results; and step S506, in case that one or a plurality of links are blocked, the invention unblocks the one or a plurality of blocked links when the network element is changed from overload to non-overload; wherein, blockage refers to a situation in which two network elements remain connected but data cannot be transmitted. The invention realizes load balance by the Diameter link-blocking mode without releasing transport-layer connection and related resources and saves device investment to some extent.
Description
Technical field
The present invention relates to the communications field, relate in particular to a kind of method that realizes load balancing by diameter link-blocking.
Background technology
In today of communications network system widespread usage, for safety and the commercial use that ensures communication network, the use of all kinds of resources in the communication network need be supported the authentication function by communications network system.Use first step of the communications network system resource of a commercialization the user to be differentiated to have only the legal identity of having confirmed the user exactly, just can prevent disabled user's invasion, could in follow-up resource use, authorize, charge the user.The user is by after differentiating, the service type of being applied for when communications network system can be opened an account according to the user, system can be authorized the user corresponding authority, promptly authorize, and use relevant communication network resource.For communication network operator, profit is one of main purpose, and according to the situation of user's using system resource, it is vital collecting correlative charges exactly to the user.
At present, two kinds of main flow AAA that communications network system uses (Authentication, Authorization, Accounting differentiate, authorize, charge) application protocol is Radius and Diameter.Diameter is the AAA technology of a new generation, and it has overcome many drawbacks of Radius agreement, and with its powerful extensibility and safety assurance, is just more and more paid close attention to.In International Standards Organization such as ITU (International Telecommunications Union), 3GPP and 3GPP2, formally with its first-selected aaa protocol as future communications networks such as NGN (next generation network), WCDMA (Wideband Code Division Multiple Access (WCDMA)) and CDMA2000.Diameter is the agreement that belongs to application layer, and it is based on the transport layer protocol, and in order to ensure the reliability of transmission, its transport layer protocol mainly adopts SCTP (SCTP) and TCP (transmission control protocol) agreement.When two Diameter peer-entities are wanted mutual communication, at first need to set up Diameter and connect, and Diameter connects and is to set up SCTP is connected on the basis of foundation by the Diameter capability negotiation with TCP after.When two Diameter peer-entities are no longer communicated by letter, can disconnect the SCTP that set up and the relevant connection of Transmission Control Protocol, and discharge the resource of Diameter join dependency.
In the communication network that reality is used, have some network elements the situation that overload need carry out load sharing can occur usually, even the phenomenon of transmission data failure appear in some network element owing to reasons such as overloads.According to RFC3588 Diameter basic agreement, processing mode commonly used at present has two kinds of ways usually: a kind of way is the link that disconnects between this Diameter peer-entities and the relevant Diameter peer-entities, discharge the resource of Diameter join dependency, ask to set up Diameter when need rebulid connection by the time once more and connect; Another kind of way is the notion that Diameter has primary peers include both and less important peers include both, the work that primary peers include both need be handled by the failure switching strategy is switched to less important peers include both, treats to obtain disposal ability again by the failure recovery strategy after original primary peers include both regains related resource.
For first method, a solution that agreement adopts as depicted in figs. 1 and 2, concrete processing procedure is: the Diameter peer-entities of needs release resource as shown in Figure 1, send DPR (Disconnect Peer Request to its peers include both, disconnect the opposite end connection request) message, after the Diameter peers include both is received DPR, to Diameter peer-entities loopback DPA (Disconnect Peer Answer, disconnect the opposite end connection response) message, the Diameter peer-entities just can discharge the Diameter that has set up and connected then.After Diameter connects release, just can not send the relevant data of Diameter between two Diameter peer-entities again.After the Diameter peer-entities recovers disposal ability again, as shown in Figure 2,, connect to set up the communication of back recovery Diameter inter-entity when the Diameter peer-entities initiates to set up the Diameter connection request again to the Diameter peers include both.First method is carried out the load adjustment and is had following shortcoming when the Diameter peer-entities transships: discharge Diameter and connect and rebulid process and need the regular hour because needs release or the SCTP that rebulids transport layer are connected with TCP, so this load adjustment process needs the certain reaction time delay.
For second method, a solution that agreement adopts as shown in Figure 3 and Figure 4, concrete processing procedure is: as shown in Figure 3, in system's normal course of communications, the Diameter peer-entities is set up Diameter with primary peers include both respectively with less important peers include both and is connected, between the Diameter peer-entities, carry out in the data handling procedure, general and the primary peers include both of Diameter peer-entities is carried out data processing, though and the Diameter peer-entities also sets up Diameter with less important peers include both and is connected, and generally can not carry out the Diameter data processing.In case primary peers include both causes Fail Over process because overload or other reasons are handled failure, the replacement policy of promptly failing, at this moment, less important peers include both will be served as primary peers include both, continues to communicate with the Diameter peer-entities, as shown in Figure 4.After original primary peers include both has been recovered its disposal ability, will rebulid with the Diameter peer-entities and be connected, start Fail Back process after reaching stable state, i.e. the failure recovery strategy, make it become primary peers include both again, turn back to the state of Fig. 3 again.Second method carries out having following shortcoming when load is adjusted in Diameter peer-entities overload: in order to ensure its high availability, support in the communication network that many network elements of Diameter all need backup network elements as less important peers include both, this has increased equipment investment undoubtedly, has increased operating cost of operator; And its failure is switched with recovery process also needs to expend certain switching time.
Therefore, need a kind of solution that realizes the communication link load equilibrium, can solve the problem in the above-mentioned correlation technique.
Summary of the invention
Technical problem to be solved by this invention provides and a kind ofly realizes the method for load balancing by diameter link-blocking, the shortcoming of two kinds of processing methods in the time of can overcoming above-mentioned Diameter and handle the peer-entities overload; By diameter link-blocking, can control the loading condition of peer-entities, reach the purpose of load balancing.
In fact, because actual communication network is very complicated, many times can connects and realize sharing of network load by the Diameter between inaccessible two network elements.So-called obturation is exactly temporarily to make between the two Diameter peer-entities to transmit relevant data, can keep existing connection status simultaneously, does not discharge Diameter and connects.Like this, if some Diameter of the inaccessible Diameter peer-entities that transships in the network connects, (normally the methods such as path of searching other by routing policy realize by selecting other approach, but this is not the emphasis of this specification explanation) transmit related data, thus can reach the purpose that realizes the communication network load balancing.
According to the present invention, a kind of method that realizes the communication link load equilibrium is provided, may further comprise the steps: judge whether the network element in the network transships; Determine whether one or more link between inaccessible network element and other network elements according to judged result; And under existing, after network element becomes nonoverload by overload, separate inaccessiblely by one or more inaccessible link by the situation of one or more inaccessible link, wherein, obturation is to instigate to keep between two network elements connecting but can not transmit data.
The step that determines whether one or more link between inaccessible network element and other network elements according to judged result may further comprise the steps: under the situation of network element overload, and one or more link between inaccessible network element and other network elements; And other network elements select other links to transmit data.
By one or more link between the inaccessible network element of following dual mode and other network elements: force obturation and optional obturation.
Adopting under the situation of forcing obturation, said method may further comprise the steps: the running status that detects each network element; When detecting the network element that has overload, force one or more link between inaccessible network element and other network elements; And when needs reactivate one or more inaccessible link, detect the state of network element, and under the situation of network element nonoverload, separate inaccessible one or more link.
Under the situation that adopts optional obturation, said method may further comprise the steps: higher limit and lower limit that the traffic threshold of network element is set; Measure the network traffics of network element and be connected to flow on every link of network element; Regularly detect the flow of network element, when the flow of network element is lower than the lower limit of traffic threshold, and exists by inaccessible and when being connected to the link of network element, separate inaccessible by inaccessible link; Reach at the flow of network element under the situation of higher limit of traffic threshold, determine and inaccessible will be by the link of obturation; And reach the higher limit of traffic threshold at the flow of network element, and do not exist will be by the situation of the link of obturation under, report to the police to webmaster, and start the failure replacement policy.
In optional obturation, separate inaccessible step by inaccessible link and may further comprise the steps: size or link priority order from high to low according to the flow of the link that is connected to network element are separated inaccessible by one or more inaccessible link.
In optional obturation, determine and inaccessible will being may further comprise the steps by the step of the link of obturation: determining according to the size of the flow of the link that is connected to network element or link priority order from high to low will be by one or more link of obturation; And inaccessible determined will be by one or more link of obturation.
In optional obturation, inaccessible will being may further comprise the steps of determining: step 1 by the step of one or more link of obturation, whether will by a link in inaccessible one or more link be professional necessary path in analysis if being confirmed as according to routing condition, if not, inaccessible link, and execution in step three, otherwise execution in step two; Step 2 will be by the link of obturation according to next bar of routing condition verification, and repeats step 1; And step 3, whether the flow of measuring the network element of overload is reduced to below the higher limit of thresholding, if, stop to continue inaccessible not by obturation will be by the link of obturation, otherwise return execution in step two.
In said method, network element is the Diameter entity.
Because forcing obturation not need to remove Diameter with optional block system itself is connected, thereby the inaccessible strategy that adopts the present invention to address, can save and remove the time that Diameter connects and reconstruction Diameter is connected, also can save failure to a great extent and switching the time required with failure recovery.Adopt technical method of the present invention, can save the part failure and switch the equipment required with failure recovery, save and use the part operation cost that Diameter brings, can promote the extensive use of Diameter to a certain extent, for communications network system provides more reliable AAA technical support.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is that Diameter connects the disconnection schematic diagram in the prior art;
Fig. 2 is that schematic diagram is set up in the Diameter connection in the prior art;
Fig. 3 be in the prior art the primary peers include both operate as normal of Diameter or start FailBack after the schematic diagram of working;
Fig. 4 is after Diameter starts Fail Over in the prior art, less important peers include both operate as normal schematic diagram;
Fig. 5 is the flow chart that illustrates according to the method for the realization communication link load equilibrium of the embodiment of the invention;
Fig. 6 illustrates the flow chart of forcing inaccessible method according to the employing in another embodiment of the present invention;
Fig. 7 is the flow chart that illustrates according to the optional inaccessible method of employing in another embodiment of the present invention;
Fig. 8 is according to the network operation schematic diagram behind the obturation bar Diameter link of the embodiment of the invention; And
Fig. 9 is according to the network operation schematic diagram behind inaccessible certain the bar Diameter link of separating of the embodiment of the invention.
Embodiment
Describe embodiments of the invention in detail below in conjunction with accompanying drawing.
Fig. 5 is the flow chart that illustrates according to the method for the realization communication link load equilibrium of the embodiment of the invention.With reference to Fig. 5, may further comprise the steps according to the method for the realization communication link load equilibrium of the embodiment of the invention: step S502, judge whether the network element in the network transships; Step S504 determines whether one or more link between inaccessible network element and other network elements according to judged result; And step S506, under existing, after network element becomes nonoverload by overload, separate inaccessiblely by one or more inaccessible link by the situation of one or more inaccessible link, wherein, obturation is to instigate to keep between two network elements connecting but can not transmit data.
The step that determines whether one or more link between inaccessible network element and other network elements according to judged result may further comprise the steps: under the situation of network element overload, and one or more link between inaccessible network element and other network elements; And other network elements select other links to transmit data.
By one or more link between the inaccessible network element of following dual mode and other network elements: force obturation and optional obturation.
Adopting under the situation of forcing obturation, said method may further comprise the steps: the running status that detects each network element; When detecting the network element that has overload, force one or more link between inaccessible network element and other network elements; And when needs reactivate one or more inaccessible link, detect the state of network element, and under the situation of network element nonoverload, separate inaccessible one or more link.
Under the situation that adopts optional obturation, said method may further comprise the steps: higher limit and lower limit that the traffic threshold of network element is set; Measure the network traffics of network element and be connected to flow on every link of network element; Regularly detect the flow of network element, when the flow of network element is lower than the lower limit of traffic threshold, and exists by inaccessible and when being connected to the link of network element, separate inaccessible by inaccessible link; Reach at the flow of network element under the situation of higher limit of traffic threshold, determine and inaccessible will be by the link of obturation; And reach the higher limit of traffic threshold at the flow of network element, and do not exist will be by the situation of the link of obturation under, report to the police to webmaster, and start the failure replacement policy.
In optional obturation, separate inaccessible step by inaccessible link and may further comprise the steps: size or link priority order from high to low according to the flow of the link that is connected to network element are separated inaccessible by one or more inaccessible link.
In optional obturation, determine and inaccessible will being may further comprise the steps by the step of the link of obturation: determining according to the size of the flow of the link that is connected to network element or link priority order from high to low will be by one or more link of obturation; And inaccessible determined will be by one or more link of obturation.
In optional obturation, inaccessible will being may further comprise the steps of determining: step 1 by the step of one or more link of obturation, whether will by a link in inaccessible one or more link be professional necessary path in analysis if being confirmed as according to routing condition, if not, inaccessible link, and execution in step three, otherwise execution in step two; Step 2 will be by the link of obturation according to next bar of routing condition verification, and repeats step 1; And step 3, whether the flow of measuring the network element of overload is reduced to below the higher limit of thresholding, if, stop to continue inaccessible not by obturation will be by the link of obturation, otherwise return execution in step two.
In said method, network element is the Diameter entity.
Below with reference to Fig. 6 and Fig. 7 an alternative embodiment of the invention is described.
The method of passing through diameter link-blocking realization load balancing that present embodiment proposes, mainly comprise following dual mode: force inaccessible, promptly can force inaccessible certain bar Diameter link, to reach the load purpose that alleviates the Diameter peer-entities by command mode or webmaster set-up mode; With optional obturation, promptly carry out obturation bar or some Diameter link by setting Diameter peer-entities Stream threshold value, to alleviate the load of Diameter peer-entities, reach the purpose of Network Load Balance.
As shown in Figure 6, force obturation may further comprise the steps:
Step S602, the running status of observing the Diameter peer-entities is mainly seen indexs such as operating state, loading condition;
Step S604 forces the inaccessible Diameter link little to existing net web influence;
Step S606 when needs reactivate inaccessible Diameter link, thinks in the time of can separating obturation after the running status of observation Diameter peer-entities, separates inaccessible relevant Diameter link;
As shown in Figure 7, optional obturation can may further comprise the steps:
Step S702 according to the concrete condition of the network equipment, sets the Stream threshold value of Diameter peer-entities by webmaster or command mode;
Step S702-2 sets the traffic threshold higher limit, and this value is used to determine that whether certain bar or some Diameter of inaccessible peer-entities connect; If surpass this thresholding higher limit, just start the inaccessible flow process of link;
Step S702-4 sets the traffic threshold lower limit, and this value is used to determine that certain bar or some Diameter that whether separate inaccessible peer-entities connect; If be lower than this thresholding lower limit, just start link and separate inaccessible flow process.
Every flow that Diameter is connected on the step S704, the network traffics of adding up this Diameter peer-entities and this peer-entities;
Step S706 sets timer, makes regular check on this Diameter peer-entities flow;
If be lower than the traffic threshold lower limit of setting, and there is inaccessible Diameter link in step S708, then separates inaccessible relevant Diameter link according to the principle of the flow value of Diameter link ascending (or link priority from high to low);
Step S710, if reach the traffic threshold higher limit of setting, calculating decision according to the principle of the flow value of Diameter link descending (or link priority is from low to high) needs inaccessible which Diameter link;
Step S710-2, choose need inaccessible Diameter link after, whether need analyze this Diameter link according to routing condition is professional necessary path.If continue step S710-4; If not, inaccessible this Diameter link;
Step S710-4, according to next bar of routing condition verification may the needs obturation the Diameter link; Whether analyze this Diameter link according to routing condition then is professional necessary path; If continue step S710-4; If not, inaccessible this Diameter link;
Step S710-6 continues to check whether the total flow of this Diameter peer-entities drops to below the thresholding higher limit, if, process ends; If not, continue step S710-4;
Step S712, if reach the traffic threshold higher limit of setting, and do not have to allow can inaccessible Diameter link, reports to the police to webmaster, starts Fail Over process simultaneously.
Fig. 8 is according to the network operation schematic diagram behind the obturation bar Diameter link of the embodiment of the invention.With reference to Fig. 8, all there is annexation in peer-entities B with a lot of peer-entities among the figure as can be seen, suppose that peer-entities B, E, F and peer-entities D have service interaction, if according to the SPF principle, peer-entities B is connected with Diameter between the peer-entities D may carry very big flow, also will load the simultaneously flow of other Diameter link of peer-entities B, therefore peer-entities B load may transship, and can consider the Diameter link between inaccessible peer-entities B and the peer-entities D this moment.According to the SPF principle, communicating by letter between peer-entities E and the peer-entities D just can be without peer-entities B, and communicating by letter between peer-entities F and the peer-entities D also can be without peer-entities B.Therefore, if the Diameter link between inaccessible peer-entities B and the peer-entities D can alleviate the load of peer-entities B, thereby make communication system normally effectively to work.By top description process as can be seen, can overcome the drawback of two kinds of solutions of Diameter basic agreement, and reach the purpose that realizes Network Load Balance thus by the method for diameter link-blocking.
Fig. 8 is the simple communication network service chart of of present embodiment, the Diameter link among Fig. 8 between inaccessible peer-entities B and the peer-entities D, and this Diameter link temporarily can not carry out the transmission of business datum.Fig. 9 separates obturation to the Diameter link between peer-entities B and the peer-entities D, and this Diameter link can have been proceeded the transmission of business datum again.
For the process of obturation reconciliation diameter link-blocking,, carry out below respectively its execution mode being set forth according to two kinds of different modes of the present invention.
For forcing diameter link-blocking mode, main implementation process is as follows:
Step S802, the diameter link-blocking process:
Step S802-2, webmaster are provided with inaccessible certain bar Diameter link, and webmaster is initiated the order of diameter link-blocking to Diameter OAMAgent process;
Step S802-4, the order that Diameter OAMAgent process is received diameter link-blocking is given Diameter stack treatment progress with this forwards;
Step S802-6, Diameter stack treatment progress receive the diameter link-blocking message that the OAMAgent forwarding comes, and immediately this link are provided with inaccessible sign, and success message of loopback is given Diameter OAMAgent process then;
Step S802-8 after Diameter OAMAgent process is received inaccessible success message, is transmitted to webmaster;
Step S802-10, webmaster indicate that this Diameter link has been in blocked state in this Diameter peer-entities, and this link no longer carries out the transmission of business datum;
Step S804 separates diameter link-blocking;
Step S804-2, inaccessible certain bar Diameter link is separated in the webmaster setting, initiates to separate the order of inaccessible this Diameter link simultaneously to Diameter OAMAgent process;
Step S804-4, Diameter OAMAgent process is received and is separated diameter link-blocking message, and gives Diameter stack treatment progress with this forwards;
Step S804-6, Diameter stack treatment progress receive that OAMAgent transmits separates diameter link-blocking message, immediately inaccessible sign is separated in this link setting, and success message of loopback is given Diameter OAMAgent process then;
Step S804-8, Diameter OAMAgent process is transmitted to webmaster after receiving and separating inaccessible success message;
Step S804-10, webmaster indicate in this Diameter peer-entities this Diameter link and have been in and separate blocked state, and this link can be proceeded the transmission of business datum again.
For optional diameter link-blocking mode, present embodiment is that standard realizes by the network traffics threshold value of setting the Diameter peer-entities mainly.The setting of Stream threshold value is very crucial, and it relates to the stability and the reliability of communications network system, according to number of users with accept the different of service type, it is also different that Stream threshold value is set.Still with reference to Fig. 8, the concrete implementation process of optional diameter link-blocking mode is as follows:
Step S902, set this Diameter peer-entities obturation, separate inaccessible priority rule, recommend to use and carry out block service, use and separate block service according to the principle of the flow value of Diameter link ascending (or link priority from high to low) according to the principle of the flow value of Diameter link descending (or link priority from low to high);
Step S904, according to should accepting client's quantity and accepting service type with network, in conjunction with the specific performance index of existing operational outfit, by the traffic threshold higher limit and the lower limit of webmaster setting Diameter peer-entities, the processing procedure of concrete processing procedure and step S802 is similar;
Step S906 adds up every flow that Diameter connects on this peer-entities at Diameter stack treatment progress, and calculates the total network traffics of this Diameter peer-entities thus;
Step S908 at traffic monitoring timer of Diameter stack treatment progress application, is mainly used in the total network traffics of this Diameter of periodic test peer-entities, and whether decision needs to carry out inaccessible flow process of conciliating diameter link-blocking;
Step S910 if the total network traffics of Diameter peer-entities are lower than the traffic threshold lower limit of setting, then start the Diameter link and separates inaccessible flow process;
Whether step S910-2 at first scans this peer-entities all Diameter links and has and be in blocked state, and if there is no inaccessible link continues step S912; If there is inaccessible link, continue step S910-4;
Step S910-4 reads the inaccessible priority rule of separating of this Diameter peer-entities, separates the highest Diameter link of inaccessible priority;
Step S912 if the total network traffics of Diameter peer-entities reach the traffic threshold higher limit of setting, then starts the inaccessible flow process of Diameter link;
Step S912-2 at first scans all Diameter links of this peer-entities and whether has the link that is using, if do not have, continues step S914; If the link that is using is arranged, continue step S912-4;
Step S912-4 reads the inaccessible priority rule of this Diameter peer-entities, select the highest Diameter link of inaccessible priority after, need whether whether this Diameter link be professional necessary path according to the routing condition analysis.If continue step S912-6; If not, inaccessible this Diameter link continues step S914;
Step S912-6 can inaccessible Diameter link if also exist, and whether then according to the highest Diameter link of the inaccessible priority of next bar of routing condition verification, analyzing it is the professional necessary path of this Diameter peer-entities.If continue step S912-6; If not, inaccessible this Diameter link continues step S914;
Step S914, if reach the traffic threshold higher limit of setting, and do not have to allow can inaccessible Diameter link, reports to the police to webmaster, starts Fail Over process simultaneously;
The flow of this Diameter of traffic monitoring timer cycle inspection peer-entities, start according to threshold value of setting and rule inaccessible/separate inaccessible flow process.The second kind of embodiment that reaches of the present invention recommends the method for diameter link-blocking and Diameter basic agreement the failure replacement and the failure recovery strategy of use to be used in combination, the stability and the reliability of communication network can be guaranteed better, the purpose of Network Load Balance can be realized better.
In sum, because forcing obturation not need to remove Diameter with optional block system itself is connected, thereby the inaccessible strategy that adopts the present invention to address, can save and remove the time that Diameter connects and reconstruction Diameter is connected, also can save failure to a great extent and switching the time required with failure recovery.Adopt technical method of the present invention, can save the part failure and switch the equipment required with failure recovery, save and use the part operation cost that Diameter brings, can promote the extensive use of Diameter to a certain extent, for communications network system provides more reliable AAA technical support.
Compared with prior art, because the present invention realizes load balancing by diameter link-blocking mode, do not need to discharge simultaneously transport layer and connect and related resource, and saved equipment investment to a certain extent.Pressure block system of the present invention is simple, can force diameter link-blocking mode to eliminate alarm when some equipment have emergency, at utmost reduces the loss.Realize by the network traffics of calculating the Diameter peer-entities during optional block system of the present invention, but this only is one of implementation method, also can realize by setting other scalar value.
The method of diameter link-blocking of the present invention also can be applied to the Diameter link that inaccessible a certain class or a few class are used, and wouldn't support these application when making this Diameter peer-entities overload.Simultaneously, consider, when diameter link-blocking, also can consider to discharge the transport layer link according to the overall performance of system.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (9)
1. a method that realizes the communication link load equilibrium is characterized in that, may further comprise the steps:
Judge whether the network element in the network transships;
Determine whether one or more link between inaccessible described network element and other network elements according to judged result; And
Under existing by the situation of one or more inaccessible link, after described network element becomes nonoverload by overload, separate inaccessible described one or more link of inaccessible quilt,
Wherein, described obturation is to instigate between two network elements to keep connecting but can not transmit data.
2. method according to claim 1 is characterized in that, describedly determines whether that according to judged result the step of one or more link between inaccessible described network element and other network elements may further comprise the steps:
Under the situation of described network element overload, one or more link between inaccessible described network element and other network elements; And
Described other network elements select other links to transmit data.
3. method according to claim 2 is characterized in that, by one or more link between the inaccessible described network element of following dual mode and other network elements: force obturation and optional obturation.
4. method according to claim 3 is characterized in that, is adopting described the pressure to may further comprise the steps under the inaccessible situation:
Detect the running status of each network element;
When detecting the described network element that has overload, force one or more link between inaccessible described network element and described other network elements; And
When needs reactivate inaccessible described one or more link, detect the state of described network element, and under the situation of described network element nonoverload, separate inaccessible described one or more link.
5. method according to claim 3 is characterized in that, under the situation that adopts described optional obturation, may further comprise the steps:
The higher limit and the lower limit of the traffic threshold of network element are set;
Measure the network traffics of described network element and be connected to flow on every link of described network element;
Regularly detect the flow of described network element, when the flow of described network element is lower than the lower limit of described traffic threshold, and exists by inaccessible and when being connected to the link of described network element, separate inaccessible described by inaccessible link;
Reach at the flow of described network element under the situation of higher limit of described traffic threshold, determine and inaccessible will be by the link of obturation; And
Reach the higher limit of described traffic threshold at the flow of described network element, and do not exist will be by the situation of the link of obturation under, report to the police to webmaster, and start the failure replacement policy.
6. method according to claim 5 is characterized in that, described step of separating the inaccessible link of inaccessible described quilt may further comprise the steps:
Size or link priority order from high to low according to the flow of the link that is connected to described network element are separated inaccessible by inaccessible described one or more link.
7. method according to claim 5 is characterized in that, described definite and inaccessible will being may further comprise the steps by the step of the link of obturation:
Determining according to the size of the flow of the link that is connected to described network element or link priority order from high to low will be by described one or more link of obturation; And
Obturation is determined will be by described one or more link of obturation.
8. method according to claim 7 is characterized in that, described definite will being may further comprise the steps by the step of described one or more link of obturation of described obturation:
Step 1, whether will by a link in inaccessible described one or more link be professional necessary path in analysis if being confirmed as according to routing condition, if not, inaccessible described link, and execution in step three, otherwise execution in step two;
Step 2 will be by the link of obturation according to next bar of routing condition verification, and repeats described step 1; And
Step 3, whether the flow of measuring the described network element of overload is reduced to below the higher limit of described thresholding, if stop to continue inaccessiblely will not carried out described step 2 otherwise return by the link of obturation by obturation.
9. according to the described method of aforementioned arbitrary claim, it is characterized in that described network element is the Diameter entity.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101637341A CN101150512B (en) | 2007-10-23 | 2007-10-23 | Method for load balance of communication link |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101637341A CN101150512B (en) | 2007-10-23 | 2007-10-23 | Method for load balance of communication link |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101150512A CN101150512A (en) | 2008-03-26 |
CN101150512B true CN101150512B (en) | 2011-05-25 |
Family
ID=39250861
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101637341A Expired - Fee Related CN101150512B (en) | 2007-10-23 | 2007-10-23 | Method for load balance of communication link |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101150512B (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8750116B2 (en) | 2008-04-15 | 2014-06-10 | Qualcomm Incorporated | Methods and apparatus for communicating and/or using load information in support of decentralized traffic scheduling decisions |
US20110061061A1 (en) * | 2008-05-15 | 2011-03-10 | Alcatel Lucent | Method and network elements of end-to-end overload control for diameter applications |
CN101631360B (en) * | 2009-08-19 | 2012-05-09 | 中兴通讯股份有限公司 | Method, device and system for realizing load balancing |
WO2011047382A2 (en) | 2009-10-16 | 2011-04-21 | Tekelec | Methods, systems, and computer readable media for providing diameter signaling router with integrated monitoring and/or firewall functionality |
CN102812671B (en) | 2010-02-12 | 2015-06-17 | 泰克莱克股份有限公司 | Methods, systems, and computer readable media for inter-diameter-message processor routing |
CN102855297B (en) * | 2012-08-14 | 2016-04-06 | 北京高森明晨信息科技有限公司 | A kind of method of control data transmission and connector |
US9729454B2 (en) | 2015-01-21 | 2017-08-08 | Oracle International Corporation | Methods, systems, and computer readable media for balancing diameter message traffic received over long-lived diameter connections |
US10027760B2 (en) | 2015-05-22 | 2018-07-17 | Oracle International Corporation | Methods, systems, and computer readable media for short and long term policy and charging rules function (PCRF) load balancing |
CN106341334B (en) * | 2015-07-08 | 2021-03-30 | 中兴通讯股份有限公司 | Method and device for adjusting Diameter signaling link and DRA |
US10027577B2 (en) | 2015-07-29 | 2018-07-17 | Oracle International Corporation | Methods, systems, and computer readable media for peer aware load distribution |
CN106549771A (en) * | 2015-09-23 | 2017-03-29 | 中兴通讯股份有限公司 | The overload controlling method and device of charging request message |
CN107295540B (en) * | 2016-03-31 | 2021-02-26 | 华为技术有限公司 | Network element configuration method and device |
US10999202B2 (en) | 2018-11-30 | 2021-05-04 | Oracle International Corporation | Methods, systems, and computer readable media for distributing Sigtran connections among signal transfer point (STP) message processors |
US11576072B2 (en) | 2020-09-21 | 2023-02-07 | Oracle International Corporation | Methods, systems, and computer-readable media for distributing S1 connections to mobility management entities (MMEs) and N2 connections to access and mobility management functions (AMFs) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1472924A (en) * | 2003-07-11 | 2004-02-04 | �廪��ѧ | Selecting method based on path-time delay probability distribution |
CN1599351A (en) * | 2003-12-17 | 2005-03-23 | 浪潮电子信息产业股份有限公司 | Method for constructing high cost performance machine group network load equilization converter |
CN1809021A (en) * | 2005-01-17 | 2006-07-26 | 华为技术有限公司 | Ethernet link converging method |
CN1909507A (en) * | 2006-07-04 | 2007-02-07 | 华为技术有限公司 | Method and system for message transfer |
-
2007
- 2007-10-23 CN CN2007101637341A patent/CN101150512B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1472924A (en) * | 2003-07-11 | 2004-02-04 | �廪��ѧ | Selecting method based on path-time delay probability distribution |
CN1599351A (en) * | 2003-12-17 | 2005-03-23 | 浪潮电子信息产业股份有限公司 | Method for constructing high cost performance machine group network load equilization converter |
CN1809021A (en) * | 2005-01-17 | 2006-07-26 | 华为技术有限公司 | Ethernet link converging method |
CN1909507A (en) * | 2006-07-04 | 2007-02-07 | 华为技术有限公司 | Method and system for message transfer |
Also Published As
Publication number | Publication date |
---|---|
CN101150512A (en) | 2008-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101150512B (en) | Method for load balance of communication link | |
US20090232152A1 (en) | Method and apparatus for aggregating ports | |
US6917592B1 (en) | LNS high availability and load balancing with LNS-to-LNS state offloading | |
CN102347867B (en) | Processing method and equipment for stacking splitting detection | |
US20040213395A1 (en) | Apparatus and a method for optimizing network resources employed in data communication | |
KR101593168B1 (en) | Physical one direction communication device and method thereof | |
CN100589408C (en) | A communication network connection method and its device | |
WO2011020363A1 (en) | Method and system for realizing load balance and diameter client | |
CN101622851A (en) | Method and system for providing peer liveness for high speed environments | |
EP1512250A1 (en) | Distinguishing between link and node failure to facilitate fast reroute | |
MX2010012475A (en) | A system and method of releasing resources in a telecommunications network. | |
CN102255751A (en) | Stacking conflict resolution method and equipment | |
WO2003001378A2 (en) | Method for secure file transfer to multiple destinations with integrity check | |
CN103023815A (en) | Aggregation link load sharing method and device | |
CN101785256B (en) | Protection mechanisms for a communications network | |
CN106453074A (en) | Switching method and apparatus | |
US8868967B2 (en) | Method and system for connection-error handling of service in an automatically switched optical network | |
CA2557733A1 (en) | Packet communication network and packet communication method | |
EP1601135A1 (en) | Communication network connection rerouting methods and systems | |
US7627100B2 (en) | Method for providing virtual private network services | |
CN100574486C (en) | The system of dual-homing networking and method thereof in the communication network | |
JP2006279636A (en) | Consistency guarantee management system for inter-client communication log | |
MXPA02006896A (en) | Method and apparatus for providing reliable communications in an intelligent network. | |
US7710880B2 (en) | Method and apparatus for security protection of service interruption in switch network | |
CN100450018C (en) | Method for raising Diameter internodal communication reliability |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110525 Termination date: 20171023 |