WO2017080301A1 - Method for transferring network exit congestion state, network exit selection method, and router - Google Patents

Method for transferring network exit congestion state, network exit selection method, and router Download PDF

Info

Publication number
WO2017080301A1
WO2017080301A1 PCT/CN2016/098823 CN2016098823W WO2017080301A1 WO 2017080301 A1 WO2017080301 A1 WO 2017080301A1 CN 2016098823 W CN2016098823 W CN 2016098823W WO 2017080301 A1 WO2017080301 A1 WO 2017080301A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
route
congestion state
network egress
router
Prior art date
Application number
PCT/CN2016/098823
Other languages
French (fr)
Chinese (zh)
Inventor
李振强
Original Assignee
中国移动通信集团公司
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 中国移动通信集团公司 filed Critical 中国移动通信集团公司
Publication of WO2017080301A1 publication Critical patent/WO2017080301A1/en

Links

Images

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/122Avoiding congestion; Recovering from congestion by diverting traffic away from congested entities
    • 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/11Identifying congestion

Definitions

  • the present disclosure relates to the field of communication technologies, and in particular, to a method for transmitting a network egress congestion state in real time, a network egress selection method, and a router.
  • the provincial network cannot be perceived in real time due to the congestion of the backbone network of the operator.
  • the operator's provincial network will channel the traffic of some important customers through third-party exports through policy routing.
  • the congestion of the third-party export the operator's provincial network is not obtained in real time, usually by purchasing enough bandwidth to ensure that after purchasing a certain bandwidth, the operator's provincial network must ensure that the traffic dispatched to the third-party export does not exceed the purchase bandwidth. . If the third-party export congestion occurs due to traffic bursts, etc., the operator's provincial network cannot be perceived in real time, and can only be discovered when a complaint is received or the network quality is checked.
  • the operator's provincial network cannot sense the congestion of the network exit in real time, and the traffic cannot be scheduled in real time according to the congestion situation among multiple outlets, which will affect the user's Internet access experience and affect the bandwidth of the operator's network. Use efficiency.
  • the purpose of the present disclosure is to provide a method for real-time delivery of a network egress congestion state, a network egress selection method, and a router, which solves the problem that the provincial network cannot perceive the network egress congestion condition in real time.
  • the embodiment of the present disclosure provides a method for real-time delivery of a network egress congestion state, which is applied to a first router, including:
  • the route is announced to the border gateway protocol BGP neighbor;
  • the declared route has a network exit congestion state that reaches the predetermined condition.
  • the method before the routing the BGP neighbor to the border gateway protocol, the method further includes:
  • the route is generated according to all links or partial links that trigger route advertisement.
  • the step of generating the route according to all links or partial links that trigger the route advertisement includes:
  • the network egress congestion state that meets the predetermined condition is identified by the community attribute community, where the network egress congestion state includes a bandwidth of the network egress link and a current link utilization rate.
  • the step of generating the route according to all links or partial links that trigger the route advertisement includes:
  • the network egress congestion state that meets the predetermined condition is identified by the extended community attribute extended community, where the network egress congestion state includes a bandwidth of the network egress link and a current link utilization rate.
  • the network egress congestion state further includes a network egress link delay and a link stability.
  • the step of declaring a route to the border gateway protocol BGP neighbor when the network egress congestion state reaches a predetermined condition includes:
  • the route is announced to the border gateway protocol BGP neighbor.
  • the step of advertising the route to the border gateway protocol BGP neighbor includes:
  • the present disclosure also provides a first router, including:
  • a detecting module configured to detect a network export congestion state in real time
  • An announcement module configured to announce a route to a border gateway protocol BGP neighbor when the network egress congestion state reaches a predetermined condition
  • the declared route has a network exit congestion state that reaches the predetermined condition.
  • the present disclosure also provides a network egress selection method, which is applied to a second router, including:
  • the first router and the second router are border gateway protocol BGP neighbors, and the route is information generated by the first router according to a network egress congestion state that reaches a predetermined condition ;
  • the network exit selection is performed by using the network egress congestion state in the route in combination with the local policy.
  • the step of using the network egress congestion state in the route to perform network egress selection in combination with the local policy includes:
  • the egress network When the link utilization of the backbone network egress is lower than the third threshold, the egress network does not exceed the outbound traffic of the remaining available bandwidth of the backbone network egress.
  • the network egress selection method before the utilizing the network egress congestion state in the route and the local policy to perform the network egress selection, the network egress selection method further includes:
  • the configuration generates the local policy.
  • the local policy includes: selecting a network exit with higher stability when the remaining available bandwidth of the network egress is the same.
  • the present disclosure also provides a second router, including:
  • a receiving module configured to receive a route advertised by the first router, where the first router and the second router are border gateway protocol BGP neighbors, and the route is a network exit by the first router according to a predetermined condition Information generated by the congestion state;
  • the processing module is configured to perform network egress selection by using a network egress congestion state in the route in combination with a local policy.
  • the method for real-time delivery network egress congestion state detects the congestion state of the network egress in real time; when the network egress congestion state reaches a predetermined condition, announces a route to the border gateway protocol BGP neighbor; and the announced route identifier is reached.
  • the network egress congestion state of the predetermined condition enables the second router - the router (provincial network) that needs to use the network egress state to be able to sense the network egress congestion status in real time, and then according to the received network egress congestion status according to the local policy in multiple Dynamically diverting traffic between network egresses ensures user experience and improves network export utilization efficiency.
  • FIG. 1 is a schematic diagram of a network architecture in the related art
  • FIG. 2 is a schematic flowchart of a method for real-time delivery of a network egress congestion state according to some embodiments of the present disclosure
  • FIG. 3 is a schematic flowchart of a method for selecting a network egress according to some embodiments of the present disclosure
  • FIG. 4 is a schematic diagram of a network architecture according to some embodiments of the present disclosure.
  • FIG. 5 is a schematic diagram of an extended community definition according to some embodiments of the present disclosure.
  • FIG. 6 is a schematic diagram of an example of an extended community encoding according to some embodiments of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a first router according to some embodiments of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a second router according to some embodiments of the present disclosure.
  • FIG. 9 is a schematic diagram of an example of an extended community encoding according to some embodiments of the present disclosure.
  • the present disclosure provides various solutions for the problem that the provincial network cannot perceive the network export congestion status in real time in the related art, and the specific solutions are as follows:
  • a method for real-time delivery network egress congestion status is applicable to a first router (egress router), where the method includes:
  • Step 21 Real-time detection of network exit congestion status
  • Step 22 Declare a route to the border gateway protocol BGP neighbor when the network egress congestion state reaches a predetermined condition
  • the declared route has a network exit congestion state that reaches the predetermined condition.
  • Some embodiments of the present disclosure detect the congestion state of the network egress in real time; when the network egress congestion state reaches a predetermined condition, announce a route to the border gateway protocol BGP neighbor; and the announced route flag has a network egress congestion state that reaches a predetermined condition, so that A router (provincial network) that needs to use the network egress status can sense the network egress congestion status in real time, and thus can be based on the received network.
  • the export congestion status dynamically diverts traffic between multiple network outlets according to local policies, ensuring user experience and improving network export utilization efficiency.
  • the method further includes: determining, in real time, whether the congestion status reaches the predetermined condition.
  • the method further includes: when the network egress congestion state reaches the predetermined condition, generating according to all links or partial links that are triggered by the triggering route The route.
  • some embodiments of the present disclosure provide two measures:
  • the step of generating the route according to all links or partial links that are triggered by the triggering route includes: identifying, by using a community attribute community, a network egress congestion state that meets the predetermined condition, where the network egress congestion state includes The bandwidth of the network egress link and the current utilization of the link.
  • the second measure, the step of generating the route according to all links or partial links that trigger the route advertisement includes: identifying, by using an extended community attribute extended community, a network egress congestion state that reaches the predetermined condition, where the network egress is congested
  • the status includes the bandwidth of the network egress link and the current utilization of the link.
  • the egress link delay and stability can be carried while the network egress bandwidth and the link current utilization are transmitted.
  • Information such as the number of times the link is interrupted, etc.; that is, the network egress congestion state may also include network egress link delay and link stability.
  • the step of declaring a route to the border gateway protocol BGP neighbor includes: changing a link utilization rate at the network egress, or changing the link utilization rate by more than the first
  • the threshold, or link utilization reaches the second threshold, the route is announced to the Border Gateway Protocol BGP neighbor.
  • the step of advertising the route to the border gateway protocol BGP neighbor comprises: declaring a route to all BGP neighbors or part of the BGP neighbors.
  • a BGP neighbor can be either a router or a route reflector RR.
  • a network egress selection method provided by some embodiments of the present disclosure may be applied to a second router (a router that needs to use a network egress state), where the network egress selection method includes:
  • Step 31 Receive a route advertised by the first router, where the first router and the second router are border gateway protocol BGP neighbors, and the route is a network egress congestion state by the first router according to a predetermined condition. Generated information;
  • Step 32 Perform network egress selection by using the network egress congestion state in the route in combination with the local policy (and further divert different traffic through different network outlets).
  • the step of receiving the route advertised by the first router may be directly receiving the route advertised by the first router, or the route advertised by the first router forwarded by the route reflector RR.
  • Some embodiments of the present disclosure ensure the user experience and improve the network by receiving the route advertised by the first router and utilizing the network egress congestion state in the route in combination with the local policy for network egress selection, and then diverting different traffic through different network outlets. Export utilization efficiency.
  • the preset condition includes that the link utilization of the network egress changes, or the link utilization change exceeds a first threshold, or the link utilization reaches a second threshold.
  • the step of utilizing the network egress congestion state in the route and the local policy to perform network egress selection includes: the link utilization at the backbone network egress is lower than a third threshold (such as 80%), or the remaining bandwidth When the value is greater than the fourth threshold (for example, 2G), the egress network does not exceed the remaining available bandwidth of the backbone network outlet.
  • a third threshold such as 80%
  • the fourth threshold for example, 2G
  • the network egress selection method further includes: configuring to generate the local policy.
  • the local policy includes: selecting a network egress with higher stability or less delay when the remaining available bandwidth of the network egress is the same.
  • Some embodiments of the present disclosure in conjunction with the foregoing embodiments, describe a method for transmitting and receiving congestion status of a real-time delivery network from a transmitting and receiving side, and a network egress selection method.
  • some embodiments of the present disclosure provide a network egress router and a router that needs to use a network egress state based on an existing network system, and a network egress router and a router that needs to use a network egress state, and Between BGP routers, two routers that need to use the network egress state communicate through iBGP (Internal Border Gateway Protocol); In addition, both parties communicate via eBGP (External Border Gateway Protocol).
  • iBGP Internal Border Gateway Protocol
  • eBGP Extra Border Gateway Protocol
  • the network egress router in the carrier backbone network is used to sense the egress status of the backbone network, and the BGP router in the carrier backbone network is used to forward the route announced by the network egress router in the carrier backbone network;
  • the router in the carrier's provincial network After receiving the route forwarded by the BGP router, the router in the carrier's provincial network needs to use the network state router to forward the route to the router in the operator's provincial network and the router that needs to use the network state.
  • the router learns according to the The route, and the network egress status of the third-party egress that it perceives, the traffic is diverted, and the router announces the network egress status of the third-party egress that it perceives to the router in the operator's provincial network that needs to use the network state.
  • the egress router needs to detect the congestion status of the network egress, and announce the route to the BGP neighbor according to the degree of change of the congestion status.
  • the announced route identifies the latest congestion status of the egress.
  • the corresponding egress router needs to have the following functional modules: a network egress congestion state detection module, a network egress congestion state change degree decision module, a network exit congestion state indication generation module, and a route advertisement module.
  • the route is advertised to the BGP neighbor according to the degree of change of the congestion state, which may include the following three situations:
  • the routing announcement is triggered as long as the link utilization of the egress changes.
  • the route advertisement is triggered only when the change of the egress link utilization exceeds a certain threshold (for example, 10%, and the specific threshold can be set);
  • the route advertisement is triggered only when the egress link utilization reaches a set threshold (for example, more than 80% or less than 50%, and the specific threshold can be set).
  • a set threshold for example, more than 80% or less than 50%, and the specific threshold can be set.
  • the route is advertised to the BGP neighbor, which may include the following four situations:
  • the announced route may be all routes learned from the link that triggered the route advertisement
  • the manner in which the announced route indicates the latest congestion status of the exit may include the following two types:
  • the community is a four-byte unsigned integer, usually written in the form of an AS number: a 16-bit integer.
  • AS number a 16-bit integer.
  • a reserved or private AS number may be used to indicate that the community is used to indicate the egress link congestion status, and the last 16 digits indicate the specific congestion status of the egress link, which is a 16-digit number.
  • Specific coding methods include but are not limited to:
  • the upper 8 bits indicate the bandwidth of the egress link in Gbps; the lower 8 bits indicate the current utilization of the link in %.
  • the extended community is a octet with a certain structure, and the highest one or two bytes indicates the type of the extended community.
  • the other bytes are specific values.
  • Some embodiments of the present disclosure may define a new type (the specific type value is determined by standardization work) to indicate that the extended community carries the egress link congestion status information.
  • the specific coding method of the extended community value part includes but is not limited to:
  • the last byte of the value part indicates the current utilization of the egress link in %; the other bytes of the value part represent the link bandwidth of the egress, in Gbps.
  • a possible coding example is shown in Figure 9.
  • a subtype can be applied from the Transitive Four-Octet AS-Specific Extended Community (RFC7153) to represent the extended community. Attributes are used to convey the state of network egress congestion. 0x02 in FIG. 9 indicates that this is a transferable 4-byte AS-specific extended community attribute; the sub-type in FIG. 9 indicates that the extended community attribute is used to convey the network exit congestion state; Sender AS Number in FIG.
  • (Sender Autonomous Area Number) is the autonomous domain number of the device that generates the extended community attribute, and may be a 4-byte autonomous domain number or a 2-byte autonomous domain number.
  • the autonomous domain number of the device that generates the extended community attribute is 2 bytes, according to the requirements of RFC6793, the highest two bytes of the Sender AS Number field may be set to 0, and the lower two bytes are stored in the device. 2 byte autonomous domain number.
  • the seventh byte is the egress bandwidth, in Gbps, the actual physical bandwidth of the network egress link is recorded; the eighth byte is the egress utilization, in %, and records the current utilization information of the egress link of the network.
  • the first two bytes are the type of the extended community, and the specific value is determined by standardization, indicating that the extended community carries the network egress congestion state; the third and fourth bytes are the exit stability, and the record link is in the middle of the day.
  • the number of interruptions; the fifth byte is the exit delay, in ms, recording the current delay information of the network egress link; the sixth and seventh bytes are the egress bandwidth, in Gbps, recording the actual physical bandwidth of the network egress link;
  • the 8th byte is the export utilization rate, in %, and records the current utilization information of the network egress link.
  • the router After receiving the BGP route advertisement that carries the egress congestion status, the router that needs to use the egress status of the egress withdraws relevant information (carrying network egress congestion status information) from the community or the extended community, and uses the information according to the local policy to perform export selection.
  • relevant information carrier network egress congestion status information
  • the router uses the information according to the local policy to perform export selection.
  • an outlet with high export stability or small delay is selected, and different flows are diverted through different outlets.
  • the router needs to have the following functional modules: a BGP route receiving module, a network egress congestion state community or an extended community processing module, and a traffic grooming policy implementation module.
  • comprehensively utilizing the information according to the local policy for export selection may include:
  • the link utilization rate of the backbone network exit is lower than a certain threshold (for example, 80%), or the remaining bandwidth is greater than a certain threshold (for example, 2G), the outbound traffic that does not exceed the remaining available bandwidth of the backbone export is preferentially routed from the backbone exit.
  • a certain threshold for example, 80%
  • the remaining bandwidth is greater than a certain threshold (for example, 2G)
  • the outbound traffic that does not exceed the remaining available bandwidth of the backbone export is preferentially routed from the backbone exit.
  • some embodiments of the present disclosure provide a solution that enables the provincial network to dynamically divert traffic between multiple egresses according to the received egress congestion status according to the local policy, thereby ensuring user experience and improving network egress utilization efficiency.
  • some embodiments of the present disclosure provide a first router, which can be used to transmit a network egress congestion status in real time, where the first router includes:
  • the detecting module 71 is configured to detect a network outlet congestion state in real time
  • the declaring module 72 is configured to announce a route to the border gateway protocol BGP neighbor when the network egress congestion state reaches a predetermined condition
  • the declared route has a network exit congestion state that reaches the predetermined condition.
  • Some embodiments of the present disclosure detect the congestion state of the network egress in real time; when the network egress congestion state reaches a predetermined condition, announce a route to the border gateway protocol BGP neighbor; and the announced route flag has a network egress congestion state that reaches a predetermined condition, so that A router (provincial network) that needs to use the network egress state can sense the network egress congestion status in real time, and can dynamically divert traffic between multiple network egresses according to the received network egress congestion status according to the local policy, thereby ensuring the user experience and improving the user experience.
  • Network export utilization efficiency may be used to sense the network egress congestion status in real time; and can dynamically divert traffic between multiple network egresses according to the received network egress congestion status according to the local policy, thereby ensuring the user experience and improving the user experience.
  • the first router further includes: a determining module, configured to determine, in real time, whether the congestion state reaches the predetermined condition before the announcement module announces the route to the border gateway protocol BGP neighbor.
  • the first router further includes: a generating module, configured to: before the announcement module announces the route to the border gateway protocol BGP neighbor, when the network egress congestion state reaches the predetermined condition, according to the trigger routing announcement All links or partial links generate the route.
  • a generating module configured to: before the announcement module announces the route to the border gateway protocol BGP neighbor, when the network egress congestion state reaches the predetermined condition, according to the trigger routing announcement All links or partial links generate the route.
  • some embodiments of the present disclosure provide two measures:
  • the generating module includes: a first identifier submodule, configured to identify, by using a community attribute community, a network egress congestion state that meets the predetermined condition, where the network egress congestion state includes a bandwidth and a chain of a network egress link. Current utilization of the road.
  • the generating module includes: a second identifier submodule, configured to identify, by using an extended community attribute extended community, a network egress congestion state that meets the predetermined condition, where the network egress congestion state includes a bandwidth of a network egress link. And the current utilization of the link.
  • the egress link delay and stability can be carried while transmitting the network egress utilization (the stability of the link can be interrupted by the link in one day.
  • Information such as the number of times, etc.; that is, the network egress congestion state may also include network egress link delay and link stability.
  • the announcement module includes: a first announcement sub-module, configured to change a link utilization rate of the network egress, or when the link utilization change exceeds a first threshold, or when the link utilization reaches a second threshold Declare a route to the Border Gateway Protocol BGP neighbor.
  • the announcement module includes: a second announcement sub-module, configured to all BGP neighbors or Some BGP neighbors announce routes.
  • a BGP neighbor can be either a router or a route reflector RR.
  • some embodiments of the present disclosure provide a second router, which can be used for network egress selection, and the second router includes:
  • the receiving module 81 is configured to receive a route advertised by the first router, where the first router and the second router are border gateway protocol BGP neighbors, and the route is a network that is determined by the first router according to a predetermined condition. Information generated by the export congestion status;
  • the processing module 82 is configured to perform network egress selection by using a network egress congestion state in the route in combination with a local policy (and further divert different traffic through different network outlets).
  • the receiving the route advertised by the first router may be directly receiving the route advertised by the first router, or may be the route advertised by the first router forwarded by the route reflector RR.
  • Some embodiments of the present disclosure ensure the user experience and improve the network by receiving the route advertised by the first router and utilizing the network egress congestion state in the route in combination with the local policy for network egress selection, and then diverting different traffic through different network outlets. Export utilization efficiency.
  • the preset condition includes that the link utilization of the network egress changes, or the link utilization change exceeds a first threshold, or the link utilization reaches a second threshold.
  • the processing module includes: a processing submodule, configured to: when the link utilization of the backbone network egress is lower than a third threshold (such as 80%), or when the remaining bandwidth is greater than a fourth threshold (such as 2G), The backbone network exit grooming does not exceed the outbound traffic of the remaining available bandwidth of the backbone network exit.
  • a processing submodule configured to: when the link utilization of the backbone network egress is lower than a third threshold (such as 80%), or when the remaining bandwidth is greater than a fourth threshold (such as 2G), The backbone network exit grooming does not exceed the outbound traffic of the remaining available bandwidth of the backbone network exit.
  • the second router further includes: a configuration module, configured to generate the local policy before the processing module uses the network egress congestion state in the route and the local policy to perform network egress selection.
  • the local policy includes: selecting a network egress with higher stability or less delay when the remaining available bandwidth of the network egress is the same.
  • modules/sub-modules may be implemented in software for execution by various types of processors.
  • an identified executable code module can comprise one or more physical or logical blocks of computer instructions, which can be constructed, for example, as an object, procedure, or function. Nonetheless, the executable code of the identified modules need not be physically located together, but may include different instructions stored in different bits that, when logically combined, constitute a module and implement the provisions of the module. purpose.
  • some embodiments of the present disclosure provide a first router that can be used to deliver a network egress congestion status in real time, the first router including a processor, the processor is configured to:
  • the route is announced to the border gateway protocol BGP neighbor;
  • the declared route has a network exit congestion state that reaches the predetermined condition.
  • Some embodiments of the present disclosure provide a second router, which can be used for network egress selection, and the second router includes a processor, where the processor is used to:
  • the first router and the second router are border gateway protocol BGP neighbors, and the route is information generated by the first router according to a network egress congestion state that reaches a predetermined condition ;
  • the network egress congestion state in the route is combined with the local policy for network egress selection (and then different traffic is diverted through different network outlets).
  • the executable code module can be a single instruction or a plurality of instructions, and can even be distributed across multiple different code segments, distributed among different programs, and distributed across multiple memory devices.
  • operational data may be identified within the modules and may be implemented in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed at different locations (including on different storage devices), and may at least partially exist as an electronic signal on a system or network.
  • the module can be implemented by software, considering the level of the existing hardware process, the module can be implemented in software, and the technician can construct a corresponding hardware circuit to implement the corresponding function without considering the cost.
  • the hardware circuit includes conventional ultra-large scale integration (VLSI) circuits or gate arrays and existing semiconductors such as logic chips, transistors, or other discrete components.
  • VLSI ultra-large scale integration
  • the modules can also be implemented with programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices, and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Provided are a method for transferring a network exit congestion state in real time, a network exit selection method, and a router. The method for transferring a network exit congestion state in real time comprises: detecting a network exit congestion state in real time; and when the network exit congestion state reaches a pre-determined condition, declaring a route to a border gateway protocol (BGP) neighbour, the declared route being marked with a network exit congestion state having reached the pre-determined condition. In the present solution, a network exit congestion state is detected in real time, and when the network exit congestion state reaches a pre-determined condition, a route is declared to a border gateway protocol (BGP) neighbour, the declared route being marked with a network exit congestion state having reached the pre-determined condition, so that a router (in a provincial network) which needs to use a network exit state can sense the network exit congestion situation in real time, then traffic can be dynamically dredged between a plurality of network exits according to a local policy based on the received network exit congestion state, thus ensuring the user experience, and improving the utilization efficiency of the network exits.

Description

传递网络出口拥塞状态方法、网络出口选择方法及路由器Method for transmitting network egress congestion state, network egress selection method, and router
相关申请的交叉引用Cross-reference to related applications
本申请主张在2015年11月13日在中国提交的中国专利申请号No.201510778556.8的优先权,其全部内容通过引用包含于此。The present application claims priority to Chinese Patent Application No. 201510778556.8, filed on Jan. 13, 2015, in
技术领域Technical field
本公开涉及通信技术领域,特别是指一种实时传递网络出口拥塞状态的方法、网络出口选择方法及路由器。The present disclosure relates to the field of communication technologies, and in particular, to a method for transmitting a network egress congestion state in real time, a network egress selection method, and a router.
背景技术Background technique
如图1所示,网络中往往有多个出口可以到达运营商网外的内容源。如果运营商网内用户访问网外资源时经过的出口拥塞,用户的访问体验会受到严重影响。As shown in Figure 1, there are often multiple egresses in the network that can reach content sources outside the carrier's network. If the egress is congested when users on the carrier network access the e-network resources, the user's access experience will be seriously affected.
相关技术中,由于运营商骨干网出口的拥塞情况省网无法实时感知,为了提升用户体验,运营商省网会通过策略路由等方式将一部分重要客户的流量通过第三方出口疏导。但第三方出口的拥塞状况,运营商省网也不是实时获取的,通常是通过购买足够带宽来保证的,购买一定带宽后,运营商省网要保证调度到第三方出口的流量没有超过购买带宽。如果由于流量突发等原因导致第三方出口拥塞,运营商省网无法实时感知,只有收到投诉或者检查网络质量时才能发现。In the related technology, the provincial network cannot be perceived in real time due to the congestion of the backbone network of the operator. In order to improve the user experience, the operator's provincial network will channel the traffic of some important customers through third-party exports through policy routing. However, the congestion of the third-party export, the operator's provincial network is not obtained in real time, usually by purchasing enough bandwidth to ensure that after purchasing a certain bandwidth, the operator's provincial network must ensure that the traffic dispatched to the third-party export does not exceed the purchase bandwidth. . If the third-party export congestion occurs due to traffic bursts, etc., the operator's provincial network cannot be perceived in real time, and can only be discovered when a complaint is received or the network quality is checked.
也就是,运营商省网无法实时感知网络出口的拥塞状况,流量无法在多个出口之间根据拥塞情况进行实时调度,这会对用户上网访问体验产生影响,也会影响运营商网络出口带宽的使用效率。That is, the operator's provincial network cannot sense the congestion of the network exit in real time, and the traffic cannot be scheduled in real time according to the congestion situation among multiple outlets, which will affect the user's Internet access experience and affect the bandwidth of the operator's network. Use efficiency.
发明内容Summary of the invention
本公开的目的在于提供一种实时传递网络出口拥塞状态的方法、网络出口选择方法及路由器,解决相关技术中省网无法实时感知网络出口拥塞状况的问题。 The purpose of the present disclosure is to provide a method for real-time delivery of a network egress congestion state, a network egress selection method, and a router, which solves the problem that the provincial network cannot perceive the network egress congestion condition in real time.
为了解决上述技术问题,本公开实施例提供一种实时传递网络出口拥塞状态的方法,应用于第一路由器,包括:In order to solve the above technical problem, the embodiment of the present disclosure provides a method for real-time delivery of a network egress congestion state, which is applied to a first router, including:
实时探测网络出口拥塞状态;Real-time detection of network exit congestion status;
在所述网络出口拥塞状态达到预定条件时,向边界网关协议BGP邻居宣告路由;When the network egress congestion state reaches a predetermined condition, the route is announced to the border gateway protocol BGP neighbor;
其中,宣告的路由中标志有达到所述预定条件的网络出口拥塞状态。Wherein, the declared route has a network exit congestion state that reaches the predetermined condition.
可选地,在所述向边界网关协议BGP邻居宣告路由之前,所述方法还包括:Optionally, before the routing the BGP neighbor to the border gateway protocol, the method further includes:
在所述网络出口拥塞状态达到所述预定条件时,根据触发路由宣告的所有链路或部分链路生成所述路由。When the network egress congestion state reaches the predetermined condition, the route is generated according to all links or partial links that trigger route advertisement.
可选地,所述根据触发路由宣告的所有链路或部分链路生成所述路由的步骤包括:Optionally, the step of generating the route according to all links or partial links that trigger the route advertisement includes:
通过团体属性community标识达到所述预定条件的网络出口拥塞状态,所述网络出口拥塞状态包括网络出口链路的带宽和链路当前利用率。The network egress congestion state that meets the predetermined condition is identified by the community attribute community, where the network egress congestion state includes a bandwidth of the network egress link and a current link utilization rate.
可选地,所述根据触发路由宣告的所有链路或部分链路生成所述路由的步骤包括:Optionally, the step of generating the route according to all links or partial links that trigger the route advertisement includes:
通过扩展团体属性extended community标识达到所述预定条件的网络出口拥塞状态,所述网络出口拥塞状态包括网络出口链路的带宽和链路当前利用率。The network egress congestion state that meets the predetermined condition is identified by the extended community attribute extended community, where the network egress congestion state includes a bandwidth of the network egress link and a current link utilization rate.
可选地,所述网络出口拥塞状态还包括网络出口链路时延和链路的稳定性。Optionally, the network egress congestion state further includes a network egress link delay and a link stability.
可选地,所述在所述网络出口拥塞状态达到预定条件时,向边界网关协议BGP邻居宣告路由的步骤包括:Optionally, the step of declaring a route to the border gateway protocol BGP neighbor when the network egress congestion state reaches a predetermined condition includes:
在网络出口的链路利用率发生变化,或链路利用率的变化超过第一阈值,或链路利用率达到第二阈值时,向边界网关协议BGP邻居宣告路由。When the link utilization of the network egress changes, or the link utilization changes exceed the first threshold, or the link utilization reaches the second threshold, the route is announced to the border gateway protocol BGP neighbor.
可选地,所述向边界网关协议BGP邻居宣告路由的步骤包括:Optionally, the step of advertising the route to the border gateway protocol BGP neighbor includes:
向所有BGP邻居或部分BGP邻居宣告路由。Advertise routes to all BGP neighbors or some BGP neighbors.
本公开还提供了一种第一路由器,包括:The present disclosure also provides a first router, including:
探测模块,用于实时探测网络出口拥塞状态; a detecting module, configured to detect a network export congestion state in real time;
宣告模块,用于在所述网络出口拥塞状态达到预定条件时,向边界网关协议BGP邻居宣告路由;An announcement module, configured to announce a route to a border gateway protocol BGP neighbor when the network egress congestion state reaches a predetermined condition;
其中,宣告的路由中标志有达到所述预定条件的网络出口拥塞状态。Wherein, the declared route has a network exit congestion state that reaches the predetermined condition.
本公开还提供了一种网络出口选择方法,应用于第二路由器,包括:The present disclosure also provides a network egress selection method, which is applied to a second router, including:
接收第一路由器宣告的路由;其中,所述第一路由器与第二路由器之间为边界网关协议BGP邻居,所述路由是由所述第一路由器根据达到预定条件的网络出口拥塞状态生成的信息;Receiving a route advertised by the first router; wherein the first router and the second router are border gateway protocol BGP neighbors, and the route is information generated by the first router according to a network egress congestion state that reaches a predetermined condition ;
利用所述路由中的网络出口拥塞状态结合本地策略进行网络出口选择。The network exit selection is performed by using the network egress congestion state in the route in combination with the local policy.
可选地,所述利用所述路由中的网络出口拥塞状态结合本地策略进行网络出口选择的步骤包括:Optionally, the step of using the network egress congestion state in the route to perform network egress selection in combination with the local policy includes:
在骨干网络出口的链路利用率低于第三阈值时,通过所述骨干网络出口疏导不超过所述骨干网络出口的剩余可用带宽的出网流量。When the link utilization of the backbone network egress is lower than the third threshold, the egress network does not exceed the outbound traffic of the remaining available bandwidth of the backbone network egress.
可选地,在所述利用所述路由中的网络出口拥塞状态结合本地策略进行网络出口选择之前,所述网络出口选择方法还包括:Optionally, before the utilizing the network egress congestion state in the route and the local policy to perform the network egress selection, the network egress selection method further includes:
配置生成所述本地策略。The configuration generates the local policy.
可选地,所述本地策略至少包括:在网络出口的剩余可用带宽相同时,选择稳定性较高的网络出口。Optionally, the local policy includes: selecting a network exit with higher stability when the remaining available bandwidth of the network egress is the same.
本公开还提供了一种第二路由器,包括:The present disclosure also provides a second router, including:
接收模块,用于接收第一路由器宣告的路由;其中,所述第一路由器与第二路由器之间为边界网关协议BGP邻居,所述路由是由所述第一路由器根据达到预定条件的网络出口拥塞状态生成的信息;a receiving module, configured to receive a route advertised by the first router, where the first router and the second router are border gateway protocol BGP neighbors, and the route is a network exit by the first router according to a predetermined condition Information generated by the congestion state;
处理模块,用于利用所述路由中的网络出口拥塞状态结合本地策略进行网络出口选择。The processing module is configured to perform network egress selection by using a network egress congestion state in the route in combination with a local policy.
本公开的上述技术方案的有益效果如下:The beneficial effects of the above technical solutions of the present disclosure are as follows:
上述方案中,所述实时传递网络出口拥塞状态的方法通过实时探测网络出口的拥塞状态;在网络出口拥塞状态达到预定条件时,向边界网关协议BGP邻居宣告路由;并且宣告的路由中标志有达到预定条件的网络出口拥塞状态,使得第二路由器-需要使用网络出口状态的路由器(省网)能够实时感知网络出口拥塞状况,进而可以根据收到的网络出口拥塞状况按照本地策略在多个 网络出口之间动态疏导流量,保证了用户体验并提高了网络出口利用效率。In the foregoing solution, the method for real-time delivery network egress congestion state detects the congestion state of the network egress in real time; when the network egress congestion state reaches a predetermined condition, announces a route to the border gateway protocol BGP neighbor; and the announced route identifier is reached. The network egress congestion state of the predetermined condition enables the second router - the router (provincial network) that needs to use the network egress state to be able to sense the network egress congestion status in real time, and then according to the received network egress congestion status according to the local policy in multiple Dynamically diverting traffic between network egresses ensures user experience and improves network export utilization efficiency.
附图说明DRAWINGS
图1为相关技术中的网络架构示意图;1 is a schematic diagram of a network architecture in the related art;
图2为本公开一些实施例的实时传递网络出口拥塞状态的方法流程示意图;2 is a schematic flowchart of a method for real-time delivery of a network egress congestion state according to some embodiments of the present disclosure;
图3为本公开一些实施例的网络出口选择方法流程示意图;3 is a schematic flowchart of a method for selecting a network egress according to some embodiments of the present disclosure;
图4为本公开一些实施例的网络架构示意图;4 is a schematic diagram of a network architecture according to some embodiments of the present disclosure;
图5为本公开一些实施例的extended community定义示意图;FIG. 5 is a schematic diagram of an extended community definition according to some embodiments of the present disclosure; FIG.
图6为本公开一些实施例的extended community编码实例示意图;6 is a schematic diagram of an example of an extended community encoding according to some embodiments of the present disclosure;
图7为本公开一些实施例的第一路由器结构示意图;FIG. 7 is a schematic structural diagram of a first router according to some embodiments of the present disclosure;
图8为本公开一些实施例的第二路由器结构示意图;FIG. 8 is a schematic structural diagram of a second router according to some embodiments of the present disclosure;
图9为本公开一些实施例的extended community编码实例示意图。FIG. 9 is a schematic diagram of an example of an extended community encoding according to some embodiments of the present disclosure.
具体实施方式detailed description
为使本公开要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。The technical problems, the technical solutions, and the advantages of the present invention will be more clearly described in conjunction with the accompanying drawings and specific embodiments.
本公开针对相关技术中省网无法实时感知网络出口拥塞状况的问题,提供了多种解决方案,具体如下:The present disclosure provides various solutions for the problem that the provincial network cannot perceive the network export congestion status in real time in the related art, and the specific solutions are as follows:
如图2所示,本公开一些实施例提供的实时传递网络出口拥塞状态的方法,可应用于第一路由器(出口路由器),所述方法包括:As shown in FIG. 2, a method for real-time delivery network egress congestion status provided by some embodiments of the present disclosure is applicable to a first router (egress router), where the method includes:
步骤21:实时探测网络出口拥塞状态;Step 21: Real-time detection of network exit congestion status;
步骤22:在所述网络出口拥塞状态达到预定条件时,向边界网关协议BGP邻居宣告路由;Step 22: Declare a route to the border gateway protocol BGP neighbor when the network egress congestion state reaches a predetermined condition;
其中,宣告的路由中标志有达到所述预定条件的网络出口拥塞状态。Wherein, the declared route has a network exit congestion state that reaches the predetermined condition.
本公开一些实施例通过实时探测网络出口的拥塞状态;在网络出口拥塞状态达到预定条件时,向边界网关协议BGP邻居宣告路由;并且宣告的路由中标志有达到预定条件的网络出口拥塞状态,使得需要使用网络出口状态的路由器(省网)能够实时感知网络出口拥塞状况,进而可以根据收到的网络 出口拥塞状况按照本地策略在多个网络出口之间动态疏导流量,保证了用户体验并提高了网络出口利用效率。Some embodiments of the present disclosure detect the congestion state of the network egress in real time; when the network egress congestion state reaches a predetermined condition, announce a route to the border gateway protocol BGP neighbor; and the announced route flag has a network egress congestion state that reaches a predetermined condition, so that A router (provincial network) that needs to use the network egress status can sense the network egress congestion status in real time, and thus can be based on the received network. The export congestion status dynamically diverts traffic between multiple network outlets according to local policies, ensuring user experience and improving network export utilization efficiency.
进一步的,在所述向边界网关协议BGP邻居宣告路由之前,所述方法还包括:实时判断所述拥塞状态是否达到所述预定条件。Further, before the advertised route to the border gateway protocol BGP neighbor, the method further includes: determining, in real time, whether the congestion status reaches the predetermined condition.
更进一步的,在所述向边界网关协议BGP邻居宣告路由之前,所述方法还包括:在所述网络出口拥塞状态达到所述预定条件时,根据触发路由宣告的所有链路或部分链路生成所述路由。Further, before the routing of the BGP neighbor to the border gateway protocol, the method further includes: when the network egress congestion state reaches the predetermined condition, generating according to all links or partial links that are triggered by the triggering route The route.
至于其中标识达到所述预定条件的网络出口拥塞状态的方式,本公开一些实施例提供了两种措施:As with the manner in which the network exit congestion state that meets the predetermined condition is identified, some embodiments of the present disclosure provide two measures:
第一种措施,所述根据触发路由宣告的所有链路或部分链路生成所述路由的步骤包括:通过团体属性community标识达到所述预定条件的网络出口拥塞状态,所述网络出口拥塞状态包括网络出口链路的带宽和链路当前利用率。In a first measure, the step of generating the route according to all links or partial links that are triggered by the triggering route includes: identifying, by using a community attribute community, a network egress congestion state that meets the predetermined condition, where the network egress congestion state includes The bandwidth of the network egress link and the current utilization of the link.
第二种措施,所述根据触发路由宣告的所有链路或部分链路生成所述路由的步骤包括:通过扩展团体属性extended community标识达到所述预定条件的网络出口拥塞状态,所述网络出口拥塞状态包括网络出口链路的带宽和链路当前利用率。The second measure, the step of generating the route according to all links or partial links that trigger the route advertisement includes: identifying, by using an extended community attribute extended community, a network egress congestion state that reaches the predetermined condition, where the network egress is congested The status includes the bandwidth of the network egress link and the current utilization of the link.
当使用extended community传递网络出口拥塞状态时,因为字段空间足够大,还可以在传递网络出口带宽和链路当前利用率的同时携带出口链路时延、稳定性(链路的稳定性可以用一天中链路中断的次数等表征)等信息;也就是说,所述网络出口拥塞状态还可以包括网络出口链路时延和链路的稳定性。When the extended community is used to deliver the network egress congestion state, because the field space is large enough, the egress link delay and stability can be carried while the network egress bandwidth and the link current utilization are transmitted. Information such as the number of times the link is interrupted, etc.; that is, the network egress congestion state may also include network egress link delay and link stability.
具体的,所述在所述网络出口拥塞状态达到预定条件时,向边界网关协议BGP邻居宣告路由的步骤包括:在网络出口的链路利用率发生变化,或链路利用率的变化超过第一阈值,或链路利用率达到第二阈值时,向边界网关协议BGP邻居宣告路由。Specifically, when the network egress congestion state reaches a predetermined condition, the step of declaring a route to the border gateway protocol BGP neighbor includes: changing a link utilization rate at the network egress, or changing the link utilization rate by more than the first When the threshold, or link utilization, reaches the second threshold, the route is announced to the Border Gateway Protocol BGP neighbor.
可选地,所述向边界网关协议BGP邻居宣告路由的步骤包括:向所有BGP邻居或部分BGP邻居宣告路由。BGP邻居可以是路由器,也可以是路由反射器RR。 Optionally, the step of advertising the route to the border gateway protocol BGP neighbor comprises: declaring a route to all BGP neighbors or part of the BGP neighbors. A BGP neighbor can be either a router or a route reflector RR.
如图3所示,本公开一些实施例提供的网络出口选择方法,可应用于第二路由器(需要使用网络出口状态的路由器),所述网络出口选择方法包括:As shown in FIG. 3, a network egress selection method provided by some embodiments of the present disclosure may be applied to a second router (a router that needs to use a network egress state), where the network egress selection method includes:
步骤31:接收第一路由器宣告的路由;其中,所述第一路由器与第二路由器之间为边界网关协议BGP邻居,所述路由是由所述第一路由器根据达到预定条件的网络出口拥塞状态生成的信息;Step 31: Receive a route advertised by the first router, where the first router and the second router are border gateway protocol BGP neighbors, and the route is a network egress congestion state by the first router according to a predetermined condition. Generated information;
步骤32:利用所述路由中的网络出口拥塞状态结合本地策略进行网络出口选择(进而通过不同的网络出口疏导不同的流量)。Step 32: Perform network egress selection by using the network egress congestion state in the route in combination with the local policy (and further divert different traffic through different network outlets).
其中,接收第一路由器宣告的路由的步骤可以是直接接收第一路由器宣告的路由,也可以是接收路由反射器RR转发的第一路由器宣告的路由。The step of receiving the route advertised by the first router may be directly receiving the route advertised by the first router, or the route advertised by the first router forwarded by the route reflector RR.
本公开一些实施例通过接收第一路由器宣告的路由,并利用路由中的网络出口拥塞状态结合本地策略进行网络出口选择,进而通过不同的网络出口疏导不同的流量,保证了用户体验并提高了网络出口利用效率。Some embodiments of the present disclosure ensure the user experience and improve the network by receiving the route advertised by the first router and utilizing the network egress congestion state in the route in combination with the local policy for network egress selection, and then diverting different traffic through different network outlets. Export utilization efficiency.
其中,预设条件包括所述网络出口的链路利用率发生变化,或链路利用率的变化超过第一阈值,或链路利用率达到第二阈值。The preset condition includes that the link utilization of the network egress changes, or the link utilization change exceeds a first threshold, or the link utilization reaches a second threshold.
可选地,所述利用所述路由中的网络出口拥塞状态结合本地策略进行网络出口选择的步骤包括:在骨干网络出口的链路利用率低于第三阈值(比如80%),或剩余带宽大于第四阈值(比如2G)时,通过所述骨干网络出口疏导不超过所述骨干网络出口的剩余可用带宽的出网流量。Optionally, the step of utilizing the network egress congestion state in the route and the local policy to perform network egress selection includes: the link utilization at the backbone network egress is lower than a third threshold (such as 80%), or the remaining bandwidth When the value is greater than the fourth threshold (for example, 2G), the egress network does not exceed the remaining available bandwidth of the backbone network outlet.
进一步的,在所述利用所述路由中的网络出口拥塞状态结合本地策略进行网络出口选择之前,所述网络出口选择方法还包括:配置生成所述本地策略。Further, before the utilizing the network egress congestion state in the route and the local policy to perform the network egress selection, the network egress selection method further includes: configuring to generate the local policy.
具体的,所述本地策略至少包括:在网络出口的剩余可用带宽相同时,选择稳定性较高或时延较小的网络出口。Specifically, the local policy includes: selecting a network egress with higher stability or less delay when the remaining available bandwidth of the network egress is the same.
本公开一些实施例结合上述实施例,从收发两方对实时传递网络出口拥塞状态的方法以及网络出口选择方法进行说明。Some embodiments of the present disclosure, in conjunction with the foregoing embodiments, describe a method for transmitting and receiving congestion status of a real-time delivery network from a transmitting and receiving side, and a network egress selection method.
如图4所示,本公开一些实施例提供的方案在现有网络系统的基础上增加了网络出口路由器和需要使用网络出口状态的路由器,并且网络出口路由器与需要使用网络出口状态的路由器、以及BGP路由器之间,两个需要使用网络出口状态的路由器之间,均通过iBGP(内部边界网关协议)通信;除此 之外,双方之间均通过eBGP(外部边界网关协议)通信。As shown in FIG. 4, some embodiments of the present disclosure provide a network egress router and a router that needs to use a network egress state based on an existing network system, and a network egress router and a router that needs to use a network egress state, and Between BGP routers, two routers that need to use the network egress state communicate through iBGP (Internal Border Gateway Protocol); In addition, both parties communicate via eBGP (External Border Gateway Protocol).
其中,运营商骨干网中的网络出口路由器用于感知骨干网网络出口状态,运营商骨干网中的BGP路由器用于转发运营商骨干网中的网络出口路由器宣告的路由;The network egress router in the carrier backbone network is used to sense the egress status of the backbone network, and the BGP router in the carrier backbone network is used to forward the route announced by the network egress router in the carrier backbone network;
运营商省网中需要使用网络状态的路由器接收上述BGP路由器转发的路由后,将路由转发给运营商省网中网络出口路由器兼需要使用网络状态的路由器两者功能的路由器,该路由器根据学习到的路由,以及自己感知的第三方出口的网络出口状态,进行流量的疏导,并且该路由器会将自己感知的第三方出口的网络出口状态宣告给运营商省网中需要使用网络状态的路由器。下面对本公开一些实施例提供的方案流程进行具体说明。After receiving the route forwarded by the BGP router, the router in the carrier's provincial network needs to use the network state router to forward the route to the router in the operator's provincial network and the router that needs to use the network state. The router learns according to the The route, and the network egress status of the third-party egress that it perceives, the traffic is diverted, and the router announces the network egress status of the third-party egress that it perceives to the router in the operator's provincial network that needs to use the network state. The solution flow provided by some embodiments of the present disclosure is specifically described below.
发送方sender
首先,需要出口路由器探测网络出口的拥塞状态,并根据拥塞状态的变化程度向BGP邻居宣告路由,宣告的路由中标识出口的最新拥塞状态。相应的出口路由器需要具备如下功能模块:网络出口拥塞状态探测模块,网络出口拥塞状态变化程度判决模块,网络出口拥塞状态的标示生成模块和路由宣告模块。First, the egress router needs to detect the congestion status of the network egress, and announce the route to the BGP neighbor according to the degree of change of the congestion status. The announced route identifies the latest congestion status of the egress. The corresponding egress router needs to have the following functional modules: a network egress congestion state detection module, a network egress congestion state change degree decision module, a network exit congestion state indication generation module, and a route advertisement module.
具体的,根据拥塞状态的变化程度向BGP邻居宣告路由,可包括如下三种情况:Specifically, the route is advertised to the BGP neighbor according to the degree of change of the congestion state, which may include the following three situations:
1.只要出口的链路利用率有变化就触发路由宣告;1. The routing announcement is triggered as long as the link utilization of the egress changes.
2.出口链路利用率的变化超过一定阈值(例如10%,具体阈值可设)时才触发路由宣告;2. The route advertisement is triggered only when the change of the egress link utilization exceeds a certain threshold (for example, 10%, and the specific threshold can be set);
3.出口链路利用率达到设定阈值(例如超过80%或者低于50%,具体阈值可设)时才触发路由宣告。3. The route advertisement is triggered only when the egress link utilization reaches a set threshold (for example, more than 80% or less than 50%, and the specific threshold can be set).
可选地,向BGP邻居宣告路由,可包括如下四种情况:Optionally, the route is advertised to the BGP neighbor, which may include the following four situations:
1.可以向所有BGP邻居宣告路由;1. Can advertise routes to all BGP neighbors;
2.也可以通过配置仅向一部分BGP邻居宣告路由;2. You can also advertise routes to only a part of BGP neighbors through configuration.
3.宣告的路由可以是从触发路由宣告的链路学来的全部路由;3. The announced route may be all routes learned from the link that triggered the route advertisement;
4.也可以通过配置仅宣告从触发路由宣告的链路学来的一部分路由(比如某个或者某些community的路由,从某个运营商学来的路由等)。 4. It is also possible to configure only a part of the route learned from the link that triggers the route advertisement (such as the route of some or some community, the route learned from a certain operator, etc.).
另外,宣告的路由中标识出口的最新拥塞状态的方式,可包括如下两种:In addition, the manner in which the announced route indicates the latest congestion status of the exit may include the following two types:
1.通过community(RFC1997)标识出口的最新拥塞状态:community是一个四字节无符号整数,通常写作AS号:16比特整数的形式。本公开一些实施例中可以使用一个预留的或者供私用的AS号表示这个community是用来表示出口链路拥塞状态的,后面16位数字表示出口链路的具体拥塞状态,这16位数字的具体编码方式包括但不限于:1. Identify the latest congestion status of the exit through the community (RFC1997): the community is a four-byte unsigned integer, usually written in the form of an AS number: a 16-bit integer. In some embodiments of the present disclosure, a reserved or private AS number may be used to indicate that the community is used to indicate the egress link congestion status, and the last 16 digits indicate the specific congestion status of the egress link, which is a 16-digit number. Specific coding methods include but are not limited to:
高8位表示出口链路的带宽,单位是Gbps;低8位表示链路当前利用率,单位是%。The upper 8 bits indicate the bandwidth of the egress link in Gbps; the lower 8 bits indicate the current utilization of the link in %.
2.通过extended community(RFC4360)标识出口的最新拥塞状态:如图5所示,extended community是一个有一定结构的八字节数,最高的1个或者2个字节表示这个extended community的类型,其他字节是具体数值。本公开一些实施例中可以定义一个新的类型(具体的类型数值通过标准化工作确定)表示这个extended community携带的是出口链路拥塞状态信息。这个extended community数值部分的具体编码方式包括但不限于:2. Identify the latest congestion state of the exit through the extended community (RFC4360): as shown in Figure 5, the extended community is a octet with a certain structure, and the highest one or two bytes indicates the type of the extended community. The other bytes are specific values. Some embodiments of the present disclosure may define a new type (the specific type value is determined by standardization work) to indicate that the extended community carries the egress link congestion status information. The specific coding method of the extended community value part includes but is not limited to:
数值部分的最后一个字节表示出口链路当前利用率,单位为%;数值部分的其他字节表示出口的链路带宽,单位为Gbps。一种可能的编码实例如图9所示,可以从可传递4字节AS专用扩展团体属性(Transitive Four-Octet AS-Specific Extended Community)(RFC7153)中申请一个子类型用来表示所述扩展团体属性是用来传递网络出口拥塞状态的。图9中的0x02表示这是一个可传递4字节AS专用扩展团体属性;图9中的sub-type表示所述扩展团体属性是用来传递网络出口拥塞状态的;图9中的Sender AS Number(发送者自治域号)是产生所述扩展团体属性的设备的自治域号,可以是4字节自治域号,也可以是2字节自治域号。当产生所述扩展团体属性的设备的自治域号是2字节时,根据RFC6793的要求,可以将Sender AS Number域的最高两个字节置0,低位的两个字节存放所述设备的2字节自治域号。第7字节是出口带宽,单位Gbps,记录网络出口链路的实际物理带宽;第8字节是出口利用率,单位%,记录网络出口链路的当前利用率信息。The last byte of the value part indicates the current utilization of the egress link in %; the other bytes of the value part represent the link bandwidth of the egress, in Gbps. A possible coding example is shown in Figure 9. A subtype can be applied from the Transitive Four-Octet AS-Specific Extended Community (RFC7153) to represent the extended community. Attributes are used to convey the state of network egress congestion. 0x02 in FIG. 9 indicates that this is a transferable 4-byte AS-specific extended community attribute; the sub-type in FIG. 9 indicates that the extended community attribute is used to convey the network exit congestion state; Sender AS Number in FIG. (Sender Autonomous Area Number) is the autonomous domain number of the device that generates the extended community attribute, and may be a 4-byte autonomous domain number or a 2-byte autonomous domain number. When the autonomous domain number of the device that generates the extended community attribute is 2 bytes, according to the requirements of RFC6793, the highest two bytes of the Sender AS Number field may be set to 0, and the lower two bytes are stored in the device. 2 byte autonomous domain number. The seventh byte is the egress bandwidth, in Gbps, the actual physical bandwidth of the network egress link is recorded; the eighth byte is the egress utilization, in %, and records the current utilization information of the egress link of the network.
另外,当使用extended community传递网络出口拥塞状态时,因为字段空间足够大,还可以在传递网络出口带宽和链路当前利用率的同时携带出口 链路时延、稳定性(链路的稳定性可以用一天中链路中断的次数等表征)等信息,一种可能的编码实例如图6所示。In addition, when the extended community is used to deliver the network egress congestion state, because the field space is large enough, the egress outlet bandwidth and the current utilization of the link can be carried while carrying the egress. Link delay, stability (link stability can be characterized by the number of link interruptions in a day, etc.), etc., a possible coding example is shown in Figure 6.
其中,最开始的两个字节是该extended community的类型,具体数值由标准化确定,表示这个extended community携带的是网络出口拥塞状态;第3、4字节是出口稳定性,记录链路一天中中断的次数;第5字节是出口时延,单位ms,记录网络出口链路的当前时延信息;第6、7字节是出口带宽,单位Gbps,记录网络出口链路的实际物理带宽;第8字节是出口利用率,单位%,记录网络出口链路的当前利用率信息。The first two bytes are the type of the extended community, and the specific value is determined by standardization, indicating that the extended community carries the network egress congestion state; the third and fourth bytes are the exit stability, and the record link is in the middle of the day. The number of interruptions; the fifth byte is the exit delay, in ms, recording the current delay information of the network egress link; the sixth and seventh bytes are the egress bandwidth, in Gbps, recording the actual physical bandwidth of the network egress link; The 8th byte is the export utilization rate, in %, and records the current utilization information of the network egress link.
接收方receiver
需要使用网络出口状态的路由器收到携带出口拥塞状态的BGP路由宣告后,从community或者extended community中取出相关信息(携带的网络出口拥塞状态信息),根据本地策略综合利用这些信息进行出口选择(例如在出口剩余可用带宽相同时选择出口稳定性高或时延较小的出口等),通过不同的出口疏导不同的流量。After receiving the BGP route advertisement that carries the egress congestion status, the router that needs to use the egress status of the egress withdraws relevant information (carrying network egress congestion status information) from the community or the extended community, and uses the information according to the local policy to perform export selection. When the remaining available bandwidth of the outlet is the same, an outlet with high export stability or small delay is selected, and different flows are diverted through different outlets.
相应的,该路由器需要具备如下功能模块:BGP路由接收模块,网络出口拥塞状态community或者extended community处理模块,流量疏导策略实施模块。Correspondingly, the router needs to have the following functional modules: a BGP route receiving module, a network egress congestion state community or an extended community processing module, and a traffic grooming policy implementation module.
具体的,根据本地策略综合利用这些信息进行出口选择,可包括:Specifically, comprehensively utilizing the information according to the local policy for export selection may include:
在骨干网络出口的链路利用率低于一定阈值(比如80%),或者剩余带宽大于一定阈值(比如2G)时,优先选择不超过骨干出口剩余可用带宽的出网流量从骨干出口疏导。When the link utilization rate of the backbone network exit is lower than a certain threshold (for example, 80%), or the remaining bandwidth is greater than a certain threshold (for example, 2G), the outbound traffic that does not exceed the remaining available bandwidth of the backbone export is preferentially routed from the backbone exit.
由上可知,本公开一些实施例提供的方案使得省网可以根据收到的出口拥塞状况按照本地策略在多个出口之间动态疏导流量,保证用户体验并提高网络出口利用效率。As can be seen from the above, some embodiments of the present disclosure provide a solution that enables the provincial network to dynamically divert traffic between multiple egresses according to the received egress congestion status according to the local policy, thereby ensuring user experience and improving network egress utilization efficiency.
如图7所示,本公开一些实施例提供一种第一路由器,可用于实时传递网络出口拥塞状态,所述第一路由器包括:As shown in FIG. 7, some embodiments of the present disclosure provide a first router, which can be used to transmit a network egress congestion status in real time, where the first router includes:
探测模块71,用于实时探测网络出口拥塞状态;The detecting module 71 is configured to detect a network outlet congestion state in real time;
宣告模块72,用于在所述网络出口拥塞状态达到预定条件时,向边界网关协议BGP邻居宣告路由; The declaring module 72 is configured to announce a route to the border gateway protocol BGP neighbor when the network egress congestion state reaches a predetermined condition;
其中,宣告的路由中标志有达到所述预定条件的网络出口拥塞状态。Wherein, the declared route has a network exit congestion state that reaches the predetermined condition.
本公开一些实施例通过实时探测网络出口的拥塞状态;在网络出口拥塞状态达到预定条件时,向边界网关协议BGP邻居宣告路由;并且宣告的路由中标志有达到预定条件的网络出口拥塞状态,使得需要使用网络出口状态的路由器(省网)能够实时感知网络出口拥塞状况,进而可以根据收到的网络出口拥塞状况按照本地策略在多个网络出口之间动态疏导流量,保证了用户体验并提高了网络出口利用效率。Some embodiments of the present disclosure detect the congestion state of the network egress in real time; when the network egress congestion state reaches a predetermined condition, announce a route to the border gateway protocol BGP neighbor; and the announced route flag has a network egress congestion state that reaches a predetermined condition, so that A router (provincial network) that needs to use the network egress state can sense the network egress congestion status in real time, and can dynamically divert traffic between multiple network egresses according to the received network egress congestion status according to the local policy, thereby ensuring the user experience and improving the user experience. Network export utilization efficiency.
进一步的,所述第一路由器还包括:判断模块,用于所述宣告模块向边界网关协议BGP邻居宣告路由之前,实时判断所述拥塞状态是否达到所述预定条件。Further, the first router further includes: a determining module, configured to determine, in real time, whether the congestion state reaches the predetermined condition before the announcement module announces the route to the border gateway protocol BGP neighbor.
更进一步的,所述第一路由器还包括:生成模块,用于所述宣告模块向边界网关协议BGP邻居宣告路由之前,在所述网络出口拥塞状态达到所述预定条件时,根据触发路由宣告的所有链路或部分链路生成所述路由。Further, the first router further includes: a generating module, configured to: before the announcement module announces the route to the border gateway protocol BGP neighbor, when the network egress congestion state reaches the predetermined condition, according to the trigger routing announcement All links or partial links generate the route.
至于其中标识达到所述预定条件的网络出口拥塞状态的方式,本公开一些实施例提供了两种措施:As with the manner in which the network exit congestion state that meets the predetermined condition is identified, some embodiments of the present disclosure provide two measures:
第一种措施,所述生成模块包括:第一标识子模块,用于通过团体属性community标识达到所述预定条件的网络出口拥塞状态,所述网络出口拥塞状态包括网络出口链路的带宽和链路当前利用率。In a first measure, the generating module includes: a first identifier submodule, configured to identify, by using a community attribute community, a network egress congestion state that meets the predetermined condition, where the network egress congestion state includes a bandwidth and a chain of a network egress link. Current utilization of the road.
第二种措施,所述生成模块包括:第二标识子模块,用于通过扩展团体属性extended community标识达到所述预定条件的网络出口拥塞状态,所述网络出口拥塞状态包括网络出口链路的带宽和链路当前利用率。In a second aspect, the generating module includes: a second identifier submodule, configured to identify, by using an extended community attribute extended community, a network egress congestion state that meets the predetermined condition, where the network egress congestion state includes a bandwidth of a network egress link. And the current utilization of the link.
当使用extended community传递网络出口拥塞状态时,因为字段空间足够大,还可以在传递网络出口利用率的同时携带出口链路时延、稳定性(链路的稳定性可以用一天中链路中断的次数等表征)等信息;也就是说,所述网络出口拥塞状态还可以包括网络出口链路时延和链路的稳定性。When the extended community is used to deliver the network egress congestion state, because the field space is large enough, the egress link delay and stability can be carried while transmitting the network egress utilization (the stability of the link can be interrupted by the link in one day. Information such as the number of times, etc.; that is, the network egress congestion state may also include network egress link delay and link stability.
具体的,所述宣告模块包括:第一宣告子模块,用于在网络出口的链路利用率发生变化,或链路利用率的变化超过第一阈值,或链路利用率达到第二阈值时,向边界网关协议BGP邻居宣告路由。Specifically, the announcement module includes: a first announcement sub-module, configured to change a link utilization rate of the network egress, or when the link utilization change exceeds a first threshold, or when the link utilization reaches a second threshold Declare a route to the Border Gateway Protocol BGP neighbor.
可选地,所述宣告模块包括:第二宣告子模块,用于向所有BGP邻居或 部分BGP邻居宣告路由。BGP邻居可以是路由器,也可以是路由反射器RR。Optionally, the announcement module includes: a second announcement sub-module, configured to all BGP neighbors or Some BGP neighbors announce routes. A BGP neighbor can be either a router or a route reflector RR.
其中,上述实时传递网络出口拥塞状态的方法的所述有实施例均适用于该第一路由器的实施例中,也能达到相同的技术效果。The foregoing embodiments of the foregoing method for real-time delivery of a network egress congestion state are applicable to the embodiment of the first router, and can achieve the same technical effect.
如图8所示,本公开一些实施例提供一种第二路由器,可用于网络出口选择,所述第二路由器包括:As shown in FIG. 8, some embodiments of the present disclosure provide a second router, which can be used for network egress selection, and the second router includes:
接收模块81,用于接收第一路由器宣告的路由;其中,所述第一路由器与第二路由器之间为边界网关协议BGP邻居,所述路由是由所述第一路由器根据达到预定条件的网络出口拥塞状态生成的信息;The receiving module 81 is configured to receive a route advertised by the first router, where the first router and the second router are border gateway protocol BGP neighbors, and the route is a network that is determined by the first router according to a predetermined condition. Information generated by the export congestion status;
处理模块82,用于利用所述路由中的网络出口拥塞状态结合本地策略进行网络出口选择(进而通过不同的网络出口疏导不同的流量)。The processing module 82 is configured to perform network egress selection by using a network egress congestion state in the route in combination with a local policy (and further divert different traffic through different network outlets).
其中,接收第一路由器宣告的路由的操作可以是直接接收第一路由器宣告的路由,也可以是接收路由反射器RR转发的第一路由器宣告的路由。The receiving the route advertised by the first router may be directly receiving the route advertised by the first router, or may be the route advertised by the first router forwarded by the route reflector RR.
本公开一些实施例通过接收第一路由器宣告的路由,并利用路由中的网络出口拥塞状态结合本地策略进行网络出口选择,进而通过不同的网络出口疏导不同的流量,保证了用户体验并提高了网络出口利用效率。Some embodiments of the present disclosure ensure the user experience and improve the network by receiving the route advertised by the first router and utilizing the network egress congestion state in the route in combination with the local policy for network egress selection, and then diverting different traffic through different network outlets. Export utilization efficiency.
其中,预设条件包括所述网络出口的链路利用率发生变化,或链路利用率的变化超过第一阈值,或链路利用率达到第二阈值。The preset condition includes that the link utilization of the network egress changes, or the link utilization change exceeds a first threshold, or the link utilization reaches a second threshold.
可选地,所述处理模块包括:处理子模块,用于在骨干网络出口的链路利用率低于第三阈值(比如80%),或剩余带宽大于第四阈值(比如2G)时,通过所述骨干网络出口疏导不超过所述骨干网络出口的剩余可用带宽的出网流量。Optionally, the processing module includes: a processing submodule, configured to: when the link utilization of the backbone network egress is lower than a third threshold (such as 80%), or when the remaining bandwidth is greater than a fourth threshold (such as 2G), The backbone network exit grooming does not exceed the outbound traffic of the remaining available bandwidth of the backbone network exit.
进一步的,所述第二路由器还包括:配置模块,用于所述处理模块利用所述路由中的网络出口拥塞状态结合本地策略进行网络出口选择之前,配置生成所述本地策略。Further, the second router further includes: a configuration module, configured to generate the local policy before the processing module uses the network egress congestion state in the route and the local policy to perform network egress selection.
具体的,所述本地策略至少包括:在网络出口的剩余可用带宽相同时,选择稳定性较高或时延较小的网络出口。Specifically, the local policy includes: selecting a network egress with higher stability or less delay when the remaining available bandwidth of the network egress is the same.
其中,上述网络出口选择方法的所述实现实施例均适用于该第二路由器的实施例中,也能达到相同的技术效果。The implementation examples of the foregoing network egress selection method are applicable to the embodiment of the second router, and the same technical effects can be achieved.
需要说明的是,此说明书中所描述的许多功能部件都被称为模块/子模块, 以便更加特别地强调其实现方式的独立性。It should be noted that many of the functional components described in this specification are referred to as modules/submodules. In order to more specifically emphasize the independence of its implementation.
本公开实施例中,模块/子模块可以用软件实现,以便由各种类型的处理器执行。举例来说,一个标识的可执行代码模块可以包括计算机指令的一个或多个物理或者逻辑块,举例来说,其可以被构建为对象、过程或函数。尽管如此,所标识模块的可执行代码无需物理地位于一起,而是可以包括存储在不同位里上的不同的指令,当这些指令逻辑上结合在一起时,其构成模块并且实现该模块的规定目的。In embodiments of the present disclosure, modules/sub-modules may be implemented in software for execution by various types of processors. For example, an identified executable code module can comprise one or more physical or logical blocks of computer instructions, which can be constructed, for example, as an object, procedure, or function. Nonetheless, the executable code of the identified modules need not be physically located together, but may include different instructions stored in different bits that, when logically combined, constitute a module and implement the provisions of the module. purpose.
例如,本公开一些实施例提供一种第一路由器,可用于实时传递网络出口拥塞状态,所述第一路由器包括处理器,所述处理器用于:For example, some embodiments of the present disclosure provide a first router that can be used to deliver a network egress congestion status in real time, the first router including a processor, the processor is configured to:
实时探测网络出口拥塞状态;Real-time detection of network exit congestion status;
在所述网络出口拥塞状态达到预定条件时,向边界网关协议BGP邻居宣告路由;When the network egress congestion state reaches a predetermined condition, the route is announced to the border gateway protocol BGP neighbor;
其中,宣告的路由中标志有达到所述预定条件的网络出口拥塞状态。Wherein, the declared route has a network exit congestion state that reaches the predetermined condition.
本公开一些实施例提供一种第二路由器,可用于网络出口选择,所述第二路由器包括处理器,所处处理器用于:Some embodiments of the present disclosure provide a second router, which can be used for network egress selection, and the second router includes a processor, where the processor is used to:
接收第一路由器宣告的路由;其中,所述第一路由器与第二路由器之间为边界网关协议BGP邻居,所述路由是由所述第一路由器根据达到预定条件的网络出口拥塞状态生成的信息;Receiving a route advertised by the first router; wherein the first router and the second router are border gateway protocol BGP neighbors, and the route is information generated by the first router according to a network egress congestion state that reaches a predetermined condition ;
利用所述路由中的网络出口拥塞状态结合本地策略进行网络出口选择(进而通过不同的网络出口疏导不同的流量)。The network egress congestion state in the route is combined with the local policy for network egress selection (and then different traffic is diverted through different network outlets).
实际上,可执行代码模块可以是单条指令或者是许多条指令,并且甚至可以分布在多个不同的代码段上,分布在不同程序当中,以及跨越多个存储器设备分布。同样地,操作数据可以在模块内被识别,并且可以依照任何适当的形式实现并且被组织在任何适当类型的数据结构内。所述操作数据可以作为单个数据集被收集,或者可以分布在不同位置上(包括在不同存储设备上),并且至少部分地可以仅作为电子信号存在于系统或网络上。In practice, the executable code module can be a single instruction or a plurality of instructions, and can even be distributed across multiple different code segments, distributed among different programs, and distributed across multiple memory devices. As such, operational data may be identified within the modules and may be implemented in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed at different locations (including on different storage devices), and may at least partially exist as an electronic signal on a system or network.
在模块可以利用软件实现时,考虑到现有硬件工艺的水平,所以可以以软件实现的模块,在不考虑成本的情况下,本领域技术人员都可以搭建对应的硬件电路来实现对应的功能,所述硬件电路包括常规的超大规模集成 (VLSI)电路或者门阵列以及诸如逻辑芯片、晶体管之类的现有半导体或者是其它分立的元件。模块还可以用可编程硬件设备,诸如现场可编程门阵列、可编程阵列逻辑、可编程逻辑设备等实现。When the module can be implemented by software, considering the level of the existing hardware process, the module can be implemented in software, and the technician can construct a corresponding hardware circuit to implement the corresponding function without considering the cost. The hardware circuit includes conventional ultra-large scale integration (VLSI) circuits or gate arrays and existing semiconductors such as logic chips, transistors, or other discrete components. The modules can also be implemented with programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices, and the like.
以上所述的是本公开的优选实施方式,应当指出对于本技术领域的普通人员来说,在不脱离本公开所述原理前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本公开的保护范围。 The above is a preferred embodiment of the present disclosure, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present disclosure. These improvements and retouchings should also be considered. It is the scope of protection of this disclosure.

Claims (13)

  1. 一种实时传递网络出口拥塞状态的方法,应用于第一路由器,其中,所述方法包括:A method for real-time delivery of a network egress congestion state is applied to a first router, where the method includes:
    实时探测网络出口拥塞状态;Real-time detection of network exit congestion status;
    在所述网络出口拥塞状态达到预定条件时,向边界网关协议BGP邻居宣告路由;When the network egress congestion state reaches a predetermined condition, the route is announced to the border gateway protocol BGP neighbor;
    其中,宣告的路由中标志有达到所述预定条件的网络出口拥塞状态。Wherein, the declared route has a network exit congestion state that reaches the predetermined condition.
  2. 如权利要求1所述的方法,其中,在所述向边界网关协议BGP邻居宣告路由之前,所述方法还包括:The method of claim 1, wherein before the routing of the BGP neighbor to the border gateway protocol, the method further comprises:
    在所述网络出口拥塞状态达到所述预定条件时,根据触发路由宣告的所有链路或部分链路生成所述路由。When the network egress congestion state reaches the predetermined condition, the route is generated according to all links or partial links that trigger route advertisement.
  3. 如权利要求2所述的方法,其中,所述根据触发路由宣告的所有链路或部分链路生成所述路由的步骤包括:The method of claim 2, wherein the step of generating the route according to all links or partial links that trigger a route announcement comprises:
    通过团体属性community标识达到所述预定条件的网络出口拥塞状态,所述网络出口拥塞状态包括网络出口链路的带宽和链路当前利用率。The network egress congestion state that meets the predetermined condition is identified by the community attribute community, where the network egress congestion state includes a bandwidth of the network egress link and a current link utilization rate.
  4. 如权利要求2所述的方法,其中,所述根据触发路由宣告的所有链路或部分链路生成所述路由的步骤包括:The method of claim 2, wherein the step of generating the route according to all links or partial links that trigger a route announcement comprises:
    通过扩展团体属性extended community标识达到所述预定条件的网络出口拥塞状态,所述网络出口拥塞状态包括网络出口链路的带宽和链路当前利用率。The network egress congestion state that meets the predetermined condition is identified by the extended community attribute extended community, where the network egress congestion state includes a bandwidth of the network egress link and a current link utilization rate.
  5. 如权利要求4所述的方法,其中,所述网络出口拥塞状态还包括网络出口链路时延和链路的稳定性。The method of claim 4 wherein said network egress congestion status further comprises network egress link delay and link stability.
  6. 如权利要求1所述的方法,其中,所述在所述网络出口拥塞状态达到预定条件时,向边界网关协议BGP邻居宣告路由的步骤包括:The method of claim 1, wherein the step of declaring a route to a Border Gateway Protocol BGP neighbor when the network egress congestion state reaches a predetermined condition comprises:
    在网络出口的链路利用率发生变化,或链路利用率的变化超过第一阈值,或链路利用率达到第二阈值时,向边界网关协议BGP邻居宣告路由。When the link utilization of the network egress changes, or the link utilization changes exceed the first threshold, or the link utilization reaches the second threshold, the route is announced to the border gateway protocol BGP neighbor.
  7. 如权利要求1所述的方法,其中,所述向边界网关协议BGP邻居宣告路由的步骤包括: The method of claim 1 wherein said step of declaring a route to a Border Gateway Protocol BGP neighbor comprises:
    向所有BGP邻居或部分BGP邻居宣告路由。Advertise routes to all BGP neighbors or some BGP neighbors.
  8. 一种第一路由器,包括:A first router comprising:
    探测模块,用于实时探测网络出口拥塞状态;a detecting module, configured to detect a network export congestion state in real time;
    宣告模块,用于在所述网络出口拥塞状态达到预定条件时,向边界网关协议BGP邻居宣告路由;An announcement module, configured to announce a route to a border gateway protocol BGP neighbor when the network egress congestion state reaches a predetermined condition;
    其中,宣告的路由中标志有达到所述预定条件的网络出口拥塞状态。Wherein, the declared route has a network exit congestion state that reaches the predetermined condition.
  9. 一种网络出口选择方法,应用于第二路由器,包括:A network exit selection method applied to a second router, including:
    接收第一路由器宣告的路由;其中,所述第一路由器与第二路由器之间为边界网关协议BGP邻居,所述路由是由所述第一路由器根据达到预定条件的网络出口拥塞状态生成的信息;Receiving a route advertised by the first router; wherein the first router and the second router are border gateway protocol BGP neighbors, and the route is information generated by the first router according to a network egress congestion state that reaches a predetermined condition ;
    利用所述路由中的网络出口拥塞状态结合本地策略进行网络出口选择。The network exit selection is performed by using the network egress congestion state in the route in combination with the local policy.
  10. 如权利要求9所述的网络出口选择方法,其中,所述利用所述路由中的网络出口拥塞状态结合本地策略进行网络出口选择的步骤包括:The network egress selection method according to claim 9, wherein the step of utilizing a network egress congestion state in the route in combination with a local policy for network egress selection comprises:
    在骨干网络出口的链路利用率低于第三阈值时,通过所述骨干网络出口疏导不超过所述骨干网络出口的剩余可用带宽的出网流量。When the link utilization of the backbone network egress is lower than the third threshold, the egress network does not exceed the outbound traffic of the remaining available bandwidth of the backbone network egress.
  11. 如权利要求9所述的网络出口选择方法,其中,在所述利用所述路由中的网络出口拥塞状态结合本地策略进行网络出口选择之前,所述网络出口选择方法还包括:The network egress selection method according to claim 9, wherein the network egress selection method further comprises: before the utilizing the network egress congestion state in the route and the local policy to perform network egress selection;
    配置生成所述本地策略。The configuration generates the local policy.
  12. 如权利要求11所述的网络出口选择方法,其中,所述本地策略至少包括:在网络出口的剩余可用带宽相同时,选择稳定性较高的网络出口。The network egress selection method according to claim 11, wherein the local policy comprises at least selecting a network exit with higher stability when the remaining available bandwidth of the network egress is the same.
  13. 一种第二路由器,包括:A second router comprising:
    接收模块,用于接收第一路由器宣告的路由;其中,所述第一路由器与第二路由器之间为边界网关协议BGP邻居,所述路由是由所述第一路由器根据达到预定条件的网络出口拥塞状态生成的信息;a receiving module, configured to receive a route advertised by the first router, where the first router and the second router are border gateway protocol BGP neighbors, and the route is a network exit by the first router according to a predetermined condition Information generated by the congestion state;
    处理模块,用于利用所述路由中的网络出口拥塞状态结合本地策略进行网络出口选择。 The processing module is configured to perform network egress selection by using a network egress congestion state in the route in combination with a local policy.
PCT/CN2016/098823 2015-11-13 2016-09-13 Method for transferring network exit congestion state, network exit selection method, and router WO2017080301A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510778556.8 2015-11-13
CN201510778556.8A CN106713161A (en) 2015-11-13 2015-11-13 Method for transmitting network outlet congestion state, network outlet selection method, and router

Publications (1)

Publication Number Publication Date
WO2017080301A1 true WO2017080301A1 (en) 2017-05-18

Family

ID=58694720

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/098823 WO2017080301A1 (en) 2015-11-13 2016-09-13 Method for transferring network exit congestion state, network exit selection method, and router

Country Status (2)

Country Link
CN (1) CN106713161A (en)
WO (1) WO2017080301A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109309624B (en) * 2017-07-28 2022-05-03 中国电信股份有限公司 Flow scheduling method and system, and software defined network controller
CN110430134B (en) * 2019-06-21 2021-05-07 网宿科技股份有限公司 Cloud network transmission routing method and system
CN115378832B (en) * 2022-07-29 2024-03-26 北京奇艺世纪科技有限公司 Congestion detection method and device, stream media transmission system, electronic equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060165009A1 (en) * 2005-01-25 2006-07-27 Zvolve Systems and methods for traffic management between autonomous systems in the Internet
US7581022B1 (en) * 2005-12-29 2009-08-25 At&T Corp. Method for tunable inter domain egress selection
CN103650433A (en) * 2013-07-31 2014-03-19 华为技术有限公司 Route distributing method, system and controller
CN104243313A (en) * 2014-09-17 2014-12-24 清华大学 Inter-domain routing traffic engineering method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100421422C (en) * 2005-10-12 2008-09-24 华为技术有限公司 Method for actualizing route strategy through boundary gateway
CN101958829B (en) * 2009-07-13 2013-04-17 华为技术有限公司 Route distribution method, device and system
CN102082734B (en) * 2011-02-28 2014-06-25 杭州华三通信技术有限公司 Service message transmission method and equipment
CN103346979B (en) * 2013-06-21 2017-02-08 杭州华三通信技术有限公司 Flow distribution method and equipment in SPBM network
CN103312620A (en) * 2013-06-26 2013-09-18 华为技术有限公司 Method and device for processing network congestion
US20150109934A1 (en) * 2013-10-23 2015-04-23 Paramasiviah HARSHAVARDHA Internet protocol routing mehtod and associated architectures

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060165009A1 (en) * 2005-01-25 2006-07-27 Zvolve Systems and methods for traffic management between autonomous systems in the Internet
US7581022B1 (en) * 2005-12-29 2009-08-25 At&T Corp. Method for tunable inter domain egress selection
CN103650433A (en) * 2013-07-31 2014-03-19 华为技术有限公司 Route distributing method, system and controller
CN104243313A (en) * 2014-09-17 2014-12-24 清华大学 Inter-domain routing traffic engineering method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
GREDLER, H. ET AL.: "Egress Peer Engineering Using BGP- LU , draft-gredler-idr-bgplu-epe-04", INTER-DOMAIN ROUTING INTERNET-DRAFT, 10 September 2015 (2015-09-10), XP015108127 *
MOHAPATRA, P. ET AL.: "BGP Link Bandwidth Extended Community, draft-ietf-idr-link-bandwidth-06.txt", NETWORK WORKING GROUP INTERNET-DRAFT, 22 January 2013 (2013-01-22), XP055380492 *

Also Published As

Publication number Publication date
CN106713161A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
US11604666B2 (en) Service path generation in load balanced manner
CN112262553B (en) Apparatus and method for tracking packets in a packet processing pipeline of a software defined network switch
WO2019105461A1 (en) Packet sending and processing method and apparatus, pe node, and node
CN102195865B (en) Communicating network path and status information in multi-homed networks
CN109076018A (en) Utilize IS-IS exposure maximum node and/or the technology of Link Fragmentation identifier depth
WO2017000802A1 (en) Service fault location method and device
WO2017080301A1 (en) Method for transferring network exit congestion state, network exit selection method, and router
CN105429841A (en) NNI PING realization method and device
WO2018150223A1 (en) A method and system for identification of traffic flows causing network congestion in centralized control plane networks
US8982711B2 (en) Self-healing communications network
US8553539B2 (en) Method and system for packet traffic congestion management
Duliński et al. MPLS-based reduction of flow table entries in SDN switches supporting multipath transmission
KR20180058594A (en) Software Defined Network/Test Access Port Application
Litkowski et al. Operational Management of Loop-Free Alternates
KR20180058593A (en) Software Defined Network Whitebox Switch
US10313151B2 (en) Enhanced loop-breaking protocol to support connectionless and connection-oriented ethernet
KR101707073B1 (en) Error detection network system based on sdn
CN110933002B (en) Method and device for realizing switching chip of MPLS in-band detection OAM
CN108462635A (en) A kind of communication network path in more place networks and status information
Decraene et al. RFC 7916: Operational Management of Loop-Free Alternates
Liang et al. Detecting BGP Misconfiguration for BGP/MPLS VPNs

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16863478

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16863478

Country of ref document: EP

Kind code of ref document: A1