WO2011113358A1 - 用于ip网络的路由转发方法及网络设备 - Google Patents

用于ip网络的路由转发方法及网络设备 Download PDF

Info

Publication number
WO2011113358A1
WO2011113358A1 PCT/CN2011/071878 CN2011071878W WO2011113358A1 WO 2011113358 A1 WO2011113358 A1 WO 2011113358A1 CN 2011071878 W CN2011071878 W CN 2011071878W WO 2011113358 A1 WO2011113358 A1 WO 2011113358A1
Authority
WO
WIPO (PCT)
Prior art keywords
forwarding
service
service type
network device
packet
Prior art date
Application number
PCT/CN2011/071878
Other languages
English (en)
French (fr)
Inventor
张延显
于同泉
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011113358A1 publication Critical patent/WO2011113358A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/302Route determination based on requested QoS

Definitions

  • the present invention relates to the field of communications, and in particular, to a route forwarding method and a network device for an Internet Protocol (IP) network.
  • IP Internet Protocol
  • BACKGROUND OF THE INVENTION With the development of network technologies and the application of IP technologies in service bearers such as next-generation networks and Internet Television (IPTV), IP networks have evolved from a pure Internet and data service bearer network to being capable of being carried. Multi-service bearer network for data, voice, video, etc.
  • the common route forwarding technology searches the routing table according to the destination address of the packet, and obtains the forwarding outbound interface or the next hop.
  • the policy routing and forwarding technology performs classification matching and forwarding according to the quintuple (source address, destination address, source port, destination port, protocol type, and other elements) of the packet access control list (ACL).
  • the forwarding performance of the network device corresponding to the outbound interface or the next hop is not considered when the service forwarding is performed.
  • the forwarding performance requirements of the new service to the device carrying the network data product are also constantly improved. If the carrier deploys the old and new devices, if the routing forwarding method in the related technology is still used.
  • the forwarding of service packets may be forwarded to devices with lower forwarding performance requirements to devices with lower forwarding performance. Some services with lower forwarding performance requirements are forwarded to devices with better performance.
  • a primary object of the present invention is to provide a routing and forwarding method and network device for an IP network to solve at least the above problems.
  • a routing and forwarding method for an IP network including the following steps: The network device determines, according to the service type of the received service packet, a device that meets the requirement for forwarding the service packet of the service type. And the network device forwards the service message to the device.
  • the network device determines, according to the service type of the received service packet, the device that meets the requirement for forwarding the service packet of the service type, and the network device searches for the forwarding performance requirement corresponding to the service type in the performance mapping table, where the performance mapping table is saved.
  • the method further includes: the network device detecting the forwarding performance of all the forwardable devices in real time or periodically and saving or updating.
  • the device that determines, according to the service type of the received service packet, the device that meets the requirement for forwarding the service packet of the service type includes: the network device searches for the device corresponding to the service type in the route mapping table, where the route mapping table is saved.
  • the correspondence between the service type and the forwarding performance meets the requirements of the device that forwards the service packet of the service type.
  • the configuration of the Match item in the routing map includes the service field of the matching packet.
  • the Set item in the routing map includes the device corresponding to the service field of the matching packet.
  • the service field of the matching packet is used to indicate the service. business type.
  • the method further includes: the network device searches for the global routing table, and obtains the forwarding outbound interface, and the device belongs to the device corresponding to the forwarding outbound interface.
  • a network device including: a receiving module, configured to receive a service packet; and a determining module, configured to determine, according to a service type of the received service packet, a service that satisfies forwarding of the service type The device required for the message; and the forwarding module, configured to forward the service message to the device determined by the determining module.
  • the network device further includes: a configuration module configured to accept a user's configuration of a correspondence between a service type and a forwarding performance requirement, or set to accept a user's requirement that the service type and the forwarding performance meet the service packet for forwarding the service type. Configuration of the correspondence of devices.
  • the network device further includes: a detecting module, configured to detect, in real time or periodically, the forwarding performance of all forwardable devices and save or update if the configuration module accepts the configuration of the correspondence between the service type and the forwarding performance requirement by the user.
  • a detecting module configured to detect, in real time or periodically, the forwarding performance of all forwardable devices and save or update if the configuration module accepts the configuration of the correspondence between the service type and the forwarding performance requirement by the user.
  • FIG. 1 is a structural block diagram of a network device according to an embodiment of the present invention
  • FIG. 2 is a block diagram of a preferred structure of a network device according to an embodiment of the present invention
  • FIG. 3 is a preferred embodiment of a network device according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a method for routing and forwarding an IP network according to an embodiment of the present invention
  • FIG. 5 is a structural block diagram of a network device according to Embodiment 1 of the present invention
  • FIG. 6 is an embodiment of the present invention. 2 schematic diagram of the network application scenario. BEST MODE FOR CARRYING OUT THE INVENTION
  • BEST MODE FOR CARRYING OUT THE INVENTION BEST MODE FOR CARRYING OUT THE INVENTION
  • the network device includes: a receiving module 12 configured to receive a service packet; a determining module 14 connected to the receiving module 12, configured to receive the service packet according to the received service packet
  • the service type determines a device that meets the requirements for forwarding the service message of the service type
  • the forwarding module 16 is coupled to the determining module 14 and configured to forward the service message to the device determined by the determining module 14.
  • the network device is determined by the determining module 14 by using the determining module 14 to determine the forwarding outbound interface or the next hop according to the destination address or the quintuple of the packet.
  • the device that forwards the forwarding performance of the service packet meets the requirements, and the forwarding packet 16 forwards the service packet to the device determined by the determining module 14, which solves the problem that the network service quality is degraded without proper utilization of the network resource in the related technology.
  • the problem is that the network device can select the network device with different forwarding performance to forward the service according to different service types, so that the network resources and the devices with different forwarding performance can be properly utilized, so that the network service can meet the application of the emerging new service. This effectively reduces the operator's operating costs and improves operational efficiency.
  • 2 is a block diagram of a preferred structure of a network device according to an embodiment of the present invention.
  • the network device may further include: a configuration module 22 connected to the determining module 14 and configured to accept a configuration of a correspondence between a service type and a forwarding performance requirement by a user. Or, configured to accept a user's correspondence to a device whose service type and forwarding performance meet the requirements for forwarding a service packet of the service type.
  • the above-mentioned module enables the user to configure the correspondence between the service type and the forwarding performance requirement, or the correspondence between the service type and the device whose forwarding performance meets the requirements for forwarding the service packet of the service type, thereby providing a more personalized user. Service to enhance the user experience.
  • 3 is a block diagram of a preferred structure of a network device according to an embodiment of the present invention.
  • the network device may further include: a detecting module 32, configured to be configured in the configuration module 22 to accept a configuration of a correspondence between a service type and a forwarding performance requirement by a user.
  • a detecting module 32 configured to be configured in the configuration module 22 to accept a configuration of a correspondence between a service type and a forwarding performance requirement by a user.
  • the forwarding performance of all forwardable devices is detected and saved or updated in real time or periodically.
  • the forwarding performance of the forwardable device By detecting the forwarding performance of the forwardable device in real time, the current forwarding performance of the network device can be grasped in real time, so that the forwarding speed can be ensured faster.
  • the network By periodically detecting the forwarding performance of the forwardable device, the network can be detected.
  • the forwarding performance of the device is updated without causing excessive processing load on the current network device.
  • FIG. 4 is a flowchart of a method for routing and forwarding an IP network according to an embodiment of the present invention.
  • Step S402 The network device determines, according to the service type of the received service packet, that the service is forwarded. a device for requesting a type of service message; and, in step S404, the network device forwards the service message to the determined device.
  • the method provided by the embodiment of the present invention has the corresponding forwarding performance according to the service type, which is different from the method of determining the forwarding interface or the next hop according to the destination address or the quintuple of the related art.
  • the device solves the problem that the network service quality is degraded due to the rational use of the network resources in the related art, so that the network device can select the network device with different forwarding performance to forward the service according to different service types, so that the network can be reasonably utilized.
  • the determining, by the network device, the device that meets the requirements for forwarding the service packet of the service type according to the service type of the received service packet may include: the network device searching for the service type corresponding to the service type in the performance mapping table.
  • the forwarding performance requirement where the performance mapping table stores the correspondence between the service type and the forwarding performance requirement; the network device determines, according to the forwarding performance of all the forwardable devices that are saved, the device that meets the corresponding forwarding performance requirement.
  • the embodiment determines the forwarding performance requirement corresponding to the service type by searching the mapping table that stores the correspondence between the service type and the forwarding performance requirement, and further determines that the network device whose forwarding performance meets the performance requirement is used as the forwarding destination device, which is better.
  • the ground adapts to the change of the forwarding performance of the network device.
  • the method further includes: the network device detecting the forwarding performance of all the forwardable devices in real time or periodically and saving or updating.
  • the determining, by the network device, the device that meets the requirement for forwarding the service packet of the service type according to the service type of the received service packet may include: the network device searching for the service type corresponding to the routing mapping table. The device, where the route mapping table stores the correspondence between the service type and the device whose forwarding performance satisfies the requirement of forwarding the service packet of the service type.
  • the method for determining the forwarding destination device corresponding to the service type by searching the mapping table that stores the correspondence between the service type and the device whose forwarding performance meets the requirement of forwarding the service packet of the service type, and can quickly find the destination device.
  • the implementation is simpler.
  • the Match item configuration in the route mapping table includes a service field that matches the packet
  • the Set item configuration in the route map includes a device corresponding to the service field that matches the 4 ⁇ text, and matches the ⁇ ⁇ ⁇
  • the service field is used to indicate the service type of the service packet. This method is easy to implement, no need to introduce new configuration items, and the transformation cost is low.
  • the method may further include: the network device searches for the global routing table, and obtains the forwarding outbound interface, and the device belongs to the device corresponding to the forwarding outbound interface.
  • the method ensures that the determined network device can correctly reach the device of the destination interface.
  • the performance mapping table or the routing mapping table has an interface for the user to configure. Can provide users with more personalized services and enhance the user experience.
  • the embodiment 1-2 described below combines the technical solutions of the above-described plurality of preferred embodiments.
  • Embodiment 1 This embodiment details the structural components of the network device that can implement the above method and the process of forwarding the network device.
  • FIG. 1 This embodiment details the structural components of the network device that can implement the above method and the process of forwarding the network device.
  • the composition includes: a performance detection module 52, configured to detect and provide forwarding performance of the neighbor device in real time, and create a forwarding performance packet, and distinguish different performance neighbor devices in different forwarding groups.
  • the policy configuration module 54 is configured to perform a specific policy configuration of the route entry rule and the Set item forwarding entry, and may provide the user with an interface or interface for performing policy configuration.
  • the matching forwarding module 56 is configured to classify the packets according to different service types, and select a corresponding effective forwarding path according to the policy configured by the policy configuration module 54 according to the detected performance of the neighboring device forwarding performance.
  • the function of the policy configuration module 54 is to implement the policy forwarding basis, and the relationship between the different service types and the forwarding performance of the neighboring forwarding device is clearly defined.
  • the function of the performance detecting module 52 is to implement the neighbor relationship.
  • the basic requirements of device performance selection, the forwarding performance of the neighbor device that can be provided in real time or periodically, is the basis for path switching;
  • the function of the matching forwarding module 56 is to implement a specific forwarding implementation process.
  • the network device detects the forwarding performance of the neighboring device and generates a forwarding performance list of the neighboring device.
  • the user runs the configuration command or operates through the interface, and uses the policy configuration module 54 to configure the route mapping that meets the requirements, set the monthly service field matching the 4 ⁇ text, and forward the devices that want these service types to pass the forwarding performance specifications.
  • the user applies the policy routing to the interface, and the matching forwarding module 56 is configured to distinguish the packets entering the interface according to the service type of the packet, and obtain all possible forwarding interfaces by searching the global routing table, and then According to the forwarding performance of the neighboring devices that are forwarded outbound interfaces, a valid forwarding path is obtained, and packets are forwarded and forwarded.
  • FIG. 6 is a schematic diagram of a network application scenario according to Embodiment 2 of the present invention.
  • An exemplary networking structure is as follows: A CE device and a PE0 device are connected through an interface fei_l/10, and the network side corresponding to the CE device can provide Common service types such as INTERNET service, 3G VOICE, and IPTV.
  • a PE0 device has two neighbor forwarding devices, PE1 and PE2, where:
  • PE1 The forwarding performance of the PE1 device is normal. It is suitable for forwarding ordinary Internet services.
  • PE0 and PE1 are connected through the interface fei_l/30.
  • PE2 has strong forwarding performance and can meet the requirements of new service applications such as 3G VOICE.
  • PE0 and PE2 are connected through the interface fei_l/20.
  • 3G VOICE, IPTV and other services have strong timeliness requirements, and require continuity and high throughput guarantee. These services are the most critical services of operators, with high priority, and in the future. The network convergence is developing rapidly, and the forwarding performance of the router is relatively high.
  • the common INTERNET service is of low importance, and the requirements for real-time and packet loss rate of packets are not too high. Ordinary forwarding devices can basically meet these requirements. business.
  • the following describes the specific steps of forwarding in conjunction with the network device structure shown in FIG. 5 and the network scenario shown in FIG. 6: (1) First, ensure that the basic networking is correct. In the PE0 device, the fei_l/10 interface connected to the CE device, the fei_l/20 interface connected to the PE2 device 4, and the fei_l/30 connected to the PE1 device 4 The interfaces are all reachable.
  • the previously configured route map ( Route-map) is applied to the inbound interface fei_l/10 through the specific configuration command.
  • the matching forwarding module 56 distinguishes the matched packet according to the service type of the packet, and obtains all possible by searching the global routing table. Forwards the outbound interface, and then obtains a valid forwarding path based on the forwarding performance of the neighboring devices.
  • the service types such as 3G VOICE and IPTV
  • you can select the outbound interface to be forwarded to PE2 that is, you can forward it through the PE0 PE2 link and the PE2 device with stronger performance.
  • the dotted arrow with the label 1 is used.
  • the outbound interface connected to the PE 1 is selected for forwarding, that is, it can be further forwarded through the PE0-PE1 link through the PE1 device with general performance, as shown in Figure 6.
  • the dotted arrow with the number 2 is used to classify and forward packets according to service type and device performance. After the above-mentioned process, packets of different service types can be classified and selected by the PE0 device, so that the performance of the network device can be effectively utilized to meet the needs of various new service operations.
  • the method can effectively integrate the existing network equipment, retain the equipment with low forwarding performance in the existing network, and reduce the equipment purchase cost and operation cost of the operator.
  • the solution provided by the embodiment of the present invention can freely select neighboring devices with different forwarding performances, thereby more effectively avoiding network congestion.
  • the solution can select different forwarding paths according to the service type, so as to meet the application needs of different new services that are increasingly emerging in the era of full service operation. In this way, the operating cost is effectively reduced, and the requirements for future business expansion and growth are met, and the flexibility and effectiveness of the networking are greatly improved.
  • the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
  • the program code is implemented so that they can be stored in the storage device by the computing device, and in some cases, the steps shown or described can be performed in a different order than here, or they can be separately produced.
  • the individual integrated circuit modules are implemented, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

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

Abstract

本发明公开了一种用于IP网络的路由转发方法及网络设备,该方法包括以下步骤:网络设备根据接收的业务报文的业务类型,确定满足转发该业务类型的业务报文的要求的设备;以及网络设备将该业务报文转发到该设备。本发明较合理的利用了网络资源,从而提高了网络服务质量。

Description

用于 IP网络的路由转发方法及网各设备 技术领域 本发明涉及通信领域, 尤其涉及一种用于因特网协议( Internet Protocol, 简称为 IP ) 网络的路由转发方法及网络设备。 背景技术 随着网络技术的发展以及 IP技术在下一代网络、网络电视( IP Television, 简称为 IPTV ) 等业务承载领域的应用, IP网络从一个单纯的 Internet, 数据 业务承载网络逐渐演化成为能够承载数据、 语音、 视频等业务的多业务承载 网络。 在相关技术中, 普通路由转发技术是根据报文的目的地址查找路由表, 获得转发出接口或者下一跳的。 而策略路由转发技术是根据报文访问控制列 表( Access Control List, 简称为 ACL )五元组(源地址、 目的地址、 源端口、 目的端口、 协议类型等要素) 进行分类匹配转发的。 以上两类路由转发技术 在进行业务转发时,均不考虑出接口或者下一跳对应的网络设备的转发性能。 随着业务的不断增长, 新业务对承载网络数据产品的设备的转发性能要 求也在不断的提高, 在运营商部署新老设备混杂的情况下, 如果仍釆用相关 技术中的路由转发方法进行业务报文的转发, 可能会将某些对设备转发性能 要求较高的业务转发至转发性能低下的设备, 而将某些对设备转发性能要求 较低的业务转发至性能较好的设备, 没有对网络资源进行合理利用, 从而导 致整个网络的月艮务质量下降。 发明内容 本发明的主要目的在于提供一种用于 IP网络的路由转发方法及网络设 备, 以至少解决上述问题。 根据本发明的一个方面, 提供了一种用于 IP网络的路由转发方法, 包括 以下步骤: 网络设备根据接收的业务报文的业务类型, 确定满足转发该业务 类型的业务报文的要求的设备; 以及网络设备将该业务报文转发到该设备。 网络设备根据接收的业务报文的业务类型, 确定满足转发该业务类型的 业务报文的要求的设备包括: 网络设备在性能映射表中查找业务类型对应的 转发性能要求, 其中, 性能映射表保存业务类型与转发性能要求的对应关系; 以及网络设备根据保存的所有可转发的设备的转发性能, 确定满足该转发性 能要求的设备。 网络设备确定满足转发该业务类型的业务报文的要求的设备之前, 该方 法还包括: 网络设备实时或定期检测所有可转发的设备的转发性能并予以保 存或更新。 网络设备根据接收的业务报文的业务类型, 确定满足转发该业务类型的 业务报文的要求的设备包括: 网络设备在路由映射表中查找该业务类型对应 的设备, 其中, 路由映射表中保存业务类型与转发性能满足转发该业务类型 的业务报文的要求的设备的对应关系。 路由映射表中的 Match项配置包括匹配报文的服务字段, 路由映射中的 Set项配置包括与匹配报文的服务字段相对应的设备, 匹配报文的服务字段 用于指示业务 4艮文的业务类型。 该方法还包括: 网络设备查找全局路由表, 并获得转发出接口, 且该设 备属于转发出接口对应的设备。 性能映射表或路由映射表具有用于用户进行配置的界面。 根据本发明的另一个方面, 提供了一种网络设备, 包括: 接收模块, 设 置为接收业务报文; 确定模块, 设置为根据接收的业务报文的业务类型, 确 定满足转发该业务类型的业务报文的要求的设备; 以及转发模块, 设置为将 业务报文转发到确定模块确定的设备。 该网络设备还包括: 配置模块, 设置为接受用户对业务类型与转发性能 要求的对应关系的配置, 或者, 设置为接受用户对业务类型与转发性能满足 转发该业务类型的业务报文的要求的设备的对应关系的配置。 该网络设备还包括: 检测模块, 设置为在配置模块接受用户对业务类型 与转发性能要求的对应关系的配置的情况下, 实时或定期检测所有可转发的 设备的转发性能并予以保存或更新。 通过本发明, 釆用将业务报文转发至性能满足该业务类型对应的转发性 能要求的设备的方法, 解决了相关技术中的路由转发方法没有对网络资源进 行合理利用导致网络服务质量下降的问题, 较合理的利用了网络资源, 从而 提高了网络服务质量。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1是根据本发明实施例的网络设备的结构框图; 图 2是根据本发明实施例的网络设备的优选结构框图一; 图 3是根据本发明实施例的网络设备的优选结构框图二; 图 4是根据本发明实施例的用于 IP网络的路由转发方法的流程图; 图 5是根据本发明实施例 1的网络设备的结构框图; 以及 图 6是 居本发明实施例 2的网络应用场景示意图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。 图 1是根据本发明实施例的网络设备的结构框图, 该网络设备包括: 接收模块 12 , 设置为接收业务报文; 确定模块 14 , 连接于接收模块 12 , 设置为根据接收的业务报文的业务 类型, 确定满足转发该业务类型的业务报文的要求的设备; 以及 转发模块 16 , 连接于确定模块 14 , 设置为将业务报文转发到确定模块 14确定的设备。 区别于相关技术中网络设备用于根据报文的目的地址或五元组确定转发 出接口或者下一跳, 本发明实施例提供的网络设备通过确定模块 14确定用 于转发该业务报文的转发性能满足要求的设备, 进而由转发模块 16将该业 务报文转发到确定模块 14确定的设备, 解决了相关技术中没有对网络资源 进行合理利用导致网络服务质量下降的问题, 使得网络设备可以根据不同的 业务类型, 选择不同转发性能的网络设备进行业务的转发, 从而能够合理利 用网络资源以及部署不同转发性能的设备, 使其可以满足不断涌现的新业务 的应用, 这样就有效降低了运营商的运营成本, 提高了运营效率。 图 2是根据本发明实施例的网络设备的优选结构框图一, 该网络设备还 可以包括: 配置模块 22 , 连接于确定模块 14 , 设置为接受用户对业务类型与转发 性能要求的对应关系的配置, 或者, 设置为接受用户对业务类型与转发性能 满足转发该业务类型的业务报文的要求的设备的对应关系的配置。 通过上述模块, 使得用户能够对业务类型与转发性能要求的对应关系或 业务类型与转发性能满足转发该业务类型的业务报文的要求的设备的对应关 系进行配置, 从而能够为用户提供更加个性化的服务, 提高用户的体验。 图 3是根据本发明实施例的网络设备的优选结构框图二, 该网络设备还 可以包括: 检测模块 32 , 设置为在配置模块 22接受用户对业务类型与转发性能要 求的对应关系的配置的情况下, 实时或定期检测所有可转发的设备的转发性 能并予以保存或更新。 通过实时对可转发的设备的转发性能进行检测, 可以 对网络设备的当前转发性能进行实时把握, 从而能够保证转发速度更快; 通 过定期对可转发的设备的转发性能进行检测, 既能够对网络设备的转发性能 进行更新, 又不会对当前网络设备造成过大的处理负荷。 图 4是根据本发明实施例的用于 IP网络的路由转发方法的流程图,该方 法包括以下步 4聚: 步骤 S402, 网络设备根据接收到的业务报文的业务类型, 确定满足转发 该业务类型的业务报文的要求的设备; 以及, 步骤 S404, 网络设备将该业务报文转发到已确定的设备。 区别于相关技术中才艮据 4艮文的目的地址或五元组确定转发出接口或者下 一跳的方法, 本发明实施例提供的方法根据业务类型选择具有相应转发性能 的设备, 解决了相关技术中没有对网络资源进行合理利用导致网络服务质量 下降的问题, 使得网络设备可以根据不同的业务类型, 选择不同转发性能的 网络设备进行业务的转发, 从而能够合理利用网络资源以及部署不同转发性 能的设备, 使其可以满足不断涌现的新业务的应用, 这样就有效降低了运营 商的运营成本, 提高了运营效率。 作为一种优选的实施方式, 网络设备根据接收的业务报文的业务类型, 确定满足转发该业务类型的业务报文的要求的设备可以包括: 网络设备在性 能映射表中查找该业务类型对应的转发性能要求, 其中, 该性能映射表保存 业务类型与转发性能要求的对应关系; 网络设备根据保存的所有可转发的设 备的转发性能, 确定满足相应的转发性能要求的设备。 该实施方式通过查找保存有业务类型与转发性能要求的对应关系的映射 表, 来确定业务类型对应的转发性能要求, 进而确定转发性能满足该性能要 求的网络设备作为转发的目的设备, 能够较好地适应网络设备的转发性能变 化, 另外, 在相邻网络设备需要扩展的情况下, 无需重新配置, 系统的可扩 展性较强。 优选地, 网络设备确定满足转发该业务类型的业务报文的要求的设备之 前, 还包括: 网络设备实时或定期检测所有可转发的设备的转发性能并予以 保存或更新。 通过实时对可转发的设备的转发性能进行检测, 可以对网络设 备的当前转发性能进行实时把握, 从而能够保证转发速度更快; 通过定期对 可转发的设备的转发性能进行检测,既能够对网络设备的转发性能进行更新, 又不会对当前网络设备造成过大的处理负荷。 作为另外一种优选的实施方式, 网络设备根据接收的业务报文的业务类 型, 确定满足转发该业务类型的业务报文的要求的设备可以包括: 网络设备 在路由映射表中查找该业务类型对应的设备, 其中, 路由映射表中保存业务 类型与转发性能满足转发该业务类型的业务报文的要求的设备的对应关系。 该实施方式通过查找保存有业务类型与转发性能满足转发该业务类型的 业务报文的要求的设备的对应关系的映射表, 来确定业务类型对应的转发的 目的设备, 能够快速地查找目的设备, 实现较简单。 具体地, 路由映射表中的 Match项配置包括匹配报文的服务字段, 路由 映射中的 Set项配置包括与匹配 4艮文的服务字段相对应的设备, 匹配 4艮文的 服务字段用于指示业务报文的业务类型。 该方法易于实现, 无需引入新的配 置项目, 改造成本较低。 优选地, 对于以上的两种优选实施方式, 该方法还可以包括: 网络设备 查找全局路由表, 并获得转发出接口,且该设备属于转发出接口对应的设备。 该方法保证确定的网络设备能够正确到达目的接口的设备。 优选地, 性能映射表或路由映射表具有用于用户进行配置的界面。 能够 为用户提供更加个性化的服务, 提高用户的体验。 以下描述的实施例 1-2, 综合了上述多个优选实施例的技术方案。 实施例 1 该实施例详细说明了可以实现上述方法的网络设备的结构组成及釆用该 网络设备进行转发的过程, 图 5是根据本发明实施例 1的网络设备的结构框 图, 网络设备的结构组成包括: 性能检测模块 52 , 设置为实时检测并提供邻居设备的转发性能, 并且创 建转发性能分组, 将不同性能的邻居设备区分在不同的转发组中。 策略配置模块 54 , 设置为进行路由映射的 Match项规则和 Set项转发条 目的具体策略配置, 并可以为用户提供用于进行策略配置的接口或界面。 匹配转发模块 56 , 设置为将报文按照不同的业务类型进行分类, 并且根 据检测到的邻居设备转发性能的结果, 结合策略配置模块 54配置的策略选 择相应的有效转发路径。 从各个模块之间的联系来看, 策略配置模块 54的功能是实现策略转发 的基础,主要是明确不同的业务类型与邻居转发设备的转发性能的对应关系; 性能检测模块 52的功能是实现邻居设备性能选择的基本要求, 其可以实时 或定期提供的邻居设备的转发性能, 是进行路径切换的依据; 匹配转发模块 56的功能是实现具体的转发实施过程。 以下描述该网络设备进行业务 4艮文转发的过程, 包括以下步骤: 第一步, 用户通过命令, 开启邻居设备的转发性能检测功能 (该处理可 省略, 默认转发性能检测功能开启)。 网络设备检测相邻设备的转发性能, 并 生成邻居设备的转发性能列表。 第二步, 用户运行配置命令或通过界面操作, 利用策略配置模块 54 , 配 置满足需求的路由映射, 设置匹配 4艮文的月艮务字段以及希望这些业务类型通 过哪些转发性能规格的设备进行转发。 第三步, 用户对接口应用策略路由, 通过匹配转发模块 56 , 使进入该接 口的报文, 按照报文的服务类型进行区分, 并且通过查找全局路由表, 获得 所有可能的转发出接口, 然后根据这些转发出接口对应的邻居设备的转发性 能, 获得有效的转发路径, 进行报文的分类转发。 通过以上步骤, 能够才艮据不同的业务类型, 选择不同转发性能的网络设 备, 从而能够合理部署不同转发性能的设备, 使其可以满足不断涌现的新业 务的应用, 这样就有效降低了运营商的运营成本, 提高了运营效率。 实施例 2 图 6是才艮据本发明实施例 2的网络应用场景示意图, 一个示例性的组网 结构是: CE设备和一个 PE0设备通过接口 fei_l/10相连, CE设备对应的网 络侧可以提供普通的 INTERNET服务、 3G VOICE、 和 IPTV等多种服务类 型。 PE0设备有两个邻居转发设备 PE1和 PE2, 其中:
PE1设备的转发性能一般, 适合转发普通的 INTERNET业务, PE0和 PE1通过接口 fei_l/30相连;
PE2转发性能较强, 可以满足 3G VOICE等新业务应用的需要, PE0和 PE2通过接口 fei_l/20相连。
CE侧网络提供的不同服务中, 3G VOICE, IPTV等业务的时效性要求 很强, 需要连续性和大吞吐量的保证, 这些服务是运营商最关键的业务, 优 先级高, 而且在未来的网络融合中发展迅猛,对路由器的转发性能要求较高; 而普通的 INTERNET业务重要性较低,对报文的实时性和丢包率等要求也不 太高, 普通的转发设备基本能够满足这些业务。 下面结合图 5所示的网络设备结构以及图 6所示的网络场景描述转发的 具体步骤: ( 1 )首先需要保证基本的组网正确, 在 PE0设备中, 与 CE设备相连的 fei_l/10接口、 与 PE2设备 4目连的 fei_l/20接口、 以及与 PE1设备 4目连的 fei_l/30接口都是有效可达的。
( 2 ) 在 PE0设备中配置路由映射 ( Route-map ), 其中 Match项配置需 要包含匹配报文服务类型, 而 Set项配置需要包含与服务类型相对应的转发 性能设备。
( 3 ) 在 PE0设备中, 通过具体的配置命令, 将先前配置好的路由映射 ( Route-map ), 应用在 4艮文入接口 fei_l/ 10中。 根据图 5的模块交互流程, 当报文进入到入接口 fei_l/10后, 匹配转发模块 56将匹配好的报文按照报文 的服务类型进行区分, 并且通过查找全局路由表, 获得所有可能的转发出接 口, 接着根据这些转发出接口对应的邻居设备的转发性能, 获得有效的转发 路径, 进行报文的分类转发。 对于图 6所示的网络场景来说, 对于 3G VOICE、 IPTV等业务类型, 可 以选择与 PE2连接的出接口转发, 即, 可以通过 PE0 PE2链路, 经过性 能较强的 PE2设备进一步转发, 见图 6中标号为 1的虚线箭头; 对于普通 INTERNET业务, 选择与 PE 1相连的出接口进行转发, 即, 可以通过 PE0—— PE1链路, 经过性能一般的 PE1设备进一步转发, 见图 6中标号为 2的虚线箭头, 从而实现报文按照业务类型和设备性能进行分类转发。 经过上述过程, 不同业务类型的报文, 经过 PE0设备后, 就可以分类选 择对应性能的转发设备, 从而有效利用网络设备性能, 满足各种新业务运营 的需要。 同时, 通过该方法可以有效的整合现有的网络设备, 保留现网中转 发性能较低的设备, 降低了运营商的设备釆购成本和运营成本。 综上所述, 本发明实施例提供的方案可以自由选择不同转发性能的邻居 设备, 从而更有效的规避网络阻塞。 与相关技术中的策略路由转发技术相比 较, 该方案能够根据业务类型选择不同的转发路径, 以满足全业务运营时代 日益涌现的不同的新业务的应用需要。 这样, 即有效降低了运营成本, 又满 足了未来业务扩展和增长的要求, 还大大提高了组网的灵活性和有效性。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 并 且在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤, 或者 将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作 成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件 结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的^"神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。

Claims

权 利 要 求 书
1. 一种用于 IP网络的路由转发方法, 包括以下步骤:
网络设备根据接收的业务报文的业务类型, 确定满足转发所述业 务类型的业务报文的要求的设备; 以及
所述网络设备将所述业务报文转发到所述设备。
2. 根据权利要求 1所述的方法, 其中, 所述网络设备根据接收的业务报 文的业务类型, 确定满足转发所述业务类型的业务报文的要求的设备 包括:
所述网络设备在性能映射表中查找所述业务类型对应的所述转发 性能要求, 其中, 所述性能映射表保存所述业务类型与转发性能要求 的对应关系; 以及
所述网络设备根据保存的所有可转发的设备的转发性能, 确定满 足所述转发性能要求的所述设备。
3. 根据权利要求 2所述的方法, 其中, 所述网络设备确定满足转发所述 业务类型的业务报文的要求的设备之前, 所述方法还包括:
所述网络设备实时或定期检测所有可转发的设备的转发性能并予 以保存或更新。
4. 根据权利要求 1所述的方法, 其中, 所述网络设备根据接收的业务报 文的业务类型, 确定满足转发所述业务类型的业务报文的要求的设备 包括:
所述网络设备在路由映射表中查找所述业务类型对应的所述设 备, 其中, 所述路由映射表中保存所述业务类型与转发性能满足转发 所述业务类型的所述业务报文的要求的设备的对应关系。
5. 根据权利要求 4所述的方法, 其中, 所述路由映射表中的 Match项配 置包括匹配报文的服务字段, 所述路由映射中的 Set项配置包括与所 述匹配报文的服务字段相对应的设备, 所述匹配报文的服务字段用于 指示所述业务 4艮文的业务类型。
6. 根据权利要求 2至 5中任一项所述的方法, 其中, 所述方法还包括: 所述网络设备查找全局路由表, 并获得转发出接口, 且所述设备属于 所述转发出接口对应的设备。
7. 才艮据权利要求 6所述的方法, 其中, 所述性能映射表或所述路由映射 表具有用于用户进行配置的界面。
8. —种网络设备, 包括:
接收模块, 设置为接收业务报文;
确定模块, 设置为根据接收的业务报文的业务类型, 确定满足转 发所述业务类型的业务报文的要求的设备; 以及 转发模块, 设置为将所述业务报文转发到所述确定模块确定的设 备。
9. 根据权利要求 8所述的网络设备, 其中, 还包括:
配置模块, 设置为接受用户对所述业务类型与转发性能要求的对 应关系的配置, 或者, 设置为接受用户对所述业务类型与转发性能满 足转发所述业务类型的所述业务报文的要求的设备的对应关系的配 置。
10. 根据权利要求 9所述的网络设备, 其中, 还包括:
检测模块, 设置为在所述配置模块接受用户对所述业务类型与转 发性能要求的对应关系的配置的情况下, 实时或定期检测所有可转发 的设备的转发性能并予以保存或更新。
PCT/CN2011/071878 2010-03-17 2011-03-16 用于ip网络的路由转发方法及网络设备 WO2011113358A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010139329.8 2010-03-17
CN201010139329A CN101820391A (zh) 2010-03-17 2010-03-17 用于ip网络的路由转发方法及网络设备

Publications (1)

Publication Number Publication Date
WO2011113358A1 true WO2011113358A1 (zh) 2011-09-22

Family

ID=42655342

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/071878 WO2011113358A1 (zh) 2010-03-17 2011-03-16 用于ip网络的路由转发方法及网络设备

Country Status (2)

Country Link
CN (1) CN101820391A (zh)
WO (1) WO2011113358A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820391A (zh) * 2010-03-17 2010-09-01 中兴通讯股份有限公司 用于ip网络的路由转发方法及网络设备
CN102158362B (zh) * 2011-04-18 2015-05-06 中兴通讯股份有限公司 实现网络信息监管的方法、系统及装置
CN103118083B (zh) * 2013-01-21 2015-12-02 北京交通大学 一种业务报文转发的方法和装置
CN107431968B (zh) * 2015-12-30 2020-10-09 华为技术有限公司 一种建立路由表的方法、电子设备及网络
CN107948087A (zh) * 2017-12-07 2018-04-20 锐捷网络股份有限公司 一种负载均衡的方法及设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1758632A (zh) * 2005-11-11 2006-04-12 杭州华为三康技术有限公司 流量选择出口链路的方法及转发流量的路由设备
CN1968227A (zh) * 2006-06-29 2007-05-23 华为技术有限公司 一种无线接入网关支持透明代理的系统及方法
CN101820391A (zh) * 2010-03-17 2010-09-01 中兴通讯股份有限公司 用于ip网络的路由转发方法及网络设备

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6098172A (en) * 1997-09-12 2000-08-01 Lucent Technologies Inc. Methods and apparatus for a computer network firewall with proxy reflection

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1758632A (zh) * 2005-11-11 2006-04-12 杭州华为三康技术有限公司 流量选择出口链路的方法及转发流量的路由设备
CN1968227A (zh) * 2006-06-29 2007-05-23 华为技术有限公司 一种无线接入网关支持透明代理的系统及方法
CN101820391A (zh) * 2010-03-17 2010-09-01 中兴通讯股份有限公司 用于ip网络的路由转发方法及网络设备

Also Published As

Publication number Publication date
CN101820391A (zh) 2010-09-01

Similar Documents

Publication Publication Date Title
JP7475349B2 (ja) ネットワークコンピューティング環境における第1ホップゲートウェイ冗長性
CN112262553B (zh) 在软件定义网络交换机的分组处理流水线中跟踪分组的装置和方法
CN107204867B (zh) 一种信息传输方法、装置和系统
US9860163B2 (en) MPLS traffic engineering for point-to-multipoint label switched paths
US9100281B2 (en) Systems and methods for equal-cost multi-path virtual private LAN service
US9167501B2 (en) Implementing a 3G packet core in a cloud computer with openflow data and control planes
US11689452B2 (en) Method for forwarding service data, network device, and network system
WO2021169258A1 (zh) 转发报文的方法、发布路由信息的方法、装置及系统
US10361954B2 (en) Method and apparatus for processing modified packet
EP3054634B1 (en) Scheme for performing one-pass tunnel forwarding function on two-layer network structure
EP3188422B1 (en) Traffic black holing avoidance and fast convergence for active-active pbb-evpn redundancy
JP2017510137A (ja) データネットワークに最大冗長木(maximally redundant tree)をデプロイする方法およびシステム
CN106656793B (zh) 一种sdn网络与ip网络的数据交互方法
WO2018014767A1 (zh) 一种信息确定方法、装置及存储介质
US20230291682A1 (en) Method and device for processing data packet, storage medium, and electronic device
WO2011113358A1 (zh) 用于ip网络的路由转发方法及网络设备
WO2014139157A1 (zh) 一种报文处理的方法、报文设备和系统
WO2022117018A1 (zh) 报文传输的方法和装置
US9654304B2 (en) Method and apparatus for sending transparent interconnection of lots of links data frame
CN115811499A (zh) 指定转发者df选举的方法及设备
WO2024007762A1 (zh) 一种路由发布方法、通信方法及装置
US20230388228A1 (en) Packet forwarding method and device, and system
CN115118544B (zh) 通信方法及设备、通信系统
WO2022257773A1 (zh) 路由检测方法、设备、系统及存储介质
WO2024036149A1 (en) Automated scaling of network topologies using unique identifiers

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11755675

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11755675

Country of ref document: EP

Kind code of ref document: A1