Movatterモバイル変換


[0]ホーム

URL:


CN113132129B - Network management method, device, system, and storage medium - Google Patents

Network management method, device, system, and storage medium
Download PDF

Info

Publication number
CN113132129B
CN113132129BCN201911397457.XACN201911397457ACN113132129BCN 113132129 BCN113132129 BCN 113132129BCN 201911397457 ACN201911397457 ACN 201911397457ACN 113132129 BCN113132129 BCN 113132129B
Authority
CN
China
Prior art keywords
route
route reflector
network node
reflector
reflectors
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
CN201911397457.XA
Other languages
Chinese (zh)
Other versions
CN113132129A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co LtdfiledCriticalHuawei Technologies Co Ltd
Priority to CN201911397457.XApriorityCriticalpatent/CN113132129B/en
Publication of CN113132129ApublicationCriticalpatent/CN113132129A/en
Application grantedgrantedCritical
Publication of CN113132129BpublicationCriticalpatent/CN113132129B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The application provides a network management method, a device, a system and a storage medium, and belongs to the technical field of networks. The communication network comprises a route reflector group and a plurality of network nodes, wherein the first network node establishes a transmission channel with a first route reflector in the route reflector group according to configuration information of the route reflector group, transmits route information of the first network node to the first route reflector through the transmission channel between the first route reflector and the first route reflector, transmits route information of the first network node to other route reflectors in the route reflector group through the transmission channel between the first route reflector and the other route reflectors, and transmits route information of the first network node to the second network node through the transmission channel between the second route reflector and the second network node, and the second network node establishes a transmission channel with the first network node according to the route information of the first network node. The present application helps to reduce the performance pressure of the routing reflector.

Description

Translated fromChinese
网络管理方法、装置及系统、存储介质Network management method, device, system, and storage medium

技术领域Technical Field

本申请涉及网络技术领域,特别涉及一种网络管理方法、装置及系统、存储介质。The present application relates to the field of network technology, and in particular to a network management method, device and system, and storage medium.

背景技术Background technique

软件定义广域网(software defined wide area network,SDWAN)通常包括控制器和多个网络节点,该多个网络节点可以包括总部(hub)节点和分支(spoke)节点,总部节点用于管理分支节点,控制器用于管理总部节点和分支节点。SDWAN中的该多个网络节点之间可以基于多协议标签交换(multi-protocol label switching,MPLS)技术、因特网(internet)技术或长期演进(long term evolution,LTE)技术相互通信,并基于动态智能虚拟专用网络(dynamic smart virtual private network,DSVPN)技术或智能虚拟专用网络(automatic virtual private network,Auto VPN)技术构建虚拟业务网络。A software defined wide area network (SDWAN) generally includes a controller and multiple network nodes, which may include a hub node and a spoke node, the hub node is used to manage the spoke node, and the controller is used to manage the hub node and the spoke node. The multiple network nodes in the SDWAN can communicate with each other based on multi-protocol label switching (MPLS) technology, Internet technology or long term evolution (LTE) technology, and build a virtual business network based on dynamic smart virtual private network (DSVPN) technology or automatic virtual private network (Auto VPN) technology.

为了降低总部节点的性能压力,基于Auto VPN技术的SDWAN中增加了路由反射器(route reflector,RR),将总部节点的部分功能转移到RR上,由RR对网络节点(例如包括总部节点和分支节点)进行管理,例如,由RR转发不同的网络节点的路由信息。目前,在基于Auto VPN技术的SDWAN中,当网络节点较多时,为了降低RR的性能压力,通常会对该SDWAN分区域管理。也即是,将SDWAN划分为多个区域,每个区域中包括一个RR和至少两个网络节点,不同区域中的RR相互通信,每个区域中的RR与网络节点相互通信,每个区域中的不同网络节点在该区域中的RR管理下相互通信。In order to reduce the performance pressure of the headquarters node, a route reflector (RR) is added to the SDWAN based on Auto VPN technology, and part of the functions of the headquarters node are transferred to the RR, which manages the network nodes (such as the headquarters node and branch nodes). For example, the RR forwards the routing information of different network nodes. At present, in the SDWAN based on Auto VPN technology, when there are many network nodes, in order to reduce the performance pressure of the RR, the SDWAN is usually managed in different regions. That is, the SDWAN is divided into multiple regions, each region includes an RR and at least two network nodes, the RRs in different regions communicate with each other, the RRs in each region communicate with the network nodes, and the different network nodes in each region communicate with each other under the management of the RR in the region.

但是,对SDWAN分区域管理的方案中,不同区域中的网络节点若需要相互访问,需要该不同区域中的RR相互交互为该不同区域中的网络节点配置路由信息,并反射该路由信息,因此RR的性能压力较大。However, in the SDWAN regional management solution, if network nodes in different areas need to access each other, the RRs in different areas need to interact with each other to configure routing information for the network nodes in different areas and reflect the routing information, so the performance pressure of RR is relatively high.

发明内容Summary of the invention

本申请实施例提供一种网络管理方法、装置及系统、存储介质,有助于减小通信网络中路由反射器的性能压力。本申请实施例的技术方案如下:The embodiments of the present application provide a network management method, device, system, and storage medium, which are helpful to reduce the performance pressure of the route reflector in the communication network. The technical solution of the embodiments of the present application is as follows:

第一方面,提供一种网络管理方法,应用于通信网络中的第一网络节点,该通信网络包括路由反射器组和多个网络节点,该路由反射器组包括多个路由反射器,每个路由反射器与该路由反射器组中的至少一个路由反射器之间建立有传输通道,该第一网络节点为该多个网络节点中的任意一个,该方法包括:根据路由反射器组的配置信息,与该路由反射器组中的第一路由反射器建立传输通道,该路由反射器组的配置信息包括该路由反射器组中的每个路由反射器的配置信息;通过与该第一路由反射器之间的传输通道,向该第一路由反射器发送第一网络节点的路由信息,以便于该第一路由反射器通过该第一路由反射器与该路由反射器组中的其他路由反射器之间的传输通道,向该其他路由反射器发送该第一网络节点的路由信息。In a first aspect, a network management method is provided, which is applied to a first network node in a communication network, wherein the communication network includes a route reflector group and multiple network nodes, the route reflector group includes multiple route reflectors, and a transmission channel is established between each route reflector and at least one route reflector in the route reflector group. The first network node is any one of the multiple network nodes, and the method includes: establishing a transmission channel with a first route reflector in the route reflector group according to configuration information of the route reflector group, wherein the configuration information of the route reflector group includes configuration information of each route reflector in the route reflector group; and sending routing information of the first network node to the first route reflector through the transmission channel between the first route reflector and the other route reflectors in the route reflector group, so that the first route reflector sends the routing information of the first network node to the other route reflectors through the transmission channel between the first route reflector and the other route reflectors in the route reflector group.

在本申请实施例中,第一路由反射器向路由反射器组中的其他路由反射器发送第一网络节点的路由信息之后,该其他路由反射器中的第二路由反射器可以通过与第二网络节点之间的传输通道,向该第二网络节点发送该第一网络节点的路由信息,使得该第二网络节点能够根据该第一网络节点的路由信息与该第一网络节点建立传输通道,实现路由互通并进行数据传输。本申请实施例提供的技术方案无需对通信网络分区域管理,因此有助于降低路由反射器的性能压力,简化路由反射器的配置,且对外不会复杂化通信网络的组网。In an embodiment of the present application, after the first route reflector sends the routing information of the first network node to other route reflectors in the route reflector group, the second route reflector in the other route reflectors can send the routing information of the first network node to the second network node through the transmission channel between the second network node, so that the second network node can establish a transmission channel with the first network node according to the routing information of the first network node, realize route intercommunication and perform data transmission. The technical solution provided by the embodiment of the present application does not require regional management of the communication network, so it helps to reduce the performance pressure of the route reflector, simplify the configuration of the route reflector, and does not complicate the networking of the communication network externally.

可选地,根据路由反射器组的配置信息,与该路由反射器组中的第一路由反射器建立传输通道,包括:根据路由反射器组的配置信息,从该路由反射器组中确定第一路由反射器;与该第一路由反射器建立传输通道。其中,第一网络节点从路由反射器组中确定第一路由反射器,可以便于第一网络节点与该第一路由反射器建立传输通道。Optionally, establishing a transmission channel with a first route reflector in the route reflector group according to the configuration information of the route reflector group includes: determining a first route reflector from the route reflector group according to the configuration information of the route reflector group; and establishing a transmission channel with the first route reflector. The first network node determining the first route reflector from the route reflector group can facilitate the first network node to establish a transmission channel with the first route reflector.

可选地,该路由反射器的配置信息包括该路由反射器的优先级信息,根据路由反射器组的配置信息,从该路由反射器组中确定第一路由反射器,包括:根据路由反射器组中的各个路由反射器的优先级信息,从该路由反射器组中确定第一路由反射器。Optionally, the configuration information of the route reflector includes priority information of the route reflector, and determining the first route reflector from the route reflector group according to the configuration information of the route reflector group includes: determining the first route reflector from the route reflector group according to the priority information of each route reflector in the route reflector group.

在本申请实施例中,第一网络节点根据路由反射器组中的各个路由反射器的优先级信息从该路由反射器组中确定第一路由反射器的方式可以是固定选举的方式。在该固定选举的方式中,第一网络节点可以根据每个路由反射器的优先级信息确定该路由反射器的优先级,将该路由反射器组中优先级最高的路由反射器确定为第一路由反射器。In an embodiment of the present application, the manner in which the first network node determines the first route reflector from the route reflector group according to the priority information of each route reflector in the route reflector group may be a fixed election manner. In the fixed election manner, the first network node may determine the priority of the route reflector according to the priority information of each route reflector, and determine the route reflector with the highest priority in the route reflector group as the first route reflector.

可选地,根据路由反射器组的配置信息,从该路由反射器组中确定第一路由反射器,包括:根据路由反射器组的配置信息,确定该路由反射器组中的路由反射器的数量;根据该路由反射器组中的路由反射器的数量,对该路由反射器组中的路由反射器进行排列组合,得到该路由反射器组对应的至少一种路由反射器序列,每种该路由反射器序列包括该路由反射器组中的所有路由反射器;从该至少一种路由反射器序列中确定目标序列;根据该目标序列,从该路由反射器组中确定第一路由反射器。Optionally, according to the configuration information of the route reflector group, determining the first route reflector from the route reflector group includes: determining the number of route reflectors in the route reflector group according to the configuration information of the route reflector group; according to the number of route reflectors in the route reflector group, arranging and combining the route reflectors in the route reflector group to obtain at least one route reflector sequence corresponding to the route reflector group, each of the route reflector sequences including all route reflectors in the route reflector group; determining a target sequence from the at least one route reflector sequence; and determining the first route reflector from the route reflector group according to the target sequence.

在本申请实施例中,第一网络节点对路由反射器进行排列组合并根据排列组合得到的目标序列从路由反射器组中确定第一路由反射器的方式可以是均衡选举的方式。在该均衡选举的方式中,第一网络节点可以将路由反射器组的配置信息所包含的路由反射器的配置信息的数量,确定为该路由反射器组中的路由反射器的数量,根据该路由反射器组中的路由反射器的数量,以及该路由反射器组中的路由反射器的设备标识,对该路由反射器组中的路由反射器进行排列组合,得到该路由反射器组对应的至少一种路由反射器序列。In an embodiment of the present application, the first network node arranges and combines the route reflectors and determines the first route reflector from the route reflector group according to the target sequence obtained by the arrangement and combination, which may be a balanced election method. In the balanced election method, the first network node may determine the number of configuration information of the route reflectors contained in the configuration information of the route reflector group as the number of route reflectors in the route reflector group, and arrange and combine the route reflectors in the route reflector group according to the number of route reflectors in the route reflector group and the device identifiers of the route reflectors in the route reflector group to obtain at least one route reflector sequence corresponding to the route reflector group.

可选地,每种路由反射器序列具有序列号,不同路由反射器序列的序列号不同,从至少一种路由反射器序列中确定目标序列,包括:根据第一网络节点的设备标识和路由反射器组中的路由反射器的数量,确定目标序列号;将至少一种路由反射器序列中,序列号为该目标序列号的路由反射器序列确定为目标序列。示例地,第一网络节点可以计算第一网络节点的设备标识和该路由反射器组中的路由反射器的数量的哈希值,将该哈希值确定为目标序列号。Optionally, each route reflector sequence has a sequence number, and different route reflector sequences have different sequence numbers. Determining a target sequence from at least one route reflector sequence includes: determining the target sequence number according to a device identifier of the first network node and the number of route reflectors in the route reflector group; and determining a route reflector sequence having a sequence number of the target sequence number in at least one route reflector sequence as the target sequence. For example, the first network node may calculate a hash value of the device identifier of the first network node and the number of route reflectors in the route reflector group, and determine the hash value as the target sequence number.

可选地,根据路由反射器组的配置信息,从该路由反射器组中确定第一路由反射器,包括:根据路由反射器组的配置信息,获取第一网络节点与该路由反射器组中的每个路由反射器之间的通信链路的链路质量;根据该第一网络节点与该路由反射器组中的各个路由反射器之间的通信链路的链路质量,从该路由反射器组中确定第一路由反射器。Optionally, according to the configuration information of the route reflector group, determining the first route reflector from the route reflector group includes: obtaining the link quality of the communication link between the first network node and each route reflector in the route reflector group according to the configuration information of the route reflector group; and determining the first route reflector from the route reflector group according to the link quality of the communication link between the first network node and each route reflector in the route reflector group.

在本申请实施例中,第一网络节点根据链路质量从路由反射器组中确定第一路由反射器的方式可以是智能选举的方式。在该智能选举的方式中,第一网络节点可以通过各种链路检测技术检测通信链路的链路质量,并根据链路质量从该路由反射器组中确定第一路由反射器。其中,链路质量可以包括链路时延(delay)、链路抖动(jitter)或链路丢包率(loss)中的至少一种。本领域技术人员容易理解,通过该智能选举的方式,第一网络节点可以从路由反射器组中选举出链路质量较好的路由反射器作为第一路由反射器,并与该第一路由反射器建立传输通道,保证第一网络网络与第一路由反射器通信的可靠性。In an embodiment of the present application, the manner in which the first network node determines the first route reflector from the route reflector group according to the link quality may be an intelligent election manner. In the intelligent election manner, the first network node may detect the link quality of the communication link through various link detection technologies, and determine the first route reflector from the route reflector group according to the link quality. Among them, the link quality may include at least one of link delay, link jitter, or link packet loss rate. It is easy for a person skilled in the art to understand that, through the intelligent election manner, the first network node may select a route reflector with better link quality from the route reflector group as the first route reflector, and establish a transmission channel with the first route reflector to ensure the reliability of communication between the first network and the first route reflector.

可选地,根据第一网络节点与路由反射器组中的各个路由反射器之间的通信链路的链路质量,从该路由反射器组中确定第一路由反射器,包括:根据第一网络节点与路由反射器组中的每个路由反射器之间的通信链路的链路质量,确定该第一网络节点与该每个路由反射器之间的通信链路的综合度量指标,每条通信链路的综合度量指标用于表征该通信链路的综合链路质量;根据该第一网络节点与该路由反射器组中的各个路由反射器之间的通信链路的综合度量指标,从该路由反射器组中确定第一路由反射器。Optionally, according to the link quality of the communication link between the first network node and each route reflector in the route reflector group, the first route reflector is determined from the route reflector group, including: according to the link quality of the communication link between the first network node and each route reflector in the route reflector group, a comprehensive measurement index of the communication link between the first network node and each route reflector is determined, and the comprehensive measurement index of each communication link is used to characterize the comprehensive link quality of the communication link; according to the comprehensive measurement index of the communication link between the first network node and each route reflector in the route reflector group, the first route reflector is determined from the route reflector group.

可选地,链路质量包括:链路时延、链路抖动或链路丢包率中的至少一种,根据第一网络节点与路由反射器组中的每个路由反射器之间的通信链路的链路质量,确定该第一网络节点与该每个路由反射器之间的通信链路的综合度量指标,包括:根据第一网络节点与每个路由反射器之间的通信链路的链路质量,采用综合度量指标公式确定该第一网络节点与该每个路由反射器之间的通信链路的综合度量指标;其中,该综合度量指标公式为:C=9000-[min(k1×D,Dmax)+min(k2×J,Jmax)+min(k3×L,Lmax)],C表示综合度量指标,D表示链路时延,J表示链路抖动,L表示链路丢包率,Dmax表示链路时延的最大值,Jmax表示链路抖动的最大值,Lmax表示链路丢包率的最大值,k1、k2和k3均为常数。min(k1×D,Dmax)表示取k1×D和Dmax中的较小者,min(k2×J,Jmax)表示取k2×J和Jmax中的较小者,min(k3×L,Lmax)表示取k3×L和Lmax中的较小者。其中,k1、k2和k3的缺省值分别为1,也即是,[min(k1×D,Dmax)+min(k2×J,Jmax)+min(k3×L,Lmax)]缺省定义为[min(D,Dmax)+min(J,Jmax)+min(L,Lmax)]。k1、k2和k3的取值可以根据实际业务需求设置,例如,k1=1,k2=10,k3=1,则该综合度量指标公式可以为:C=9000-[min(D,Dmax)+min(10×J,Jmax)+min(L,Lmax)]。需要说明的是,通常情况下,k1×D≤Dmax,k2×J≤Jmax,k3×L≤Lmax,则前述综合度量指标公式可以简化为:C=9000-(k1×D+k2×J+k3×L)。Optionally, the link quality includes: at least one of link delay, link jitter or link packet loss rate, and determines a comprehensive measurement index of the communication link between the first network node and each route reflector in the route reflector group according to the link quality of the communication link between the first network node and each route reflector, including: determining the comprehensive measurement index of the communication link between the first network node and each route reflector according to the link quality of the communication link between the first network node and each route reflector using a comprehensive measurement index formula; wherein the comprehensive measurement index formula is: C=9000-[min(k1×D, Dmax)+min(k2×J, Jmax)+min(k3×L, Lmax)], C represents the comprehensive measurement index, D represents the link delay, J represents the link jitter, L represents the link packet loss rate, Dmax represents the maximum value of the link delay, Jmax represents the maximum value of the link jitter, Lmax represents the maximum value of the link packet loss rate, and k1, k2 and k3 are all constants. min(k1×D, Dmax) means taking the smaller of k1×D and Dmax, min(k2×J, Jmax) means taking the smaller of k2×J and Jmax, and min(k3×L, Lmax) means taking the smaller of k3×L and Lmax. The default values of k1, k2, and k3 are 1, that is, [min(k1×D, Dmax)+min(k2×J, Jmax)+min(k3×L, Lmax)] is defined by default as [min(D, Dmax)+min(J, Jmax)+min(L, Lmax)]. The values of k1, k2, and k3 can be set according to actual business needs. For example, k1=1, k2=10, k3=1, then the comprehensive measurement indicator formula can be: C=9000-[min(D, Dmax)+min(10×J, Jmax)+min(L, Lmax)]. It should be noted that, under normal circumstances, k1×D≤Dmax, k2×J≤Jmax, k3×L≤Lmax, then the aforementioned comprehensive measurement index formula can be simplified to: C=9000-(k1×D+k2×J+k3×L).

可选地,第一路由反射器为第一网络节点的主路由反射器,该方法还包括:根据路由反射器组的配置信息,与该路由反射器组中的第一网络节点的备路由反射器建立传输通道;通过与该备路由反射器之间的传输通道,向该备路由反射器发送第一网络节点的路由信息,以便于该备路由反射器通过该备路由反射器与该路由反射器组中的其他路由反射器之间的传输通道,向该其他路由反射器发送该第一网络节点的路由信息。Optionally, the first route reflector is the main route reflector of the first network node, and the method also includes: establishing a transmission channel with the backup route reflector of the first network node in the route reflector group according to the configuration information of the route reflector group; sending the routing information of the first network node to the backup route reflector through the transmission channel between the backup route reflector and the backup route reflector, so that the backup route reflector sends the routing information of the first network node to other route reflectors in the route reflector group through the transmission channel between the backup route reflector and the other route reflectors.

在本申请实施例中,第一网络节点可以在第一网络节点与第一路由反射器的传输通道建立失败时与该第一网络节点的备路由反射器建立传输通道,或者,第一网络节点可以在第一网络节点与第一路由反射器之间的传输通道的性能较差时,与该第一网络节点的备路由反射器建立传输通道。第一网络节点与该备路由反射器建立传输通道,可以保证第一网络节点信号的可靠传输。In an embodiment of the present application, the first network node may establish a transmission channel with a backup route reflector of the first network node when the transmission channel between the first network node and the first route reflector fails to be established, or the first network node may establish a transmission channel with the backup route reflector of the first network node when the performance of the transmission channel between the first network node and the first route reflector is poor. The first network node establishes a transmission channel with the backup route reflector to ensure reliable transmission of the first network node signal.

可选地,在通过与第一路由反射器之间的传输通道,向该第一路由反射器发送第一网络节点的路由信息之前,该方法还包括:激活第一网络节点与第一路由反射器之间的对等体;建立该第一网络节点与该第一路由反射器之间的对等体连接。其中,该对等体可以是边界网关协议(border gateway protocol,BGP)对等体。Optionally, before sending the routing information of the first network node to the first route reflector through the transmission channel between the first network node and the first route reflector, the method further includes: activating a peer between the first network node and the first route reflector; and establishing a peer connection between the first network node and the first route reflector. The peer may be a border gateway protocol (BGP) peer.

第二方面,提供一种网络管理方法,应用于通信网络中的第一路由反射器,该通信网络包括路由反射器组和多个网络节点,该路由反射器组包括多个路由反射器,每个路由反射器与该路由反射器组中的至少一个路由反射器之间建立有传输通道,第一路由反射器为该多个路由反射器中的任意一个,该方法包括:与多个网络节点中的第一网络节点建立传输通道;通过与该第一网络节点之间的传输通道,接收该第一网络节点发送的该第一网络节点的路由信息;通过第一路由反射器与路由反射器组中其他路由反射器之间的传输通道,向该其他路由反射器发送该第一网络节点的路由信息,以便于该路由反射器组中的第二路由反射器通过与第二网络节点之间的传输通道,向该第二网络节点发送该第一网络节点的路由信息,该第二路由反射器为该其他路由反射器中与第一路由反射器建立传输通道的任意一个,该第二网络节点为该多个网络节点中与该第二路由反射器建立传输通道的任意一个。In a second aspect, a network management method is provided, which is applied to a first route reflector in a communication network, the communication network comprising a route reflector group and multiple network nodes, the route reflector group comprising multiple route reflectors, each route reflector having a transmission channel established with at least one route reflector in the route reflector group, the first route reflector being any one of the multiple route reflectors, the method comprising: establishing a transmission channel with a first network node among the multiple network nodes; receiving routing information of the first network node sent by the first network node through the transmission channel between the first route reflector and the first network node; sending routing information of the first network node to other route reflectors in the route reflector group through the transmission channel between the first route reflector and the other route reflectors, so that a second route reflector in the route reflector group sends routing information of the first network node to the second network node through the transmission channel between the second route reflector and the second network node, the second route reflector being any one of the other route reflectors that has established a transmission channel with the first route reflector, and the second network node being any one of the multiple network nodes that has established a transmission channel with the second route reflector.

在本申请实施例中,第一路由反射器接收第一网络节点的路由信息后,向路由反射器组中的其他路由反射器发送该第一网络节点的路由信息,该其他路由反射器中的第二路由反射器可以通过与第二网络节点之间的传输通道,向第二网络节点发送该第一网络节点的路由信息,使得该第二网络节点能够根据第一网络节点的路由信息与该第一网络节点建立传输通道,实现路由互通并进行数据传输。本申请实施例提供的技术方案无需对通信网络分区域管理,因此有助于降低路由反射器的性能压力,简化路由反射器的配置,且对外不会复杂化通信网络的组网。In an embodiment of the present application, after receiving the routing information of the first network node, the first route reflector sends the routing information of the first network node to other route reflectors in the route reflector group, and the second route reflector in the other route reflectors can send the routing information of the first network node to the second network node through the transmission channel between the second network node, so that the second network node can establish a transmission channel with the first network node according to the routing information of the first network node, realize routing intercommunication and perform data transmission. The technical solution provided by the embodiment of the present application does not need to manage the communication network by region, so it helps to reduce the performance pressure of the route reflector, simplify the configuration of the route reflector, and will not complicate the networking of the communication network externally.

可选地,在通过与第一网络节点之间的传输通道,接收该第一网络节点发送的第一网络节点的路由信息之后,该方法还包括:将该第一网络节点的路由信息存储在第一路由反射器的缓冲区中;相应地,通过第一路由反射器与路由反射器组中其他路由反射器之间的传输通道,向该其他路由反射器发送第一网络节点的路由信息,包括:当满足发送条件时,通过第一路由反射器与该路由反射器组中其他路由反射器之间的传输通道,向该其他路由反射器发送第一网络节点的路由信息。Optionally, after receiving the routing information of the first network node sent by the first network node through the transmission channel between the first network node and the first network node, the method also includes: storing the routing information of the first network node in a buffer of the first route reflector; accordingly, sending the routing information of the first network node to other route reflectors in the route reflector group through the transmission channel between the first route reflector and the other route reflectors in the route reflector group, including: when the sending condition is met, sending the routing information of the first network node to the other route reflectors through the transmission channel between the first route reflector and the other route reflectors in the route reflector group.

可选地,该缓冲区配置有计时器,该发送条件包括:该缓冲区中的信息总量达到该缓冲区的最大量或该计时器的计时时长达到目标时长中的至少一种。Optionally, the buffer is configured with a timer, and the sending condition includes at least one of: the total amount of information in the buffer reaches the maximum amount of the buffer or the timing duration of the timer reaches a target duration.

在本申请实施例中,第一路由反射器接收到第一网络节点的路由信息之后,将该路由信息存储在第一路由反射器的缓冲区中,在满足发送条件时向其他路由反射器发送该路由信息,使得第一路由反射器可以对路由信息缓冲后再发送,可以节省第一路由反射器的传输资源。In an embodiment of the present application, after the first route reflector receives the routing information of the first network node, the routing information is stored in a buffer of the first route reflector, and the routing information is sent to other route reflectors when the sending conditions are met, so that the first route reflector can buffer the routing information before sending it, which can save the transmission resources of the first route reflector.

可选地,该发送条件包括计时器的计时时长达到目标时长,在向其他路由反射器发送第一网络节点的路由信息之后,该方法还包括:清空缓冲区,并重置计时器。Optionally, the sending condition includes that the timing duration of the timer reaches a target duration, and after sending the routing information of the first network node to other route reflectors, the method further includes: clearing the buffer and resetting the timer.

在本申请实施例中,第一路由反射器在发送缓冲区中的路由信息后,清空缓冲区并重置计时器,可以便于第一路由反射器使用该缓冲区对后续接收到的信息进行缓冲。In the embodiment of the present application, after sending the routing information in the buffer, the first route reflector clears the buffer and resets the timer, so that the first route reflector can use the buffer to buffer subsequently received information.

可选地,在通过与第一网络节点之间的传输通道,接收该第一网络节点发送的该第一网络节点的路由信息之前,该方法还包括:激活第一路由反射器与第一网络节点之间的对等体;建立该第一路由反射器与该第一网络节点之间的对等体连接。其中,该对等体可以是BGP对等体。Optionally, before receiving the routing information of the first network node sent by the first network node through the transmission channel between the first network node and the first network node, the method further includes: activating a peer between the first route reflector and the first network node; and establishing a peer connection between the first route reflector and the first network node. The peer may be a BGP peer.

第三方面,提供一种网络管理方法,应用于通信网络中的第二路由反射器,该通信网络包括路由反射器组和多个网络节点,该路由反射器组包括多个路由反射器,每个路由反射器与该路由反射器组中的至少一个路由反射器之间建立有传输通道,第二路由反射器为该多个路由反射器中的任意一个,该方法包括:通过与第一路由反射器之间的传输通道,接收该第一路由反射器发送的第一网络节点的路由信息,该第一网络节点为多个网络节点中的任意一个,该第一路由反射器为多个路由反射器中与该第一网络节点建立传输通道的任意一个;通过与第二网络节点之间的传输通道,向该第二网络节点发送第一网络节点的路由信息,以便于该第二网络节点根据该第一网络节点的路由信息,与该第一网络节点建立传输通道,该第二网络节点为该多个网络节点中与该第二路由反射器建立传输通道的任意一个。In a third aspect, a network management method is provided, which is applied to a second route reflector in a communication network, wherein the communication network includes a route reflector group and multiple network nodes, the route reflector group includes multiple route reflectors, each route reflector has a transmission channel established with at least one route reflector in the route reflector group, and the second route reflector is any one of the multiple route reflectors. The method includes: receiving routing information of a first network node sent by the first route reflector through a transmission channel between the first route reflector and the first route reflector, the first network node is any one of the multiple network nodes, and the first route reflector is any one of the multiple route reflectors that establishes a transmission channel with the first network node; sending routing information of the first network node to the second network node through a transmission channel between the second network node and the second network node, so that the second network node establishes a transmission channel with the first network node according to the routing information of the first network node, and the second network node is any one of the multiple network nodes that establishes a transmission channel with the second route reflector.

在本申请实施例中,第二路由反射器通过与第一路由反射器之间的传输通道,接收该第一路由反射器发送的第一网络节点的路由信息,并通过与第二网络节点之间的传输通道,向该第二网络节点发送第一网络节点的路由信息,使得该第二网络节点能够根据第一网络节点的路由信息与该第一网络节点建立传输通道,实现路由互通并进行数据传输。本申请实施例提供的技术方案无需对通信网络分区域管理,因此有助于降低路由反射器的性能压力,简化路由反射器的配置,且对外不会复杂化通信网络的组网。In the embodiment of the present application, the second route reflector receives the routing information of the first network node sent by the first route reflector through the transmission channel between the second route reflector and the first route reflector, and sends the routing information of the first network node to the second network node through the transmission channel between the second route reflector and the first network node, so that the second network node can establish a transmission channel with the first network node according to the routing information of the first network node, realize routing intercommunication and perform data transmission. The technical solution provided by the embodiment of the present application does not require regional management of the communication network, so it helps to reduce the performance pressure of the route reflector, simplify the configuration of the route reflector, and does not complicate the networking of the communication network externally.

第四方面,提供一种网络管理方法,应用于通信网络中的第二网络节点,该通信网络包括路由反射器组和多个网络节点,该路由反射器组包括多个路由反射器,每个路由反射器与该路由反射器组中的至少一个路由反射器之间建立有传输通道,该第二网络节点为该多个网络节点中除第一网络节点之外的任意一个,该方法包括:根据路由反射器组的配置信息,与该路由反射器组中的第二路由反射器建立传输通道,该路由反射器组的配置信息包括该路由反射器组中的每个路由反射器的配置信息;通过与该第二路由反射器之间的传输通道,接收该第二路由反射器发送的第一网络节点的路由信息;根据该第一网络节点的路由信息,与该第一网络节点建立传输通道。In a fourth aspect, a network management method is provided, which is applied to a second network node in a communication network, wherein the communication network includes a route reflector group and multiple network nodes, the route reflector group includes multiple route reflectors, and a transmission channel is established between each route reflector and at least one route reflector in the route reflector group. The second network node is any one of the multiple network nodes except the first network node. The method includes: establishing a transmission channel with a second route reflector in the route reflector group according to configuration information of the route reflector group, the configuration information of the route reflector group including configuration information of each route reflector in the route reflector group; receiving routing information of the first network node sent by the second route reflector through the transmission channel between the second route reflector and the second route reflector; and establishing a transmission channel with the first network node according to the routing information of the first network node.

在本申请实施例中,第二网络节点根据路由反射器组的配置信息,与该路由反射器组中的第二路由反射器建立传输通道后,通过与该第二路由反射器之间的传输通道,接收该第二路由反射器发送的第一网络节点的路由信息,并根据该第一网络节点的路由信息与该第一网络节点建立传输通道,实现路由互通并进行数据传输。本申请实施例提供的技术方案无需对通信网络分区域管理,因此有助于降低路由反射器的性能压力,简化路由反射器的配置,且对外不会复杂化通信网络的组网。In the embodiment of the present application, after the second network node establishes a transmission channel with the second route reflector in the route reflector group according to the configuration information of the route reflector group, the second network node receives the routing information of the first network node sent by the second route reflector through the transmission channel between the second route reflector, and establishes a transmission channel with the first network node according to the routing information of the first network node, so as to realize routing intercommunication and data transmission. The technical solution provided by the embodiment of the present application does not need to manage the communication network by region, so it helps to reduce the performance pressure of the route reflector, simplify the configuration of the route reflector, and does not complicate the networking of the communication network externally.

第五方面,提供一种网络管理装置,该网络管理装置包括至少一个模块,该至少一个模块用于实现上述第一方面或第一方面的任一可选方式所提供的网络管理方法。In a fifth aspect, a network management device is provided, which includes at least one module, and the at least one module is used to implement the network management method provided by the first aspect or any optional method of the first aspect.

第六方面,提供一种网络管理装置,该网络管理装置包括至少一个模块,该至少一个模块用于实现上述第二方面或第二方面的任一可选方式所提供的网络管理方法。In a sixth aspect, a network management device is provided, the network management device comprising at least one module, and the at least one module is used to implement the network management method provided by the second aspect or any optional method of the second aspect.

第七方面,提供一种网络管理装置,该网络管理装置包括至少一个模块,该至少一个模块用于实现上述第三方面所提供的网络管理方法。In a seventh aspect, a network management device is provided, the network management device comprising at least one module, and the at least one module is used to implement the network management method provided in the third aspect.

第八方面,提供一种网络管理装置,该网络管理装置包括至少一个模块,该至少一个模块用于实现上述第四方面所提供的网络管理方法。In an eighth aspect, a network management device is provided, the network management device includes at least one module, and the at least one module is used to implement the network management method provided in the fourth aspect.

第九方面,提供一种网络管理装置,该网络管理装置包括:处理器和存储器,该存储器中存储有程序,该处理器用于执行存储器中存储的程序以实现上述第一方面或第一方面的任一可选方式所提供的网络管理方法。In a ninth aspect, a network management device is provided, comprising: a processor and a memory, wherein the memory stores a program, and the processor is used to execute the program stored in the memory to implement the network management method provided by the first aspect or any optional method of the first aspect.

第十方面,提供一种网络管理装置,该网络管理装置包括:处理器和存储器,该存储器中存储有程序,该处理器用于执行存储器中存储的程序以实现上述第二方面或第二方面的任一可选方式所提供的网络管理方法。In a tenth aspect, a network management device is provided, which includes: a processor and a memory, wherein the memory stores a program, and the processor is used to execute the program stored in the memory to implement the network management method provided by the second aspect or any optional method of the second aspect.

第十一方面,提供一种网络管理装置,该网络管理装置包括:处理器和存储器,该存储器中存储有程序,该处理器用于执行存储器中存储的程序以实现上述第三方面所提供的网络管理方法。In an eleventh aspect, a network management device is provided, which includes: a processor and a memory, wherein a program is stored in the memory, and the processor is used to execute the program stored in the memory to implement the network management method provided in the third aspect above.

第十二方面,提供一种网络管理装置,该网络管理装置包括:处理器和存储器,该存储器中存储有程序,该处理器用于执行存储器中存储的程序以实现上述第四方面所提供的网络管理方法。In a twelfth aspect, a network management device is provided, which includes: a processor and a memory, wherein the memory stores a program, and the processor is used to execute the program stored in the memory to implement the network management method provided in the fourth aspect.

第十三方面,提供一种计算机存储介质,该计算机存储介质内存储有计算机程序,该计算机程序被处理器执行时实现上述第一方面或第一方面的任一可选方式所提供的网络管理方法,或者,实现上述第二方面或第二方面的任一可选方式所提供的网络管理方法,或者,实现上述第三方面所提供的网络管理方法,或者,实现上述第四方面所提供的网络管理方法。In the thirteenth aspect, a computer storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, it implements the network management method provided by the first aspect or any optional method of the first aspect, or implements the network management method provided by the second aspect or any optional method of the second aspect, or implements the network management method provided by the third aspect, or implements the network management method provided by the fourth aspect.

第十四方面,提供一种包含指令的计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述第一方面或第一方面的任一可选方式所提供的网络管理方法,或者,实现上述第二方面或第二方面的任一可选方式所提供的网络管理方法,或者,实现上述第三方面所提供的网络管理方法,或者,实现上述第四方面所提供的网络管理方法。In a fourteenth aspect, a computer program product comprising instructions is provided. When the computer program product runs on a computer, the computer executes the network management method provided by the first aspect or any optional aspect of the first aspect, or implements the network management method provided by the second aspect or any optional aspect of the second aspect, or implements the network management method provided by the third aspect, or implements the network management method provided by the fourth aspect.

第十五方面,提供一种芯片,该芯片包括可编程逻辑电路和/或程序指令,当该芯片运行时用于实现上述第一方面或第一方面的任一可选方式所提供的网络管理方法,或者,实现上述第二方面或第二方面的任一可选方式所提供的网络管理方法,或者,实现上述第三方面所提供的网络管理方法,或者,实现上述第四方面所提供的网络管理方法。In the fifteenth aspect, a chip is provided, which includes a programmable logic circuit and/or program instructions. When the chip is running, it is used to implement the network management method provided by the first aspect or any optional method of the first aspect, or to implement the network management method provided by the second aspect or any optional method of the second aspect, or to implement the network management method provided by the third aspect, or to implement the network management method provided by the fourth aspect.

第十六方面,提供一种网络管理系统,该网络管理系统包括:路由反射器组和多个网络节点,该路由反射器组包括多个路由反射器,每个路由反射器与该路由反射器组中的至少一个路由反射器之间建立有传输通道,该多个网络节点可以包括第一网络节点和第二网络节点,该路由反射器组可以包括第一路由反射器和第二路由反射器;In a sixteenth aspect, a network management system is provided, the network management system comprising: a route reflector group and a plurality of network nodes, the route reflector group comprising a plurality of route reflectors, a transmission channel being established between each route reflector and at least one route reflector in the route reflector group, the plurality of network nodes may include a first network node and a second network node, the route reflector group may include a first route reflector and a second route reflector;

在一种可能的实现方式中,该第一网络节点可以包括上述第五方面所提供的网络管理装置,该第一路由反射器可以包括上述第六方面所提供的网络管理装置,该第二路由反射器可以包括上述第七方面所提供的网络管理装置,该第二网络节点可以包括上述第八方面所提供的网络管理装置;或者,In a possible implementation, the first network node may include the network management device provided in the fifth aspect, the first route reflector may include the network management device provided in the sixth aspect, the second route reflector may include the network management device provided in the seventh aspect, and the second network node may include the network management device provided in the eighth aspect; or,

在另一种可能的实现方式中,该第一网络节点可以包括上述第九方面所提供的网络管理装置,该第一路由反射器可以包括上述第十方面所提供的网络管理装置,该第二路由反射器可以包括上述第十一方面所提供的网络管理装置,该第二网络节点可以包括上述第十二方面所提供的网络管理装置。In another possible implementation, the first network node may include the network management device provided in the ninth aspect, the first route reflector may include the network management device provided in the tenth aspect, the second route reflector may include the network management device provided in the eleventh aspect, and the second network node may include the network management device provided in the twelfth aspect.

第十七方面,提供一种网络管理系统,所述网络管理系统包括路由反射器组和多个网络节点,所述路由反射器组包括多个路由反射器,每个所述路由反射器与所述路由反射器组中的至少一个路由反射器之间建立有传输通道,In a seventeenth aspect, a network management system is provided, the network management system comprising a route reflector group and a plurality of network nodes, the route reflector group comprising a plurality of route reflectors, each of the route reflectors having a transmission channel established with at least one route reflector in the route reflector group,

第一网络节点,用于根据所述路由反射器组的配置信息,与所述路由反射器组中的第一路由反射器建立传输通道,通过与所述第一路由反射器之间的传输通道,向所述第一路由反射器发送所述第一网络节点的路由信息,所述路由反射器组的配置信息包括所述路由反射器组中的每个所述路由反射器的配置信息,所述第一网络节点为所述多个网络节点中的任意一个;a first network node, configured to establish a transmission channel with a first route reflector in the route reflector group according to the configuration information of the route reflector group, and send routing information of the first network node to the first route reflector through the transmission channel between the first route reflector and the first network node, wherein the configuration information of the route reflector group includes configuration information of each route reflector in the route reflector group, and the first network node is any one of the multiple network nodes;

所述第一路由反射器,用于通过所述第一路由反射器与所述路由反射器组中的其他路由反射器之间的传输通道,向所述其他路由反射器发送所述第一网络节点的路由信息;The first route reflector is configured to send routing information of the first network node to other route reflectors in the route reflector group through a transmission channel between the first route reflector and the other route reflectors;

第二路由反射器,用于通过与第二网络节点之间的传输通道,向所述第二网络节点发送所述第一网络节点的路由信息,所述第二路由反射器为所述其他路由反射器中的任意一个,所述第二网络节点为所述多个网络节点中与所述第二路由反射器建立传输通道的任意一个;a second route reflector, configured to send the routing information of the first network node to the second network node through a transmission channel between the second route reflector and the second network node, wherein the second route reflector is any one of the other route reflectors, and the second network node is any one of the multiple network nodes that establishes a transmission channel with the second route reflector;

所述第二网络节点,用于根据所述路由反射器组的配置信息,与所述路由反射器组中的所述第二路由反射器建立传输通道,通过与所述第二路由反射器之间的传输通道,接收所述第二路由反射器发送的所述第一网络节点的路由信息,根据所述第一网络节点的路由信息,与所述第一网络节点建立传输通道。The second network node is used to establish a transmission channel with the second route reflector in the route reflector group according to the configuration information of the route reflector group, receive the routing information of the first network node sent by the second route reflector through the transmission channel between the second route reflector and the second network node, and establish a transmission channel with the first network node according to the routing information of the first network node.

可选地,所述第一网络节点,用于:根据所述路由反射器组的配置信息,从所述路由反射器组中确定所述第一路由反射器;与所述第一路由反射器建立所述传输通道。Optionally, the first network node is configured to: determine the first route reflector from the route reflector group according to configuration information of the route reflector group; and establish the transmission channel with the first route reflector.

可选地,所述路由反射器的配置信息包括所述路由反射器的优先级信息,所述第一网络节点,用于:根据所述路由反射器组中的各个所述路由反射器的优先级信息,从所述路由反射器组中确定所述第一路由反射器。Optionally, the configuration information of the route reflector includes priority information of the route reflector, and the first network node is configured to: determine the first route reflector from the route reflector group according to the priority information of each route reflector in the route reflector group.

可选地,所述第一网络节点,用于:Optionally, the first network node is configured to:

根据所述路由反射器组的配置信息,确定所述路由反射器组中的路由反射器的数量;Determining the number of route reflectors in the route reflector group according to the configuration information of the route reflector group;

根据所述路由反射器组中的路由反射器的数量,对所述路由反射器组中的路由反射器进行排列组合,得到所述路由反射器组对应的至少一种路由反射器序列,每种所述路由反射器序列包括所述路由反射器组中的所有路由反射器;According to the number of route reflectors in the route reflector group, the route reflectors in the route reflector group are arranged and combined to obtain at least one route reflector sequence corresponding to the route reflector group, each of the route reflector sequences including all the route reflectors in the route reflector group;

从所述至少一种路由反射器序列中确定目标序列;determining a target sequence from the at least one route reflector sequence;

根据所述目标序列,从所述路由反射器组中确定所述第一路由反射器。The first route reflector is determined from the route reflector group according to the target sequence.

可选地,每种所述路由反射器序列具有序列号,不同所述路由反射器序列的序列号不同,所述第一网络节点,用于:Optionally, each route reflector sequence has a sequence number, and different route reflector sequences have different sequence numbers, and the first network node is configured to:

根据所述第一网络节点的设备标识和所述路由反射器组中的路由反射器的数量,确定目标序列号;Determining a target sequence number according to the device identifier of the first network node and the number of route reflectors in the route reflector group;

将所述至少一种路由反射器序列中,序列号为所述目标序列号的路由反射器序列确定为所述目标序列。A route reflector sequence having a sequence number equal to the target sequence number in the at least one route reflector sequence is determined as the target sequence.

可选地,所述第一网络节点,用于:Optionally, the first network node is configured to:

根据所述路由反射器组的配置信息,获取所述第一网络节点与所述路由反射器组中的每个路由反射器之间的通信链路的链路质量;acquiring, according to the configuration information of the route reflector group, a link quality of a communication link between the first network node and each route reflector in the route reflector group;

根据所述第一网络节点与所述路由反射器组中的各个路由反射器之间的通信链路的链路质量,从所述路由反射器组中确定所述第一路由反射器。The first route reflector is determined from the route reflector group according to link quality of a communication link between the first network node and each route reflector in the route reflector group.

可选地,所述第一网络节点,用于:Optionally, the first network node is configured to:

根据所述第一网络节点与所述路由反射器组中的每个路由反射器之间的通信链路的链路质量,确定所述第一网络节点与所述每个路由反射器之间的通信链路的综合度量指标,每条所述通信链路的所述综合度量指标用于表征所述通信链路的综合链路质量;Determine, according to the link quality of the communication link between the first network node and each route reflector in the route reflector group, a comprehensive metric index of the communication link between the first network node and each route reflector, wherein the comprehensive metric index of each communication link is used to characterize the comprehensive link quality of the communication link;

根据所述第一网络节点与所述路由反射器组中的各个路由反射器之间的通信链路的综合度量指标,从所述路由反射器组中确定所述第一路由反射器。The first route reflector is determined from the route reflector group according to a comprehensive metric indicator of a communication link between the first network node and each route reflector in the route reflector group.

可选地,所述链路质量包括:链路时延、链路抖动或链路丢包率中的至少一种,Optionally, the link quality includes: at least one of link delay, link jitter or link packet loss rate,

所述第一网络节点,用于:根据所述第一网络节点与所述每个路由反射器之间的通信链路的链路质量,采用综合度量指标公式确定所述第一网络节点与所述每个路由反射器之间的通信链路的综合度量指标;The first network node is used to: determine a comprehensive metric index of the communication link between the first network node and each route reflector by using a comprehensive metric index formula according to the link quality of the communication link between the first network node and each route reflector;

其中,所述综合度量指标公式为:C=9000-[min(k1×D,Dmax)+min(k2×J,Jmax)+min(k3×L,Lmax)],所述C表示综合度量指标,所述D表示链路时延,所述J表示链路抖动,所述L表示链路丢包率,所述Dmax表示链路时延的最大值,所述Jmax表示链路抖动的最大值,所述Lmax表示链路丢包率的最大值,所述k1、所述k2和所述k3均为常数。Among them, the comprehensive measurement index formula is: C=9000-[min(k1×D, Dmax)+min(k2×J, Jmax)+min(k3×L, Lmax)], where C represents the comprehensive measurement index, D represents the link delay, J represents the link jitter, L represents the link packet loss rate, Dmax represents the maximum value of the link delay, Jmax represents the maximum value of the link jitter, Lmax represents the maximum value of the link packet loss rate, and k1, k2 and k3 are all constants.

可选地,所述第一路由反射器,用于:Optionally, the first route reflector is used to:

将所述第一网络节点的路由信息存储在所述第一路由反射器的缓冲区中;storing the routing information of the first network node in a buffer of the first route reflector;

当满足发送条件时,通过所述第一路由反射器与所述路由反射器组中其他路由反射器之间的传输通道,向所述其他路由反射器发送所述第一网络节点的路由信息。When the sending condition is met, the routing information of the first network node is sent to other route reflectors in the route reflector group through a transmission channel between the first route reflector and the other route reflectors.

可选地,所述第一路由反射器,还用于:将所述第一网络节点的路由信息存储在所述第一路由反射器的缓冲区中之前,检测所述第一路由反射器是否收到过所述路由信息,若所述第一路由反射器未收到过所述路由信息,检测是否需要转发所述路由信息;Optionally, the first route reflector is further configured to: before storing the routing information of the first network node in the buffer of the first route reflector, detect whether the first route reflector has received the routing information, and if the first route reflector has not received the routing information, detect whether the routing information needs to be forwarded;

所述第一路由反射器,用于:若所述第一路由反射器未收到过所述路由信息,且需要转发所述路由信息,将所述第一网络节点的所述路由信息存储在所述缓冲区中。The first route reflector is configured to: if the first route reflector has not received the routing information and needs to forward the routing information, store the routing information of the first network node in the buffer.

可选地,所述缓冲区配置有计时器,所述发送条件包括:所述缓冲区中的信息总量达到所述缓冲区的最大量或所述计时器的计时时长达到目标时长中的至少一种。Optionally, the buffer is configured with a timer, and the sending condition includes at least one of: the total amount of information in the buffer reaches the maximum amount of the buffer or the timing duration of the timer reaches a target duration.

可选地,所述发送条件包括所述计时器的计时时长达到目标时长,Optionally, the sending condition includes that the timing duration of the timer reaches a target duration,

所述第一路由反射器,还用于:在向所述其他路由反射器发送所述第一网络节点的路由信息之后,清空所述缓冲区,并重置所述计时器。The first route reflector is further configured to: after sending the routing information of the first network node to the other route reflectors, clear the buffer and reset the timer.

可选地,所述第一网络节点,还用于:Optionally, the first network node is further configured to:

根据所述路由反射器组的配置信息,与所述路由反射器组中的所述第一网络节点的备路由反射器建立传输通道;Establishing a transmission channel with a standby route reflector of the first network node in the route reflector group according to the configuration information of the route reflector group;

通过与所述备路由反射器之间的传输通道,向所述备路由反射器发送所述第一网络节点的路由信息,以便于所述备路由反射器通过所述备路由反射器与所述路由反射器组中的其他路由反射器之间的传输通道,向所述其他路由反射器发送所述第一网络节点的路由信息。The routing information of the first network node is sent to the standby route reflector through a transmission channel between the standby route reflector and the standby route reflector, so that the standby route reflector sends the routing information of the first network node to other route reflectors in the route reflector group through a transmission channel between the standby route reflector and the other route reflectors.

可选地,所述第一网络节点,还用于:在通过与所述第一路由反射器之间的传输通道,向所述第一路由反射器发送所述第一网络节点的路由信息之前,激活所述第一网络节点与所述第一路由反射器之间的对等体,建立所述第一网络节点与所述第一路由反射器之间的对等体连接;Optionally, the first network node is further configured to: before sending the routing information of the first network node to the first route reflector through the transmission channel between the first network node and the first route reflector, activate a peer between the first network node and the first route reflector, and establish a peer connection between the first network node and the first route reflector;

所述第一路由反射器,还用于:在通过与所述第一网络节点之间的传输通道,接收所述第一网络节点发送的所述第一网络节点的路由信息之前,激活所述第一路由反射器与所述第一网络节点之间的对等体,建立所述第一路由反射器与所述第一网络节点之间的对等体连接。The first route reflector is further used to: before receiving the routing information of the first network node sent by the first network node through the transmission channel between the first route reflector and the first network node, activate a peer between the first route reflector and the first network node, and establish a peer connection between the first route reflector and the first network node.

上述第五方面至第十七方面的技术效果可以参考第一方面至第四方面,在此不再赘述。The technical effects of the fifth to seventeenth aspects mentioned above can be referred to the first to fourth aspects and will not be repeated here.

本申请实施例提供的技术方案带来的有益效果至少包括:The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

本申请实施例提供的网络管理方法、装置及系统、存储介质,第一网络节点根据通信网络中的路由反射器组的配置信息与该路由反射器组中的第一路由反射器建立传输通道,并通过与该第一路由反射器之间的传输通道向该第一路由反射器发送该第一网络节点的路由信息,第一路由反射器接收到该第一网络节点的路由信息后,通过该第一路由反射器与该路由反射器组中的其他路由反射器之间的传输通道向该其他路由反射器发送该第一网络节点的路由信息,该路由反射器组中的第二路由反射器接收到该第一网络节点的路由信息后,通过与第二网络节点之间的传输通道向该第二网络节点发送该第一网络节点的路由信息,使得该第二网络节点能够根据该第一网络节点的路由信息与该第一网络节点建立传输通道,实现路由互通并进行数据传输。本申请实施例提供的技术方案无需对通信网络分区域管理,因此有助于降低路由反射器的性能压力,简化路由反射器的配置,且对外不会复杂化通信网络的组网。The network management method, device, system, and storage medium provided by the embodiment of the present application, the first network node establishes a transmission channel with the first route reflector in the route reflector group according to the configuration information of the route reflector group in the communication network, and sends the routing information of the first network node to the first route reflector through the transmission channel between the first route reflector and the first route reflector, after the first route reflector receives the routing information of the first network node, it sends the routing information of the first network node to the other route reflectors in the route reflector group through the transmission channel between the first route reflector and the other route reflectors in the route reflector group, after the second route reflector in the route reflector group receives the routing information of the first network node, it sends the routing information of the first network node to the second network node through the transmission channel between the second network node, so that the second network node can establish a transmission channel with the first network node according to the routing information of the first network node, realize route intercommunication and perform data transmission. The technical solution provided by the embodiment of the present application does not need to manage the communication network in different regions, so it helps to reduce the performance pressure of the route reflector, simplify the configuration of the route reflector, and will not complicate the networking of the communication network externally.

本申请实施例提供的方案,将通信网络中分布式部署的多个路由反射器视为路由反射器组,无需对通信网络分区域管理,一个域即可完成组网规划,可以避免通信网络的域间组网隔离问题,在大规模组网下统一定义整个通信网络的组网拓扑(topo);并且可以扁平化通信网络的组网,解决多区域的复杂组网问题,简化对外的组网体现,便于企业维护和管理;由于可以由路由反射器组中的路由反射器共同管理网络节点,因此可以均衡路由反射器的压力,易于企业的节点规模扩大。The solution provided by the embodiment of the present application regards multiple route reflectors distributedly deployed in the communication network as a route reflector group. There is no need to manage the communication network by region, and the network planning can be completed in one domain, which can avoid the problem of inter-domain network isolation of the communication network, and uniformly define the network topology (topo) of the entire communication network under large-scale networking; and can flatten the networking of the communication network, solve the complex networking problems in multiple regions, simplify the external networking expression, and facilitate enterprise maintenance and management; because the route reflectors in the route reflector group can jointly manage the network nodes, the pressure on the route reflectors can be balanced, and it is easy to expand the node scale of the enterprise.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本申请实施例所涉及的一种实施环境的示意图;FIG1 is a schematic diagram of an implementation environment involved in an embodiment of the present application;

图2是本申请实施例提供的一种网络管理方法的方法流程图;FIG2 is a method flow chart of a network management method provided by an embodiment of the present application;

图3是本申请实施例提供的一种从路由反射器组中确定第一路由反射器的方法流程图;3 is a flow chart of a method for determining a first route reflector from a route reflector group provided by an embodiment of the present application;

图4是本申请实施例提供的另一种从路由反射器组中确定第一路由反射器的方法流程图;4 is a flowchart of another method for determining a first route reflector from a route reflector group provided by an embodiment of the present application;

图5是本申请实施例提供的一种网络管理装置的逻辑结构示意图;5 is a schematic diagram of the logical structure of a network management device provided in an embodiment of the present application;

图6是本申请实施例提供的一种第一建立模块的逻辑结构示意图;FIG6 is a schematic diagram of the logical structure of a first establishment module provided in an embodiment of the present application;

图7是本申请实施例提供的另一种网络管理装置的逻辑结构示意图;7 is a schematic diagram of the logical structure of another network management device provided in an embodiment of the present application;

图8是本申请实施例提供的再一种网络管理装置的逻辑结构示意图;8 is a schematic diagram of the logical structure of another network management device provided in an embodiment of the present application;

图9是本申请实施例提供的又一种网络管理装置的逻辑结构示意图;9 is a schematic diagram of the logical structure of another network management device provided in an embodiment of the present application;

图10是本申请实施例提供的还一种网络管理装置的逻辑结构示意图;10 is a schematic diagram of the logical structure of another network management device provided in an embodiment of the present application;

图11是本申请实施例提供的还一种网络管理装置的逻辑结构示意图;11 is a schematic diagram of the logical structure of another network management device provided in an embodiment of the present application;

图12是本申请实施例提供的一种网络管理装置的硬件结构示意图;12 is a schematic diagram of the hardware structure of a network management device provided in an embodiment of the present application;

图13是本申请实施例提供的一种网络管理系统的示意图。FIG. 13 is a schematic diagram of a network management system provided in an embodiment of the present application.

具体实施方式Detailed ways

为使本申请的原理、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the principles, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

传统企业通常将应用部署在总部的数据中心,通过租用MPLS专线访问数据中心的应用。随着云计算的引入,越来越多的应用虚化,并迁移至云端,使得分支节点的出口流量增加,传统的MPLS专线费用昂贵,部署成本较高。并且,由于国家和区域的不同,应用的接入方式也大相径庭,需要企业同时支持Internet、LTE或者MPLS等不同的部署方式接入,导致网络和业务部署复杂,网络维护以及网络管理困难。Traditional enterprises usually deploy applications in the data center of the headquarters and access the applications in the data center by renting MPLS dedicated lines. With the introduction of cloud computing, more and more applications are virtualized and migrated to the cloud, which increases the export traffic of branch nodes. Traditional MPLS dedicated lines are expensive and the deployment cost is high. In addition, due to differences in countries and regions, the access methods of applications are also very different. Enterprises need to support different deployment methods such as Internet, LTE or MPLS at the same time, which makes network and service deployment complicated, and network maintenance and network management difficult.

SDWAN是一种支持混合链路接入,能够动态调整传输路径,由敏捷控制器(agilecontroller,AC)进行业务管理和配置下发的通信网络,其包括AC和多个网络节点,由AC对该多个网络节点进行统一管理,按需实现业务灵活部署,降低网络部署成本,减小设备管理和维护开销。其中,AC是基于软件定义网(software defined network,SDN)架构推出的管理控制器,多个网络节点可以包括总部节点和分支节点,总部节点用于管理分支节点,控制器用于管理总部节点和分支节点,该多个网络节点中的每个网络节点可以是客户终端设备(customer premises equipment,CPE)、通用客户终端设备(universal customerpremises equipment,uCPE)或虚拟客户终端设备(virtual customer premisesequipment,vCPE),多个网络节点之间可以基于MPLS、Internet或LTE相互通信,并基于DSVPN技术或Auto VPN技术构建虚拟业务网络。SDWAN is a communication network that supports hybrid link access, can dynamically adjust the transmission path, and is managed and configured by an agile controller (AC). It includes AC and multiple network nodes. AC manages the multiple network nodes in a unified manner, realizes flexible deployment of services on demand, reduces network deployment costs, and reduces equipment management and maintenance expenses. Among them, AC is a management controller launched based on the software defined network (SDN) architecture, and the multiple network nodes may include headquarters nodes and branch nodes. The headquarters node is used to manage the branch nodes, and the controller is used to manage the headquarters nodes and the branch nodes. Each of the multiple network nodes may be a customer premises equipment (CPE), a universal customer premises equipment (uCPE) or a virtual customer premises equipment (vCPE). Multiple network nodes can communicate with each other based on MPLS, Internet or LTE, and a virtual service network can be built based on DSVPN technology or Auto VPN technology.

其中,DSVPN技术是一种在总部节点和分支节点建立组网方式(通常也称为hub-spoke组网方式)下,在公网地址动态变化的分支节点之间建立VPN隧道的VPN技术,通过DSVPN技术,不同分支节点之间,以及分支节点与总部节点之间均可以建立DSVPN隧道(基于DSVPN技术建立的VPN隧道可以称为DSVPN隧道),每个分支节点可以通过总部节点获取其他分支节点的公网地址,并基于获取的该其他分支节点的公网地址与该其他分支节点建立DSVPN隧道,使得不同分支节点可以通过DSVPN隧道直接互访,减少数据传输时延。Among them, DSVPN technology is a VPN technology that establishes VPN tunnels between branch nodes whose public network addresses dynamically change under a networking mode established between a headquarters node and a branch node (also commonly referred to as a hub-spoke networking mode). Through DSVPN technology, DSVPN tunnels can be established between different branch nodes, as well as between branch nodes and headquarters nodes (VPN tunnels established based on DSVPN technology can be called DSVPN tunnels). Each branch node can obtain the public network addresses of other branch nodes through the headquarters node, and establish DSVPN tunnels with the other branch nodes based on the obtained public network addresses of the other branch nodes, so that different branch nodes can directly visit each other through the DSVPN tunnel, thereby reducing data transmission delays.

其中,Auto VPN技术是一种用于虚拟业务网络与底层传输网络分离,以及,业务网络路由与传输网络路由分离的VPN技术。在Auto VPN技术中,通过扩展边界网关协议(border gateway protocol,BGP)协议,使不同网络节点的底层传输网络互通,从而实现业务网络的数据流量转发。基于Auto VPN技术的SDWAN中增加了RR,弱化了总部节点的角色,将总部节点的部分功能转移到RR上,由RR对网络节点(例如包括总部节点和分支节点)进行管理,例如,由RR反射网络节点的传输网络信息以及网络节点的路由信息。在基于Auto VPN技术的SDWAN中,数据流量是否需要由总部节点转发,可以由RR反射路由信息时,改变路由属性来实现。Among them, Auto VPN technology is a VPN technology used to separate virtual business networks from underlying transmission networks, and business network routing from transmission network routing. In Auto VPN technology, the underlying transmission networks of different network nodes are interconnected by extending the border gateway protocol (BGP) protocol, thereby realizing data traffic forwarding of the business network. RR is added to SDWAN based on Auto VPN technology, weakening the role of the headquarters node, transferring part of the functions of the headquarters node to RR, and RR manages network nodes (for example, including headquarters nodes and branch nodes), for example, RR reflects the transmission network information of network nodes and the routing information of network nodes. In SDWAN based on Auto VPN technology, whether data traffic needs to be forwarded by the headquarters node can be achieved by changing the routing attributes when RR reflects the routing information.

目前,在基于Auto VPN技术的SDWAN中,当网络节点较多时,为了降低RR的性能压力,通常会对该SDWAN分区域管理。但是,对SDWAN分区域管理的方案中,通常只能定义不同区域中的RR之间的组网方式,而无法定义不同区域中的网络节点之间的组网方式,导致SDWAN存在域间组网隔离(也即是不同区域的组网隔离)问题,并且分区域管理会导致SDWAN的组网对外复杂化,且不同区域中的网络节点若需要相互访问,需要该不同区域中的RR相互交互为该不同区域中的网络节点配置路由信息,并反射该路由信息,因此RR的性能压力较大,配置复杂。At present, in SDWAN based on Auto VPN technology, when there are many network nodes, in order to reduce the performance pressure of RR, the SDWAN is usually managed by different regions. However, in the solution of regional management of SDWAN, usually only the networking mode between RRs in different regions can be defined, but the networking mode between network nodes in different regions cannot be defined, which leads to the problem of inter-domain network isolation (that is, network isolation of different regions) in SDWAN, and regional management will make the networking of SDWAN complicated externally, and if network nodes in different regions need to access each other, RRs in different regions need to interact with each other to configure routing information for network nodes in different regions and reflect the routing information, so the performance pressure of RR is relatively large and the configuration is complicated.

鉴于此,本申请实施例提供了一种网络管理方法及装置、系统、存储介质,本申请实施例提供的技术方案中,引入RR组的概念,将SDWAN中分布式部署的多个RR视为RR组,RR组内的RR通过信息共享来反射不同网络节点的路由信息(也可以是其他信息,例如传输网络信息),使不同网络节点实现路由互通,并相互访问。相比于分区域管理的方案,本申请实施例提供的技术方案不存在域间组网隔离问题,也不会导致SDWAN的组网对外复杂化,更不会增大性能压力,可以简化配置。本申请实施例的详细方案请参考下述实施例的描述。In view of this, the embodiments of the present application provide a network management method and device, system, and storage medium. In the technical solution provided by the embodiments of the present application, the concept of RR group is introduced, and multiple RRs deployed in a distributed manner in SDWAN are regarded as RR groups. The RRs in the RR group reflect the routing information of different network nodes (or other information, such as transmission network information) through information sharing, so that different network nodes can achieve routing intercommunication and access each other. Compared with the regional management solution, the technical solution provided by the embodiments of the present application does not have the problem of inter-domain network isolation, nor will it cause the external complication of SDWAN's networking, nor will it increase performance pressure, and can simplify the configuration. For the detailed solution of the embodiments of the present application, please refer to the description of the following embodiments.

本申请实施例提供的技术方案的实施环境可以是通信网络,该通信网络可以是基于VPN技术的SDWAN,例如,基于Auto VPN技术的SDWAN。该通信网络可以包括路由反射器组和多个网络节点,该路由反射器组包括多个路由反射器,该路由反射器组中的每个路由反射器与该路由反射器组中的至少一个路由反射器之间建立有传输通道。可选地,该路由反射器组中的每个路由反射器与该路由反射器组中的所有路由反射器之间建立有传输通道,每个路由反射器与该路由反射器组中的其他路由反射器之间的传输通道可以是直接传输通道和/或间接传输通道。可选地,该路由反射器组中的每个路由反射器与该路由反射器组中的所有路由反射器之间建立有直接传输通道。其中,直接传输通道可以是一段传输通道,间接传输通道可以由多段直接传输通道构成,建立直接传输通道的两个路由反射器通常可以直接传输信息,而不需要经过其他路由反射器,建立间接传输通道的两个路由反射器通常可以间接传输信息(也即是传输信息可以经过其他路由反射器),容易理解,如果两个路由反射器之间既建立有直接传输通道,又建立有间接传输通道,则该两个路由反射器可以通过该直接传输通道直接传输信息,也可以通过该间接传输通道间接传输信息,并且通常情况下,该两个路由反射器通过该直接传输通道直接传输信息,本申请实施例对此不做限定。The implementation environment of the technical solution provided in the embodiment of the present application may be a communication network, and the communication network may be an SDWAN based on VPN technology, for example, an SDWAN based on Auto VPN technology. The communication network may include a route reflector group and a plurality of network nodes, the route reflector group includes a plurality of route reflectors, and a transmission channel is established between each route reflector in the route reflector group and at least one route reflector in the route reflector group. Optionally, a transmission channel is established between each route reflector in the route reflector group and all route reflectors in the route reflector group, and the transmission channel between each route reflector and other route reflectors in the route reflector group may be a direct transmission channel and/or an indirect transmission channel. Optionally, a direct transmission channel is established between each route reflector in the route reflector group and all route reflectors in the route reflector group. Among them, the direct transmission channel can be a transmission channel, and the indirect transmission channel can be composed of multiple direct transmission channels. The two route reflectors that establish a direct transmission channel can usually transmit information directly without passing through other route reflectors. The two route reflectors that establish an indirect transmission channel can usually transmit information indirectly (that is, the transmitted information can pass through other route reflectors). It is easy to understand that if both a direct transmission channel and an indirect transmission channel are established between two route reflectors, the two route reflectors can directly transmit information through the direct transmission channel, or can indirectly transmit information through the indirect transmission channel. In general, the two route reflectors directly transmit information through the direct transmission channel, and the embodiments of the present application are not limited to this.

可选地,该通信网络还可以包括控制器,该控制器用于管理该路由反射器组以及该多个网络节点,该路由反射器组也可以用于管理该多个网络节点,本申请实施例以路由反射器组管理该多个网络节点为例说明。Optionally, the communication network may further include a controller, which is used to manage the route reflector group and the multiple network nodes. The route reflector group may also be used to manage the multiple network nodes. The embodiment of the present application takes the route reflector group managing the multiple network nodes as an example.

示例地,请参考图1,其示出了本申请实施例所涉及的一种实施环境的示意图,该实施环境提供一种通信网络,该通信网络包括路由反射器组和多个网络节点,该路由反射器组包括路由反射器001~003(也即是路由反射器001、路由反射器002和路由反射器003),该多个网络节点包括网络节点011~016(也即是网络节点011、网络节点012、网络节点013、网络节点014、网络节点015和网络节点016)。其中,路由反射器001~003中的每个路由反射器与该路由反射器组中的至少一个路由反射器之间建立有传输通道。可选地,路由反射器001~003中的每个路由反射器与该路由反射器组中的所有路由反射器之间建立有传输通道,每个路由反射器与该路由反射器组中的其他路由反射器之间的传输通道可以是直接传输通道和/或间接传输通道。例如,路由反射器001与路由反射器002之间建立有直接传输通道,且路由反射器001与路由反射器002之间建立有间接传输通道(该间接传输通道由路由反射器001与路由反射器003之间的直接传输通道,以及,路由反射器003与路由反射器002之间的直接传输通道构成)。又例如,路由反射器002与路由反射器003之间建立有直接传输通道,且路由反射器002与路由反射器003之间建立有间接传输通道(该间接传输通道由路由反射器002与路由反射器001之间的直接传输通道,以及,路由反射器001与路由反射器003之间的直接传输通道构成)。如图1所示,本申请实施例以路由反射器001~003之间彼此建立有直接传输通道为例进行说明。在本申请实施例中,该传输通道可以是VPN隧道,例如,Auto VPN隧道,该传输通道可以用于传输数据,因此该传输通道也可以称为数据通道。For example, please refer to FIG. 1, which shows a schematic diagram of an implementation environment involved in an embodiment of the present application, and the implementation environment provides a communication network, the communication network includes a route reflector group and multiple network nodes, the route reflector group includes route reflectors 001-003 (that is, route reflectors 001, 002, and 003), and the multiple network nodes include network nodes 011-016 (that is, network node 011, network node 012, network node 013, network node 014, network node 015, and network node 016). Among them, each route reflector in route reflectors 001-003 has a transmission channel established with at least one route reflector in the route reflector group. Optionally, each route reflector in route reflectors 001-003 has a transmission channel established with all route reflectors in the route reflector group, and the transmission channel between each route reflector and other route reflectors in the route reflector group can be a direct transmission channel and/or an indirect transmission channel. For example, a direct transmission channel is established between route reflector 001 and route reflector 002, and an indirect transmission channel is established between route reflector 001 and route reflector 002 (the indirect transmission channel is composed of a direct transmission channel between route reflector 001 and route reflector 003, and a direct transmission channel between route reflector 003 and route reflector 002). For another example, a direct transmission channel is established between route reflector 002 and route reflector 003, and an indirect transmission channel is established between route reflector 002 and route reflector 003 (the indirect transmission channel is composed of a direct transmission channel between route reflector 002 and route reflector 001, and a direct transmission channel between route reflector 001 and route reflector 003). As shown in FIG. 1, the embodiment of the present application is described by taking the example of direct transmission channels established between route reflectors 001 to 003. In the embodiment of the present application, the transmission channel can be a VPN tunnel, for example, an Auto VPN tunnel, and the transmission channel can be used to transmit data, so the transmission channel can also be called a data channel.

其中,路由反射器可以是CPE、uCPE或vCPE,该路由反射器组可以是一群部署在不同物理位置的CPE、vCPE和/或uCPE,通过共享传输网络信息和业务网络信息来管理网络节点的集合。实际应用中,可以根据通信网络中网络节点的多少(或者根据通信网络的规模),扩大或缩小该路由反射器组的规模。The route reflector may be a CPE, uCPE or vCPE, and the route reflector group may be a group of CPEs, vCPEs and/or uCPEs deployed at different physical locations, which manages a collection of network nodes by sharing transmission network information and service network information. In practical applications, the size of the route reflector group may be expanded or reduced according to the number of network nodes in the communication network (or according to the size of the communication network).

其中,网络节点又称为网络设备、网关设备、路由节点或路由设备等。网络节点011~016中的每个网络节点可以是CPE、uCPE或vCPE,并且网络节点可以是交换机或路由器(router),网络节点011~016可以是相同的网络节点,例如,网络节点011~016均可以是CPE,或者,网络节点011~016可以是不同的网络节点,例如,网络节点011~016中的一部分为CPE,另一部分为uCPE,再一部分是vCPE,本申请实施例对此不做限定。Among them, the network node is also called a network device, a gateway device, a routing node or a routing device, etc. Each of the network nodes 011-016 may be a CPE, a uCPE or a vCPE, and the network node may be a switch or a router. The network nodes 011-016 may be the same network node, for example, the network nodes 011-016 may all be CPEs, or the network nodes 011-016 may be different network nodes, for example, a part of the network nodes 011-016 may be CPEs, another part may be uCPEs, and another part may be vCPEs, which is not limited in the embodiments of the present application.

在本申请实施例中,引入路由反射器组的概念,将通信网络中分布式部署的多个路由反射器视为路由反射器组,网络节点将路由反射器组视为高性能的路由反射器,向路由反射器组注册并建立传输通道,不同的网络节点均注册到路由反射器组上,路由反射器组中的不同路由反射器通过信息共享来反射不同网络节点的路由信息,使不同网络节点路由互通并建立传输通道,这样一来,无需对通信网络分区域管理,有助于解决目前分区域管理方案存在的技术问题。在本申请实施例中,路由反射器组中的每个路由反射器与该路由反射器组中的至少一个路由反射器之间建立有传输通道,通信网络中的每个网络节点可以根据路由反射器组的配置信息从路由反射器组中选择路由反射器并与其建立传输通道,通过传输通道向相应的路由反射器发送自身的路由信息,每个路由反射器可以将接收到的路由信息传输给与其建立传输通道的其他路由反射器,来与该其他路由反射器共享该路由信息,并且每个路由反射器可以将接收到的路由信息传输给与其建立传输通道的网络节点,如此一来,使得通信网络中的不同网络节点能够建立传输通道并基于传输通道通信。In the embodiment of the present application, the concept of a route reflector group is introduced, and multiple route reflectors distributedly deployed in a communication network are regarded as a route reflector group. The network node regards the route reflector group as a high-performance route reflector, registers with the route reflector group and establishes a transmission channel. Different network nodes are registered with the route reflector group. Different route reflectors in the route reflector group reflect the routing information of different network nodes through information sharing, so that the routes of different network nodes are interconnected and transmission channels are established. In this way, there is no need to manage the communication network in different regions, which helps to solve the technical problems existing in the current regional management scheme. In an embodiment of the present application, a transmission channel is established between each route reflector in a route reflector group and at least one route reflector in the route reflector group. Each network node in the communication network can select a route reflector from the route reflector group according to the configuration information of the route reflector group and establish a transmission channel with it, and send its own routing information to the corresponding route reflector through the transmission channel. Each route reflector can transmit the received routing information to other route reflectors with which the transmission channel is established to share the routing information with the other route reflectors, and each route reflector can transmit the received routing information to the network node with which the transmission channel is established. In this way, different network nodes in the communication network can establish a transmission channel and communicate based on the transmission channel.

示例地,以图1为例,网络节点011~016中的第一网络节点(该第一网络节点可以是网络节点011~016中的任一网络节点,例如网络节点011)可以获取路由反射器组的配置信息,根据该路由反射器组的配置信息从该路由反射器组中确定第一路由反射器(例如路由反射器001),与该第一路由反射器建立传输通道,并通过与该第一路由反射器之间的传输通道向该第一路由反射器发送该第一网络节点的路由信息;该第一路由反射器接收到该第一网络节点的路由信息后,通过该第一路由反射器与该路由反射器组中的其他路由反射器(例如路由反射器002和路由反射器003)之间的传输通道,向该其他路由反射器发送该第一网络节点的路由信息,使得该路由反射器组中的不同路由反射器共享该第一网络节点的路由信息;该路由反射器组中的第二路由反射器(例如路由反射器002)接收到该第一网络节点的路由信息后,可以向与该第二路由反射器建立传输通道的其他网络节点(例如网络节点012~016中的至少一个)以及其他路由反射器发送该第一网络节点的路由信息;第二网络节点(例如网络节点012)接收到该第一网络节点的路由信息后,根据该第一网络节点的路由信息与该第一网络节点建立传输通道,使得该第一网络节点与该第二网络节点能够通过该传输通道传输数据。也即是,例如,最终可以在网络节点011与网络节点012之间建立传输通道,使网络节点011与网络节点012能够通过该传输通道传输数据。For example, taking FIG. 1 as an example, a first network node among network nodes 011 to 016 (the first network node may be any network node among network nodes 011 to 016, such as network node 011) may obtain configuration information of a route reflector group, determine a first route reflector (such as route reflector 001) from the route reflector group according to the configuration information of the route reflector group, establish a transmission channel with the first route reflector, and send routing information of the first network node to the first route reflector through the transmission channel between the first route reflector and the first route reflector; after the first route reflector receives the routing information of the first network node, the first route reflector transmits the routing information to the first route reflector through the transmission channel between the first route reflector and other route reflectors in the route reflector group (such as route reflectors 002 and 003). The first network node is sent to the other route reflectors, so that different route reflectors in the route reflector group share the routing information of the first network node; after receiving the routing information of the first network node, the second route reflector in the route reflector group (for example, route reflector 002) can send the routing information of the first network node to other network nodes (for example, at least one of network nodes 012 to 016) and other route reflectors that establish a transmission channel with the second route reflector; after receiving the routing information of the first network node, the second network node (for example, network node 012) establishes a transmission channel with the first network node according to the routing information of the first network node, so that the first network node and the second network node can transmit data through the transmission channel. That is, for example, a transmission channel can be finally established between network node 011 and network node 012, so that network node 011 and network node 012 can transmit data through the transmission channel.

需要指出的是,图1所示实施环境中的通信网络仅用于举例,并非用于限制本申请实施例的技术方案,在具体实现过程中,通信网络还可能包括其他设备,并且可以根据需要来配置网络节点的数量以及路由反射器组的规模。例如,该通信网络还可以包括控制器(图1中未示出)。其中,该控制器可以是AC,其是未来云化网络的大脑,融合了网络管理、业务控制和网络分析等功能,是实现网络资源池化、网络连接自动化和自优化以及运维自动化的核心使能系统。该控制器可以是部署在服务器中的功能模块,或者是一台服务器,或者由若干台服务器组成的服务器集群,或者是一个云计算服务中心,本申请实施例对此不做限定。It should be pointed out that the communication network in the implementation environment shown in Figure 1 is only used for example, and is not used to limit the technical solution of the embodiment of the present application. In the specific implementation process, the communication network may also include other devices, and the number of network nodes and the scale of the route reflector group can be configured as needed. For example, the communication network may also include a controller (not shown in Figure 1). Among them, the controller can be an AC, which is the brain of the future cloud network, integrating functions such as network management, business control and network analysis, and is a core enabling system for realizing network resource pooling, network connection automation and self-optimization, and operation and maintenance automation. The controller can be a functional module deployed in a server, or a server, or a server cluster composed of several servers, or a cloud computing service center, which is not limited by the embodiment of the present application.

请参考图2,其示出了本申请实施例提供的一种网络管理方法的方法流程图,该网络管理方法可以应用于通信网络,该通信网络可以包括路由反射器组和多个网络节点,该路由反射器组包括多个路由反射器,每个路由反射器与该路由反射器组中的至少一个路由反射器之间建立有传输通道。参见图2,该方法可以包括如下步骤:Please refer to FIG2, which shows a method flow chart of a network management method provided by an embodiment of the present application. The network management method can be applied to a communication network, and the communication network can include a route reflector group and multiple network nodes. The route reflector group includes multiple route reflectors, and a transmission channel is established between each route reflector and at least one route reflector in the route reflector group. Referring to FIG2, the method can include the following steps:

步骤201、第一网络节点获取路由反射器组的配置信息。Step 201: A first network node obtains configuration information of a route reflector group.

第一网络节点可以为通信网络中的任意一个网络节点,路由反射器组可以包括多个路由反射器,该路由反射器组的配置信息包括该路由反射器组中的每个路由反射器的配置信息。The first network node may be any network node in the communication network, the route reflector group may include multiple route reflectors, and the configuration information of the route reflector group includes configuration information of each route reflector in the route reflector group.

可选地,每个路由反射器的配置信息可以包括该路由反射器的设备标识和该路由反射器的公网地址,该路由反射器的设备标识与该路由反射器的公网地址可以构成二元组。示例地,该设备标识可以是设备(device)身份证件(identity document,ID)号,该公网地址可以是网际互连协议(internet protocol,IP)地址和媒体访问控制(media accesscontrol,MAC)地址中的任意一种,该IP可以是可行的(avalible)IP。示例地,每个路由反射器的配置信息可以是二元组<deviceID,IP>,以该路由反射器组包括路由反射器001~003为例,则该路由反射器组的配置信息可以为:Optionally, the configuration information of each route reflector may include a device identifier of the route reflector and a public network address of the route reflector, and the device identifier of the route reflector and the public network address of the route reflector may constitute a tuple. By way of example, the device identifier may be an identity document (ID) number of a device, the public network address may be any one of an Internet Protocol (IP) address and a Media Access Control (MAC) address, and the IP may be an avalible IP. By way of example, the configuration information of each route reflector may be a tuple <deviceID, IP>. Taking the example that the route reflector group includes route reflectors 001 to 003, the configuration information of the route reflector group may be:

<deviceID1,IP1>;<deviceID1,IP1>;

<deviceID2,IP2>;<deviceID2,IP2>;

<deviceID3,IP3>;<deviceID3,IP3>;

其中,deviceID1为路由反射器001的设备标识,IP1为路由反射器001的IP地址,deviceID2为路由反射器002的设备标识,IP2为路由反射器002的IP地址,deviceID3为路由反射器003的设备标识,IP3为路由反射器003的IP地址。deviceID1 is the device identifier of route reflector 001, IP1 is the IP address of route reflector 001, deviceID2 is the device identifier of route reflector 002, IP2 is the IP address of route reflector 002, deviceID3 is the device identifier of route reflector 003, and IP3 is the IP address of route reflector 003.

可选地,每个路由反射器的配置信息还可以包括该路由反射器的优先级信息,每个路由反射器的优先级信息指示该路由反射器在该路由反射器组中的优先级(priority)。则示例地,该路由反射器组的配置信息还可以为:Optionally, the configuration information of each route reflector may further include priority information of the route reflector, and the priority information of each route reflector indicates the priority of the route reflector in the route reflector group. Then, for example, the configuration information of the route reflector group may also be:

<deviceID1,IP1>,priority1;<deviceID1, IP1>, priority1;

<deviceID2,IP2>,priority2;<deviceID2, IP2>, priority2;

<deviceID3,IP3>,priority3;<deviceID3, IP3>, priority3;

其中,priority1为路由反射器001的优先级信息,priority2为路由反射器002的优先级信息,priority3为路由反射器003的优先级信息。Among them, priority1 is the priority information of route reflector 001, priority2 is the priority information of route reflector 002, and priority3 is the priority information of route reflector 003.

可选地,该通信网络还可以包括控制器,用户可以在控制器上配置路由反射器组的配置信息,控制器接收到用户配置的该路由反射器组的配置信息后,可以向该通信网络中的每个网络节点下发该路由反射器组的配置信息,第一网络节点通过接收控制器下发的该路由反射器组的配置信息,来获取该路由反射器组的配置信息。其中,控制器可以具有设置界面,设置界面可以包括信息输入控件,用户可以通过该信息输入控件在设置界面中,向控制器输入该路由反射器组的配置信息,以在控制器上配置该路由反射器组的配置信息。Optionally, the communication network may further include a controller, and a user may configure configuration information of a route reflector group on the controller. After receiving the configuration information of the route reflector group configured by the user, the controller may send the configuration information of the route reflector group to each network node in the communication network, and the first network node obtains the configuration information of the route reflector group by receiving the configuration information of the route reflector group sent by the controller. The controller may have a setting interface, and the setting interface may include an information input control, and the user may input the configuration information of the route reflector group to the controller in the setting interface through the information input control, so as to configure the configuration information of the route reflector group on the controller.

或者,可选地,用户可以在通信网络中的每个网络节点上配置路由反射器组的配置信息,第一网络节点通过接收用户配置的该路由反射器组的配置信息,来获取该路由反射器组的配置信息。其中,每个网络节点可以具有设置界面,设置界面可以包括信息输入控件,用户可以通过该信息输入控件在设置界面中,向该网络节点输入该路由反射器组的配置信息,以在该网络节点上配置该路由反射器组的配置信息。Alternatively, the user may configure the configuration information of the route reflector group on each network node in the communication network, and the first network node obtains the configuration information of the route reflector group by receiving the configuration information of the route reflector group configured by the user. Each network node may have a setting interface, and the setting interface may include an information input control, and the user may input the configuration information of the route reflector group to the network node in the setting interface through the information input control, so as to configure the configuration information of the route reflector group on the network node.

或者,用户可以在该通信网络之外的其他设备上配置路由反射器组的配置信息,并控制该其他设备向该通信网络中的每个网络节点发送该路由反射器组的配置信息,第一网络节点通过接收该其他设备发送的该路由反射器组的配置信息,来获取该路由反射器组的配置信息。Alternatively, the user may configure the configuration information of the route reflector group on other devices outside the communication network, and control the other devices to send the configuration information of the route reflector group to each network node in the communication network. The first network node obtains the configuration information of the route reflector group by receiving the configuration information of the route reflector group sent by the other devices.

需要说明的是,本申请实施例所描述的第一网络节点获取路由反射器组的配置信息的实现方式,路由反射器组的配置信息及其具体内容仅仅是示例性的,本领域技术人员应当明白,实际应用中,第一网络节点还可以通过其他方式获取路由反射器组的配置信息,并且路由反射器组的配置信息还可以包括其他内容,本申请实施例在此不再赘述。It should be noted that the implementation method of the first network node obtaining the configuration information of the route reflector group described in the embodiment of the present application, the configuration information of the route reflector group and its specific content are merely exemplary. Those skilled in the art should understand that in actual applications, the first network node can also obtain the configuration information of the route reflector group in other ways, and the configuration information of the route reflector group can also include other content, which will not be repeated in the embodiments of the present application.

步骤202、第一网络节点根据该路由反射器组的配置信息,从该路由反射器组中确定第一路由反射器。Step 202: The first network node determines a first route reflector from the route reflector group according to the configuration information of the route reflector group.

第一网络节点获取到路由反射器组的配置信息后,可以从该路由反射器组中确定第一路由反射器。可选地,第一网络节点可以根据该路由反射器组的配置信息,通过选举的方式从该路由反射器组中确定第一路由反射器。在本申请实施例中,第一网络节点通过选举的方式从该路由反射器组中确定第一路由反射器可以包括以下三种可能实现方式中的任意一种。After the first network node obtains the configuration information of the route reflector group, it can determine the first route reflector from the route reflector group. Optionally, the first network node can determine the first route reflector from the route reflector group by election according to the configuration information of the route reflector group. In an embodiment of the present application, the first network node determines the first route reflector from the route reflector group by election, which may include any one of the following three possible implementations.

第一种实现方式:第一网络节点根据路由反射器组的配置信息,以固定选举的方式从该路由反射器组中确定第一路由反射器。A first implementation manner: the first network node determines the first route reflector from the route reflector group in a fixed election manner according to configuration information of the route reflector group.

在固定选举的方式中,第一网络节点根据路由反射器组中的路由反射器的优先级确定第一路由反射器。可选地,路由反射器组的配置信息包括该路由反射器组中的每个路由反射器的配置信息,每个路由反射器的配置信息可以包括该路由反射器的优先级信息,第一网络节点可以从该路由反射器组的配置信息中,确定该路由反射器组中的各个路由反射器的优先级信息,根据该路由反射器组中的各个路由反射器的优先级信息,从路由反射器组中确定第一路由反射器。可选地,第一网络节点可以根据每个路由反射器的优先级信息,确定该路由反射器的优先级,将该路由反射器组中优先级最高的路由反射器确定为第一路由反射器。In a fixed election mode, the first network node determines the first route reflector according to the priority of the route reflectors in the route reflector group. Optionally, the configuration information of the route reflector group includes the configuration information of each route reflector in the route reflector group, and the configuration information of each route reflector may include the priority information of the route reflector. The first network node may determine the priority information of each route reflector in the route reflector group from the configuration information of the route reflector group, and determine the first route reflector from the route reflector group according to the priority information of each route reflector in the route reflector group. Optionally, the first network node may determine the priority of the route reflector according to the priority information of each route reflector, and determine the route reflector with the highest priority in the route reflector group as the first route reflector.

示例地,路由反射器组包括路由反射器001~003,路由反射器001~003的优先级信息依次为priority1、priority2和priority3,假设priority1指示的优先级为最高优先级,则第一网络节点将路由反射器001确定为第一路由反射器。By way of example, the route reflector group includes route reflectors 001-003, and the priority information of route reflectors 001-003 is priority 1, priority 2, and priority 3, respectively. Assuming that the priority indicated by priority 1 is the highest priority, the first network node determines route reflector 001 as the first route reflector.

第二种实现方式:第一网络节点根据路由反射器组的配置信息,以均衡选举的方式从该路由反射器组中确定第一路由反射器。A second implementation manner: the first network node determines the first route reflector from the route reflector group in a balanced election manner according to the configuration information of the route reflector group.

在均衡选举的方式中,第一网络节点对路由反射器组中的路由反射器进行排列组合,得到至少一种路由反射器序列,根据该至少一种路由反射器序列中的目标序列确定该第一路由反射器。可选地,请参考图3,其示出了本申请实施例提供的一种第一网络节点以均衡选举的方式从路由反射器组中确定第一路由反射器的方法流程图,参见图3,该方法可以包括如下子步骤:In a balanced election mode, the first network node arranges and combines the route reflectors in the route reflector group to obtain at least one route reflector sequence, and determines the first route reflector according to the target sequence in the at least one route reflector sequence. Optionally, please refer to FIG3, which shows a flow chart of a method for a first network node to determine a first route reflector from a route reflector group in a balanced election mode provided by an embodiment of the present application. Referring to FIG3, the method may include the following sub-steps:

子步骤2021a、根据路由反射器组的配置信息,确定该路由反射器组中的路由反射器的数量。Sub-step 2021a: Determine the number of route reflectors in the route reflector group according to the configuration information of the route reflector group.

可选地,路由反射器组的配置信息可以包括该路由反射器组中的每个路由反射器的配置信息,第一网络节点可以根据该路由反射器组的配置信息所包含的路由反射器的配置信息的数量,确定该路由反射器组中的路由反射器的数量。可选地,第一网络节点可以将该路由反射器组的配置信息所包含的路由反射器的配置信息的数量,确定为该路由反射器组中的路由反射器的数量。Optionally, the configuration information of the route reflector group may include configuration information of each route reflector in the route reflector group, and the first network node may determine the number of route reflectors in the route reflector group according to the number of configuration information of the route reflectors included in the configuration information of the route reflector group. Optionally, the first network node may determine the number of configuration information of the route reflectors included in the configuration information of the route reflector group as the number of route reflectors in the route reflector group.

可选地,第一网络节点根据该路由反射器组的配置信息所包含的二元组的数量,确定该路由反射器组中的路由反射器的数量。或者,第一网络节点根据该路由反射器组的配置信息所包含的优先级信息的数量,确定该路由反射器组中的路由反射器的数量。或者,第一网络节点根据该路由反射器组的配置信息所包含的设备标识的数量,确定该路由反射器组中的路由反射器的数量。或者,第一网络节点根据该路由反射器组的配置信息所包含的公网地址的数量,确定该路由反射器组中的路由反射器的数量,本申请实施例对此不做限定。Optionally, the first network node determines the number of route reflectors in the route reflector group according to the number of tuples included in the configuration information of the route reflector group. Alternatively, the first network node determines the number of route reflectors in the route reflector group according to the number of priority information included in the configuration information of the route reflector group. Alternatively, the first network node determines the number of route reflectors in the route reflector group according to the number of device identifiers included in the configuration information of the route reflector group. Alternatively, the first network node determines the number of route reflectors in the route reflector group according to the number of public network addresses included in the configuration information of the route reflector group, which is not limited in the embodiments of the present application.

示例地,该路由反射器组的配置信息包括优先级信息priority1、priority2和priority3,则第一网络节点确定该路由反射器组中的路由反射器的数量为3。也即是,第一网络节点确定该路由反射器组包括3个路由反射器。For example, the configuration information of the route reflector group includes priority information priority1, priority2, and priority3, and the first network node determines that the number of route reflectors in the route reflector group is 3. That is, the first network node determines that the route reflector group includes 3 route reflectors.

子步骤2022a、根据该路由反射器组中的路由反射器的数量,对该路由反射器组中的路由反射器进行排列组合,得到该路由反射器组对应的至少一种路由反射器序列。Sub-step 2022a: according to the number of route reflectors in the route reflector group, the route reflectors in the route reflector group are arranged and combined to obtain at least one route reflector sequence corresponding to the route reflector group.

可选地,第一网络节点可以根据该路由反射器组中的路由反射器的数量,以及该路由反射器组中的路由反射器的设备标识,对该路由反射器组中的路由反射器进行排列组合,得到该路由反射器组对应的至少一种路由反射器序列,该至少一种路由反射器序列中的每种路由反射器序列可以包括该路由反射器组中的所有路由反射器。Optionally, the first network node may arrange and combine the route reflectors in the route reflector group according to the number of route reflectors in the route reflector group and the device identifiers of the route reflectors in the route reflector group to obtain at least one route reflector sequence corresponding to the route reflector group, and each route reflector sequence in the at least one route reflector sequence may include all route reflectors in the route reflector group.

示例地,路由反射器组包括路由反射器001~003,第一网络节点对该路由反射器001~003进行排列组合,可以得到该路由反射器组对应的如下6种路由反射器序列:For example, the route reflector group includes route reflectors 001 to 003. The first network node arranges and combines the route reflectors 001 to 003 to obtain the following six route reflector sequences corresponding to the route reflector group:

路由反射器序列1:路由反射器001、路由反射器002、路由反射器003;Route reflector sequence 1: route reflector 001, route reflector 002, route reflector 003;

路由反射器序列2:路由反射器001、路由反射器003、路由反射器002;Route reflector sequence 2: route reflector 001, route reflector 003, route reflector 002;

路由反射器序列3:路由反射器002、路由反射器001、路由反射器003;Route reflector sequence 3: route reflector 002, route reflector 001, route reflector 003;

路由反射器序列4:路由反射器002、路由反射器003、路由反射器001;Route reflector sequence 4: route reflector 002, route reflector 003, route reflector 001;

路由反射器序列5:路由反射器003、路由反射器001、路由反射器002;Route reflector sequence 5: route reflector 003, route reflector 001, route reflector 002;

路由反射器序列6:路由反射器003、路由反射器002、路由反射器001;Route reflector sequence 6: route reflector 003, route reflector 002, route reflector 001;

其中,上述6种路由反射器序列中,每种路由反射器序列包括路由反射器001~003(也即是该路由反射器组中的所有路由反射器),每个路由反射器序列具有序列号,不同路由反射器序列的序列号不同。例如,路由反射器序列1的序列号为1,路由反射器序列2的序列号为2,路由反射器序列3的序列号为3,依次类推。Among the above 6 types of route reflector sequences, each route reflector sequence includes route reflectors 001 to 003 (that is, all route reflectors in the route reflector group), and each route reflector sequence has a sequence number, and the sequence numbers of different route reflector sequences are different. For example, the sequence number of route reflector sequence 1 is 1, the sequence number of route reflector sequence 2 is 2, the sequence number of route reflector sequence 3 is 3, and so on.

子步骤2023a、从该至少一种路由反射器序列中确定目标序列。Sub-step 2023a: determining a target sequence from the at least one route reflector sequence.

可选地,该路由反射器组对应的至少一种路由反射器序列中,每种路由反射器序列具有序列号,不同路由反射器序列的序列号不同,第一网络节点可以根据第一网络节点的设备标识和该路由反射器组中的路由反射器的数量确定目标序列号,将该至少一种路由反射器序列中,序列号为该目标序列号的路由反射器序列确定为目标序列。Optionally, in at least one route reflector sequence corresponding to the route reflector group, each route reflector sequence has a serial number, and different route reflector sequences have different serial numbers. The first network node can determine the target sequence number based on the device identifier of the first network node and the number of route reflectors in the route reflector group, and determine the route reflector sequence with the target sequence number in the at least one route reflector sequence as the target sequence.

可选地,第一网络节点可以采用哈希(hash)算法,计算第一网络节点的设备标识和该路由反射器组中的路由反射器的数量的哈希值,将该哈希值确定为目标序列号。Optionally, the first network node may use a hash algorithm to calculate a hash value of the device identifier of the first network node and the number of route reflectors in the route reflector group, and determine the hash value as the target sequence number.

示例地,第一网络节点的设备标识可以为ID-A,路由反射器组中的路由反射器的数量为3,假设该第一网络节点计算出该ID-A与3的哈希值为1,则第一网络节点确定目标序列号为1,该第一网络节点将上述路由反射器序列1确定为目标序列。也即是,目标序列为:路由反射器001、路由反射器002、路由反射器003。For example, the device identifier of the first network node may be ID-A, and the number of route reflectors in the route reflector group is 3. Assuming that the first network node calculates that the hash value of ID-A and 3 is 1, the first network node determines that the target sequence number is 1, and the first network node determines the route reflector sequence 1 as the target sequence. That is, the target sequence is: route reflector 001, route reflector 002, route reflector 003.

需要说明的是,本申请实施例所描述的第一网络节点确定目标序列的方式仅仅是示例性的,本领域技术人员应当明白,实际应用中,第一网络节点还可以通过其他方式确定目标序列,例如,第一网络节点从至少一个路由反射器序列中随机选择一个路由反射器序列作为目标序列,本申请实施例不对第一网络节点确定目标序列的方式进行限定。It should be noted that the manner in which the first network node determines the target sequence described in the embodiment of the present application is merely exemplary. Those skilled in the art should understand that in actual applications, the first network node may also determine the target sequence in other ways. For example, the first network node randomly selects a route reflector sequence from at least one route reflector sequence as the target sequence. The embodiment of the present application does not limit the manner in which the first network node determines the target sequence.

子步骤2024a、根据该目标序列,从该路由反射器组中确定第一路由反射器。Sub-step 2024a: Determine a first route reflector from the route reflector group according to the target sequence.

第一网络节点确定出目标序列后,可以根据该目标序列从该路由反射器组中确定第一路由反射器。可选地,第一网络节点可以将该目标序列中的首个(也即是第一个)路由反射器确定为第一路由反射器。After the first network node determines the target sequence, it can determine the first route reflector from the route reflector group according to the target sequence. Optionally, the first network node can determine the first (ie, the first) route reflector in the target sequence as the first route reflector.

示例地,目标序列为:路由反射器001、路由反射器002、路由反射器003,该目标序列中的首个路由反射器为路由反射器001,则第一网络节点可以将路由反射器001确定为第一路由反射器。For example, the target sequence is: route reflector 001, route reflector 002, route reflector 003, and the first route reflector in the target sequence is route reflector 001. Then the first network node can determine route reflector 001 as the first route reflector.

第三种实现方式:第一网络节点根据路由反射器组的配置信息,以智能选举的方式从该路由反射器组中确定第一路由反射器。A third implementation manner: the first network node determines the first route reflector from the route reflector group in an intelligent election manner according to the configuration information of the route reflector group.

在智能选举的方式中,第一网络节点根据第一网络节点与路由反射器组中的各个路由反射器之间的通信链路的质量确定第一路由反射器。可选地,请参考图4,其示出了本申请实施例提供的一种第一网络节点以智能选举的方式从路由反射器组中确定第一路由反射器的方法流程图,参见图4,该方法可以包括如下子步骤:In the intelligent election method, the first network node determines the first route reflector according to the quality of the communication link between the first network node and each route reflector in the route reflector group. Optionally, please refer to Figure 4, which shows a flow chart of a method provided by an embodiment of the present application for a first network node to determine the first route reflector from the route reflector group in an intelligent election method. Referring to Figure 4, the method may include the following sub-steps:

子步骤2021b、根据路由反射器组的配置信息,获取第一网络节点与该路由反射器组中的每个路由反射器之间的通信链路的链路质量。Sub-step 2021b: acquiring, according to the configuration information of the route reflector group, the link quality of the communication link between the first network node and each route reflector in the route reflector group.

可选地,第一网络节点与路由反射器组中的每个路由反射器之间建立有通信链路,第一网络节点可以对该第一网络节点与每个路由反射器之间的通信链路进行质量检测,获取该第一网络节点与该每个路由反射器之间的通信链路的链路质量。其中,该链路质量可以包括链路时延、链路抖动或链路丢包率中的至少一种。Optionally, a communication link is established between the first network node and each route reflector in the route reflector group, and the first network node may perform quality detection on the communication link between the first network node and each route reflector to obtain the link quality of the communication link between the first network node and each route reflector. The link quality may include at least one of link delay, link jitter, or link packet loss rate.

可选地,第一网络节点可以采用目前使用的各种链路检测技术检测通信链路的链路质量,例如,第一网络节点可以采用存活检测机制(keepalive,KA)技术、双向转发检测(bidirectionalforwarding detection,BFD)技术或IP流性能管理(flow performancemanagement,FPM)技术等检测通信链路的链路质量。Optionally, the first network node can adopt various currently used link detection technologies to detect the link quality of the communication link. For example, the first network node can adopt the keepalive (KA) technology, bidirectional forwarding detection (BFD) technology or IP flow performance management (FPM) technology to detect the link quality of the communication link.

以采用KA技术检测通信链路的链路质量为例,在本申请实施例中,对于路由反射器组中的每个路由反射器(例如路由反射器001),在每个检测周期内,第一网络节点通过第一网络节点与该路由反射器(例如路由反射器001)之间的通信链路,向该路由反射器(例如路由反射器001)发送检测报文,并接收该路由反射器(例如路由反射器001)针对该检测报文发送的响应报文,根据该响应报文的接收时间戳以及该检测报文的发送时间戳,确定该通信链路的链路时延。根据第一检测报文的发送时间戳和第一响应报文的接收时间戳的时间差,以及第二检测报文的发送时间戳和第二响应报文的接收时间戳的时间差,确定该通信链路的链路抖动,其中,该第一检测报文和该第二检测报文为同一检测周期内的任意两个检测报文,该第一响应报文为该路由反射器(例如路由反射器001)针对该第一检测报文发送的响应报文,该第二响应报文为该路由反射器(例如路由反射器001)针对该第二检测报文发送的响应报文。根据每个检测周期内发送的检测报文的数量和接收的响应报文的数量,确定该通信链路的链路丢包量,进而根据该链路丢包量和该检测周期内发送的检测报文的数量确定该通信链路的链路丢包率。本领域技术人员应当明白,本段所描述的检测通信链路的链路质量的方式仅仅是示例性的,实际应用中,第一网络节点还可以采用其他方式检测通信链路的链路质量,本申请实施例在此不再赘述。Taking the use of KA technology to detect the link quality of a communication link as an example, in an embodiment of the present application, for each route reflector (e.g., route reflector 001) in the route reflector group, within each detection cycle, the first network node sends a detection message to the route reflector (e.g., route reflector 001) through the communication link between the first network node and the route reflector (e.g., route reflector 001), and receives a response message sent by the route reflector (e.g., route reflector 001) for the detection message, and determines the link delay of the communication link based on the reception timestamp of the response message and the sending timestamp of the detection message. According to the time difference between the sending timestamp of the first detection message and the receiving timestamp of the first response message, and the time difference between the sending timestamp of the second detection message and the receiving timestamp of the second response message, the link jitter of the communication link is determined, wherein the first detection message and the second detection message are any two detection messages in the same detection cycle, the first response message is the response message sent by the route reflector (e.g., route reflector 001) for the first detection message, and the second response message is the response message sent by the route reflector (e.g., route reflector 001) for the second detection message. According to the number of detection messages sent in each detection cycle and the number of response messages received, the link packet loss amount of the communication link is determined, and then the link packet loss rate of the communication link is determined according to the link packet loss amount and the number of detection messages sent in the detection cycle. It should be understood by those skilled in the art that the method of detecting the link quality of the communication link described in this paragraph is only exemplary. In actual applications, the first network node can also detect the link quality of the communication link in other ways, and the embodiments of the present application will not be repeated here.

子步骤2022b、根据第一网络节点与该路由反射器组中的各个路由反射器之间的通信链路的链路质量,从该路由反射器组中确定第一路由反射器。Sub-step 2022b: Determine a first route reflector from the route reflector group according to link qualities of communication links between the first network node and each route reflector in the route reflector group.

可选地,第一网络节点可以根据该第一网络节点与该路由反射器组中的每个路由反射器之间的通信链路的链路质量,确定该第一网络节点与该每个路由反射器之间的通信链路的综合度量指标(composite measure indicator,CMI),根据该第一网络节点与该路由反射器组中的各个路由反射器之间的通信链路的综合度量指标,从该路由反射器组中确定第一路由反射器。其中,该综合度量指标用于表征通信链路的综合链路质量,综合度量指标越大,表示通信链路的综合链路质量越好,综合度量指标越小,表示通信链路的综合链路质量越差。可选地,第一网络节点将综合度量指标最高的通信链路对应的路由反射器确定为第一路由反射器。也即是,第一网络节点将路由反射器组中,与第一网络节点之间的通信链路的综合度量指标最高的路由反射器确定为第一路由反射器。Optionally, the first network node may determine a composite measure indicator (CMI) of the communication link between the first network node and each route reflector in the route reflector group according to the link quality of the communication link between the first network node and each route reflector in the route reflector group, and determine the first route reflector from the route reflector group according to the composite measure indicator of the communication link between the first network node and each route reflector in the route reflector group. The composite measure indicator is used to characterize the composite link quality of the communication link, and the larger the composite measure indicator, the better the composite link quality of the communication link, and the smaller the composite measure indicator, the worse the composite link quality of the communication link. Optionally, the first network node determines the route reflector corresponding to the communication link with the highest composite measure indicator as the first route reflector. That is, the first network node determines the route reflector with the highest composite measure indicator of the communication link between the first network node and the route reflector group as the first route reflector.

可选地,该链路质量可以包括链路时延、链路抖动或链路丢包率中的至少一种,第一网络节点可以根据第一网络节点与每个路由反射器之间的通信链路的链路质量,采用综合度量指标公式确定该第一网络节点与该每个路由反射器之间的通信链路的综合度量指标。也即是,第一网络节点可以将该第一网络节点与该每个路由反射器之间的通信链路的链路时延、链路抖动或链路丢包率中的至少一种,代入该综合度量指标公式,通过该综合度量指标公式进行计算,得到该第一网络节点与该每个路由反射器之间的通信链路的综合度量指标。Optionally, the link quality may include at least one of link delay, link jitter or link packet loss rate, and the first network node may determine the comprehensive metric index of the communication link between the first network node and each route reflector according to the link quality of the communication link between the first network node and each route reflector using a comprehensive metric index formula. That is, the first network node may substitute at least one of the link delay, link jitter or link packet loss rate of the communication link between the first network node and each route reflector into the comprehensive metric index formula, and calculate through the comprehensive metric index formula to obtain the comprehensive metric index of the communication link between the first network node and each route reflector.

其中,综合度量指标公式可以为:C=9000-[min(k1×D,Dmax)+min(k2×J,Jmax)+min(k3×L,Lmax)],C表示综合度量指标,D表示链路时延,J表示链路抖动,L表示链路丢包率,Dmax表示链路时延的最大值,Jmax表示链路抖动的最大值,Lmax表示链路丢包率的最大值,k1、k2和k3均为常数,min(k1×D,Dmax)表示取k1×D和Dmax中的较小者,min(k2×J,Jmax)表示取k2×J和Jmax中的较小者,min(k3×L,Lmax)表示取k3×L和Lmax中的较小者。其中,k1、k2和k3的缺省值分别为1,也即是,[min(k1×D,Dmax)+min(k2×J,Jmax)+min(k3×L,Lmax)]缺省定义为[min(D,Dmax)+min(J,Jmax)+min(L,Lmax)]。k1、k2和k3的取值可以根据实际业务需求设置,例如,k1=1,k2=10,k3=1,则该综合度量指标公式可以为:C=9000-[min(D,Dmax)+min(10×J,Jmax)+min(L,Lmax)]。需要说明的是,通常情况下,k1×D≤Dmax,k2×J≤Jmax,k3×L≤Lmax,则前述综合度量指标公式可以简化为:C=9000-(k1×D+k2×J+k3×L),其中,Dmax=5000毫秒,Jmax=3000毫秒,Lmax=1000‰(‰表示千分之,为链路丢包率的单位)。Among them, the comprehensive measurement index formula can be: C=9000-[min(k1×D, Dmax)+min(k2×J, Jmax)+min(k3×L, Lmax)], C represents the comprehensive measurement index, D represents the link delay, J represents the link jitter, L represents the link packet loss rate, Dmax represents the maximum value of the link delay, Jmax represents the maximum value of the link jitter, Lmax represents the maximum value of the link packet loss rate, k1, k2 and k3 are all constants, min(k1×D, Dmax) represents the smaller of k1×D and Dmax, min(k2×J, Jmax) represents the smaller of k2×J and Jmax, and min(k3×L, Lmax) represents the smaller of k3×L and Lmax. The default values of k1, k2 and k3 are 1 respectively, that is, [min(k1×D, Dmax)+min(k2×J, Jmax)+min(k3×L, Lmax)] is defined by default as [min(D, Dmax)+min(J, Jmax)+min(L, Lmax)]. The values of k1, k2 and k3 can be set according to actual business needs. For example, k1=1, k2=10, k3=1, then the comprehensive measurement indicator formula can be: C=9000-[min(D, Dmax)+min(10×J, Jmax)+min(L, Lmax)]. It should be noted that, under normal circumstances, k1×D≤Dmax, k2×J≤Jmax, k3×L≤Lmax, then the aforementioned comprehensive measurement indicator formula can be simplified to: C=9000-(k1×D+k2×J+k3×L), wherein Dmax=5000 milliseconds, Jmax=3000 milliseconds, Lmax=1000‰ (‰ means thousandth, which is the unit of link packet loss rate).

需要说明的是,该综合度量指标公式中同时包括链路时延,链路抖动和链路丢包率,实际应用中,第一网络节点可能获取到链路时延,链路抖动和链路丢包率中的至少一个,并未同时获取到链路时延,链路抖动和链路丢包率,针对这种情况,第一网络节点在采用该综合度量指标公式计算通信链路的综合度量指标时,可以忽略未获取到的链路质量。例如,对于某条通信链路,若第一网络节点获取到该通信链路的链路时延和链路抖动,而未获取到该通信链路的链路丢包率,该第一网络节点可以忽略该通信链路的链路丢包率,采用公式C=9000-[min(k1×D,Dmax)+min(k2×J,Jmax)]计算该通信链路的综合度量指标。再例如,对于某条通信链路,若第一网络节点获取到该通信链路的链路时延和链路丢包率,而未获取到该通信链路的链路抖动,该第一网络节点可以忽略该通信链路的链路抖动,采用C=9000-[min(k1×D,Dmax)+min(k3×L,Lmax)]计算该通信链路的综合度量指标。又例如,对于某条通信链路,若第一网络节点获取到该通信链路的链路抖动和链路丢包率,而未获取到该通信链路的链路时延,该第一网络节点可以忽略该通信链路的链路时延,采用C=9000-[min(k2×J,Jmax)+min(k3×L,Lmax)]计算该通信链路的综合度量指标。It should be noted that the comprehensive metric formula includes link delay, link jitter and link packet loss rate at the same time. In actual applications, the first network node may obtain at least one of the link delay, link jitter and link packet loss rate, but not obtain the link delay, link jitter and link packet loss rate at the same time. In this case, when the first network node uses the comprehensive metric formula to calculate the comprehensive metric of the communication link, it can ignore the unobtained link quality. For example, for a certain communication link, if the first network node obtains the link delay and link jitter of the communication link, but does not obtain the link packet loss rate of the communication link, the first network node can ignore the link packet loss rate of the communication link and use the formula C = 9000-[min(k1×D, Dmax)+min(k2×J, Jmax)] to calculate the comprehensive metric of the communication link. For another example, for a certain communication link, if the first network node obtains the link delay and link packet loss rate of the communication link, but fails to obtain the link jitter of the communication link, the first network node may ignore the link jitter of the communication link, and use C=9000-[min(k1×D, Dmax)+min(k3×L, Lmax)] to calculate the comprehensive metric of the communication link. For another example, for a certain communication link, if the first network node obtains the link jitter and link packet loss rate of the communication link, but fails to obtain the link delay of the communication link, the first network node may ignore the link delay of the communication link, and use C=9000-[min(k2×J, Jmax)+min(k3×L, Lmax)] to calculate the comprehensive metric of the communication link.

示例地,综合度量指标公式为C=9000-(D+J+L),路由反射器组包括路由反射器001~003,假设第一网络节点与路由反射器001之间的通信链路的链路质量包括:D=10毫秒、J=10毫秒,L=10‰,则第一网络节点将D=10毫秒、J=10毫秒,L=10‰代入综合度量指标公式C=9000-(D+J+L)可以得到第一网络节点与路由反射器001之间的通信链路的综合度量指标为C=8970。假设第一网络节点与路由反射器002之间的通信链路的链路质量包括:D=20毫秒、J=20毫秒,L=20‰,则第一网络节点将D=20毫秒、J=20毫秒,L=20‰代入综合度量指标公式C=9000-(D+J+L)可以得到第一网络节点与路由反射器002之间的通信链路的综合度量指标为C=8940。假设第一网络节点与路由反射器003之间的通信链路的链路质量包括:D=30毫秒、J=30毫秒,L=30‰,则第一网络节点将D=30毫秒、J=30毫秒,L=30‰代入综合度量指标公式C=9000-(D+J+L)可以得到第一网络节点与路由反射器003之间的通信链路的综合度量指标为C=8910。则容易理解,第一网络节点可以将该路由反射器组中的路由反射器001确定为第一路由反射器。For example, the comprehensive metric formula is C=9000-(D+J+L), the route reflector group includes route reflectors 001-003, and it is assumed that the link quality of the communication link between the first network node and the route reflector 001 includes: D=10 milliseconds, J=10 milliseconds, and L=10‰. The first network node substitutes D=10 milliseconds, J=10 milliseconds, and L=10‰ into the comprehensive metric formula C=9000-(D+J+L) to obtain a comprehensive metric of the communication link between the first network node and the route reflector 001 of C=8970. Assuming that the link quality of the communication link between the first network node and the route reflector 002 includes: D=20 milliseconds, J=20 milliseconds, L=20‰, the first network node substitutes D=20 milliseconds, J=20 milliseconds, L=20‰ into the comprehensive metric indicator formula C=9000-(D+J+L) to obtain the comprehensive metric indicator of the communication link between the first network node and the route reflector 002 as C=8940. Assuming that the link quality of the communication link between the first network node and the route reflector 003 includes: D=30 milliseconds, J=30 milliseconds, L=30‰, the first network node substitutes D=30 milliseconds, J=30 milliseconds, L=30‰ into the comprehensive metric indicator formula C=9000-(D+J+L) to obtain the comprehensive metric indicator of the communication link between the first network node and the route reflector 003 as C=8910. It is easy to understand that the first network node can determine the route reflector 001 in the route reflector group as the first route reflector.

步骤203、第一网络节点与该第一路由反射器建立传输通道。Step 203: The first network node establishes a transmission channel with the first route reflector.

第一网络节点确定第一路由反射器后,第一网络节点可以与该第一路由反射器建立传输通道。其中,该传输通道可以是VPN隧道,例如,Auto VPN隧道(基于Auto VPN技术建立的隧道)。After the first network node determines the first route reflector, the first network node may establish a transmission channel with the first route reflector, wherein the transmission channel may be a VPN tunnel, for example, an Auto VPN tunnel (a tunnel established based on the Auto VPN technology).

可选地,第一网络节点可以向第一路由反射器发送注册报文,该注册报文可以携带该第一网络节点的设备标识,第一路由反射器接收到该注册报文后,记录该第一网络节点的设备标识,并向第一网络节点发送响应报文,该响应报文携带该第一路由反射器的设备信息(例如设备标识),以示该第一路由反射器与该第一网络节点之间的数据报安全传输协议(datagram transport level security,DTLS)管理通道建立成功。之后,该第一网络节点与该第一路由反射器通过二者之间的该DTLS管理通道获取彼此的传输网络信息(例如公网地址),并基于彼此的传输网络信息,在该第一网络节点与该第一路由反射器之间建立传输通道。Optionally, the first network node may send a registration message to the first route reflector, and the registration message may carry the device identifier of the first network node. After receiving the registration message, the first route reflector records the device identifier of the first network node and sends a response message to the first network node, and the response message carries the device information (e.g., device identifier) of the first route reflector, indicating that the datagram transport level security (DTLS) management channel between the first route reflector and the first network node is successfully established. Afterwards, the first network node and the first route reflector obtain each other's transmission network information (e.g., public network address) through the DTLS management channel between the two, and establish a transmission channel between the first network node and the first route reflector based on each other's transmission network information.

步骤204、第一网络节点激活第一网络节点与该第一路由反射器之间的对等体。Step 204: The first network node activates a peer relationship between the first network node and the first route reflector.

其中,该第一网络节点与该第一路由反射器之间的对等体可以是BGP对等体。The peers between the first network node and the first route reflector may be BGP peers.

可选地,第一网络节点中具有该第一网络节点与第一路由反射器之间的对等体,第一网络节点中的该对等体可以处于激活状态或非激活状态,若第一网络节点中的该对等体处于非激活状态,在需要使用时,第一网络节点可以激活该对等体,使该对等体处于激活状态。可选地,第一网络节点可以在向第一路由反射器发送注册报文后,激活该第一网络节点与该第一路由反射器之间的对等体。本领域技术人员容易理解,若第一网络节点中与该第一网络节点与第一路由反射器之间的对等体处于激活状态,第一网络节点可以不用执行该步骤204。Optionally, the first network node has a peer between the first network node and the first route reflector, and the peer in the first network node can be in an activated state or an inactivated state. If the peer in the first network node is in an inactivated state, the first network node can activate the peer when it is needed to be used, so that the peer is in an activated state. Optionally, the first network node can activate the peer between the first network node and the first route reflector after sending a registration message to the first route reflector. It is easy for those skilled in the art to understand that if the peer between the first network node and the first route reflector in the first network node is in an activated state, the first network node may not perform step 204.

步骤205、第一路由反射器激活第一路由反射器与第一网络节点之间的对等体。Step 205: The first route reflector activates a peer between the first route reflector and the first network node.

其中,该第一路由反射器与该第一网络节点之间的对等体可以是BGP对等体。The peer between the first route reflector and the first network node may be a BGP peer.

可选地,第一路由反射器中可以具有该第一路由反射器与通信网络中的各个网络节点之间的对等体,第一路由反射器中的对等体可以处于激活状态或非激活状态,若第一路由反射器中的对等体处于非激活状态,在需要使用时,第一路由反射器可以激活该对等体,使该对等体处于激活状态。可选地,第一路由反射器可以在接收到第一网络节点发送的注册报文后,根据该注册报文中携带的第一网络节点的设备标识,激活该第一路由反射器与第一网络节点之间的对等体。例如,第一路由反射器根据该注册报文中携带的第一网络节点的设备标识,从第一路由反射器中确定该第一路由反射器与第一网络节点之间的对等体,然后激活该第一路由反射器与第一网络节点之间的对等体。本领域技术人员容易理解,若第一路由反射器中与该第一路由反射器与第一网络节点之间的对等体处于激活状态,第一路由反射器可以不用执行该步骤205。Optionally, the first route reflector may have peers between the first route reflector and each network node in the communication network, and the peers in the first route reflector may be in an activated state or an inactivated state. If the peer in the first route reflector is in an inactivated state, the first route reflector may activate the peer when it is needed to be used, so that the peer is in an activated state. Optionally, after receiving a registration message sent by the first network node, the first route reflector may activate the peer between the first route reflector and the first network node according to the device identifier of the first network node carried in the registration message. For example, the first route reflector determines the peer between the first route reflector and the first network node from the first route reflector according to the device identifier of the first network node carried in the registration message, and then activates the peer between the first route reflector and the first network node. It is easy for a person skilled in the art to understand that if the peers in the first route reflector and between the first route reflector and the first network node are in an activated state, the first route reflector may not perform step 205.

步骤206、第一网络节点与第一路由反射器建立对等体连接。Step 206: The first network node establishes a peer connection with the first route reflector.

第一网络节点激活第一网络节点与第一路由反射器之间的对等体,且第一路由反射器激活第一路由反射器与第一网络节点之间的对等体之后,第一网络节点与第一路由反射器可以建立对等体连接。After the first network node activates a peer between the first network node and the first route reflector, and the first route reflector activates a peer between the first route reflector and the first network node, the first network node and the first route reflector may establish a peer connection.

可选地,第一网络节点激活第一网络节点与第一路由反射器之间的对等体之后,第一网络节点中与第一路由反射器之间的对等体处于空闲(idle)状态(也即是初始状态),第一路由反射器激活第一路由反射器与第一网络节点之间的对等体之后,第一路由反射器中与第一网络节点之间的对等体处于空闲状态,在空闲状态下,对等体拒绝邻居发送的连接请求。第一网络节点中的对等体在收到本设备(也即是第一网络节点)的开始(start)事件后,开始尝试与第一路由反射器中的对等体进行传输控制协议(transmission controlprotocol,TCP)连接,并转至连接(connect)状态。第一网络节点中的对等体在连接状态下,启动连接重试(connect retry)定时器,等待完成与第一路由反射器中的对等体的TCP连接。在第一网络节点中的对等体与第一路由反射器中的对等体的TCP连接成功之后,第一网络节点中的对等体向第一路由反射器中的对等体发送open(打开)报文,以与第一路由反射器中的对等体建立对等体连接,发送open报文后,第一网络节点中的对等体关闭连接重试定时器并转至opensent状态(open报文已发送状态)。第一网络节点中的对等体在opensent状态下,等待第一路由反射器中的对等体的open报文,并对接收到的open报文中的自治系统(autonomous system,AS)号、版本号、认证码等进行检查,以确定接收到的open报文是否正确。如果接收到的open报文正确,第一网络节点中的对等体向第一路由反射器中的对等体发送keepalive报文,以与第一路由反射器中的对等体保持对等体连接,发送keepalive报文后,第一网络节点中的对等体转至openconfirm状态(open报文已确认状态)。第一网络节点中的对等体在openconfirm状态下,等待第一路由反射器中的对等体的keepalive报文,如果接收到第一路由反射器中的对等体的keepalive报文,则转至established状态(连接已建立状态),此时,第一网络节点与该第一路由反射器之间的对等体连接建立成功。Optionally, after the first network node activates the peer between the first network node and the first route reflector, the peer between the first network node and the first route reflector is in an idle state (that is, an initial state), and after the first route reflector activates the peer between the first route reflector and the first network node, the peer between the first route reflector and the first network node is in an idle state, and in the idle state, the peer rejects the connection request sent by the neighbor. After receiving the start event of the device (that is, the first network node), the peer in the first network node starts to try to establish a transmission control protocol (TCP) connection with the peer in the first route reflector, and switches to a connected state. In the connected state, the peer in the first network node starts a connection retry timer and waits for the completion of the TCP connection with the peer in the first route reflector. After the TCP connection between the peer in the first network node and the peer in the first route reflector is successful, the peer in the first network node sends an open message to the peer in the first route reflector to establish a peer connection with the peer in the first route reflector. After sending the open message, the peer in the first network node closes the connection retry timer and switches to the opensent state (open message sent state). In the opensent state, the peer in the first network node waits for the open message of the peer in the first route reflector, and checks the autonomous system (AS) number, version number, authentication code, etc. in the received open message to determine whether the received open message is correct. If the received open message is correct, the peer in the first network node sends a keepalive message to the peer in the first route reflector to maintain the peer connection with the peer in the first route reflector. After sending the keepalive message, the peer in the first network node switches to the openconfirm state (open message confirmed state). The peer in the first network node waits for a keepalive message from the peer in the first route reflector in the openconfirm state. If the keepalive message from the peer in the first route reflector is received, the state is changed to the established state (connection established state). At this time, the peer connection between the first network node and the first route reflector is successfully established.

步骤207、第一网络节点通过与该第一路由反射器之间的传输通道,向该第一路由反射器发送第一网络节点的路由信息。Step 207: The first network node sends the routing information of the first network node to the first route reflector through the transmission channel between the first network node and the first route reflector.

第一网络节点与第一路由反射器建立传输通道,且建立对等体连接之后,第一网络节点可以通过与该第一路由反射器之间的传输通道,向该第一路由反射器发送该第一网络节点的路由信息。可选地,该第一网络节点的路由信息可以包括该第一网络节点的IP地址和/或MAC地址,以及该第一网络节点的下一跳节点的标识,本申请实施例对此不做限定。可以理解的是,该对等体连接为该传输通道的上层连接,该传输通道为该对等体连接的底层通道,即通过该对等体连接发送的报文均通过该传输通道传输。以该对等体连接为BGP连接、该传输通道为VPN隧道为例,在通过该BGP连接传输该路由信息时,将该路由信息封装在BGP报文中作为该BGP报文的负载,进一步地,在通过该VPN隧道传输该BGP报文时,将该BGP报文封装在VPN隧道报文中作为该VPN隧道报文的负载。After the first network node establishes a transmission channel with the first route reflector and establishes a peer connection, the first network node may send the routing information of the first network node to the first route reflector through the transmission channel between the first network node and the first route reflector. Optionally, the routing information of the first network node may include the IP address and/or MAC address of the first network node, and the identifier of the next hop node of the first network node, which is not limited in the embodiment of the present application. It can be understood that the peer connection is an upper layer connection of the transmission channel, and the transmission channel is a bottom layer channel of the peer connection, that is, all messages sent through the peer connection are transmitted through the transmission channel. Taking the peer connection as a BGP connection and the transmission channel as a VPN tunnel as an example, when the routing information is transmitted through the BGP connection, the routing information is encapsulated in the BGP message as the load of the BGP message, and further, when the BGP message is transmitted through the VPN tunnel, the BGP message is encapsulated in the VPN tunnel message as the load of the VPN tunnel message.

需要说明的是,本申请实施例是以第一网络节点通过与第一路由反射器之间的传输通道向该第一路由反射器发送该第一网络节点的路由信息为例说明的,本领域技术人员应当明白,第一网络节点可以通过与该第一路由反射器之间的传输通道,向该第一路由反射器发送任何需要向该第一路由反射器发送的信息,并且该第一路由反射器可以通过与该第一网络节点之间的传输通道,向该第一网络节点发送任何需要向该第一网络节点发送的信息,本申请实施例对此不做限定。示例地,第一网络节点可以通过与该第一路由反射器之间的传输通道,向该第一路由反射器发送该第一网络节点的传输网络信息,第一路由反射器也可以通过与第一网络节点之间的传输通道,向该第一网络节点发送该第一路由反射器的传输网络信息,使得第一网络节点与第一路由反射器能够通过该传输通道获取到彼此的传输网络信息。It should be noted that the embodiment of the present application is described by taking the example that the first network node sends the routing information of the first network node to the first route reflector through the transmission channel between the first network node and the first route reflector. Those skilled in the art should understand that the first network node can send any information that needs to be sent to the first route reflector to the first route reflector through the transmission channel between the first network node and the first route reflector, and the first route reflector can send any information that needs to be sent to the first network node to the first network node through the transmission channel between the first network node and the first network node, and the embodiment of the present application does not limit this. For example, the first network node can send the transmission network information of the first network node to the first route reflector through the transmission channel between the first network node and the first route reflector, and the first route reflector can also send the transmission network information of the first route reflector to the first network node through the transmission channel between the first network node and the first network node, so that the first network node and the first route reflector can obtain each other's transmission network information through the transmission channel.

步骤208、第一路由反射器将该第一网络节点的路由信息存储在该第一路由反射器的缓冲区中。Step 208: The first route reflector stores the routing information of the first network node in a buffer of the first route reflector.

对应于第一网络节点通过与第一路由反射器之间的传输通道向该第一路由反射器发送该第一网络节点的路由信息,第一路由反射器可以通过与该第一网络节点之间的传输通道接收该第一网络节点发送的该第一网络节点的路由信息。Corresponding to the first network node sending the routing information of the first network node to the first route reflector through the transmission channel between the first network node and the first route reflector, the first route reflector may receive the routing information of the first network node sent by the first network node through the transmission channel between the first network node and the first network node.

在本申请实施例中,路由反射器组中的每个路由反射器具有缓冲区(buffer),该缓冲区用于缓冲向该路由反射器组共享的信息,该缓冲区的大小可以是固定的,且该缓冲区配置有计时器,每个路由反射器在接收到网络节点发送的信息后,可以将网络节点发送的信息存储至该缓冲区,并在该缓冲区中的信息总量达到该缓冲区的最大量和/或该缓冲区的计时器的计时时长达到目标时长时,将该缓冲区中所有信息发送给路由反射器组中的其他路由反射器,其中,缓冲区的大小以及目标时长均可以根据实际情况设置,示例地,缓冲区的大小为4096字节,目标时长为1秒。In an embodiment of the present application, each route reflector in the route reflector group has a buffer, which is used to buffer information shared with the route reflector group. The size of the buffer can be fixed, and the buffer is configured with a timer. After receiving the information sent by the network node, each route reflector can store the information sent by the network node in the buffer, and when the total amount of information in the buffer reaches the maximum amount of the buffer and/or the timing duration of the timer of the buffer reaches the target duration, all the information in the buffer is sent to other route reflectors in the route reflector group, wherein the size of the buffer and the target duration can be set according to actual conditions. For example, the size of the buffer is 4096 bytes and the target duration is 1 second.

在本申请实施例中,第一路由反射器接收到该第一网络节点的路由信息后,可以将该第一网络节点的路由信息存储在该第一路由反射器的缓冲区中。可选地,第一路由反射器可以将第一网络节点的路由信息写入该第一路由反射器的缓冲区,以将该第一网络节点的路由信息存储在该第一路由反射器的缓冲区中。In an embodiment of the present application, after receiving the routing information of the first network node, the first route reflector may store the routing information of the first network node in a buffer of the first route reflector. Optionally, the first route reflector may write the routing information of the first network node into the buffer of the first route reflector to store the routing information of the first network node in the buffer of the first route reflector.

需要说明的是,在将该第一网络节点的路由信息存储在该第一路由反射器的缓冲区中之前,第一路由反射器可以检测第一路由反射器是否收到过该路由信息,若第一路由反射器未收到过该路由信息,第一路由反射器进一步检测是否需要转发该路由信息,若第一路由反射器未收到过该路由信息且需要转发该路由信息,第一路由反射器将该第一网络节点的路由信息存储在该第一路由反射器的缓冲区中,否则,第一路由反射器可以丢弃该第一网络节点的路由信息。例如,若第一路由反射器收到过该路由信息,第一路由反射器可以丢弃该第一网络节点的路由信息,或者,若第一路由反射器未收到过该路由信息但不需要转发该路由信息,第一路由反射器可以丢弃该第一网络节点的路由信息,本申请实施例对此不做限定。It should be noted that before storing the routing information of the first network node in the buffer of the first route reflector, the first route reflector can detect whether the first route reflector has received the routing information. If the first route reflector has not received the routing information, the first route reflector further detects whether it needs to forward the routing information. If the first route reflector has not received the routing information and needs to forward the routing information, the first route reflector stores the routing information of the first network node in the buffer of the first route reflector. Otherwise, the first route reflector can discard the routing information of the first network node. For example, if the first route reflector has received the routing information, the first route reflector can discard the routing information of the first network node, or if the first route reflector has not received the routing information but does not need to forward the routing information, the first route reflector can discard the routing information of the first network node. The embodiments of the present application do not limit this.

可选地,第一路由反射器可以记录接收过的每个路由信息,接收到第一网络节点的路由信息后,第一路由反射器可以将该路由信息与记录的路由信息进行比较来检测是否收到过该路由信息。第一路由反射器可以具有路由过滤规则,接收到第一网络节点的路由信息后,第一路由反射器可以根据该路由过滤规则检测是否需要转发该路由信息;可选地,若该路由信息符合该路由过滤规则,第一路由反射器可以确定需要转发该路由信息,若该路由信息不符合该路由过滤规则,第一路由反射器可以确定不需要转发该路由信息,本申请实施例对此不做限定。Optionally, the first route reflector may record each received route information. After receiving the route information of the first network node, the first route reflector may compare the route information with the recorded route information to detect whether the route information has been received. The first route reflector may have a route filtering rule. After receiving the route information of the first network node, the first route reflector may detect whether the route information needs to be forwarded according to the route filtering rule; optionally, if the route information meets the route filtering rule, the first route reflector may determine that the route information needs to be forwarded; if the route information does not meet the route filtering rule, the first route reflector may determine that the route information does not need to be forwarded. The embodiments of the present application do not limit this.

步骤209、第一路由反射器通过该第一路由反射器与该路由反射器组中的其他路由反射器之间的传输通道,向该其他路由反射器发送该第一网络节点的路由信息,该其他路由反射器包括第二路由反射器。Step 209: The first route reflector sends the routing information of the first network node to other route reflectors in the route reflector group through a transmission channel between the first route reflector and the other route reflectors, where the other route reflectors include the second route reflector.

第一路由反射器将第一网络节点的路由信息存储在该第一路由反射器的缓冲区中之后,可以检测是否满足发送条件,当满足发送条件时,该第一路由反射器通过该第一路由反射器与路由反射器组中其他路由反射器之间的传输通道,向该其他路由反射器发送该第一网络节点的路由信息。其中,该传输通道可以是VPN隧道,例如,Auto VPN隧道。After the first route reflector stores the routing information of the first network node in the buffer of the first route reflector, it can detect whether a sending condition is met. When the sending condition is met, the first route reflector sends the routing information of the first network node to other route reflectors in the route reflector group through a transmission channel between the first route reflector and the other route reflectors. The transmission channel can be a VPN tunnel, for example, an Auto VPN tunnel.

可选地,第一路由反射器可以通过该第一路由反射器与其他路由反射器之间的传输通道,向该其他路由反射器发送该第一路由反射器的缓冲区中的所有信息,在此过程中,该第一路由反射器可以向该其他路由反射器发送该第一网络节点的路由信息。Optionally, the first route reflector may send all information in the buffer of the first route reflector to the other route reflectors through a transmission channel between the first route reflector and the other route reflectors. In this process, the first route reflector may send routing information of the first network node to the other route reflectors.

可选地,缓冲区配置有计时器,该发送条件可以包括:第一路由反射器的缓冲区中的信息总量达到该缓冲区的最大量或该缓冲区的计时器的计时时长达到目标时长中的至少一种。其中,缓冲区的最大量以及目标时长均可以根据实际情况设置,示例地,缓冲区的最大量为4096字节,目标时长为1秒。Optionally, the buffer is configured with a timer, and the sending condition may include at least one of: the total amount of information in the buffer of the first route reflector reaches the maximum amount of the buffer or the timing duration of the timer of the buffer reaches the target duration. The maximum amount of the buffer and the target duration can be set according to actual conditions. For example, the maximum amount of the buffer is 4096 bytes and the target duration is 1 second.

可选地,第一路由反射器将第一网络节点的路由信息存储在该第一路由反射器的缓冲区中之后,可以检测该缓冲区中的信息总量是否达到该缓冲区的最大量,且检测该缓冲区的计时器的计时时长是否达到目标时长,如果该缓冲区中的信息总量达到该缓冲区的最大量,和/或,该缓冲区的计时器的计时时长是否达到目标时长,该第一路由反射器通过该第一路由反射器与路由反射器组中其他路由反射器之间的传输通道,向该其他路由反射器发送该第一网络节点的路由信息。Optionally, after the first route reflector stores the routing information of the first network node in the buffer of the first route reflector, it can detect whether the total amount of information in the buffer reaches the maximum amount of the buffer, and detect whether the timing duration of the timer of the buffer reaches the target duration. If the total amount of information in the buffer reaches the maximum amount of the buffer, and/or the timing duration of the timer of the buffer reaches the target duration, the first route reflector sends the routing information of the first network node to other route reflectors in the route reflector group through the transmission channel between the first route reflector and the other route reflectors in the route reflector group.

可选地,第一路由反射器向该其他路由反射器发送该第一路由反射器的缓冲区中的所有信息之后,可以清空该第一路由反射器的缓冲区,并重置计时器,以便于对后续接收到的信息进行存储。可选地,第一路由反射器删除该缓冲区中的信息来清空该缓冲区,第一路由反射器重新设置该计时器的计时时长,以重置该计时器,例如,第一路由反射器重新设置该计时器从0开始计时目标时长,或者,第一路由反射器设置该计时器倒计时目标时长,本申请实施例对此不做限定。Optionally, after the first route reflector sends all the information in the buffer of the first route reflector to the other route reflectors, the buffer of the first route reflector can be cleared and the timer can be reset to facilitate the storage of the subsequently received information. Optionally, the first route reflector deletes the information in the buffer to clear the buffer, and the first route reflector resets the timing duration of the timer to reset the timer, for example, the first route reflector resets the timer to start the timing target duration from 0, or the first route reflector sets the countdown target duration of the timer, which is not limited in the embodiments of the present application.

步骤210、第二路由反射器通过该第二路由反射器与第一路由反射器之间的传输通道,接收该第一路由反射器发送的该第一网络节点的路由信息。Step 210: The second route reflector receives the routing information of the first network node sent by the first route reflector through a transmission channel between the second route reflector and the first route reflector.

其中,该第一网络节点可以为通信网络中的任意一个网络节点,该第一路由反射器可以为路由反射器组中与该第一网络节点建立传输通道的任意一个路由反射器,该第二路由反射器可以为路由反射器组中与第一路由反射器建立有传输通道的任意一个路由反射器,因此步骤209中所述的其他路由反射器可以包括该第二路由反射器。也即是,在步骤209中第一路由反射器通过该第一路由反射器与该第二路由反射器之间的传输通道向该第二路由反射器发送第一网络节点的路由信息,对应于此,在该步骤210中该第二路由反射器可以通过该第二路由反射器与第一路由反射器之间的传输通道,接收该第一路由反射器发送的该第一网络节点的路由信息。The first network node may be any network node in the communication network, the first route reflector may be any route reflector in the route reflector group that establishes a transmission channel with the first network node, and the second route reflector may be any route reflector in the route reflector group that establishes a transmission channel with the first route reflector, so the other route reflectors described in step 209 may include the second route reflector. That is, in step 209, the first route reflector sends the routing information of the first network node to the second route reflector through the transmission channel between the first route reflector and the second route reflector, and accordingly, in step 210, the second route reflector may receive the routing information of the first network node sent by the first route reflector through the transmission channel between the second route reflector and the first route reflector.

需要说明的是,路由反射器组中的路由反射器通过互传信息,可以实现路由反射器组中的不同路由反射器之间的信息共享,例如,第一路由反射器向第二路由反射器发送第一网络节点的路由信息,可以使第一路由反射器与第二路由反射器共享该第一网络节点的路由信息。本领域技术人员容易理解,在执行该步骤209至步骤210之前,第一路由反射器与第二路由反射器之间可以建立传输通道以及对等体连接,且在建立对等体连接之前,第一路由反射器和第二路由反射器可以分别激活各自的对等体。其中,第一路由反射器与第二路由反射器建立传输通道的过程可以参考前述步骤203,建立对等体连接的过程可以参考前述步骤206,激活对等体的过程可以参考步骤204和步骤205,本申请实施例在此不再赘述。It should be noted that the route reflectors in the route reflector group can realize information sharing between different route reflectors in the route reflector group by transmitting information to each other. For example, the first route reflector sends the routing information of the first network node to the second route reflector, so that the first route reflector and the second route reflector can share the routing information of the first network node. It is easy for those skilled in the art to understand that before executing steps 209 to 210, a transmission channel and a peer connection can be established between the first route reflector and the second route reflector, and before establishing the peer connection, the first route reflector and the second route reflector can activate their respective peers respectively. Among them, the process of establishing a transmission channel between the first route reflector and the second route reflector can refer to the aforementioned step 203, the process of establishing a peer connection can refer to the aforementioned step 206, and the process of activating a peer can refer to steps 204 and 205, which will not be repeated in the embodiments of the present application.

步骤211、第二路由反射器通过与第二网络节点之间的传输通道,向该第二网络节点发送该第一网络节点的路由信息。Step 211: The second route reflector sends the routing information of the first network node to the second network node through a transmission channel between the second route reflector and the second network node.

第二路由反射器接收到第一网络节点的路由信息后,可以通过与第二网络节点之间的传输通道,向该第二网络节点发送该第一网络节点的路由信息。其中,该第二网络节点可以为通信网络中与该第二路由反射器建立传输通道的任意一个,该传输通道可以是VPN隧道,例如,Auto VPN隧道。After receiving the routing information of the first network node, the second route reflector can send the routing information of the first network node to the second network node through the transmission channel between the second network node and the second network node. The second network node can be any one of the communication network that establishes a transmission channel with the second route reflector, and the transmission channel can be a VPN tunnel, for example, an Auto VPN tunnel.

需要说明的是,该第二路由反射器可以是第二网络节点获取到路由反射器组的配置信息后,根据该路由反射器组的配置信息从该路由反射器组中确定的,并且第二网络节点在确定该第二路由反射器后,还与该第二路由反射器建立了传输通道以及对等体连接,第二网络节点获取路由反射器组的配置信息的过程可以参考前述步骤201,第二网络节点根据该路由反射器组的配置信息从该路由反射器组中确定该第二路由反射器的过程可以参考前述步骤202,第二网络节点与第二路由反射器建立传输通道的过程可以参考前述步骤203,第二网络节点与第二路由反射器建立对等体连接的过程可以参考前述步骤204至步骤206,本申请实施例在此不再赘述。It should be noted that the second route reflector can be determined from the route reflector group according to the configuration information of the route reflector group after the second network node obtains the configuration information of the route reflector group, and after the second network node determines the second route reflector, it also establishes a transmission channel and a peer connection with the second route reflector. The process of the second network node obtaining the configuration information of the route reflector group can refer to the aforementioned step 201, the process of the second network node determining the second route reflector from the route reflector group according to the configuration information of the route reflector group can refer to the aforementioned step 202, the process of the second network node establishing a transmission channel with the second route reflector can refer to the aforementioned step 203, and the process of the second network node establishing a peer connection with the second route reflector can refer to the aforementioned steps 204 to 206, which will not be repeated in detail in the embodiments of the present application.

步骤212、第二网络节点根据该第一网络节点的路由信息,与该第一网络节点建立传输通道。Step 212: The second network node establishes a transmission channel with the first network node according to the routing information of the first network node.

对应于第二路由反射器向第二网络节点发送第一网络节点的路由信息,第二网络节点可以通过与第二路由反射器之间的传输通道,接收该第二路由反射器发送的第一网络节点的路由信息。之后,第二网络节点可以根据该第一网络节点的路由信息,与该第一网络节点建立传输通道。其中,该传输通道可以是VPN隧道,例如,Auto VPN隧道。第二网络节点与该第一网络节点建立传输通道的过程可以参考前述步骤203,本申请实施例在此不再赘述。Corresponding to the second route reflector sending the routing information of the first network node to the second network node, the second network node can receive the routing information of the first network node sent by the second route reflector through the transmission channel between the second route reflector and the second network node. Afterwards, the second network node can establish a transmission channel with the first network node based on the routing information of the first network node. The transmission channel can be a VPN tunnel, for example, an Auto VPN tunnel. The process of establishing the transmission channel between the second network node and the first network node can refer to the aforementioned step 203, and the embodiment of the present application will not be repeated here.

可选地,第二网络节点与第一网络节点建立传输通道之后,可以对该传输通道进行检测,以确定该传输通道是否畅通,以及该传输通道的传输质量。可选地,第二网络节点可以通过该传输通道向该第一网络节点发送检测报文,第一网络节点可以针对该检测报文向第二网络节点发送响应报文,第二网络节点根据该检测报文和该响应报文检测该传输通道。Optionally, after the second network node establishes a transmission channel with the first network node, the transmission channel may be detected to determine whether the transmission channel is unobstructed and the transmission quality of the transmission channel. Optionally, the second network node may send a detection message to the first network node through the transmission channel, the first network node may send a response message to the second network node in response to the detection message, and the second network node detects the transmission channel according to the detection message and the response message.

需要说明的是,在本申请实施例中,第一路由反射器可以为第一网络节点的主路由反射器,该主路由反射器的数量可以是至少一个,例如,主路由反射器的数量可以是1个,或者是2个(也即是一对路由反射器),主路由反射器的数量可以根据实际情况调整,本申请实施例对此不做限定。采用前述步骤202提供的方法,第一网络节点不仅可以从路由反射器组中确定第一网络节点的主路由反射器(也即是该第一路由反射器),而且可以从该路由反射器组中确定该第一网络节点的备路由反射器。也即是,在本申请实施例中,该方法还可以包括:第一网络节点根据路由反射器组的配置信息,从该路由反射器组中确定该第一网络节点的备路由反射器,与该第一网络节点的备路由反射器建立传输通道,并通过与该备路由反射器之间的传输通道向该备路由反射器发送第一网络节点的路由信息,以便于该备路由反射器通过该备路由反射器与路由反射器组中的其他路由反射器之间的传输通道,向该其他路由反射器发送第一网络节点的路由信息。可选地,第一网络节点可以在第一网络节点与第一路由反射器的传输通道建立失败时与该第一网络节点的备路由反射器建立传输通道,或者,第一网络节点可以在第一网络节点与第一路由反射器之间的传输通道的性能较差时,与该第一网络节点的备路由反射器建立传输通道,本申请实施例对此不做限定。It should be noted that, in the embodiment of the present application, the first route reflector may be a primary route reflector of the first network node, and the number of the primary route reflectors may be at least one, for example, the number of the primary route reflectors may be 1, or 2 (that is, a pair of route reflectors), and the number of the primary route reflectors may be adjusted according to actual conditions, and the embodiment of the present application does not limit this. Using the method provided in the aforementioned step 202, the first network node can not only determine the primary route reflector of the first network node (that is, the first route reflector) from the route reflector group, but also determine the backup route reflector of the first network node from the route reflector group. That is, in the embodiment of the present application, the method may also include: the first network node determines the standby route reflector of the first network node from the route reflector group according to the configuration information of the route reflector group, establishes a transmission channel with the standby route reflector of the first network node, and sends the routing information of the first network node to the standby route reflector through the transmission channel between the standby route reflector and the other route reflectors in the route reflector group, so that the standby route reflector sends the routing information of the first network node to the other route reflectors through the transmission channel between the standby route reflector and the other route reflectors in the route reflector group. Optionally, the first network node may establish a transmission channel with the standby route reflector of the first network node when the transmission channel between the first network node and the first route reflector fails to be established, or the first network node may establish a transmission channel with the standby route reflector of the first network node when the performance of the transmission channel between the first network node and the first route reflector is poor, which is not limited in the embodiment of the present application.

可选地,该第一网络节点的备路由反射器的数量可以是一个,也可以是多个。如果该第一网络节点的备路由反射器的数量是多个,第一网络节点可以将该路由反射器组中除主路由反射器(也即是该第一路由反射器)之外的路由反射器均确定为备路由反射器,例如,第一网络节点的主路由反射器为路由反射器001,第一网络节点可以将路由反射器002和路由反射器003均确定为该第一网络节点的备路由反射器。或者,采用前述步骤202提供的方法,第一网络节点可以确定出该路由反射器组中的多个路由反射器的排序顺序,第一网络节点可以根据该多个路由反射器的排序顺序,将该路由反射器组中的至少一个路由反射器确定为该第一网络节点的备路由反射器。如果该第一网络节点的备路由反射器的数量是一个,第一网络节点可以根据该多个路由反射器的排序顺序,将排序仅次于第一路由反射器的路由反射器确定为该第一网络节点的备路由反射器。例如,对应于前述步骤202中的第一种实现方式,第一网络节点可以将优先级仅次于第一路由反射器的路由反射器确定为该第一网络节点的备路由反射器,对应于前述步骤202中的第二种实现方式,第一网络节点可以将目标序列中的第二个路由反射器确定为该第一网络节点的备路由反射器,对应于前述步骤202中的第三种实现方式,第一网络节点可以将综合度量指标低于第一综合度量指标(指的是第一网络节点与第一路由反射器之间的通信链路的综合度量指标)的通信链路对应的路由反射器确定为该第一网络节点的备路由反射器,本申请实施例在此不再赘述。Optionally, the number of standby route reflectors of the first network node may be one or more. If the number of standby route reflectors of the first network node is more than one, the first network node may determine all route reflectors in the route reflector group except the main route reflector (that is, the first route reflector) as standby route reflectors. For example, the main route reflector of the first network node is route reflector 001, and the first network node may determine route reflectors 002 and route reflectors 003 as standby route reflectors of the first network node. Alternatively, using the method provided in the aforementioned step 202, the first network node may determine the sorting order of the multiple route reflectors in the route reflector group, and the first network node may determine at least one route reflector in the route reflector group as the standby route reflector of the first network node according to the sorting order of the multiple route reflectors. If the number of standby route reflectors of the first network node is one, the first network node may determine the route reflector ranked second only to the first route reflector as the standby route reflector of the first network node according to the sorting order of the multiple route reflectors. For example, corresponding to the first implementation method in the aforementioned step 202, the first network node may determine a route reflector whose priority is second only to the first route reflector as a backup route reflector of the first network node; corresponding to the second implementation method in the aforementioned step 202, the first network node may determine the second route reflector in the target sequence as the backup route reflector of the first network node; corresponding to the third implementation method in the aforementioned step 202, the first network node may determine a route reflector corresponding to a communication link whose comprehensive metric index is lower than the first comprehensive metric index (referring to the comprehensive metric index of the communication link between the first network node and the first route reflector) as the backup route reflector of the first network node. The embodiments of the present application will not be repeated here.

需要说明的是,本申请实施例提供的网络管理方法步骤的先后顺序可以适当调整,步骤也可以根据情况相应增减,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化的方法,都应涵盖在本申请的保护范围之内,因此不再赘述。It should be noted that the order of the steps of the network management method provided in the embodiment of the present application can be adjusted appropriately, and the steps can be increased or decreased according to the circumstances. Any technical personnel familiar with the technical field can easily think of the changed methods within the technical scope disclosed in the present application, and they should be covered within the scope of protection of the present application, so they will not be repeated here.

综上所述,本申请实施例提供的网络管理方法,第一网络节点根据通信网络中的路由反射器组的配置信息,与该路由反射器组中的第一路由反射器建立传输通道,并通过与该第一路由反射器之间的传输通道,向该第一路由反射器发送该第一网络节点的路由信息,第一路由反射器接收到该第一网络节点的路由信息后,通过该第一路由反射器与该路由反射器组中的其他路由反射器之间的传输通道,向该其他路由反射器发送该第一网络节点的路由信息,该路由反射器组中的第二路由反射器接收到该第一网络节点的路由信息后,通过与第二网络节点之间的传输通道,向该第二网络节点发送该第一网络节点的路由信息,使得该第二网络节点能够根据该第一网络节点的路由信息与该第一网络节点建立传输通道,实现路由互通并进行数据传输。本申请实施例提供的技术方案无需对通信网络分区域管理,因此有助于降低路由反射器的性能压力,简化路由反射器的配置,且对外不会复杂化通信网络的组网。In summary, the network management method provided by the embodiment of the present application is that the first network node establishes a transmission channel with the first route reflector in the route reflector group according to the configuration information of the route reflector group in the communication network, and sends the routing information of the first network node to the first route reflector through the transmission channel between the first route reflector and the first route reflector. After the first route reflector receives the routing information of the first network node, it sends the routing information of the first network node to the other route reflectors in the route reflector group through the transmission channel between the first route reflector and the other route reflectors in the route reflector group. After the second route reflector in the route reflector group receives the routing information of the first network node, it sends the routing information of the first network node to the second network node through the transmission channel between the second network node, so that the second network node can establish a transmission channel with the first network node according to the routing information of the first network node, realize route intercommunication and perform data transmission. The technical solution provided by the embodiment of the present application does not need to manage the communication network in different regions, so it helps to reduce the performance pressure of the route reflector, simplify the configuration of the route reflector, and will not complicate the networking of the communication network externally.

本申请实施例提供的方案,将通信网络中分布式部署的多个路由反射器视为路由反射器组,无需对通信网络分区域管理,一个域即可完成组网规划,可以避免通信网络的域间组网隔离问题,在大规模组网下统一定义整个通信网络的组网拓扑;并且可以扁平化通信网络的组网,解决多区域的复杂组网问题,简化对外的组网体现,便于企业维护和管理;由于可以由路由反射器组中的路由反射器共同管理网络节点,因此可以均衡路由反射器的压力,易于企业的节点规模扩大。The solution provided by the embodiment of the present application regards multiple route reflectors distributedly deployed in the communication network as a route reflector group. There is no need to manage the communication network by region, and the network planning can be completed in one domain, which can avoid the problem of inter-domain network isolation of the communication network and uniformly define the network topology of the entire communication network under large-scale networking; and can flatten the networking of the communication network, solve the complex networking problems in multiple regions, simplify the external networking expression, and facilitate enterprise maintenance and management; because the route reflectors in the route reflector group can jointly manage the network nodes, the pressure on the route reflectors can be balanced, and it is easy to expand the node scale of the enterprise.

下述为本申请的装置实施例,可以用于执行本申请的方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are device embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

请参考图5,其示出了本申请实施例提供的一种网络管理装置500的逻辑结构示意图,该网络管理装置500可以为通信网络中的第一网络节点中的功能组件,该通信网络包括路由反射器组和多个网络节点,该路由反射器组包括多个路由反射器,每个路由反射器与该路由反射器组中的至少一个路由反射器之间建立有传输通道,该第一网络节点可以为通信网络中的任意一个网络节点。参见图5,该网络管理装置500包括:第一建立模块510和第一发送模块520,该第一建立模块510可以用于执行图2所示实施例中的步骤202至步骤203;该第一发送模块520可以用于执行图2所示实施例中的步骤207。Please refer to Figure 5, which shows a logical structure diagram of a network management device 500 provided in an embodiment of the present application. The network management device 500 can be a functional component in a first network node in a communication network. The communication network includes a route reflector group and multiple network nodes. The route reflector group includes multiple route reflectors. A transmission channel is established between each route reflector and at least one route reflector in the route reflector group. The first network node can be any network node in the communication network. Referring to Figure 5, the network management device 500 includes: a first establishment module 510 and a first sending module 520. The first establishment module 510 can be used to execute steps 202 to 203 in the embodiment shown in Figure 2; the first sending module 520 can be used to execute step 207 in the embodiment shown in Figure 2.

该第一建立模块510,用于根据路由反射器组的配置信息,与该路由反射器组中的第一路由反射器建立传输通道,该路由反射器组的配置信息包括该路由反射器组中的每个路由反射器的配置信息;The first establishing module 510 is configured to establish a transmission channel with a first route reflector in the route reflector group according to configuration information of the route reflector group, where the configuration information of the route reflector group includes configuration information of each route reflector in the route reflector group;

该第一发送模块520,用于通过与该第一路由反射器之间的传输通道,向该第一路由反射器发送第一网络节点的路由信息,以便于该第一路由反射器通过该第一路由反射器与该路由反射器组中的其他路由反射器之间的传输通道,向该其他路由反射器发送该第一网络节点的路由信息。The first sending module 520 is configured to send routing information of the first network node to the first route reflector through a transmission channel between the first route reflector and the first route reflector, so that the first route reflector sends the routing information of the first network node to other route reflectors in the route reflector group through a transmission channel between the first route reflector and the other route reflectors.

综上所述,本申请实施例提供的网络管理装置,第一网络节点根据通信网络中的路由反射器组的配置信息,与该路由反射器组中的第一路由反射器建立传输通道,并通过与该第一路由反射器之间的传输通道,向该第一路由反射器发送该第一网络节点的路由信息,第一路由反射器接收到该第一网络节点的路由信息后,通过该第一路由反射器与该路由反射器组中的其他路由反射器之间的传输通道,向该其他路由反射器发送该第一网络节点的路由信息,该路由反射器组中的第二路由反射器接收到该第一网络节点的路由信息后,通过与第二网络节点之间的传输通道,向该第二网络节点发送该第一网络节点的路由信息,使得该第二网络节点能够根据该第一网络节点的路由信息与该第一网络节点建立传输通道,实现路由互通并进行数据传输。本申请实施例提供的技术方案无需对通信网络分区域管理,因此有助于降低路由反射器的性能压力,简化路由反射器的配置,且对外不会复杂化通信网络的组网。In summary, the network management device provided by the embodiment of the present application, the first network node establishes a transmission channel with the first route reflector in the route reflector group according to the configuration information of the route reflector group in the communication network, and sends the routing information of the first network node to the first route reflector through the transmission channel between the first route reflector and the first route reflector. After the first route reflector receives the routing information of the first network node, it sends the routing information of the first network node to the other route reflectors in the route reflector group through the transmission channel between the first route reflector and the other route reflectors in the route reflector group. After the second route reflector in the route reflector group receives the routing information of the first network node, it sends the routing information of the first network node to the second network node through the transmission channel between the second network node, so that the second network node can establish a transmission channel with the first network node according to the routing information of the first network node, realize route intercommunication and perform data transmission. The technical solution provided by the embodiment of the present application does not need to manage the communication network in different regions, so it helps to reduce the performance pressure of the route reflector, simplify the configuration of the route reflector, and will not complicate the networking of the communication network externally.

可选地,请参考图6,其出了本申请实施例提供的一种第一建立模块510的逻辑结构示意图,参见图6,该第一建立模块510包括:确定单元511和建立单元512,该确定单元511可以用于执行图2所示实施例中的步骤202;该建立单元512可以用于执行图2所示实施例中的步骤203。具体地:Optionally, please refer to FIG. 6 , which shows a logical structure diagram of a first establishment module 510 provided in an embodiment of the present application. Referring to FIG. 6 , the first establishment module 510 includes: a determination unit 511 and an establishment unit 512. The determination unit 511 can be used to execute step 202 in the embodiment shown in FIG. 2 ; the establishment unit 512 can be used to execute step 203 in the embodiment shown in FIG. 2 . Specifically:

该确定单元511,用于根据路由反射器组的配置信息,从该路由反射器组中确定第一路由反射器;The determining unit 511 is configured to determine a first route reflector from the route reflector group according to configuration information of the route reflector group;

该建立单元512,用于与该第一路由反射器建立传输通道。The establishing unit 512 is configured to establish a transmission channel with the first route reflector.

可选地,该路由反射器的配置信息包括该路由反射器中的各个路由反射器的优先级信息,Optionally, the configuration information of the route reflector includes priority information of each route reflector in the route reflector.

该确定单元511,用于:根据该路由反射器组中的各个路由反射器的优先级信息,从该路由反射器组中确定第一路由反射器。The determining unit 511 is configured to determine a first route reflector from the route reflector group according to priority information of each route reflector in the route reflector group.

可选地,该确定单元511,用于:Optionally, the determining unit 511 is configured to:

根据该路由反射器组的配置信息,确定该路由反射器组中的路由反射器的数量;Determine the number of route reflectors in the route reflector group according to the configuration information of the route reflector group;

根据该路由反射器组中的路由反射器的数量,对该路由反射器组中的路由反射器进行排列组合,得到该路由反射器组对应的至少一种路由反射器序列,每种路由反射器序列包括该路由反射器组中的所有路由反射器;According to the number of route reflectors in the route reflector group, the route reflectors in the route reflector group are arranged and combined to obtain at least one route reflector sequence corresponding to the route reflector group, each route reflector sequence including all route reflectors in the route reflector group;

从该至少一种路由反射器序列中确定目标序列;determining a target sequence from the at least one route reflector sequence;

根据该目标序列,从该路由反射器组中确定第一路由反射器。A first route reflector is determined from the route reflector group according to the target sequence.

可选地,每种路由反射器序列具有序列号,不同路由反射器序列的序列号不同,Optionally, each route reflector sequence has a sequence number, and different route reflector sequences have different sequence numbers.

该确定单元511,用于:The determining unit 511 is used to:

根据第一网络节点的设备标识和路由反射器组中的路由反射器的数量,确定目标序列号;Determining a target sequence number according to a device identifier of the first network node and the number of route reflectors in the route reflector group;

将该至少一种路由反射器序列中,序列号为目标序列号的路由反射器序列确定为目标序列。A route reflector sequence having a sequence number that is the target sequence number in the at least one route reflector sequence is determined as a target sequence.

可选地,该确定单元511,用于:Optionally, the determining unit 511 is configured to:

根据路由反射器组的配置信息,获取第一网络节点与该路由反射器组中的每个路由反射器之间的通信链路的链路质量;Acquire, according to the configuration information of the route reflector group, a link quality of a communication link between the first network node and each route reflector in the route reflector group;

根据该第一网络节点与该路由反射器组中的各个路由反射器之间的通信链路的链路质量,从该路由反射器组中确定第一路由反射器。A first route reflector is determined from the route reflector group according to link qualities of communication links between the first network node and each route reflector in the route reflector group.

可选地,该确定单元511,用于:Optionally, the determining unit 511 is configured to:

根据第一网络节点与路由反射器组中的每个路由反射器之间的通信链路的链路质量,确定该第一网络节点与该每个路由反射器之间的通信链路的综合度量指标,每条通信链路的综合度量指标用于表征该通信链路的综合链路质量;Determine, according to the link quality of the communication link between the first network node and each route reflector in the route reflector group, a comprehensive metric index of the communication link between the first network node and each route reflector, wherein the comprehensive metric index of each communication link is used to characterize the comprehensive link quality of the communication link;

根据该第一网络节点与该路由反射器组中的各个路由反射器之间的通信链路的综合度量指标,从该路由反射器组中确定第一路由反射器。A first route reflector is determined from the route reflector group according to a comprehensive metric indicator of a communication link between the first network node and each route reflector in the route reflector group.

可选地,链路质量包括:链路时延、链路抖动或链路丢包率中的至少一种,Optionally, the link quality includes: at least one of link delay, link jitter or link packet loss rate,

该确定单元511,用于:The determining unit 511 is used to:

根据第一网络节点与每个路由反射器之间的通信链路的链路质量,采用综合度量指标公式确定该第一网络节点与该每个路由反射器之间的通信链路的综合度量指标;Determine, according to the link quality of the communication link between the first network node and each route reflector, a comprehensive metric indicator formula for the communication link between the first network node and each route reflector;

其中,该综合度量指标公式为:C=9000-[min(k1×D,Dmax)+min(k2×J,Jmax)+min(k3×L,Lmax)],C表示综合度量指标,D表示链路时延,J表示链路抖动,L表示链路丢包率,Dmax表示链路时延的最大值,Jmax表示链路抖动的最大值,Lmax表示链路丢包率的最大值,k1、k2和k3均为常数。Among them, the comprehensive measurement index formula is: C = 9000-[min(k1×D, Dmax)+min(k2×J, Jmax)+min(k3×L, Lmax)], C represents the comprehensive measurement index, D represents the link delay, J represents the link jitter, L represents the link packet loss rate, Dmax represents the maximum value of the link delay, Jmax represents the maximum value of the link jitter, Lmax represents the maximum value of the link packet loss rate, and k1, k2 and k3 are all constants.

可选地,第一路由反射器为第一网络节点的主路由反射器,请参考图7,其示出了本申请实施例提供的另一种网络管理装置500的逻辑结构示意图,参见图7,在图5的基础上,该网络管理装置500还包括:第二建立模块530和第二发送模块540。Optionally, the first route reflector is the main route reflector of the first network node. Please refer to Figure 7, which shows a logical structure diagram of another network management device 500 provided in an embodiment of the present application. Referring to Figure 7, based on Figure 5, the network management device 500 also includes: a second establishment module 530 and a second sending module 540.

该第二建立模块530,用于根据路由反射器组的配置信息,与该路由反射器组中的确定第一网络节点的备路由反射器建立传输通道;The second establishing module 530 is configured to establish a transmission channel with a standby route reflector that determines the first network node in the route reflector group according to the configuration information of the route reflector group;

该第二发送模块540,用于通过与该备路由反射器之间的传输通道,向该备路由反射器发送第一网络节点的路由信息,以便于该备路由反射器通过该备路由反射器与该路由反射器组中的其他路由反射器之间的传输通道,向该其他路由反射器发送第一网络节点的路由信息。The second sending module 540 is configured to send the routing information of the first network node to the standby route reflector through the transmission channel between the standby route reflector and the standby route reflector, so that the standby route reflector sends the routing information of the first network node to other route reflectors in the route reflector group through the transmission channel between the standby route reflector and the other route reflectors.

可选地,请继续参图7,该网络管理装置500还包括:激活模块550和第三建立模块560,该激活模块550可以用于执行图2所示实施例中的步骤204,该第三建立模块560可以用于执行图2所示实施例中的步骤206,具体地:Optionally, please continue to refer to FIG. 7 , the network management device 500 further includes: an activation module 550 and a third establishment module 560, the activation module 550 can be used to execute step 204 in the embodiment shown in FIG. 2 , and the third establishment module 560 can be used to execute step 206 in the embodiment shown in FIG. 2 , specifically:

该激活模块550,用于激活第一网络节点与第一路由反射器之间的对等体;The activation module 550 is used to activate a peer between the first network node and the first route reflector;

该第三建立模块560,用于建立该第一网络节点与该第一路由反射器之间的对等体连接。The third establishing module 560 is configured to establish a peer connection between the first network node and the first route reflector.

综上所述,本申请实施例提供的网络管理装置,第一网络节点根据通信网络中的路由反射器组的配置信息,与该路由反射器组中的第一路由反射器建立传输通道,并通过与该第一路由反射器之间的传输通道,向该第一路由反射器发送该第一网络节点的路由信息,第一路由反射器接收到该第一网络节点的路由信息后,通过该第一路由反射器与该路由反射器组中的其他路由反射器之间的传输通道,向该其他路由反射器发送该第一网络节点的路由信息,该路由反射器组中的第二路由反射器接收到该第一网络节点的路由信息后,通过与第二网络节点之间的传输通道,向该第二网络节点发送该第一网络节点的路由信息,使得该第二网络节点能够根据该第一网络节点的路由信息与该第一网络节点建立传输通道,实现路由互通并进行数据传输。本申请实施例提供的技术方案无需对通信网络分区域管理,因此有助于降低路由反射器的性能压力,简化路由反射器的配置,且对外不会复杂化通信网络的组网。In summary, the network management device provided by the embodiment of the present application, the first network node establishes a transmission channel with the first route reflector in the route reflector group according to the configuration information of the route reflector group in the communication network, and sends the routing information of the first network node to the first route reflector through the transmission channel between the first route reflector and the first route reflector. After the first route reflector receives the routing information of the first network node, it sends the routing information of the first network node to the other route reflectors in the route reflector group through the transmission channel between the first route reflector and the other route reflectors in the route reflector group. After the second route reflector in the route reflector group receives the routing information of the first network node, it sends the routing information of the first network node to the second network node through the transmission channel between the second network node, so that the second network node can establish a transmission channel with the first network node according to the routing information of the first network node, realize route intercommunication and perform data transmission. The technical solution provided by the embodiment of the present application does not need to manage the communication network in different regions, so it helps to reduce the performance pressure of the route reflector, simplify the configuration of the route reflector, and will not complicate the networking of the communication network externally.

请参考图8,其示出了本申请实施例提供的一种网络管理装置800的逻辑结构示意图,该网络管理装置800可以为通信网络中的第一路由反射器中的功能组件,该通信网络包括路由反射器组和多个网络节点,该路由反射器组包括多个路由反射器,每个路由反射器与该路由反射器组中的至少一个路由反射器之间建立有传输通道,该第一路由反射器为该多个路由反射器中的任意一个。参见图8,该网络管理装置800包括:第一建立模块810、接收模块820和发送模块830,该第一建立模块810可以用于执行图2所示实施例中的步骤203;该发送模块830可以用于执行图2所示实施例中的步骤209。具体地:Please refer to Figure 8, which shows a schematic diagram of the logical structure of a network management device 800 provided in an embodiment of the present application. The network management device 800 can be a functional component in the first route reflector in a communication network. The communication network includes a route reflector group and multiple network nodes. The route reflector group includes multiple route reflectors. A transmission channel is established between each route reflector and at least one route reflector in the route reflector group. The first route reflector is any one of the multiple route reflectors. Referring to Figure 8, the network management device 800 includes: a first establishment module 810, a receiving module 820 and a sending module 830. The first establishment module 810 can be used to execute step 203 in the embodiment shown in Figure 2; the sending module 830 can be used to execute step 209 in the embodiment shown in Figure 2. Specifically:

该第一建立模块810,用于与多个网络节点中的第一网络节点建立传输通道;The first establishing module 810 is used to establish a transmission channel with a first network node among the multiple network nodes;

该接收模块820,用于通过与该第一网络节点之间的传输通道,接收该第一网络节点发送的该第一网络节点的路由信息;The receiving module 820 is configured to receive the routing information of the first network node sent by the first network node through a transmission channel between the first network node and the first network node;

该发送模块830,用于通过第一路由反射器与路由反射器组中其他路由反射器之间的传输通道,向该其他路由反射器发送该第一网络节点的路由信息,以便于该路由反射器组中的第二路由反射器通过与第二网络节点之间的传输通道,向该第二网络节点发送该第一网络节点的路由信息,该第二路由反射器为该其他路由反射器中与该第一路由反射器建立传输通道的任意一个,该第二网络节点为该多个网络节点中与该第二路由反射器建立传输通道的任意一个。The sending module 830 is used to send the routing information of the first network node to other route reflectors in the route reflector group through the transmission channel between the first route reflector and the other route reflectors, so that the second route reflector in the route reflector group sends the routing information of the first network node to the second network node through the transmission channel between the second route reflector and the second network node. The second route reflector is any one of the other route reflectors that establishes a transmission channel with the first route reflector, and the second network node is any one of the multiple network nodes that establishes a transmission channel with the second route reflector.

综上所述,本申请实施例提供的网络管理装置,第一路由反射器与通信网络中的第一网络节点建立传输通道,通过与该第一网络节点之间的传输通道,接收该第一网络节点发送的该第一网络节点的路由信息,通过该第一路由反射器与该路由反射器组中的其他路由反射器之间的传输通道,向该其他路由反射器发送该第一网络节点的路由信息,该路由反射器组中的第二路由反射器接收到该第一网络节点的路由信息后,通过与第二网络节点之间的传输通道,向该第二网络节点发送该第一网络节点的路由信息,使得该第二网络节点能够根据该第一网络节点的路由信息与该第一网络节点建立传输通道,实现路由互通并进行数据传输。本申请实施例提供的技术方案无需对通信网络分区域管理,因此有助于降低路由反射器的性能压力,简化路由反射器的配置,且对外不会复杂化通信网络的组网。In summary, in the network management device provided by the embodiment of the present application, the first route reflector establishes a transmission channel with the first network node in the communication network, receives the routing information of the first network node sent by the first network node through the transmission channel between the first route reflector and the other route reflectors in the route reflector group, sends the routing information of the first network node to the other route reflectors through the transmission channel between the first route reflector and the other route reflectors in the route reflector group, and after the second route reflector in the route reflector group receives the routing information of the first network node, sends the routing information of the first network node to the second network node through the transmission channel between the second network node, so that the second network node can establish a transmission channel with the first network node according to the routing information of the first network node, realize routing intercommunication and perform data transmission. The technical solution provided by the embodiment of the present application does not need to manage the communication network in different regions, so it helps to reduce the performance pressure of the route reflector, simplify the configuration of the route reflector, and will not complicate the networking of the communication network externally.

可选地,请参考图9,其示出了本申请实施例提供的另一种网络管理装置800的逻辑结构示意图,参见图9,在图8的基础上,该网络管理装置800还包括:存储模块840,该存储模块840可以用于执行图2所示实施例中的步骤208,具体地:Optionally, please refer to FIG. 9, which shows a schematic diagram of the logical structure of another network management device 800 provided in an embodiment of the present application. Referring to FIG. 9, based on FIG. 8, the network management device 800 further includes: a storage module 840, which can be used to execute step 208 in the embodiment shown in FIG. 2, specifically:

该存储模块840,用于将第一网络节点的路由信息存储在第一路由反射器的缓冲区中;The storage module 840 is used to store the routing information of the first network node in the buffer of the first route reflector;

该发送模块830,用于当满足发送条件时,通过第一路由反射器与路由反射器组中其他路由反射器之间的传输通道,向该其他路由反射器发送该第一网络节点的路由信息。The sending module 830 is configured to send the routing information of the first network node to other route reflectors in the route reflector group through a transmission channel between the first route reflector and the other route reflectors in the route reflector group when a sending condition is met.

可选地,该缓冲区配置有计时器,该发送条件包括:该缓冲区中的信息总量达到该缓冲区的最大量或该计时器的计时时长达到目标时长中的至少一种。Optionally, the buffer is configured with a timer, and the sending condition includes at least one of: the total amount of information in the buffer reaches the maximum amount of the buffer or the timing duration of the timer reaches a target duration.

可选地,该发送条件包括计时器的计时时长达到目标时长,请继续参考图9,该网络管理装置800还包括:清空模块850和重置模块860。Optionally, the sending condition includes that the timing duration of the timer reaches the target duration. Please continue to refer to FIG. 9 . The network management device 800 also includes: a clearing module 850 and a resetting module 860 .

该清空模块850,用于在向其他路由反射器发送第一网络节点的路由信息之后,清空该缓冲区;The clearing module 850 is used to clear the buffer after sending the routing information of the first network node to other route reflectors;

该重置模块860,用于在向其他路由反射器发送第一网络节点的路由信息之后,重置该计时器。The resetting module 860 is configured to reset the timer after sending the routing information of the first network node to other route reflectors.

请继续参考图9,该网络管理装置800还包括:激活模块870和第二建立模块880,该激活模块870可以用于执行图2所示实施例中的步骤205,该第二建立模块880可以用于执行图2所示实施例中的步骤206,具体地:Please continue to refer to FIG. 9 , the network management device 800 further includes: an activation module 870 and a second establishment module 880, the activation module 870 can be used to execute step 205 in the embodiment shown in FIG. 2 , and the second establishment module 880 can be used to execute step 206 in the embodiment shown in FIG. 2 , specifically:

该激活模块870,用于激活第一路由反射器与第一网络节点之间的对等体;The activation module 870 is used to activate a peer between the first route reflector and the first network node;

该第二建立模块880,用于建立该第一路由反射器与该第一网络节点之间的对等体连接。The second establishing module 880 is configured to establish a peer connection between the first route reflector and the first network node.

综上所述,本申请实施例提供的网络管理装置,第一路由反射器与通信网络中的第一网络节点建立传输通道,通过与该第一网络节点之间的传输通道,接收该第一网络节点发送的该第一网络节点的路由信息,通过该第一路由反射器与该路由反射器组中的其他路由反射器之间的传输通道,向该其他路由反射器发送该第一网络节点的路由信息,该路由反射器组中的第二路由反射器接收到该第一网络节点的路由信息后,通过与第二网络节点之间的传输通道,向该第二网络节点发送该第一网络节点的路由信息,使得该第二网络节点能够根据该第一网络节点的路由信息与该第一网络节点建立传输通道,实现路由互通并进行数据传输。本申请实施例提供的技术方案无需对通信网络分区域管理,因此有助于降低路由反射器的性能压力,简化路由反射器的配置,且对外不会复杂化通信网络的组网。In summary, in the network management device provided by the embodiment of the present application, the first route reflector establishes a transmission channel with the first network node in the communication network, receives the routing information of the first network node sent by the first network node through the transmission channel between the first route reflector and the other route reflectors in the route reflector group, sends the routing information of the first network node to the other route reflectors through the transmission channel between the first route reflector and the other route reflectors in the route reflector group, and after the second route reflector in the route reflector group receives the routing information of the first network node, sends the routing information of the first network node to the second network node through the transmission channel between the second network node, so that the second network node can establish a transmission channel with the first network node according to the routing information of the first network node, realize routing intercommunication and perform data transmission. The technical solution provided by the embodiment of the present application does not need to manage the communication network in different regions, so it helps to reduce the performance pressure of the route reflector, simplify the configuration of the route reflector, and will not complicate the networking of the communication network externally.

请参考图10,其示出了本申请实施例提供的一种网络管理装置1000的逻辑结构示意图,该网络管理装置1000可以为通信网络中的第二路由反射器中的功能组件,该通信网络包括路由反射器组和多个网络节点,该路由反射器组包括多个路由反射器,每个路由反射器与该路由反射器组中的至少一个路由反射器之间建立有传输通道,该第二路由反射器为该多个路由反射器中的任意一个。参见图10,该网络管理装置1000包括:接收模块1010和发送模块1020,该接收模块1010可以用于执行图2所示实施例中的步骤210;该发送模块1020可以用于执行图2所示实施例中的步骤211。具体地:Please refer to Figure 10, which shows a schematic diagram of the logical structure of a network management device 1000 provided in an embodiment of the present application. The network management device 1000 can be a functional component in a second route reflector in a communication network. The communication network includes a route reflector group and multiple network nodes. The route reflector group includes multiple route reflectors. A transmission channel is established between each route reflector and at least one route reflector in the route reflector group. The second route reflector is any one of the multiple route reflectors. Referring to Figure 10, the network management device 1000 includes: a receiving module 1010 and a sending module 1020. The receiving module 1010 can be used to execute step 210 in the embodiment shown in Figure 2; the sending module 1020 can be used to execute step 211 in the embodiment shown in Figure 2. Specifically:

该接收模块1010,用于通过与第一路由反射器之间的传输通道,接收该第一路由反射器发送的第一网络节点的路由信息,该第一网络节点为该多个网络节点中的任意一个,该第一路由反射器为该多个路由反射器中与该第一网络节点建立传输通道的任意一个;The receiving module 1010 is configured to receive, through a transmission channel between the first route reflector and the first route reflector, routing information of a first network node sent by the first route reflector, where the first network node is any one of the multiple network nodes, and the first route reflector is any one of the multiple route reflectors that establishes a transmission channel with the first network node;

该发送模块1020,用于通过与第二网络节点之间的传输通道,向该第二网络节点发送该第一网络节点的路由信息,以便于该第二网络节点根据该第一网络节点的路由信息,与该第一网络节点建立传输通道,该第二网络节点为该多个网络节点中与该第二路由反射器建立传输通道的任意一个。The sending module 1020 is used to send the routing information of the first network node to the second network node through the transmission channel between the second network node, so that the second network node establishes a transmission channel with the first network node according to the routing information of the first network node. The second network node is any one of the multiple network nodes that establishes a transmission channel with the second route reflector.

综上所述,本申请实施例提供的网络管理装置,第二路由反射器通过与第一路由反射器之间的传输通道,接收该第一路由反射器发送的第一网络节点的路由信息,通过与第二网络节点之间的传输通道,向该第二网络节点发送该第一网络节点的路由信息,使得该第二网络节点能够根据该第一网络节点的路由信息与该第一网络节点建立传输通道,实现路由互通并进行数据传输。本申请实施例提供的技术方案无需对通信网络分区域管理,因此有助于降低路由反射器的性能压力,简化路由反射器的配置,且对外不会复杂化通信网络的组网。In summary, in the network management device provided by the embodiment of the present application, the second route reflector receives the routing information of the first network node sent by the first route reflector through the transmission channel between the second route reflector and the first network node, and sends the routing information of the first network node to the second network node through the transmission channel between the second network node, so that the second network node can establish a transmission channel with the first network node according to the routing information of the first network node, realize routing intercommunication and perform data transmission. The technical solution provided by the embodiment of the present application does not require regional management of the communication network, so it helps to reduce the performance pressure of the route reflector, simplify the configuration of the route reflector, and will not complicate the networking of the communication network externally.

请参考图11,其示出了本申请实施例提供的一种网络管理装置1100的逻辑结构示意图,该网络管理装置1100可以为通信网络中的第二网络节点中的功能组件,该通信网络包括路由反射器组和多个网络节点,该路由反射器组包括多个路由反射器,每个路由反射器与该路由反射器组中的至少一个路由反射器之间建立有传输通道,该第二网络节点为该多个网络节点中除第一网络节点之外的任意一个。参见图11,该网络管理装置1100包括:第一建立模块1110、接收模块1120和第二建立模块1130,该接收模块1120和该第二建立模块1130可以用于执行图2所示实施例中的步骤212。具体地:Please refer to Figure 11, which shows a schematic diagram of the logical structure of a network management device 1100 provided in an embodiment of the present application. The network management device 1100 can be a functional component in a second network node in a communication network. The communication network includes a route reflector group and multiple network nodes. The route reflector group includes multiple route reflectors. A transmission channel is established between each route reflector and at least one route reflector in the route reflector group. The second network node is any one of the multiple network nodes except the first network node. Referring to Figure 11, the network management device 1100 includes: a first establishment module 1110, a receiving module 1120, and a second establishment module 1130. The receiving module 1120 and the second establishment module 1130 can be used to execute step 212 in the embodiment shown in Figure 2. Specifically:

该第一建立模块1110,用于根据路由反射器组的配置信息,与该路由反射器组中的第二路由反射器建立传输通道,该路由反射器组的配置信息包括该路由反射器组中的每个该路由反射器的配置信息;The first establishing module 1110 is configured to establish a transmission channel with a second route reflector in the route reflector group according to configuration information of the route reflector group, where the configuration information of the route reflector group includes configuration information of each route reflector in the route reflector group;

该接收模块1120,用于通过与第二路由反射器之间的传输通道,接收该第二路由反射器发送的第一网络节点的路由信息;The receiving module 1120 is configured to receive routing information of the first network node sent by the second route reflector through a transmission channel between the second route reflector and the second route reflector;

该第二建立模块1130,用于根据该第一网络节点的路由信息,与该第一网络节点建立传输通道。The second establishing module 1130 is configured to establish a transmission channel with the first network node according to the routing information of the first network node.

综上所述,本申请实施例提供的网络管理装置,第二网络节点通过与第二路由反射器之间的传输通道,接收该第二路由反射器发送的第一网络节点的路由信息,根据该第一网络节点的路由信息与该第一网络节点建立传输通道,该第一网络节点的路由信息是第一网络节点发送给第一路由反射器,由第二路由反射器通过与第二网络节点之间的传输通道向该第二网络节点发送的。本申请实施例提供的技术方案无需对通信网络分区域管理,因此有助于降低路由反射器的性能压力,简化路由反射器的配置,且对外不会复杂化通信网络的组网。In summary, in the network management device provided by the embodiment of the present application, the second network node receives the routing information of the first network node sent by the second route reflector through the transmission channel between the second network node and the second route reflector, and establishes a transmission channel with the first network node according to the routing information of the first network node. The routing information of the first network node is sent by the first network node to the first route reflector, and is sent by the second route reflector to the second network node through the transmission channel between the second network node and the second network node. The technical solution provided by the embodiment of the present application does not require regional management of the communication network, so it helps to reduce the performance pressure of the route reflector, simplify the configuration of the route reflector, and does not complicate the networking of the communication network externally.

需要说明的是:上述实施例提供的网络管理装置在管理网络时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的网络管理装置与管理网络方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: the network management device provided in the above embodiment only uses the division of the above functional modules as an example to illustrate when managing the network. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the network management device provided in the above embodiment and the network management method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

请参考图12,其示出了本申请实施例提供的一种网络管理装置1200的硬件结构示意图,该网络管理装置1200可以为网络节点(例如前述第一网络节点或第二网络节点)或路由反射器(例如前述第一路由反射器或第二路由反射器)。参见图12,该网络管理装置1200包括处理器1202、存储器1204、通信接口1206和总线1208,处理器1202、存储器1204和通信接口1206通过总线1208彼此通信连接。本领域技术人员应当明白,图12所示的处理器1202、存储器1204和通信接口1206之间的连接方式仅仅是示例性的,在实现过程中,处理器1202、存储器1204和通信接口1206也可以采用除了总线1208之外的其他连接方式彼此通信连接。Please refer to FIG. 12, which shows a schematic diagram of the hardware structure of a network management device 1200 provided in an embodiment of the present application. The network management device 1200 may be a network node (e.g., the aforementioned first network node or second network node) or a route reflector (e.g., the aforementioned first route reflector or second route reflector). Referring to FIG. 12, the network management device 1200 includes a processor 1202, a memory 1204, a communication interface 1206, and a bus 1208. The processor 1202, the memory 1204, and the communication interface 1206 are connected to each other through the bus 1208. It should be understood by those skilled in the art that the connection method between the processor 1202, the memory 1204, and the communication interface 1206 shown in FIG. 12 is merely exemplary. In the implementation process, the processor 1202, the memory 1204, and the communication interface 1206 may also be connected to each other through other connection methods other than the bus 1208.

其中,存储器1204可以用于存储指令12042和数据12044。在本申请实施例中,存储器1204可以是各种类型的存储介质,例如随机存取存储器(random access memory,RAM)、只读存储器(read-only memory,ROM)、非易失性RAM(non-volatile RAM,NVRAM)、可编程ROM(programmable ROM,PROM)、可擦除PROM(erasable PROM,EPROM)、电可擦除PROM(electrically erasable PROM,EEPROM)、闪存、光存储器和寄存器等。并且,该存储器1204可以包括硬盘和/或内存。The memory 1204 may be used to store instructions 12042 and data 12044. In the embodiment of the present application, the memory 1204 may be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), flash memory, optical storage, registers, etc. Furthermore, the memory 1204 may include a hard disk and/or a memory.

其中,处理器1202可以是通用处理器,通用处理器可以是通过读取并执行存储器(例如存储器1204)中存储的指令(例如指令12042)来执行特定步骤和/或操作的处理器,通用处理器在执行上述步骤和/或操作的过程中可能用到存储在存储器(例如存储器1204)中的数据(例如数据12044)。通用处理器可以是,例如但不限于,中央处理器(centralprocessing unit,CPU)。此外,处理器1202也可以是专用处理器,专用处理器可以是专门设计的用于执行特定步骤和/或操作的处理器,该专用处理器可以是,例如但不限于,数字信号处理器(digitalsignal processor,DSP)、应用专用集成电路(application-specificintegrated circuit,ASIC)和现场可编程门阵列(field-programmable gate array,FPGA)等。此外,处理器1202还可以是多个处理器的组合,例如多核处理器。处理器1202可以包括至少一个电路,以执行上述实施例提供的网络管理方法的全部或部分步骤。Among them, the processor 1202 can be a general-purpose processor, which can be a processor that performs specific steps and/or operations by reading and executing instructions (such as instructions 12042) stored in a memory (such as memory 1204), and the general-purpose processor may use data (such as data 12044) stored in the memory (such as memory 1204) in the process of performing the above steps and/or operations. The general-purpose processor can be, for example but not limited to, a central processing unit (CPU). In addition, the processor 1202 can also be a dedicated processor, which can be a processor specially designed to perform specific steps and/or operations. The dedicated processor can be, for example but not limited to, a digital signal processor (DSP), an application-specific integrated circuit (ASIC) and a field-programmable gate array (FPGA). In addition, the processor 1202 can also be a combination of multiple processors, such as a multi-core processor. The processor 1202 may include at least one circuit to perform all or part of the steps of the network management method provided in the above embodiment.

其中,通信接口1206可以包括输入/输出(input/output,I/O)接口、物理接口和逻辑接口等用于实现网络管理装置1200内部的器件互连的接口,以及用于实现网络管理装置1200与其他设备(例如网络设备或用户设备)互连的接口。物理接口可以是千兆的以太接口(gigabitEthernet,GE),其可以用于实现网络管理装置1200与其他设备(例如网络设备或用户设备)互连,逻辑接口是网络管理装置1200内部的接口,其可以用于实现网络管理装置1200内部的器件互连。容易理解,通信接口1206可以用于网络管理装置1200与其他网络设备和/或用户设备通信,例如,通信接口1206用于网络管理装置1200与其他网络设备之间信息的发送和接收。The communication interface 1206 may include an input/output (I/O) interface, a physical interface, and a logical interface, etc., which are used to interconnect devices within the network management device 1200, and an interface used to interconnect the network management device 1200 with other devices (such as network devices or user devices). The physical interface may be a gigabit Ethernet interface (GE), which may be used to interconnect the network management device 1200 with other devices (such as network devices or user devices), and the logical interface is an interface within the network management device 1200, which may be used to interconnect devices within the network management device 1200. It is easy to understand that the communication interface 1206 may be used for the network management device 1200 to communicate with other network devices and/or user devices, for example, the communication interface 1206 is used for sending and receiving information between the network management device 1200 and other network devices.

其中,总线1208可以是任何类型的,用于实现处理器1202、存储器1204和通信接口1206互连的通信总线,例如系统总线。The bus 1208 may be any type of communication bus for interconnecting the processor 1202 , the memory 1204 , and the communication interface 1206 , such as a system bus.

上述器件可以分别设置在彼此独立的芯片上,也可以至少部分的或者全部的设置在同一块芯片上。将各个器件独立设置在不同的芯片上,还是整合设置在一个或者多个芯片上,往往取决于产品设计的需要。本申请实施例对上述器件的具体实现形式不做限定。The above devices may be arranged on independent chips, or at least partially or completely on the same chip. Whether to arrange each device independently on different chips or to integrate them on one or more chips often depends on the needs of product design. The embodiments of the present application do not limit the specific implementation form of the above devices.

图12所示的网络管理装置1200仅仅是示例性的,在实现过程中,网络管理装置1200还可以包括其他组件,本文不再一一列举。该图12所示的网络管理装置1200可以通过执行上述实施例提供的网络管理方法的全部或部分步骤来管理通信网络。The network management device 1200 shown in Figure 12 is only exemplary. In the implementation process, the network management device 1200 may also include other components, which are not listed here. The network management device 1200 shown in Figure 12 can manage the communication network by executing all or part of the steps of the network management method provided in the above embodiment.

本申请实施例提供了一种网络管理系统,该网络管理系统包括路由反射器组和多个网络节点,该路由反射器组包括多个路由反射器,每个路由反射器与该路由反射器组中的至少一个路由反射器之间建立有传输通道。其中,该多个网络节点可以包括第一网络节点和第二网络节点,该路由反射器组中与该第一网络节点建立传输通道的路由反射器可以为第一路由反射器,与该第二网络节点建立传输通道的路由反射器可以为第二路由反射器,该第一路由反射器与该第二路由反射器之间建立有传输通道。The embodiment of the present application provides a network management system, which includes a route reflector group and multiple network nodes, the route reflector group includes multiple route reflectors, and a transmission channel is established between each route reflector and at least one route reflector in the route reflector group. The multiple network nodes may include a first network node and a second network node, the route reflector in the route reflector group that establishes a transmission channel with the first network node may be a first route reflector, and the route reflector that establishes a transmission channel with the second network node may be a second route reflector, and a transmission channel is established between the first route reflector and the second route reflector.

在一种可能的实现方式中,该第一网络节点包括图5或图7所示的网络管理装置500,该第一路由反射器包括图8或图9所示的网络管理装置800,该第二路由反射器包括图10所示的网络管理装置1000,该第二网络节点包括图11所示的网络管理装置1100。在另一种可能的实现方式中,该第一网络节点、该第二网络节点、该第一路由反射器和该第二路由反射器中的至少一者可以为图12所示的网络管理装置1200。In one possible implementation, the first network node includes the network management device 500 shown in FIG. 5 or FIG. 7, the first route reflector includes the network management device 800 shown in FIG. 8 or FIG. 9, the second route reflector includes the network management device 1000 shown in FIG. 10, and the second network node includes the network management device 1100 shown in FIG. 11. In another possible implementation, at least one of the first network node, the second network node, the first route reflector, and the second route reflector may be the network management device 1200 shown in FIG. 12.

可选地,请参考图13,其示出了本申请实施例提供的一种网络管理系统1300的示意图,参见图13,该网络管理系统1300包括:第一网络节点1310、第二网络节点1320、第一路由反射器1330和第二路由反射器1340,第一网络节点1310和第二网络节点1320可以为通信网络中的任意两个网络节点,第一路由反射器1330可以为该通信网络的路由反射器组中与该第一网络节点1310建立传输通道的路由反射器,第二路由反射器1340可以为该通信网络的路由反射器组中与该第二网络节点1320建立传输通道的路由反射器。Optionally, please refer to Figure 13, which shows a schematic diagram of a network management system 1300 provided in an embodiment of the present application. Referring to Figure 13, the network management system 1300 includes: a first network node 1310, a second network node 1320, a first route reflector 1330 and a second route reflector 1340. The first network node 1310 and the second network node 1320 can be any two network nodes in the communication network. The first route reflector 1330 can be a route reflector in the route reflector group of the communication network that establishes a transmission channel with the first network node 1310. The second route reflector 1340 can be a route reflector in the route reflector group of the communication network that establishes a transmission channel with the second network node 1320.

该第一网络节点1310,用于根据路由反射器组的配置信息,与该路由反射器组中的第一路由反射器1330建立传输通道,通过与该第一路由反射器1330之间的传输通道,向该第一路由反射器1330发送该第一网络节点1310的路由信息,该路由反射器组的配置信息包括该路由反射器组中的每个路由反射器的配置信息,该第一网络节点1310为该多个网络节点中的任意一个;The first network node 1310 is configured to establish a transmission channel with a first route reflector 1330 in the route reflector group according to the configuration information of the route reflector group, and send routing information of the first network node 1310 to the first route reflector 1330 through the transmission channel between the first route reflector 1330, wherein the configuration information of the route reflector group includes configuration information of each route reflector in the route reflector group, and the first network node 1310 is any one of the multiple network nodes;

该第一路由反射器1330,用于通过该第一路由反射器1330与该路由反射器组中的其他路由反射器之间的传输通道,向该其他路由反射器发送该第一网络节点1310的路由信息;The first route reflector 1330 is configured to send the routing information of the first network node 1310 to other route reflectors in the route reflector group through a transmission channel between the first route reflector 1330 and the other route reflectors.

该第二路由反射器1340,用于通过与第二网络节点1320之间的传输通道,向该第二网络节点1320发送该第一网络节点1310的路由信息,该第二路由反射器1340为该其他路由反射器中的任意一个,该第二网络节点1320为该多个网络节点中与该第二路由反射器1340建立传输通道的任意一个;The second route reflector 1340 is used to send the routing information of the first network node 1310 to the second network node 1320 through the transmission channel between the second route reflector 1340 and the second network node 1320, wherein the second route reflector 1340 is any one of the other route reflectors, and the second network node 1320 is any one of the multiple network nodes that establishes a transmission channel with the second route reflector 1340;

该第二网络节点1320,用于根据路由反射器组的配置信息,与该路由反射器组中的第二路由反射器1340建立传输通道,通过与该第二路由反射器1340之间的传输通道,接收该第二路由反射器1340发送的该第一网络节点1310的路由信息,根据该第一网络节点1310的路由信息,与该第一网络节点1310建立传输通道。The second network node 1320 is used to establish a transmission channel with the second route reflector 1340 in the route reflector group according to the configuration information of the route reflector group, receive the routing information of the first network node 1310 sent by the second route reflector 1340 through the transmission channel between the second route reflector 1340, and establish a transmission channel with the first network node 1310 according to the routing information of the first network node 1310.

可选地,该第一网络节点1310,用于:Optionally, the first network node 1310 is configured to:

根据路由反射器组的配置信息,从该路由反射器组中确定该第一路由反射器1330;Determine the first route reflector 1330 from the route reflector group according to the configuration information of the route reflector group;

与该第一路由反射器1330建立传输通道。A transmission channel is established with the first route reflector 1330 .

可选地,该路由反射器的配置信息包括该路由反射器的优先级信息,Optionally, the configuration information of the route reflector includes priority information of the route reflector.

该第一网络节点1310,用于:根据路由反射器组中的各个路由反射器的优先级信息,从该路由反射器组中确定第一路由反射器1330。The first network node 1310 is configured to determine a first route reflector 1330 from the route reflector group according to priority information of each route reflector in the route reflector group.

可选地,该第一网络节点1310,用于:Optionally, the first network node 1310 is configured to:

根据路由反射器组的配置信息,确定该路由反射器组中的路由反射器的数量;Determine the number of route reflectors in the route reflector group according to the configuration information of the route reflector group;

根据该路由反射器组中的路由反射器的数量,对该路由反射器组中的路由反射器进行排列组合,得到该路由反射器组对应的至少一种路由反射器序列,每种路由反射器序列包括该路由反射器组中的所有路由反射器;According to the number of route reflectors in the route reflector group, the route reflectors in the route reflector group are arranged and combined to obtain at least one route reflector sequence corresponding to the route reflector group, each route reflector sequence including all route reflectors in the route reflector group;

从该至少一种路由反射器序列中确定目标序列;determining a target sequence from the at least one route reflector sequence;

根据该目标序列,从该路由反射器组中确定第一路由反射器1330。According to the target sequence, a first route reflector 1330 is determined from the route reflector group.

可选地,每种路由反射器序列具有序列号,不同路由反射器序列的序列号不同,Optionally, each route reflector sequence has a sequence number, and different route reflector sequences have different sequence numbers.

该第一网络节点1310,用于:The first network node 1310 is configured to:

根据该第一网络节点1310的设备标识和该路由反射器组中的路由反射器的数量,确定目标序列号;Determine a target sequence number according to the device identifier of the first network node 1310 and the number of route reflectors in the route reflector group;

将该至少一种路由反射器序列中,序列号为目标序列号的路由反射器序列确定为目标序列。A route reflector sequence having a sequence number that is the target sequence number in the at least one route reflector sequence is determined as a target sequence.

可选地,该第一网络节点1310,用于:Optionally, the first network node 1310 is configured to:

根据路由反射器组的配置信息,获取该第一网络节点1310与该路由反射器组中的每个路由反射器之间的通信链路的链路质量;Acquire, according to the configuration information of the route reflector group, a link quality of a communication link between the first network node 1310 and each route reflector in the route reflector group;

根据该第一网络节点1310与该路由反射器组中的各个路由反射器之间的通信链路的链路质量,从该路由反射器组中确定第一路由反射器1330。A first route reflector 1330 is determined from the route reflector group according to link quality of a communication link between the first network node 1310 and each route reflector in the route reflector group.

可选地,该第一网络节点1310,用于:Optionally, the first network node 1310 is configured to:

根据该第一网络节点1310与该路由反射器组中的每个路由反射器之间的通信链路的链路质量,确定该第一网络节点1310与该每个路由反射器之间的通信链路的综合度量指标,每条通信链路的综合度量指标用于表征该通信链路的综合链路质量;Determine, according to the link quality of the communication link between the first network node 1310 and each route reflector in the route reflector group, a comprehensive metric index of the communication link between the first network node 1310 and each route reflector, wherein the comprehensive metric index of each communication link is used to characterize the comprehensive link quality of the communication link;

根据该第一网络节点1310与该路由反射器组中的各个路由反射器之间的通信链路的综合度量指标,从该路由反射器组中确定第一路由反射器1330。A first route reflector 1330 is determined from the route reflector group according to a comprehensive metric of a communication link between the first network node 1310 and each route reflector in the route reflector group.

可选地,链路质量包括:链路时延、链路抖动或链路丢包率中的至少一种,Optionally, the link quality includes: at least one of link delay, link jitter or link packet loss rate,

该第一网络节点1310,用于:根据该第一网络节点1310与每个路由反射器之间的通信链路的链路质量,采用综合度量指标公式确定该第一网络节点1310与该每个路由反射器之间的通信链路的综合度量指标;The first network node 1310 is used to: determine a comprehensive metric index of the communication link between the first network node 1310 and each route reflector using a comprehensive metric index formula according to the link quality of the communication link between the first network node 1310 and each route reflector;

其中,综合度量指标公式为:C=9000-[min(k1×D,Dmax)+min(k2×J,Jmax)+min(k3×L,Lmax)],C表示综合度量指标,D表示链路时延该J表示链路抖动,L表示链路丢包率,Dmax表示链路时延的最大值,Jmax表示链路抖动的最大值,Lmax表示链路丢包率的最大值,k1、k2和k3均为常数。Among them, the comprehensive measurement index formula is: C = 9000-[min(k1×D, Dmax)+min(k2×J, Jmax)+min(k3×L, Lmax)], C represents the comprehensive measurement index, D represents the link delay, J represents the link jitter, L represents the link packet loss rate, Dmax represents the maximum value of the link delay, Jmax represents the maximum value of the link jitter, Lmax represents the maximum value of the link packet loss rate, and k1, k2 and k3 are all constants.

可选地,该第一路由反射器1330,用于:Optionally, the first route reflector 1330 is configured to:

将该第一网络节点1310的路由信息存储在该第一路由反射器1330的缓冲区中;Storing the routing information of the first network node 1310 in a buffer of the first route reflector 1330;

当满足发送条件时,通过该第一路由反射器1330与该路由反射器组中其他路由反射器之间的传输通道,向该其他路由反射器发送该第一网络节点1310的路由信息。When the sending condition is met, the routing information of the first network node 1310 is sent to other route reflectors in the route reflector group through the transmission channel between the first route reflector 1330 and the other route reflectors in the route reflector group.

可选地,该第一路由反射器1330,还用于:将该第一网络节点1310的路由信息存储在该第一路由反射器1330的缓冲区中之前,检测第一路由反射器1330是否收到过该路由信息,若该第一路由反射器1330未收到过该路由信息,检测是否需要转发该路由信息;Optionally, the first route reflector 1330 is further configured to: before storing the routing information of the first network node 1310 in the buffer of the first route reflector 1330, detect whether the first route reflector 1330 has received the routing information, and if the first route reflector 1330 has not received the routing information, detect whether the routing information needs to be forwarded;

该第一路由反射器1330,用于:若第一路由反射器1330未收到过该路由信息,且需要转发该路由信息,将该第一网络节点1310的路由信息存储在该缓冲区中。The first route reflector 1330 is configured to: if the first route reflector 1330 has not received the routing information and needs to forward the routing information, store the routing information of the first network node 1310 in the buffer.

可选地,该缓冲区配置有计时器,该发送条件包括:该缓冲区中的信息总量达到该缓冲区的最大量或该计时器的计时时长达到目标时长中的至少一种。Optionally, the buffer is configured with a timer, and the sending condition includes at least one of: the total amount of information in the buffer reaches the maximum amount of the buffer or the timing duration of the timer reaches a target duration.

可选地,该发送条件包括计时器的计时时长达到目标时长,Optionally, the sending condition includes that the timing duration of the timer reaches the target duration,

该第一路由反射器1330,还用于:在向该其他路由反射器发送该第一网络节点1310的路由信息之后,清空该缓冲区,并重置该计时器。The first route reflector 1330 is further configured to: after sending the routing information of the first network node 1310 to the other route reflectors, clear the buffer and reset the timer.

可选地,第一备路由反射器1330为该第一网络节点1310的主路由反射器,Optionally, the first standby route reflector 1330 is a primary route reflector of the first network node 1310.

该第一网络节点1310,还用于:The first network node 1310 is further configured to:

根据路由反射器组的配置信息,与该路由反射器组中的该第一网络节点1310的备路由反射器建立传输通道;Establishing a transmission channel with a standby route reflector of the first network node 1310 in the route reflector group according to the configuration information of the route reflector group;

通过与该备路由反射器之间的传输通道,向该备路由反射器发送该第一网络节点1310的路由信息,以便于该备路由反射器通过该备路由反射器与该路由反射器组中的其他路由反射器之间的传输通道,向该其他路由反射器发送该第一网络节点1310的路由信息。The routing information of the first network node 1310 is sent to the standby route reflector through the transmission channel between the standby route reflector and the other route reflectors in the route reflector group, so that the standby route reflector can send the routing information of the first network node 1310 to the other route reflectors through the transmission channel between the standby route reflector and the other route reflectors in the route reflector group.

可选地,该第一网络节点1310,还用于:Optionally, the first network node 1310 is further configured to:

在通过与第一路由反射器1330之间的传输通道,向该第一路由反射器1330发送该第一网络节点1310的路由信息之前,激活该第一网络节点1310与该第一路由反射器1330之间的对等体,建立该第一网络节点1310与该第一路由反射器1330之间的对等体连接;Before sending the routing information of the first network node 1310 to the first route reflector 1330 through the transmission channel between the first network node 1310 and the first route reflector 1330, activating a peer between the first network node 1310 and the first route reflector 1330 to establish a peer connection between the first network node 1310 and the first route reflector 1330;

该第一路由反射器1330,还用于:The first route reflector 1330 is further configured to:

在通过与第一网络节点1310之间的传输通道,接收该第一网络节点1310发送的该第一网络节点1310的路由信息之前,激活该第一路由反射器1330与该第一网络节点1310之间的对等体,建立该第一路由反射器1330与该第一网络节点1310之间的对等体连接。Before receiving the routing information of the first network node 1310 sent by the first network node 1310 through the transmission channel between the first network node 1310, the peer between the first route reflector 1330 and the first network node 1310 is activated to establish a peer connection between the first route reflector 1330 and the first network node 1310.

综上所述,本申请实施例提供的网络管理系统,第一网络节点根据通信网络中的路由反射器组的配置信息,与该路由反射器组中的第一路由反射器建立传输通道,并通过与该第一路由反射器之间的传输通道,向该第一路由反射器发送该第一网络节点的路由信息,第一路由反射器接收到该第一网络节点的路由信息后,通过该第一路由反射器与该路由反射器组中的其他路由反射器之间的传输通道,向该其他路由反射器发送该第一网络节点的路由信息,该路由反射器组中的第二路由反射器接收到该第一网络节点的路由信息后,通过与第二网络节点之间的传输通道,向该第二网络节点发送该第一网络节点的路由信息,使得该第二网络节点能够根据该第一网络节点的路由信息与该第一网络节点建立传输通道,实现路由互通并进行数据传输。本申请实施例提供的技术方案无需对通信网络分区域管理,因此有助于降低路由反射器的性能压力,简化路由反射器的配置,且对外不会复杂化通信网络的组网。In summary, the network management system provided by the embodiment of the present application, the first network node establishes a transmission channel with the first route reflector in the route reflector group according to the configuration information of the route reflector group in the communication network, and sends the routing information of the first network node to the first route reflector through the transmission channel between the first route reflector and the first route reflector. After the first route reflector receives the routing information of the first network node, it sends the routing information of the first network node to the other route reflectors in the route reflector group through the transmission channel between the first route reflector and the other route reflectors in the route reflector group. After the second route reflector in the route reflector group receives the routing information of the first network node, it sends the routing information of the first network node to the second network node through the transmission channel between the second network node, so that the second network node can establish a transmission channel with the first network node according to the routing information of the first network node, realize route intercommunication and perform data transmission. The technical solution provided by the embodiment of the present application does not need to manage the communication network in different regions, so it helps to reduce the performance pressure of the route reflector, simplify the configuration of the route reflector, and will not complicate the networking of the communication network externally.

本申请实施例提供了一种计算机存储介质,该计算机存储介质内存储有计算机程序,该计算机程序被处理器执行时实现图2所示实施例提供的网络管理方法的全部或部分步骤。An embodiment of the present application provides a computer storage medium, in which a computer program is stored. When the computer program is executed by a processor, all or part of the steps of the network management method provided in the embodiment shown in FIG. 2 are implemented.

本申请实施例提供了一种包含指令的计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行图2所示实施例提供的网络管理方法的全部或部分步骤。An embodiment of the present application provides a computer program product including instructions. When the computer program product is executed on a computer, the computer is enabled to execute all or part of the steps of the network management method provided in the embodiment shown in FIG. 2 .

本申请实施例提供了一种芯片,该芯片包括可编程逻辑电路和/或程序指令,当该芯片运行时用于实现图2所示实施例提供的网络管理方法的全部或部分步骤。An embodiment of the present application provides a chip, which includes a programmable logic circuit and/or program instructions, and when the chip is running, it is used to implement all or part of the steps of the network management method provided in the embodiment shown in Figure 2.

应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character "/" in this article generally indicates that the associated objects before and after are in an "or" relationship.

应理解,本文中术语“至少一个”表示一个或多个,多个表示两个或两个以上。至少一种等类似术语的含义与此同理。It should be understood that the term "at least one" herein means one or more, and a plurality means two or more. The meanings of at least one and similar terms are the same.

应理解,在本申请实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,不应对本申请实施例的实施过程构成任何限定。It should be understood that in the embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

上述本申请实施例序列号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims (41)

CN201911397457.XA2019-12-302019-12-30 Network management method, device, system, and storage mediumActiveCN113132129B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201911397457.XACN113132129B (en)2019-12-302019-12-30 Network management method, device, system, and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201911397457.XACN113132129B (en)2019-12-302019-12-30 Network management method, device, system, and storage medium

Publications (2)

Publication NumberPublication Date
CN113132129A CN113132129A (en)2021-07-16
CN113132129Btrue CN113132129B (en)2024-07-23

Family

ID=76767873

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201911397457.XAActiveCN113132129B (en)2019-12-302019-12-30 Network management method, device, system, and storage medium

Country Status (1)

CountryLink
CN (1)CN113132129B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN117650965B (en)*2024-01-262024-04-19北京天维信通科技股份有限公司Method and device for realizing SD-WAN management network based on uCPE original ports

Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106411727A (en)*2016-09-222017-02-15杭州华三通信技术有限公司Message processing method and device and autonomous system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US8761185B2 (en)*2009-12-172014-06-24At&T Intellectual Property I, L.P.Communication networks that provide a common transport domain for use by multiple service domains and methods and computer program products for using the same

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106411727A (en)*2016-09-222017-02-15杭州华三通信技术有限公司Message processing method and device and autonomous system

Also Published As

Publication numberPublication date
CN113132129A (en)2021-07-16

Similar Documents

PublicationPublication DateTitle
US10862783B2 (en)OAM mechanisms for EVPN active-active services
CN111886833B (en)Method for redirecting control channel messages and device for implementing the method
CN110535760B (en)Forwarding detection of aggregated interfaces
US7233991B2 (en)Self-healing tree network
US9019814B1 (en)Fast failover in multi-homed ethernet virtual private networks
US10454809B2 (en)Automatic network topology detection for merging two isolated networks
US9960998B2 (en)Forwarding packet in stacking system
CN102415054A (en)Node device and communication method
CN104168184A (en)Message forwarding method and device
CN103220215B (en)The retransmission method of FCoE message and device in TRILL network
WO2015180154A1 (en)Network control method and apparatus
EP3813306B1 (en)Message processing method and communications system
CN113381929B (en)Route processing method, gateway equipment and computer storage medium
CN105577540B (en)A kind of method for building up of service link, apparatus and system
CN107735989A (en) Method and system for interconnecting sites on a transport network
GB2485026A (en)Routed Split Multi-Link Trunking (RSMLT) resiliency for Wireless Local Area Network (WLAN) split-plane environments
CN105490937B (en)Ether virtual network gateway switching method and service provider&#39;s edge node devices
WO2018036453A1 (en)Method for synchronizing topology information in sfc network and routing network element
CN113132129B (en) Network management method, device, system, and storage medium
JP7546572B2 (en) System and method for a single logical IP subnet across multiple independent layer 2 (L2) subnets in a high performance computing environment - Patents.com
CN115865844B (en) Dynamic traffic scheduling method and device based on virtual and real combination based on SDN and NDN
WO2023143186A1 (en)Data transmission method, system and apparatus
CN110830598A (en) Method and network device for establishing BGP session, sending interface address and alias
CN102137019B (en)Method for registering and ageing VLAN (Virtual Local Domain Network) and device thereof
CN111565141B (en) Data transfer method, first PE and second PE

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp