[go: up one dir, main page]

CN101309201A - Route processing method, route processor and router - Google Patents

Route processing method, route processor and router Download PDF

Info

Publication number
CN101309201A
CN101309201A CNA2007101020835A CN200710102083A CN101309201A CN 101309201 A CN101309201 A CN 101309201A CN A2007101020835 A CNA2007101020835 A CN A2007101020835A CN 200710102083 A CN200710102083 A CN 200710102083A CN 101309201 A CN101309201 A CN 101309201A
Authority
CN
China
Prior art keywords
route
node
unit
routing
task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2007101020835A
Other languages
Chinese (zh)
Other versions
CN101309201B (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.)
Tsinghua University
Huawei Technologies Co Ltd
Original Assignee
Tsinghua University
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 Tsinghua University, Huawei Technologies Co Ltd filed Critical Tsinghua University
Priority to CN2007101020835A priority Critical patent/CN101309201B/en
Priority to PCT/CN2008/070898 priority patent/WO2008138255A1/en
Publication of CN101309201A publication Critical patent/CN101309201A/en
Application granted granted Critical
Publication of CN101309201B publication Critical patent/CN101309201B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/03Topology update or discovery by updating link state protocols

Landscapes

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

Abstract

本发明实施例公开一种路由处理方法,包括:建立网络中各节点间的连接,对各节点进行任务调度;各节点根据所述调度的任务运行链路状态路由协议,并进行路由计算,得到路由计算结果;获取各节点的所述路由计算结果并进行路由汇总。本发明实施例还提供一种路由处理器,包括:任务调度模块,用于进行任务调度;协议运行模块,用于按调度的任务运行链路状态路由协议,并进行路由计算,得到路由计算结果;路由汇总模块,用于将路由计算结果进行路由汇总。本发明实施例还相应提供一种多路由处理器架构的路由器。本发明实施例提供的技术方案能够实现链路状态路由协议的可扩展性。

Figure 200710102083

The embodiment of the present invention discloses a routing processing method, including: establishing connections between nodes in the network, and scheduling tasks for each node; each node runs a link state routing protocol according to the scheduled tasks, and performs routing calculations to obtain Routing calculation results: obtaining the routing calculation results of each node and performing routing summary. The embodiment of the present invention also provides a routing processor, including: a task scheduling module, used for task scheduling; a protocol running module, used for running the link state routing protocol according to the scheduled task, and performing routing calculation to obtain the routing calculation result ; The route summarization module is used for route summarization of the route calculation results. The embodiment of the present invention also provides a router with a multi-route processor architecture. The technical solution provided by the embodiment of the present invention can realize the scalability of the link state routing protocol.

Figure 200710102083

Description

路由处理方法、路由处理器及路由器 Route processing method, route processor and router

技术领域 technical field

本发明涉及计算机网络技术,具体涉及一种链路状态路由协议的路由处理方法、路由处理器及路由器。The invention relates to computer network technology, in particular to a routing processing method of a link state routing protocol, a routing processor and a router.

背景技术 Background technique

在互联网络中,通常是由路由器实现网际报文的转发。指导路由器作出转发决定的是转发信息库。这个转发信息库来自于不同路由协议提供的路由信息。路由器运行的路由协议,按应用场合可以分为自治系统间的边界网关协议和自治系统内部的内部网关协议。其中,自治系统是指由单一管理机构实施管理策略的网际网络。链路状态路由协议是当前应用最为广泛的内部网关协议,主要有开放最短路径优先协议OSPF(Open Shortest Path FirstProtocol)和中间系统到中间系统协议ISIS(Intermediate System to IntermediateSystem Routing Protocol)。链路状态路由协议是以最短路径优先算法为基础的,其运行过程是:通过特定的邻居发现与保持协议,发现路由器周围的各个邻居,并以其可靠的洪泛机制,扩散并搜集自治系统中每个路由器的本地链路信息,形成链路状态路由协议中所谓的链路状态数据库。这样,每个运行链路状态路由协议的路由器很快就会获得关于整个网络拓扑图的全景信息,并达成一致。对这个数据库应用最短路径优先算法,就能获得自治系统的所有网络可达性信息,形成链路状态路由协议的路由表,并且这些路由是无环路的。然后,把链路状态路由协议的路由表下发给路由器的全局路由表,由该全局路由表综合从不同路由协议得到的路由信息,按照一定的规则选出最优路由,形成数据平面指导报文转发的转发信息库。In the Internet, routers usually implement the forwarding of Internet packets. What guides routers in making forwarding decisions is the forwarding information base. This forwarding information base comes from routing information provided by different routing protocols. Routing protocols run by routers can be divided into border gateway protocols between autonomous systems and interior gateway protocols within autonomous systems according to application scenarios. Among them, an autonomous system refers to an Internet network in which management policies are implemented by a single management organization. Link-state routing protocols are currently the most widely used interior gateway protocols, mainly including Open Shortest Path First Protocol OSPF (Open Shortest Path First Protocol) and Intermediate System to Intermediate System Protocol ISIS (Intermediate System to Intermediate System Routing Protocol). The link state routing protocol is based on the shortest path first algorithm. Its operation process is: through a specific neighbor discovery and maintenance protocol, discover each neighbor around the router, and use its reliable flooding mechanism to diffuse and collect autonomous system information. The local link information of each router in the router forms the so-called link-state database in link-state routing protocols. In this way, each router running a link-state routing protocol will quickly obtain panoramic information about the entire network topology and reach a consensus. By applying the shortest path first algorithm to this database, all the network reachability information of the autonomous system can be obtained, and the routing table of the link state routing protocol can be formed, and these routes are loop-free. Then, the routing table of the link state routing protocol is sent to the global routing table of the router, and the routing information obtained from different routing protocols is synthesized by the global routing table, and the optimal route is selected according to certain rules to form a data plane guidance report. The forwarding information base for document forwarding.

传统的链路状态路由协议运行模式通常是,一个或者多个路由协议(包括链路状态路由协议)作为一个操作系统任务,运行在路由器控制平面的路由处理器上,也就是说协议运行处理、路由计算及管理控制等功能都集中在单一的路由处理器上进行。在这种运行模式下,链路状态路由协议所能支持的邻居总数和路由容量取决于这个路由处理器的计算能力和所配备的物理内存的容量。而随着网络规模的扩大及扁平化的网络设计,用户通常希望链路状态路由协议所能支持的邻居总数和路由容量能够随着路由处理器等硬件资源的增加而提高,实现链路状态路由协议的扩展,传统的链路状态路由协议运行模式因为集中在单个路由处理器上,无法实现链路状态路由协议的扩展。The operation mode of traditional link-state routing protocols is usually that one or more routing protocols (including link-state routing protocols) run on the routing processor of the router control plane as an operating system task, that is to say, protocol operation processing, Functions such as routing calculation and management control are concentrated on a single routing processor. In this mode of operation, the total number of neighbors and routing capacity that the link state routing protocol can support depends on the computing power of the routing processor and the capacity of the physical memory it is equipped with. With the expansion of network scale and flat network design, users usually hope that the total number of neighbors and routing capacity supported by the link state routing protocol can be increased with the increase of hardware resources such as routing processors to realize link state routing. The expansion of the protocol, the operation mode of the traditional link state routing protocol cannot realize the expansion of the link state routing protocol because it is concentrated on a single routing processor.

发明内容 Contents of the invention

本发明实施例要解决的技术问题是提供一种路由处理方法、路由处理器及路由器,能够实现链路状态路由协议的扩展。The technical problem to be solved by the embodiment of the present invention is to provide a routing processing method, a routing processor and a router, which can realize the extension of the link state routing protocol.

本发明实施例提供一种路由处理方法,包括:建立网络中各节点间的连接,对各节点进行任务调度;各节点根据所述调度的任务运行链路状态路由协议,并进行路由计算,得到路由计算结果;获取各节点的所述路由计算结果并进行路由汇总。An embodiment of the present invention provides a routing processing method, including: establishing connections between nodes in the network, and scheduling tasks for each node; each node runs a link state routing protocol according to the scheduled tasks, and performs routing calculations to obtain Routing calculation results: obtaining the routing calculation results of each node and performing routing summary.

本发明实施例提供一种路由处理器,包括:任务调度模块,用于进行任务调度;协议运行模块,用于按调度的任务运行链路状态路由协议,并进行路由计算,得到路由计算结果;路由汇总模块,用于将路由计算结果进行路由汇总。An embodiment of the present invention provides a routing processor, including: a task scheduling module, used for task scheduling; a protocol running module, used for running a link state routing protocol according to a scheduled task, and performing routing calculation to obtain a routing calculation result; The routing summarization module is used for routing calculation results for routing summarization.

本发明实施例提供一种路由器,包括多个路由处理器,所述路由处理器包括:任务调度模块,用于进行路由处理器间的任务调度;协议运行模块,用于按调度的任务运行链路状态路由协议,并进行路由计算,得到路由计算结果;路由汇总模块,用于将路由计算结果进行路由汇总。An embodiment of the present invention provides a router, including a plurality of routing processors, and the routing processors include: a task scheduling module, used for scheduling tasks among routing processors; a protocol running module, used for running chains according to scheduled tasks The route state routing protocol is used to perform route calculation to obtain the route calculation result; the route summary module is used for route summary of the route calculation result.

从以上技术方案可以看出,现有技术中的链路状态路由协议运行模式因为集中在单个路由处理器上,受路由处理器本身处理能力的限制,无法实现链路状态路由协议的扩展,而本发明实施例方案是:建立网络中各节点间的连接,对各节点进行任务调度;各节点根据所述调度的任务运行链路状态路由协议,并进行路由计算,得到路由计算结果;获取各节点的所述路由计算结果并进行路由汇总。因为本发明实施例的运行模式下,可以将链路状态路由协议的任务调度、协议执行和路由汇总操作动态分布到各节点即各路由处理器上,所以能充分利用各节点的资源,从而实现了链路状态路由协议的可扩展性。As can be seen from the above technical solutions, the link-state routing protocol operation mode in the prior art is concentrated on a single routing processor, and is limited by the processing capability of the routing processor itself, so the expansion of the link-state routing protocol cannot be realized. The scheme of the embodiment of the present invention is: establish the connection between each node in the network, and perform task scheduling for each node; each node runs the link state routing protocol according to the scheduled task, and performs routing calculation to obtain the routing calculation result; obtain each The route calculation result of the node is summarized. Because under the operating mode of the embodiment of the present invention, the task scheduling, protocol execution and routing summary operations of the link state routing protocol can be dynamically distributed to each node, that is, each routing processor, so the resources of each node can be fully utilized, thereby realizing It improves the scalability of link-state routing protocols.

附图说明 Description of drawings

图1为本发明实施例链路状态路由协议分布式模型图;Fig. 1 is a distributed model diagram of a link state routing protocol according to an embodiment of the present invention;

图2为本发明实施例路由处理方法流程图;FIG. 2 is a flow chart of a routing processing method according to an embodiment of the present invention;

图3为本发明实施例路由处理方法中进行任务调度的流程图;FIG. 3 is a flow chart of task scheduling in the routing processing method according to an embodiment of the present invention;

图4为本发明实施例调度状态机示意图;FIG. 4 is a schematic diagram of a scheduling state machine according to an embodiment of the present invention;

图5为本发明实施例路由表状态机示意图;FIG. 5 is a schematic diagram of a routing table state machine according to an embodiment of the present invention;

图6为本发明实施例节点间建立连接关系示意图;6 is a schematic diagram of establishing a connection relationship between nodes according to an embodiment of the present invention;

图7为本发明实施例路由处理方法中主动分配任务流程图;7 is a flow chart of actively assigning tasks in the routing processing method according to the embodiment of the present invention;

图8为本发明实施例路由处理方法中被动分配任务流程图;FIG. 8 is a flow chart of passively assigning tasks in a routing processing method according to an embodiment of the present invention;

图9为本发明实施例路由处理方法的一个应用网络示意图;FIG. 9 is a schematic diagram of an application network of a routing processing method according to an embodiment of the present invention;

图10为本发明实施例路由处理方法的应用网络中的相关信息一示意图;10 is a schematic diagram of related information in the application network of the routing processing method according to the embodiment of the present invention;

图11为本发明实施例路由处理方法的应用网络中的相关信息二示意图;11 is a schematic diagram of related information 2 in the application network of the routing processing method according to the embodiment of the present invention;

图12为本发明实施例路由处理方法的应用网络中的相关信息三示意图;12 is a schematic diagram of related information three in the application network of the routing processing method according to the embodiment of the present invention;

图13为本发明实施例路由处理器结构示意图;FIG. 13 is a schematic structural diagram of a routing processor according to an embodiment of the present invention;

图14为本发明实施例路由处理器任务调度模块结构示意图;14 is a schematic structural diagram of a routing processor task scheduling module according to an embodiment of the present invention;

图15为本发明实施例路由器结构示意图。FIG. 15 is a schematic structural diagram of a router according to an embodiment of the present invention.

具体实施方式 Detailed ways

传统的链路状态路由协议运行模式因为集中在单个路由处理器上,受路由处理器本身处理能力的限制,无法实现链路状态路由协议的扩展,本发明实施例提供的一种路由处理方法,通过将链路状态路由协议含有的功能动态分布到多个路由处理器上,从而可以实现链路状态路由协议的可扩展性。The operation mode of the traditional link-state routing protocol is concentrated on a single routing processor, which is limited by the processing capability of the routing processor itself, and cannot realize the expansion of the link-state routing protocol. A routing processing method provided by the embodiment of the present invention, By dynamically distributing the functions contained in the link-state routing protocol to multiple routing processors, the scalability of the link-state routing protocol can be realized.

路由器的多路由处理器运行架构一般由两个部分组成:若干个节点以及它们之间的内部通信网络。这些节点通常被组织为一种分布式的主从关系,即以某个节点为主节点,其他节点为分布式的从节点。其中,每个节点包含:路由处理器,用来运行路由协议等路由器控制平面任务;外部接口,用来通过与转发平面相连的外交换网络接收和发送路由控制报文;内部接口,用来通过内部交换网络接收和发送消息完成各节点之间的内部通信。The router's multi-routing processor operating architecture generally consists of two parts: several nodes and the internal communication network between them. These nodes are usually organized into a distributed master-slave relationship, that is, a certain node is the master node, and other nodes are distributed slave nodes. Among them, each node includes: routing processor, used to run router control plane tasks such as routing protocols; external interface, used to receive and send routing control packets through the external switching network connected to the forwarding plane; internal interface, used to pass The internal switching network receives and sends messages to complete internal communication between nodes.

为描述的方便,下文中将路由处理器简称为节点。For the convenience of description, the routing processor is referred to as a node for short in the following.

本发明实施例的链路状态路由协议的分布式模型包括任务调度模块、协议运行模块和路由表汇总模块。其中,任务调度模块,用于负责发现并维护各个节点之间的连接关系,并根据节点处理能力进行任务分配;协议运行模块,用于根据所分配的任务运行基本的链路状态路由协议;路由表汇总模块,用于负责汇集各个节点的局部路由表。The distributed model of the link state routing protocol in the embodiment of the present invention includes a task scheduling module, a protocol running module and a routing table summarizing module. Among them, the task scheduling module is used to discover and maintain the connection relationship between each node, and assign tasks according to the node processing capabilities; the protocol operation module is used to run the basic link state routing protocol according to the assigned tasks; the routing The table summarization module is used to collect the local routing tables of each node.

本发明实施例的任务调度算法包括一个调度状态机和一个路由表状态机。其中,调度状态机,按任务分配的决策权将各个节点状态划分为主调度状态,备份调度状态,以及从调度状态。调度状态机的功能包括:建立和维护分布式系统各节点之间的关系;选举主调度节点、备份调度节点和从调度节点;进行任务分配等。路由表状态机,按路由表汇总任务的执行权将各个节点状态划分为主汇总状态,备份汇总状态以及从汇总状态,并完成各个局部路由表的汇总操作。The task scheduling algorithm of the embodiment of the present invention includes a scheduling state machine and a routing table state machine. Among them, the scheduling state machine divides the states of each node into the main scheduling state, the backup scheduling state, and the secondary scheduling state according to the decision-making power of task assignment. The functions of the scheduling state machine include: establishing and maintaining the relationship between nodes in the distributed system; electing the master scheduling node, backup scheduling node and slave scheduling node; and performing task assignment, etc. The routing table state machine divides the state of each node into the main summary state, the backup summary state and the secondary summary state according to the execution right of the routing table summary task, and completes the summary operation of each local routing table.

以下结合附图详细介绍本发明实施例的技术方案。The technical solutions of the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

在调度状态机的调度下,分布式实现模型可以根据具体的调度策略映射为特定的运行模型。图1即显示了一个链路状态路由协议分布式模型样例。其中标记22表示一台路由器,标记33表示一个节点,节点内由上到下的三个圆圈是分布式模型下的三个组成部分:任务调度模块,协议运行模块和路由表汇总模块。通过调度状态机的调度,可以由几种分配模式。一种分配模式如A所示,在调度状态机的控制下,完成协议运行和路由表汇总工作在多个节点上的任务分配,每个节点都执行协议运行和路由表汇总,这时各个节点上的路由表汇总模块将只完成本地路由信息汇总,并下发到路由器的全局路由表,路由器的全局路由表存储在路由器的其他内存中。另一种分配模式如B所示,让主调度节点执行路由表汇总,那么主调度节点同时也就是主汇总节点,这时需要主汇总节点将各个节点的路由信息汇总后才能下发到路由器的全局路由表。还有一种分配模式如C所示,进一步的在路由表状态机的调度下,将路由表汇总操作分布到非主调度节点上进行。本发明实施例将主要以B所示模式进行介绍但不局限于此。Under the scheduling of the scheduling state machine, the distributed implementation model can be mapped to a specific running model according to the specific scheduling strategy. Figure 1 shows an example of a distributed model of a link-state routing protocol. The mark 22 represents a router, the mark 33 represents a node, and the three circles from top to bottom in the node are three components under the distributed model: task scheduling module, protocol operation module and routing table summary module. Through the scheduling of the scheduling state machine, several allocation modes can be made. A distribution mode is shown in A. Under the control of the scheduling state machine, the task distribution of protocol operation and routing table summary work on multiple nodes is completed. Each node executes protocol operation and routing table summary. At this time, each node The routing table summary module on the router will only complete the summary of local routing information and send it to the global routing table of the router, which is stored in other memory of the router. Another allocation mode is shown in B. Let the main scheduling node perform routing table summary, then the main scheduling node is also the main summary node. At this time, the main summary node needs to summarize the routing information of each node before sending it to the router. Global routing table. There is another distribution mode, as shown in C, which further distributes the routing table summary operation to non-main scheduling nodes under the scheduling of the routing table state machine. The embodiment of the present invention will mainly be introduced in the mode shown in B but is not limited thereto.

请参阅图2,是本发明实施例路由处理方法流程图,包括:Please refer to FIG. 2, which is a flow chart of the routing processing method according to the embodiment of the present invention, including:

A1、进行任务调度;A1. Perform task scheduling;

在详细介绍该步骤内容前,先介绍一下调度状态机的过程。Before introducing the content of this step in detail, first introduce the process of scheduling the state machine.

图4显示了调度状态机。它将各节点划分为:“未激活”状态,此状态下,节点不运行链路状态路由协议;“等待”状态,节点可以运行链路状态路由协议但未进入到工作模式;工作模式,又按任务分配的决策权区分为“主调度”,“备份调度”和“从调度”状态。调度状态机在触发事件的驱动下完成如下功能:建立和维护分布式系统各节点之间关系;进行主调度节点、备份调度节点和从调度节点的选举;进行任务分配等。Figure 4 shows the scheduling state machine. It divides each node into: "inactive" state, in this state, the node does not run the link state routing protocol; in the "waiting" state, the node can run the link state routing protocol but has not entered the working mode; working mode, and The decision rights assigned by tasks are divided into "master scheduling", "backup scheduling" and "slave scheduling" states. Driven by triggering events, the scheduling state machine completes the following functions: establish and maintain the relationship between nodes in the distributed system; elect the master scheduling node, backup scheduling node and slave scheduling node; perform task assignment, etc.

如图4所示,节点在任何状态下如果停止路由协议,则变迁到“未激活”状态,当启动路由协议后,由“未激活”状态变迁到“等待”状态,启动定时器,并开始在内部通信网络上广播心跳消息。在定时器超时后,进行主调度节点选举,规则是选举“处理能力”值最大的为主调度节点,其次为备份调度节点,其余的为从调度节点,当“处理能力”值相同时,则比较其内部网路地址值,规则一般是选举网路地址值最大的作为主调度节点,其次为备份调度节点,其余的为从调度节点。备份调度节点和从调度节点的任务由主调度节点分配。As shown in Figure 4, if the node stops the routing protocol in any state, it will transition to the "inactive" state. When the routing protocol is started, it will transition from the "inactive" state to the "waiting" state, start the timer, and start Broadcast heartbeat messages on the internal communication network. After the timer expires, the master scheduling node election is carried out. The rule is to elect the master scheduling node with the largest "processing capacity", followed by the backup scheduling node, and the rest are slave scheduling nodes. When the "processing capacity" value is the same, then Comparing the internal network address values, the rule is generally to elect the one with the largest network address value as the master scheduling node, followed by the backup scheduling node, and the rest as the slave scheduling nodes. The tasks of the backup scheduling node and the slave scheduling node are assigned by the main scheduling node.

步骤A1具体又可以分为以下几个步骤,请参阅图3,包括:Step A1 can be specifically divided into the following steps, please refer to Figure 3, including:

B1、建立并维护节点间关系,选举主调度节点、备份调度节点和从调度节点;B1. Establish and maintain the relationship between nodes, elect the master scheduling node, backup scheduling node and slave scheduling node;

网络系统刚启动时,各个节点通过定期广播心跳消息获知彼此的存在,并根据其处理能力选举出主调度节点和备份调度节点,其余为从调度节点。处理能力的信息在心跳消息中携带。此后,从调度节点只向主调度节点发心跳消息,主调度节点则在内部网络广播心跳消息。When the network system is just started, each node knows the existence of each other by periodically broadcasting heartbeat messages, and elects a master scheduling node and a backup scheduling node according to its processing capabilities, and the rest are slave scheduling nodes. Information about processing capabilities is carried in heartbeat messages. After that, the slave scheduling node only sends heartbeat messages to the master scheduling node, and the master scheduling node broadcasts heartbeat messages on the internal network.

例如图6所示的5个节点A、B、C、D和E,在接收到运行OSPF的配置命令后,由“未激活”状态变迁到“等待”状态,启动定时器,并开始在内部通信网络上广播心跳消息。心跳消息的格式中,用0-1位表示类型域,2-3位表示状态域,4-7位表示地址域,8-9位表示处理能力域。由于当前各节点状态都为“等待”,心跳消息的状态域的值都为“等待”,“处理能力”域则为节点当前节点的剩余处理能力。通过广播心跳消息,每个节点都获得了邻居的信息,构成了以下的邻居列表。For example, the five nodes A, B, C, D, and E shown in Figure 6, after receiving the configuration command to run OSPF, transition from the "inactive" state to the "waiting" state, start the timer, and start the internal Heartbeat messages are broadcast on the communication network. In the format of the heartbeat message, bits 0-1 represent the type field, bits 2-3 represent the state field, bits 4-7 represent the address field, and bits 8-9 represent the processing capability field. Since the current status of each node is "waiting", the value of the state field of the heartbeat message is "waiting", and the "processing capacity" field is the remaining processing capacity of the current node of the node. By broadcasting heartbeat messages, each node obtains neighbor information, which constitutes the following neighbor list.

  节点 node   状态 state   处理能力 processing capacity   A A   等待 wait   8 8   B B   等待 wait   6 6   C C   等待 wait   3 3   D D   等待 wait   2 2   E E   等待 wait   3 3

该表中节点A、B、C、D和E的状态为等待,处理能力值分别为8、6、3、2、3。在定时器超时后,各个节点开始进行主调度节点选举,规则是从获得的邻居集合中找到“处理能力”值最大的为主调度节点,其次为备份调度节点,其余为从调度节点。当“处理能力”值相同时,则比较其内部网路地址值,规则一般是选举网路地址值最大的作为主调度节点,其次为备份调度节点,其余的为从调度节点。于是,节点A当选为主调度节点,B当选为备份调度节点,C、D和E为从调度节点。因此,节点A和B分别变迁到“主调度”状态和“备份调度”状态,节点C、D和E均变迁到“从调度”状态。此后,A向内部网路定期广播心跳消息,其状态域为“主调度”,而B、C、D和E则仅向A发送心跳消息,B状态域为“备份调度”,C、D和E状态域为“从调度”。The state of nodes A, B, C, D and E in the table is waiting, and the processing capability values are 8, 6, 3, 2 and 3 respectively. After the timer expires, each node starts to elect the master scheduling node. The rule is to find the master scheduling node with the largest "processing capability" value from the obtained neighbor set, followed by the backup scheduling node, and the rest are slave scheduling nodes. When the "processing capacity" values are the same, compare their internal network address values. Generally, the rule is to select the one with the largest network address value as the master scheduling node, followed by the backup scheduling node, and the rest as slave scheduling nodes. Therefore, node A is elected as the master scheduling node, B is elected as the backup scheduling node, and C, D, and E are the slave scheduling nodes. Therefore, nodes A and B transition to the "master scheduling" state and "backup scheduling" state respectively, and nodes C, D, and E all transition to the "slave scheduling" state. After that, A regularly broadcasts heartbeat messages to the internal network, and its state field is "main scheduling", while B, C, D, and E only send heartbeat messages to A, and the state field of B is "backup scheduling", and C, D, and E The E state field is "slave scheduling".

当有新节点F加入时,F节点的状态为“等待”,它启动定时器,并开始向内部网络广播心跳消息。由于B、C、D和E此时的状态为非“主调度”,它们将忽略来自F的状态为“等待”的心跳消息,而A此时状态为“主调度”,它将F加入邻居列表。另一方面,由于A会定期广播状态域为“主调度”的心跳消息,该定期时间是小于定时器的超时时间,F接收到来自A的心跳消息后,发现内部网络已经存在主调度节点,于是发生“发现主调度”事件,节点F将状态由“等待”变迁到“从调度”,并从此仅向A发送心跳消息。When a new node F joins, the state of node F is "waiting", it starts a timer, and starts broadcasting heartbeat messages to the internal network. Since B, C, D, and E are in non-"main-scheduling" state at this time, they will ignore the heartbeat message from F with a state of "waiting", and A is in "main-scheduling" state at this time, and it will join F to the neighbor list. On the other hand, since A periodically broadcasts a heartbeat message whose status field is "Main Scheduling", the periodic time is less than the timeout time of the timer. After receiving the heartbeat message from A, F finds that there is already a master scheduling node in the internal network. Then the event of "discovering master scheduling" occurs, node F changes the state from "waiting" to "slave scheduling", and only sends heartbeat messages to A from then on.

B2、主调度节点进行任务分配;B2. The main scheduling node assigns tasks;

主调度节点选举出来后,由主调度节点开始进行任务的初始分配。该步骤中由调度状态机进行任务分配。After the main scheduling node is elected, the main scheduling node starts the initial allocation of tasks. In this step, task assignment is performed by the scheduling state machine.

根据链路状态路由协议在网络中通常的应用场景,调度状态机可以采用不同的拆分单位来执行任务分配。所说的不同的拆分单位是指例如链路状态路由协议的多虚拟专用网VPN(Virtual private network)实例、多协议进程和链路状态路由协议中的区域边界路由器连接的多个区域等。According to the usual application scenarios of the link state routing protocol in the network, the scheduling state machine can use different split units to perform task assignment. Said different split units refer to multiple virtual private network VPN (Virtual private network) instances of link state routing protocols, multi-protocol processes and multiple areas connected by area border routers in link state routing protocols, etc.

链路状态路由协议多VPN实例是指运行于各个VPN下的路由协议实例,每个实例只完成本VPN内的路由功能,与其他VPN下的路由实例无关。链路状态路由协议多协议进程是指,每个协议进程运行在同一自治系统下相互独立的一部分网络,即所谓的协议路由域,在这个独立的子路由域内完成路由功能,彼此也互不相关。区域边界路由器是链路状态路由协议对同时连接到自治系统内多个区域的路由器的定义。链路状态路由协议为了扩展对多数量大规模自治系统的支持,把整个自治系统划分为多个区域。这些区域同时又被区分为骨干区域和非骨干区域。骨干区域必须在物理上或逻辑上连通,各个非骨干区域必须和这个骨干区域保持连接。区域与区域之间的接合点就是区域边界路由器,其它路由器则称为区域内路由器。区域内路由器通过运行最短路径算法完成本区域内的路由功能,而区域边界路由器则负责将所有区域内路由信息以摘要的形式洪泛到其它区域,以协助区域内路由器完成区域间路由功能,链路状态路由协议这种实现区域间路由的方法借用了距离向量路由协议中的水平分割法。因此区域边界路由器事实上在所连接的每个区域上都运行了最短路径算法,不同的区域都是相对独立的网络。Link-state routing protocol multi-VPN instances refer to routing protocol instances running under each VPN. Each instance only completes the routing function within the VPN and has nothing to do with routing instances under other VPNs. The multi-protocol process of the link state routing protocol refers to a part of the network in which each protocol process runs independently of each other under the same autonomous system, that is, the so-called protocol routing domain. The routing function is completed in this independent sub-routing domain, and they are not related to each other. . An area border router is the link-state routing protocol's definition of a router that is simultaneously connected to multiple areas within an autonomous system. Link state routing protocol divides the entire autonomous system into multiple areas in order to expand the support for a large number of large-scale autonomous systems. These areas are also divided into backbone areas and non-backbone areas. The backbone area must be physically or logically connected, and each non-backbone area must be connected to the backbone area. Area-to-area junctures are area border routers, and other routers are called intra-area routers. The routers in the area complete the routing function in the area by running the shortest path algorithm, while the border routers in the area are responsible for flooding all the routing information in the area to other areas in the form of summaries, so as to assist the routers in the area to complete the inter-area routing function. The method of implementing inter-area routing in the road state routing protocol borrows the split horizon method in the distance vector routing protocol. Therefore, the area border router actually runs the shortest path algorithm on each connected area, and different areas are relatively independent networks.

以上描述的三种不相关性都可以成为调度状态机的任务分配算法。在以区域边界路由器的多区域为划分的单位时,每个处理节点运行某个特定的区域,维护该区域内的邻居关系,同步该区域的链路状态信息。以多VPN实例或多协议进程为分布式的任务分配单位时,每一个节点可以运行若干个链路状态路由协议进程,每一个进程都是一个独立的链路状态路由协议。在具体的实现中,可以提供一个配置选项,让用户能够依据协议的具体应用场景来做最终选择。The three kinds of irrelevance described above can all become the task allocation algorithm of the scheduling state machine. When multiple areas of area border routers are used as the division unit, each processing node runs a specific area, maintains the neighbor relationship in the area, and synchronizes the link state information of the area. When multi-VPN instances or multi-protocol processes are used as distributed task allocation units, each node can run several link-state routing protocol processes, and each process is an independent link-state routing protocol. In a specific implementation, a configuration option can be provided, so that users can make a final choice according to the specific application scenarios of the protocol.

本发明实施例以下内容以链路状态路由协议的OSPF协议为例进行说明,并以区域边界路由器的多个区域分配单位进行任务分配。The following content of the embodiment of the present invention is described by taking the OSPF protocol of the link state routing protocol as an example, and using multiple area allocation units of the area border router to perform task allocation.

在确定处理节点间的关系,选举出主调度节点后,“主调度”状态的主调度节点在接收到路由控制报文时,触发“主动任务分配”事件,执行图7所示的主动任务分配操作过程;“备份调度”下的备份调度节点或“从调度”状态下的从调度节点在接收到路由控制报文时,触发“被动任务分配”事件,执行图8所示的被动任务分配操作过程。After determining the relationship between the processing nodes and electing the main scheduling node, the main scheduling node in the “main scheduling” state will trigger the “active task allocation” event when receiving the routing control message, and execute the active task allocation shown in Figure 7 Operation process; when the backup scheduling node under "backup scheduling" or the slave scheduling node under the "slave scheduling" state receives the routing control message, it triggers the "passive task allocation" event and performs the passive task allocation operation shown in Figure 8 process.

请参阅图7,所示的主动任务分配操作过程包括:Please refer to Figure 7, the shown active task allocation operation process includes:

C1、接收路由控制报文;C1, receiving the routing control message;

C2、判断该报文处理任务是否由本节点负责,如果是,转入步骤C3,如果否,转入步骤C4;C2. Determine whether the message processing task is in charge of the node, if yes, go to step C3, if not, go to step C4;

主调度节点通过在本地接口列表中查找相关信息,可以判断出该报文处理任务是否由本节点负责。The main scheduling node can determine whether the message processing task is in charge of the node by looking up relevant information in the local interface list.

C3、将处理该路由控制报文;C3, will process the routing control message;

C4、该报文处理任务是否已经被分配,如果是,转步骤C6,如果否,转步骤C5;C4, whether the message processing task has been assigned, if yes, go to step C6, if not, go to step C5;

主调度节点通过在任务分配映射表的区域列表中查找相关信息,可以判断出该报文处理任务是否已经被分配。The main scheduling node can determine whether the message processing task has been allocated by looking up relevant information in the area list of the task allocation mapping table.

C5、指定一个节点负责该报文处理任务,进入步骤C6;C5. Designate a node to be responsible for the message processing task, and enter step C6;

C6、向对应节点发送接口信息,通知其加入任务;C6. Send interface information to the corresponding node to notify it to join the task;

C7、修改接口映射表信息。C7. Modify the interface mapping table information.

请参阅图8,所示的被动任务分配操作过程包括:Please refer to Figure 8, the shown passive task allocation operation process includes:

D1、接收路由控制报文;D1. Receive routing control message;

D2、、判断该报文处理任务是否由本节点负责,如果是,转入步骤D3,如果否,转入步骤D4。D2. Determine whether the message processing task is in charge of the node, if yes, go to step D3, if not, go to step D4.

备份调度节点或从调度节点通过在本地接口列表中查找相关信息,可以判断出该报文处理任务是否由本节点负责。The backup scheduling node or the slave scheduling node can determine whether the message processing task is in charge of the node by looking up relevant information in the local interface list.

D3、将处理该路由控制报文;D3. Processing the routing control message;

D4、丢弃该路由控制报文。D4. Discard the routing control message.

下面结合图9所示的一个应用网络实例进行具体说明。图9包括area0区域内路由器RT1、RT2和area1区域内路由器RT4,还包括区域边界路由器RT3,另外包括网络n1到n6。区域边界路由器RT3,通过三个接口,分别为if0,if1,if2连接到2个area中,分别为area0和area1。RT3由三个节点组成,分别为A、B和C,当前状态依次为“主调度”、“备份调度”以及“从调度”,即A、B和C分别为主调度节点、备份调度节点以及从调度节点。A specific description will be given below in conjunction with an example of an application network shown in FIG. 9 . Fig. 9 includes routers RT1, RT2 in area0, router RT4 in area1, area border router RT3, and networks n1 to n6. The area border router RT3 is connected to two areas, namely area0 and area1, through three interfaces, namely if0, if1, and if2. RT3 consists of three nodes, namely A, B, and C. The current status is "main scheduling", "backup scheduling" and "slave scheduling", that is, A, B, and C are the main scheduling node, backup scheduling node, and from the scheduling node.

一种可能的任务分配结果是:C负责area0的任务,B负责area1的任务。具体操作如下:初始时,各节点及转发平面的数据如图10所示。转发平面接到来自接口if0的OSPF报文,它根据接口映射表(当前为空),选取默认方式向整个分布式系统广播该报文,于是A、B和C都接收到接口if0发来的OSPF报文,其带有area0信息。B和C在自己的本地接口列表中没有找到if0信息,判断该任务不由自己负责,于是丢弃OSPF报文。A首先也在自己的本地接口列表中没有找到if0信息,判断该任务不由自己负责,然后,A检查该任务是否已经分配,它在任务分配映射表的区域列表中(此时为空)寻找area0,但未找到,于是判断该任务还未分配,则将area0加入到任务分配映射表的区域列表中,并在按“处理能力”顺序排列的节点队列中推出当前剩余处理能力最大的节点C,这样得到分配结果为指定C负责area0任务。A将进行如下操作:在任务分配映射表的区域列表的area0对应的节点填入C,在接口映射表中设置接口if0对应的端口为C,向C发送消息,通知其加入新任务if0。于是得到图11所示的结果。A possible task allocation result is: C is responsible for the task of area0, and B is responsible for the task of area1. The specific operation is as follows: Initially, the data of each node and the forwarding plane are shown in Figure 10 . The forwarding plane receives the OSPF message from the interface if0, and it selects the default mode to broadcast the message to the entire distributed system according to the interface mapping table (currently empty), so A, B, and C all receive the message from the interface if0 OSPF packet, which carries area0 information. B and C did not find the if0 information in their local interface lists, and judged that they were not responsible for the task, so they discarded the OSPF packets. A first also does not find if0 information in its local interface list, and judges that the task is not responsible for itself. Then, A checks whether the task has been allocated, and it looks for area0 in the area list of the task allocation mapping table (empty at this time). , but not found, so it is judged that the task has not been allocated, then add area0 to the area list of the task allocation mapping table, and launch the node C with the largest remaining processing capacity in the node queue arranged in the order of "processing capacity", In this way, the assignment result is that C is assigned to be responsible for the area0 task. A will perform the following operations: fill in C in the node corresponding to area0 in the area list of the task assignment mapping table, set the port corresponding to the interface if0 in the interface mapping table as C, and send a message to C to notify it to join the new task if0. Then the result shown in Fig. 11 is obtained.

在这个过程中,A还负责定期地向转发平面传递接口映射表。如图11所示。转发平面在接收到OSPF报文时将根据报文来源的接口以及接口映射表的内容采用单播方式将报文发送到对应的节点。因此,当转发平面再次向控制平面发送来自接口if0的报文时,将直接把报文发给C,从而减小了A和B上的处理开销。During this process, A is also responsible for periodically delivering the interface mapping table to the forwarding plane. As shown in Figure 11. When the forwarding plane receives an OSPF message, it will send the message to the corresponding node in unicast mode according to the interface from which the message comes and the contents of the interface mapping table. Therefore, when the forwarding plane sends the message from the interface if0 to the control plane again, it will directly send the message to C, thereby reducing the processing overhead on A and B.

同样地,当A接收到接口if2发来的OSPF报文,其带有area1信息。B和C仍做与前面相同的处理。A也做类似的处理,将任务分配映射表的区域列表中加入area1,并在节点队列中推出当前剩余处理能力最大的节点B,得到分配结果为指定B负责area1任务。A为此进行如下操作:在任务分配映射表的区域列表的area1对应的节点填入B,在接口映射表中设置接口if2对应的端口为B,向B发送消息,通知其加入新任务if2。Similarly, when A receives an OSPF packet from interface if2, it carries area1 information. B and C still do the same processing as before. A also does a similar process, adding area1 to the area list of the task allocation mapping table, and pushes out the node B with the largest remaining processing capacity in the node queue, and the assignment result is that B is assigned to be responsible for the area1 task. For this purpose, A performs the following operations: fill in B in the node corresponding to area1 in the area list of the task assignment mapping table, set the port corresponding to interface if2 in the interface mapping table as B, and send a message to B to notify it to join the new task if2.

当A接收到接口if1发来的OSPF报文,其带有area0信息。B和C仍做与前面相同的处理。A由于在任务分配映射表的区域列表中找到area0,得知area0任务已经分配给C,于是直接在接口映射表中设置接口if1对应的端口为C,向C发送消息,通知其加入新任务if1。于是得到图12的结果。When A receives an OSPF packet from interface if1, it carries area0 information. B and C still do the same processing as before. A finds area0 in the area list of the task allocation mapping table, and knows that the area0 task has been assigned to C, so directly sets the port corresponding to interface if1 in the interface mapping table as C, and sends a message to C, informing it to join the new task if1 . Then the result in Figure 12 is obtained.

这样,C和B分别被分配到任务area0和area1,其含有的接口分别是if0、if1和if2。来自接口if0和if1的报文将直接发送到节点C,来自接口if2的报文将直接发送到节点B。In this way, C and B are assigned to tasks area0 and area1 respectively, and the interfaces they contain are if0, if1 and if2 respectively. Messages from interfaces if0 and if1 will be sent directly to node C, and messages from interface if2 will be sent directly to node B.

概括而言,上面内容描述了本发明实施例进行任务分配的方法,它通过节点在“主调度”状态下执行主动任务分配,在“备份调度”或“从调度”状态下执行被动任务分配,将任务分配算法集中到主调度节点完成,并保证相应的任务会从转发平面直接发送到对应的处理节点上,这样,各个节点将只接收到自己负责的area内的路由信息,然后独立进行路由计算。In a nutshell, the above content describes the method for task allocation in the embodiment of the present invention. It uses nodes to perform active task allocation in the "master scheduling" state, and perform passive task allocation in the "backup scheduling" or "slave scheduling" state. Centralize the task allocation algorithm to the main scheduling node to complete, and ensure that the corresponding tasks will be sent directly from the forwarding plane to the corresponding processing nodes, so that each node will only receive the routing information in the area it is responsible for, and then perform routing independently calculate.

B3、选举并广播路由表的主汇总节点。B3. Elect and broadcast the primary summary node of the routing table.

主调度节点根据接收心跳消息收集到的各个节点的处理能力,选出主汇总节点、备份汇总节点和从汇总节点,并通过内部消息将其发给各个节点。The main scheduling node selects the main summary node, the backup summary node and the secondary summary node according to the processing capabilities of each node collected by receiving the heartbeat message, and sends them to each node through an internal message.

这里采用路由表状态机进行调度。路由表状态机的调度算法取决于调度状态机的算法。路由表状态机,如图5所示,它与调度状态机类似,将各节点划分为:“等待”状态,节点未进入工作模式,即不需要进行路由表汇总的相关操作。在工作模式下,按任务分配的决策权将各个节点状态分为“主汇总”、“备份汇总”以及“从汇总”状态。节点在任何状态下如果停止路由协议,则变迁到“未激活”状态,当启动路由协议后,由“未激活”状态变迁到“等待”状态,启动定时器,并开始在内部通信网络上广播心跳消息。在定时器超时后,进行路由汇总关系确定。Here, the routing table state machine is used for scheduling. The scheduling algorithm of the routing table state machine depends on the algorithm of the scheduling state machine. The routing table state machine, as shown in Figure 5, is similar to the scheduling state machine, and divides each node into a "waiting" state. The node has not entered the working mode, that is, no related operations of routing table summary are required. In the working mode, the status of each node is divided into "master summary", "backup summary" and "slave summary" according to the decision-making power assigned by the task. If the node stops the routing protocol in any state, it will transition to the "inactive" state. When the routing protocol is started, it will transition from the "inactive" state to the "waiting" state, start the timer, and start broadcasting on the internal communication network Heartbeat message. After the timer expires, the routing summary relationship is determined.

路由汇总关系确定过程,指各节点的路由状态由“等待”状态变迁到工作模式下的三种状态之一,即路由表状态机的初始化过程,一般是与调度状态机初始化过程同步的。在调度状态机的主调度节点选举过程中,各个节点分别由“等待”状态变迁到调度的三种状态之一,作为触发该操作的调度状态机“定时器超时”事件以及“发现主调度”事件也是路由表状态机的触发事件。相应地,调度状态机中由“等待”状态变迁到“主调度”状态的节点,其路由表状态机也将由“等待”状态变迁到“主汇总”状态。也就是说,路由表状态机的初始化与调度状态机的初始化相同,默认进行主调度的节点也负责路由表汇总,也就是主调度节点同时也是主汇总节点。The process of determining the routing summary relationship refers to the transition of the routing state of each node from the "waiting" state to one of the three states in the working mode, that is, the initialization process of the routing table state machine, which is generally synchronized with the initialization process of the scheduling state machine. During the election process of the main scheduling node of the scheduling state machine, each node transitions from the "waiting" state to one of the three scheduling states, as the "timer timeout" event and "discovering the main scheduling" of the scheduling state machine triggering the operation Events are also triggering events for the routing table state machine. Correspondingly, the routing table state machine of a node that transitions from the "waiting" state to the "main scheduling" state in the scheduling state machine will also transition from the "waiting" state to the "main summary" state. That is to say, the initialization of the routing table state machine is the same as that of the scheduling state machine. By default, the node that performs the main scheduling is also responsible for the routing table summary, that is, the main scheduling node is also the main summary node.

A2、各节点运行链路状态路由协议,进行路由计算,得到局部路由表;A2. Each node runs the link state routing protocol, performs routing calculations, and obtains a local routing table;

各个节点将按照所分配的任务在本地运行链路状态路由协议,发现与保持邻居关系,与各个邻居同步链路状态信息,应用最短路径优先算法进行路由计算,得到局部路由表。Each node will run the link state routing protocol locally according to the assigned tasks, discover and maintain neighbor relationships, synchronize link state information with each neighbor, apply the shortest path first algorithm for routing calculations, and obtain local routing tables.

A3、进行路由汇总。A3. Carry out route summarization.

各节点按路由表状态机确定的路由汇总关系进行路由汇总。Each node performs route summary according to the route summary relationship determined by the routing table state machine.

一般由各个从汇总节点将局部路由表发给主汇总节点,主汇总节点进行路由表的汇总,得到汇总结果,并传递一份给备份汇总节点。Generally, each slave summary node sends the local routing table to the main summary node, and the main summary node summarizes the routing table, obtains the summary result, and sends a copy to the backup summary node.

当以链路状态路由协议区域边界路由器的多区域或链路状态路由协议多进程方式来执行调度状态机时,由于各个进程的路由表都在同一个范围内有效,因此需要将各个局部路由表汇总起来构成完整的路由协议的全局路由表。各个从汇总节点向主汇总节点发送局部路由表,由主汇总节点汇集所有路由计算结果后形成路由协议的全局路由表,并下发至路由器的全局路由表。When the scheduling state machine is implemented in the multi-area or link-state routing protocol multi-process mode of the link-state routing protocol area border router, since the routing tables of each process are valid within the same range, it is necessary to transfer each local routing table to Summarized to form the global routing table of a complete routing protocol. Each slave summary node sends a local routing table to the main summary node, and the main summary node collects all routing calculation results to form a global routing table of the routing protocol, and sends it to the global routing table of the router.

虽然一般默认主调度节点也就是主汇总节点,负责路由表的汇总,但在路由表状态机调度下,主汇总节点也可以与主调度节点不是同一个节点,即任务调度可以在一个节点执行,路由表汇总可以在不同的另一个节点运行。Although the main scheduling node is generally the main summary node by default, it is responsible for the summary of the routing table, but under the scheduling of the routing table state machine, the main summary node may not be the same node as the main scheduling node, that is, task scheduling can be performed on one node. Routing table summarization can run on a different node.

还需要说明的是,如果以链路状态路由协议多实例为调度单位时,由于每个协议实例在各自VPN范围内有效,这时每个节点可以独立完成各自的路由表汇总,此时相当于各节点都是主汇总状态。It should also be noted that if multiple instances of link-state routing protocols are used as the scheduling unit, since each protocol instance is valid within the scope of its own VPN, each node can independently complete its own routing table summary, which is equivalent to Each node is the main summary state.

路由表的汇总还可能会考虑路由协议的一些特定要求,例如当以OSPF区域为分布式的执行单位时,需要考虑对OSPF虚链路的支持。对于配置了虚链路的OSPF中继区,其3类和4类链路状态公告LSA(Link StateAdvertisement)需要更新骨干区域的路由计算结果,因此对于这两类LSA可以先在本地计算,成为局部路由表的一部分,一起发送给主汇总节点按照协议规则进行汇总,其具体过程依赖于路由协议的实现。The summary of the routing table may also consider some specific requirements of the routing protocol. For example, when the OSPF area is used as the distributed execution unit, the support for OSPF virtual links needs to be considered. For an OSPF relay area configured with a virtual link, its Type 3 and Type 4 Link State Advertisement LSAs (Link State Advertisement) need to update the routing calculation results of the backbone area. Therefore, these two types of LSAs can be calculated locally first and become local A part of the routing table is sent to the main aggregation node for aggregation according to the protocol rules, and the specific process depends on the implementation of the routing protocol.

对各局部路由表的汇总将形成路由协议的全局路由表,此时链路状态路由协议需要将其下发到路由器的全局路由表中,路由器的全局路由表综合从不同路由协议得到的路由信息,按照一定的规则选出最优路由,形成数据平面指导报文转发的转发信息库,并下发到转发平面。The summary of each local routing table will form the global routing table of the routing protocol. At this time, the link state routing protocol needs to send it to the global routing table of the router. The global routing table of the router synthesizes the routing information obtained from different routing protocols. , select the optimal route according to certain rules, form a forwarding information base for the data plane to guide packet forwarding, and send it to the forwarding plane.

上述内容详细介绍了本发明实施例的路由处理方法,相应的,本发明实施例提供一种路由处理器。The above content introduces the route processing method of the embodiment of the present invention in detail, and accordingly, the embodiment of the present invention provides a route processor.

请参阅图13,为本发明实施例路由处理器结构示意图。该路由处理器包括任务调度模块100、协议运行模块200和路由汇总模块300。Please refer to FIG. 13 , which is a schematic structural diagram of a routing processor according to an embodiment of the present invention. The routing processor includes a task scheduling module 100 , a protocol running module 200 and a routing summary module 300 .

其中,任务调度模块100,用于负责发现并维护与其他路由处理器之间的连接关系,并根据各路由处理器的处理能力进行任务分配。Among them, the task scheduling module 100 is responsible for discovering and maintaining connection relationships with other routing processors, and assigning tasks according to the processing capabilities of each routing processor.

协议运行模块200,用于根据所分配的任务运行基本的链路状态路由协议,进行路由计算,得到局部路由表。The protocol running module 200 is configured to run a basic link state routing protocol according to assigned tasks, perform routing calculations, and obtain a local routing table.

路由汇总模块300,用于将路由计算结果进行路由汇总,可以汇集各个路由处理器进行路由计算所得的局部路由表,从而形成完整的路由协议的全局路由表。The route summarization module 300 is used for route summarization of the route calculation results, and can gather the local routing tables obtained from the route calculation by each route processor, so as to form a complete global routing table of the routing protocol.

请参阅图14,路由处理器的任务调度模块100进一步包括信息单元1001、调度选举单元1002、路由汇总选举单元1003和任务分配单元1004。Referring to FIG. 14 , the task scheduling module 100 of the routing processor further includes an information unit 1001 , a scheduling election unit 1002 , a routing summary election unit 1003 and a task allocation unit 1004 .

信息单元1001,用于存储路由处理器自身处理能力值信息和获取其他路由处理器的处理能力值信息;各个路由处理器间通过定期广播心跳消息获知彼此的存在,处理能力值信息在心跳消息中携带,信息单元1001通过心跳消息获取其他路由处理器的处理能力值信息。The information unit 1001 is used to store the routing processor's own processing capability value information and obtain the processing capability value information of other routing processors; each routing processor knows the existence of each other by periodically broadcasting heartbeat messages, and the processing capability value information is in the heartbeat message In carrying, the information unit 1001 obtains the processing capability value information of other routing processors through a heartbeat message.

调度选举单元1002,用于根据信息单元1001存储的自身路由处理器处理能力值信息和获取的其他路由处理器的处理能力值信息选举进行任务分配的路由处理器。选举规则是从获得的邻居集合中找到处理能力值最大的作为进行任务分配的主调度路由处理器,其次为备份调度路由处理器,其余为从调度路由处理器。当处理能力值相同时,则比较其内部网路地址值。规则一般是选举网路地址值最大的作为主调度路由处理器,其次为备份调度路由处理器,其余的为从调度路由处理器。The scheduling selection unit 1002 is configured to select a routing processor for task allocation according to the processing capability value information of its own routing processor stored in the information unit 1001 and the acquired processing capability value information of other routing processors. The election rule is to find the one with the largest processing capability value from the obtained neighbor set as the main scheduling routing processor for task assignment, followed by the backup scheduling routing processor, and the rest as the slave scheduling routing processor. When the processing capability values are the same, compare the internal network address values. The rule is generally that the one with the largest network address value is selected as the master scheduling routing processor, followed by the backup scheduling routing processor, and the rest are slave scheduling routing processors.

路由汇总选举单元1003,用于根据信息单元1001存储的自身处理能力值信息和获取的其他路由处理器的处理能力值信息选举进行路由汇总的路由处理器。选举规则一般也是将处理能力值最大的作为进行路由汇总的主汇总路由处理器,其次为备份汇总路由处理器,其余为从汇总路由处理器。一般来说,调度选举单元1002选举的主调度路由处理器和路由汇总选举单元1003选举的主汇总路由处理器是同一个路由处理器,但是路由汇总选举单元1003选举的主汇总路由处理器也可以与主调度路由处理器不是同一个路由处理器。The route summary election unit 1003 is configured to select a route processor for route summary according to its own processing capability value information stored in the information unit 1001 and the acquired processing capability value information of other route processors. The election rule generally takes the one with the largest processing capability value as the main summary route processor for route summarization, followed by the backup summary route processor, and the rest as slave summary route processors. Generally speaking, the main scheduling route processor elected by the scheduling election unit 1002 and the main summary route processor elected by the route summary election unit 1003 are the same route processor, but the main summary route processor elected by the route summary election unit 1003 can also be Not the same route processor as the main dispatch route processor.

任务分配单元1004,用于路由处理器作为主调度路由处理器时进行任务分配,可以将任务分配给其他路由处理器。The task allocation unit 1004 is used for task allocation when the routing processor serves as the main scheduling routing processor, and can allocate tasks to other routing processors.

路由处理器的任务调度模块100进一步包括:第一定时器单元1005和调度状态机单元1006。The task scheduling module 100 of the routing processor further includes: a first timer unit 1005 and a scheduling state machine unit 1006 .

第一定时器单元1005,用于设置定时。调度状态机单元1006,用于将路由处理器的任务状态进行划分,并指示路由处理器执行不同操作,当路由处理器进入等待状态并在第一定时器单元1005启动定时后,调度状态机单元1006通知信息单元1001获取其他路由处理器的处理能力值信息,当第一定时器单元1005设置的定时超时后,调度状态机单元1006触发调度选举单元1002进行选举,并指示路由处理器被选举为进行任务分配时进入主调度状态,未被选举为进行任务分配时进入备份调度状态或从调度状态。The first timer unit 1005 is used for setting timing. The scheduling state machine unit 1006 is used to divide the task state of the routing processor and instruct the routing processor to perform different operations. When the routing processor enters the waiting state and starts timing after the first timer unit 1005, the scheduling state machine unit 1006 informs the information unit 1001 to obtain the processing capability value information of other routing processors. When the timing set by the first timer unit 1005 expires, the scheduling state machine unit 1006 triggers the scheduling election unit 1002 to perform an election, and instructs the routing processor to be elected as It enters the master scheduling state when task allocation is performed, and enters the backup scheduling state or slave scheduling state when it is not elected for task allocation.

路由处理器的任务调度模块100进一步包括:第二定时器单元1007和路由表状态机单元1008。The task scheduling module 100 of the routing processor further includes: a second timer unit 1007 and a routing table state machine unit 1008 .

第二定时器单元1007,用于设置定时。路由表状态机单元1008,用于将路由处理器的路由汇总状态进行划分,并指示路由处理器执行不同操作,当路由处理器进入等待状态并在第二定时器单元1007启动定时后,路由表状态机单元1008通知信息单元1001获取其他路由处理器的处理能力值信息,当第二定时器单元1007设置的定时超时后,路由表状态机单元1008触发路由汇总选举单元1003进行选举,并指示路由处理器被选举为进行路由汇总时进入主汇总状态,未被选举为进行路由汇总时进入备份汇总状态或从汇总状态。The second timer unit 1007 is used for setting timing. The routing table state machine unit 1008 is used to divide the routing summary state of the routing processor and instruct the routing processor to perform different operations. When the routing processor enters the waiting state and after the second timer unit 1007 starts timing, the routing table The state machine unit 1008 notifies the information unit 1001 to obtain the processing capability value information of other routing processors. When the timing set by the second timer unit 1007 expires, the routing table state machine unit 1008 triggers the route summary election unit 1003 to elect and instructs the route When the processor is elected for route summarization, it enters the main summary state, and when it is not elected for route summary, it enters the backup summary state or the slave summary state.

路由处理器的任务调度模块100中的任务分配单元1004进一步包括:判断单元10041和处理单元10042。判断单元10041,用于接收报文后,根据接口列表信息判断报文处理任务是否属于本路由处理器负责;处理单元10042,用于在判断单元10041判断出不属于本路由处理器负责时,指定负责该报文处理任务的路由处理器,并修改接口映射表信息。The task allocation unit 1004 in the task scheduling module 100 of the routing processor further includes: a judging unit 10041 and a processing unit 10042 . The judging unit 10041 is used to judge whether the message processing task belongs to the routing processor according to the interface list information after receiving the message; The routing processor responsible for the message processing task, and modify the interface mapping table information.

本发明实施例还提供一种路由器。请参阅图15,为本发明实施例路由器结构示意图。The embodiment of the present invention also provides a router. Please refer to FIG. 15 , which is a schematic structural diagram of a router according to an embodiment of the present invention.

图15中是以路由器含有3个路由处理器60、70和80举例说明但不局限于此,路由器可能含有多个路由处理器。该路由器的各路由处理器与图13所介绍的路由处理器相同,包括任务调度模块100、协议运行模块200和路由汇总模块300。In FIG. 15 , the router contains three route processors 60 , 70 and 80 as an example to illustrate but not limited thereto, and the router may contain multiple route processors. Each routing processor of the router is the same as the routing processor introduced in FIG. 13 , including a task scheduling module 100 , a protocol running module 200 and a route summarizing module 300 .

其中,任务调度模块100,用于负责发现并维护与其他路由处理器之间的连接关系,并根据各路由处理器的处理能力值进行任务分配。协议运行模块200,用于根据所分配的任务运行基本的链路状态路由协议,进行路由计算,得到局部路由表。路由汇总模块300,用于将路由计算结果进行路由汇总,可以汇集各个路由处理器进行路由计算所得的局部路由表,从而形成完整的路由协议的全局路由表。各路由处理器的任务调度模块100进一步包括信息单元1001、调度选举单元1002、路由汇总选举单元1003、任务分配单元1004、第一定时器单元1005、调度状态机单元1006、第二定时器单元1007和路由表状态机单元1008。任务调度模块100中的任务分配单元1004进一步包括判断单元10041和处理单元10042。这些单元的功能与前面所介绍的内容相同,此处不再详述。Wherein, the task scheduling module 100 is responsible for discovering and maintaining the connection relationship with other routing processors, and assigning tasks according to the processing capability value of each routing processor. The protocol running module 200 is configured to run a basic link state routing protocol according to assigned tasks, perform routing calculations, and obtain a local routing table. The route summarization module 300 is used for route summarization of the route calculation results, and can gather the local routing tables obtained from the route calculation by each route processor, so as to form a complete global routing table of the routing protocol. The task scheduling module 100 of each routing processor further includes an information unit 1001, a scheduling election unit 1002, a routing summary election unit 1003, a task assignment unit 1004, a first timer unit 1005, a scheduling state machine unit 1006, and a second timer unit 1007 and routing table state machine unit 1008. The task allocation unit 1004 in the task scheduling module 100 further includes a judging unit 10041 and a processing unit 10042 . The functions of these units are the same as those described above and will not be described in detail here.

综上所述,现有技术中的链路状态路由协议运行模式因为集中在单个路由处理器上,受路由处理器本身处理能力的限制,无法实现链路状态路由协议的扩展,而本发明实施例方案是:建立网络中各节点间的连接,对各节点进行任务调度;各节点根据所述调度的任务运行链路状态路由协议,并进行路由计算,得到路由计算结果;获取各节点的所述路由计算结果并进行路由汇总。因为本发明实施例的运行模式下,可以将链路状态路由协议的任务调度、协议执行和路由汇总操作动态分布到各节点即各路由处理器上,所以能充分利用各节点的资源,从而实现了链路状态路由协议的扩展。In summary, the link-state routing protocol operation mode in the prior art is concentrated on a single routing processor, and is limited by the processing capability of the routing processor itself, so the expansion of the link-state routing protocol cannot be realized, and the implementation of the present invention The example solution is: establish the connection between the nodes in the network, and schedule tasks for each node; each node runs the link state routing protocol according to the scheduled tasks, and performs routing calculation to obtain the routing calculation result; Describe the route calculation results and perform route summary. Because under the operating mode of the embodiment of the present invention, the task scheduling, protocol execution and routing summary operations of the link state routing protocol can be dynamically distributed to each node, that is, each routing processor, so the resources of each node can be fully utilized, thereby realizing An extension of the link-state routing protocol.

进一步的,将链路状态路由协议的三个功能动态的分布到各个节点上,可以具有较大的容错能力。如果分布式系统的某个节点出现故障,或者某个节点的协议运行过程中,其网络出现较大震荡时,能够隔离对它节点的影响。Furthermore, dynamically distributing the three functions of the link-state routing protocol to each node can have greater fault tolerance. If a node of the distributed system fails, or when a node's protocol is running and its network fluctuates greatly, it can isolate the impact on other nodes.

以上对本发明实施例所提供的一种路由处理方法、路由处理器及路由器进行了详细介绍,本文中应用了具体个例对本发明实施例的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明实施例的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明实施例的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A routing processing method, a routing processor, and a router provided by the embodiments of the present invention have been described above in detail. In this paper, specific examples are used to illustrate the principles and implementation methods of the embodiments of the present invention. The descriptions of the above embodiments are only It is used to help understand the method and its core idea of the embodiment of the present invention; at the same time, for those of ordinary skill in the art, according to the idea of the embodiment of the present invention, there will be changes in the specific implementation and application scope. In summary As stated above, the content of this specification should not be construed as limiting the present invention.

Claims (17)

1, a kind of route processing method is characterized in that, comprising:
Set up each internodal connection in the network, each node is carried out task scheduling;
Each node is according to the task run link-state routing protocol of described scheduling, and the walking along the street of going forward side by side obtains route result of calculation by calculating;
Obtain the described route result of calculation of each node and go forward side by side walking along the street by gathering.
2, route processing method according to claim 1 is characterized in that, describedly each node is carried out task scheduling is specially:
Determine to carry out the node of Task Distribution and carry out the node that route gathers according to the disposal ability value information of each node;
The task of distributing each node by the described node of determining that carries out Task Distribution.
3, route processing method according to claim 2 is characterized in that:
Described disposal ability value information according to each node is determined to carry out the node of Task Distribution and carries out the node that route gathers to be specially:
Obtain the heartbeat message that carries node processing ability value information of broadcasting in the network, according to described disposal ability value information, the node of election processing ability value maximum is as the node that carries out Task Distribution and carry out the node that route gathers.
4, route processing method according to claim 2 is characterized in that:
The node that described disposal ability value information according to each node is determined to carry out Task Distribution is by the control of dispatch state machine, and control procedure is specially:
Indication enters the node of wait state and broadcast the heartbeat message that carries node status information and disposal ability value information after starting timer, behind timer expiry, triggering determines to carry out the election process of the node of Task Distribution, the node that elects the processing ability value maximum is as the node that carries out Task Distribution, and indicate it to enter the master scheduling state, indicate other nodes to enter backup dispatch state or the node transmission heartbeat message of the node from dispatch state from dispatch state to the master scheduling state according to election results.
5, route processing method according to claim 2 is characterized in that:
The node that the route of determining described disposal ability value information according to each node to carry out gathers is by the control of routing table state machine, and control procedure is specially:
Indication enters the node of wait state and broadcast the heartbeat message that carries node status information and disposal ability value information after starting timer, behind timer expiry, triggering determines to carry out the election process of the node that route gathers, the node that elects the processing ability value maximum is as carrying out the node that route gathers, and indicate it to enter the master scheduling state, indicate other nodes to enter backup summary status or, only send heartbeat message to the node of main summary status from the node of summary status from summary status according to election results.
6, route processing method according to claim 2 is characterized in that, the described node of determining that carries out Task Distribution distributes the task of each node to be specially:
The node that carries out Task Distribution that elects splits the task that unit distributes each node according to difference, the described different a plurality of zones that split multiple virtual private network (VPN) VPN instance, multi-protocols process or Area Border Router connection that unit is a link-state routing protocol.
According to claim 2 or 6 described route processing methods, it is characterized in that 7, the described node of determining that carries out Task Distribution distributes the task of each node to be specially:
After the described node that carries out Task Distribution that elects receives message, according to node under the interface list information judgement message Processing tasks, do not belong to this node and be responsible for if judge, then specify the node of being responsible for this message Processing tasks, and revise interface map list information.
8, route processing method according to claim 2 is characterized in that, describedly obtains the walking along the street of going forward side by side of route result of calculation and is specially by gathering:
Each node will carry out local routing table that route calculates send to described determine carry out the node that route gathers, describedly carry out the node that route gathers and receive the laggard walking along the street of described local routing table by gathering, obtain overall routing table.
9, a kind of route processors is characterized in that, comprising:
Task scheduling modules is used to carry out task scheduling;
Agreement operation module is used for the task run link-state routing protocol by scheduling, and the walking along the street of going forward side by side obtains route result of calculation by calculating;
The route summarizing module is used for that route result of calculation is carried out route and gathers.
10, route processors according to claim 9 is characterized in that, described task scheduling modules further comprises:
Information unit, the disposal ability information that is used to store route processors self disposal ability information He obtains other route processorss;
Scheduling election unit is used for electing the route processors that carries out Task Distribution according to route processors self the disposal ability information of information unit storage and the disposal ability information of other route processorss that obtain;
Route gathers the election unit, is used for carrying out the route processors that route gathers according to the node processing ability information of information unit storage and the disposal ability information election of other route processorss that obtain;
Task allocation unit is used for allocating task.
11, route processors according to claim 10 is characterized in that, described task scheduling modules further comprises:
The first timer unit is used to be provided with regularly;
Dispatch state machine unit, be used for the task status of route processors is divided, and the indication route processors is carried out different operating, when route processors enter wait state and the first timer unit starting regularly after, announcement information unit, dispatch state machine unit obtains the disposal ability information of other route processorss, after the timing of first timer unit setting is overtime, dispatch state machine unit triggers scheduling election unit conducts an election, and the indication route processors is elected as and enters the master scheduling state when carrying out Task Distribution, is not elected as to enter the backup dispatch state when carrying out Task Distribution or from dispatch state.
12, route processors according to claim 10 is characterized in that, described task scheduling modules further comprises:
The second timer unit is used to be provided with regularly;
The routing table state machine unit, be used for the route summary status of route processors is divided, and the indication route processors is carried out different operating, when route processors enter wait state and the second timer unit starting regularly after, routing table state machine unit announcement information unit obtains the disposal ability information of other route processorss, after the timing of second timer unit setting is overtime, routing table state machine unit triggering route gathers the election unit and conducts an election, and the indication route processors is elected as and carries out entering main summary status when route gathers, and is not elected as to carry out entering when route gathers the backup summary status or from summary status.
13, route processors according to claim 10 is characterized in that, described task allocation unit further comprises:
Judging unit after being used to receive message, judges according to interface list information whether the message Processing tasks belongs to this route processors and be responsible for;
Processing unit is used for specifying the route processors of being responsible for this message Processing tasks when judgment unit judges goes out not belong to this route processors and is responsible for, and revises interface map list information.
14, a kind of router is characterized in that, comprising:
A plurality of route processorss, described route processors comprises:
Task scheduling modules is used to carry out the task scheduling between route processors;
Agreement operation module is used for the task run link-state routing protocol by scheduling, and the walking along the street of going forward side by side obtains route result of calculation by calculating;
The route summarizing module is used for that route result of calculation is carried out route and gathers.
15, router according to claim 14 is characterized in that, the task scheduling modules in the described route processors further comprises:
Information unit, the disposal ability information that is used to store route processors self disposal ability information He obtains other route processorss;
Scheduling election unit is used for electing the route processors that carries out Task Distribution according to route processors self the disposal ability information of information unit storage and the disposal ability information of other route processorss that obtain;
Route gathers the election unit, is used for carrying out the route processors that route gathers according to the node processing ability information of information unit storage and the disposal ability information election of other route processorss that obtain;
Task allocation unit is used for allocating task.
16, router according to claim 15 is characterized in that, the task scheduling modules in the described route processors further comprises:
The first timer unit is used to be provided with regularly;
Dispatch state machine unit, be used for the task status of route processors is divided, and the indication route processors is carried out different operating, when route processors enter wait state and the first timer unit starting regularly after, announcement information unit, dispatch state machine unit obtains the disposal ability information of other route processorss, after the timing of first timer unit setting is overtime, dispatch state machine unit triggers scheduling election unit conducts an election, and the indication route processors is elected as and enters the master scheduling state when carrying out Task Distribution, is not elected as to enter the backup dispatch state when carrying out Task Distribution or from dispatch state;
The second timer unit is used to be provided with regularly;
The routing table state machine unit, be used for the route summary status of route processors is divided, and the indication route processors is carried out different operating, when route processors enter wait state and the second timer unit starting regularly after, routing table state machine unit announcement information unit obtains the disposal ability information of other route processorss, after the timing of second timer unit setting is overtime, routing table state machine unit triggering route gathers the election unit and conducts an election, and the indication route processors is elected as and carries out entering main summary status when route gathers, and is not elected as to carry out entering when route gathers the backup summary status or from summary status.
17, router according to claim 15 is characterized in that, the described task allocation unit of task scheduling modules further comprises in the described route processors:
Judging unit after being used to receive message, judges according to interface list information whether the message Processing tasks belongs to this route processors and be responsible for;
Processing unit is used for specifying the route processors of being responsible for this message Processing tasks when judgment unit judges goes out not belong to this route processors and is responsible for, and revises interface map list information.
CN2007101020835A 2007-05-14 2007-05-14 Route processing method, routing processor and router Expired - Fee Related CN101309201B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2007101020835A CN101309201B (en) 2007-05-14 2007-05-14 Route processing method, routing processor and router
PCT/CN2008/070898 WO2008138255A1 (en) 2007-05-14 2008-05-07 Route process method, route processor and router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101020835A CN101309201B (en) 2007-05-14 2007-05-14 Route processing method, routing processor and router

Publications (2)

Publication Number Publication Date
CN101309201A true CN101309201A (en) 2008-11-19
CN101309201B CN101309201B (en) 2012-05-23

Family

ID=40001697

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101020835A Expired - Fee Related CN101309201B (en) 2007-05-14 2007-05-14 Route processing method, routing processor and router

Country Status (2)

Country Link
CN (1) CN101309201B (en)
WO (1) WO2008138255A1 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130834A (en) * 2011-03-15 2011-07-20 杭州华三通信技术有限公司 A kind of IP routing method and router
CN102932260A (en) * 2012-10-31 2013-02-13 福建星网锐捷网络有限公司 Method, device and system for routing computing
CN103873312A (en) * 2012-12-12 2014-06-18 中国移动通信集团公司 Method and system for testing FIB (Forwarding Information base) capacity of IP equipment
WO2015149491A1 (en) * 2014-03-31 2015-10-08 华为技术有限公司 Network resource processing device, method and system
CN106100961A (en) * 2016-07-21 2016-11-09 广州高能计算机科技有限公司 A kind of Direct Connect Architecture computing cluster system based on infinite bandwidth and construction method
CN106952207A (en) * 2017-03-10 2017-07-14 深圳市博信诺达经贸咨询有限公司 Monitor the electoral machinery and system of cloud platform distributed system
CN107181628A (en) * 2017-07-20 2017-09-19 杭州老板电器股份有限公司 Two-way wireless communication method, device and terminal
CN108710529A (en) * 2018-04-28 2018-10-26 四川斐讯信息技术有限公司 A kind of remote task processing method, system and wireless router
CN109981461A (en) * 2017-12-27 2019-07-05 华为技术有限公司 A kind of data transmission method, apparatus and system
CN111464442A (en) * 2019-01-22 2020-07-28 华为技术有限公司 Method and device for routing data packet
CN113626161A (en) * 2021-07-09 2021-11-09 中国科学院信息工程研究所 Distributed multi-user data scheduling method and system
CN113835849A (en) * 2020-06-24 2021-12-24 上海寒武纪信息科技有限公司 Task processing system and method
CN114640618A (en) * 2022-03-15 2022-06-17 平安国际智慧城市科技股份有限公司 Cluster routing scheduling method and device, electronic equipment and readable storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587061B (en) * 2018-11-08 2022-04-22 华为技术有限公司 Method, device and equipment for processing route
CN112468353B (en) * 2019-09-09 2023-11-21 华为数字技术(苏州)有限公司 Network reachability detection method and device
CN115190061B (en) * 2020-06-04 2025-10-03 华为技术有限公司 Method, communication device, storage medium and system for processing routing messages
CN114245288B (en) * 2021-10-29 2025-05-30 重庆惠科金渝光电科技有限公司 A task scheduling method for service equipment, service equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100452797C (en) * 2005-07-15 2009-01-14 清华大学 High-available distributed boundary gateway protocol system based on cluster router structure
CN100394742C (en) * 2006-08-17 2008-06-11 北京邮电大学 Monitoring and Analysis System and Working Method of Open Shortest Path First Routing Protocol
CN1917464A (en) * 2006-09-01 2007-02-21 清华大学 Distribution type task assignment and computation method based on lower bound to be raised step by step
CN100413264C (en) * 2006-10-20 2008-08-20 清华大学 Performance Evaluation Method of Transmission Adaptation Sublayer Communication Mode in Extensible Router System

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130834A (en) * 2011-03-15 2011-07-20 杭州华三通信技术有限公司 A kind of IP routing method and router
CN102130834B (en) * 2011-03-15 2014-04-02 杭州华三通信技术有限公司 Internet protocol (IP) routing method and router
CN102932260A (en) * 2012-10-31 2013-02-13 福建星网锐捷网络有限公司 Method, device and system for routing computing
CN102932260B (en) * 2012-10-31 2016-03-30 福建星网锐捷网络有限公司 Route computing method, equipment and system
CN103873312A (en) * 2012-12-12 2014-06-18 中国移动通信集团公司 Method and system for testing FIB (Forwarding Information base) capacity of IP equipment
CN103873312B (en) * 2012-12-12 2017-05-31 中国移动通信集团公司 A kind of method of testing and system of IP device forward table capacity
WO2015149491A1 (en) * 2014-03-31 2015-10-08 华为技术有限公司 Network resource processing device, method and system
US10200287B2 (en) 2014-03-31 2019-02-05 Huawei Technologies Co., Ltd. Network resource processing apparatus, method, and system
CN106100961A (en) * 2016-07-21 2016-11-09 广州高能计算机科技有限公司 A kind of Direct Connect Architecture computing cluster system based on infinite bandwidth and construction method
CN106952207A (en) * 2017-03-10 2017-07-14 深圳市博信诺达经贸咨询有限公司 Monitor the electoral machinery and system of cloud platform distributed system
CN107181628A (en) * 2017-07-20 2017-09-19 杭州老板电器股份有限公司 Two-way wireless communication method, device and terminal
CN109981461B (en) * 2017-12-27 2020-10-09 华为技术有限公司 Data transmission method, device and system
CN109981461A (en) * 2017-12-27 2019-07-05 华为技术有限公司 A kind of data transmission method, apparatus and system
CN108710529A (en) * 2018-04-28 2018-10-26 四川斐讯信息技术有限公司 A kind of remote task processing method, system and wireless router
CN111464442A (en) * 2019-01-22 2020-07-28 华为技术有限公司 Method and device for routing data packet
US12074796B2 (en) 2019-01-22 2024-08-27 Huawei Technologies Co., Ltd. Data packet routing method and apparatus
CN113835849A (en) * 2020-06-24 2021-12-24 上海寒武纪信息科技有限公司 Task processing system and method
CN113626161A (en) * 2021-07-09 2021-11-09 中国科学院信息工程研究所 Distributed multi-user data scheduling method and system
CN113626161B (en) * 2021-07-09 2023-12-22 中国科学院信息工程研究所 Distributed multi-user data scheduling method and system
CN114640618A (en) * 2022-03-15 2022-06-17 平安国际智慧城市科技股份有限公司 Cluster routing scheduling method and device, electronic equipment and readable storage medium
CN114640618B (en) * 2022-03-15 2024-03-12 平安国际智慧城市科技股份有限公司 Cluster route scheduling method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
WO2008138255A1 (en) 2008-11-20
CN101309201B (en) 2012-05-23

Similar Documents

Publication Publication Date Title
CN101309201B (en) Route processing method, routing processor and router
US10263889B2 (en) Data forwarding method, device, and system in software-defined networking
JP3286584B2 (en) Multiplexed router device
JP4449903B2 (en) Router device and network connection method
US9210070B2 (en) Implementing multiple portals into an RBRIDGE network
EP2962431B1 (en) Spanning tree in fabric switches
US7859992B2 (en) Router redundancy in data communication networks
US6985959B1 (en) Constraint route dissemination using distributed route exchanges
CN105337870B (en) A kind of route issuing method and device
US10404571B2 (en) Communication among network controllers
CN101005452A (en) Method and system for communication between IP devices
US7366112B2 (en) Communication network control system, control method, node and program
CN112953834A (en) Network area division method, network equipment and system
KR101457317B1 (en) Prioritization of routing information updates
CN113824647B (en) A method, device and system for determining DF of multicast stream
CN100596117C (en) A routing information dissemination method and router
CN106713177A (en) Multi-controller wmSDN networking method
CN108833283A (en) A software-defined cross-domain multi-path routing planning method
US20130151445A1 (en) Method and System for Survival of Data Plane Through a Total Control Plane Failure
WO2023116805A1 (en) Network domain control method and apparatus, network system, and storage medium
US20020009088A1 (en) Systems and methods for negotiating virtual circuit paths in packet switched networks
CN107249147B (en) Information synchronization method and system in a kind of automatically switching optical networks
CN102045228A (en) Discovery method and system of loop network protection information
CN100411387C (en) Dual Homing Network Support Method Based on Resilient Packet Data Ring Network
JP2008154016A (en) Radio terminal and radio communication system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120523

Termination date: 20160514

CF01 Termination of patent right due to non-payment of annual fee