Disclosure of Invention
In view of at least one of the above technical problems, the present disclosure provides a network offloading method, apparatus and system, and a computer-readable storage medium, implementing intelligent definition of network nodes through SRv (Segment Routing IPv, segment routing based on an IPv6 forwarding plane) protocol extension, and enabling mobile deployment of offloading policies.
According to one aspect of the present disclosure, there is provided a network offloading method, including:
setting flood discharge nodes in a network in a partition mode;
Under the condition that the network is congested, each node guides the traffic to the nearest flood discharge node for diversion according to the regional division.
In some embodiments of the present disclosure, the setting flood discharge nodes in a partition in a network includes:
and setting 1 flood discharge node or 2 flood discharge nodes in each network area, wherein the number of the flood discharge nodes is determined according to the network scale.
In some embodiments of the present disclosure, the setting the flood discharge node in the partition in the network further includes:
And setting redundant bandwidths of the flood discharging nodes.
In some embodiments of the present disclosure, the setting the redundant bandwidth of each flood discharge node includes:
setting a capacity expansion threshold;
And under the condition that the bandwidth utilization rate is larger than the capacity expansion threshold value, starting capacity expansion.
In some embodiments of the present disclosure, the setting flood discharge nodes in a partition in a network includes:
and expanding the function field of the segment routing IPv6 protocol, and setting a flood discharge node type field to indicate that the current node is a specified flood discharge node.
In some embodiments of the disclosure, in the case of congestion in the network, the routing the traffic to the nearest flood discharge node for diversion by each node according to the regional division includes:
In case of network congestion, each repeater starts flood discharge work, encapsulates flood discharge node type field in specific traffic forwarding path, and guides traffic to nearest flood discharge node for diversion.
In some embodiments of the disclosure, in the case of congestion in the network, the routing the traffic to the nearest flood discharge node for diversion by each node according to the regional division includes:
in case of congestion in the network, the controller sends out flood discharge instructions to the transponders, and the transponders are instructed to guide specific traffic to the nearest flood discharge node for diversion.
According to another aspect of the present disclosure, there is provided a network split device, including:
the flood discharge node setting module is used for setting flood discharge nodes in a network in a partition mode;
And the diversion module is used for indicating each node to guide the flow to the nearest flood discharge node for diversion according to the regional division under the condition that the network is congested.
In some embodiments of the present disclosure, the network splitting device is configured to perform operations for implementing the network splitting method according to any of the embodiments described above.
According to another aspect of the present disclosure, there is provided a network split device, including:
a memory for storing instructions;
and the processor is used for executing the instructions to enable the network shunting device to execute the operation of implementing the network shunting method according to any embodiment.
According to another aspect of the present disclosure, there is provided a network split system, including a network split system as in any one of the embodiments above.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions which, when executed by a processor, implement a network splitting method as in any of the embodiments above.
The intelligent definition of the network nodes is realized through SRv expansion, and the maneuvering deployment of the shunting strategy can be realized.
Detailed Description
The following description of the technical solutions in the embodiments of the present disclosure will be made clearly and completely with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only some embodiments of the present disclosure, not all embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses. Based on the embodiments in this disclosure, all other embodiments that a person of ordinary skill in the art would obtain without making any inventive effort are within the scope of protection of this disclosure.
The relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless it is specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective parts shown in the drawings are not drawn in actual scale for convenience of description.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but should be considered part of the specification where appropriate.
In all examples shown and discussed herein, any specific values should be construed as merely illustrative, and not a limitation. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
Fig. 1 is a schematic diagram of some embodiments of the network splitting method of the present disclosure. Preferably, the present embodiment may be performed by the network splitting apparatus of the present disclosure or the network splitting system of the present disclosure. The method comprises the following steps:
and step 11, setting flood discharge nodes in the network in a partition mode.
In some embodiments of the present disclosure, step 11 may include: and expanding the function field of the segment routing IPv6 protocol, and setting a flood discharge node type field end.BP, wherein the current node is a designated flood discharge node.
Figure 2 is a schematic diagram of a flood discharge node type field in some embodiments of the present disclosure. As shown in fig. 2, the SRH (Segment Routing Header ) extension header format may include an IPv6 header, an IPv6 SRH header, and an IPv6 payload. SRv6 segments are in the form of IPv6 addresses, which may also be commonly referred to as SRv SID (SEGMENT IDENTIFIER ). As shown in fig. 2, SRv SID is composed of two parts, a Locator (Locator field) and a Function (Function field). The Function represents instructions (instructions) of the device, which are preset by the device, and the Function part is used for instructing the SRv SID generating node to perform corresponding functional operations. The Function section may also separate an optional parameter segment (Arguments).
In some embodiments of the present disclosure, using the programmable Function of SRv, a flood discharge node type field end.bp is newly defined in the Function field, indicating that the current node is the designated traffic flood discharge node in the network, indicating that the direct node may direct traffic to this node for offloading when the network is congested.
In some embodiments of the present disclosure, step 11 may include step 111 and step 112, wherein:
in step 111, 1 flood discharge node or 2 flood discharge nodes are set in each network area, wherein the number of flood discharge nodes can be determined according to the network scale.
In some embodiments of the present disclosure, step 111 may include: partitioning a network; and setting flood discharge nodes in a partition in a network, and configuring end.BP. The flood discharge node is typically a core node having a plurality of egress directions. One area is provided with 1-2 flood discharging nodes, which depends on the network scale.
And step 112, setting redundant bandwidths of the flood discharging nodes.
In some embodiments of the present disclosure, step 112 may include: setting a capacity expansion threshold; and under the condition that the bandwidth utilization rate is larger than the capacity expansion threshold value, starting capacity expansion.
In some embodiments of the present disclosure, the capacity expansion threshold may be 60%.
According to the embodiment of the disclosure, redundant bandwidths of flood discharging nodes in each area can be planned in advance, a lower capacity expansion threshold can be set, and conventional light load is kept.
And step 12, under the condition that the network is congested, each node guides the traffic to the nearest flood discharge node for diversion according to the regional division.
In some embodiments of the present disclosure, step 12 may include: under the condition that the network is congested, each transponder starts flood discharge work, encapsulates a flood discharge node type field End.BP in a specific flow forwarding path, and guides flow to the nearest flood discharge node for diversion.
In some embodiments of the present disclosure, step 12 may include: in case of congestion in the network, the controller sends out flood discharge instructions to the transponders, and the transponders are instructed to guide specific traffic to the nearest flood discharge node for diversion.
Based on the network shunting method provided by the embodiment of the disclosure, SRv programmable functions can be utilized to plan in advance, and a controller calculation path is not required to be waited, so that the network congestion response speed is increased, and meanwhile, the shunting failure possibly caused by temporary calculation path is avoided.
Fig. 3 is a schematic diagram of other embodiments of the network splitting method of the present disclosure. The network shown in fig. 3 is partitioned into a region1 (region 1) and a region2 (region 2), in the partition of fig. 3, each partition has 3 nodes, and 1 flood discharge node is set in each partition.
As shown in fig. 3, in case of a congested segment in zone 1, the traffic of the inline node may be directed to the nearest flood discharge node (i.e. the flood discharge node in zone 1) for diversion. I.e. switching traffic from the source flow path to the post-congestion split path.
The above embodiments of the present disclosure may utilize SRv programmable functions to define network splitting nodes. The embodiment of the disclosure combines network planning, and deploys network diversion strategies in advance, including regional division, bandwidth pre-configuration and the like, so that the problems of algorithm time delay, unstable success probability and the like caused by temporary scheduling are reduced.
The embodiment of the disclosure can utilize SRv rich programmable functions to improve the network bearing capacity and is simple to realize.
The related art SRv flow scheduling scheme is strongly related to the algorithm and the network state, and has the problems of long path calculation time, unstable success rate and the like. According to the embodiment of the disclosure, through expanding SRv to realize intelligent definition of the network nodes, and simultaneously, the method and the device cooperate with network planning to accelerate the response speed of traffic congestion scheduling and improve the user experience. Therefore, the technical scheme disclosed by the embodiment of the disclosure has important practical significance.
SRv6 is a mainstream standard of future network bearer protocol, so the above embodiment of the disclosure has good development prospect and high vendor support.
Fig. 4 is a schematic diagram of some embodiments of a network splitting device of the present disclosure. As shown in fig. 4, the network diversion apparatus of the present disclosure may include a flood discharge node setting module 41 and a diversion module 42, wherein:
the flood discharge node setting module 41 is configured to set flood discharge nodes in a partition in the network.
In some embodiments of the present disclosure, flood discharge node setup module 41 may be used to setup 1 flood discharge node or 2 flood discharge nodes in each network area, wherein the number of flood discharge nodes may be determined according to the network scale; and setting redundant bandwidths of the flood discharging nodes.
In some embodiments of the present disclosure, flood discharge node setup module 41 may be used to partition flood discharge nodes in the network, configuring end.bp. The flood discharge node is typically a core node having a plurality of egress directions. One area is provided with 1-2 flood discharging nodes, which depends on the network scale.
In some embodiments of the present disclosure, flood discharge node setting module 41 may be used to set a capacity expansion threshold; and under the condition that the bandwidth utilization rate is larger than the capacity expansion threshold value, starting capacity expansion.
In some embodiments of the present disclosure, the capacity expansion threshold may be 60%.
According to the embodiment of the disclosure, redundant bandwidths of flood discharging nodes in each area can be planned in advance, a lower capacity expansion threshold can be set, and conventional light load is kept.
And the diversion module 42 is configured to instruct each node to direct the traffic to the nearest flood discharge node for diversion according to the regional division in case of congestion of the network.
In some embodiments of the present disclosure, the diversion module 42 may be configured to, in the event of congestion in the network, enable each repeater to perform a flood discharge operation, encapsulate the flood discharge node type field end.bp in a specific traffic forwarding path, and direct traffic to the nearest flood discharge node for diversion.
In some embodiments of the present disclosure, the diversion module 42 may be configured to issue a flood discharge indication to each of the transponders to instruct the transponders to direct specific traffic to the nearest flood discharge node for diversion in the event of network congestion.
In some embodiments of the present disclosure, the flood discharge node setting module 41 may be configured to utilize the programmable Function of SRv to newly define a flood discharge node type field end.bp in the Function field, indicating that the current node is a traffic discharge node specified in the network, and the diversion module 42 may be configured to instruct the direct node to divert traffic to the current node when the network is congested.
In some embodiments of the present disclosure, the network splitting device is configured to perform operations for implementing the network splitting method described in any of the embodiments (e.g., the embodiment of fig. 1) above.
Based on the network shunting device provided by the embodiment of the disclosure, the intelligent flow scheduling device based on SRv expansion can redefine the flow shunting node FUNCTION by expanding SRv FUNCTIONs, designate key nodes as flow flood discharging nodes and plan redundant bandwidths in advance. When the network is congested, each node leads the traffic to the nearest flood discharging node for diversion according to the regional division, so that the problems of too fine granularity, high algorithm dependence, unstable success rate and the like of the route management in the traffic scheduling mode of the related technology are solved, the traffic scheduling in the common scene is simpler, and the use experience of common users is improved.
Fig. 5 is a schematic structural diagram of other embodiments of the network splitting device of the present disclosure. As shown in fig. 5, the computer device includes a memory 51 and a processor 52.
The memory 51 is for storing instructions and the processor 52 is coupled to the memory 51, the processor 52 being configured to perform a method according to any of the embodiments described above (e.g. the embodiment of fig. 1) based on the instructions stored by the memory.
As shown in fig. 5, the computer apparatus further comprises a communication interface 53 for information interaction with other devices. Meanwhile, the computer device further comprises a bus 54, and the processor 52, the communication interface 53 and the memory 51 perform communication with each other through the bus 54.
The memory 51 may comprise a high-speed RAM memory or may further comprise a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 51 may also be a memory array. The memory 51 may also be partitioned and the blocks may be combined into virtual volumes according to certain rules.
Further, the processor 52 may be a central processing unit CPU, or may be an application specific integrated circuit ASIC, or one or more integrated circuits configured to implement embodiments of the present disclosure.
According to the embodiment of the disclosure, intelligent definition of the network nodes is realized through SRv expansion, and mobile deployment of the shunting strategy can be realized, so that flexibility and success rate of flow scheduling are improved, intelligent scheduling level of the network is improved, and user perception is improved.
Fig. 6 is a schematic diagram of some embodiments of the disclosed network splitting system. As shown in fig. 6, the network diversion system of the present disclosure may include a network diversion apparatus 61, a flood discharge node 62, and a direct link node 63, wherein:
a network splitting device 61 for partitioning a network; setting flood discharge nodes 62 in a partition in the network; in case of congestion in the network, each of the tandem nodes 63 is instructed to direct traffic to the nearest flood discharge node 62 for diversion according to the regional division.
In some embodiments of the present disclosure, network split device 61 may be a network split device as described in any of the embodiments described above (e.g., the fig. 4 or fig. 5 embodiments).
The direct connection node 63 is a common node in the network partition that is directly connected to the flood discharge node 62.
As shown in fig. 3, 1 flood discharge node or 2 flood discharge nodes are provided in each network area, wherein the number of flood discharge nodes can be determined according to the network scale.
In some embodiments of the present disclosure, the network splitting device 61 is configured to partition a network; setting flood discharge nodes in a partition mode in a network, and configuring an END.BP, wherein the flood discharge nodes are generally core nodes and have a plurality of outlet directions, and 1-2 flood discharge nodes are arranged in one area according to the network scale; and setting redundant bandwidths of the flood discharging nodes.
In some embodiments of the present disclosure, network split device 61 may be used to set a capacity expansion threshold; and under the condition that the bandwidth utilization rate is larger than the capacity expansion threshold value, starting capacity expansion.
In some embodiments of the present disclosure, the network diversion apparatus 61 may be configured to, in the event of congestion in the network, enable each repeater to perform a flood discharge operation, encapsulate the flood discharge node type field end.bp in a specific traffic forwarding path, and direct traffic to the nearest flood discharge node for diversion.
In some embodiments of the present disclosure, the network diversion device 61 may be configured to issue a flood discharge indication to each of the transponders in the event of network congestion, instructing the transponders to direct specific traffic to the nearest flood discharge node for diversion.
Based on the network shunting system provided by the embodiment of the disclosure, SRv programmable functions can be utilized to plan in advance, and a controller calculation way is not required to be waited, so that the network congestion response speed is increased, and meanwhile, the shunting failure possibly caused by temporary calculation way is avoided.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions which, when executed by a processor, implement a network splitting method as described in any of the embodiments (e.g., the embodiment of fig. 1).
The above embodiments of the present disclosure may utilize SRv programmable functions to define network splitting nodes. The embodiment of the disclosure combines network planning, and deploys network diversion strategies in advance, including regional division, bandwidth pre-configuration and the like, so that the problems of algorithm time delay, unstable success probability and the like caused by temporary scheduling are reduced.
The embodiment of the disclosure can utilize SRv rich programmable functions to improve the network bearing capacity and is simple to realize.
The related art SRv flow scheduling scheme is strongly related to the algorithm and the network state, and has the problems of long path calculation time, unstable success rate and the like. According to the embodiment of the disclosure, through expanding SRv to realize intelligent definition of the network nodes, and simultaneously, the method and the device cooperate with network planning to accelerate the response speed of traffic congestion scheduling and improve the user experience. Therefore, the technical scheme disclosed by the embodiment of the disclosure has important practical significance.
SRv6 is a mainstream standard of future network bearer protocol, so the above embodiment of the disclosure has good development prospect and high vendor support.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The network split devices described above may be implemented as general purpose processors, programmable Logic Controllers (PLCs), digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or any suitable combination thereof, for performing the functions described herein.
Thus far, the present disclosure has been described in detail. In order to avoid obscuring the concepts of the present disclosure, some details known in the art are not described. How to implement the solutions disclosed herein will be fully apparent to those skilled in the art from the above description.
Those of ordinary skill in the art will appreciate that all or a portion of the steps implementing the above embodiments may be implemented by hardware, or may be implemented by a program indicating that the relevant hardware is implemented, where the program may be stored on a non-transitory computer readable storage medium, where the storage medium may be a read-only memory, a magnetic disk or optical disk, etc.
The description of the present disclosure has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the disclosure in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments were chosen and described in order to best explain the principles of the disclosure and the practical application, and to enable others of ordinary skill in the art to understand the disclosure for various embodiments with various modifications as are suited to the particular use contemplated.