CN108768723B - Service convergence method, device, medium and system - Google Patents

Service convergence method, device, medium and system Download PDF

Info

Publication number
CN108768723B
CN108768723B CN201810534711.5A CN201810534711A CN108768723B CN 108768723 B CN108768723 B CN 108768723B CN 201810534711 A CN201810534711 A CN 201810534711A CN 108768723 B CN108768723 B CN 108768723B
Authority
CN
China
Prior art keywords
routeras
bgp
port
attribute parameter
routing information
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
CN201810534711.5A
Other languages
Chinese (zh)
Other versions
CN108768723A (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 Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN201810534711.5A priority Critical patent/CN108768723B/en
Publication of CN108768723A publication Critical patent/CN108768723A/en
Application granted granted Critical
Publication of CN108768723B publication Critical patent/CN108768723B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures

Landscapes

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

Abstract

The present invention relates to the field of data communication networks, and in particular, to a method, device, medium, and system for service convergence. The forwarding server or the network device carries the corresponding BGP routing information by the first RouterAS extended community attribute parameter and sends the BGP routing information according to a set period, so that the data transmission status of each flow path is globally notified, and the monitoring server can determine the corresponding second BGP routing information for the request data packet according to the second BGP routing information. The monitoring server may further set a second RouterAS extended community attribute parameter, and send the second BGP Update message to the corresponding forwarding server or network device, so that the monitoring server may continue forwarding according to the second RouterAS extended community attribute parameter. The network equipment is not required to delete the route and carry out the route convergence again, and the service route convergence speed is improved.

Description

Service convergence method, device, medium and system
Technical Field
The present invention relates to the field of Data Communication Networks (DCNs), and in particular, to a method, device, medium, and system for service convergence.
Background
At present, with the continuous development and scale expansion of data communication networks, the internal basic network is basically constructed by using an External Border Gateway Protocol (EBGP) hierarchical network. With the development of internet technology, especially online shopping and online payment, the requirements of users on the transmission rate of the network and the user experience are higher and higher. In the original EBGP technical architecture, the user data has phenomena of long geographical location distance, different operators belonging to different locations, damaged lines, interrupted lines, and the like under cross-device and cross-region conditions. Therefore, the user online experience is influenced, the operation and maintenance cost is increased, and even other unpredictable losses are brought.
As shown in fig. 1, a layered networking model using EBGP is provided, which may include four layers of network device layers (a server layer is adjacent to an ASW layer, not shown in the drawing), a MAN-CORE layer (the included network devices may be represented by MAN), a DSW layer (the included network devices may be represented by DSW1 and DSW 2), a PSW layer (the included network devices may be represented by PSW1 and PSW 2), and an ASW layer (the included network devices may be represented by ASW1 and ASW 2). The network devices of each layer belong to different Autonomous Systems (AS), which may be denoted AS 65001, AS65002, AS65003, and AS65004, and open the EBGP ECMP function. Wherein, there is no horizontal path between the network devices in the same layer, there is a link between MAN-CORE layer and DSW layer, there are 8 links between DSW layer and PSW layer, there are 4 links between PSW layer and ASW layer, the number of EBGP sessions between network devices is consistent with the number of links. This ensures that two network devices are used in part of the hierarchy to implement traffic offload and device redundancy protection (actually, each hierarchy may be defined differently, and the number of each hierarchy may be greater than two). Wherein, the network device between two adjacent layers configures EBGP neighbors to realize route learning.
As shown in fig. 2, when the link between the MAN and the DSW1 is disconnected, the DSW1 senses that the link is disconnected, the corresponding EBGP session is closed (Down), and the DSW1 advertises, through the BGP protocol, the PSW1 and the PSW2 to perform route deletion and re-perform route convergence, where the convergence time is proportional to the number of routes (including the number of route prefixes and the number of next hops of the routes).
In the current scheme, the convergence speed of the service route is slow. For example, after the link between MAN and DSW1 is disconnected as shown in fig. 2, the convergence time is about 80 seconds in the case of 20K routing prefix. Moreover, if the network devices belong to different manufacturers, service convergence cannot be achieved, and the problem of network device compatibility cannot be solved. Meanwhile, under the framework of the prior art, a flow guiding route needs to be configured for the network equipment, and a plurality of network equipment are involved, so that the operation is complex and the configuration is complex. In addition, the current scheme only relates to the switching among network devices, and the end-to-end full-path lossless switching from the server to the network devices cannot be realized.
Disclosure of Invention
The embodiment of the invention provides a service convergence method, equipment, a medium and a system, which are used for improving the service route convergence speed.
A service convergence method is applied to a monitoring server, and the method comprises the following steps:
receiving a request data packet through a designated monitoring port, wherein the request data packet carries an original route identity identification RouterID address and an original destination port;
updating a first router autonomous system (Router AS) extended community attribute parameter of a BGP extended protocol carried in a BGP Update message according to the original RouteR ID address, the original destination port and the received first border gateway protocol, and determining second BGP routing information corresponding to the request data packet, wherein the first Router AS extended community attribute parameter is set according to first BGP routing information corresponding to a forwarding server or network equipment connected with the monitoring server, and the first BGP Update message is sent by the forwarding server or network equipment connected with the monitoring server according to a set period;
setting a second RouterAS extended community attribute parameter according to the second BGP routing information;
and sending the second RouterAS extended community attribute parameter and the request data packet to a forwarding server or network equipment corresponding to the second BGP routing information through a second BGP update message.
A service convergence method is applied to a forwarding server and network equipment, and comprises the following steps:
sending a first RouterAS extended community attribute parameter of a BGP extended protocol to a monitoring server, a forwarding server and network equipment which are interconnected through a first BGP Update message according to a set period, wherein the first RouterAS extended community attribute parameter is set according to first BGP routing information corresponding to the first Router AS extended community attribute parameter; and the number of the first and second groups,
receiving a second BGP Update message, wherein the second BGP Update message carries a request data packet and a second RouterAS extended community attribute parameter, and the second RouterAS extended community attribute parameter is set according to second BGP routing information corresponding to the request data packet;
and forwarding the second BGP Update message to a forwarding server or network equipment corresponding to the second BGP routing information according to the second RouterAS extended community attribute parameter.
A listening server, the listening server comprising:
the monitoring module is used for receiving a request data packet through a specified monitoring port, wherein the request data packet carries an original route identity identification RouterID address and an original destination port;
a determining module, configured to Update, according to the original router id address, the original destination port, and a received first border gateway protocol, a first router autonomous system router as extended community attribute parameter of a BGP extended protocol carried in a BGP Update message, and determine second BGP routing information corresponding to the request packet, where the first router as extended community attribute parameter is set according to first BGP routing information corresponding to a forwarding server or a network device connected to the monitoring server, and the first BGP Update message is sent by the forwarding server or the network device connected to the monitoring server according to a set period;
a setting module, configured to set a second RouterAS extended community attribute parameter according to the second BGP routing information;
and a sending module, configured to send the second RouterAS extended community attribute parameter and the request packet to a forwarding server or a network device corresponding to the second BGP routing information through a second BGP Update message.
A forwarding server or network device comprising:
a receiving module, configured to receive a second BGP Update message carrying a request packet and a second router autonomous system RouterAS extended community attribute parameter, where the second BGP Update message is configured to receive a second BGP extended community attribute parameter, and the second RouterAS extended community attribute parameter is set according to second BGP routing information corresponding to the request packet;
a sending module, configured to forward the second BGP Update message to a forwarding server or a network device corresponding to the second BGP routing information according to the second RouterAS extended community attribute parameter;
a setting module, configured to set a first RouterAS extended community attribute parameter according to the first BGP routing information corresponding to the forwarding server or the network device;
the sending module is further configured to send the first RouterAS extended community attribute parameter to the interconnected monitoring server, forwarding server and network device through the first BGP Update message according to the set period.
A non-volatile computer storage medium storing an executable program for execution by a processor to implement the steps of the method as described above from a listening server side or from a forwarding server or network device side.
A service convergence device comprising a memory, a processor and a computer program stored on the memory, the processor implementing the steps of the method as described above from a listening server side or from a forwarding server or network device side when executing the program.
A service convergence system comprises at least one monitoring server and at least one forwarding server; alternatively, the system comprises at least one listening server and at least one network device.
In the embodiment of the invention, the forwarding server or the network device carries the corresponding first BGP routing information through the first RouterAS extended community attribute parameter, and sends the first BGP routing information to the interconnected monitoring server, forwarding server and network device according to the set period, so that the data transmission status of each flow path is globally notified, and the monitoring server can determine the corresponding second BGP routing information for the monitored request data packet. And the monitoring server can set a second RouteR AS extended community attribute parameter according to the determined second BGP routing information, and send the second RouteR AS extended community attribute parameter to a corresponding forwarding server or network equipment through a second BGP Update message, so that the corresponding forwarding server or network equipment can continue to forward the request data packet according to the second RouteR AS extended community attribute parameter. The problem of low convergence speed caused by the fact that network equipment needs to delete the route and carry out route convergence again in the prior art is solved, and the convergence speed of the service route is improved. Meanwhile, a guiding flow route does not need to be configured for the network equipment, and configuration complexity is reduced. And as long as the monitoring server, the forwarding server and the network equipment can analyze the RouterAS extended community attribute parameters, the request data packet can be forwarded, the problem of equipment compatibility is avoided, and end-to-end full-path lossless switching can be realized.
Drawings
Fig. 1 is a layered networking model using EBGP provided in the prior art;
fig. 2 is a schematic diagram illustrating a link disconnection in a layered networking model provided in the prior art;
fig. 3 is a flowchart illustrating steps of a service convergence method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an attribute parameter of an extended community of RouterAS according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating steps of a service convergence method according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of an attribute parameter of a RouterAS extended community provided in a second embodiment of the present invention;
fig. 7 is a schematic structural diagram of a listening server according to a third embodiment of the present invention;
fig. 8 is a schematic structural diagram of a forwarding server or a network device according to a fourth embodiment of the present invention;
fig. 9 is a schematic structural diagram of a service convergence device according to a sixth embodiment of the present invention.
Detailed Description
In the embodiment of the present invention, the BGP routing information corresponding to the request packet is carried by the RouterAS extended community attribute parameter, and the RouterAS extended community attribute parameter may be carried by a BGP Update message, specifically, by a BGP _ RouterAS _ info attribute parameter in the BGP Update message, and when receiving the BGP Update message, both the forwarding server and the network device may determine the BGP routing information corresponding to the request packet by the RouterAS extended community attribute parameter, and implement forwarding.
And when determining the BGP routing information corresponding to the request data packet, determining the BGP routing information according to the BGP routing information corresponding to each forwarding server and each network device which are periodically and globally announced through the RouterAS extended community attribute parameter. Therefore, when the request data packet is forwarded according to the determined BGP routing information corresponding to the request data packet, the rapid convergence of the service routing can be realized.
The embodiments of the present invention will be described in further detail with reference to the drawings attached hereto.
Example one
The following describes the scheme provided by the present invention from the side of the listening server. The execution subject in the first embodiment may be understood as a listening server, and may further be understood as an agent program deployed on the listening server. As shown in fig. 3, a flowchart of a service convergence method provided in an embodiment of the present invention is shown, where the method includes the following steps:
step 101, receiving a request data packet.
In this step, the listening server may receive a request packet through a designated listening port, where the request packet carries an original route identity (RouterID) address and an original destination port. The request packet may be sent by an application.
Specifically, the listening server may receive the request packet at a designated listening port, for example, an Apache listening port set by default, and the port number may be a random number, for example, 80 to 8123.
And step 102, determining second BGP routing information corresponding to the request data packet.
In this step, the monitoring server may determine, according to the original RouterID address, the original destination port, and the received first border gateway protocol Update (BGP Update) message, specifically, a BGP _ RouterAS _ info attribute parameter in the BGP Update message, and a first RouterAS extended community attribute parameter of a BGP extended protocol carried in the BGP extended protocol, second BGP routing information corresponding to the request packet.
The first RouterAS extended community attribute parameter is set according to first BGP routing information corresponding to a forwarding server or a network device connected with the monitoring server, and the first BGP update message is sent by the forwarding server or the network device connected with the monitoring server according to a set period.
Specifically, the monitoring server may receive the first BGP Update message, and learn the AS-Path attribute parameter of the BGP route according to the first RouterAS extended community attribute parameter carried by the BGP _ RouterAS _ info attribute parameter.
And further determining second BGP routing information corresponding to the request data packet according to the original RouteR ID address, the original destination port and the learned AS-Path attribute parameter of the BGP routing. The second BGP route information may be understood as a label of the request packet, and each BGP route may be denoted by M1, M2, M3 … … Mn, respectively.
Of course, the first BGP routing information corresponding to the forwarding server or the network device itself may also be understood as being determined by the forwarding server or the network device according to the first RouterAS extended community attribute parameter carried by the BGP _ RouterAS _ info attribute parameter in the received first BGP Update message.
Further, when setting the first RouterAS extended community attribute parameter, the method may further set by combining with next hop RouterAS port failure information or effective information. That is, the first RouterAS extended community attribute parameter may be set according to the first BGP routing information and the next hop RouterAS port failure information or validation information corresponding to the forwarding server or the network device itself. In this step, the monitoring server may perform BGP route optimization calculation according to the original routeraid address, the original destination port, the first BGP routing information carried by the first RouterAS extended community attribute parameter, and the next-hop RouterAS port failure information or validation information, and determine second BGP routing information corresponding to the request packet.
And 103, setting a second RouterAS extended community attribute parameter.
In this step, the monitoring server may set an extended community attribute parameter of a BGP extended protocol second router autonomous system (RouterAS) according to the second BGP routing information determined for the request packet.
Specifically, the listening server may fill the tag information into the second RouterAS extended community attribute parameter.
When setting the RouterAS extended community attribute, the RouterAS extended community attribute may be set, but not limited to, through a setsocket90 function of Linux. The structural diagram of the RouterAS extended community attribute parameter can be shown in fig. 4, and the value part includes type and sub-type. Wherein the type value of 0xC0-0xCF is used for experimental extension.
Preferably, in this embodiment, the RouterAS extended community attribute may include a type identifier (id-type), where the id-type is used to indicate a type of a value in the RouterAS extended community attribute.
For example, the id-type value is 0x00, which may be but is not limited to representing that the carried value is the AS number of the routing source neighbor;
the id-type value is 0x01, which can be but is not limited to indicate that the carried value is the vpn-id value of the routing source;
the id-type value is 0x02, and may be but is not limited to a group id value indicating that the value carried is a manually configured route;
id-type values 0x 03-0 xFF can be used as reserved values.
In this embodiment, when the second RouterAS extended community attribute is set:
the type value in the RouterAS extended community attribute may be set to 0xCF, but is not limited thereto.
The sub type value may also be set to 0xE1, but is not limited thereto, and a value range [0x1,0xFFFFFF ] in the RouterAS extended community attribute may be used to carry label information (i.e., the second BGP route information determined for the request packet).
Similarly, when setting the first RouterAS extended community attribute:
the type value in the RouterAS extended community attribute may be set to 0xCE, but is not limited thereto.
The sub type value may also be set to 0xE2, but is not limited thereto, and a value range [0x0,0xfffff ] in the RouterAS extended community attribute may be used to carry first BGP routing information corresponding to the forwarding server or the network device.
And step 104, sending a second BGP Update message.
In this step, the monitoring server may send the set second RouterAS extended community attribute parameter and the request packet through a second BGP Update message, specifically, through a BGP _ RouterAS _ info attribute parameter in the second BGP Update message, to the corresponding forwarding server or network device, to instruct the corresponding forwarding server or network device to forward the second BGP Update message to the corresponding forwarding server or network device according to the second RouterAS extended community attribute parameter, according to the second BGP routing information determined for the request packet.
Specifically, the monitoring server may encapsulate the set second RouterAS extended community attribute and the request packet into a BGP _ RouterAS _ info attribute parameter in a second BGP Update message in a TLV format, and send the second BGP Update message to a corresponding forwarding server or network device.
The following describes the scheme provided by the present invention from the forwarding server or the network device side.
Example two
As shown in fig. 5, a flowchart of a service convergence method provided in the second embodiment of the present invention is shown, where the method includes the following steps:
step 201, receiving a second BGP Update message.
In this step, a forwarding server (which may be understood as a server other than the monitoring server) or a network device may receive a second BGP Update message, where the second BGP Update message may specifically be a BGP _ RouterAS _ info attribute parameter in the second BGP Update message, and carry a request packet and a BGP extension protocol second RouterAS extended community attribute parameter.
The second BGP Update message may be understood as being sent by a listening server, and may also be understood as being forwarded by another forwarding server or a network device. In this embodiment, the snooping server may be understood as a server that snoops the request packet and sets a RouterAS extended community attribute for the request packet.
Step 202, forwarding the second BGP Update message.
In this step, the forwarding server or the network device may forward the second BGP update message to the forwarding server or the network device corresponding to the second BGP routing information according to the second RouterAS extended community attribute parameter carried in the received second BGP update message.
Further, when forwarding the second BGP Update message, if detecting that a forwarding port session is closed (Down), the request packet may be redirected to the listening server.
Specifically, policy routing may be configured to specify a piece of BGP routing information, for example, BGP routing information denoted by M1, and add default routing rules to the routing table. The corresponding BGP routing information, represented by M1, request packet is sent to the local loop-back interface for receipt by the listening server. For example, the third RouterAS extended community attribute may be set according to BGP routing information corresponding to the request packet, which is denoted by M1, and the third RouterAS extended community attribute and the request packet are carried in the third BGP Update message and sent, so as to redirect the request packet to the monitoring server.
It should be noted that the listening server in the first embodiment may also serve as a forwarding server, and the forwarding server in the second embodiment may also serve as a listening server. That is, it can be understood that one listening server can simultaneously implement the function of the listening server in the first embodiment and the function of the forwarding server in the second embodiment, and one forwarding server can also simultaneously implement the function of the listening server in the first embodiment and the function of the forwarding server in the second embodiment.
Each forwarding server and network device involved in the first and second embodiments send a first RouterAS extended community attribute parameter to the interconnected monitoring server, forwarding server and network device through a first BGP Update message according to a set period, where the first RouterAS extended community attribute parameter is set according to first BGP routing information corresponding to each forwarding server or network device itself.
Preferably, the first BGP Update message may not include prefix information of Update and widdraw, and only carries the BGP _ RouterAS _ info attribute parameter.
The format of the BGP Update message is: attribute + address prefix, if there are several address prefixes with the same attribute, several address prefixes can be packaged into the same attribute, so that the length of BGP Update message can not be obviously increased even if there are lots of routes to be advertised. Meanwhile, the first BGP Update message may further include vendor information, a related server, related custom parameter information, and network device information. The information and the first RouterAS extended community attribute may be encapsulated in a BGP _ RouterAS _ info attribute parameter in a TLV format, and sent to the interconnected listening server, forwarding server, and network device through the first BGP Update message. And the BGP Update message is used for sending, and the advantages of the BGP Update message can be integrated, including real-time performance, safety characteristic and the like.
Further, the first RouterAS extended community attribute parameter may be set according to first BGP routing information and next hop RouterAS port failure information or validation information corresponding to the forwarding server or the network device itself.
The next-hop RouterAS port failure information may be determined, but is not limited to, by:
when a port session Down is detected, determining a home RouteR AS port corresponding to the port session of the Down according to BGP routing information corresponding to the port session of the Down;
and when determining that all port sessions of all IP addresses corresponding to the home RouterAS port are all Down, determining that the home RouterAS port is in a failure state.
In this embodiment, the detection of the RouterAS port is implemented by detection based on the IP address. In the detection process, a series of IP addresses corresponding to the RouterAS port need to be determined, and the states of port sessions of all the IP addresses corresponding to the RouterAS port are detected, so that the detection of the RouterAS port is realized.
After determining that the home RouterAS port is in the failure state, it may further be determined whether the home RouterAS port is in a revalidation state, and specifically, after determining that the home RouterAS port is in the failure state, when determining that port sessions of all IP addresses corresponding to the home RouterAS port are all open (Up), it may be determined that the home RouterAS port is in the validation state.
In this embodiment, it is preferable that the next-hop RouterAS port failure information or validation information can be carried by one bit in the RouterAS extended community attribute parameter, such as the last bit (denoted by V in fig. 6) shown in fig. 6. For example, V may be 1 to indicate that the next-hop RouterAS port is failed, and V may be 0 to indicate that the next-hop RouterAS port is valid.
The embodiment of the invention provides a flow traction mode based on a label mode. The method comprises the steps of configuring a RouterAS extended community attribute parameter rule on a monitoring server, a forwarding server and network equipment, and realizing end-to-end full path monitoring and control, wherein the RouterAS extended community attribute parameter is encapsulated in a BGP Update message, and specifically can be encapsulated in a BGP _ RouterAS _ info attribute parameter in a BGP Update message for transmission without additional resource consumption. The data transmission condition of each flow path is periodically updated and announced in real time through a BGP Update message, and a flow guiding and fast switching method based on label index is provided.
The scheme provided by the sending embodiment solves the problem that rapid convergence cannot be carried out when an AS unreachable fault occurs in a cross-flow path in the EBGP hierarchical network of the data center. Compared with the existing solution, the invention can solve the problem of end-to-end full-flow path flow switching from the server and the network equipment only by distributing the label at the server end, does not need to change the existing network topology structure, does not need to establish a full-connection IBGP neighbor among the equipment at the same level, does not need to have extra configuration on the network equipment, reduces the configuration complexity and increases the fault tolerance.
Based on the same inventive concept, the embodiment of the present invention further provides a server, a network device, a medium, a service convergence device, and a system corresponding to the service convergence method, and as the principle of solving the problem is similar to the methods provided in the first and second embodiments of the present invention, the implementation of the method can be referred to, and repeated details are not repeated.
EXAMPLE III
As shown in fig. 7, a schematic structural diagram of a listening server provided in the third embodiment of the present invention includes:
the monitoring module 11 is configured to receive a request data packet through a specified monitoring port, where the request data packet carries an original route identity identification RouterID address and an original destination port;
the determining module 12 is configured to determine, according to the original router id address, the original destination port, and a first router as extended community attribute parameter of a BGP extended protocol carried by a received first BGP Update message, second BGP routing information corresponding to the request packet, where the first router as extended community attribute parameter is set according to first BGP routing information corresponding to a forwarding server or a network device connected to the monitoring server, and the first BGP Update message is sent by the forwarding server or the network device connected to the monitoring server according to a set cycle;
the setting module 13 is configured to set a second RouterAS extended community attribute parameter according to the second BGP routing information;
the sending module 14 is configured to send the second RouterAS extended community attribute parameter and the request packet to a forwarding server or a network device corresponding to the second BGP routing information through a second BGP Update message. The sending module 14 is configured to send the second RouterAS extended community attribute parameter and the request packet to a forwarding server or a network device corresponding to the second BGP routing information through a second BGP Update message, and includes:
encapsulating the second RouterAS extended community attribute and the request data packet into a BGP _ RouterAS _ info attribute parameter of a second BGP Update message through a TLV format;
and sending the second BGP Update message to a forwarding server or network equipment corresponding to the second BGP routing information.
When the first RouterAS extended community attribute parameter is set according to the first BGP routing information and the next hop RouterAS port failure information or validation information corresponding to the forwarding server or the network device connected to the monitoring server, the determining module 12 is specifically configured to:
and performing BGP routing optimization calculation according to the original Router ID address, the original destination port, first BGP routing information carried by the first Router AS extended community attribute parameter, and the next hop Router AS port failure information or effective information, and determining second BGP routing information corresponding to the request packet.
Example four
As shown in fig. 8, a schematic structural diagram of a forwarding server or a network device provided in the fourth embodiment of the present invention includes:
the receiving module 21 is configured to receive a second BGP Update message carrying a request packet and a second RouterAS extended community attribute parameter, where the second BGP Update message is configured to receive a second BGP Update message, and the second RouterAS extended community attribute parameter is set according to second BGP routing information corresponding to the request packet;
the sending module 22 is configured to forward the second BGP Update message to a forwarding server or a network device corresponding to the second BGP routing information according to the second RouterAS extended community attribute parameter;
the setting module 23 is configured to set a first RouterAS extended community attribute parameter according to the first BGP routing information corresponding to the forwarding server or the network device;
the sending module 22 is further configured to send the first RouterAS extended community attribute parameter to the interconnected monitoring server, forwarding server, and network device through the first BGP Update message according to the set period.
The sending module 22 is further configured to, when the second BGP Update message is forwarded, redirect the request packet to the monitoring server if it is detected that the forwarding port session is closed Down.
The setting module 23 is specifically configured to set the first RouterAS extended community attribute parameter according to the first BGP routing information and the next hop RouterAS port failure information or validation information corresponding to the forwarding server or the network device.
The setting module 23 is further configured to, when a port session Down is detected, determine, according to BGP routing information corresponding to the port session dropped by the Down, a home RouterAS port corresponding to the port session dropped by the Down;
and when determining that all port sessions of all IP addresses corresponding to the home RouterAS port are all Down, determining that the home RouterAS port is in a failure state.
The setting module 23 is further configured to determine that the home RouterAS port is in an active state when all Up of the port sessions of all the IP addresses corresponding to the home RouterAS port are determined after determining that the home RouterAS port is in an inactive state.
EXAMPLE five
A fifth embodiment of the present invention provides a non-volatile computer storage medium, where the computer storage medium stores an executable program, and the executable program is executed by a processor to implement the steps of the method according to the first embodiment of the present invention or to implement the steps of the method according to the second embodiment of the present invention.
EXAMPLE six
Sixth embodiment of the present invention provides a service convergence device, which may have a structure as shown in fig. 9, and includes a memory 31, a processor 32, and a computer program stored in the memory, where when the processor 32 executes the program, the processor implements the steps of the method in the first embodiment of the present invention, or implements the steps of the method in the second embodiment of the present invention.
EXAMPLE seven
The seventh embodiment of the present invention provides a service convergence system, which may include at least one monitoring server provided in the third embodiment and at least one forwarding server provided in the fourth embodiment; alternatively, the system includes at least one listening server provided in the third embodiment and at least one network device provided in the fourth embodiment.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (19)

1. A service convergence method is applied to a monitoring server, and is characterized in that the method comprises the following steps:
receiving a request data packet through a designated monitoring port, wherein the request data packet carries an original route identity identification RouterID address and an original destination port;
updating a first router autonomous system (Router AS) extended community attribute parameter of a BGP extended protocol carried in a BGP Update message according to the original RouteR ID address, the original destination port and the received first border gateway protocol, and determining second BGP routing information corresponding to the request data packet, wherein the first Router AS extended community attribute parameter is set according to first BGP routing information corresponding to network equipment connected with the monitoring server, and the first BGP Update message is sent by the network equipment connected with the monitoring server according to a set period;
setting a second RouterAS extended community attribute parameter according to the second BGP routing information;
sending the second RouterAS extended community attribute parameter and the request data packet to network equipment corresponding to second BGP routing information through a second BGP Update message;
wherein, the setting of the first RouterAS extended community attribute parameter according to the first BGP routing information corresponding to the network device connected with the monitoring server includes:
the first RouterAS extended community attribute parameter is set according to first BGP routing information corresponding to network equipment connected with the monitoring server and next hop RouterAS port failure information or effective information;
determining second BGP routing information corresponding to the request packet according to the original RouterID address, the original destination port, and a first router autonomous system RouterAS extended community attribute parameter of a BGP extended protocol carried in the received first BGP Update message, including:
and performing BGP routing optimization calculation according to the original Router ID address, the original destination port, first BGP routing information carried by the first Router AS extended community attribute parameter, and the next hop Router AS port failure information or effective information, and determining second BGP routing information corresponding to the request packet.
2. The method of claim 1, wherein sending the second RouterAS extended community attribute and the request packet to a network device corresponding to the second BGP routing information via a second BGP Update message comprises:
encapsulating the second RouterAS extended community attribute and the request data packet into a BGP _ RouterAS _ info attribute parameter of a second BGP Update message through a TLV format;
and sending the second BGP Update message to the network equipment corresponding to the second BGP routing information.
3. The method of claim 1 or 2, wherein the network device is a forwarding server.
4. A service convergence method applied in a network device, the method comprising:
updating a BGP Update message through a first border gateway protocol according to a set period, and sending a first router autonomous system (Router AS) extended community attribute parameter of a BGP extended protocol to an interconnected monitoring server and network equipment, wherein the first Router AS extended community attribute parameter is set according to first BGP routing information corresponding to the first Router AS extended community attribute parameter; and the number of the first and second groups,
receiving a second BGP Update message, wherein the second BGP Update message carries a request data packet and a second RouterAS extended community attribute parameter, and the second RouterAS extended community attribute parameter is set according to second BGP routing information corresponding to the request data packet;
forwarding the second BGP Update message to the network equipment corresponding to the second BGP routing information according to the second RouterAS extended community attribute parameter;
the first RouterAS extended community attribute parameter is set according to the corresponding first BGP routing information and next hop RouterAS port failure information or effective information.
5. The method of claim 4, wherein the method further comprises:
and when the second BGP Update message is forwarded, if the fact that the forwarding port session is closed Down is detected, the request data packet is redirected to a monitoring server.
6. The method of claim 4, further comprising:
when a port session Down is detected, determining a home RouteR AS port corresponding to the port session of the Down according to BGP routing information corresponding to the port session of the Down;
and when determining that all port sessions of all internet protocol IP addresses corresponding to the home RouterAS port are all Down, determining that the home RouterAS port is in a failure state.
7. The method of claim 6, wherein after determining that the home RouterAS port is in a failed state, the method further comprises:
and when determining that the Up is completely started by the port sessions of all the IP addresses corresponding to the home RouterAS port, determining that the home RouterAS port is in an effective state.
8. The method of any of claims 4-7, wherein the network device is a forwarding server.
9. A listening server, the listening server comprising:
the monitoring module is used for receiving a request data packet through a specified monitoring port, wherein the request data packet carries an original route identity identification RouterID address and an original destination port;
a determining module, configured to Update, according to the original router id address, the original destination port, and a received first border gateway protocol, a first router autonomous system router as extended community attribute parameter of a BGP extended protocol carried in a BGP Update message, and determine second BGP routing information corresponding to the request packet, where the first router as extended community attribute parameter is set according to first BGP routing information corresponding to a network device connected to the monitoring server, and the first BGP Update message is sent by the network device connected to the monitoring server according to a set period;
a setting module, configured to set a second RouterAS extended community attribute parameter according to the second BGP routing information;
a sending module, configured to send the second RouterAS extended community attribute parameter and the request packet to a network device corresponding to the second BGP routing information through a second BGP Update message;
when the first RouterAS extended community attribute parameter is set according to the first BGP routing information and the next hop RouterAS port failure information or validation information corresponding to the network device connected to the monitoring server, the determining module is specifically configured to:
and performing BGP routing optimization calculation according to the original Router ID address, the original destination port, first BGP routing information carried by the first Router AS extended community attribute parameter, and the next hop Router AS port failure information or effective information, and determining second BGP routing information corresponding to the request packet.
10. The monitoring server according to claim 9, wherein the sending module is configured to send the second RouterAS extended community attribute parameter and the request packet to the network device corresponding to the second BGP routing information through a second BGP Update message, and includes:
encapsulating the second RouterAS extended community attribute and the request data packet into a BGP _ RouterAS _ info attribute parameter of a second BGP Update message through a TLV format;
and sending the second BGP Update message to the network equipment corresponding to the second BGP routing information.
11. A listening server as claimed in claim 9 or 10 wherein the network device is a forwarding server.
12. A network device, comprising:
a receiving module, configured to receive a second BGP Update message carrying a request packet and a second router autonomous system RouterAS extended community attribute parameter, where the second BGP Update message is configured to receive a second BGP extended community attribute parameter, and the second RouterAS extended community attribute parameter is set according to second BGP routing information corresponding to the request packet;
a sending module, configured to forward the second BGP Update message to the network device corresponding to the second BGP routing information according to the second RouterAS extended community attribute parameter;
a setting module, configured to set a first RouterAS extended community attribute parameter according to first BGP routing information corresponding to the network device;
the sending module is further configured to send the first RouterAS extended community attribute parameter to the interconnected monitoring server, forwarding server and other network devices through a first BGP Update message according to a set period;
wherein, the setting module is specifically configured to:
and setting a first RouterAS extended community attribute parameter according to the first BGP routing information and next hop RouterAS port failure information or effective information corresponding to the network equipment.
13. The network device of claim 12, wherein the sending module is further configured to:
and when the second BGP Update message is forwarded, if the fact that the forwarding port session is closed Down is detected, the request data packet is redirected to a monitoring server.
14. The network device of claim 12, wherein the setup module is further to:
when a port session Down is detected, determining a home RouteR AS port corresponding to the port session of the Down according to BGP routing information corresponding to the port session of the Down;
and when determining that all port sessions of all internet protocol IP addresses corresponding to the home RouterAS port are all Down, determining that the home RouterAS port is in a failure state.
15. The network device of claim 13, wherein the setting module is further configured to determine that the home RouterAS port is in a valid state when it is determined that all port sessions of all IP addresses corresponding to the home RouterAS port are Up-enabled after determining that the home RouterAS port is in a failed state.
16. The network device of any of claims 12-15, wherein the network device is a forwarding server.
17. A non-transitory computer storage medium storing an executable program for execution by a processor to perform the steps of the method of any one of claims 1 to 3 or to perform the steps of the method of any one of claims 4 to 8.
18. A service convergence device comprising a memory, a processor and a computer program stored on the memory, the processor when executing the program implementing the steps of the method of any one of claims 1 to 3 or implementing the steps of the method of any one of claims 4 to 8.
19. A traffic convergence system, characterized in that it comprises at least one listening server according to claim 9 and at least one network device according to claim 12.
CN201810534711.5A 2018-05-29 2018-05-29 Service convergence method, device, medium and system Active CN108768723B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810534711.5A CN108768723B (en) 2018-05-29 2018-05-29 Service convergence method, device, medium and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810534711.5A CN108768723B (en) 2018-05-29 2018-05-29 Service convergence method, device, medium and system

Publications (2)

Publication Number Publication Date
CN108768723A CN108768723A (en) 2018-11-06
CN108768723B true CN108768723B (en) 2021-10-22

Family

ID=64003722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810534711.5A Active CN108768723B (en) 2018-05-29 2018-05-29 Service convergence method, device, medium and system

Country Status (1)

Country Link
CN (1) CN108768723B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4216506A4 (en) * 2020-10-28 2024-01-24 Huawei Tech Co Ltd Routing advertisement method, routing loop detection method, and device
CN115022165B (en) * 2022-05-27 2023-06-02 烽火通信科技股份有限公司 BGP stream specification effective interface optimization method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252488A (en) * 2008-04-15 2008-08-27 中国科学院计算技术研究所 Multi self-governing system router level topology processing system and method
CN101753418A (en) * 2008-12-17 2010-06-23 华为技术有限公司 Method, device and system for building a source separating passage and realizing source separation
CN103618677A (en) * 2013-12-11 2014-03-05 王逊 Network flow regulation method and system
CN106789638A (en) * 2016-12-28 2017-05-31 华为技术有限公司 A kind of method and the network equipment for processing route
CN106789629A (en) * 2016-12-23 2017-05-31 锐捷网络股份有限公司 Business fast convergent method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8228786B2 (en) * 2005-04-07 2012-07-24 Cisco Technology, Inc. Dynamic shared risk node group (SRNG) membership discovery
CN107707474B (en) * 2017-09-29 2020-02-14 烽火通信科技股份有限公司 Route distribution method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252488A (en) * 2008-04-15 2008-08-27 中国科学院计算技术研究所 Multi self-governing system router level topology processing system and method
CN101753418A (en) * 2008-12-17 2010-06-23 华为技术有限公司 Method, device and system for building a source separating passage and realizing source separation
CN103618677A (en) * 2013-12-11 2014-03-05 王逊 Network flow regulation method and system
CN106789629A (en) * 2016-12-23 2017-05-31 锐捷网络股份有限公司 Business fast convergent method and device
CN106789638A (en) * 2016-12-28 2017-05-31 华为技术有限公司 A kind of method and the network equipment for processing route

Also Published As

Publication number Publication date
CN108768723A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
US10218600B2 (en) Path computation element hierarchical software defined network control
CN101582834B (en) Updating method and system of forwarding table during service transmission of Ethernet
US10263808B2 (en) Deployment of virtual extensible local area network
KR20150056159A (en) A method operating of a controller and a switch to resolve network error, and the controller and the switch therefor
CN102291455B (en) Distributed cluster processing system and message processing method thereof
CN111698152B (en) Fault protection method, node and storage medium
CN107040469A (en) The network equipment and method
EP2761827A1 (en) Incremental deployment of mrt based ipfrr
EP3562107A1 (en) Broadcast packet processing method and processing apparatus, controller, and switch
CN109729019B (en) Speed limiting method and device for special line service in EVPN (Ethernet virtual private network) networking
EP3022877A1 (en) Extended remote lfa fast reroute
CN104243270A (en) Tunnel setup method and tunnel setup device
CN106165322A (en) Agency to redundant manipulator Routing Protocol
CN104767680B (en) It route the method and apparatus being switched fast
WO2016177049A1 (en) Method and device for achieving capacity expansion and reduction of access apparatus
CN104396197A (en) Selecting between equal cost shortest paths in a 802.1aq network using split tiebreakers
US11005763B2 (en) Data packet transmission method and border routing bridge device
CN109417508A (en) The connection and access of hierarchical path computing unit (PCE)
CN107040441B (en) Cross-data-center data transmission method, device and system
CN112769614B (en) Automatic management method of VPN (virtual private network) on demand and intercommunication system of heterogeneous network
US20190215191A1 (en) Deployment Of Virtual Extensible Local Area Network
CN108768723B (en) Service convergence method, device, medium and system
CN106302076A (en) Set up the method in VXLAN tunnel, system and SDN controller
CN107786442B (en) Metadata transmission method and device
CN106982162B (en) Method, device and system for forwarding service flow

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