METHOD, NETWORK NODE, AND NETWORK SYSTEM FOR OFFLOADING NETWORK TRAFFIC

Information

  • Patent Application
  • 20140003247
  • Publication Number
    20140003247
  • Date Filed
    August 30, 2013
    11 years ago
  • Date Published
    January 02, 2014
    10 years ago
Abstract
Embodiments of the present invention disclose a method, network node, and network system for offloading network traffic. The method includes: obtaining link utilization information of a network; computing a shortest path and a second shortest path to a content source; selecting a light-load path from the shortest path and the second shortest path according to the obtained link utilization information; and selecting traffic and dispersing the selected traffic onto the light-load path. By implementing the present invention, a light-load path can be selected according to link utilization information of a network, and traffic is dispersed over the light-load path. In this way, dynamic load balancing of traffic is implemented, thereby preventing or mitigating network congestion.
Description
TECHNICAL FIELD

Embodiments of the present invention relate to the field of communication technologies, and in particular, to a method, network node, and network system for offloading network traffic.


BACKGROUND

On a current network, traffic of video services occupies the majority of Internet traffic. It is estimated that the traffic of video services will account for 91% of the Internet traffic by 2014.


Different from traditional WWW (World Wide Web) browsing services, video services have such features as high per stream bandwidth consumption, and long duration. Per stream bandwidth consumption of traditional WWW browsing services is about 100 Kbps, per stream bandwidth consumption of standard definition videos is 2 Mbps, and per stream bandwidth consumption of high definition videos is 8 Mbps. Per stream duration of traditional WWW browsing services is about 10 seconds, and per stream duration of video services generally exceeds three minutes. Such features of the video services usually cause network congestion.


A method used by broadband network operators to solve network congestion currently is implementing load balancing of traffic through multiple paths. A method used by video service or content delivery network (Content Delivery Network, CDN) service providers to solve network congestion is also implementing load balancing of traffic through multiple paths.


In the foregoing solution, although a plurality of paths is deployed, route computation complies with a principle of shortest path first or equal-cost multi-path (selecting a device with a small Router-ID as a network edge egress device or dispersing traffic by using a Hash-based equal-cost multi-path algorithm), which results in that the traffic is concentrated on an egress port. Therefore, the features of large bandwidth and long duration of video traffic still cause the problem of network congestion.


SUMMARY

Embodiments of the present invention provide a method, network node, and network system for offloading network traffic, so as to prevent or solve the problem of network congestion caused by large-bandwidth services such as videos.


In one aspect, an embodiment of the present invention provides a method for offloading network traffic, including: obtaining link utilization information of a network; computing a shortest path and a second shortest path to a content source; selecting a light-load path from the shortest path and the second shortest path according to the obtained link utilization information; and selecting traffic and dispersing the selected traffic onto the light-load path.


In another aspect, an embodiment of the present invention provides a network node, including: an obtaining module, configured to obtain link utilization information of a network where the network node is located; a computing module, configured to compute a shortest path and a second shortest path from the network node to a content source; a selecting module, configured to select a light-load path from the shortest path and the second shortest path; and a dispersing module, configured to select traffic and disperse the selected traffic onto the light-load path selected by the selecting module.


In still another aspect, an embodiment of the present invention provides a network system, including: a network management system, configured to: obtain link utilization information of an autonomous system; select a network node for dispersing traffic; compute a shortest path and a second shortest path from the network node to a content source; select a light-load path from the shortest path and the second shortest path; and send a notification message to the selected network node, where the notification message carries the selected light-load path; and the network node, configured to receive the notification message, and disperse traffic over the light-load path carried in the notification message.


By using the foregoing embodiments of the present invention, a light-load path can be selected according to link utilization information of a network, and traffic is dispersed over the light-load path. In this way, dynamic load balancing of traffic is implemented, thereby preventing or mitigating network congestion.





BRIEF DESCRIPTION OF DRAWINGS

To illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments. Apparently, the accompanying drawings in the following description show merely some embodiments of the present invention, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.



FIG. 1 is a schematic flowchart of a method for offloading network traffic according to an embodiment of the present invention;



FIG. 2 is a schematic flowchart of another method for offloading network traffic according to an embodiment of the present invention;



FIG. 3 is a schematic flowchart of another method for offloading network traffic according to an embodiment of the present invention;



FIG. 4 is a schematic structural diagram of a network node according to an embodiment of the present invention; and



FIG. 5 is a schematic structural diagram of a network management system according to an embodiment of the present invention.





DESCRIPTION OF EMBODIMENTS

Firstly, it should be noted that in all embodiments of the present invention:


Network congestion does not mean a packet loss when link utilization reaches 100%, but means that network congestion occurs when the link utilization is greater than a preset threshold, for example, when the link utilization is greater than 60% or 80%.


A light-load path refers to a path with lower link utilization among a plurality of optional forwarding paths, and the link utilization of the light-load path should not be greater than a set threshold causing network congestion.


A content source refers to a physical server or a virtual server that directly provides users with content, where the content may include video, audio or other resources that need to be transmitted through the network.


Dispersing traffic means that traffic is divided according to different subnets, and traffic on a specific subnet is sent to a selected path for transmission. To avoid traffic loopback, when traffic is dispersed, reverse forwarding must be prohibited, that is, it is prohibited to forward traffic to an interface entering a network node.


The present invention is described in detail with reference to accompanying drawings and embodiments.



FIG. 1 is a schematic flowchart of a method for offloading network traffic according to an embodiment of the present invention. The method includes:



100. Obtain link utilization information of a network.


The network may be any network capable of implementing communication functions. The embodiment of the present invention is illustrated mainly by taking an autonomous system as an example. The link utilization information of the network includes link utilization information of each link on the network.



120. Compute a shortest path and a second shortest path to a content source.


This step may be performed when it is determined that network congestion has already occurred according to the obtained link utilization information or when it is determined that network congestion will occur according to the obtained link utilization information.


The “second shortest path” is relative to the “shortest path”, and a plurality of “second shortest paths” may be available. A plurality of “shortest paths” may also be available (for example, equal-cost multi-path).



140. Select a light-load path from the shortest path and the second shortest path according to the obtained link utilization information.



160. Select traffic and disperse the selected traffic onto the light-load path.


The link utilization information may be carried in an extended interior gateway protocol (Interior Gateway Protocol, IGP) advertisement message, for example, an OSPF Opaque LSA.


The selecting traffic and dispersing the selected traffic onto the light-load path includes: when congestion occurs, selecting traffic on one or more subnets, and transmitting the traffic on the one or more subnets over the light-load path.


In the foregoing embodiment of the method, dynamic load balancing of traffic is implemented by collecting and using link utilization information, so that network congestion can be mitigated.



FIG. 2 is a schematic flowchart of another method for offloading network traffic according to an embodiment of the present invention. The method includes:



200. A network node obtains link utilization information of an autonomous system where the network node is located.


The link utilization information of the autonomous system may be link utilization of each link in the autonomous system where the network node is located or egress link utilization of an edge device of the autonomous system where the network node is located.


The process specifically includes: advertising, by each network node in the autonomous system, link utilization information of the each network node, and synchronizing the link utilization information of the whole autonomous system through a flooded link state advertisement (Link State Advertisement, LSA), that is, obtaining, by the network node, through an LSA, the link utilization information of each link in the autonomous system and the egress link utilization information of the edge device of the autonomous system.


The link utilization information may be advertised by the network node on a real-time and periodic basis or according to a certain rule. Real-time advertisement means that link utilization information is advertised when the link utilization is changed; periodic advertisement means that the link utilization information is advertised according to a set period; and advertising according to a rule means that the link utilization information is advertised according to a set rule, for example, the link utilization information is advertised when the link utilization is smaller than 30% or greater than 60%.


The result of performing this step is that the network node can obtain the link utilization information of each link in the autonomous system where the network node is located.



220. The network node monitors received network traffic, and establishes a mapping relationship between subnets and traffic.


The purpose of establishing a mapping relationship between subnets and traffic is to disperse traffic according to subnets when network congestion occurs, that is, in a process of dispersing traffic, it needs to be ensured that traffic on the same subnet is transmitted over the same path.


Step 200 and step 220 may be performed in any sequence.



240. When determining, according to the obtained link utilization information, that network congestion has already occurred or will occur, the network node computes a shortest path and a second shortest path from the network node to a content source.


The “second shortest path” is relative to the “shortest path”, and a plurality of “second shortest paths” may be available. A plurality of “shortest paths” may also be available (for example, equal-cost multi-path).



260. The network node selects a light-load path from the shortest path and the second shortest path.



280. The network node selects traffic according to the mapping relationship between subnets and traffic, and disperses the selected traffic onto the light-load path.


Specifically, the network node selects traffic on one or more subnets according to the mapping relationship between subnets and traffic, and transmits the traffic on the one or more subnets over the light-load path.


The network node can be selected according to the following rules:


(1) a congestion node;


(2) when the congestion node does not have a plurality of optional paths to the content source or does not have a light-load path, the network node is an upstream node of the congestion node;


(3) when there is a plurality of nodes in the upstream node of the congestion node, the network node is a node that has a plurality of optional paths including a light-load path to the content source among the plurality of upstream nodes, or is a node with a smallest Router-ID among the plurality of upstream nodes; and


(4) when there is a plurality of nodes in the upstream node of the congestion node and each of the plurality of upstream nodes has a plurality of optional paths including a light-load path to the content source, the network node is an upstream node that inputs the most traffic to the congestion node.


If congestion is still not mitigated after the traffic is dispersed by using a network node, another network node may be selected continuously according to the foregoing rule to disperse the traffic.


In the foregoing embodiment of the present invention, each network node advertises its own link utilization information, so that link utilization information of a whole autonomous system is shared. When congestion has already occurred or will occur on a network, a light-load path can be selected according to the link utilization information to disperse traffic, thereby implementing dynamic load balancing of the traffic and effectively preventing or mitigating network congestion.



FIG. 3 is a schematic flowchart of another method for offloading network traffic according to an embodiment of the present invention. The method includes:



300. A network management system obtains link utilization information of an autonomous system.


A network management system may manage one autonomous system, or a plurality of autonomous systems. This embodiment takes managing one autonomous system as an example. When there is a plurality of autonomous systems, the network management system manages the plurality of autonomous systems separately.


The link utilization information of the autonomous system includes link utilization information of each link in the autonomous system and egress link utilization information of an edge device of the autonomous system.


The link utilization information may be periodically obtained by the network management system from all network nodes in the autonomous system, or be periodically reported by all network nodes in the autonomous system to the network management system. Alternatively, after each network node in the autonomous system obtains link utilization information of each link in the autonomous system through a flooding mechanism, the network management system may query any one network node in the autonomous system to obtain the link utilization information.


For the method for obtaining the link utilization information of each link in the autonomous system by each network node through the flooding mechanism, refer to the foregoing embodiment, which is not further described herein.



310. When determining, according to the obtained link utilization information, that network congestion has already occurred or will occur, the network management system selects a network node for dispersing traffic.


The network management system may determine that network congestion occurs by querying actively or according to a report from any network node in the autonomous system.


For a rule of selecting a network node for dispersing traffic, refer to the foregoing embodiment, which is not further described herein.



320. The network management system computes a shortest path and a second shortest path from the selected network node to a content source.


The “second shortest path” is relative to the “shortest path”, and a plurality of “second shortest paths” may be available. A plurality of “shortest paths” may also be available (for example, equal-cost multi-path).



330. The network management system selects a light-load path from the shortest path and the second shortest path.


Specifically, the network management system selects, according to the obtained link utilization information of the autonomous system, a path with lower link utilization from the shortest path and the second shortest path as the light-load path.



340. The network management system sends a notification message to the selected network node, where the notification message carries the selected light-load path and is used to enable the selected network node to disperse traffic over the selected light-load path.



350. The network node receives the notification message sent by the network management system, and disperses traffic over the light-load path carried in the notification message.


Further, the network node may monitor received network traffic, and establish a mapping relationship between subnets and traffic. When the network node needs to disperse traffic, the network node selects traffic on one or more subnets according to the mapping relationship between subnets and traffic, and transmits the traffic on the one or more subnets over the light-load path to disperse the traffic. In a process of dispersing the traffic, it needs to be ensured that traffic on the same subnet is transmitted over the same path. The mapping relationship may be or may not be sent to the network management system.


In the foregoing embodiment of the present invention, a network management system obtains link utilization information of a whole autonomous system; when congestion has already occurred or will occur on a network, the network management system selects a network node and a light-load path to enable the network node to disperse traffic. In this way, dynamic load balancing of traffic is implemented, thereby effectively preventing or mitigating network congestion.


As shown in FIG. 4, an embodiment of the present invention further provides a network node configured to implement the method in the foregoing embodiment of the present invention. The network node includes:


an obtaining module 400, configured to obtain link utilization information of a network where the network node is located (referring to step 100 and step 200);


a computing module 410, configured to compute a shortest path and a second shortest path from the network node to a content source when it is determined that network congestion has already occurred or will occur according to the obtained link utilization information (referring to step 120 and step 240);


a selecting module 420, configured to select a light-load path from the shortest path and the second shortest path (referring to step 140 and step 260); and


a dispersing module 430, configured to select traffic and disperse the selected traffic onto the light-load path selected by the selecting module 420 (referring to 160 and step 280);


The network node may further include a monitoring module 440 configured to monitor received network traffic and establish a mapping relationship between subnets and traffic (referring to step 220). The dispersing module is specifically configured to select traffic according to the mapping relationship between subnets and traffic, and disperse the selected traffic onto the light-load path (referring to step 280).


The network node may further include an advertising module 450 configured to advertise link utilization information of the network node and a storing module 460 configured to store a mapping relationship between subnets and traffic.


In the foregoing embodiment of the present invention, a network node obtains link utilization information of a whole autonomous system; when congestion has already occurred or will occur on a network, the network node selects a light-load path according to the link utilization information to disperse traffic. In this way, dynamic load balancing of traffic is implemented, thereby effectively preventing or mitigating network congestion.


As shown in FIG. 5, an embodiment of the present invention further provides a network system configured to implement the method in the foregoing embodiment of the present invention. The network system includes at least one network node 500 and a network management system 600.


The network management system 600 is configured to: obtain link utilization information of an autonomous system (referring to step 300); when determining, according to the obtained link utilization information, that network congestion has already occurred or will occur, select a network node for dispersing traffic (referring to step 310); compute a shortest path and a second shortest path from the selected network node to a content source (referring to step 320); select a light-load path from the shortest path and the second shortest path (referring to step 330); and send a notification message to the selected network node, where the notification message carries the selected light-load path (referring to step 340).


The network node 500 is configured to receive the notification message, and disperse traffic over the light-load path carried in the notification message (referring to step 350).


The network node 500 may be further configured to monitor network traffic, and establish a mapping relationship between subnets and traffic; when traffic needs to be dispersed, the network node selects traffic according to the mapping relationship between subnets and traffic, and disperses the selected traffic onto the light-load path. In a process of dispersing the traffic, it needs to be ensured that traffic on the same subnet is transmitted over the same path.


The network node 500 may be further configured to advertise link utilization information of the network node in an autonomous system, and periodically report to the network management system the link utilization information of the network node or link utilization information of an autonomous system where the network node is located.


In the foregoing embodiment of the present invention, a network management system obtains link utilization information of a whole autonomous system; when congestion has already occurred or will occur on a network, the network management system selects a network node and a light-load path to enable the network node to disperse traffic. In this way, dynamic load balancing of traffic is implemented, thereby effectively preventing or mitigating network congestion.


Through the foregoing description of the embodiments, the present invention may be implemented by software plus necessary universal hardware, and may also be implemented by hardware. Based on such an understanding, the technical solutions of the present invention essentially, or the part contributing to the prior art may be implemented in a form of a software product. The computer software product is stored in a readable storage medium, for example, a floppy disk, hard disk, or optical disk of the computer, and includes several instructions for instructing a computer device (which may be a personal computer, a server, or a network device) to perform the methods described in the embodiments of the present invention.


The foregoing descriptions are merely specific embodiments of the present invention, but are not intended to limit the protection scope of the present invention. Any variation or replacement readily figured out by a person skilled in the art within the technical scope disclosed in the present invention shall fall within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims
  • 1. A method for offloading network traffic, comprising: obtaining link utilization information of a network;computing a shortest path and a second shortest path to a content source;selecting a light-load path from the shortest path and the second shortest path according to the obtained link utilization information; andselecting traffic and dispersing the selected traffic onto the light-load path.
  • 2. The method according to claim 1, wherein before the selecting traffic and dispersing the selected traffic onto the light-load path, the method further comprises: monitoring, by a network node, received network traffic, and establishing a mapping relationship between subnets and traffic.
  • 3. The method according to claim 2, wherein the selecting traffic and dispersing the selected traffic onto the light-load path specifically comprises: selecting, by the network node, traffic on one or more subnets according to the mapping relationship between subnets and traffic, and transmitting the traffic on the one or more subnets over the light-load path.
  • 4. The method according to claim 3, wherein: the obtaining link utilization information of a network specifically comprises: obtaining, by the network node, through a flooded link state advertisement LSA, link utilization information of each link in an autonomous system where the network node is located; andthe computing a shortest path and a second shortest path to a content source comprises:computing, by the network node, a shortest path and a second shortest path from the network node to the content source.
  • 5. The method according to claim 3, wherein the obtaining link utilization information of a network specifically comprises: obtaining, by a network management system, link utilization information of an autonomous system.
  • 6. The method according to claim 5, wherein: before the computing a shortest path and a second shortest path to a content source, the method further comprises: selecting, by the network management system, a network node for dispersing traffic; andthe computing a shortest path and a second shortest path to a content source comprises: computing, by the network management system, a shortest path and a second shortest path from the selected network node to the content source.
  • 7. The method according to claim 6, wherein before the selecting traffic and dispersing the selected traffic onto the light-load path, the method further comprises: sending, by the network management system, a notification message to the selected network node, wherein the notification message carries the selected light-load path and is used to enable the selected network node to disperse traffic over the selected light-load path.
  • 8. A network node, comprising: an obtaining module, configured to obtain link utilization information of a network wherein the network node is located;a computing module, configured to compute a shortest path and a second shortest path from the network node to a content source;a selecting module, configured to select a light-load path from the shortest path and the second shortest path; anda dispersing module, configured to select traffic and disperse the selected traffic onto the light-load path selected by the selecting module.
  • 9. The network node according to claim 8, further comprising: a monitoring module, configured to monitor received network traffic, and establish a mapping relationship between subnets and traffic.a storing module, configured to store the mapping relationship, wherein:the dispersing module is specifically configured to select traffic according to the mapping relationship between subnets and traffic, and disperse the selected traffic onto the light-load path.
  • 10. The network node according to claim 9, further comprising: an advertising module, configured to advertise link utilization information of the network node.
  • 11. A network system, comprising: a network management system, configured to: obtain link utilization information of an autonomous system; select a network node for dispersing traffic; compute a shortest path and a second shortest path from the network node to a content source; select a light-load path from the shortest path and the second shortest path; and send a notification message to the selected network node, wherein the notification message carries the selected light-load path; andthe network node, configured to receive the notification message, and disperse traffic over the light-load path carried in the notification message.
  • 12. The network system according to claim 11, wherein the network node is further configured to monitor network traffic and establish a mapping relationship between subnets and traffic; and the dispersing traffic specifically means that the network node selects traffic on one or more subnets according to the mapping relationship between subnets and traffic, and transmits the traffic on the one or more subnets over the light-load path carried in the notification message.
  • 13. A method comprising: selecting, by a processor, a light-load path from a shortest path and a second shortest path between a network node and a content source according to obtained link utilization information; andselecting, by the processor, traffic and dispersing the selected traffic onto the light-load path.
Priority Claims (1)
Number Date Country Kind
201110050114.3 Mar 2011 CN national
CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Application No. PCT/CN2012/071516, filed on Feb. 23, 2012, which claims priority to Chinese Patent Application CN 201110050114.3, filed on Mar. 2, 2011, both of which are hereby incorporated by reference in their entireties.

Continuations (1)
Number Date Country
Parent PCT/CN2012/071516 Feb 2012 US
Child 14015362 US