CN115442287B - Weight-based private line gateway method and device - Google Patents

Weight-based private line gateway method and device Download PDF

Info

Publication number
CN115442287B
CN115442287B CN202210956038.0A CN202210956038A CN115442287B CN 115442287 B CN115442287 B CN 115442287B CN 202210956038 A CN202210956038 A CN 202210956038A CN 115442287 B CN115442287 B CN 115442287B
Authority
CN
China
Prior art keywords
switch
route
weight
line channel
private line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210956038.0A
Other languages
Chinese (zh)
Other versions
CN115442287A (en
Inventor
邓龙飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Cloud Network Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN202210956038.0A priority Critical patent/CN115442287B/en
Publication of CN115442287A publication Critical patent/CN115442287A/en
Application granted granted Critical
Publication of CN115442287B publication Critical patent/CN115442287B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/38Flow based routing

Abstract

The invention discloses a weight-based private line gateway method and device. The method comprises the following steps: under the condition that a user accesses public cloud, acquiring a target network segment, a first private line access point and a second private line access point; under the condition that the first private line channel, the second private line channel, the third private line channel and the fourth private line channel are normal, acquiring a first route of the first switch and a second route of the second switch; setting a weight attribute for a first switch to obtain first routing information, and setting a weight attribute for a second switch to obtain second routing information; generating a first routing table according to the first routing information and the second routing information; and calculating according to the first routing table to obtain a first weight, and sending the traffic corresponding to the target network segment to the first switch and the second switch according to the first weight. The invention solves the technical problem that the traditional scheme deploys redundant private lines and wastes a large amount of private line bandwidth.

Description

Weight-based private line gateway method and device
Technical Field
The invention relates to the field of computers, in particular to a weight-based private line gateway method and device.
Background
In the prior art, a IDC (Internet Data Center) internet data center is connected to two pop-point-of-presence private line access points through a private line. Each pop private line access point is connected with two 10G private lines. IDC issues the route of network segment 10.10.0.0/16 to the outside, after the switch DP-SW1/DP-SW2 of the pop private line access point learns the IDC network segment, it generates the ECMP (Equal Cost Multi-path) equivalent route of two next hops, the next hops are two private line channels 1,2 or 3,4 respectively. The switch would issue traffic equalization from both 10G ports to the IDC side according to the set equivalent routing hashing algorithm. The switches DP-SW1/DP-SW2 will also post learned routes to the CORE switch CORE. When the switch DP-SW1/DP-SW2 issues a route, the next hop is modified to the IP of the switch DP-SW1/DP-SW 2. The CORE switch CORE learns the ECMP equivalent route for the two next hops. The next hops are DP-SW1, DP-SW2, respectively. The CORE switch CORE is only aware of DP-SW1, DP-SW2. The dedicated channels 1,2,3,4 are not perceived. If the dedicated line channel 1 is disconnected at this time. The bandwidth equivalent to DP-SW1 becomes 10G, while the bandwidth of DP-SW2 is 20G. And CORE cannot perceive this change. For CORE, there is still an ECMP equivalent route for the two next hops DP-SW1, DP-SW2. Traffic sent to DP-SW1, DP-SW2 is equal, and may exceed the maximum bandwidth of 1 10G dedicated line for DP-SW 1. It is not possible to achieve the following 1: weighting of 2, traffic sent to IDC is carried out.
Disclosure of Invention
The embodiment of the invention provides a special line gateway method and a special line gateway device based on weight, which at least solve the technical problems that a large amount of special line bandwidth is wasted due to the fact that redundant special lines are deployed in a traditional scheme.
According to an aspect of the embodiment of the present invention, there is provided a weight-based private line gateway method, including: under the condition that a user accesses public cloud, a target network segment, a first private line access point and a second private line access point are obtained, wherein the first private line access point corresponds to a first switch, a first private line channel and a second private line channel, and the second private line access point corresponds to a second switch, a third private line channel and a fourth private line channel; acquiring a first route of the first switch and a second route of the second switch under the condition that the first private line channel, the second private line channel, the third private line channel and the fourth private line channel are normal; setting a weight attribute for the first switch to obtain first routing information, and setting the weight attribute for the second switch to obtain second routing information; the first route and the second route are sent to a core switch, and a first route table is generated according to the first route information and the second route information; and calculating according to the first routing table to obtain a first weight, and sending the traffic corresponding to the target network segment to the first switch and the second switch according to the first weight.
According to another aspect of the embodiment of the present invention, there is provided a dedicated line gateway apparatus based on weight, including: the first acquisition module is used for acquiring a target network segment, a first private line access point and a second private line access point under the condition that a user accesses public cloud, wherein the first private line access point corresponds to a first switch, a first private line channel and a second private line channel, and the second private line access point corresponds to a second switch, a third private line channel and a fourth private line channel; the second obtaining module is configured to obtain a first route of the first switch and a second route of the second switch when the first dedicated line channel, the second dedicated line channel, the third dedicated line channel, and the fourth dedicated line channel are all normal; the first setting module is used for setting weight attributes for the first switch to obtain first routing information, and setting the weight attributes for the second switch to obtain second routing information; the first sending module is used for sending the first route and the second route to the core switch and generating a first route table according to the first route information and the second route information; and the second sending module is used for calculating to obtain a first weight according to the first routing table and sending the traffic corresponding to the target network segment to the first switch and the second switch according to the first weight.
As an optional example, the second transmitting module includes: the first acquisition unit is used for acquiring the flow corresponding to the target network segment; a second obtaining unit, configured to obtain a first weight attribute corresponding to the first switch and a second weight attribute corresponding to the second switch in the first routing table; a first calculation unit configured to calculate the first weight according to the first weight attribute and the second weight attribute; and the first sending unit is used for sending the traffic to the first switch and the second switch according to the first weight.
As an alternative example, the above apparatus further includes: a third obtaining module, configured to obtain a third route of the first switch and the second route of the second switch when the first dedicated line channel, the third dedicated line channel, and the fourth dedicated line channel are all normal and the second dedicated line channel is abnormal; the second setting module is used for setting the weight attribute for the first switch to obtain third routing information, and setting the weight attribute for the second switch to obtain second routing information; a third sending module, configured to send the third route and the second route to the core switch, and generate a second routing table according to the third route information and the second route information; and the fourth sending module is used for calculating to obtain a second weight according to the second routing table and sending the flow corresponding to the target network segment to the first switch and the second switch according to the second weight.
As an optional example, the fourth transmitting module includes: a third obtaining unit, configured to obtain the flow corresponding to the target network segment; a fourth obtaining unit, configured to obtain a third weight attribute corresponding to the first switch and the second weight attribute corresponding to the second switch in the second routing table; a second calculation unit configured to calculate the second weight according to the third weight attribute and the second weight attribute; and the second sending unit is used for sending the traffic to the first switch and the second switch according to the second weight.
As an alternative example, the above apparatus further includes: a fourth obtaining module, configured to obtain, when the user accesses the public cloud, the target network segment, a third private line access point, and a fourth private line access point, where the third private line access point corresponds to a third switch, a fourth switch, a fifth private line channel, and a sixth private line channel, and the fourth private line access point corresponds to a fifth switch, a sixth switch, a seventh private line channel, and an eighth private line channel; a fifth obtaining module, configured to obtain a fourth route of the third switch, a fifth route of the fourth switch, a sixth route of the fifth switch, and a seventh route of the sixth switch when the fifth dedicated line channel, the sixth dedicated line channel, the seventh dedicated line channel, and the eighth dedicated line channel are all normal; the third setting module is configured to set the weight attribute for the third switch to obtain fourth routing information, set the weight attribute for the fourth switch to obtain fifth routing information, set the weight attribute for the fifth switch to obtain sixth routing information, and set the weight attribute for the sixth switch to obtain seventh routing information; a fifth transmitting module, configured to transmit the fourth route, the fifth route, the sixth route, and the seventh route to the core switch, and generate a third routing table according to the fourth route information, the fifth route information, the sixth route information, and the seventh route information; and a sixth sending module, configured to calculate a third weight according to the third routing table, and send, to the third switch, the fourth switch, the fifth switch, and the sixth switch, the flow corresponding to the target network segment according to the third weight.
As an alternative example, the above apparatus further includes: a sixth obtaining module, configured to obtain, when the fifth dedicated line channel, the seventh dedicated line channel, and the eighth dedicated line channel are all normal and the sixth dedicated line channel is abnormal, a fourth route of the third switch, a sixth route of the fifth switch, and a seventh route of the sixth switch; a fourth setting module, configured to set the weight attribute for the third switch to obtain the fourth routing information, set the weight attribute for the fifth switch to obtain the sixth routing information, and set the weight attribute for the sixth switch to obtain the seventh routing information; a seventh transmitting module, configured to transmit the fourth route, the sixth route, and the seventh route to the core switch, and generate a fourth routing table according to the fourth route information, the sixth route information, and the seventh route information; and an eighth sending module, configured to calculate a fourth weight according to the fourth routing table, and send, to the third switch, the fifth switch, and the sixth switch, the traffic corresponding to the target network segment according to the fourth weight.
As an alternative example, the above apparatus further includes: a ninth sending module, configured to send, by the fourth switch, a rerouting withdrawal message to the core switch; and the revocation module is used for the core switch to revoke the fifth route of the fourth switch.
As an alternative example, the above apparatus further includes: a seventh obtaining module, configured to obtain, when the user accesses a public cloud, the target network segment, a fifth private line access point, and a sixth private line access point, where the fifth private line access point corresponds to a seventh switch, a ninth private line channel, a tenth private line channel, an eleventh private line channel, and the sixth private line access point corresponds to an eighth switch, a twelfth private line channel, a thirteenth private line channel, and a fourteenth private line channel; an eighth obtaining module, configured to obtain an eighth route of the seventh switch and a ninth route of the eighth switch when the ninth dedicated line channel, the eleventh dedicated line channel, the twelfth dedicated line channel, the thirteenth dedicated line channel, the fourteenth dedicated line channel are all normal, and the tenth dedicated line channel is not normal; a fifth setting module, configured to set the weight attribute for the seventh switch to obtain eighth routing information, and set the weight attribute for the eighth switch to obtain ninth routing information; a tenth transmitting module, configured to transmit the eighth route to the core switch, and generate a fifth routing table according to the eighth route information and the ninth route information; and an eleventh sending module, configured to calculate a fifth weight according to the fifth routing table, and send, to the seventh switch, traffic corresponding to the target network segment by the eighth switch according to the fifth weight.
As an alternative example, the above apparatus further includes: a ninth obtaining module, configured to obtain a tenth route of the seventh switch and the ninth route of the eighth switch when the eleventh dedicated channel, the twelfth dedicated channel, the thirteenth dedicated channel, the fourteenth dedicated channel are all normal, and the ninth dedicated channel is abnormal; a sixth setting module, configured to set the weight attribute for the seventh switch to obtain tenth routing information, and set the weight attribute for the eighth switch to obtain the ninth routing information; a twelfth transmission module, configured to transmit the tenth route, the ninth route to the core switch, and generate a sixth routing table according to the tenth routing information, where the ninth routing information is used to generate a sixth routing table; and a thirteenth sending module, configured to calculate a sixth weight according to the sixth routing table, and send, to the seventh switch, traffic corresponding to the target network segment by the eighth switch according to the sixth weight.
According to yet another aspect of the embodiments of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program when executed by a processor performs the above weight-based private line gateway method.
According to yet another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory, and a processor, where the memory stores a computer program, and the processor is configured to execute the weight-based dedicated gateway method described above by the computer program.
In the embodiment of the invention, under the condition that a user accesses public cloud, a target network segment, a first private line access point and a second private line access point are acquired, wherein the first private line access point corresponds to a first switch, a first private line channel and a second private line channel, and the second private line access point corresponds to a second switch, a third private line channel and a fourth private line channel; acquiring a first route of the first switch and a second route of the second switch under the condition that the first private line channel, the second private line channel, the third private line channel and the fourth private line channel are normal; setting a weight attribute for the first switch to obtain first routing information, and setting the weight attribute for the second switch to obtain second routing information; the first route and the second route are sent to a core switch, and a first route table is generated according to the first route information and the second route information; according to the method, weight is generated by setting weight attributes for routes of the switches, and the flows are distributed according to the weight, so that the purpose of routing load of the weight is achieved, and the technical problems that redundant dedicated lines are deployed in a traditional scheme, and a large amount of dedicated line bandwidth is wasted are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a flow chart of an alternative weight-based private gateway method according to an embodiment of the present invention;
FIG. 2 is a first scheme flow diagram of an alternative weight-based dedicated gateway method in accordance with an embodiment of the present invention;
FIG. 3 is a second scheme flow diagram of an alternative weight-based private gateway method in accordance with an embodiment of the present invention;
FIG. 4 is a third scheme flow diagram of an alternative weight-based dedicated gateway method in accordance with an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an alternative weight-based private gateway apparatus according to an embodiment of the present invention;
fig. 6 is a schematic diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to a first aspect of an embodiment of the present invention, there is provided a weight-based private line gateway method, optionally, as shown in fig. 1, the method includes:
s102, under the condition that a user accesses public cloud, a target network segment, a first private line access point and a second private line access point are obtained, wherein the first private line access point corresponds to a first switch, a first private line channel and a second private line channel, the second private line access point corresponds to a second switch, a third private line channel and a fourth private line channel;
S104, under the condition that the first private line channel, the second private line channel, the third private line channel and the fourth private line channel are all normal, acquiring a first route of the first switch and a second route of the second switch;
s106, setting a weight attribute for the first switch to obtain first routing information, and setting a weight attribute for the second switch to obtain second routing information;
s108, the first route and the second route are sent to the core switch, and a first route table is generated according to the first route information and the second route information;
s110, calculating to obtain a first weight according to the first routing table, and sending traffic corresponding to the target network segment to the first switch and the second switch according to the first weight.
Optionally, in this embodiment, the public cloud is a cloud that can be used and provided by a third party provider for a user, and the core attribute is a shared resource service. Network segments (network segments) generally refer to the portion of a computer network that can communicate directly using the same physical layer devices (transmission media, repeaters, hubs, etc.). For example, a network segment is between 192.168.0.1 and 192.168.255.255. A private access point, also called an access point, is located outside the edge of the network and is an access point that accesses the inside of the network. A switch is a piece of network hardware that receives and forwards data to a target device through a message exchange. The special line channel provides special links with various rates for users, is directly connected with the Internet data center, and realizes convenient and quick Internet surfing service. One private line access point may correspond to one or more switches, and one switch may correspond to one or more private line channels. The weight attribute is the sum of all route next hop network interface rates, in Mbyte.
Optionally, in this embodiment, the user connects public cloud through a private line to implement 30G total bandwidth private line access, and the target network segment for planning use may be 10.10.0.0/16, and two private line access points are accessed in total, which are a first private line access point and a second private line access point, where the first private line access point is connected to a first switch and two private line channels, which are a first private line channel and a second private line channel, and the second private line access point is connected to a second switch and two private line channels, which are a third private line channel and a fourth private line channel, respectively. Under the condition that all special line channels are normal, obtaining routes of two switches, namely a first route (10.10.0.0/16. First special line channel. 10G1/0/1. Second special line channel. 10G 1/0/2) and a second route (10.10.0.0/16. Third special line channel. 10G1/0/1. Fourth special line channel. 10G 1/0/2), setting a weight attribute for the first switch, namely 10240G (Mbyte), obtaining first route information (10.10.0.0/16. First switch. 20480 (Mbyte)), setting a weight attribute for the second switch, obtaining second route information (10.10.0.0/16. Second switch. 20480 (Mbyte)), sending the first route and the second route to a core switch, and generating a first routing table (10.10.0.0/16. First switch. 20480 (Mbyte). Second switch. 20480 (Mbyte)) according to the first routing information and the second routing information, calculating to obtain a first weight of 20480:20480=1:1 according to two weight attributes in the first routing table, distributing total broadband 30G=30720 (Mbyte) to two switches by 1:1, receiving 30720/2=15360 (Mbyte) by one switch, sending 15360 (Mbyte) traffic corresponding to a target network segment to the first switch according to the first weight of 1:1, and sending 15360 (Mbyte) traffic corresponding to the target network segment to the second switch.
Optionally, in this embodiment, by setting a weight attribute for a route of the switch, generating a weight, and distributing traffic according to the weight, a purpose of a routing load of the weight is achieved, and further a technical problem that a large amount of dedicated bandwidth is wasted due to a redundant dedicated line deployed in a traditional scheme is solved.
As an optional example, calculating the first weight according to the first routing table, and sending the traffic corresponding to the target network segment to the first switch and the second switch according to the first weight includes:
acquiring the flow corresponding to the target network segment;
acquiring a first weight attribute corresponding to a first switch and a second weight attribute corresponding to a second switch in a first routing table;
calculating according to the first weight attribute and the second weight attribute to obtain a first weight;
and sending the traffic to the first switch and the second switch according to the first weight.
Optionally, in this embodiment, the corresponding traffic of the target network segment 10.10.0.0/16 is obtained, a first weight attribute 20480 (Mbyte) corresponding to the first switch and a second weight attribute 20480 (Mbyte) corresponding to the second switch in the first routing table (10.10.0.0/16. First switch. 20480 (Mbyte)) are obtained, a first weight 20480:20480=1:1 is calculated according to the first weight attribute and the second weight attribute, and 15360 (Mbyte) traffic is sent to the first switch and the second switch according to the first weight 1:1.
As an alternative example, the method further includes:
acquiring a third route of the first switch and a second route of the second switch under the condition that the first private line channel, the third private line channel and the fourth private line channel are normal and the second private line channel is abnormal;
setting a weight attribute for the first switch to obtain third routing information, and setting a weight attribute for the second switch to obtain second routing information;
transmitting the third route and the second route to the core switch, and generating a second route table according to the third route information and the second route information;
and calculating according to the second routing table to obtain a second weight, and sending the traffic corresponding to the target network segment to the first switch and the second switch according to the second weight.
Optionally, in this embodiment, when any one of the four private channels is abnormal, for example, the second private channel is abnormal, and when the first private channel, the third private channel, and the fourth private channel are all normal, routes of two switches are acquired, where the routes are respectively a third route (10.10.0.0/16. First private channel.10G 1/0/1) and a second route (10.10.0.0/16. Third private channel.10G 1/0/1. Fourth private channel.10G 1/0/2), weight attributes are set for the first switch to obtain third route information (10.10.0.0/16. First switch.10240 (Mbyte)), and weight attributes are set for the second switch to obtain second route information (10.10.0.0/16. Second switch) 20480 (Mbyte), the third route and the second route are sent to the core switch, a second route table (10.10.0.0/16. First switch. 10240 (Mbyte). Second switch. 20480 (Mbyte)) is generated according to the third route information and the second route information, the second weight is calculated according to two weight attributes in the second route table to be 10240:20480=1:2, when the total broadband 30 G=30720 (Mbyte) is distributed to two switches by 1:1, one switch receives 30720/2=15360 (Mbyte) and the load of the first switch is exceeded, but after the total broadband 30 G=30720/2=15360 (Mbyte) is distributed to two switches by 1:2, the first switch receives 10240 (Mbyte), the second switch receives 20480 (Mbyte) and the load of the two switches is not exceeded, and the core switch sends the traffic corresponding to the target network segment to the first switch and the second switch according to the second weight 1:2.
As an optional example, calculating a second weight according to the second routing table, and sending the traffic corresponding to the target network segment to the first private access point and the second private access point according to the second weight includes:
acquiring the flow corresponding to the target network segment;
acquiring a third weight attribute corresponding to the first switch and a second weight attribute corresponding to the second switch in a second routing table;
calculating according to the third weight attribute and the second weight attribute to obtain a second weight;
and sending the traffic to the first switch and the second switch according to the second weight.
Optionally, in this embodiment, the corresponding traffic of the target network segment 10.10.0.0/16 is obtained, a third weight attribute 10240 (Mbyte) corresponding to the first switch and a second weight attribute 20480 (Mbyte) corresponding to the second switch in the second routing table (10.10.0.0/16. First switch. 10240 (Mbyte). Second switch. 20480 (Mbyte)) are obtained, a second weight 10240:20480=1:2 is calculated according to the third weight attribute and the second weight attribute, and the traffic is sent to the first switch and the second switch according to the second weight 1:2.
As an alternative example, the method further includes:
under the condition that a user accesses public cloud, a target network segment, a third private line access point and a fourth private line access point are obtained, wherein the third private line access point corresponds to a third switch, a fourth switch, a fifth private line channel and a sixth private line channel, and the fourth private line access point corresponds to the fifth switch, the sixth switch, a seventh private line channel and an eighth private line channel;
Under the condition that the fifth private line channel, the sixth private line channel, the seventh private line channel and the eighth private line channel are normal, acquiring a fourth route of the third switch, a fifth route of the fourth switch, a sixth route of the fifth switch and a seventh route of the sixth switch;
setting a weight attribute for the third switch to obtain fourth routing information, setting a weight attribute for the fourth switch to obtain fifth routing information, setting a weight attribute for the fifth switch to obtain sixth routing information, and setting a weight attribute for the sixth switch to obtain seventh routing information;
transmitting the fourth route, the fifth route and the sixth route to the core switch, and generating a third route table according to the fourth route information, the fifth route information and the sixth route information;
and calculating according to the third routing table to obtain a third weight, and sending the traffic corresponding to the target network segment to a third switch, a fourth switch, a fifth switch and a sixth switch according to the third weight.
Optionally, in this embodiment, the user connects the public cloud through a private line, and the target network segment for planning use may be 10.10.0.0/16, and two private line access points are accessed in total, which are a third private line access point and a fourth private line access point respectively, where the third private line access point is connected to two switches and two private line channels, and the first private line access point corresponds to the third switch, the fourth switch, the fifth private line channel and the sixth private line channel. The fourth private line access point is connected with two switches and two private line channels, namely a fifth switch, a sixth switch, a seventh private line channel and an eighth private line channel. Under the condition that four special line channels are shared and all special line channels are normal, obtaining routes of a fourth switch, setting weight attributes for the third switch to obtain fourth route information (10.10.0.0/16. Fifth special line channel 10G 1/0/1), setting weight attributes for the fourth switch, obtaining fifth route information (10.10.0/16. Sixth special line channel 10G 1/0/1), setting weight for the sixth route (10.10.0/16. Seventh special line channel 10G 1/0/1), obtaining sixth route information (10.10.0/16. Eighth special line channel 10G 1/1), setting weight attributes for the fifth switch, obtaining fifth route information (10.10.0/16. Third switch 10240 (Mb), obtaining fifth route information (10.10.0/16. Fourth switch), obtaining fifth route information (10.10.0/16. Mb) and generating the fifth route information (10.40), and generating the fifth route information (10.10.0/16. Mb) and the fifth route information (10240), and the fifth route information (10.10.10.0/16. Third switch) and the sixth route information (Mb) according to the fifth route information (10240). The third weight is 10240 according to the four weight attributes in the third routing table: 10240: 10240:10240=1:1: 1:1, at which time the total wideband 30g=30720 (Mbyte) is 1:1:1:1 to four switches, one switch receives 30720/4=7680 (Mbyte), none exceeds the load of four switches, the core switches according to a third weight 1:1: and 1:1, sending the traffic corresponding to the target network segment to a third switch, a fourth switch, a fifth switch and a sixth switch.
As an alternative example, the method further includes:
acquiring a fourth route of the third switch, a sixth route of the fifth switch and a seventh route of the sixth switch under the condition that the fifth dedicated line channel, the seventh dedicated line channel and the eighth dedicated line channel are normal and the sixth dedicated line channel is abnormal;
setting a weight attribute for the third switch to obtain fourth routing information, setting a weight attribute for the fifth switch to obtain sixth routing information, and setting a weight attribute for the sixth switch to obtain seventh routing information;
transmitting the fourth route, the sixth route and the seventh route to the core switch, and generating a fourth route table according to the fourth route information and the sixth route information;
and calculating according to the fourth routing table to obtain a fourth weight, and sending the traffic corresponding to the target network segment to the third switch, the fifth switch and the sixth switch according to the fourth weight.
Optionally, in this embodiment, in the case where any one of the fourth dedicated line channels is abnormal, for example, in the case where the sixth dedicated line channel is abnormal, the fifth dedicated line channel, the seventh dedicated line channel, and the eighth dedicated line channel are all normal, the routes of the fourth switch are obtained, respectively, the fourth route (10.10.0.0/16. Fifth dedicated line channel. 10G 1/0/1), the sixth route (10.10.0.0/16. Seventh dedicated line channel. 10G 1/0/1)), the seventh route (10.10.0.0/16. Eighth dedicated line channel. 10G 1/0/1), the third switch is set with weight attributes to obtain fourth route information (10.10.0.0/16. Third switch. 10240 (Mbyte)), the fifth switch is set with weight attributes to obtain sixth route information (10.10.0.0/16. Fifth switch. 10240), the seventh route information is set with weight attributes to the fifth switch (10.10.0.0/16. 10240), and the fourth route information (10.40.40) is calculated according to the weight attributes of the fourth route (10.10.0.0/16. Third switch, the fourth route information is obtained by the fourth route information (10.0.0/40. 10240), and the fourth route information is calculated according to the fourth route information (fourth route information is obtained by the fourth route information) and the fourth route information is obtained by the fourth route information (fourth route information). 10240:10240 =1:1: 1, where the total bandwidth 30 g=30720 (Mbyte) is 1:1:1 to three switches, one switch receives 30720/3=10240 (Mbyte), none exceeds the load of three switches, the core switches according to a fourth weight 1:1: and 1, sending the traffic corresponding to the target network segment to a third switch, a fifth switch and a sixth switch.
As an alternative example, the method further includes:
the fourth switch sends a rerouting withdrawal message to the core switch;
the core switch drops the fifth route of the fourth switch.
Optionally, in this embodiment, in a case where the fourth switch is abnormal, the fourth switch sends a rerouting withdrawal message to the core switch, and the core switch withdraws the fifth route of the fourth switch.
As an alternative example, the method further includes:
under the condition that a user accesses public cloud, a target network segment, a fifth special line access point and a sixth special line access point are obtained, wherein the fifth special line access point corresponds to a seventh switch, a ninth special line channel, a tenth special line channel, an eleventh special line channel and the sixth special line access point corresponds to an eighth switch, a twelfth special line channel, a thirteenth special line channel and a fourteenth special line channel;
acquiring an eighth route of the seventh switch and a ninth route of the eighth switch under the condition that a ninth dedicated line channel, an eleventh dedicated line channel, a twelfth dedicated line channel, a thirteenth dedicated line channel and a fourteenth dedicated line channel are all normal and the tenth dedicated line channel is abnormal;
setting a weight attribute for the seventh switch to obtain eighth routing information, and setting the weight attribute for the eighth switch to obtain ninth routing information;
Transmitting the eighth route and the ninth route to the core switch, and generating a fifth route table according to the eighth route information and the ninth route information;
and calculating according to the fifth routing table to obtain a fifth weight, and sending the flow corresponding to the target network segment to the seventh switch according to the fifth weight.
Optionally, in this embodiment, the user connects the public cloud through a private line, and the target network segment for planning use may be 10.10.0.0/16, and two private line access points are accessed in total, which are a fifth private line access point and a sixth private line access point, where the fifth private line access point is connected to a seventh switch and three private line channels of the switch, a ninth private line channel, a tenth private line channel, and an eleventh private line channel. The sixth special line access point is connected with an eighth switch and three special line channels, a twelfth special line channel, a thirteenth special line channel and a fourteenth special line channel. When any special line channel in the six special line channels is abnormal, for example, when the tenth special line channel is abnormal, the eleventh special line channel, the twelfth special line channel, the thirteenth special line channel and the fourteenth special line channel are both normal, the routes of the two switches are obtained, the routes are respectively eighth routes (10.10.0/16. Ninth special line channel, 10G1/0/1. Eleventh special line channel, 10G 1/0/2), the ninth routes (10.10.0.0/16. Twelfth special line channel, 10G1/0/1. Thirteenth special line channel, 10G1/0/2. Fourteenth special line channel, 10G 1/0/3), weight attributes are set for the seventh switches, eighth route information (10.10.0.0/16. Seventh switches, 80 (Mbyte)) is obtained, weight attributes are set for the eighth routes (10.10.10.0.0/16. Eleventh special line channel, 10G 1/0/2), the ninth routes (10.10.0.0/720) are obtained, and the route table (8.720) is obtained by calculating the weight attributes for the eighth routes according to the eighth route information (10.2040.0/720) of the eighth routes, and the core information can be obtained according to the weight attributes of the eighth routes (10.2040.0/720): 30720 When total broadband 30g=30720 (Mbyte) is distributed to two switches in 1:1, one switch receives 30720/2=15360 (Mbyte) and no load exceeds two switches, when total broadband 30g=30720/2=15360 (Mbyte) is distributed to two switches in 2:3, the seventh switch receives 12288 (Mbyte), the eighth switch receives 18432 (Mbyte) and no load exceeds two switches, the core switch can send traffic corresponding to a target network segment to the seventh switch according to a fifth weight of 1:1, and the eighth switch can also send traffic corresponding to the target network segment to the seventh switch according to 2:3.
As an alternative example, the method further includes:
acquiring a tenth route of a seventh switch and a ninth route of the eighth switch under the condition that an eleventh special line channel, a twelfth special line channel, a thirteenth special line channel, a fourteenth special line channel are all normal and a ninth special line channel and a tenth special line channel are abnormal;
setting a weight attribute for a seventh switch to obtain tenth routing information, and setting a weight attribute for an eighth switch to obtain ninth routing information;
transmitting the tenth route and the ninth route to the core switch, and generating a sixth route table according to the tenth route information and the ninth route information;
and calculating according to the sixth routing table to obtain a sixth weight, and sending the flow corresponding to the target network segment to the seventh switch according to the sixth weight.
Optionally, in this embodiment, in the case that any two dedicated channels in the sixth dedicated channel are abnormal, for example, the ninth dedicated channel, the tenth dedicated channel, the eleventh dedicated channel, the twelfth dedicated channel, and the thirteenth dedicated channel are abnormal, in the case that the fourteenth dedicated channel is both normal, routes of the two switches are obtained, respectively, the tenth route (10.10.0.0/16. Eleventh dedicated channel. 10G 1/0/1), the ninth route (10.10.0.0/16. Twelfth dedicated channel. 10G1/0/1. Thirteenth dedicated channel. 10G1/0/2. Fourteenth dedicated channel. 10G 1/0/3), weight attributes are set for the seventh switch to obtain tenth route information (10.10.0.0/16. Seventh switch 10240 (mbe)), weight attributes are set for the eighth switch to obtain ninth route information (10.10.0.0/16. Eleventh switch 102720)), the eighth route information (10.10.0/0) is obtained, and the eighth route information (eighth switch) is calculated according to the weight attributes of the eighth route (10.10.0/40) and the eighth route information is calculated according to the weight attributes of the eighth route (10240) of the eighth switch, the eighth route information is obtained according to the eighth route table (10240): 30720 When total broadband 30g=30720 (Mbyte) is distributed to two switches in 1:1, one switch receives 30720/2=15360 (Mbyte) and exceeds the load of the seventh switch, when total broadband 30g=30720 (Mbyte) is distributed to two switches in 1:3, the seventh switch receives 7680 (Mbyte) and the eighth switch receives 23040 (Mbyte) and does not exceed the load of the two switches, and the core switch sends traffic corresponding to the target network segment to the seventh switch according to the seventh weight of 1:3.
Optionally, the embodiment of the invention provides a special line gateway method based on weight, which comprises the following three improvements:
1. and adding weight attribute for the route when the route of the switch issues the flow.
Weight attribute: is the sum of all the route next hop network interface rates, in Mbyte.
For example, in the example where the first switch initially publishes the routing information, the added weight attribute is 10g+10g=20480 mbytes.
When the first dedicated channel of the first switch is abnormal, the first switch reissues the route, and the weight attribute is 10g=10240 Mbyte.
2. The CORE switch receives the route carrying the weight attribute and generates the weight route.
And in the non-ECMP equivalent route and the weight route, generating a weight next hop according to the weight value carried by each next hop. For example, when the first dedicated channel of the first switch is abnormal, the weight next hop generated by the CORE switch is:
10.10.0.0/16 next hop first switch (1)
Second exchanger (2)
3. After the CORE exchanger hits the weight routing table, the flow distribution is carried out according to the weight proportion.
After the CORE switch hits the route issued by IDC by 10.10.0.0/16, the traffic distribution is performed according to the weight of the next hop. Realize the flow to the first exchanger: the traffic ratio of the second switch is 1:2.
As shown in fig. 2, a simplified private line access environment:
the top is the customer's IDC (private data center), and the network segment planned to be used is 10.10.0.0/16. The clients access public cloud through private lines, and access two POP private line access points which are a first private line access point and a second private line access point respectively. Each POP private line access point is provided with two 10G private line channels, namely a first private line channel, a second private line channel, a third private line channel and a fourth private line channel. Customers want to realize 30G total bandwidth line access, open IDC (private data center) and public cloud. The IDC side publishes IDC network segment 10.10.0.0/16 through a routing protocol, and EPC is a 4G core network. AZ is an available area of a territory. Physically generally refers to a machine room. AZ-Core refers to a Core switch within AZ. Like a switching core switch of a machine room. TOR is a wiring way of a machine room cabinet. An access switch is placed at the top of the server cabinet. Providing access service for the server.
A. Under the condition that all four special line channels are normal:
at this time, the first switch and the second switch have the following routes:
the first switch route is as follows:
Destination/Mask NextHop Interface
10.10.0.0/16 first dedicated channel 10G1/0/1
Second dedicated line channel 10G1/0/2
The second switch route is as follows:
Destination/Mask NextHop Interface
10.10.0.0/16 third dedicated line channel 10G1/0/1
Fourth dedicated line channel 10G1/0/2
And adding weight attributes to the first switch and the second switch to obtain first routing information and second routing information.
First routing information:
Destination/Mask NextHop Weight
10.10.0.0/16 first switch 20480 (Mbyte)
Second routing information:
Destination/Mask NextHop Weight
10.10.0.0/16 second switch 20480 (Mbyte)
And generating a first routing table according to the first routing information and the second routing information.
The first routing table is as follows:
Destination/Mask NextHop Weight
10.10.0.0/16 first switch 20480 (Mbyte)
Second switch 20480 (Mbyte)
At this time, when forwarding traffic of access IDC network segment 10.10.0.0/16, the CORE switch forwards traffic to the two switches according to the weight 1:1 respectively. The access requirement of the client 30G private line can be met.
B. Any one of the four dedicated channels is abnormal (the second dedicated channel is abnormal)
The first switch route is as follows:
Destination/Mask NextHop Interface
10.10.0.0/16 first dedicated channel 10G1/0/1
The second switch route is as follows:
Destination/Mask NextHop Interface
10.10.0.0/16 third dedicated line channel 10G1/0/1
Fourth dedicated line channel 10G1/0/2
At this time, according to the improvement, the first switch needs to send a fault message to notify the CORE switch that the routing weight of the first switch is changed.
And adding weight attributes to the first switch and the second switch to obtain third routing information and second routing information.
Third routing information:
Destination/Mask NextHop Weight
10.10.0.0/16 first switch 10240 (Mbyte)
Second routing information:
Destination/Mask NextHop Weight
10.10.0.0/16 second switch 20480 (Mbyte)
And generating a second routing table according to the third routing information and the second routing information.
The second routing table is as follows:
Destination/Mask NextHop Weight
10.10.0.0/16 first switch 10240 (Mbyte)
Second switch 20480 (Mbyte)
At this time, when forwarding traffic of access IDC network segment 10.10.0.0/16, the CORE switch forwards traffic to the two switches according to the weight 1:2. The access requirement of the client 30G private line can be met.
At the moment, the fault message of the second dedicated line channel is received through the monitoring alarm platform, and the fault is checked and repaired.
As shown in fig. 3, 4 switches, namely a third switch, a fourth switch, a fifth switch and a sixth switch, are deployed on a POP private line access point. The third switch and the fourth switch belong to a third private line access point of POP 1. The fifth exchanger and the sixth exchanger belong to a POP2 fourth private line access point. The four special line channels, the fifth special line channel, the sixth special line channel, the seventh special line channel and the eighth special line channel are respectively connected to the four switches.
A. Four special line channels are all normal:
the third switch route is as follows:
Destination/Mask NextHop Interface
10.10.0.0/16 fifth dedicated line channel 10G1/0/1
The fourth switch route is as follows:
Destination/Mask NextHop Interface
10.10.0.0/16 sixth dedicated channel 10G1/0/1
The fifth switch route is as follows:
Destination/Mask NextHop Interface
10.10.0.0/16 sixth dedicated channel 10G1/0/1
The sixth switch route is as follows:
Destination/Mask NextHop Interface
10.10.0.0/16 seventh dedicated channel 10G1/0/1
The four switches issue routes to the CORE switch respectively, and the CORE device generates a third routing table as follows.
Third routing table:
Destination/Mask NextHop
10.10.0.0/16 third switch
Fourth switch
Fifth exchanger
Sixth switch
At this time, when the CORE forwards the traffic of the access IDC network segment 10.10.0.0/16, the CORE forwards the traffic to the four switches according to the weight of 1:1:1:1. The access requirement of the client 30G private line is met.
B. Under the condition that any one of the four private line channels is abnormal (the sixth private line channel is abnormal), the third switch, the fourth switch and the fifth switch are provided with the following routes:
the third switch route is as follows:
Destination/Mask NextHop Interface
10.10.0.0/16 fifth dedicated line channel 10G1/0/1
The fourth switch route is as follows (there is no 10.10.0.0/16 route on the fourth switch because the sixth dedicated line channel is not normal). At this time, the fourth switch needs to issue a route withdrawal message to the CORE to withdraw the originally issued route.
The fifth switch route is as follows:
Destination/Mask NextHop Interface
10.10.0.0/16 seventh dedicated channel 10G1/0/1
The sixth switch route is as follows:
Destination/Mask NextHop Interface
10.10.0.0/16 eighth dedicated line channel 10G1/0/1
The four switches issue routes to the CORE respectively, and the CORE device generates a fourth routing table as follows:
Destination/Mask NextHop
10.10.0.0/16 third switch
Fourth switch
Fifth exchanger
At this time, when the CORE forwards the traffic of the access IDC network segment 10.10.0.0/16, the CORE forwards the traffic to the three switches according to the weight of 1:1:1. The access requirement of the client 30G private line is met.
As shown in fig. 4, the number of dedicated channels is increased on one switch, and 2 switches, namely a seventh switch and an eighth switch, are deployed on a POP dedicated access point. Corresponding to a ninth special line channel, a tenth special line channel, an eleventh special line channel, a twelfth special line channel, a thirteenth special line channel and a fourteenth special line channel, and respectively accessing the two switches. And configuring a monitoring function on the seventh switch and the eighth switch to monitor the condition that the uplink dedicated line channel is disconnected. If the number of dedicated channels of the upper line of a switch is less than 2, the route to 10.10.0.0/16 of the CORE is withdrawn.
A. Six special line channels are all normal:
at this time, the seventh switch, the eighth switch has the following routes:
the seventh switch route is as follows:
Destination/Mask NextHop Interface
10.10.0.0/16 ninth dedicated channel 10G1/0/1
Tenth private line channel 10G1/0/2
Eleventh private line channel 10G1/0/3
The eighth switch route is as follows:
Destination/Mask NextHop Interface
10.10.0.0/16 twelfth dedicated line channel 10G1/0/1
Thirteenth dedicated line channel 10G1/0/2
Fourteenth dedicated line channel 10G1/0/3
The two switches issue routes to the CORE respectively, and the CORE device generates a fifth routing table as follows:
Destination/Mask NextHop
10.10.0.0/16 seventh switch
Eighth switch
At this time, when the CORE forwards the traffic of the access IDC network segment 10.10.0.0/16, the CORE forwards the traffic to the two switches according to the weight of 1:1. The access requirement of the client 30G private line is met.
B. Under the condition that any one of the six special line channels is abnormal (the tenth special line channel is abnormal):
the seventh route is as follows:
Destination/Mask NextHop Interface
10.10.0.0/16 ninth dedicated channel 10G1/0/1
Eleventh private line channel 10G1/0/2
Because the monitoring function is configured, the number of the remaining dedicated channels is 2. The route to CORE is unchanged.
The eighth switch route is as follows:
Destination/Mask NextHop Interface
10.10.0.0/16 twelfth dedicated line channel 10G1/0/1
Thirteenth dedicated line channel 10G1/0/2
Fourteenth dedicated line channel 10G1/0/3
The two switches issue routes to the CORE respectively, and the CORE device generates a sixth routing table as follows:
Destination/Mask NextHop
10.10.0.0/16 seventh switch
Eighth switch
At this time, when the CORE forwards the traffic of the access IDC network segment 10.10.0.0/16, the CORE forwards the traffic to the two switches according to the weight of 1:1. Each exchanger bears the maximum 15G flow, and meets the access requirement of the client 30G private line.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present invention. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present invention.
According to another aspect of the embodiments of the present application, there is further provided a dedicated gateway device based on weight, as shown in fig. 5, including:
the first obtaining module 502 is configured to obtain, when a user accesses a public cloud, a target network segment, a first private line access point, and a second private line access point, where the first private line access point corresponds to a first switch, a first private line channel, and a second private line channel, and the second private line access point corresponds to a second switch, a third private line channel, and a fourth private line channel;
a second obtaining module 504, configured to obtain, when the first dedicated line channel, the second dedicated line channel, the third dedicated line channel, and the fourth dedicated line channel are all normal, a first route of the first switch and a second route of the second switch;
a first setting module 506, configured to set a weight attribute for a first switch to obtain first routing information, and set a weight attribute for a second switch to obtain second routing information;
a first sending module 508, configured to send the first route and the second route to the core switch, and generate a first routing table according to the first route information and the second route information;
the second sending module 510 is configured to calculate a first weight according to the first routing table, and send traffic corresponding to the target network segment to the first switch and the second switch according to the first weight.
Optionally, in this embodiment, the user connects public cloud through a private line to implement 30G total bandwidth private line access, and the target network segment for planning use may be 10.10.0.0/16, and two private line access points are accessed in total, which are a first private line access point and a second private line access point, where the first private line access point is connected to a first switch and two private line channels, which are a first private line channel and a second private line channel, and the second private line access point is connected to a second switch and two private line channels, which are a third private line channel and a fourth private line channel, respectively. Under the condition that all the special line channels are normal, the routes of two switches are acquired, namely a first route and a second route, weight attributes are set for the first switch, 10G is 10240 (Mbyte), first route information is obtained, weight attributes are set for the second switch, second route information is obtained, the first route and the second route are sent to a core switch, a first route table is generated according to the first route information and the second route information, the first weight can be calculated according to the two weight attributes in the first route table, traffic corresponding to a target network segment is sent to the first switch according to the first weight, and traffic corresponding to the target network segment is sent to the second switch.
As an alternative example, the second transmitting module includes:
the first acquisition unit is used for acquiring the flow corresponding to the target network segment;
the second acquisition unit is used for acquiring a first weight attribute corresponding to the first switch and a second weight attribute corresponding to the second switch in the first routing table;
the first calculation unit is used for calculating to obtain a first weight according to the first weight attribute and the second weight attribute;
and the first sending unit is used for sending the traffic to the first switch and the second switch according to the first weight.
Optionally, in this embodiment, the corresponding traffic of the target network segment is obtained, a first weight attribute corresponding to the first switch and a second weight attribute corresponding to the second switch in the first routing table are obtained, the first weight is obtained by calculating according to the first weight attribute and the second weight attribute, and the traffic is sent to the first switch and the second switch according to the first weight.
As an alternative example, the above apparatus further includes:
the third acquisition module is used for acquiring a third route of the first switch and a second route of the second switch under the condition that the first private line channel, the third private line channel and the fourth private line channel are all normal and the second private line channel is abnormal;
The second setting module is used for setting a weight attribute for the first switch to obtain third routing information, and setting the weight attribute for the second switch to obtain second routing information;
the third sending module is used for sending the third route and the second route to the core switch and generating a second route table according to the third route information and the second route information;
and the fourth sending module is used for calculating a second weight according to the second routing table and sending the traffic corresponding to the target network segment to the first switch and the second switch according to the second weight.
Optionally, in this embodiment, when any one of the four dedicated channels is abnormal, for example, the second dedicated channel is abnormal, and when the first dedicated channel, the third dedicated channel, and the fourth dedicated channel are all normal, routes of two switches are obtained, that is, a third route and a second route, a weight attribute is set for the first switch, third route information is obtained, a weight attribute is set for the second switch, second route information is obtained, the third route and the second route are sent to the core switch, a second route table is generated according to the third route information and the second route information, a second weight can be obtained by calculation according to the two weight attributes in the second route table, and the core switch sends traffic corresponding to the target network segment to the first switch and the second switch according to the second weight.
As an alternative example, the fourth transmitting module includes:
the third acquisition unit is used for acquiring the flow corresponding to the target network segment;
a fourth obtaining unit, configured to obtain a third weight attribute corresponding to the first switch and a second weight attribute corresponding to the second switch in the second routing table;
the second calculation unit is used for calculating to obtain a second weight according to the third weight attribute and the second weight attribute;
and the second sending unit is used for sending the traffic to the first switch and the second switch according to the second weight.
Optionally, in this embodiment, the corresponding traffic of the target network segment is obtained, a third weight attribute corresponding to the first switch and a second weight attribute corresponding to the second switch in the second routing table are obtained, a second weight is calculated according to the third weight attribute and the second weight attribute, and the traffic is sent to the first switch and the second switch according to the second weight.
As an alternative example, the above apparatus further includes:
the fourth acquisition module is used for acquiring a target network segment, a third private line access point and a fourth private line access point under the condition that a user accesses public cloud, wherein the third private line access point corresponds to a third switch, a fourth switch, a fifth private line channel, a sixth private line channel, and the fourth private line access point corresponds to the fifth switch, the sixth switch, a seventh private line channel and an eighth private line channel;
A fifth obtaining module, configured to obtain, when the fifth dedicated line channel, the sixth dedicated line channel, the seventh dedicated line channel, and the eighth dedicated line channel are all normal, a fourth route of the third switch, a fifth route of the fourth switch, a sixth route of the fifth switch, and a seventh route of the sixth switch;
the third setting module is used for setting a weight attribute for the third switch to obtain fourth routing information, setting a weight attribute for the fourth switch to obtain fifth routing information, setting a weight attribute for the fifth switch to obtain sixth routing information, and setting a weight attribute for the sixth switch to obtain seventh routing information;
a fifth sending module, configured to send a fourth route, a fifth route, a sixth route, and a seventh route to the core switch, and generate a third routing table according to fourth route information, fifth route information, sixth route information, and seventh route information;
and the sixth sending module is used for calculating a third weight according to the third routing table, and sending the traffic corresponding to the target network segment to a third switch, a fourth switch, a fifth switch and a sixth switch according to the third weight.
Optionally, in this embodiment, the user connects the public cloud through a private line, and accesses two private line access points, namely a third private line access point and a fourth private line access point, where the third private line access point is connected with two switches and two private line channels, and the first private line access point corresponds to the third switch, the fourth switch, the fifth private line channel and the sixth private line channel. The fourth private line access point is connected with two switches and two private line channels, namely a fifth switch, a sixth switch, a seventh private line channel and an eighth private line channel. And under the condition that all the special line channels are normal, acquiring routes of four switches, namely fourth routes, fifth routes, sixth routes, seventh routes, setting weight attributes for a third switch to obtain fourth route information, setting weight attributes for the fourth switch to obtain fifth route information, setting weight attributes for the fifth switch to obtain sixth route information, setting weight attributes for the sixth switch to obtain seventh route information, transmitting the fourth routes, the fifth routes, the sixth routes and the seventh routes to a core switch, generating a third route table according to the fourth route information, the fifth route information, the sixth route information and the seventh route information, calculating to obtain third weight according to the four weight attributes in the third route table, and enabling the core switch to transmit the flow corresponding to the target network segment to the third switch, the fourth switch, the fifth switch and the sixth transmission target network segment according to the third weight.
As an alternative example, the above apparatus further includes:
a sixth obtaining module, configured to obtain, when the fifth dedicated line channel, the seventh dedicated line channel, and the eighth dedicated line channel are all normal and the sixth dedicated line channel is abnormal, a fourth route of the third switch, a sixth route of the fifth switch, and a seventh route of the sixth switch;
the fourth setting module is used for setting a weight attribute for the third switch to obtain fourth routing information, setting a weight attribute for the fifth switch to obtain sixth routing information, and setting a weight attribute for the sixth switch to obtain seventh routing information;
a seventh sending module, configured to send a fourth route, a sixth route, and a seventh route to the core switch, where the seventh route information generates a fourth routing table according to the fourth route information and the sixth route information;
and the eighth sending module is used for calculating a fourth weight according to the fourth routing table, and sending the traffic corresponding to the target network segment to the third switch, the fifth switch and the sixth switch according to the fourth weight.
Optionally, in this embodiment, when any one of the four dedicated line channels is abnormal, for example, the sixth dedicated line channel is abnormal, and routes of the fourth switch are obtained when the fifth dedicated line channel, the seventh dedicated line channel, and the eighth dedicated line channel are all normal, where the routes are respectively the fourth route, the sixth route, the seventh route, the third switch is set with a weight attribute to obtain fourth route information, the fifth switch is set with a weight attribute to obtain sixth route information, the sixth switch is set with a weight attribute to obtain seventh route information, the fourth route, the sixth route, and the seventh route are sent to the core switch, and a fourth route table is generated according to the fourth route information, the sixth route information, and the seventh route information, and the fourth weight can be calculated according to the three weight attributes in the fourth route table, and the core switch sends traffic corresponding to the third switch, the fifth switch, and the sixth switch sends traffic corresponding to the target network segment.
As an alternative example, the above apparatus further includes:
a ninth sending module, configured to send, by the fourth switch, a rerouting withdrawal message to the core switch;
and the revocation module is used for the core switch to revoke the fifth route of the fourth switch.
Optionally, in this embodiment, in a case where the fourth switch is abnormal, the fourth switch sends a rerouting withdrawal message to the core switch, and the core switch withdraws the fifth route of the fourth switch.
As an alternative example, the above apparatus further includes:
a seventh obtaining module, configured to obtain, when a user accesses the public cloud, a target network segment, a fifth private line access point, and a sixth private line access point, where the fifth private line access point corresponds to a seventh switch, a ninth private line channel, a tenth private line channel, an eleventh private line channel, and the sixth private line access point corresponds to an eighth switch, a twelfth private line channel, a thirteenth private line channel, and a fourteenth private line channel;
an eighth obtaining module, configured to obtain, in a case that the ninth dedicated line channel, the eleventh dedicated line channel, the twelfth dedicated line channel, the thirteenth dedicated line channel, and the fourteenth dedicated line channel are all normal, an eighth route of the seventh switch and a ninth route of the eighth switch are abnormal;
A fifth setting module, configured to set a weight attribute for the seventh switch to obtain eighth routing information, and set a weight attribute for the eighth switch to obtain ninth routing information;
a tenth sending module, configured to send an eighth route and a ninth route to the core switch, and generate a fifth routing table according to eighth route information and the ninth route information;
and the eleventh sending module is used for calculating a fifth weight according to the fifth routing table, and sending the flow corresponding to the target network segment to the seventh switch according to the fifth weight.
Optionally, in this embodiment, the user connects the public cloud through a private line, and accesses two private line access points, namely, a fifth private line access point and a sixth private line access point, where the fifth private line access point is connected to a seventh switch of the switch and three private line channels, a ninth private line channel, a tenth private line channel, and an eleventh private line channel. The sixth special line access point is connected with an eighth switch and three special line channels, a twelfth special line channel, a thirteenth special line channel and a fourteenth special line channel. And under the condition that any special line channel in the six special line channels is abnormal, for example, a tenth special line channel is abnormal, an eleventh special line channel, a twelfth special line channel, a thirteenth special line channel and a fourteenth special line channel are all normal, acquiring routes of two switches, namely eighth routes and ninth routes, setting weight attributes for the seventh switches to obtain eighth route information, setting weight attributes for the eighth switches to obtain ninth route information, transmitting the eighth routes and the ninth routes to a core switch, generating a fifth route table according to the eighth route information and the ninth route information, calculating to obtain fifth weights according to the two weight attributes in the fifth route table, and enabling the core switch to transmit traffic corresponding to a target network segment to the seventh switches according to the fifth weights.
As an alternative example, the above apparatus further includes:
a ninth obtaining module, configured to obtain, in a case that the eleventh dedicated line channel, the twelfth dedicated line channel, the thirteenth dedicated line channel, and the fourteenth dedicated line channel are all normal, the ninth dedicated line channel, and the tenth dedicated line channel is abnormal, a tenth route of the seventh switch, and a ninth route of the eighth switch;
a sixth setting module, configured to set a weight attribute for the seventh switch to obtain tenth routing information, and set a weight attribute for the eighth switch to obtain ninth routing information;
a twelfth transmitting module, configured to transmit a tenth route and a ninth route to the core switch, and generate a sixth routing table according to the tenth route information and the ninth route information;
and the thirteenth sending module is used for calculating a sixth weight according to the sixth routing table, and sending the flow corresponding to the target network segment to the seventh switch according to the sixth weight.
Optionally, in this embodiment, in a case that any two private line channels in the six private line channels are abnormal, for example, a ninth private line channel, a tenth private line channel are abnormal, an eleventh private line channel, a twelfth private line channel, and a thirteenth private line channel are abnormal, in a case that the fourteenth private line channel is normal, routes of the two switches are acquired, and are respectively tenth routes, a ninth route, a weight attribute is set for the seventh switch to obtain tenth route information, a weight attribute is set for the eighth switch to obtain ninth route information, the tenth route is sent to the core switch, a sixth route table is generated according to the tenth route information, a sixth weight can be calculated according to the two weight attributes in the sixth route table, and at this time, after the total bandwidth is distributed to the two switches according to the sixth weight, the load of the seventh switch and the eighth switch is not exceeded by the two switches.
For other examples of this embodiment, please refer to examples, and are not described herein.
Fig. 6 is a block diagram of an alternative electronic device, according to an embodiment of the present application, including a processor 602, a communication interface 604, a memory 606, and a communication bus 608, as shown in fig. 6, wherein the processor 602, the communication interface 604, and the memory 606 communicate with each other via the communication bus 608, wherein,
a memory 606 for storing a computer program;
the processor 602, when executing the computer program stored on the memory 606, performs the following steps:
under the condition that a user accesses public cloud, a target network segment, a first private line access point and a second private line access point are obtained, wherein the first private line access point corresponds to a first switch, a first private line channel and a second private line channel, the second private line access point corresponds to a second switch, a third private line channel and a fourth private line channel;
under the condition that the first private line channel, the second private line channel, the third private line channel and the fourth private line channel are normal, acquiring a first route of the first switch and a second route of the second switch;
setting a weight attribute for a first switch to obtain first routing information, and setting a weight attribute for a second switch to obtain second routing information;
The first route and the second route are sent to a core switch, and a first route table is generated according to the first route information and the second route information;
and calculating according to the first routing table to obtain a first weight, and sending the traffic corresponding to the target network segment to the first switch and the second switch according to the first weight.
Alternatively, in the present embodiment, the above-described communication bus may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus, or an EISA (Extended Industry Standard Architecture ) bus, or the like. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, only one thick line is shown in fig. 6, but not only one bus or one type of bus. The communication interface is used for communication between the electronic device and other devices.
The memory may include RAM or may include non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
As an example, the memory 606 may include, but is not limited to, the first acquiring module 502, the second acquiring module 504, the first setting module 506, the first transmitting module 508, and the second transmitting module 510 in the weight-based private line gateway device. In addition, other module units in the processing apparatus of the above request may be included, but are not limited to, and are not described in detail in this example.
The processor may be a general purpose processor and may include, but is not limited to: CPU (Central Processing Unit ), NP (Network Processor, network processor), etc.; but also DSP (Digital Signal Processing, digital signal processor), ASIC (Application Specific Integrated Circuit ), FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments, and this embodiment is not described herein.
It will be understood by those skilled in the art that the structure shown in fig. 6 is only schematic, and the device implementing the weight-based private gateway method may be a terminal device, and the terminal device may be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palm computer, a mobile internet device (Mobile Internet Devices, MID), a PAD, etc. Fig. 6 is not limited to the structure of the electronic device described above. For example, the electronic device may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 6, or have a different configuration than shown in FIG. 6.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a program for instructing a terminal device to execute in association with hardware, the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, ROM, RAM, magnetic or optical disk, etc.
According to yet another aspect of embodiments of the present invention, there is also provided a computer readable storage medium having a computer program stored therein, wherein the computer program when executed by a processor performs the steps in the above weight-based private line gateway method.
Alternatively, in this embodiment, it will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by a program for instructing a terminal device to execute the steps, where the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present invention may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the method described in the embodiments of the present invention.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (9)

1. The weight-based private line gateway method is characterized by comprising the following steps:
under the condition that a user accesses public cloud, a target network segment, a first private line access point and a second private line access point are obtained, wherein the first private line access point corresponds to a first switch, a first private line channel and a second private line channel, and the second private line access point corresponds to a second switch, a third private line channel and a fourth private line channel;
Under the condition that the first private line channel, the second private line channel, the third private line channel and the fourth private line channel are normal, acquiring a first route of the first switch and a second route of the second switch;
setting a weight attribute for the first switch to obtain first routing information, and setting the weight attribute for the second switch to obtain second routing information;
the first route and the second route are sent to a core switch, and a first route table is generated according to the first route information and the second route information;
calculating according to the first routing table to obtain a first weight, and sending the flow corresponding to the target network segment to the first switch and the second switch according to the first weight;
acquiring a third route of the first switch and the second route of the second switch under the condition that the first private line channel, the third private line channel and the fourth private line channel are normal and the second private line channel is abnormal; setting the weight attribute for the first switch to obtain third routing information, and setting the weight attribute for the second switch to obtain second routing information; transmitting the third route and the second route to the core switch, and generating a second route table according to the third route information and the second route information; and calculating according to the second routing table to obtain a second weight, and sending the traffic corresponding to the target network segment to the first switch and the second switch according to the second weight.
2. The method of claim 1, wherein the calculating the first weight according to the first routing table, and sending the traffic corresponding to the target network segment to the first switch and the second switch according to the first weight comprises:
acquiring the flow corresponding to the target network segment;
acquiring a first weight attribute corresponding to the first switch and a second weight attribute corresponding to the second switch in the first routing table;
calculating according to the first weight attribute and the second weight attribute to obtain the first weight;
and sending the traffic to the first switch and the second switch according to the first weight.
3. The method of claim 1, wherein the calculating the second weight according to the second routing table, and sending the traffic corresponding to the target network segment to the first private access point and the second private access point according to the second weight comprises:
acquiring the flow corresponding to the target network segment;
acquiring a third weight attribute corresponding to the first switch and the second weight attribute corresponding to the second switch in the second routing table;
Calculating to obtain the second weight according to the third weight attribute and the second weight attribute;
and sending the traffic to the first switch and the second switch according to the second weight.
4. The method according to claim 1, wherein the method further comprises:
under the condition that the user accesses public cloud, acquiring the target network segment, a third private line access point and a fourth private line access point, wherein the third private line access point corresponds to a third switch, a fourth switch, a fifth private line channel and a sixth private line channel, and the fourth private line access point corresponds to a fifth switch, a sixth switch, a seventh private line channel and an eighth private line channel;
acquiring a fourth route of the third switch, a fifth route of the fourth switch, a sixth route of the fifth switch and a seventh route of the sixth switch under the condition that the fifth dedicated line channel, the sixth dedicated line channel, the seventh dedicated line channel and the eighth dedicated line channel are all normal;
setting the weight attribute for the third switch to obtain fourth routing information, setting the weight attribute for the fourth switch to obtain fifth routing information, setting the weight attribute for the fifth switch to obtain sixth routing information, and setting the weight attribute for the sixth switch to obtain seventh routing information;
Transmitting the fourth route, the fifth route and the sixth route to the core switch, and generating a third routing table according to the fourth route information, the fifth route information and the sixth route information;
and calculating to obtain a third weight according to the third routing table, and sending the flow corresponding to the target network segment to the third switch, the fourth switch, the fifth switch and the sixth switch according to the third weight.
5. The method according to claim 4, wherein the method further comprises:
acquiring a fourth route of the third switch, a sixth route of the fifth switch and a seventh route of the sixth switch when the fifth dedicated line channel, the seventh dedicated line channel and the eighth dedicated line channel are all normal and the sixth dedicated line channel is abnormal;
setting the weight attribute for the third switch to obtain the fourth routing information, setting the weight attribute for the fifth switch to obtain the sixth routing information, and setting the weight attribute for the sixth switch to obtain the seventh routing information;
Transmitting the fourth route and the sixth route to the core switch, and generating a fourth routing table according to the fourth route information and the sixth route information;
and calculating to obtain a fourth weight according to the fourth routing table, and sending the flow corresponding to the target network segment to the third switch, the fifth switch and the sixth switch according to the fourth weight.
6. The method of claim 5, wherein the method further comprises:
the fourth switch sends a rerouting withdrawal message to the core switch;
the core switch withdraws the fifth route of the fourth switch.
7. The method according to claim 1, wherein the method further comprises:
under the condition that the user accesses public cloud, acquiring the target network segment, a fifth special line access point and a sixth special line access point, wherein the fifth special line access point corresponds to a seventh switch, a ninth special line channel, a tenth special line channel and an eleventh special line channel, and the sixth special line access point corresponds to an eighth switch, a twelfth special line channel, a thirteenth special line channel and a fourteenth special line channel;
Acquiring an eighth route of the seventh switch when the ninth dedicated line channel, the eleventh dedicated line channel, the twelfth dedicated line channel, the thirteenth dedicated line channel, the fourteenth dedicated line channel are all normal, and the tenth dedicated line channel is abnormal, and acquiring a ninth route of the eighth switch;
setting the weight attribute for the seventh switch to obtain eighth routing information, and setting the weight attribute for the eighth switch to obtain ninth routing information;
transmitting the eighth route to the core switch, and generating a fifth route table according to the eighth route information;
and calculating a fifth weight according to the fifth routing table, and sending the flow corresponding to the target network segment to the seventh switch according to the fifth weight by the eighth switch.
8. The method of claim 7, wherein the method further comprises:
acquiring a tenth route of the seventh switch and a ninth route of the eighth switch under the condition that the eleventh dedicated line channel, the twelfth dedicated line channel, the thirteenth dedicated line channel, the fourteenth dedicated line channel and the ninth dedicated line channel are all normal and the tenth dedicated line channel is abnormal;
Setting the weight attribute for the seventh switch to obtain tenth routing information, and setting the weight attribute for the eighth switch to obtain ninth routing information;
transmitting the tenth route to the core switch, and generating a sixth route table according to the tenth route information;
and calculating a sixth weight according to the sixth routing table, and sending the flow corresponding to the target network segment to the seventh switch according to the sixth weight by the eighth switch.
9. A weight-based private line gateway apparatus, comprising:
the first acquisition module is used for acquiring a target network segment, a first private line access point and a second private line access point under the condition that a user accesses public cloud, wherein the first private line access point corresponds to a first switch, a first private line channel and a second private line channel, and the second private line access point corresponds to a second switch, a third private line channel and a fourth private line channel;
the second acquisition module is used for acquiring a first route of the first switch and a second route of the second switch under the condition that the first private line channel, the second private line channel, the third private line channel and the fourth private line channel are normal;
The first setting module is used for setting a weight attribute for the first switch to obtain first routing information, and setting the weight attribute for the second switch to obtain second routing information;
the first sending module is used for sending the first route and the second route to a core switch and generating a first route table according to the first route information and the second route information;
the second sending module is used for obtaining a first weight according to the first routing table, and sending the flow corresponding to the target network segment to the first switch and the second switch according to the first weight;
acquiring a third route of the first switch and the second route of the second switch under the condition that the first private line channel, the third private line channel and the fourth private line channel are normal and the second private line channel is abnormal; setting the weight attribute for the first switch to obtain third routing information, and setting the weight attribute for the second switch to obtain second routing information; transmitting the third route and the second route to the core switch, and generating a second route table according to the third route information and the second route information; and calculating according to the second routing table to obtain a second weight, and sending the traffic corresponding to the target network segment to the first switch and the second switch according to the second weight.
CN202210956038.0A 2022-08-10 2022-08-10 Weight-based private line gateway method and device Active CN115442287B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210956038.0A CN115442287B (en) 2022-08-10 2022-08-10 Weight-based private line gateway method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210956038.0A CN115442287B (en) 2022-08-10 2022-08-10 Weight-based private line gateway method and device

Publications (2)

Publication Number Publication Date
CN115442287A CN115442287A (en) 2022-12-06
CN115442287B true CN115442287B (en) 2024-04-05

Family

ID=84242317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210956038.0A Active CN115442287B (en) 2022-08-10 2022-08-10 Weight-based private line gateway method and device

Country Status (1)

Country Link
CN (1) CN115442287B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107634912A (en) * 2016-07-19 2018-01-26 华为技术有限公司 Load-balancing method, device and equipment
CN108337184A (en) * 2018-01-11 2018-07-27 山石网科通信技术有限公司 Flow equalization dispatching method and device
CN113542080A (en) * 2021-07-13 2021-10-22 中国建设银行股份有限公司 Hybrid cloud-based external connection access method and hybrid cloud public external connection access system
CN113630314A (en) * 2020-05-09 2021-11-09 北京金山云网络技术有限公司 Disaster recovery method and device for hybrid cloud private line access network
CN113746734A (en) * 2021-07-30 2021-12-03 苏州浪潮智能科技有限公司 Flow forwarding method, device, equipment and medium
CN114070774A (en) * 2021-09-26 2022-02-18 新华三大数据技术有限公司 Data forwarding method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107634912A (en) * 2016-07-19 2018-01-26 华为技术有限公司 Load-balancing method, device and equipment
CN108337184A (en) * 2018-01-11 2018-07-27 山石网科通信技术有限公司 Flow equalization dispatching method and device
CN113630314A (en) * 2020-05-09 2021-11-09 北京金山云网络技术有限公司 Disaster recovery method and device for hybrid cloud private line access network
CN113542080A (en) * 2021-07-13 2021-10-22 中国建设银行股份有限公司 Hybrid cloud-based external connection access method and hybrid cloud public external connection access system
CN113746734A (en) * 2021-07-30 2021-12-03 苏州浪潮智能科技有限公司 Flow forwarding method, device, equipment and medium
CN114070774A (en) * 2021-09-26 2022-02-18 新华三大数据技术有限公司 Data forwarding method and system

Also Published As

Publication number Publication date
CN115442287A (en) 2022-12-06

Similar Documents

Publication Publication Date Title
JP6608545B2 (en) Service traffic distribution method and apparatus
CN107852604B (en) System for providing Global Virtual Network (GVN)
CN104113879B (en) It is deployed with cloud AC WiFi communication system and communication means
US9438496B2 (en) Monitoring link quality between network devices
CN102668472B (en) The method of the drive-type multicast service distribution in link aggregation group
CN110830538B (en) Message transmission method, device and storage medium
CN108810993A (en) Network is sliced selection method, equipment, UE, control plane functional entity and medium
CN111182022B (en) Data transmission method and device, storage medium and electronic device
CN109995839B (en) Load balancing method, system and load balancer
EP4029580A1 (en) Account access method and apparatus, storage medium, and electronic device
CN102420868B (en) The providing method of service, apparatus and system
CN111355649A (en) Flow reinjection method, device and system
CN106357542B (en) The method and software defined network controller of multicast service are provided
EP3066575B1 (en) Server network address selection based on network characteristics of service providers
EP3917084A1 (en) Network as service service cross-domain orchestration method, orchestration device, and control device
CN107710634B (en) Communication means and equipment based on optical network system
CN111083120B (en) Data transmission method and device, electronic equipment and storage medium
CN106533884B (en) A kind of message transmitting method, convergence device, interchanger and VRRP system
CN108377245A (en) A kind of optimizing demonstration method and system of network insertion request
CN115442287B (en) Weight-based private line gateway method and device
CN110380981B (en) Flow distribution method and equipment
CN106330492B (en) A kind of method, apparatus and system configuring user equipment forwarding table
CN111163499B (en) Access method, device, electronic equipment and storage medium
CN108512671A (en) A kind of outer layer multicast ip address distribution method and device
US11303563B2 (en) Network service selection device and network service selection method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant