CN106169978A - The treating method and apparatus of BMP message - Google Patents
The treating method and apparatus of BMP message Download PDFInfo
- Publication number
- CN106169978A CN106169978A CN201610547798.0A CN201610547798A CN106169978A CN 106169978 A CN106169978 A CN 106169978A CN 201610547798 A CN201610547798 A CN 201610547798A CN 106169978 A CN106169978 A CN 106169978A
- Authority
- CN
- China
- Prior art keywords
- tcp
- core network
- network device
- neighbours
- port 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
- H04L47/122—Avoiding congestion; Recovering from congestion by diverting traffic away from congested entities
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This application discloses the treating method and apparatus of the monitoring protocol BMP message of a kind of borde gateway, including: it is connected according to two or more the TCP that presetting rule is set up between monitoring server with core network device;By described two or more TCP connect transmit described BMP message;Wherein, described presetting rule is the corresponding relation of neighbours' quantity of configuration on unappropriated port information and described core network device on monitoring server, thus solve BMP message in prior art and need to take substantial amounts of spatial cache, and then it is congested to cause BMP message to occur, thus TCP is caused to connect unstable problem.
Description
Technical field
The application relates to communication technical field, particularly relates to the treating method and apparatus of a kind of BMP message.
Background technology
Border Gateway Protocol (Border Gateway Protocol is called for short BGP) is that one both may be used for different autonomy
Between system (Autonomous System is called for short AS), may be used for again the dynamic routing protocol within same AS.
As a example by Fig. 1, monitoring protocol (BGP Monitoring Protocol, the abbreviation of existing boundaries gateway is described
BMP) process of Message processing.Specifically include: BMP monitoring server, router A, core network device and router B.
Set up bgp neighbor between router A and core network device, and send bgp routing information each other, and route
Also set up bgp neighbor between device B and core network device, and send bgp routing information each other, BMP monitoring server with
Core network device is directly connected to, and runs BMP agreement on core network device.
When network design, general BMP agreement only distributes a port numbers, for BMP monitoring server and core network
Set up a transmission control protocol (Transmission Control Protocol is called for short TCP) between equipment to connect, connect
After success, send BMP message to BMP monitoring server.
An only link between above-mentioned BMP monitoring server and core network device, and owing to server itself connects
Mouth is less can not increase link more, when core network device and more router set up more bgp neighbor, it will produce big
The bgp routing information of amount, when running BMP agreement between BMP monitoring server and core network device, core network device needs
The substantial amounts of BMP message carrying bgp routing information is forwarded to BMP monitoring server.It is thus desirable to take substantial amounts of caching sky
Between, and equipment to give the caching that a TCP connects limited, and then this TCP can be caused to connect the BMP message forwarded occur gathering around
Plug, thus cause TCP to connect unstable problem.
Summary of the invention
The application provides the treating method and apparatus of a kind of BMP message, needs to take solving in prior art BMP message
Substantial amounts of spatial cache, and then it is congested to cause BMP message to occur, thus cause TCP to connect unstable problem.
In order to solve the problems referred to above, this application discloses the processing method of the monitoring protocol BMP message of a kind of borde gateway,
Including: it is connected according to two or more the TCP that presetting rule is set up between monitoring server with core network device;
By described two or more TCP connect transmit described BMP message;
Wherein, described presetting rule is to join on unappropriated port information and described core network device on monitoring server
The corresponding relation of the neighbours' quantity put.
Preferably, the step obtaining described presetting rule includes:
Obtain on monitoring server neighbours' quantity of configuration on unappropriated port information and core network device;
Described presetting rule is determined according to neighbours' quantity that each port information arranged is corresponding.
Preferably, described set up according to presetting rule between monitoring server and core network device two or more
TCP connect step, including:
Designated port information is selected from described unappropriated port information;
Neighbours' quantity of described core network device configuration and described designated ends message is issued to described core network device
The corresponding relation of breath;
The neighbours' quantity configured according to described core network device and the corresponding relation of described designated port information, set up institute
State two or more the TCP between core network device and described monitoring server to connect.
Preferably, described by described two or more TCP connect transmit described BMP message step include:
Each neighbor device of core network device is arranged index marker;
Set up the corresponding relation that described index marker is connected with described TCP;
The corresponding relation being connected with TCP according to described index marker, is connected by corresponding TCP and sends described BMP message.
Preferably, the neighbour of configuration on unappropriated port information and core network device on described acquisition monitoring server
Also include before occupying the step of quantity:
Calculate neighbours' quantity of core network device;
If described neighbours' quantity exceedes setting threshold value, then obtain unappropriated port information and core net on monitoring server
Neighbours' quantity of configuration on network equipment.
In order to solve the problems referred to above, this application discloses the processing means of the monitoring protocol BMP message of a kind of borde gateway,
Including:
Set up module, for according to presetting rule set up two between monitoring server and core network device or two with
On TCP connect, wherein, described presetting rule is unappropriated port information and described core network device on monitoring server
The corresponding relation of neighbours' quantity of upper configuration;
Transport module, for by described two or more TCP connect transmit described BMP message.
Preferably, described module of setting up is additionally operable to obtain described presetting rule, and described module of setting up also includes:
Obtain submodule, for obtaining configuration on unappropriated port information and core network device on monitoring server
Neighbours' quantity;
First corresponding relation submodule, determines described pre-for neighbours' quantity corresponding according to each port information arranged
Put rule.
Preferably, described module of setting up also includes:
Select submodule, for selecting designated port information from described unappropriated port information;
First sends submodule, for sending neighbours' number of described core network device configuration to described core network device
Amount and designated port information;
TCP connexon module, for the neighbours' quantity configured according to described core network device and described designated ends message
Breath, sets up two or more the TCP between described core network device and described monitoring server and connects.
Preferably, described transport module also includes:
Index marker submodule, for arranging index marker to each neighbor device of core network device;
Second corresponding relation submodule, for setting up the corresponding relation that described index marker is connected with described TCP;
Second transmitting element, for the corresponding relation being connected with described TCP according to described index marker, by correspondence
TCP connects the described BMP message of transmission.
Preferably, described device also includes:
Computing module, for calculating neighbours' quantity of core network device;
Judge module, if exceeding setting threshold value for described neighbours' quantity, then triggers described acquiring unit and obtains monitoring clothes
Neighbours' quantity of configuration on unappropriated port information and core network device on business device.
Compared with prior art, the application includes advantages below:
First, the application set up between monitoring server and core network device according to presetting rule two or more
TCP connect, connect transmission BMP message by two or more TCP, thus solve in prior art monitoring service
The problem that between device with core network device, only a TCP is connected.
Secondly, the application is by obtaining the neighbour of configuration on the unappropriated port information of monitoring server and core network device
Occupy the corresponding relation of quantity, set up multiple TCP and connect, when there is the BMP message carrying bgp routing information in a large number, by making
Connect with multiple TCP, improve the transmission speed of BMP message.
Additionally, the application is by using multiple TCP to connect transmission BMP message so that there is multiple TCP on same link even
Tap into the transmission of row BMP message, thus on the basis of not increasing additional chain circuit or link bandwidth, decrease TCP connect transmission
There is congested possibility in BMP message.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of description, and in order to allow above and other objects of the present invention, the feature and advantage can
Become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit common for this area
Technical staff will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation, and is not considered as the present invention
Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical parts.In the accompanying drawings:
Fig. 1 is the structured flowchart of the monitoring protocol Message processing of existing boundary gateway;
Fig. 2 is the flow chart of the monitoring protocol BMP message processing method of a kind of borde gateway described in the embodiment of the present application;
Fig. 3 is the flow process of the monitoring protocol BMP message processing method of a kind of borde gateway described in another embodiment of the application
Figure;
Fig. 4 is the structured flowchart of the monitoring protocol message processing method realizing a kind of borde gateway of the application;
Fig. 5 is the structured flowchart of the monitoring protocol BMP message process device of a kind of borde gateway described in the embodiment of the present application;
Fig. 6 is the structure of the monitoring protocol BMP message process device of a kind of borde gateway described in another embodiment of the application
Block diagram.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows the disclosure
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should be by embodiments set forth here
Limited.On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
BGP is that one both may be used between different autonomous system (Autonomous System is called for short AS), the most permissible
For the dynamic routing protocol within same AS.When BGP runs on same AS inside, referred to as internal bgp (Internal
BGP, is called for short IBGP), when BGP runs between different AS, referred to as external BGP (External BGP is called for short EBGP).
BGP is a kind of Exterior Gateway Protocol and open type shortest path priority protocol (Open Shortest Path
First, is called for short OSPF), routing information protocol (RoutingInformationProtocol, be called for short RIP) and internal gateway assist
View (Interior Gateway Protocol is called for short IGP) is different, and its starting point does not lies in discovery and calculates route, and is
Control the propagation of route and select Optimization route.
BMP agreement, by configuring BMP characteristic on core network device, makes the monitoring server can be to core network device
On the running status of bgp session monitor in real time, including foundation and releasing, the routing iinformation etc. of peer relationship.
The equipment being configured for BMP is referred to as client, and monitoring server is referred to as monitoring client.One client can connect many
Individual monitoring server.All configurations of BGP the most on the client, set up monitoring server and and core network by presetting rule
The TCP of equipment room connects.Configuration can determine masters and the passive side of TCP connection establishment, and passive side has only to monitor configuration
Port information accepts qualified TCP and connects, and masters then needs actively to initiate to connect until TCP is successfully established, also
That is masters or passive side need to install two agreements, BMP agreement is for leading between monitor client and server
Letter, and bgp protocol is connected for setting up TCP between client with server.
What BMP agreement was collected is the routing table information of BGP PEER, configuration should be able to be supported collect the road of particular neighbor
By table information, or acquiescence collects the routing table information of all neighbours.
It should be noted that the client in the application can be router, it is also possible to for other equipment, such as: exchange
Machine, is not particularly limited this application.
With reference to Fig. 2, it is shown that the monitoring protocol BMP Message processing of a kind of borde gateway of one of them embodiment of the application
The flow chart of method.In the present embodiment, the method specifically includes:
Step 201: according to presetting rule set up between monitoring server and core network device two or more
TCP connects.
Presetting rule can be obtained by controller, it is also possible to presetting rule being preset in the controller, controller should
Presetting rule sends to monitoring server or core network device, makes core network device or monitoring server pre-according to this
Put rule and set up two or more TCP connection.
In actual applications, TCP can be set up in the following manner connect:
First kind of way: controller generates presetting rule, is sent to core network device or monitoring clothes by presetting rule
Business device, the TCP set up between core network device with monitoring server is connected.
The second way: core network device enables control function, and (now, core network device is equivalent to enable control
The function of device) obtain neighbours' quantity, generate presetting rule, set up TCP according to this presetting rule and connect.
The third mode: monitoring server obtains neighbours' quantity by enabling the core network device of control function, generates
Presetting rule, sets up TCP according to this presetting rule and connects.Wherein, presetting rule is unappropriated port letter on monitoring server
The corresponding relation of neighbours' quantity of configuration on breath and described core network device.
On monitoring server, unappropriated port information is virtual port information.
Issued by controller owing to the neighbours of core network device configure, thus controller can monitor and monitor
Neighbours' quantity that the core network device that server is connected is configured, and then set according to unappropriated port information and core network
Standby neighbours' quantity is set up two or more TCP and is connected.
It should be noted that the controller in the application can preferably be virtual fusion architecture controller VCFC, it is possible to
Thinking other controllers, the monitoring server in the application can preferably be BMP monitoring server, is not this application and has
Body limits.
Step 202: connected by the TCP of described two or more than two and transmit described BMP message.
Carry by using two or more TCP connection to share different neighbours' groups of configuration on core network device
The BMP message of bgp routing information, reduce single TCP and connect the problem causing link to shake not because of spatial cache.
The embodiment of the present application, first, according to presetting rule set up two between monitoring server and core network device or
Article two, the TCP more than connects, and connects transmission BMP message by two or more TCP, thus solves in prior art
The problem that between monitoring server with core network device, only a TCP is connected.
Secondly, by obtaining neighbours' quantity of configuration on the unappropriated port information of monitoring server and core network device
Corresponding relation, set up multiple TCP and connect, when exist carry the BMP message of bgp routing information in a large number time, multiple by using
TCP connects, and improves the transmission speed of BMP message.
Additionally, by using multiple TCP to connect transmission BMP message so that there is multiple TCP connection on same link and carry out
The transmission of BMP message, thus on the basis of not increasing additional chain circuit or link bandwidth, decrease TCP connect transmission BMP report
The possibility that literary composition is congested.
With reference to Fig. 3, it is shown that at the monitoring protocol BMP message of a kind of borde gateway of the application other in which embodiment
The flow chart of reason method.
Step 301: calculate neighbours' quantity of core network device.
Wherein, core network device can be router, it is also possible to for switch, do not apply for this being not particularly limited.
Step 302: if described neighbours' quantity exceedes setting threshold value, then perform step 303, otherwise perform step 307.
Wherein, the setting of threshold value can be used any appropriate ways to be set by those skilled in the art, as adopted
Setting threshold value by artificial experience, or the difference value for historical data sets threshold value, this is not restricted by the application.
Step 303: obtain on monitoring server neighbours' number of configuration on unappropriated port information and core network device
Amount.
Controller or core network device, or monitoring server, can obtain on monitoring server unallocated
Port information, controller can obtain on monitoring server unappropriated independent of core network device or monitoring server
Port information, it is also possible to controller be arranged in core network device or be arranged in monitoring server, utilizing core net
The enable control function of network equipment or monitoring server obtains unappropriated port information on monitoring server, it is also possible to use it
His mode obtains unappropriated port information on monitoring server, is not particularly limited this application.
It is illustrated to obtain in the following manner with controller in this embodiment and does not divides on monitoring server
The port information joined.
Controller sends inquiry request to monitoring server.
Monitoring server receives this inquiry request, believes according to this inquiry request unappropriated port of query monitor server
Breath, will inquire unappropriated port information and send to controller.
Such as: it is 8000-10000 that controller inquires unappropriated port information on monitoring server, then monitor service
8000-10000 is fed back to controller end by device, and controller carries out subsequent operation according to unappropriated port information.
Step 304: determine described presetting rule according to neighbours' quantity that each port information arranged is corresponding.
Presetting rule is the neighbours of configuration on unappropriated port information and described core network device on monitoring server
The corresponding relation of quantity, now controller can monitor neighbours' quantity that unappropriated port information is corresponding, can not determine
Neighbours' quantity that each port is specifically corresponding, therefore present inventor proposes total neighbours' quantity is evenly distributed to each end
Mouthful, if neighbours' quantity continues to increase, then preset and increase to a number of neighbours, then increase a port information, and then
Add a TCP to connect, such as: preset often 10 neighbours of increase, then increase a port information, and then add one
Individual TCP connects, and analogizes successively.
Such as: neighbours' quantity of core network device is 600,000, monitoring server has 4 virtual port information, now,
Neighbours' quantity corresponding to each virtual port information is 200,000, and then sets up 4 TCP and connect, and is used for transmitting BMP message.
Use a TCP to connect it should be noted that the application presets every 10 neighbours, be only used as example,
Adaptive adjustment can be carried out according to practical situation, this application is not particularly limited.
Step 305: according to presetting rule set up between monitoring server and core network device two or more
TCP connects.
Preferably, step 305 includes following sub-step:
Step 3051: select designated port information from described unappropriated port information.
Multiple designated port information is selected from unappropriated port information.
Such as: the unappropriated port information of monitoring server is: 8000-10000, according to presetting rule, therefrom selects
Designated port information be: 8000,8288,8566,8711 and 9011.
The multiple designated port information selected are sent to monitoring server, for monitoring server by described by controller
The port information that multiple designated port information connect as described TCP.
In actual applications, it would however also be possible to employ the multiple designated port information selected are sent to monitoring by core network device
Server, the port information the plurality of designated port information connected as described TCP for monitoring server.
Step 3052: issue neighbours' quantity of described core network device configuration and described finger to described core network device
Determine the corresponding relation of port information.
Corresponding relation is configured according to neighbours' quantity.Such as: neighbours' quantity is 50, each 10 neighbours are preset
Occupy and use a port information, now, then need 5 port informations, and then set up 5 TCP connections.
Step 3053: the neighbours' quantity configured according to described core network device and the corresponding pass of described designated port information
System, sets up two or more the TCP between described core network device and described monitoring server and connects.
Step 306: by described two or more TCP connect transmit described BMP message, flow process terminates.
Share the BMP message of the bgp routing information that different neighbours' group is carried by using multiple TCP to connect, reduce single
TCP connects the problem causing link to shake not because of spatial cache.
Assume: having 50 neighbours, each neighbours 300,000 routing iinformation on core network device, each BMP message carries 500
Bar bgp routing information, then need neighbours to send 600 BMP messages.When using prior art, when now a TCP connects
Need to transmit 30,000 BMP messages, owing to the caching of TCP connection distribution is limited, and then cause BMP message to occur congested and cause
Link shakes.By the application, controller distributes 5 virtual port information and is used for fictionalizing 5 TCP connections, and each TCP connects
Associating with 10 bgp neighbor groups respectively, 10 bgp neighbors are then 6000 messages, it is assumed that the spatial cache phase that each TCP connects
With, transmission speed is identical, 1/5th times when needing a TCP to connect, all neighbours' bgp routing informations can be collected
Completely, the link between equipment and monitoring server will be caused to shake because TCP caching is limited, improve stability.
Preferably, step 306 includes following sub-step:
Step 3061: each neighbor device of core network device is arranged index marker.
Each neighbor device of core network device is randomly provided index marker, the neighbor device of same tag is used
Identical index marker.
Step 3062: set up the corresponding relation that described index marker is connected with described TCP.
Step 3063: the corresponding relation being connected with described TCP according to described index marker, is connected by corresponding TCP and sends out
Send described BMP message.
Such as: each neighbor device on core network device is randomly provided TCP index marker, every 10 neighbor devices
Use an identical TCP index marker, then set up the corresponding relation that TCP index marker is connected with TCP, these 10 neighbor devices
Bgp routing information connected by TCP corresponding to index marker and forward the BMP message carrying bgp routing information.
Step 307: using existing procedure to process BMP message, flow process terminates.
It should be noted that the embodiment of the present application is to illustrate as a example by controller end, set up monitoring clothes according to presetting rule
Business device is connected with two or more the TCP between core network device, can also use monitoring service in actual applications
Device or core network device end create two or more TCP and connect, and concrete operational approach is referred to controller
Carry out, this application is not particularly limited.
The embodiment of the present application, first, according to presetting rule set up two between monitoring server and core network device or
Article two, the TCP more than connects, and connects transmission BMP message by two or more TCP, thus solves in prior art
The problem that between monitoring server with core network device, only a TCP is connected.
Secondly, by obtaining neighbours' quantity of configuration on the unappropriated port information of monitoring server and core network device
Corresponding relation, set up multiple TCP and connect, when exist carry the BMP message of bgp routing information in a large number time, multiple by using
TCP connects, and improves the transmission speed of BMP message.
Additionally, by using multiple TCP to connect transmission BMP message so that there is multiple TCP connection on same link and carry out
The transmission of BMP message, thus on the basis of not increasing additional chain circuit or link bandwidth, decrease TCP connect transmission BMP report
The possibility that literary composition is congested.
In order to those skilled in the art are better understood from the technical scheme that the application limits, see Fig. 4 and show that realization is originally
Apply for the application example of the structured flowchart of the monitoring protocol message processing method of a kind of borde gateway.
The present embodiment includes: VCFC controller, BMP monitoring server, router RouterA, RouterB and core route
Device Core router.
Detailed process is as follows:
1, issued by VCFC controller owing to the neighbours of BGP configure, thus VCFC controller is known and monitoring server phase
Neighbours' quantity that core network device even is set up, thus neighbours' quantity that each port is corresponding can be preset, according to
Neighbours' quantity that each port is corresponding determines presetting rule, it is assumed that presetting rule is that every 10 bgp neighbors connect with a TCP
Connect, often increase by 10 neighbours, be then further added by a TCP and connect.2, VCFC controller sets to Core router according to the network planning
For having issued 50 bgp neighbors configurations, then controller sends the Query Information of unappropriated port information to monitoring server, looks into
Ask which port numbers of monitoring server unallocated;Monitoring server feeds back unallocated port information to it, such as 8000-10000 end
Message breath is the most unallocated;
3, the rule that VCFC controller connects with a TCP according to every 10 neighbours, owing to there being 50 neighbours, then needs 5
Individual TCP connects, so that the random port information selecting 5 monitoring servers from unappropriated port information, and notice
To these 5 port informations of monitoring server, as the port information of the TCP connection of BMP, and it is made to set.
4, the TCP that VCFC controller issues BMP to Core router equipment connects configuration and designated port information, virtual
The TCP going out multiple BMP agreement connects, and uses this TCP connection to share different neighbours' group and carries the BMP message of bgp routing information, subtracts
Few single TCP connects the concussion causing link because of spatial cache not.
Assume that 5 port informations that VCFC controller randomly selects are respectively 8000,8288,8566,8711,9011, then
The TCP set up connects as follows:
TCP1:serveraddress 100.1.1.2port 8000
TCP2:serveraddress 100.1.1.2port 8288
TCP3:serveraddress 100.1.1.2port 8566
TCP4:serveraddress 100.1.1.2port 8711
TCP5:serveraddress 100.1.1.2port 9011
5 TCP are had to be connected between so Core router equipment and monitoring server, the interface of Core router equipment
Source address is 100.1.1.1.
5, on Core router equipment, TCP index marker, every 10 neighbor devices are stamped at random for each neighbor device
There is an identical TCP index marker, then set up the corresponding relation that TCP index marker is connected with TCP, these 10 neighbours'
Bgp routing information is connected forwarding by the TCP that TCP index marker is corresponding and carries the BMP message of bgp routing information, by different
TCP connects the BMP message carrying bgp routing information forwarding different neighbours, improves the transmission speed of BMP message, carries simultaneously
High link stability between equipment and monitoring server.
Explanation based on said method embodiment, present invention also provides the monitoring protocol BMP message of a kind of borde gateway
The device embodiment of process, realize the content described in said method embodiment.
With reference to Fig. 5, it illustrates the monitoring protocol BMP message of a kind of borde gateway of one of them embodiment of the application
The structure chart of processing means, specifically may include that
Set up module 501, for setting up two or two between monitoring server and core network device according to presetting rule
TCP more than bar connects.
Wherein, described presetting rule is to join on unappropriated port information and described core network device on monitoring server
The corresponding relation of the neighbours' quantity put.
Transport module 502, for by described two or more TCP connect transmit described BMP message.
The embodiment of the present application, first, according to presetting rule set up two between monitoring server and core network device or
Article two, the TCP more than connects, and connects transmission BMP message by two or more TCP, thus solves in prior art
The problem that between monitoring server with core network device, only a TCP is connected.
Secondly, by obtaining neighbours' quantity of configuration on the unappropriated port information of monitoring server and core network device
Corresponding relation, set up multiple TCP and connect, when exist carry the BMP message of bgp routing information in a large number time, multiple by using
TCP connects, and improves the transmission speed of BMP message.
Additionally, by using multiple TCP to connect transmission BMP message so that there is multiple TCP connection on same link and carry out
The transmission of BMP message, thus on the basis of not increasing additional chain circuit or link bandwidth, decrease TCP connect transmission BMP report
The possibility that literary composition is congested.
With reference to Fig. 6, it illustrates the monitoring protocol BMP message of a kind of borde gateway of the application other in which embodiment
The structure chart of processing means, specifically may include that
Computing module 601, for calculating neighbours' quantity of core network device.
Judge module 602, if exceeding setting threshold value for described neighbours' quantity, then triggers and sets up module 603, otherwise, then
Trigger processing module 605.
Described module of setting up is additionally operable to obtain described presetting rule, and described module of setting up also includes: obtain submodule 6031,
For obtaining on monitoring server neighbours' quantity of configuration on unappropriated port information and core network device.
First corresponding relation submodule 6032, determines institute for neighbours' quantity corresponding according to each port information arranged
State presetting rule.
Preferably, described module of setting up also includes: select submodule, for selecting from described unappropriated port information
Go out designated port information.
The multiple designated port information selected are sent to monitoring server, for monitoring server by the plurality of finger
Determine the port information that port information connects as described TCP.
First sends submodule, for sending neighbours' number of described core network device configuration to described core network device
Amount and designated port information.
TCP connexon module, for the neighbours' quantity configured according to described core network device and described designated ends message
Breath, sets up two or more the TCP between described core network device and described monitoring server and connects.
Transport module 604, for by described two or more TCP connect transmit described BMP message.
Preferably, described transport module 604 also includes: index marker submodule, each for core network device
Neighbor device arranges index marker.
Second corresponding relation submodule, for setting up the corresponding relation that described index marker is connected with described TCP.
Second transmitting element 6043, for the corresponding relation being connected with described TCP according to described index marker, by correspondence
TCP connect send described BMP message.
Processing module 605, is used for using existing procedure to process BMP message.
The embodiment of the present application, first, according to presetting rule set up two between monitoring server and core network device or
Article two, the TCP more than connects, and connects transmission BMP message by two or more TCP, thus solves in prior art
The problem that between monitoring server with core network device, only a TCP is connected.
Secondly, by obtaining neighbours' quantity of configuration on the unappropriated port information of monitoring server and core network device
Corresponding relation, set up multiple TCP and connect, when exist carry the BMP message of bgp routing information in a large number time, multiple by using
TCP connects, and improves the transmission speed of BMP message.
Additionally, the embodiment of the present application is by using multiple TCP to connect transmission BMP message so that exist many on same link
Individual TCP connects the transmission carrying out BMP message, thus decreases TCP on the basis of not increasing additional chain circuit or link bandwidth
Connect the possibility sending BMP packet congestion.
Algorithm and display are not intrinsic to any certain computer, virtual system or miscellaneous equipment relevant provided herein.
Various general-purpose systems can also be used together with based on teaching in this.As described above, construct required by this kind of system
Structure be apparent from.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use various
Programming language realizes the content of invention described herein, and the description done language-specific above is to disclose this
Bright preferred forms.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that the enforcement of the present invention
Example can be put into practice in the case of not having these details.In some instances, it is not shown specifically known method, structure
And technology, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that one or more in order to simplify that the disclosure helping understands in each inventive aspect, exist
Above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes
In example, figure or descriptions thereof.But, the method for the disclosure should not be construed to reflect an intention that i.e. required guarantor
The application claims feature more more than the feature being expressly recited in each claim protected.More precisely, as following
Claims reflected as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
The claims following detailed description of the invention are thus expressly incorporated in this detailed description of the invention, the most each claim itself
All as the independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out the module in the equipment in embodiment adaptively
Change and they are arranged in one or more equipment different from this embodiment.Can be the module in embodiment or list
Unit or assembly are combined into a module or unit or assembly, and can put them in addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit excludes each other, can use any
Combine all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed appoint
Where method or all processes of equipment or unit are combined.Unless expressly stated otherwise, this specification (includes adjoint power
Profit requires, summary and accompanying drawing) disclosed in each feature can be carried out generation by providing identical, equivalent or the alternative features of similar purpose
Replace.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include other embodiments
Some feature included by rather than further feature, but the combination of the feature of different embodiment means to be in the present invention's
Within the scope of and form different embodiments.Such as, in the following claims, embodiment required for protection appoint
One of meaning can mode use in any combination.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference marks that should not will be located between bracket is configured to limitations on claims.Word " comprises " and does not excludes the presence of not
Arrange element in the claims or step.Word "a" or "an" before being positioned at element does not excludes the presence of multiple such
Element.The present invention and can come real by means of including the hardware of some different elements by means of properly programmed computer
Existing.If in the unit claim listing equipment for drying, several in these devices can be by same hardware branch
Specifically embody.Word first, second and third use do not indicate that any order.These word explanations can be run after fame
Claim.
Claims (10)
1. the processing method of the monitoring protocol BMP message of a borde gateway, it is characterised in that including:
It is connected according to two or more the TCP that presetting rule is set up between monitoring server with core network device;
By described two or more TCP connect transmit described BMP message;
Wherein, described presetting rule is to configure on unappropriated port information and described core network device on monitoring server
The corresponding relation of neighbours' quantity.
Method the most according to claim 1, it is characterised in that the step obtaining described presetting rule includes:
Obtain on monitoring server neighbours' quantity of configuration on unappropriated port information and core network device;
Described presetting rule is determined according to neighbours' quantity that each port information arranged is corresponding.
Method the most according to claim 1, it is characterised in that described set up monitoring server and core according to presetting rule
The step that two or more TCP of LA Management Room connects, including:
Designated port information is selected from described unappropriated port information;
Neighbours' quantity of described core network device configuration and described designated port information is issued to described core network device
Corresponding relation;
The neighbours' quantity configured according to described core network device and the corresponding relation of described designated port information, set up described core
Two or more TCP between the heart network equipment and described monitoring server connects.
Method the most according to claim 1, it is characterised in that described by described two or more TCP connect
The step transmitting described BMP message includes:
Each neighbor device of core network device is arranged index marker;
Set up the corresponding relation that described index marker is connected with described TCP;
The corresponding relation being connected with described TCP according to described index marker, is connected by corresponding TCP and sends described BMP message.
Method the most according to claim 2, it is characterised in that unappropriated port letter on described acquisition monitoring server
Also include before the step of neighbours' quantity of configuration on breath and core network device:
Calculate neighbours' quantity of core network device;
If described neighbours' quantity exceedes setting threshold value, then obtain unappropriated port information and core network on monitoring server and set
Neighbours' quantity of standby upper configuration.
6. the processing means of the monitoring protocol BMP message of a borde gateway, it is characterised in that including:
Set up module, for according to presetting rule set up between monitoring server and core network device two or more
TCP connects, and wherein, described presetting rule is to join on unappropriated port information and described core network device on monitoring server
The corresponding relation of the neighbours' quantity put;
Transport module, for by described two or more TCP connect transmit described BMP message.
Device the most according to claim 6, it is characterised in that described module of setting up is additionally operable to obtain described presetting rule,
Described module of setting up also includes:
Obtain submodule, for obtaining on monitoring server the neighbours of configuration on unappropriated port information and core network device
Quantity;
First corresponding relation submodule, determines described preset rule for neighbours' quantity corresponding according to each port information arranged
Then.
Device the most according to claim 6, it is characterised in that described module of setting up also includes:
Select submodule, for selecting designated port information from described unappropriated port information;
First send submodule, for described core network device send described core network device configuration neighbours' quantity and
The corresponding relation of designated port information;
TCP connexon module, for neighbours' quantity of configuring according to described core network device and described designated port information
Corresponding relation, sets up two or more the TCP between described core network device and described monitoring server and connects.
Device the most according to claim 6, it is characterised in that described transport module also includes:
Index marker submodule, for arranging index marker to each neighbor device of core network device;
Second corresponding relation submodule, for setting up the corresponding relation that described index marker is connected with described TCP;
Second sends submodule, for the corresponding relation being connected with described TCP according to described index marker, by corresponding TCP
Connect and send described BMP message.
Device the most according to claim 7, it is characterised in that described device also includes:
Computing module, for calculating neighbours' quantity of core network device;
Judge module, if exceeding setting threshold value for described neighbours' quantity, then triggers described acquiring unit and obtains monitoring server
Neighbours' quantity of configuration on upper unappropriated port information and core network device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610547798.0A CN106169978B (en) | 2016-07-07 | 2016-07-07 | The treating method and apparatus of BMP message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610547798.0A CN106169978B (en) | 2016-07-07 | 2016-07-07 | The treating method and apparatus of BMP message |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106169978A true CN106169978A (en) | 2016-11-30 |
CN106169978B CN106169978B (en) | 2019-09-17 |
Family
ID=58064511
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610547798.0A Active CN106169978B (en) | 2016-07-07 | 2016-07-07 | The treating method and apparatus of BMP message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106169978B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108123848A (en) * | 2017-12-19 | 2018-06-05 | 新华三技术有限公司 | Apparatus monitoring method and device |
WO2018099309A1 (en) * | 2016-12-01 | 2018-06-07 | 华为技术有限公司 | Route detection method and network device |
WO2018121284A1 (en) * | 2016-12-28 | 2018-07-05 | 华为技术有限公司 | Method for processing routing, and network device |
CN110602268A (en) * | 2019-09-23 | 2019-12-20 | 杭州海兴电力科技股份有限公司 | Tunnel port allocation method and device, electronic equipment and storage medium |
CN110932921A (en) * | 2018-09-19 | 2020-03-27 | 华为技术有限公司 | Method for determining route oscillation information and related equipment thereof |
CN114244734A (en) * | 2021-11-19 | 2022-03-25 | 新华三技术有限公司合肥分公司 | Message sending method and device |
CN114422573A (en) * | 2022-01-14 | 2022-04-29 | 杭州华橙软件技术有限公司 | Message sending method and device, storage medium and electronic device |
CN116366535A (en) * | 2023-03-24 | 2023-06-30 | 展讯通信(上海)有限公司 | TCP-based data link aggregation method and device, readable storage medium and terminal |
US11916783B2 (en) | 2020-04-29 | 2024-02-27 | Huawei Technologies Co., Ltd. | Information reporting method, information processing method, apparatus, and device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1738314A (en) * | 2004-08-18 | 2006-02-22 | 华为技术有限公司 | Method for terminal sending and receiving service data |
CN101296124A (en) * | 2008-06-27 | 2008-10-29 | 华为技术有限公司 | Method, device and system for acquiring equipment information |
CN101350832A (en) * | 2008-08-29 | 2009-01-21 | 深圳华为通信技术有限公司 | Data communication method, communication appliance, terminal and communication system |
US8072901B1 (en) * | 2005-05-09 | 2011-12-06 | Cisco Technology, Inc. | Technique for efficient probing to verify policy conformance |
CN104660502A (en) * | 2015-03-16 | 2015-05-27 | 杭州华三通信技术有限公司 | Method and device for announcing route to EBGP (external border gateway protocol) neighbor |
CN105281942A (en) * | 2014-07-23 | 2016-01-27 | 华为技术有限公司 | Network equipment sending BGP information and methods for sending BGP information |
US20160119187A1 (en) * | 2014-10-22 | 2016-04-28 | Level 3 Communications, Llc | Managing traffic control in a network mitigating ddos |
-
2016
- 2016-07-07 CN CN201610547798.0A patent/CN106169978B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1738314A (en) * | 2004-08-18 | 2006-02-22 | 华为技术有限公司 | Method for terminal sending and receiving service data |
US8072901B1 (en) * | 2005-05-09 | 2011-12-06 | Cisco Technology, Inc. | Technique for efficient probing to verify policy conformance |
CN101296124A (en) * | 2008-06-27 | 2008-10-29 | 华为技术有限公司 | Method, device and system for acquiring equipment information |
CN101350832A (en) * | 2008-08-29 | 2009-01-21 | 深圳华为通信技术有限公司 | Data communication method, communication appliance, terminal and communication system |
CN105281942A (en) * | 2014-07-23 | 2016-01-27 | 华为技术有限公司 | Network equipment sending BGP information and methods for sending BGP information |
US20160119187A1 (en) * | 2014-10-22 | 2016-04-28 | Level 3 Communications, Llc | Managing traffic control in a network mitigating ddos |
CN104660502A (en) * | 2015-03-16 | 2015-05-27 | 杭州华三通信技术有限公司 | Method and device for announcing route to EBGP (external border gateway protocol) neighbor |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018099309A1 (en) * | 2016-12-01 | 2018-06-07 | 华为技术有限公司 | Route detection method and network device |
CN108134707A (en) * | 2016-12-01 | 2018-06-08 | 华为技术有限公司 | A kind of method and the network equipment for routeing detection |
US10892977B2 (en) | 2016-12-01 | 2021-01-12 | Huawei Technologies Co., Ltd. | Route detection method in a BGP monitoring protocol session |
US11855876B2 (en) | 2016-12-01 | 2023-12-26 | Huawei Technologies Co., Ltd. | BMP route detection method and network device |
US11463345B2 (en) | 2016-12-01 | 2022-10-04 | Huawei Technologies Co., Ltd. | Monitoring BGP routes of a device in a network |
WO2018121284A1 (en) * | 2016-12-28 | 2018-07-05 | 华为技术有限公司 | Method for processing routing, and network device |
CN108123848A (en) * | 2017-12-19 | 2018-06-05 | 新华三技术有限公司 | Apparatus monitoring method and device |
CN108123848B (en) * | 2017-12-19 | 2020-10-09 | 新华三技术有限公司 | Equipment monitoring method and device |
CN110932921B (en) * | 2018-09-19 | 2022-10-11 | 华为技术有限公司 | Method for determining route oscillation information and related equipment thereof |
CN110932921A (en) * | 2018-09-19 | 2020-03-27 | 华为技术有限公司 | Method for determining route oscillation information and related equipment thereof |
US11489759B2 (en) | 2018-09-19 | 2022-11-01 | Huawei Technologies Co., Ltd. | Method for determining route flapping information and related device |
CN110602268A (en) * | 2019-09-23 | 2019-12-20 | 杭州海兴电力科技股份有限公司 | Tunnel port allocation method and device, electronic equipment and storage medium |
CN110602268B (en) * | 2019-09-23 | 2023-02-10 | 杭州海兴电力科技股份有限公司 | Tunnel port allocation method and device, electronic equipment and storage medium |
US11916783B2 (en) | 2020-04-29 | 2024-02-27 | Huawei Technologies Co., Ltd. | Information reporting method, information processing method, apparatus, and device |
CN114244734A (en) * | 2021-11-19 | 2022-03-25 | 新华三技术有限公司合肥分公司 | Message sending method and device |
CN114244734B (en) * | 2021-11-19 | 2024-02-09 | 新华三技术有限公司合肥分公司 | Message sending method and device |
CN114422573A (en) * | 2022-01-14 | 2022-04-29 | 杭州华橙软件技术有限公司 | Message sending method and device, storage medium and electronic device |
CN114422573B (en) * | 2022-01-14 | 2023-08-15 | 杭州华橙软件技术有限公司 | Message sending method and device, storage medium and electronic device |
CN116366535A (en) * | 2023-03-24 | 2023-06-30 | 展讯通信(上海)有限公司 | TCP-based data link aggregation method and device, readable storage medium and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106169978B (en) | 2019-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106169978A (en) | The treating method and apparatus of BMP message | |
Li et al. | OpenFlow based load balancing for fat-tree networks with multipath support | |
US10057158B2 (en) | Control device discovery in networks having separate control and forwarding devices | |
CN104335537B (en) | For the system and method for the multicast multipath of layer 2 transmission | |
RU2643475C2 (en) | Multi-domain relaying with routing from source based on interacting network controllers | |
CN102365846B (en) | Route setting server, route setting method, and route setting program | |
JP2017028698A (en) | Traffic switching method, device, and system | |
CN103688510B (en) | Outgoing telecommunication method and device | |
CN106165322B (en) | To the agency of redundant manipulator Routing Protocol | |
WO2014136850A1 (en) | Communication system, control apparatus, transfer node, control method and program | |
CN104486228B (en) | The method and routing update device of a kind of routing update | |
CN105850082A (en) | Segmented source routing in a network | |
CN104883304B (en) | For part entangled quantum to the method for routing of bridge communications network | |
CN104106244A (en) | Control device, communication system, communication method and program | |
CN104601467A (en) | Method and device for sending messages | |
CN110324159B (en) | Link configuration method, controller and storage medium | |
US20150312215A1 (en) | Generating optimal pathways in software-defined networking (sdn) | |
US20190372870A1 (en) | Network device snapshots | |
CN112187649A (en) | Message forwarding method, message processing method and device | |
CN105812257B (en) | Business chain route management system and its application method | |
CN110535765A (en) | Mimicry defending against network system and its defence method based on Segment routing | |
CN108234319A (en) | The transmission method and device of a kind of data | |
CN100488195C (en) | Method and system for multi-protocol network interconnection and intercommunication | |
CN104158737A (en) | Method, apparatus and system for controlling issuing of router information | |
CN105812272B (en) | Processing method, device and the system of business chain |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310053 Hangzhou science and Technology Development Zone, Zhejiang high tech park, No. six and road, No. 310 Applicant before: Huasan Communication Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |