CN101119307A - a routing method - Google Patents

a routing method Download PDF

Info

Publication number
CN101119307A
CN101119307A CNA2007101202566A CN200710120256A CN101119307A CN 101119307 A CN101119307 A CN 101119307A CN A2007101202566 A CNA2007101202566 A CN A2007101202566A CN 200710120256 A CN200710120256 A CN 200710120256A CN 101119307 A CN101119307 A CN 101119307A
Authority
CN
China
Prior art keywords
bandwidth
routing
value
occupancy rate
node
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
CNA2007101202566A
Other languages
Chinese (zh)
Other versions
CN100512231C (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.)
Beihang University
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CNB2007101202566A priority Critical patent/CN100512231C/en
Publication of CN101119307A publication Critical patent/CN101119307A/en
Application granted granted Critical
Publication of CN100512231C publication Critical patent/CN100512231C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明涉及一种路由方法,包括:接收路由请求及带宽期望值;根据自身带宽占用率计算预留带宽占用率;判断预留带宽占用率是否属于线性域,若是,则设置实际分配带宽值等于带宽期望值;分配预留带宽,并判断自身是否为目的节点,若是,则产生并转发成功的路由应答信息,若否,则转发该路由请求;接收路由应答信息,判断是否为成功的路由应答信息,若是,则转发该成功路由应答信息,否则删除预留带宽后再转发该失败路由应答信息。本发明的路由方法可以均衡网络的业务负载,避免一般路由协议中网络资源瓶颈的问题,将路由传输的任务分散到了整个网络范围中,从而降低了部分重负载节点业务传输的排队等控制开销,同时具有提高网络资源利用率的优点。

Figure 200710120256

The invention relates to a routing method, comprising: receiving a routing request and a bandwidth expectation value; calculating the reserved bandwidth occupancy rate according to its own bandwidth occupancy rate; judging whether the reserved bandwidth occupancy rate belongs to a linear domain, and if so, setting the actual allocated bandwidth value equal to the bandwidth Expected value; allocate reserved bandwidth, and judge whether it is a destination node, if so, generate and forward successful routing response information, if not, forward the routing request; receive routing response information, and judge whether it is a successful routing response information, If yes, forward the successful routing response information, otherwise delete the reserved bandwidth and then forward the failed routing response information. The routing method of the present invention can balance the business load of the network, avoid the problem of network resource bottlenecks in general routing protocols, and distribute the task of routing transmission to the entire network range, thereby reducing the queuing and other control overheads of business transmission of some heavy-load nodes. At the same time, it has the advantage of improving the utilization rate of network resources.

Figure 200710120256

Description

一种路由方法 a routing method

技术领域 technical field

本发明涉及一种路由方法,尤其涉及一种应用于无线网络的具有动态带宽分配的负载均衡路由方法,适用于移动自组织网络、无线局域网等系统。The invention relates to a routing method, in particular to a load balancing routing method with dynamic bandwidth allocation applied to wireless networks, and is suitable for systems such as mobile self-organizing networks and wireless local area networks.

背景技术 Background technique

无线网络的通信节点具有资源有限、能源有限、接收能力有限的特征,这些特征要求节点采用合适的路由方法来高效的实现源节点和目的节点间的端到端通信。无线网络路由方法的设计目标是能够尽量考虑网络资源稀缺、网络状态时变等特性,适应网络拓扑动态快速变化,提高网络可扩展能力和多跳路由的稳健性。无线网络中现有的路由方法可以分为主动路由和按需路由两大类。Communication nodes in wireless networks have the characteristics of limited resources, limited energy, and limited receiving capabilities. These characteristics require nodes to adopt appropriate routing methods to efficiently realize end-to-end communication between source nodes and destination nodes. The design goal of the wireless network routing method is to consider the scarcity of network resources and time-varying network status as much as possible, adapt to the dynamic and rapid changes of the network topology, and improve the scalability of the network and the robustness of multi-hop routing. The existing routing methods in wireless networks can be divided into two categories: active routing and on-demand routing.

大多数无线网络的主动路由协议沿用了有线网络的路由表驱动路由方法,在应用到无线网络时仍有着无法避免的缺陷:无论路由表中的路由是否应用于无线网络,均要产生大量的控制分组对其进行维护,控制信息的周期性广播和复杂的路由表维护会耗费大量的有限网络资源和节点能量;拓扑的快速变化使得很多路由信息很快过时而造成资源浪费。Most active routing protocols of wireless networks follow the routing table-driven routing method of wired networks, and there are still unavoidable defects when applied to wireless networks: no matter whether the routes in the routing table are applied to wireless networks or not, a large amount of control is required. Group maintenance, periodic broadcast of control information and complex routing table maintenance will consume a lot of limited network resources and node energy; rapid changes in topology make a lot of routing information outdated quickly, resulting in waste of resources.

在大多数按需路由协议中,节点只在需要新路径对数据分组进行传输时才发送一个路由请求分组进行搜索,每个收到路由请求分组的节点根本不会考虑本节点当前的业务流负载强度,就盲目的向目的节点转发该路由请求分组,目的节点收到路由请求分组后,反向按经历的最短路径回传应答分组。在路由请求分组和路由维护分组需求不频繁的时候,按需路由协议能够比主动路由协议更低的路由开销、更高的分组成功递交率和运行效率,更能适应无线网络拓扑变化频繁和有效的利用有限的带宽资源和电池能源。按需路由方案在进行通信的节点连接较少时是一种有效的方法,但在路由请求分组和路由维护分组需求频繁的时候或通信的节点连接较多时则相对低效。大多数的按需路由方案中,随着业务流负载强度的增加,拥塞导致的路由信息很快丢失将触发更多的路由请求和路由维护等控制分组的产生,从而进一步加重网络拥塞。由于控制分组通常比数据分组具有更高的优先级,更多的控制分组的传输将进一步加剧网络中的拥塞状态。In most on-demand routing protocols, a node only sends a routing request packet to search when it needs a new path to transmit a data packet, and each node that receives a routing request packet will not consider the current traffic load of the node at all. Intensity, the routing request packet is blindly forwarded to the destination node, and after receiving the routing request packet, the destination node returns the response packet in reverse according to the shortest path experienced. When the demand for routing request packets and routing maintenance packets is infrequent, on-demand routing protocols can have lower routing overhead, higher packet delivery rate and operating efficiency than active routing protocols, and are more adaptable to frequent and effective wireless network topology changes. The use of limited bandwidth resources and battery power. The on-demand routing scheme is an effective method when there are few communicating node connections, but it is relatively inefficient when there are frequent requests for routing request packets and routing maintenance packets or when there are many communicating node connections. In most on-demand routing schemes, as the traffic load increases, the loss of routing information caused by congestion will trigger the generation of more routing requests and routing maintenance control packets, thereby further aggravating network congestion. Since control packets usually have a higher priority than data packets, the transmission of more control packets will further aggravate the congestion state in the network.

上述无线网络的路由问题产生的主要原因是无线网络中大多数的路由协议均没能考虑在网络中各移动节点间均衡的分配路由任务,使得协议运行的结果多是使得产生的众多路由汇聚于网络少量的节点和链路,这将导致网络整体传输负载的非均衡。非均衡的数据业务流传输将快速耗尽重负载节点的电能,随着电能耗尽节点的增加,网络的连接性将随之减弱,最终导致重负载节点产生较大的排队等待时延和很高的分组丢失率,导致网络拥塞和瓶颈的出现,使得以这些重负载节点为中间节点的路由连接的平均端到端时延和分组丢失率都将增大,网络中数据的传输可靠性差。The main reason for the above wireless network routing problem is that most of the routing protocols in the wireless network fail to consider the balanced distribution of routing tasks among the mobile nodes in the network, so that the result of the protocol operation is that many routes generated converge in the network. A small number of nodes and links in the network will lead to unbalanced overall transmission load of the network. Unbalanced data service flow transmission will quickly deplete the power of heavy-load nodes. With the increase of power-depleted nodes, the connectivity of the network will be weakened, which will eventually lead to large queuing delays and long-term delays for heavy-load nodes. High packet loss rate leads to network congestion and bottlenecks, so that the average end-to-end delay and packet loss rate of routing connections with these heavy-load nodes as intermediate nodes will increase, and the reliability of data transmission in the network is poor.

解决无线网络中功率和带宽受限的较好方法就是在路由方法的设计中考虑网络中各节点网络拥塞情况,在路由选择过程中根据网络中各节点的负载和拥塞情况对网络采用合理的负载均衡策略,使得网络保持持续、高效、稳定的运行,网络的分组成功递交率、分组传输的平均端到端时延和附加路由控制开销等综合性能达到优化,从而提升网络业务流的传输质量。A better way to solve the limited power and bandwidth in the wireless network is to consider the network congestion of each node in the network in the design of the routing method, and use a reasonable load for the network according to the load and congestion of each node in the network during the routing selection process. The balanced strategy keeps the network running continuously, efficiently, and stably, and optimizes the overall performance of the network, such as the successful delivery rate of packets, the average end-to-end delay of packet transmission, and additional routing control overhead, thereby improving the transmission quality of network traffic.

然而,现有的负载均衡路由方法,选取的负载水平度量较为单一和静态,带宽利用率和传输效率提升较少,在实用上存在着一定的局限性。现有的负载均衡路由协议主要依据网络信息传输中的某个特征参数来推断当前路径或节点负载大小,例如:路由节点的缓冲区队列长度、端到端的业务流时延或路由节点正在传输的业务流数量等。现有的负载均衡路由协议选取的路由协议大部分均是收集网络中节点的上述某个特征参数,然后计算选取传输路径,这种技术方案会产生如下的问题:1.特征参数反映负载特性的效用有限,如“DLAR”(Dynamic Load-Aware Routing)路由协议将各中间节点的缓存队列长度累加并选取总值最小的作为路由路径,但缓存队列长度在传输过程中时变性较强,且受各种因素影响较大,因此路由的可靠性相对较低;2.现有路由协议未能将节点传输能力最大化,现有路由协议,如“LBAR”路由协议选取一条依据特征参数计算的最佳路径,但实际上,次优但可行的路由路径也具有相当的价值,另外,现有路由协议对于节点堵塞或畅通往往只采用(0,1)的二值逻辑表达,不能够充分的利用网络资源。However, in the existing load balancing routing method, the selected load level measurement is relatively single and static, and the bandwidth utilization and transmission efficiency are less improved, so there are certain limitations in practicality. The existing load balancing routing protocol mainly infers the current path or node load size based on a certain characteristic parameter in network information transmission, such as: the buffer queue length of the routing node, the end-to-end service flow delay or the transmission time of the routing node. number of business flows, etc. Most of the routing protocols selected by the existing load balancing routing protocols are to collect the above-mentioned characteristic parameters of the nodes in the network, and then calculate and select the transmission path. This technical solution will cause the following problems: 1. The characteristic parameters reflect the load characteristics. The utility is limited. For example, the "DLAR" (Dynamic Load-Aware Routing) routing protocol accumulates the buffer queue lengths of each intermediate node and selects the one with the smallest total value as the routing path. Various factors have a great influence, so the reliability of routing is relatively low; 2. Existing routing protocols fail to maximize the transmission capacity of nodes. Existing routing protocols, such as "LBAR" routing protocols, select the most However, in fact, suboptimal but feasible routing paths are also of considerable value. In addition, existing routing protocols often only use binary logic expressions of (0, 1) for node congestion or unblocking, which cannot make full use of Internet resources.

发明内容 Contents of the invention

本发明的目的是通过一些实施例提供一种路由方法,克服现有技术存在的问题,解决现有路由方法中不能充分考虑网络节点的负载状态,难以实现负载均衡,因而网络资源利用效率差的问题,从而更有效的利用网络资源,降低局部负载水平,提高网络性能。The purpose of the present invention is to provide a routing method through some embodiments, overcome the problems existing in the prior art, and solve the problem that the load status of network nodes cannot be fully considered in the existing routing method, it is difficult to achieve load balancing, and thus the utilization efficiency of network resources is poor problems, so as to more effectively utilize network resources, reduce local load levels, and improve network performance.

为实现本发明的目的,通过一些实施例提供了一种路由更新方法,包括以下步骤:In order to achieve the purpose of the present invention, some embodiments provide a routing update method, including the following steps:

步骤1、接收上级节点发送的路由请求,采集该路由请求中包含的带宽期望值;Step 1. Receive the routing request sent by the superior node, and collect the bandwidth expectation contained in the routing request;

步骤2、检测自身的带宽占用率,根据所述带宽占用率和带宽期望值计算预留带宽占用率;Step 2, detecting the bandwidth occupancy rate of the self, and calculating the reserved bandwidth occupancy rate according to the bandwidth occupancy rate and the bandwidth expectation value;

步骤3、判断预留带宽占用率是否属于线性域,若是,则设置实际分配带宽值等于带宽期望值,并执行步骤4,若否,则产生失败的路由应答信息,并执行步骤8;Step 3. Determine whether the reserved bandwidth occupancy rate belongs to the linear domain. If so, set the actual allocated bandwidth value to be equal to the expected bandwidth value, and perform step 4. If not, generate a failed routing response message, and perform step 8;

步骤4、根据实际分配带宽值分配预留带宽,并判断自身是否为目的节点,若是,则产生成功的路由应答信息,并执行步骤8,若否,则执行步骤5;Step 4. Allocate the reserved bandwidth according to the actual allocated bandwidth value, and judge whether it is the destination node, if so, generate a successful routing response message, and perform step 8, if not, then perform step 5;

步骤5、向自身的下级节点转发该路由请求;Step 5, forwarding the routing request to its own subordinate node;

步骤6、接收路由应答信息,判断该路由应答信息是否为成功的路由应答信息,若是,则执行步骤8,否则执行步骤7;Step 6, receiving the routing response information, judging whether the routing response information is a successful routing response information, if so, then performing step 8, otherwise performing step 7;

步骤7、删除分配的预留带宽;Step 7, delete the allocated reserved bandwidth;

步骤8、向上级节点发送该路由应答信息。Step 8: Send the routing response information to the superior node.

本发明的上述实施例根据节点自身的带宽占用率以及业务流路由请求中的带宽期望值计算节点的负载能力,对业务流占用带宽实施动态分配和回收,这样可以及时、准确的均衡网络的业务负载,避免一般路由协议中网络资源瓶颈的问题,通过反复实施上述方法来探索所有可行路径,将路由传输的任务分散到了整个网络范围中,从而降低了部分重负载节点业务传输的排队等控制开销,能够提高网络资源的利用率。The above embodiments of the present invention calculate the load capacity of the node according to the bandwidth occupancy rate of the node itself and the bandwidth expectation in the service flow routing request, and implement dynamic allocation and recovery of the bandwidth occupied by the service flow, so that the service load of the network can be balanced in a timely and accurate manner , to avoid the bottleneck problem of network resources in general routing protocols, by repeatedly implementing the above method to explore all feasible paths, the task of routing transmission is distributed to the entire network, thereby reducing the queuing and other control overhead of service transmission of some heavy-load nodes, It can improve the utilization rate of network resources.

更进一步的,上述步骤3可以具体为:Furthermore, the above step 3 can be specifically:

步骤30、判断预留带宽占用率是否属于线性域,若是,设置实际分配带宽值等于带宽期望值,并执行步骤4,若否,则执行步骤31;Step 30, determine whether the reserved bandwidth occupancy rate belongs to the linear domain, if so, set the actual allocated bandwidth value equal to the expected bandwidth value, and perform step 4, if not, then perform step 31;

步骤31、判断预留带宽占用率是否属于指数域,若是,则计算实际带宽分配值,并执行步骤32,否则,产生失败的路由应答信息,并执行步骤8;Step 31, judging whether the reserved bandwidth occupancy rate belongs to the index domain, if so, then calculate the actual bandwidth allocation value, and execute step 32, otherwise, generate a failed routing response message, and execute step 8;

步骤32、采集带宽最小值,判断实际带宽分配值是否大于或等于所述带宽最小值,若是,则执行步骤4,否则,产生失败的路由应答信息,并执行步骤8。Step 32: Collect the minimum bandwidth value, determine whether the actual bandwidth allocation value is greater than or equal to the minimum bandwidth value, if so, perform step 4, otherwise, generate a failed routing response message, and perform step 8.

采用上述技术方案能够寻找到至少满足带宽最小值的所有路径,而不只是最佳的传输路径,所以能够最大化的利用网络资源,提高了网络资源的利用率。By adopting the above technical solution, all paths satisfying at least the minimum value of the bandwidth can be found, not just the best transmission path, so the network resources can be utilized to the maximum extent, and the utilization ratio of the network resources is improved.

下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments.

附图说明 Description of drawings

图1为本发明路由方法具体实施例一的流程图。FIG. 1 is a flow chart of Embodiment 1 of the routing method of the present invention.

图2为本发明路由方法具体实施例一中一种成功的路由请求过程示意图。FIG. 2 is a schematic diagram of a successful routing request process in Embodiment 1 of the routing method of the present invention.

图3为本发明路由方法具体实施例一中实际分配带宽函数的曲线图。FIG. 3 is a graph of the actual allocated bandwidth function in Embodiment 1 of the routing method of the present invention.

图4为本发明路由方法具体实施例一中传输费用函数的曲线图。FIG. 4 is a graph of the transmission cost function in Embodiment 1 of the routing method of the present invention.

图5为本发明路由方法具体实施例一中一种失败的路由请求过程示意图。FIG. 5 is a schematic diagram of a failed routing request process in Embodiment 1 of the routing method of the present invention.

具体实施方式 Detailed ways

实施例一Embodiment one

如图1所示为本发明路由方法具体实施例一的流程图,本实施例一包括如下步骤:As shown in Figure 1, it is a flowchart of a specific embodiment 1 of the routing method of the present invention, and this embodiment 1 includes the following steps:

步骤A1、下级节点接收上级节点发送的路由请求,采集该路由请求中包含的带宽期望值;Step A1, the lower-level node receives the routing request sent by the upper-level node, and collects the expected bandwidth contained in the routing request;

步骤A2、下级节点检测自身的带宽占用率,根据带宽占用率和带宽期望值按照下述公式(1),即预留带宽占用率计算公式计算预留带宽占用率:Step A2, the lower-level node detects its own bandwidth occupancy rate, and calculates the reserved bandwidth occupancy rate according to the bandwidth occupancy rate and bandwidth expectation value according to the following formula (1), that is, the calculation formula for the reserved bandwidth occupancy rate:

Uu ijij ′′ == Uu ijij ++ KK BB WW -- -- -- (( 11 ))

其中,Uij′为该下级节点为路由请求分配了期望带宽值之后的预留带宽占用率,Uij为该下级节点在未给路由请求分配带宽期望值之前的带宽占用率,K为路由请求的期望带宽值,BW为该节点的总带宽值;Among them, U ij ′ is the reserved bandwidth occupancy rate after the lower-level node allocates the expected bandwidth value for the routing request, U ij is the bandwidth occupancy rate of the lower-level node before the expected bandwidth value is assigned to the routing request, and K is the routing request. Expected bandwidth value, B W is the total bandwidth value of this node;

步骤A3、判断预留带宽占用率是否属于线性域,若是,则设置实际分配带宽值等于带宽期望值,并执行步骤A4,若否,则产生失败的路由应答信息,并执行步骤A8;Step A3, determine whether the reserved bandwidth occupancy rate belongs to the linear domain, if so, set the actual allocated bandwidth value equal to the expected bandwidth value, and execute step A4, if not, generate a failed routing response message, and execute step A8;

步骤A4、根据实际分配带宽值分配预留带宽,并判断自身是否为目的节点,若是,则产生成功的路由应答信息,并执行步骤A8,若否,则执行步骤A5;Step A4. Allocate the reserved bandwidth according to the actual allocated bandwidth value, and judge whether it is the destination node, if so, generate a successful routing response message, and execute step A8, if not, execute step A5;

步骤A5、向自身的下级节点转发该路由请求,该路由请求中至少包含带宽期望值;Step A5, forwarding the routing request to its own subordinate node, where the routing request includes at least an expected bandwidth value;

步骤A6、接收自身下级节点发送回的路由应答信息,判断该路由应答信息是否为成功的路由应答信息,若是,则执行步骤A8,否则执行步骤A7;Step A6, receiving the routing response information sent back by its own subordinate node, judging whether the routing response information is a successful routing response information, if so, performing step A8, otherwise performing step A7;

步骤A7、该下级节点删除自身为该路由请求分配的预留带宽;Step A7, the subordinate node deletes the reserved bandwidth allocated by itself for the routing request;

步骤A8、该下级节点向其上级节点发送该路由应答信息。Step A8, the lower-level node sends the routing response information to its upper-level node.

在本实施例步骤A3中,根据预留带宽占用率判断是否属于线性域,而后计算实际分配带宽值,对该路由请求的业务流进行准入控制,若是,则此节点即能够传输该业务流。进一步的,还可根据路由请求中包含的业务流带宽最小值计算实际分配带宽值,进行准入控制,具体实现方式是通过下述步骤实现:In step A3 of this embodiment, judge whether it belongs to the linear domain according to the reserved bandwidth occupancy rate, then calculate the actual allocated bandwidth value, and perform admission control on the service flow of the routing request, if so, then this node can transmit the service flow . Further, the actual allocated bandwidth value can also be calculated according to the minimum value of the service flow bandwidth included in the routing request, and admission control can be performed. The specific implementation method is realized through the following steps:

步骤A30、判断预留带宽占用率是否属于线性域,即判断预留带宽占用率Uij′是否小于带宽占用率第一限定值Δ1,若是,则设置实际分配带宽值等于带宽期望值,即按照公式(2)计算实际带宽分配值,并执行步骤A4,若否,则执行步骤A31;Step A30, judging whether the reserved bandwidth occupancy rate belongs to the linear domain, that is, judging whether the reserved bandwidth occupancy rate U ij ′ is smaller than the first limit value Δ 1 of the bandwidth occupancy rate, and if so, setting the actual allocated bandwidth value to be equal to the expected bandwidth value, that is, according to Formula (2) calculates the actual bandwidth allocation value, and executes step A4, if not, then executes step A31;

B(Uij)=K    0≤Uij′<Δ1(2)B(U ij )=K 0≤U ij ′<Δ 1 (2)

其中,B(Uij)为实际分配带宽值,是带宽占用率Uij的函数,Δ1为带宽占用率第一限定值,是预设常数,其值的确定与节点的容量有关;Wherein, B(U ij ) is the actual allocated bandwidth value, which is a function of the bandwidth occupancy rate U ij , and Δ 1 is the first limit value of the bandwidth occupancy rate, which is a preset constant, and the determination of its value is related to the capacity of the node;

步骤A31、判断预留带宽占用率是否属于指数域,即判断预留带宽占用率Uij′,是否小于带宽占用率第二限定值Δ2,若是,则根据预留带宽占用率计算实际带宽分配值,即按照公式(3)计算实际分配带宽值,并执行步骤A32,若否,可以设置实际分配带宽值等于“0”,即无法分配带宽,产生失败的路由应答信息,并执行步骤A8:Step A31, judging whether the reserved bandwidth occupancy rate belongs to the exponential domain, that is, judging whether the reserved bandwidth occupancy rate U ij ′ is smaller than the second limit value Δ 2 of the bandwidth occupancy rate, and if so, calculate the actual bandwidth allocation according to the reserved bandwidth occupancy rate Value, that is, calculate the actual allocated bandwidth value according to formula (3), and perform step A32, if not, you can set the actual allocated bandwidth value to be equal to "0", that is, the bandwidth cannot be allocated, and a failed routing response message is generated, and step A8 is performed:

B ( U ij ) = K 1 - U ij ′ 1 - Δ 1 Δ1≤Uij′<Δ2    (3) B ( u ij ) = K 1 - u ij ′ 1 - Δ 1 Δ1≤U ij ′<Δ 2 (3)

其中,Δ2为带宽占用率第二限定值,是预设常数,其值的确定与节点的容量有关;Wherein, Δ 2 is the second limit value of the bandwidth occupancy rate, which is a preset constant, and the determination of its value is related to the capacity of the node;

步骤A32、判断实际带宽分配值是否大于或等于带宽最小值,该带宽最小值是由路由请求中采集而得,若是,则执行步骤A4,否则,可以设置实际分配带宽值等于“0”,即无法分配带宽,产生失败的路由应答信息,并执行步骤A8。Step A32, determine whether the actual bandwidth allocation value is greater than or equal to the minimum bandwidth value, the minimum bandwidth value is collected from the routing request, if so, then perform step A4, otherwise, the actual allocated bandwidth value can be set equal to "0", that is If the bandwidth cannot be allocated, a routing reply message of failure is generated, and step A8 is executed.

当进一步判断实际带宽分配值是否满足带宽最小值的要求时,在发送或转发路由请求时,应进一步在路由请求中包括带宽最小值,考虑带宽最小值,使所搜索到的可行路径不仅是保持传输通畅的最优传输路径,而且也能够搜索到其他可行的传输路径,这样能够提高网络资源的利用率。When further judging whether the actual bandwidth allocation value meets the requirements of the minimum bandwidth, when sending or forwarding the routing request, the minimum bandwidth should be further included in the routing request, and the minimum bandwidth should be considered, so that the searched feasible path is not only kept The optimal transmission path with smooth transmission can also be searched for other feasible transmission paths, which can improve the utilization rate of network resources.

上述技术方案的一个实例为:根据网络传输能力的具体情况,设置Δ1=0.3,Δ2=0.66,某一路由请求的带宽期望值为3Mbps,最小带宽值为2Mbps,该节点的总带宽值为10Mbps,且现在的带宽占用率为10%,则根据公式(1)可计算得预留带宽占用率 U ij &prime; = U ij + K B W = 0.1 + 3 / 10 = 0.43 , 因为0.3<0.43<0.66,故预留带宽占用率属于指数域,实际分配带宽值应按照公式(3)计算得 B ( U ij ) = K 1 - U ij &prime; 1 - &Delta; 1 = 3 &times; ( 1 - 0.43 ) / ( 1 - 0.3 ) = 2.44 Mbps , 又2.44>2,满足最小带宽值要求,可以为其分配预留带宽。An example of the above-mentioned technical solution is: according to the specific situation of network transmission capacity, set Δ 1 =0.3, Δ 2 =0.66, the bandwidth expectation value of a certain routing request is 3Mbps, the minimum bandwidth value is 2Mbps, and the total bandwidth value of this node is 10Mbps, and the current bandwidth occupancy rate is 10%, then the reserved bandwidth occupancy rate can be calculated according to formula (1) u ij &prime; = u ij + K B W = 0.1 + 3 / 10 = 0.43 , Because 0.3<0.43<0.66, the reserved bandwidth occupancy rate belongs to the exponential domain, and the actual allocated bandwidth value should be calculated according to formula (3) B ( u ij ) = K 1 - u ij &prime; 1 - &Delta; 1 = 3 &times; ( 1 - 0.43 ) / ( 1 - 0.3 ) = 2.44 Mbps , Also, if 2.44>2, the minimum bandwidth requirement is met, and the reserved bandwidth can be allocated to it.

在上述计算实际分配带宽值的技术方案中,节点的带宽占用率已经通过预设的带宽占用率第一和第二限定值Δ1、Δ2被划分成三个区域,分别与传输费用函数曲线中的三个区域相对应,反映出节点所述的链路拥塞状态,带宽占用率第一和第二限定值Δ1、Δ2是根据节点的具体情况预先设定的,其值的确定与节点的容量有关,以满足不同的网络传输需求。传输费用函数的曲线图如图4,传输费用函数公式如下式(4)所示:In the above-mentioned technical solution for calculating the actual allocated bandwidth value, the bandwidth occupancy rate of the node has been divided into three areas by the preset first and second limit values Δ 1 and Δ 2 of the bandwidth occupancy rate, and respectively correspond to the transmission cost function curve Corresponding to the three areas in , it reflects the link congestion status described by the node. The first and second limit values Δ 1 and Δ 2 of the bandwidth occupancy rate are preset according to the specific conditions of the node, and the determination of the value is related to The capacity of the node is related to meet different network transmission requirements. The curve diagram of the transmission cost function is shown in Figure 4, and the transmission cost function formula is shown in the following formula (4):

Figure A20071012025600121
Figure A20071012025600121

其中,C(Uij)为传输费用,C(Δ1)为根据网络的具体传输情况设置的常数值,N/A可设为0,因为Uij的“其它”取值范围可不予考虑。Among them, C(U ij ) is the transmission fee, C(Δ 1 ) is a constant value set according to the specific transmission conditions of the network, and N/A can be set to 0, because the "other" value range of U ij can be ignored.

由图4可知,中间节点,接收路由请求时作为下级节点,其链路传输费用函数曲线分为三个区域:线性域、指数域和非可用域。具体来讲,在线性域内,即0≤Uij≤Δ1的线性域范围内,传输费用C(Uij),随着业务流的带宽占用率Uij线性增长;在Δ1≤Uij≤Δ2的指数域范围内,传输费用C(Uij)随着业务流的带宽占用率Uij呈指数形态增长;在Δ2≤Uij≤1的非可用域范围内,由于此部分带宽主要分配给重路由的业务流,故源节点,即上级节点的业务流无法直接申请这部分的带宽,故无需考虑此域的传输费用C(Uij)。It can be seen from Fig. 4 that the intermediate node acts as a subordinate node when receiving a routing request, and its link transmission cost function curve is divided into three regions: linear domain, exponential domain and unavailable domain. Specifically, in the linear domain, that is, within the linear domain of 0≤U ij ≤Δ 1 , the transmission cost C(U ij ) increases linearly with the bandwidth occupancy rate U ij of the service flow; when Δ 1 ≤U ij ≤ In the exponent range of Δ 2 , the transmission cost C(U ij ) increases exponentially with the bandwidth occupancy rate U ij of the service flow; in the unavailable range of Δ 2 ≤ U ij ≤ 1, since this part of It is assigned to the rerouting business flow, so the source node, that is, the business flow of the superior node cannot directly apply for this part of the bandwidth, so there is no need to consider the transmission cost C(U ij ) of this domain.

在本实施例中,预留带宽占用率不可能小于零,所以上述预留带宽占用率的取值范围对应分为三个区域,在三段取值范围内计算实际分配带宽值的公式可以归纳为公式(5):In this embodiment, the reserved bandwidth occupancy rate cannot be less than zero, so the value range of the above-mentioned reserved bandwidth occupancy rate is correspondingly divided into three areas, and the formula for calculating the actual allocated bandwidth value within the three value ranges can be summarized For formula (5):

BB (( Uu ijij )) == KK 00 &le;&le; Uu ijij &prime;&prime; << &Delta;&Delta; 11 KK 11 -- Uu ijij &prime;&prime; 11 -- &Delta;&Delta; 11 &Delta;&Delta; 11 &le;&le; Uu ijij &prime;&prime; << &Delta;&Delta; 22 00 &Delta;&Delta; 22 << Uu ijij &prime;&prime; -- -- -- (( 55 ))

如图2所示为本发明路由方法具体实施例的路由请求过程示意图,在上述实施例的具体执行过程中,源节点S向中间节点A发送路由请求,进而中间节点A再将路由请求依次发送给中间节点B和C,最后发送至目的节点D,在上述过程中,可以将发送路由请求的节点统称为上级节点,而将接收路由请求的节点统称为下级节点,则源节点S为上级节点,目的节点D为下级节点,而中间节点A、B和C因转发路由请求,所以既是上级节点,又是下级节点,在不同阶段执行不同的操作。As shown in Figure 2, it is a schematic diagram of the routing request process of the specific embodiment of the routing method of the present invention. In the specific execution process of the above-mentioned embodiment, the source node S sends the routing request to the intermediate node A, and then the intermediate node A sends the routing request in turn. To the intermediate nodes B and C, and finally sent to the destination node D, in the above process, the nodes that send the routing request can be collectively referred to as the superior node, and the nodes that receive the routing request are collectively referred to as the subordinate node, then the source node S is the superior node , the destination node D is a lower-level node, and the intermediate nodes A, B, and C are both upper-level nodes and lower-level nodes because they forward routing requests, and perform different operations at different stages.

在本实施例具体实施过程,当一次业务发起时,源节点S首先根据自身的业务流传输信息计算出带宽期望值和带宽最小值,带宽期望值对应于可以顺畅传输网络视频流或数据流的带宽需求,而带宽最小值指可以满足业务硬性服务质量下的最低带宽需要,而后向中间节点A,即一个下级节点发送路由请求,包括该带宽期望值和带宽最小值。则在步骤A1中,下级节点接收上级节点的路由请求,同时接收带宽期望值和带宽最小值。In the specific implementation process of this embodiment, when a service is initiated, the source node S first calculates the bandwidth expectation value and the bandwidth minimum value according to its own service flow transmission information, and the bandwidth expectation value corresponds to the bandwidth requirement that can smoothly transmit network video streams or data streams , and the minimum bandwidth value refers to the minimum bandwidth requirement under the hard quality of service of the business, and then sends a routing request to the intermediate node A, that is, a lower-level node, including the expected bandwidth value and the minimum bandwidth value. Then in step A1, the lower-level node receives the routing request from the upper-level node, and receives the expected bandwidth value and the minimum bandwidth value at the same time.

在本实施例的技术方案中,上述计算实际分配带宽函数的曲线图如图3所示,横轴为节点的带宽占用率,被Δ1、Δ2划分成三段,纵轴为实际分配带宽值,对应带宽占用率也划分为三段区域,其中的阴影区1为节点为此次路由请求预留带宽后预留带宽占用率和现有的带宽占用率之差,也就是此次路由请求的路由需求,将该段投影到实际分配带宽值的曲线上,形成阴影区2,为节点为此次路由请求分配的准入带宽。Δ1、Δ2值将带宽占用率分成了三个取值范围,其中Δ1、Δ2的数值可以根据节点具体情况的变化,来进一步设定,以满足不同的网络传输需求。In the technical solution of this embodiment, the graph of the above calculation of the actual allocated bandwidth function is shown in Figure 3, the horizontal axis is the bandwidth occupancy rate of the node, which is divided into three sections by Δ1 and Δ2 , and the vertical axis is the actual allocated bandwidth value, and the corresponding bandwidth occupancy rate is also divided into three areas. The shaded area 1 is the difference between the reserved bandwidth occupancy rate and the existing bandwidth occupancy rate after the node reserves bandwidth for this routing request, that is, this routing request The routing requirements of , project this segment onto the curve of the actual allocated bandwidth value, forming a shaded area 2, which is the admission bandwidth allocated by the node for this routing request. The values of Δ 1 and Δ 2 divide the bandwidth occupancy rate into three value ranges, and the values of Δ 1 and Δ 2 can be further set according to the specific situation of the node to meet different network transmission requirements.

在Δ2≤Uij≤1及其它的非可用域范围内不分配带宽的优势在于由于无线网络环境的特殊性,节点的移动等因素常导致链路断开的发生,从而产生重路由的业务流。重路由的业务流对正在进行的正常传输的业务流会产生较大的干扰,因此为重路由的业务流分配相对固定的带宽就很有必要,因此在Δ2≤Uij≤1等的非可用域范围内,带宽预留给了重路由的业务流。The advantage of not allocating bandwidth in Δ 2 ≤ U ij ≤ 1 and other unavailable domains is that due to the particularity of the wireless network environment, factors such as node movement often lead to link disconnection, resulting in rerouting services flow. The rerouting service flow will cause great interference to the ongoing normal transmission service flow, so it is necessary to allocate a relatively fixed bandwidth for the rerouting service flow, so when Δ 2 ≤ U ij ≤ 1 Within the availability domain, bandwidth is reserved for rerouting service flows.

准入控制完成之后,在步骤A4中,首先根据实际分配带宽值预留带宽,该下级节点再判断自身是否为本次路由请求的目的节点,若是,且能够分配足够的带宽,则向上级节点回复成功的路由应答信息,若该下级节点不是目的节点,则继续将包含带宽期望值和带宽最小值的路由请求向该下级节点的下级节点转发。转发路由请求后,该节点等待其下级节点回复的路由应答信息,若成功,则将路由应答成功信息向其上级节点转发,等待接收业务流,否则,若接收到失败的路由应答信息,则删除为该业务流预留的带宽,并将失败的路由应答信息向其上级节点转发。After the admission control is completed, in step A4, firstly, the bandwidth is reserved according to the actual allocated bandwidth value, and then the lower-level node judges whether it is the destination node of this routing request. Replying a successful routing reply message, if the subordinate node is not the destination node, continue to forward the routing request including the expected bandwidth value and the minimum bandwidth value to the subordinate node of the subordinate node. After forwarding the routing request, the node waits for the routing response information replied by its subordinate nodes. If it succeeds, it forwards the successful routing response information to its upper-level node and waits to receive the service flow. Otherwise, if it receives a failed routing response information, it deletes The bandwidth reserved for this service flow, and forwards the failed routing response information to its upper-level node.

在图2所示的路由请求过程示意图中,每个中间节点和目的节点均在接收路由请求时作为下级节点执行本发明路由方法实施例一的流程,图2所示为一次路由请求成功的示意图。源节点S欲传输指定业务量的数据流至目的节点D。其中A、B、C为中间节点,负责路由传输业务流。源节点首先依据业务量的大小求解带宽请求的期望值和最小值,并将这两个数值写入路由请求3的包头域。节点A接收到路由请求3后,作为下级节点执行本实施例的流程,依据图3所示的实际带宽分配函数计算实际分配带宽值,至少满足业务流带宽最小值的要求时,就分配带宽。而后中间节点B和C依次接收到路由请求3,执行本发明路由方法上述实施例的技术方案。中间节点A、B和C在接收到路由请求3时,均能至少满足带宽最小值的要求,因此将路由请求3逐级发送至目的节点D,目的节点D再返回路由应答成功信息4,经中间节点C、B和A逐级返回至源节点S,路径S-A-B-C-D为可行的传输路径,能够供业务流传输。源节点S接收到成功的请求应答信息4后,开始按分配的带宽值传输业务信息流。In the schematic diagram of the routing request process shown in Figure 2, each intermediate node and destination node executes the process of the routing method embodiment 1 of the present invention as a subordinate node when receiving the routing request, and Figure 2 shows a schematic diagram of a successful routing request . The source node S intends to transmit a data stream of a specified traffic volume to the destination node D. Among them, A, B, and C are intermediate nodes, responsible for routing and transmitting service flows. The source node first calculates the expected value and the minimum value of the bandwidth request according to the size of the traffic, and writes these two values into the packet header field of the routing request 3 . After node A receives the routing request 3, it executes the process of this embodiment as a subordinate node, calculates the actual allocated bandwidth value according to the actual bandwidth allocation function shown in FIG. Then the intermediate nodes B and C receive the routing request 3 sequentially, and execute the technical solutions of the above-mentioned embodiments of the routing method of the present invention. When the intermediate nodes A, B, and C receive the routing request 3, they can at least meet the requirement of the minimum bandwidth, so they send the routing request 3 to the destination node D step by step, and the destination node D returns the routing response success message 4. The intermediate nodes C, B, and A return to the source node S step by step, and the path S-A-B-C-D is a feasible transmission path, which can be used for service flow transmission. After receiving the successful request response message 4, the source node S starts to transmit the service information flow according to the allocated bandwidth value.

图5所示为本发明路由方法具体实施例一的另一个路由请求过程示意图,此为一个路由请求失败的示意图。中间节点C在接收到转发的路由请求5时,不能满足带宽最小值的要求,因此返回路由应答失败信息6,中间节点逐级将路由应答失败信息6返回给源节点S,并且相应删除中间节点B和A自身为业务流已经预留的带宽预约信息并释放带宽,路径S-A-B-C-D形成一个路由请求失败的链路。另外一种失败的链路可能在目的节点时出现无法分配带宽的情况,形成失败的链路路径。FIG. 5 is a schematic diagram of another routing request process in Embodiment 1 of the routing method of the present invention, which is a schematic diagram of a routing request failure. When the intermediate node C receives the forwarded routing request 5, it cannot meet the minimum bandwidth requirement, so it returns the routing response failure information 6, and the intermediate node returns the routing response failure information 6 to the source node S step by step, and deletes the intermediate node accordingly B and A themselves reserve information for the bandwidth that has been reserved for the service flow and release the bandwidth, and the path S-A-B-C-D forms a link where the routing request fails. Another failed link may fail to allocate bandwidth at the destination node, forming a failed link path.

本实施例技术方案的优势在于:通过对业务流预占用带宽的动态分配和回收,可以实时的根据节点的带宽占用率为业务流分配带宽,均衡网络的业务负载,避免一般路由协议中网络资源瓶颈的问题,将路由传输的任务分散到了整个网络范围中,从而降低了部分重负载节点业务传输的排队等控制开销,同时具有提高网络资源利用率的优点。另外,中间节点同时起着路由传输和网络管理的功能,中间节点接入或传输完毕业务流后主动更新自身信息,负载信息有着较高的效度和信度。中间节点作为下级节点为业务流分配带宽时,不是单纯的二值逻辑表达,而是根据带宽占用率依据实际分配带宽函数进行计算,为业务流合理的分配带宽。在路由请求途径中的源节点和中间节点依次计算是否可满足带宽最小值的要求,并迭代搜索下一跳节点,直到搜索到所有能够到达目的节点的有效路径。则源节点的业务流不仅能够找到一条最优的传输路径,还可以获取所有能够满足业务传输最低要求的可行传输路径,在传输业务流时,从满足条件的可行传输路径中任意选取一条,可行传输路径集的其它路径作为备用路径,这样能够充分的利用网络资源。The advantage of the technical solution of this embodiment is: through the dynamic allocation and recovery of the pre-occupied bandwidth of the service flow, the bandwidth can be allocated to the service flow according to the bandwidth occupancy rate of the node in real time, the service load of the network is balanced, and the network resources in the general routing protocol are avoided. The bottleneck problem disperses the task of routing transmission to the entire network, thereby reducing the queuing and other control overheads of service transmission of some heavy-load nodes, and at the same time has the advantage of improving the utilization of network resources. In addition, the intermediate node plays the functions of routing transmission and network management at the same time. After the intermediate node accesses or transmits the service flow, it actively updates its own information, and the load information has high validity and reliability. When an intermediate node acts as a subordinate node to allocate bandwidth for a service flow, it is not a simple binary logic expression, but is calculated according to the actual bandwidth allocation function based on the bandwidth occupancy rate, and reasonably allocates bandwidth for the service flow. The source node and the intermediate node in the routing request path calculate whether they can meet the requirement of the minimum bandwidth, and iteratively search the next hop node until all effective paths to the destination node are found. Then the business flow of the source node can not only find an optimal transmission path, but also obtain all feasible transmission paths that can meet the minimum requirements of business transmission. Other paths in the transmission path set are used as backup paths, so that network resources can be fully utilized.

实施例二Embodiment two

本发明路由方法具体实施例二与上述实施例一的区别在于,在下级节点发送了路由请求之后,即执行了步骤A5之后增加了下述步骤:The difference between the second embodiment of the routing method of the present invention and the first embodiment above is that after the lower-level node sends the routing request, that is, after step A5 is executed, the following steps are added:

步骤B1、累计记录时间;Step B1, cumulative recording time;

步骤B2、判断是否收到路由应答信息,若是,则将累计时间清零,否则执行步骤B3;Step B2, judging whether the routing response information is received, if so, clear the accumulated time, otherwise execute step B3;

步骤B3、判断累计时间是否大于门限值,若是,则执行步骤B4;Step B3, judging whether the cumulative time is greater than the threshold value, if so, execute step B4;

步骤B4、节点默认下一跳节点不可达,则执行步骤A7。In step B4, the node defaults that the next hop node is unreachable, and then executes step A7.

本实施例的具体执行过程是:在网络的信息传输过程中,在路由请求过程中设置时钟,在指定的时间范围内,即累计时间达到一定门限值而未能得到路由应答信息,则采用步骤A7的方法逆向删除传输路径上相应的带宽信息并释放链路。进一步的,可以在业务流传输过程中也设定一门限值,当传输业务流之后,累计时间已达到门限值,而仍然未能收到关于信息传输的传输应答信息时,即出现业务流传输超时等情况,中间节点均不采用主动询问的方式,而是在规定时限到达的时刻将未能正常传输成功的业务流视为传输失败。采用此方法非主动干预形式的带宽管理方法,对传输异常的业务流和失效断链的节点进行带宽的动态释放,以便可重新分配给其他路由请求,可以减少附加的网络控制信息,防止进一步增加网络的负载。The specific execution process of this embodiment is: in the information transmission process of the network, the clock is set in the routing request process, within the specified time range, that is, the cumulative time reaches a certain threshold and the routing response information cannot be obtained, then use The method in step A7 reversely deletes the corresponding bandwidth information on the transmission path and releases the link. Further, a threshold value can also be set during the transmission of the service flow. When the cumulative time has reached the threshold value after the service flow is transmitted, but the transmission response information about the information transmission is still not received, the service occurs. In the case of stream transmission timeout, etc., the intermediate nodes do not use the method of active inquiry, but when the specified time limit is reached, the business stream that cannot be successfully transmitted normally is regarded as a transmission failure. Using this method of bandwidth management in the form of non-active intervention, the bandwidth of abnormally transmitted business flows and nodes with broken links can be dynamically released, so that they can be redistributed to other routing requests, which can reduce additional network control information and prevent further increase. network load.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (10)

1.一种路由方法,包括以下步骤:1. A routing method, comprising the following steps: 步骤1、接收上级节点发送的路由请求,采集该路由请求中包含的带宽期望值;Step 1. Receive the routing request sent by the superior node, and collect the bandwidth expectation contained in the routing request; 步骤2、检测自身的带宽占用率,根据所述带宽占用率和带宽期望值计算预留带宽占用率;Step 2, detecting the bandwidth occupancy rate of the self, and calculating the reserved bandwidth occupancy rate according to the bandwidth occupancy rate and the bandwidth expectation value; 步骤3、判断预留带宽占用率是否属于线性域,若是,则设置实际分配带宽值等于带宽期望值,并执行步骤4,若否,则产生失败的路由应答信息,并执行步骤8;Step 3. Determine whether the reserved bandwidth occupancy rate belongs to the linear domain. If so, set the actual allocated bandwidth value to be equal to the expected bandwidth value, and perform step 4. If not, generate a failed routing response message, and perform step 8; 步骤4、根据实际分配带宽值分配预留带宽,并判断自身是否为目的节点,若是,则产生成功的路由应答信息,并执行步骤8,若否,则执行步骤5;Step 4. Allocate the reserved bandwidth according to the actual allocated bandwidth value, and judge whether it is the destination node, if so, generate a successful routing response message, and perform step 8, if not, then perform step 5; 步骤5、向自身的下级节点转发该路由请求;Step 5, forwarding the routing request to its own subordinate node; 步骤6、接收路由应答信息,判断该路由应答信息是否为成功的路由应答信息,若是,则执行步骤8,否则执行步骤7;Step 6, receiving the routing response information, judging whether the routing response information is a successful routing response information, if so, then performing step 8, otherwise performing step 7; 步骤7、删除分配的预留带宽;Step 7, delete the allocated reserved bandwidth; 步骤8、向上级节点发送该路由应答信息。Step 8: Send the routing response information to the superior node. 2.根据权利要求1所述的路由方法,其特征在于:所述步骤2具体为根据下述公式计算预留带宽占用率:2. The routing method according to claim 1, characterized in that: said step 2 is specifically to calculate the reserved bandwidth occupancy rate according to the following formula: Uu ijij &prime;&prime; == Uu ijij ++ KK BB WW 其中,Uij′是为该路由请求分配了期望带宽值之后的预留带宽占用率,Uij为未给路由请求分配带宽期望值之前的带宽占用率,K为路由请求的期望带宽值,BW为该节点的总带宽值。Among them, U ij ′ is the reserved bandwidth occupancy rate after the expected bandwidth value is allocated for the routing request, U ij is the bandwidth occupancy rate before the expected bandwidth value is allocated to the routing request, K is the expected bandwidth value of the routing request, B W is the total bandwidth value of this node. 3.根据权利要求1所述的路由方法,其特征在于,所述步骤3具体为:3. The routing method according to claim 1, wherein the step 3 is specifically: 步骤30、判断预留带宽占用率是否属于线性域,若是,设置实际分配带宽值等于带宽期望值,并执行步骤4,若否,则执行步骤31;Step 30, determine whether the reserved bandwidth occupancy rate belongs to the linear domain, if so, set the actual allocated bandwidth value equal to the expected bandwidth value, and perform step 4, if not, then perform step 31; 步骤31、判断预留带宽占用率是否属于指数域,若是,则根据预留带宽占用率计算实际带宽分配值,并执行步骤32,否则,产生失败的路由应答信息,并执行步骤8;Step 31, determine whether the reserved bandwidth occupancy rate belongs to the index domain, if so, calculate the actual bandwidth allocation value according to the reserved bandwidth occupancy rate, and perform step 32, otherwise, generate a failed routing response message, and perform step 8; 步骤32、判断实际带宽分配值是否大于或等于所述路由请求中包含的带宽最小值,若是,则执行步骤4,否则,产生失败的路由应答信息,并执行步骤8。Step 32. Determine whether the actual bandwidth allocation value is greater than or equal to the minimum bandwidth value included in the routing request. If yes, execute step 4; otherwise, generate a failed routing response message and execute step 8. 4.根据权利要求1所述的路由方法,其特征在于,判断预留带宽占用率是否属于线性域的步骤具体为:判断预留带宽占用率是否小于带宽占用率第一限定值,若是,则预留带宽占用率属于线性域。4. The routing method according to claim 1, wherein the step of judging whether the reserved bandwidth occupancy rate belongs to the linear domain is specifically: judging whether the reserved bandwidth occupancy rate is less than the first limit value of the bandwidth occupancy rate, if so, then The reserved bandwidth occupancy rate belongs to the linear domain. 5.根据权利要求3所述的路由方法,其特征在于,判断预留带宽占用率是否属于指数域的步骤具体为:判断预留带宽占用率是否小于带宽占用率第二限定值,若是,则预留带宽占用率属于指数域。5. The routing method according to claim 3, wherein the step of judging whether the reserved bandwidth occupancy rate belongs to the index domain is specifically: judging whether the reserved bandwidth occupancy rate is less than the second limit value of the bandwidth occupancy rate, if so, then The reserved bandwidth occupancy rate belongs to the exponential domain. 6.根据权利要求3所述的路由方法,其特征在于,所述步骤31中计算实际分配带宽值的步骤具体为:根据如下公式计算实际分配带宽值:6. The routing method according to claim 3, wherein the step of calculating the actual allocated bandwidth value in the step 31 is specifically: calculate the actual allocated bandwidth value according to the following formula: BB (( Uu ijij )) == KK 11 -- Uu ijij &prime;&prime; 11 -- &Delta;&Delta; 11 其中,B(Uij)为实际分配带宽值,K为路由请求的期望带宽值,Uij′是为该路由请求分配了期望带宽值之后的预留带宽占用率,Δ1为带宽占用率第一限定值,是预设常数,其值的确定与节点的容量有关。Among them, B(U ij ) is the actual allocated bandwidth value, K is the expected bandwidth value of the routing request, U ij ' is the reserved bandwidth occupancy rate after the routing request is assigned the expected bandwidth value, and Δ 1 is the bandwidth occupancy rate No. A limit value is a preset constant, and its value is determined related to the capacity of the node. 7.根据权利要求1~6所述的任一路由方法,其特征在于,还包括:源节点根据业务流传输信息计算带宽期望值和带宽最小值,将所述带宽期望值和带宽最小值作为带宽需求值设置在路由请求的包头域中,向下级节点发送路由请求。7. The routing method according to any one of claims 1-6, further comprising: the source node calculates the expected bandwidth value and the minimum bandwidth value according to the service flow transmission information, and uses the expected bandwidth value and the minimum bandwidth value as the bandwidth requirement The value is set in the packet header field of the routing request, and the routing request is sent to the subordinate node. 8.根据权利要求1~6所述的任一路由方法,其特征在于,还包括:设置带宽占用率第一限定值和第二限定值。8. The routing method according to any one of claims 1-6, further comprising: setting a first limit value and a second limit value of the bandwidth occupancy rate. 9.根据权利要求1~6所述的任一路由方法,其特征在于,还包括:在发送路由请求之后,累计记录时间,判断是否收到路由应答信息,若是,则将累计时间清零,否则判断累计时间是否达到门限值,若是,则删除预留的带宽,并向上级节点发送失败的路由应答信息。9. The arbitrary routing method according to claims 1 to 6, further comprising: after sending the routing request, accumulative recording time, judging whether the routing response information is received, if so, clearing the accumulated time, Otherwise, it is judged whether the accumulated time reaches the threshold value, and if so, the reserved bandwidth is deleted, and a route reply message of failure is sent to the superior node. 10.根据权利要求1~6所述的任一路由方法,其特征在于,还包括:发送业务流,累计记录时间,判断是否收到传输应答信息,若是,则将累计时间清零,否则判断累计时间是否达到门限值,若是,则删除已占用的带宽和业务流,并向上级节点发送失败的业务流传输信息。10. The routing method according to any one of claims 1 to 6, further comprising: sending the service flow, accumulating the recording time, and judging whether the transmission response information is received, if so, clearing the accumulated time to zero, otherwise judging Whether the accumulated time reaches the threshold value, if so, delete the occupied bandwidth and service flow, and send the failed service flow transmission information to the upper node.
CNB2007101202566A 2007-08-14 2007-08-14 Routing method Expired - Fee Related CN100512231C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007101202566A CN100512231C (en) 2007-08-14 2007-08-14 Routing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007101202566A CN100512231C (en) 2007-08-14 2007-08-14 Routing method

Publications (2)

Publication Number Publication Date
CN101119307A true CN101119307A (en) 2008-02-06
CN100512231C CN100512231C (en) 2009-07-08

Family

ID=39055247

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007101202566A Expired - Fee Related CN100512231C (en) 2007-08-14 2007-08-14 Routing method

Country Status (1)

Country Link
CN (1) CN100512231C (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105517050A (en) * 2015-12-31 2016-04-20 江南大学 Wireless routing algorithm based on congestion control
CN108777667A (en) * 2018-05-31 2018-11-09 华为技术有限公司 The bandwidth method and device of transmission channel are adjusted in flexible Ethernet
CN110769059A (en) * 2019-10-28 2020-02-07 中国矿业大学 A collaborative service deployment and business allocation method for regional edge computing IoT
CN113067659A (en) * 2020-01-02 2021-07-02 中国移动通信有限公司研究院 An information processing method, apparatus, device, and computer-readable storage medium
CN114141080A (en) * 2021-11-16 2022-03-04 中广核(深圳)运营技术与辐射监测有限公司 Fire-fighting simulation drilling method and system
CN115277847A (en) * 2022-07-27 2022-11-01 阿里巴巴(中国)有限公司 Service processing method, apparatus, apparatus, platform, medium and program product
CN115883457A (en) * 2021-09-28 2023-03-31 华为技术有限公司 Communication method and routing equipment

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105517050B (en) * 2015-12-31 2018-11-30 江南大学 Wireless route method based on congestion control
CN105517050A (en) * 2015-12-31 2016-04-20 江南大学 Wireless routing algorithm based on congestion control
CN108777667B (en) * 2018-05-31 2021-12-21 华为技术有限公司 Method and device for adjusting bandwidth of transmission channel in flexible Ethernet
CN108777667A (en) * 2018-05-31 2018-11-09 华为技术有限公司 The bandwidth method and device of transmission channel are adjusted in flexible Ethernet
US11349719B2 (en) 2018-05-31 2022-05-31 Huawei Technologies Co., Ltd. Method and apparatus for adjusting bandwidth of transmission channel in flexible ethernet
CN110769059A (en) * 2019-10-28 2020-02-07 中国矿业大学 A collaborative service deployment and business allocation method for regional edge computing IoT
CN110769059B (en) * 2019-10-28 2021-08-17 中国矿业大学 A collaborative service deployment and business allocation method for regional edge computing IoT
CN113067659A (en) * 2020-01-02 2021-07-02 中国移动通信有限公司研究院 An information processing method, apparatus, device, and computer-readable storage medium
CN113067659B (en) * 2020-01-02 2022-08-23 中国移动通信有限公司研究院 Information processing method, device, equipment and computer readable storage medium
CN115883457A (en) * 2021-09-28 2023-03-31 华为技术有限公司 Communication method and routing equipment
CN115883457B (en) * 2021-09-28 2024-09-17 华为技术有限公司 Communication method and routing equipment
CN114141080A (en) * 2021-11-16 2022-03-04 中广核(深圳)运营技术与辐射监测有限公司 Fire-fighting simulation drilling method and system
CN115277847A (en) * 2022-07-27 2022-11-01 阿里巴巴(中国)有限公司 Service processing method, apparatus, apparatus, platform, medium and program product

Also Published As

Publication number Publication date
CN100512231C (en) 2009-07-08

Similar Documents

Publication Publication Date Title
Nelson et al. GSTAR: generalized storage-aware routing for mobilityfirst in the future mobile internet
US9100305B2 (en) Efficient admission control for low power and lossy networks
JP4025774B2 (en) Quality of service routing in mobile ad hoc networks
JP4098772B2 (en) Admission control in mobile ad hoc networks
CN100512231C (en) Routing method
US20070286097A1 (en) Network Architecture
CN109039424A (en) Network communication path determines method, apparatus and electronic equipment between Satellite
Pham et al. Increasing the network performance using multi-path routing mechanism with load balance
CN101754316B (en) QoS energy-saving routing method based on maximization network life cycle
CN102571571A (en) Multilayer effective routing method applied to delay tolerant network (DTN)
JP2005524336A (en) Policy processing of traffic in mobile ad hoc networks
JP2005524363A (en) Channel assignment in mobile ad hoc networks
CN102857975B (en) Method for establishing load balance CTP (Collection Tree Protocol) routing protocol
CN101741732B (en) Extension managing method for network node memory in capacity delay network
CN101557300B (en) Method, device and equipment for network topology reconstruction
US20160156521A1 (en) Method, node device and system for establishing label switched path
CN110351200B (en) Opportunistic network congestion control method based on forwarding task migration
Devi et al. Content based routing using information centric network for IoT
CN1996933A (en) Method for congestion control in the real time multicast service
CN114286382A (en) Capacity-breaking reconfigurable routing strategy based on prior knowledge base
Le et al. A joint relay selection and buffer management scheme for delivery rate optimization in dtns
Pung et al. Fast and efficient flooding based QoS routing algorithm
CN109039934B (en) Space DTN network congestion control method and system
Wang et al. Resource optimization protocol based on multicommunity model for intermittently connected mobile networks
Joo et al. Urgency-based packet scheduling and routing algorithms for video transmission over MANETs

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: 20090708

Termination date: 20150814

EXPY Termination of patent right or utility model