[go: up one dir, main page]

CN106169978B - The treating method and apparatus of BMP message - Google Patents

The treating method and apparatus of BMP message Download PDF

Info

Publication number
CN106169978B
CN106169978B CN201610547798.0A CN201610547798A CN106169978B CN 106169978 B CN106169978 B CN 106169978B CN 201610547798 A CN201610547798 A CN 201610547798A CN 106169978 B CN106169978 B CN 106169978B
Authority
CN
China
Prior art keywords
core network
network device
neighbours
tcp connection
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.)
Active
Application number
CN201610547798.0A
Other languages
Chinese (zh)
Other versions
CN106169978A (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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201610547798.0A priority Critical patent/CN106169978B/en
Publication of CN106169978A publication Critical patent/CN106169978A/en
Application granted granted Critical
Publication of CN106169978B publication Critical patent/CN106169978B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/122Avoiding congestion; Recovering from congestion by diverting traffic away from congested entities

Landscapes

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

Abstract

This application discloses a kind for the treatment of method and apparatus of the monitoring protocol BMP message of borde gateway, comprising: the TCP connection of two or more between monitoring server and core network device is established according to presetting rule;The BMP message is transmitted by two or more the TCP connection;Wherein, the presetting rule is the corresponding relationship of the neighbours' quantity configured on unappropriated port information on monitoring server and the core network device, need to occupy a large amount of spatial cache to solve BMP message in the prior art, and then BMP message is caused congestion occur, so as to cause the unstable problem of TCP connection.

Description

The treating method and apparatus of BMP message
Technical field
This application involves fields of communication technology, more particularly to a kind for the treatment of method and apparatus of BMP message.
Background technique
Border Gateway Protocol (Border Gateway Protocol, abbreviation BGP) is that one kind both can be used for different autonomies Between system (Autonomous System, abbreviation AS), and it can be used for the dynamic routing protocol inside same AS.
By taking Fig. 1 as an example, illustrate monitoring protocol (BGP Monitoring Protocol, the abbreviation of existing boundaries gateway BMP) the process of Message processing.It specifically includes: BMP monitoring server, router A, core network device and router B.
Bgp neighbor is established between router A and core network device, and sends bgp routing information between each other, and is routed Also establish bgp neighbor between device B and core network device, and send bgp routing information between each other, BMP monitoring server with Core network device is directly connected to, and BMP agreement is run on core network device.
In network deployment, general BMP agreement only distributes a port number, is used to BMP monitoring server and core network A transmission control protocol (Transmission Control Protocol, abbreviation TCP) connection, connection are established between equipment After success, BMP message is sent to BMP monitoring server.
There was only a link between above-mentioned BMP monitoring server and core network device, and since server itself connects Mouth is less cannot to increase link more, when core network device and more router establish more bgp neighbor, it will generate big The bgp routing information of amount, when running BMP agreement between BMP monitoring server and core network device, core network device is needed The a large amount of BMP message for carrying bgp routing information is forwarded to BMP monitoring server.Therefore it needs to occupy a large amount of caching empty Between, and the caching that an equipment gives a TCP connection is limited, and then the BMP message that will lead to TCP connection forwarding is gathered around Plug, so as to cause the unstable problem of TCP connection.
Summary of the invention
The application provides a kind for the treatment of method and apparatus of BMP message, needs to occupy to solve BMP message in the prior art A large amount of spatial cache, and then BMP message is caused congestion occur, so as to cause the unstable problem of TCP connection.
To solve the above-mentioned problems, this application discloses a kind of processing method of the monitoring protocol BMP message of borde gateway, It include: two or more the TCP connection established according to presetting rule between monitoring server and core network device;
The BMP message is transmitted by two or more the TCP connection;
Wherein, the presetting rule is to match on unappropriated port information and the core network device on monitoring server The corresponding relationship for the neighbours' quantity set.
Preferably, the step of obtaining the presetting rule include:
Obtain the neighbours' quantity configured on unappropriated port information and core network device on monitoring server;
The presetting rule is determined according to the corresponding neighbours' quantity of each port information of setting.
Preferably, described that two or more between monitoring server and core network device is established according to presetting rule TCP connection the step of, comprising:
Designated port information is selected from the unappropriated port information;
The neighbours' quantity and the designated ends message that the core network device configures are issued to the core network device The corresponding relationship of breath;
According to the corresponding relationship of neighbours' quantity of core network device configuration and the designated port information, institute is established State two or more the TCP connection between core network device and the monitoring server.
Preferably, it is described by it is described two or more TCP connection transmit the BMP message the step of include:
To each neighbor device setting index label of core network device;
Establish the corresponding relationship of the index label and the TCP connection;
According to the corresponding relationship of the index label and TCP connection, the BMP message is sent by corresponding TCP connection.
Preferably, the neighbour configured on unappropriated port information and core network device on the acquisition monitoring server Before the step of occupying quantity further include:
Calculate neighbours' quantity of core network device;
If neighbours' quantity is more than given threshold, unappropriated port information and core net on monitoring server are obtained The neighbours' quantity configured in network equipment.
To solve the above-mentioned problems, this application discloses a kind of processing unit of the monitoring protocol BMP message of borde gateway, Include:
Establish module, for according to presetting rule establish two or two between monitoring server and core network device with On TCP connection, wherein the presetting rule be monitoring server on unappropriated port information and the core network device The corresponding relationship of neighbours' quantity of upper configuration;
Transmission module transmits the BMP message for two or more the TCP connection described in.
Preferably, the module of establishing is also used to obtain the presetting rule, described to establish module further include:
Acquisition submodule configures on unappropriated port information and core network device on monitoring server for obtaining Neighbours' quantity;
First corresponding relationship submodule determines described pre- for the corresponding neighbours' quantity of each port information according to setting Set rule.
It is preferably, described to establish module further include:
Submodule is selected, for selecting designated port information from the unappropriated port information;
First sending submodule, for sending neighbours' number that the core network device configures to the core network device Amount and designated port information;
TCP connection submodule, neighbours' quantity and the designated ends message for being configured according to the core network device Breath, establishes two or more the TCP connection between the core network device and the monitoring server.
Preferably, the transmission module further include:
Index label submodule, for each neighbor device setting index label to core network device;
Second corresponding relationship submodule, for establishing the corresponding relationship of the index label and the TCP connection;
Second transmission unit, for the corresponding relationship according to the index label and the TCP connection, by corresponding TCP connection sends the BMP message.
Preferably, described device further include:
Computing module, for calculating neighbours' quantity of core network device;
Judgment module triggers the acquiring unit and obtains monitoring clothes if being more than given threshold for neighbours' quantity The neighbours' quantity configured on unappropriated port information and core network device on business device.
Compared with prior art, the application includes following advantages:
Firstly, the application establishes two or more between monitoring server and core network device according to presetting rule TCP connection, by two or more TCP connection transmit BMP message, to solve monitoring service in the prior art There was only the problem of TCP connection between device and core network device.
Secondly, the application is by obtaining the neighbour configured on the unappropriated port information of monitoring server and core network device The corresponding relationship for occupying quantity establishes multiple TCP connections, when there is a large amount of BMP messages for carrying bgp routing information, by making With multiple TCP connections, the transmission speed of BMP message is improved.
In addition, the application transmits BMP message by using multiple TCP connections, so that there are multiple TCP companies on same link The transmission of row BMP message is tapped into, to reduce TCP connection transmission on the basis of not increasing additional chain circuit or link bandwidth There is the possibility of congestion in BMP message.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is the structural block diagram of the monitoring protocol Message processing of existing boundary gateway;
Fig. 2 is a kind of flow chart of the monitoring protocol BMP message processing method of borde gateway described in the embodiment of the present application;
Fig. 3 is a kind of process of the monitoring protocol BMP message processing method of borde gateway described in another embodiment of the application Figure;
Fig. 4 is the structural block diagram for realizing a kind of monitoring protocol message processing method of borde gateway of the application;
Fig. 5 is a kind of structural block diagram of the monitoring protocol BMP message process device of borde gateway described in the embodiment of the present application;
Fig. 6 is a kind of structure of the monitoring protocol BMP message process device of borde gateway described in another embodiment of the application Block diagram.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
BGP be it is a kind of both can be used between different autonomous system (Autonomous System, abbreviation AS), and can be with For the dynamic routing protocol inside same AS.When BGP is run on inside same AS, referred to as internal bgp (Internal BGP, abbreviation IBGP), when BGP is run between different AS, referred to as external BGP (External BGP, abbreviation EBGP).
BGP is a kind of Exterior Gateway Protocol and open type shortest path priority protocol (Open Shortest Path First, abbreviation OSPF), routing information protocol (RoutingInformationProtocol, abbreviation RIP) and internal gateway association (Interior Gateway Protocol, abbreviation IGP) difference is discussed, the starting point does not lie in discovery and calculates routing, and is Control propagation and the selection Optimization route of routing.
BMP agreement allows monitoring server to core network device by configuring BMP characteristic on core network device On the operating status of bgp session monitored in real time, the foundation including peer relationship and releasing, routing iinformation etc..
The equipment for being configured for BMP is known as client, and monitoring server is known as monitoring client.One client can connect more A monitoring server.All configurations of BGP establish monitoring server and and core network all on the client, by presetting rule The TCP connection of equipment room.Configuration can determine that the masters that TCP connection is established and passive side, passive side only need to monitor configuration Port information receives qualified TCP connection, and masters then need actively to initiate the connection until TCP is successfully established, That is masters or passive side need to install two agreements, BMP agreement is for logical between monitor client and server Letter, and bgp protocol is for establishing TCP connection between client and server.
What BMP agreement was collected is the routing table information of BGP PEER, and the road for collecting particular neighbor should be able to be supported in configuration The routing table information of all neighbours is collected by table information, or default.
It should be noted that the client in the application can be router, or other equipment, such as: exchange Machine is not particularly limited this application.
Referring to Fig. 2, a kind of monitoring protocol BMP Message processing of borde gateway of the one of embodiment of the application is shown The flow chart of method.In the present embodiment, this method specifically includes:
Step 201: two or more between monitoring server and core network device is established according to presetting rule TCP connection.
Presetting rule can be obtained by controller, can also be default in the controller by presetting rule, and controller should Presetting rule is sent to monitoring server, and perhaps core network device keeps core network device or monitoring server pre- according to this Set the TCP connection that rule establishes two or more.
In practical applications, TCP connection can be established in the following manner:
First way: controller generates presetting rule, and presetting rule is sent to core network device or monitoring takes Business device, establishes the TCP connection between core network device and monitoring server.
The second way: core network device enables monitoring function (at this point, core network device, which is equivalent to, enables control The function of device) neighbours' quantity is obtained, presetting rule is generated, TCP connection is established according to the presetting rule.
The third mode: monitoring server obtains neighbours' quantity by enabling the core network device of monitoring function, generates Presetting rule establishes TCP connection according to the presetting rule.Wherein, presetting rule is unappropriated port letter on monitoring server The corresponding relationship of the neighbours' quantity configured on breath and the core network device.
Unappropriated port information is virtual port information on monitoring server.
It is issued since the neighbours of core network device configure by controller, thus controller can be monitored and be monitored Neighbours' quantity that the connected core network device of server is configured, and then set according to unappropriated port information and core network Standby neighbours' quantity establishes two or more TCP connection.
It should be noted that the controller in the application can preferably be virtual fusion architecture controller VCFC, it can also Think that other controllers, the monitoring server in the application can preferably be BMP monitoring server, this application is not done and is had Body limitation.
Step 202: the BMP message is transmitted by the TCP connection of described two or two or more.
The different neighbours configured on core network device are shared by using two or more TCP connection organizes carrying Bgp routing information BMP message, reduce the problem of single TCP connection not enough causes link to shake because of spatial cache.
The embodiment of the present application, firstly, according to presetting rule establish two between monitoring server and core network device or Two or more TCP connections transmit BMP message by two or more TCP connection, to solve in the prior art There was only the problem of TCP connection between monitoring server and core network device.
Secondly, by obtaining the neighbours' quantity configured on the unappropriated port information of monitoring server and core network device Corresponding relationship, multiple TCP connections are established, when there is a large amount of BMP message for carrying bgp routing informations, by using multiple TCP connection improves the transmission speed of BMP message.
In addition, BMP message is transmitted by using multiple TCP connections, so that there are the progress of multiple TCP connections on same link The transmission of BMP message, so that reducing TCP connection on the basis of not increasing additional chain circuit or link bandwidth sends BMP report The possibility of literary congestion.
Referring to Fig. 3, show at a kind of monitoring protocol BMP message of borde gateway of the application another one embodiment The flow chart of reason method.
Step 301: calculating neighbours' quantity of core network device.
Wherein, core network device can be router, or interchanger does not apply for this to be not particularly limited.
Step 302: if neighbours' quantity is more than given threshold, then follow the steps 303, it is no to then follow the steps 307.
Wherein, the setting of threshold value can be set by those skilled in the art using any appropriate ways, can such as be adopted Manually experience given threshold, or for the difference value given threshold of historical data, the application to this with no restriction.
Step 303: obtaining the neighbours' number configured on unappropriated port information and core network device on monitoring server Amount.
Controller or core network device or monitoring server can obtain unallocated on monitoring server Port information, controller can obtain unappropriated on monitoring server independently of core network device or monitoring server Controller can also be arranged in core network device or be arranged in monitoring server, utilize core net by port information The enabled monitoring function of network equipment or monitoring server obtains unappropriated port information on monitoring server, can also use it His mode obtains unappropriated port information on monitoring server, is not particularly limited to this application.
It is illustrated to obtain in the following manner on monitoring server with controller in this embodiment and not divide The port information matched.
Controller sends inquiry request to monitoring server.
Monitoring server receives the inquiry request, is believed according to the unappropriated port of the inquiry request query monitor server Breath, will inquire unappropriated port information and be sent to controller.
Such as: it is 8000-10000 that controller, which inquires unappropriated port information on monitoring server, then monitoring service 8000-10000 is fed back to controller end by device, and controller carries out subsequent operation according to unappropriated port information.
Step 304: the presetting rule is determined according to the corresponding neighbours' quantity of each port information of setting.
Presetting rule is the neighbours configured on unappropriated port information and the core network device on monitoring server The corresponding relationship of quantity, controller can monitor the corresponding neighbours' quantity of unappropriated port information at this time, not can determine that The specific corresponding neighbours' quantity in each port, therefore present inventor proposes total neighbours' quantity being evenly distributed to each end Mouthful, if neighbours' quantity continues growing, presetting increases to a certain number of neighbours, then increases a port information, in turn A TCP connection is increased, such as: 10 neighbours of every increase are preset, then increase a port information, and then increase one A TCP connection, is successively analogized.
Such as: neighbours' quantity of core network device is 600,000, and monitoring server has 4 virtual port informations, at this point, The corresponding neighbours' quantity of each virtual port information is 200,000, and then establishes 4 TCP connections, is used for transmission BMP message.
It should be noted that the application presets every 10 neighbours using a TCP connection, it is only to be used as example, The adjustment that can carry out adaptability according to the actual situation, is not particularly limited this application.
Step 305: two or more between monitoring server and core network device is established according to presetting rule TCP connection.
Preferably, step 305 includes following sub-step:
Step 3051: selecting designated port information from the unappropriated port information.
Multiple designated port information are selected from unappropriated port information.
Such as: the unappropriated port information of monitoring server are as follows: 8000-10000 is therefrom selected according to presetting rule Designated port information are as follows: 8000,8288,8566,8711 and 9011.
The multiple designated port information selected are sent to monitoring server by controller, so that monitoring server will be described Port information of multiple designated port information as the TCP connection.
In practical applications, multiple designated port information of selection can also be sent to by monitoring using core network device Server, so that monitoring server is using the multiple designated port information as the port information of the TCP connection.
Step 3052: Xiang Suoshu core network device issues the neighbours' quantity and the finger that the core network device configures Determine the corresponding relationship of port information.
Corresponding relationship is configured according to neighbours' quantity.Such as: neighbours' quantity is 50, presets each 10 neighbours It occupies and uses a port information, at this point, then needing 5 port informations, and then establish 5 TCP connections.
Step 3053: being closed according to neighbours' quantity of core network device configuration and the corresponding of the designated port information System, establishes two or more the TCP connection between the core network device and the monitoring server.
Step 306: the BMP message being transmitted by two or more the TCP connection, process terminates.
The BMP message that different neighbours organize the bgp routing information carried is shared by using multiple TCP connections, is reduced single The problem of TCP connection not enough causes link to shake because of spatial cache.
Assuming that: there are 50 neighbours, each 300,000 routing iinformation of neighbours on core network device, each BMP message carries 500 Bgp routing information then needs a neighbours to send 600 BMP messages.When use the prior art, at this time when a TCP connection It needs to transmit 30,000 BMP messages, since the caching of TCP connection distribution is limited, and then causes BMP message that congestion occurs and causes Link concussion.By the application, controller distributes 5 virtual port informations and is used to fictionalize 5 TCP connections, each TCP connection It is associated with respectively with 10 bgp neighbor groups, 10 bgp neighbors are then 6000 messages, it is assumed that the spatial cache phase of each TCP connection Together, transmission speed is identical, needs 1/5th times when TCP connection, all neighbours' bgp routing informations can be collected Completely, the link between equipment and monitoring server will not be caused to shake due to TCP caches limited, improves stability.
Preferably, step 306 includes following sub-step:
Step 3061: to each neighbor device setting index label of core network device.
Index label is randomly provided to each neighbor device of core network device, the neighbor device of same tag is used Identical index label.
Step 3062: establishing the corresponding relationship of the index label and the TCP connection.
Step 3063: according to the corresponding relationship of the index label and the TCP connection, being sent out by corresponding TCP connection Send the BMP message.
Such as: TCP index label, every 10 neighbor devices are randomly provided to each neighbor device on core network device It is marked using an identical TCP index, then establishes the corresponding relationship of TCP index label and TCP connection, 10 neighbor devices Bgp routing information mark the forwarding of corresponding TCP connection to carry the BMP message of bgp routing information by index.
Step 307: BMP message being handled using existing procedure, process terminates.
It should be noted that the embodiment of the present application is illustrated by taking controller end as an example, monitoring clothes are established according to presetting rule Two or more the TCP connection being engaged between device and core network device, can also use monitoring service in practical applications Device or core network device end create two or more TCP connection, and specific operating method is referred to controller It carries out, this application is not particularly limited.
The embodiment of the present application, firstly, according to presetting rule establish two between monitoring server and core network device or Two or more TCP connections transmit BMP message by two or more TCP connection, to solve in the prior art There was only the problem of TCP connection between monitoring server and core network device.
Secondly, by obtaining the neighbours' quantity configured on the unappropriated port information of monitoring server and core network device Corresponding relationship, multiple TCP connections are established, when there is a large amount of BMP message for carrying bgp routing informations, by using multiple TCP connection improves the transmission speed of BMP message.
In addition, BMP message is transmitted by using multiple TCP connections, so that there are the progress of multiple TCP connections on same link The transmission of BMP message, so that reducing TCP connection on the basis of not increasing additional chain circuit or link bandwidth sends BMP report The possibility of literary congestion.
In order to which those skilled in the art better understand the technical solution of the application restriction, realization is shown referring to fig. 4 originally Apply for a kind of application example of the structural block diagram of the monitoring protocol message processing method of borde gateway.
The present embodiment includes: VCFC controller, BMP monitoring server, router RouterA, RouterB and core routing Device Core router.
Detailed process is as follows:
1, it is issued since the neighbours of BGP configure by VCFC controller, thus VCFC controller is known and monitoring server phase Neighbours' quantity that core network device even is established, thus the corresponding neighbours' quantity in each port can be preset, according to The corresponding neighbours' quantity in each port determines presetting rule, it is assumed that presetting rule is that every 10 bgp neighbors are connected with a TCP It connects, 10 neighbours of every increase are then further added by a TCP connection.2, VCFC controller is set according to the network planning to Core router Standby to have issued 50 bgp neighbor configurations, then controller sends the query information of unappropriated port information to monitoring server, looks into It is unallocated to ask which port numbers of monitoring server;Monitoring server feeds back unallocated port information to it, such as the end 8000-10000 Message breath is all unallocated;
3, VCFC controller then needs 5 due to there is 50 neighbours according to the rule of one TCP connection of every 10 neighbours A TCP connection, thus need to select the port information of 5 monitoring servers from unappropriated port information at random, and notice Give monitoring server this 5 port informations, the port information of the TCP connection as BMP, and make its setting.
4, VCFC controller issues the TCP connection configuration and designated port information of BMP to Core router equipment, virtually The TCP connection of multiple BMP agreements out is shared the BMP message that different neighbours organize carrying bgp routing information using the TCP connection, is subtracted Few single TCP connection not enough leads to the concussion of link because of spatial cache.
Assuming that 5 port informations that VCFC controller randomly selects are respectively 8000,8288,8566,8711,9011, then The TCP connection of foundation is 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
There are 5 TCP connections, the interface of Core router equipment between Core router equipment and monitoring server in this way Source address is 100.1.1.1.
It 5, is that each neighbor device stamps TCP index label, every 10 neighbor devices at random in Core router equipment With an identical TCP index label, then the corresponding relationship of TCP index label and TCP connection is established, 10 neighbours' Bgp routing information is marked the BMP message of corresponding TCP connection forwarding carrying bgp routing information by TCP index, by different TCP connection forwards the BMP message of the carrying bgp routing information of different neighbours, improves the transmission speed of BMP message, mentions simultaneously High link stability between equipment and monitoring server.
Based on the description of the above method embodiment, present invention also provides a kind of monitoring protocol BMP messages of borde gateway Processing Installation practice, content described in Lai Shixian above method embodiment.
Referring to Fig. 5, it illustrates a kind of monitoring protocol BMP messages of borde gateway of the one of embodiment of the application The structure chart of processing unit, can specifically include:
Module 501 is established, for establishing two or two between monitoring server and core network device according to presetting rule TCP connection more than item.
Wherein, the presetting rule is to match on unappropriated port information and the core network device on monitoring server The corresponding relationship for the neighbours' quantity set.
Transmission module 502 transmits the BMP message for two or more the TCP connection described in.
The embodiment of the present application, firstly, according to presetting rule establish two between monitoring server and core network device or Two or more TCP connections transmit BMP message by two or more TCP connection, to solve in the prior art There was only the problem of TCP connection between monitoring server and core network device.
Secondly, by obtaining the neighbours' quantity configured on the unappropriated port information of monitoring server and core network device Corresponding relationship, multiple TCP connections are established, when there is a large amount of BMP message for carrying bgp routing informations, by using multiple TCP connection improves the transmission speed of BMP message.
In addition, BMP message is transmitted by using multiple TCP connections, so that there are the progress of multiple TCP connections on same link The transmission of BMP message, so that reducing TCP connection on the basis of not increasing additional chain circuit or link bandwidth sends BMP report The possibility of literary congestion.
Referring to Fig. 6, it illustrates a kind of monitoring protocol BMP messages of borde gateway of the application another one embodiment Processing unit structure chart, can specifically include:
Computing module 601, for calculating neighbours' quantity of core network device.
Judgment module 602, if being more than given threshold for neighbours' quantity, module 603 is established in triggering, otherwise, then Trigger processing module 605.
The module of establishing is also used to obtain the presetting rule, described to establish module further include: acquisition submodule 6031, For obtaining the neighbours' quantity configured on unappropriated port information and core network device on monitoring server.
First corresponding relationship submodule 6032 determines institute for the corresponding neighbours' quantity of each port information according to setting State presetting rule.
Preferably, described to establish module further include: selection submodule, for being selected from the unappropriated port information Designated port information out.
The multiple designated port information selected are sent to monitoring server, so that monitoring server is by the multiple finger Determine port information of the port information as the TCP connection.
First sending submodule, for sending neighbours' number that the core network device configures to the core network device Amount and designated port information.
TCP connection submodule, neighbours' quantity and the designated ends message for being configured according to the core network device Breath, establishes two or more the TCP connection between the core network device and the monitoring server.
Transmission module 604 transmits the BMP message for two or more the TCP connection described in.
Preferably, the transmission module 604 further include: index label submodule, for each of core network device Neighbor device setting index label.
Second corresponding relationship submodule, for establishing the corresponding relationship of the index label and the TCP connection.
Second transmission unit 6043 passes through correspondence for the corresponding relationship according to the index label and the TCP connection TCP connection send the BMP message.
Processing module 605, for being handled using existing procedure BMP message.
The embodiment of the present application, firstly, according to presetting rule establish two between monitoring server and core network device or Two or more TCP connections transmit BMP message by two or more TCP connection, to solve in the prior art There was only the problem of TCP connection between monitoring server and core network device.
Secondly, by obtaining the neighbours' quantity configured on the unappropriated port information of monitoring server and core network device Corresponding relationship, multiple TCP connections are established, when there is a large amount of BMP message for carrying bgp routing informations, by using multiple TCP connection improves the transmission speed of BMP message.
In addition, the embodiment of the present application transmits BMP message by using multiple TCP connections, so that existing on same link more A TCP connection carries out the transmission of BMP message, to reduce TCP on the basis of not increasing additional chain circuit or link bandwidth Connection sends the possibility of BMP packet congestion.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.

Claims (10)

1. a kind of processing method of the monitoring protocol BMP message of borde gateway characterized by comprising
The TCP connection of two or more between monitoring server and core network device is established according to presetting rule;
The BMP message is transmitted by two or more the TCP connection;
Wherein, the presetting rule is to configure on unappropriated port information and the core network device on monitoring server The corresponding relationship of neighbours' quantity.
2. the method according to claim 1, wherein the step of obtaining the presetting rule includes:
Obtain the neighbours' quantity configured on unappropriated port information and core network device on monitoring server;
The presetting rule is determined according to the corresponding neighbours' quantity of each port information of setting.
3. the method according to claim 1, wherein described establish monitoring server and core according to presetting rule The step of two or more TCP connection of LA Management Room, comprising:
Designated port information is selected from the unappropriated port information;
Neighbours' quantity that the core network device configures and the designated port information are issued to the core network device Corresponding relationship;
According to the corresponding relationship of neighbours' quantity of core network device configuration and the designated port information, the core is established Two or more TCP connection between the heart network equipment and the monitoring server.
4. the method according to claim 1, wherein described pass through two or more the TCP connection The step of transmitting the BMP message include:
To each neighbor device setting index label of core network device;
Establish the corresponding relationship of the index label and the TCP connection;
According to the corresponding relationship of the index label and the TCP connection, the BMP message is sent by corresponding TCP connection.
5. according to the method described in claim 2, it is characterized in that, unappropriated port is believed on the acquisition monitoring server Before the step of neighbours' quantity configured on breath and core network device further include:
Calculate neighbours' quantity of core network device;
If neighbours' quantity is more than given threshold, obtains unappropriated port information and core network on monitoring server and set Neighbours' quantity of standby upper configuration.
6. a kind of processing unit of the monitoring protocol BMP message of borde gateway characterized by comprising
Establish module, for being established according to presetting rule between monitoring server and core network device two or more TCP connection, wherein the presetting rule is to match on unappropriated port information and the core network device on monitoring server The corresponding relationship for the neighbours' quantity set;
Transmission module transmits the BMP message for two or more the TCP connection described in.
7. device according to claim 6, which is characterized in that the module of establishing is also used to obtain the presetting rule, It is described to establish module further include:
Acquisition submodule, for obtaining the neighbours configured on unappropriated port information and core network device on monitoring server Quantity;
First corresponding relationship submodule determines the preset rule for the corresponding neighbours' quantity of each port information according to setting Then.
8. device according to claim 6, which is characterized in that described to establish module further include:
Submodule is selected, for selecting designated port information from the unappropriated port information;
First sending submodule, for the core network device send neighbours' quantity that the core network device configures and The corresponding relationship of designated port information;
TCP connection submodule, neighbours' quantity and the designated port information for being configured according to the core network device Corresponding relationship establishes two or more the TCP connection between the core network device and the monitoring server.
9. device according to claim 6, which is characterized in that the transmission module further include:
Index label submodule, for each neighbor device setting index label to core network device;
Second corresponding relationship submodule, for establishing the corresponding relationship of the index label and the TCP connection;
Second sending submodule passes through corresponding TCP for the corresponding relationship according to the index label and the TCP connection Connection sends the BMP message.
10. device according to claim 7, which is characterized in that described device further include:
Computing module, for calculating neighbours' quantity of core network device;
Judgment module triggers the acquisition submodule and obtains monitoring service if being more than given threshold for neighbours' quantity The neighbours' quantity configured on unappropriated port information and core network device on device.
CN201610547798.0A 2016-07-07 2016-07-07 The treating method and apparatus of BMP message Active CN106169978B (en)

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 CN106169978A (en) 2016-11-30
CN106169978B true 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)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113114525B (en) 2016-12-01 2025-04-08 华为技术有限公司 Route detection method and network equipment
CN112039769B (en) * 2016-12-28 2024-10-15 华为技术有限公司 A method for processing routing and network equipment
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
CN110602268B (en) * 2019-09-23 2023-02-10 杭州海兴电力科技股份有限公司 Tunnel port allocation method and device, electronic equipment and storage medium
CN112822103B (en) 2019-11-15 2022-09-23 华为技术有限公司 Information reporting method, information processing method and equipment
CN113572685B (en) 2020-04-29 2023-03-10 华为技术有限公司 Information reporting method, information processing method, device and equipment
CN114244734B (en) * 2021-11-19 2024-02-09 新华三技术有限公司合肥分公司 Message sending method and 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

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1738314A (en) * 2004-08-18 2006-02-22 华为技术有限公司 A method for sending and receiving service data by a terminal
CN101296124A (en) * 2008-06-27 2008-10-29 华为技术有限公司 Method, device and system for obtaining device 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 华为技术有限公司 A network device and method for sending BGP information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11032138B2 (en) * 2014-10-22 2021-06-08 Level 3 Communications, Llc Managing traffic control in a network mitigating DDOS

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1738314A (en) * 2004-08-18 2006-02-22 华为技术有限公司 A method for sending and receiving service data by a terminal
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 obtaining device 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 华为技术有限公司 A network device and method for sending BGP information
CN104660502A (en) * 2015-03-16 2015-05-27 杭州华三通信技术有限公司 Method and device for announcing route to EBGP (external border gateway protocol) neighbor

Also Published As

Publication number Publication date
CN106169978A (en) 2016-11-30

Similar Documents

Publication Publication Date Title
CN106169978B (en) The treating method and apparatus of BMP message
CN105830395B (en) Session-based packet routing for analytics
EP3228054B1 (en) Inter-domain service function chaining
EP3193477B1 (en) Data plane learning of bi-directional service chains
CN104301451B (en) A kind of cross-network segment host communication method, apparatus and system
JP6532526B2 (en) Network control method and device
JP2017518710A (en) Service flow processing method, apparatus, and device
EP2509262B1 (en) Unaddressed device communication from within an MPLS network
EP3576347B1 (en) Network device snapshots
US9137135B2 (en) Selective IP address allocation for probes that do not have assigned IP addresses
CN104320502B (en) Terminating gateway IP address distribution method, the method for data transfer, MME and system
EP3758294B1 (en) Link configuration method and controller
EP3753200A1 (en) Service related routing method and apparatus
US9467374B2 (en) Supporting multiple IEC-101/IEC-104 masters on an IEC-101/IEC-104 translation gateway
WO2017213745A1 (en) Self-protecting computer network router with queue resource manager
CN104113474B (en) Generation method, controller and the system of forward-path
EP1185041A2 (en) OSPF autonomous system with a backbone divided into two sub-areas
WO2017196562A1 (en) Apparatus and method of selecting next hops for a session
CN105745905A (en) Delivery and storage of content within a network
EP2852094B1 (en) A system for remotely controlling and/or monitoring power distribution units or sensor units in a data centre
CN107659930A (en) A kind of AP connection control methods and device
CN104348744B (en) A kind of path calculation method and path-calculating element
JP6544242B2 (en) PACKET TRANSFER SYSTEM, CONTROL DEVICE, RELAY DEVICE CONTROL METHOD, AND PROGRAM
JP5991427B2 (en) Control device, communication system, control information transmission method and program
CN110049017A (en) Message interworking unit and method between heterogeneous platform

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