WO2007073620A1 - A system and method for processing message - Google Patents

A system and method for processing message Download PDF

Info

Publication number
WO2007073620A1
WO2007073620A1 PCT/CN2005/002342 CN2005002342W WO2007073620A1 WO 2007073620 A1 WO2007073620 A1 WO 2007073620A1 CN 2005002342 W CN2005002342 W CN 2005002342W WO 2007073620 A1 WO2007073620 A1 WO 2007073620A1
Authority
WO
WIPO (PCT)
Prior art keywords
policy
packet
forwarding
link
policy group
Prior art date
Application number
PCT/CN2005/002342
Other languages
French (fr)
Chinese (zh)
Inventor
Jin Ma
Bo Yang
Yu Ma
Original Assignee
Zte Corporation
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 Zte Corporation filed Critical Zte Corporation
Priority to PCT/CN2005/002342 priority Critical patent/WO2007073620A1/en
Publication of WO2007073620A1 publication Critical patent/WO2007073620A1/en

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding

Definitions

  • the invention relates to a policy routing and load sharing technology for a message, in particular to a policy-based network traffic dynamic load balancing (PBDLB) technology and system, which dynamically adjusts a data forwarding path based on a user policy. , to achieve dynamic sharing of load.
  • PBDLB policy-based network traffic dynamic load balancing
  • QoS Quality of Service
  • Traditional IP services such as file downloading and mail delivery, do not have strict requirements on delay and delay jitter. They only require the intelligent capabilities of the terminal to ensure reliable transmission of data. No network is required to provide QoS guarantee, and voice is not required.
  • Real-time services such as video and video are sensitive to delay and delay jitter.
  • Some traditional service terminals such as telephones) do not have the intelligence capability. This requires the network to provide strict guarantees such as packet loss rate, delay, and delay jitter.
  • Policy routing technology provides greater control over packet forwarding and forwarding than traditional routing protocols.
  • the router calculates the routing table based on the static configuration and routing protocol. After receiving the packet, the router forwards the packet according to the destination address. Routes that support policy routing are more flexible than traditional routes. They can be forwarded not only according to the destination address, but also according to the quintuple (source IP address, source port number, destination IP address, destination port number, protocol type), etc. To choose the forwarding path.
  • the use of policy routing allows network managers to control and select the forwarding path of packets according to their own system's criteria (policy).
  • Load sharing enables routers to distribute traffic across multiple paths to take full advantage of bandwidth Resources. Through routing protocols or static configuration, there can be multiple available routing entries in the forwarding table for the same destination address.
  • the load sharing forwarding mechanism supports two methods, Per-packet and Per-destination.
  • the existing load sharing technologies are as follows:
  • Per-packet uses the rotation method to determine the path of the packet, so that the forwarding load is evenly distributed on each path, so the path utilization is high, but different paths may be selected for the traffic to a given destination, resulting in reception. The wrong order of the end, does not apply to oIP and other ordered traffic.
  • Per-destination can guarantee the same path for a given destination, even if there are multiple available paths; packets to different destinations can take different paths.
  • traffic may be concentrated on a small number of paths and the load is not balanced.
  • load balancing is more effective.
  • an object of the present invention is to provide a message processing system and a message processing method, which improve bandwidth utilization, network reliability, and network service quality.
  • the present invention provides a message processing system, including:
  • a policy analyzer configured to determine a policy group to which the message belongs
  • An interface bandwidth utilization calculation module configured to acquire real-time bandwidth utilization of the relevant interface
  • a link delay calculation module configured to acquire real-time delay on the relevant link
  • the policy routing forwarding path selection subsystem is configured to adjust a relationship between the policy group and the forwarding path according to real-time bandwidth utilization and real-time delay conditions, and Find and select the forwarding path based on the final policy group of the message;
  • the load sharing forwarding link selection subsystem adjusts the relationship between the policy group and the forwarding link according to the real-time bandwidth utilization and real-time delay, and searches for and selects the forwarding link according to the final policy group of the packet.
  • the policy analyzer is based on the source IP address, the destination IP address, the source port number, the destination port number, the protocol type, the size of the packet, the MAC address of the packet, the VLA, the 802.1P, and the EP TOS.
  • the field, quintuple determines the policy group to which the message belongs.
  • the above message processing system further includes:
  • An application service analyzer is configured to identify a service type of the packet, and determine a policy group to which the packet belongs according to the service type; The final policy group of the message is determined according to the privilege level item of each policy group.
  • the above message processing system further includes:
  • An in-depth packet detector is configured to select a plurality of bytes of the packet, compare the content to be detected, implement detection based on the content information, and determine a policy group to which the packet belongs;
  • the policy routing forwarding path selection subsystem and a load sharing forwarding link selection subsystem determine the final policy group of the message according to the privilege level item in the policy group.
  • the present invention further provides a packet processing method, including the following steps:
  • Step 1 the policy analyzer determines the policy group to which the message belongs
  • Step 2 The interface bandwidth utilization calculation module obtains the real-time bandwidth utilization of the relevant interface, and the link delay calculation module acquires the real-time delay on the relevant link.
  • Step 3 The policy routing forwarding path selection subsystem adjusts the relationship between the policy group and the forwarding path according to the real-time bandwidth utilization and the real-time delay, and searches for and selects the forwarding path according to the final policy group of the packet; and/or
  • Step 3 ′ the load sharing and forwarding link selection subsystem adjusts the relationship between the policy group and the forwarding link according to the real-time bandwidth utilization and the real-time delay, and searches for and selects the forwarding link according to the final policy group of the packet.
  • the policy analyzer is based on the source IP address, the destination IP address, the source port number, the destination port number, the protocol type, the size of the packet, the MAC address of the packet, and the VLA. , 802.1P, IP TOS field, quintuple determines the policy group to which the message belongs.
  • the service type analyzer identifies the service type of the packet, and determines the policy group to which the packet belongs according to the service type, and determines the packet according to the privilege level item in the policy group.
  • Final strategy group identifies the service type of the packet, and determines the policy group to which the packet belongs according to the service type, and determines the packet according to the privilege level item in the policy group.
  • the step 1 also selects multiple bytes of the packet through the deep packet detector, compares with the content to be detected, implements detection based on the content information, and determines a policy to which the packet belongs. Group, and determine the final policy group of the message based on the privilege level item in the policy group.
  • the step 3 specifically includes:
  • Step 31 The policy routing policy management module receives and parses the configuration command of the user policy routing, and manages the correspondence between the policy group and the forwarding path. If the user configures the dynamic policy routing mode, the policy routing policy management module collects related interfaces in real time. Bandwidth utilization and link delay; Step 32: The policy routing forwarding path selection module searches for and selects a forwarding path according to the correspondence between the policy group and the forwarding path of the packet, and implements control of selecting a forwarding path of the packet. Step 33: In the dynamic policy routing mode The policy routing policy management module also updates the correspondence between the policy group and the forwarding path of the packet when the link delay or the actual value range of the bandwidth usage changes.
  • Step 31 ′ the load sharing policy management module receives and parses the configuration command of the user load sharing, and manages the correspondence between the load sharing policy and the forwarding link. If the user configures the dynamic load sharing mode, the load sharing policy management module collects relevant correlations in real time. Interface bandwidth utilization and/or link delay;
  • Step 32 ′ the load sharing and forwarding link selection module searches for and selects a forwarding link according to the correspondence table between the load sharing policy and the forwarding link, and implements path selection for packet load sharing;
  • Step 33 ′ in the dynamic load sharing mode, when the domain delay of the link delay or the actual utilization of the bandwidth changes, the load sharing policy management module further updates the correspondence table between the policy group and the forwarding link.
  • the present invention not only improves the policy routing function based on the service application, but also implements the load sharing execution policy based on the user configuration, and provides a dynamic adjustment policy routing forwarding strategy and dynamic adjustment of the load sharing strategy.
  • Implementation methods and mechanisms The network administrator can deploy the dynamic policy routing and dynamic load sharing technologies separately or in the whole.
  • the load on the system is allocated to different outbound interfaces and different links according to the configured policies.
  • the present invention can implement the policy routing based on the service application and the content, and dynamically adjust the policy routing policy according to the actual bandwidth utilization of the outbound interface and the actual link delay; the bandwidth weight and time of the link can be shared according to the load.
  • the weight-of-weight and other parameters are used to select the load-sharing link, and the weight of each load-sharing link can be dynamically adjusted according to the actual bandwidth utilization of the link and the actual link delay. Sex, while also improving the quality of network business services.
  • 1 is a system architecture diagram of the present invention
  • the message processing system of the present invention includes a basic policy analyzer 101, an application service identifier 102, a deep message detector 103, a policy routing forwarding path selection module 104, a load sharing forwarding link selection module 105, The policy routing policy management module 106, the load sharing policy management module 107, the interface bandwidth utilization calculation module 108, and the link delay calculation module 109, wherein:
  • the basic policy analyzer 101 is configured to perform policy group marking on the data traffic entering the system according to the basic service policy of the user, and the basic policy analyzer detects the characteristics of the packet according to the ACL policy configured by the user and the basic service type configured by the user.
  • IP TOS field, quintuple for packet parsing The policy group to which the file belongs, and the policy group number will be used as the judgment basis of the policy routing forwarding path selection module 104 and/or the load sharing forwarding link selection module 105;
  • the application service identifier 102 is configured to identify an application with a complex service feature, and identify a service feature and a connection status in the packet according to the pre-generated application service feature template, identify the service type, and determine a policy to which the message belongs.
  • the group provides a judgment basis for the policy routing forwarding path selection module 104 and/or the load sharing forwarding link selection module 105;
  • the deep packet detector 103 is configured to detect the content of the first 256 Bytes of the message, and the user can select a number of bytes in the range of the first 256 Bytes, and compare with the content to be detected (ASCII code value) to implement the content based on the content.
  • the information detection function determines the policy group to which the message belongs, and provides a judgment basis for the policy routing forwarding path selection module 104 and/or the load sharing forwarding link selection module 105; includes a privilege level item (Remark Level) in each policy group. – 3 bits), used to indicate the privilege level of the policy group.
  • the policy group with high privilege level will modify the judgment result of the low privilege level.
  • the policy group with low privilege level has no right to modify the judgment result of the previous high privilege level. When the same privilege level is used, the subsequent match Id will be used as a more accurate match to modify the judgment result of the previous privilege level.
  • the policy routing forwarding path selection module 1 (H is configured to search for a correspondence table between the policy group and the forwarding path according to the policy group information of the basic policy analyzer 101 and/or the application service identifier 102 and/or the deep packet detector 103. Quickly find and select a forwarding path, and the correspondence between the policy group and the forwarding path is maintained by the policy routing policy management module 106;
  • a load sharing forwarding link selection module 105 for using the basic policy analyzer 101 and/or application
  • the policy group information of the service identifier 102 and/or the deep packet detector 103 looks up the correspondence table between the policy group and the forwarding link, quickly finds and selects the forwarding link, and the correspondence between the policy group and the forwarding link.
  • the table is maintained by the load sharing policy management module 107;
  • the policy routing policy management module 106 is configured to maintain the correspondence between the policy group and the forwarding path.
  • the processing flow is as shown in Figure 2, and includes the following steps:
  • Step 201 Receive and parse a configuration command of a user policy route.
  • Related configuration commands include: a correspondence between a service type and a policy group; a forwarding path policy of each policy group; whether a dynamic policy routing mode is adopted; Mode configurable) The interface bandwidth utilization and/or the link delay domain value interval; the forwarding path policy of each policy group in each domain value interval;
  • Step 202 Determine whether the user adopts a dynamic policy routing technology, if it is an entry step
  • step 203 otherwise proceeds to step 205; 'Step 203, detecting whether the range of the link delay and the actual utilization rate of the bandwidth is consistent with the range of the last detected link delay and the actual bandwidth utilization interval, if yes (ie If there is no change in the interval, continue to monitor the delay of the link and the actual bandwidth utilization. Otherwise, go to step 204.
  • the conditions for entering the step 204 include two cases: initial configuration or link delay, and the actual utilization range of the bandwidth. changes happened;
  • Step 204 Advertise the relationship between the policy group of the new interval (or the initial interval) and the forwarding path to the policy routing forwarding path selection module.
  • Step 205 The policy routing policy management module uses the HASH table and the linked list to maintain the relationship between the service type and the user policy group, the user's policy group and the forwarding path, and notifies the basic policy analyzer 101 and/or the application service identifier 102 and / or deep message detector 103 and policy routing forwarding path selection module 104.
  • the load sharing policy management module 107 implements the relationship maintenance between the load sharing policy and the forwarding link.
  • the processing flow is as shown in FIG. 2, and includes the following steps:
  • Step 301 Receive and parse a configuration command of user load sharing; related configuration commands include: a correspondence between a service type and a policy group; a forwarding link policy of each policy group; whether a dynamic load sharing mode is adopted; The configurable interface bandwidth utilization and/or link delay domain value interval in the shared mode; the link selection policy of each policy group in each domain value interval;
  • Step 302 it is determined whether the user has adopted dynamic load sharing technology, if it is to step 303, otherwise proceeds to step 305;
  • the determination condition for entering the step 304 includes two cases: the initial configuration or the link delay, and the range of the actual utilization of the bandwidth changes.
  • Step 304 After the relevant weight information of the new interval (or the initial interval) is processed, the relationship between the policy and the shared link is sent to the load sharing link selection module.
  • Step 305 The load sharing policy management module uses the HASH table and the linked list to maintain the relationship between the service type and the user policy group, the user's policy group and the forwarding path, and notifies the basic policy analyzer 101 and/or the application service identifier 102 and / or depth message detector 103 and load sharing forwarding link selection module 105.
  • the interface bandwidth utilization calculation module 108 is configured to calculate real-time bandwidth utilization of the relevant interface, and provide a decision basis for the application based on the bandwidth policy.
  • the link delay calculation module 109 is configured to calculate a real-time delay on the relevant link, and provides a decision basis for the application of the delay-based policy.
  • the link delay calculation can be performed by using the RFC3763 OWAMP (One-way Active Measurement Protocol). Or other methods.
  • the basic policy analyzer 101 can be based on a source IP address, a destination IP address, a source port number, a destination port number, a protocol type, and a packet.
  • the size of the packet, the MAC address of the packet, the VLAN, and the 802.1P. IP TOS field are parsed, and the relevant policy group is bound according to the information.
  • the network device is identified by the application service.
  • the device 102 compares the content of the packet with the service feature in the internal template, and after identifying the type of the application service, the policy routing forwarding path selection module 104 combines the type of the application service with the correspondence between the policy group and the forwarding path. Perform policy routing to implement service-based policy routing.
  • the packet depth detector 103 can detect any content in the first 256 Bytes of the packet, that is, the user can perform policy routing according to the content of any byte in the first 256 Bytes, and implement the content based on the content. Policy routing function for information.
  • the load-sharing packet can be shared according to the configured egress link bandwidth weight according to the configured source link and the destination address pair.
  • the invention provides based on traffic type, egress link delay weight and egress link bandwidth weight
  • the load sharing and forwarding mechanism is adopted.
  • the packet processing system of the present invention implements the service differentiation by applying the service analyzer, and then selects the forwarding path according to the bandwidth weight of the egress link and the delay weight of the egress link to implement load sharing. For example, when the traffic is small, the load can be shared according to the egress link bandwidth or the delay load. After the traffic increases, the load balancing needs to be performed according to the service type, the egress link delay weight, and the egress link bandwidth weight.
  • the packet forwarding path is dynamically controlled according to the policy configured by the user, the actual bandwidth utilization of the interface, and the actual network delay of the outbound interface. select.
  • the selection of the egress path cannot be completely required by the actual network application if it is only based on a fixed bandwidth weight or a delay weight. For example, changes in network topology, network traffic distribution, and network device operating state can cause large changes in latency on a path.
  • the network administrator wants to use different bandwidth weights when the network bandwidth usage reaches different levels, and performs differentiated path selection according to the service type to ensure that the high-priority services are guaranteed as much as possible.
  • the bandwidth of each path is dynamically adjusted according to the policy configured by the user, the actual bandwidth utilization of the timing detection interface, and the network delay on the load sharing path. Delay weights, path selection for load sharing.
  • the packet processing system of the present invention implements the dynamic adjustment of the policy routing and the dynamic adjustment of the load sharing
  • the packet is dynamically updated according to the policy configured by the user, the actual bandwidth utilization of the interface, and the actual network delay of the outgoing interface.
  • the forwarding path is controlled and selected.
  • the load balancing of the bandwidth weights and delay weights of each path is dynamically adjusted to achieve load sharing. Path selection.
  • the invention not only improves the policy routing function based on the service application, but also implements the load sharing execution strategy based on the user configuration, and provides a method and a mechanism for dynamically adjusting the policy routing forwarding policy and dynamically adjusting the load sharing strategy.
  • Network managers can deploy dynamic policies individually or collectively Routing and dynamic load sharing are two technologies.
  • the load on the system is distributed to different outbound interfaces and different links according to the configured policies.
  • the present invention can implement the policy routing based on the service application and the content, and dynamically adjust the policy routing policy according to the actual bandwidth utilization of the outbound interface and the actual link delay; the bandwidth weight and time of the link can be shared according to the load.
  • the parameters such as the delay weight are used to select the load sharing link, and the weight of each load sharing link can be dynamically adjusted according to the actual bandwidth utilization of the link and the actual link delay, thereby improving bandwidth utilization and network reliability. Sex, but also improve the quality of network business services.

Abstract

A system and method for processing the message, wherein the message processing system includes a policy analyzer (101) for determining the policy group that the message belongs to; an availability calculation module of interface bandwidth (108) for obtaining the real-time bandwidth availability associated with interfaces; a link delay calculation module (109) for obtaining the real-time delay associated with links; a policy route forwarding path selection subsystem (104) and/or a load balance forwarding link selection subsystem (105); the policy route forwarding path selection subsystem (104) adjusts the relation between the policy group and the forwarding path according to the real-time bandwidth availability and the real-time delay, and lookups and selects the forwarding path according to the final policy group of the message; the load balance forwarding link selection subsystem (105) adjusts the relation between the policy group and the forwarding link according to the real-time bandwidth availability and the real-time delay, and lookups and selects the forwarding link according to the final policy group of the message. The present invention may improve the bandwidth availability and the network reliability, while also improve QoS of the network service.

Description

拫文处理系统及报文处理方法 技术领域  拫文处理系统 and message processing method
本发明涉及报文的策略路由和负荷分担技术,特别是一种基于策略的网络 流量动态负荷分担 (Policing Based Dynamic Load Balance, 简称 PBDLB)的技术 和系统, 其基于用户策略, 动态调整数据转发路径, 实现负荷的动态分担。 背景技术  The invention relates to a policy routing and load sharing technology for a message, in particular to a policy-based network traffic dynamic load balancing (PBDLB) technology and system, which dynamically adjusts a data forwarding path based on a user policy. , to achieve dynamic sharing of load. Background technique
目前, 随着网络应用的飞速发展,信息化工程的不断推进, 各行业对网络 的依赖性越来越强。在这一背景下, 一些对线路稳定性、带宽有特殊要求的网 络环境(如政府、企业网, 大规模网吧, 校园网)往往需要从多个运营商那里 申请多条宽带线路, 以此来提高网络可靠性和上网速度,于是一个非常普遍的 问题就提出来. · 在多条线路的网络环境中, 如何来实现线路备份和负荷分担, 如何高效、合理的利用网络带宽,提高网络服务质量成为网络设备提供商必须 为用户解决的问题。  At present, with the rapid development of network applications and the continuous advancement of information engineering, the dependence of various industries on the network is becoming stronger. In this context, some network environments (such as government, enterprise networks, large-scale Internet cafes, and campus networks) that have special requirements on line stability and bandwidth often require multiple broadband lines from multiple operators. Improve network reliability and Internet speed, so a very common problem is raised. · How to achieve line backup and load sharing in a network environment with multiple lines, how to use network bandwidth efficiently and reasonably, and improve network service quality Becoming a problem that network equipment providers must solve for users.
在目前正在建设的支持视频、 声音、 数据业务的 Tripleplay 网络中 QoS (Quality of Service, 服务质量)是其中的主要问题之一。 传统 IP业务, 如文 件下载、 邮件传递等数据业务, 对时延、 时延抖动等没有严格的要求, 只要求 通过终端的智能能力保证其数据的可靠传送, 不需要网络提供 QoS保证, 而 语音、视频等实时性业务, 对时延和时延抖动敏感, 有些传统业务终端(如电 话)不具备智能能力, 这就要求网络提供丢包率、 时延、 时延抖动等方面的严 格保证, 这些主要因素造成了 IP技术的 QoS问题。  QoS (Quality of Service) is one of the main problems in the Tripleplay network that is currently supporting video, voice, and data services. Traditional IP services, such as file downloading and mail delivery, do not have strict requirements on delay and delay jitter. They only require the intelligent capabilities of the terminal to ensure reliable transmission of data. No network is required to provide QoS guarantee, and voice is not required. Real-time services such as video and video are sensitive to delay and delay jitter. Some traditional service terminals (such as telephones) do not have the intelligence capability. This requires the network to provide strict guarantees such as packet loss rate, delay, and delay jitter. These major factors have caused QoS issues in IP technology.
策略路由技术提供了比传统路由协议对报文的存储转发更强的控制能力。 在传统路由器上,路由器根据静态配置和路由协议计算路由表,接收到报文后 根据目的地址进行报文的转发。 支持策略路由的路由比传统路由强使用更灵 活, 它不仅能够根据目的地址进行转发、 而且能够根据五元组(源 IP.地址、 源端口号、 目的 IP地址、 目的端口号, 协议类型)等来选择转发路径。 策略 路由的使用使网络管理者可以按照自己制度的标准 '(策略)对报文的转发路径 进行控制和选择。  Policy routing technology provides greater control over packet forwarding and forwarding than traditional routing protocols. On a traditional router, the router calculates the routing table based on the static configuration and routing protocol. After receiving the packet, the router forwards the packet according to the destination address. Routes that support policy routing are more flexible than traditional routes. They can be forwarded not only according to the destination address, but also according to the quintuple (source IP address, source port number, destination IP address, destination port number, protocol type), etc. To choose the forwarding path. The use of policy routing allows network managers to control and select the forwarding path of packets according to their own system's criteria (policy).
. 负荷分担功能使路由器能够将流量分配到多条路径上,从而充分利用带宽 资源。 通过路由协议或静态配置, 可以使得转发表中, 对于同一个目的地址, 有多条可用的路由条目。 负荷分担的转发机制支持两种方法, Per-packet和 Per-destination方式, 现有的负荷分担技术特点如下: Load sharing enables routers to distribute traffic across multiple paths to take full advantage of bandwidth Resources. Through routing protocols or static configuration, there can be multiple available routing entries in the forwarding table for the same destination address. The load sharing forwarding mechanism supports two methods, Per-packet and Per-destination. The existing load sharing technologies are as follows:
Per-packet使用轮转法来确定数据包走的路径, 使得转发负荷均匀地分布 在各条路径上,所以其路径利用率高,但对于到给定目的的流量可能会选择不 同的路径, 造成接收端的错序, 对于 oIP和其他要求有序的流量不适用。  Per-packet uses the rotation method to determine the path of the packet, so that the forwarding load is evenly distributed on each path, so the path utilization is high, but different paths may be selected for the traffic to a given destination, resulting in reception. The wrong order of the end, does not apply to oIP and other ordered traffic.
Per-destination方式到给定目的的包可以保证走同一条路径, 即使在有多 条可用路径的情况下; 到不同目的的包可以走不同的路径。 Per-destination方 式下, 当流量中只有少量的目的地址时, 可能会引起流量集中在少数路径上, 分担不均衡; 当流量中目的地址增加时, 负荷分担会更有效。 发明内容  Per-destination can guarantee the same path for a given destination, even if there are multiple available paths; packets to different destinations can take different paths. In the per-destination mode, when there is only a small number of destination addresses in the traffic, traffic may be concentrated on a small number of paths and the load is not balanced. When the destination address in the traffic increases, load balancing is more effective. Summary of the invention
为了解决上述现有技术中的缺点,本发明的目的在于提供一种报文处理系 统及报文处理方法, 提高带宽利用率、 网络可靠性及网络业务服务质量。  In order to solve the above disadvantages in the prior art, an object of the present invention is to provide a message processing system and a message processing method, which improve bandwidth utilization, network reliability, and network service quality.
为了实现上述目的, 本发明提供了一种报文处理系统, 包括:  In order to achieve the above object, the present invention provides a message processing system, including:
一策略分析器, 用于确定报文所属的策略组;  a policy analyzer, configured to determine a policy group to which the message belongs;
一接口带宽利用率计算模块, 用于获取相关接口的实时带宽利用率; 一链路时延计算模块, 用于获取相关链路上的实时时延情况;  An interface bandwidth utilization calculation module, configured to acquire real-time bandwidth utilization of the relevant interface; a link delay calculation module, configured to acquire real-time delay on the relevant link;
一策略路由转发路径选择子系统和 /或一负荷分担转发链路选择子系统; 策略路由转发路径选择子系统用于根据实时带宽利用率和实时时延情况 调整策略组与转发路径的关系, 并根据报文的最终策略组查找并选择转发路 径;  a policy routing forwarding path selection subsystem and/or a load sharing forwarding link selection subsystem; the policy routing forwarding path selection subsystem is configured to adjust a relationship between the policy group and the forwarding path according to real-time bandwidth utilization and real-time delay conditions, and Find and select the forwarding path based on the final policy group of the message;
负荷分担转发链路选择子系统根据实时带宽利用率和实时时延情况调整 策略组与转发链路的关系, 并根据报文的最终策略组查找并选择转发链路。  The load sharing forwarding link selection subsystem adjusts the relationship between the policy group and the forwarding link according to the real-time bandwidth utilization and real-time delay, and searches for and selects the forwarding link according to the final policy group of the packet.
上述的报文处理系统, 所述策略分析器根据源 IP地址、 目的 IP地址、 源 端口号、 目的端口号、协议类型以及报文的大小、报文的 MAC地址、 VLA 、 802.1P, EP TOS字段、 五元组确定报文所属的策略组。  In the above packet processing system, the policy analyzer is based on the source IP address, the destination IP address, the source port number, the destination port number, the protocol type, the size of the packet, the MAC address of the packet, the VLA, the 802.1P, and the EP TOS. The field, quintuple determines the policy group to which the message belongs.
上述的报文处理系统, 还包括:  The above message processing system further includes:
一应用业务分析器,用于识别报文的业务类型,并根据业务类型确定报文 所属的策略组; 报文的最终策略组根据各策略组的特权等级项确定。 An application service analyzer is configured to identify a service type of the packet, and determine a policy group to which the packet belongs according to the service type; The final policy group of the message is determined according to the privilege level item of each policy group.
上述的报文处理系统, 还包括:  The above message processing system further includes:
一深度报文检测器,用于选取报文的多个字节, 与需要检测的内容进行比 较, 实现基于内容信息的检测, 并确定报文所属的策略组;  An in-depth packet detector is configured to select a plurality of bytes of the packet, compare the content to be detected, implement detection based on the content information, and determine a policy group to which the packet belongs;
所述策略路由转发路径选择子系统和一负荷分担转发链路选择子系统根 据策略组中的特权等级项确定报文的最终策略组。  The policy routing forwarding path selection subsystem and a load sharing forwarding link selection subsystem determine the final policy group of the message according to the privilege level item in the policy group.
为了更好的实现上述目的,本发明还提供了一种报文处理方法,包括如下 步骤:  In order to achieve the above objectives, the present invention further provides a packet processing method, including the following steps:
步骤 1, 策略分析器确定报文所属的策略组;  Step 1, the policy analyzer determines the policy group to which the message belongs;
步骤 2, 接口带宽利用率计算模块获取相关接口的实时带宽利用率, 链路 时延计算模块获取相关链路上的实时时延情况;  Step 2: The interface bandwidth utilization calculation module obtains the real-time bandwidth utilization of the relevant interface, and the link delay calculation module acquires the real-time delay on the relevant link.
步骤 3,策略路由转发路径选择子系统根据实时带宽利用率和实时时延情 况调整策略组与转发路径的关系,并根据报文的最终策略组査找并选择转发路 径; 和 /或  Step 3: The policy routing forwarding path selection subsystem adjusts the relationship between the policy group and the forwarding path according to the real-time bandwidth utilization and the real-time delay, and searches for and selects the forwarding path according to the final policy group of the packet; and/or
步骤 3 ', 负荷分担转发链路选择子系统根据实时带宽利用率和实时时延 情况调整策略组与转发链路的关系,并根据报文的最终策略组查找并选择转发 链路。  Step 3 ′, the load sharing and forwarding link selection subsystem adjusts the relationship between the policy group and the forwarding link according to the real-time bandwidth utilization and the real-time delay, and searches for and selects the forwarding link according to the final policy group of the packet.
上述的报文处理方法, 所述步骤 1中, 所述策略分析器根据源 IP地址、 目的 IP地址、 源端口号、 目的端口号、 协议类型及报文的大小、 报文的 MAC 地址、 VLA 、 802.1P, IP TOS字段、 五元组确定报文所属的策略组。  In the above packet processing method, in the step 1, the policy analyzer is based on the source IP address, the destination IP address, the source port number, the destination port number, the protocol type, the size of the packet, the MAC address of the packet, and the VLA. , 802.1P, IP TOS field, quintuple determines the policy group to which the message belongs.
上述的报文处理方法,所述步骤 1中还通过应用业务分析器识别报文的业 务类型,并根据业务类型确定报文所属的策略组,并根据策略组中的特权等级 项确定报文的最终策略组。 ,  In the above packet processing method, the service type analyzer identifies the service type of the packet, and determines the policy group to which the packet belongs according to the service type, and determines the packet according to the privilege level item in the policy group. Final strategy group. ,
上述的报文处理方法,所述步骤 1中还通过深度报文检测器选取报文的多 个字节, 与需要检测的内容进行比较, 实现基于内容信息的检测, 并确定报文 所属的策略组, 并根据策略组中的特权等级项确定报文的最终策略组。  In the above packet processing method, the step 1 also selects multiple bytes of the packet through the deep packet detector, compares with the content to be detected, implements detection based on the content information, and determines a policy to which the packet belongs. Group, and determine the final policy group of the message based on the privilege level item in the policy group.
上述的报文处理方法, 所述步骤 3具体包括:  In the above packet processing method, the step 3 specifically includes:
步骤 31, 策略路由策略管理模块接收并解析用户策略路由的配置命令, 并管理策略组与转发路径之间的对应关系;若用户配置动态策略路由模式,则 策略路由策略管理模块将实时收集相关接口带宽利用率和链路时延的情况; 步骤 32, 策略路由转发路径选择模块根据报文的策略组与转发路径之间 的对应关系查找并选择转发路径, 实现对报文的转发路径的控制的选择; 步骤 33, 在动态策略路由模式下, 当链路时延或带宽的实际利用率的域 值区间发生变化时,策略路由策略管理模块还更新报文的策略组与转发路径之 间的对应关系。 Step 31: The policy routing policy management module receives and parses the configuration command of the user policy routing, and manages the correspondence between the policy group and the forwarding path. If the user configures the dynamic policy routing mode, the policy routing policy management module collects related interfaces in real time. Bandwidth utilization and link delay; Step 32: The policy routing forwarding path selection module searches for and selects a forwarding path according to the correspondence between the policy group and the forwarding path of the packet, and implements control of selecting a forwarding path of the packet. Step 33: In the dynamic policy routing mode The policy routing policy management module also updates the correspondence between the policy group and the forwarding path of the packet when the link delay or the actual value range of the bandwidth usage changes.
上述的报文处理方法, 所述步骤 3,具体包括:  The foregoing packet processing method, the step 3, specifically includes:
步骤 31', 负荷分担策略管理模块接收并解析用户负荷分担的配置命令, 并管理负荷分担策略与转发链路的对应关系; 若用户配置动态负荷分担模式, 则负荷分担策略管理模块将实时收集相关接口带宽利用率和 /或链路时延的情 况;  Step 31 ′, the load sharing policy management module receives and parses the configuration command of the user load sharing, and manages the correspondence between the load sharing policy and the forwarding link. If the user configures the dynamic load sharing mode, the load sharing policy management module collects relevant correlations in real time. Interface bandwidth utilization and/or link delay;
步骤 32', 负荷分担转发链路选择模块根据负荷分担策略与转发链路之间 的对应关系表查找并选择转发链路, 实现对报文负荷分担的路径选择;  Step 32 ′, the load sharing and forwarding link selection module searches for and selects a forwarding link according to the correspondence table between the load sharing policy and the forwarding link, and implements path selection for packet load sharing;
步骤 33',在动态负荷分担模式下, 当链路时延或带宽的实际利用率的域 值区间发生变化时,负荷分担策略管理模块还更新策略组与转发链路之间的对 应关系表。  Step 33 ′, in the dynamic load sharing mode, when the domain delay of the link delay or the actual utilization of the bandwidth changes, the load sharing policy management module further updates the correspondence table between the policy group and the forwarding link.
和现有技术相比,本发明不但完善了基于业务应用的策略路由功能,实现 了基于用户配置的负荷分担执行策略,更是提供了一种动态调整策略路由转发 策略、动态调整负荷分担策略的实现方法和机制。网络管理者可以单独或者整 体部署动态的策略路由、动态的负荷分担这两种技术,对系统的负荷, 根据配 置的策略分担到不同的出接口、不同的链路上。本发明可以实现基于业务应用 和内容的策略路由, 并且可以根据出接口的带宽实际利用率、 链路实际时延, 动态的调整策略路由的策略;可以实现根据负荷分担链路的带宽权重、时延权 重等参数进行负荷分担链路的选择, 并可以根据分担链路的带宽实际利用率、 链路实际时延,动态的调整各条负荷分担链路的权重,提高了带宽利用率和网 络可靠性, 同时还提高网络业务服务质量。 附图说明  Compared with the prior art, the present invention not only improves the policy routing function based on the service application, but also implements the load sharing execution policy based on the user configuration, and provides a dynamic adjustment policy routing forwarding strategy and dynamic adjustment of the load sharing strategy. Implementation methods and mechanisms. The network administrator can deploy the dynamic policy routing and dynamic load sharing technologies separately or in the whole. The load on the system is allocated to different outbound interfaces and different links according to the configured policies. The present invention can implement the policy routing based on the service application and the content, and dynamically adjust the policy routing policy according to the actual bandwidth utilization of the outbound interface and the actual link delay; the bandwidth weight and time of the link can be shared according to the load. The weight-of-weight and other parameters are used to select the load-sharing link, and the weight of each load-sharing link can be dynamically adjusted according to the actual bandwidth utilization of the link and the actual link delay. Sex, while also improving the quality of network business services. DRAWINGS
图 1为本发明系统架构图;  1 is a system architecture diagram of the present invention;
图 2为本发明方法的策略路由流程图;  2 is a flow chart of policy routing of the method of the present invention;
图 3为本发明方法的负荷分担流程图。 具体实施方式 3 is a flow chart of load sharing of the method of the present invention. detailed description
如图 1所示, 本发明的报文处理系统包括基本策略分析器 101、 应用业务 识别器 102、 深度报文检测器 103、 策略路由转发路径选择模块 104、 负荷分 担转发链路选择模块 105、 策略路由策略管理模块 106、 负荷分担策略管理模 块 107、 接口带宽利用率计算模块 108、 链路时延计算模块 109, 其中:  As shown in FIG. 1, the message processing system of the present invention includes a basic policy analyzer 101, an application service identifier 102, a deep message detector 103, a policy routing forwarding path selection module 104, a load sharing forwarding link selection module 105, The policy routing policy management module 106, the load sharing policy management module 107, the interface bandwidth utilization calculation module 108, and the link delay calculation module 109, wherein:
基本策略分析器 101,用于根据用户的基本业务策略对进入系统的数据流 量进行策略组标记, 基本策略分析器根据用户配置的 ACL策略和用户配置的 基本业务类型在报文中的特征, 检测报文的源 IP地址、 目的 IP地址、 源端口 号、 目的端口号、 协议类型以及报文的大小、 报文的 MAC地址、 VLAN、 802.1P. IP TOS字段、 五元组进行解析, 确定报文所属的策略组, 并将该策略 组号将作为策略路由转发路径选择模块 104和 /或负荷分担转发链路选择模块 105的判断依据;  The basic policy analyzer 101 is configured to perform policy group marking on the data traffic entering the system according to the basic service policy of the user, and the basic policy analyzer detects the characteristics of the packet according to the ACL policy configured by the user and the basic service type configured by the user. Source IP address, destination IP address, source port number, destination port number, protocol type, packet size, packet MAC address, VLAN, 802.1P. IP TOS field, quintuple for packet parsing The policy group to which the file belongs, and the policy group number will be used as the judgment basis of the policy routing forwarding path selection module 104 and/or the load sharing forwarding link selection module 105;
应用业务识别器 102, 用于识别业务特征较复杂的应用, 其根据预先生成 的应用业务特征模板, 对报文中的业务特征及连接状态等进行识别, 识别业务 类型, 确定报文所属的策略组, 为策略路由转发路径选择模块 104和 /或负荷 分担转发链路选择模块 105提供判断依据;  The application service identifier 102 is configured to identify an application with a complex service feature, and identify a service feature and a connection status in the packet according to the pre-generated application service feature template, identify the service type, and determine a policy to which the message belongs. The group provides a judgment basis for the policy routing forwarding path selection module 104 and/or the load sharing forwarding link selection module 105;
深度报文检测器 103, 用于检测报文前 256 Bytes的内容, 用户可以在前 256Bytes的范围了, 任意选取若干各字节, 与需要检测的内容 (ASCII码值) 进行比较, 实现基于内容信息的检测功能, 确定报文所属的策略组, 为策略路 由转发路径选择模块 104和 /或负荷分担转发链路选择模块 105提供判断依据; 在每个策略组中包括一个特权等级项(Remark Level— 3bits位), 用于表 示该策略组的特权等级, 高特权等级的策略组, 将修改低特权等级的判断结 果;.低特权等级的策略组, 无权修改前面高特权等级的判断结果;.相同特权等 级时,后面的匹 Id将作为更精确的匹 会修改前面同特权等级的判断结果。  The deep packet detector 103 is configured to detect the content of the first 256 Bytes of the message, and the user can select a number of bytes in the range of the first 256 Bytes, and compare with the content to be detected (ASCII code value) to implement the content based on the content. The information detection function determines the policy group to which the message belongs, and provides a judgment basis for the policy routing forwarding path selection module 104 and/or the load sharing forwarding link selection module 105; includes a privilege level item (Remark Level) in each policy group. – 3 bits), used to indicate the privilege level of the policy group. The policy group with high privilege level will modify the judgment result of the low privilege level. The policy group with low privilege level has no right to modify the judgment result of the previous high privilege level. When the same privilege level is used, the subsequent match Id will be used as a more accurate match to modify the judgment result of the previous privilege level.
策略路由转发路径选择模块 1(H用于根据基本策略分析器 101和 /或应用 业务识别器 102和 /或深度报文检测器 103的策略组信息査找策略组与转发路 径之间的对应关系表,快速査找并选择转发路径,策略组与转发路径之间的对 应关系表由策略路由策略管理模块 106维护;  The policy routing forwarding path selection module 1 (H is configured to search for a correspondence table between the policy group and the forwarding path according to the policy group information of the basic policy analyzer 101 and/or the application service identifier 102 and/or the deep packet detector 103. Quickly find and select a forwarding path, and the correspondence between the policy group and the forwarding path is maintained by the policy routing policy management module 106;
负荷分担转发链路选择模块 105,用于根据基本策略分析器 101和 /或应用 业务识别器 102和 /或深度报文检测器 103的策略组信息查找策略组与转发链 路之间的对应关系表,快速査找并选择转发链路;策略组与转发链路之间的对 应关系表由负荷分担策略管理模块 107维护; A load sharing forwarding link selection module 105 for using the basic policy analyzer 101 and/or application The policy group information of the service identifier 102 and/or the deep packet detector 103 looks up the correspondence table between the policy group and the forwarding link, quickly finds and selects the forwarding link, and the correspondence between the policy group and the forwarding link. The table is maintained by the load sharing policy management module 107;
策略路由策略管理模块 106, 实现策略组与转发路径之间的对应关系表的 维护, 其处理流程如图 2所示, 包括如下步骤:  The policy routing policy management module 106 is configured to maintain the correspondence between the policy group and the forwarding path. The processing flow is as shown in Figure 2, and includes the following steps:
步骤 201, 接收并解析用户策略路由的配置命令; 相关的配置命令包括: 业务类型与策略组的对应关系;每个策略组的转发路径策略;是否采用动态策 略路由模式; (在采用动态策略路由模式下可配置)接口带宽利用率和 /或链路 时延的域值区间; 各策略组在每个域值区间的转发路径策略;  Step 201: Receive and parse a configuration command of a user policy route. Related configuration commands include: a correspondence between a service type and a policy group; a forwarding path policy of each policy group; whether a dynamic policy routing mode is adopted; Mode configurable) The interface bandwidth utilization and/or the link delay domain value interval; the forwarding path policy of each policy group in each domain value interval;
步骤 202, 判断用户是否采用了动态的策略路由技术, 如果是进入步骤 Step 202: Determine whether the user adopts a dynamic policy routing technology, if it is an entry step
203 , 否则进入步骤 205 ; ' 步骤 203, 检测链路时延、 带宽的实际利用率所在区间范围与上次检测的 链路时延、 实际带宽利用率所在的区间范围是否一致, 如果是(即所在区间没 有改变)继续监控链路的时延和实际带宽利用率, 否则进入步骤 204, 进入步 骤 204的判别条件包括两种情况:初次配置或链路时延、带宽的实际利用率所 在区间范围发生改变; 203, otherwise proceeds to step 205; 'Step 203, detecting whether the range of the link delay and the actual utilization rate of the bandwidth is consistent with the range of the last detected link delay and the actual bandwidth utilization interval, if yes (ie If there is no change in the interval, continue to monitor the delay of the link and the actual bandwidth utilization. Otherwise, go to step 204. The conditions for entering the step 204 include two cases: initial configuration or link delay, and the actual utilization range of the bandwidth. changes happened;
步骤 204, 把新区间 (或初始区间) 的策略组与转发路径的关系通告给策 略路由转发路径选择模块;  Step 204: Advertise the relationship between the policy group of the new interval (or the initial interval) and the forwarding path to the policy routing forwarding path selection module.
步骤 205,策略路由策略管理模块采用 HASH表和链表的方式维护业务类 型与用户策略组,用户的策略组与转发路径的关系, 并通告给基本策略分析器 101和 /或应用业务识别器 102和 /或深度报文检测器 103和策略路由转发路径 选择模块 104。  Step 205: The policy routing policy management module uses the HASH table and the linked list to maintain the relationship between the service type and the user policy group, the user's policy group and the forwarding path, and notifies the basic policy analyzer 101 and/or the application service identifier 102 and / or deep message detector 103 and policy routing forwarding path selection module 104.
负荷分担策略管理模块 107, 实现负荷分担策略与转发链路的关系维护, 其处理流程如图 2所示, 包括如下步骤: .  The load sharing policy management module 107 implements the relationship maintenance between the load sharing policy and the forwarding link. The processing flow is as shown in FIG. 2, and includes the following steps:
步骤 301, 接收并解析用户负荷分担的配置命令; 相关的配置命令包括: 业务类型与策略组的对应关系;每个策略组的转发链路策略;是否采用动态负 荷分担模式; (在采用动态负荷分担模式下可配置)接口带宽利用率和 /或链路 时延的域值区间; 各策略组在每个域值区间的链路选择策略;  Step 301: Receive and parse a configuration command of user load sharing; related configuration commands include: a correspondence between a service type and a policy group; a forwarding link policy of each policy group; whether a dynamic load sharing mode is adopted; The configurable interface bandwidth utilization and/or link delay domain value interval in the shared mode; the link selection policy of each policy group in each domain value interval;
步骤 302,判断用户是否采用了动态的负荷分担技术如果是进入步骤 303, 否则进入步骤 305; 步骤 303, 检测链路时延、 带宽的实际利用率所在区间范围与上次检测的 链路时延、 实际带宽利用率所在的区间范围是否一致,如果是(即所在区间没 有改变)继续监控链路的时延和实际带宽利用率, 否则进入步骤 304, 进入步 骤 304的判别条件包括两种情况:初次配置或链路时延、 带宽的实际利用率所 在区间范围发生改变; Step 302, it is determined whether the user has adopted dynamic load sharing technology, if it is to step 303, otherwise proceeds to step 305; Step 303: Check whether the link delay and the actual bandwidth utilization range of the link are consistent with the range of the last detected link delay and the actual bandwidth utilization, and if yes (ie, the interval does not change), continue to monitor the chain. The delay of the path and the actual bandwidth utilization. Otherwise, the process proceeds to step 304. The determination condition for entering the step 304 includes two cases: the initial configuration or the link delay, and the range of the actual utilization of the bandwidth changes.
步骤 304, 把新区间 (或初始区间) 的相关权重信息经过处理后, 将策略 与分担链路的关系发送给负荷分担链路选择模块;  Step 304: After the relevant weight information of the new interval (or the initial interval) is processed, the relationship between the policy and the shared link is sent to the load sharing link selection module.
步骤 305,负荷分担策略管理模块采用 HASH表和链表的方式维护业务类 型与用户策略组, 用户的策略组与转发路径的关系, 并通告给基本策略分析器 101和 /或应用业务识别器 102和 /或深度报文检测器 103和负荷分担转发链路 选择模块 105。  Step 305: The load sharing policy management module uses the HASH table and the linked list to maintain the relationship between the service type and the user policy group, the user's policy group and the forwarding path, and notifies the basic policy analyzer 101 and/or the application service identifier 102 and / or depth message detector 103 and load sharing forwarding link selection module 105.
接口带宽利用率计算模块 108, 用于计算相关接口的实时带宽利用率, 为 基于带宽策略的应用提供决策依据。  The interface bandwidth utilization calculation module 108 is configured to calculate real-time bandwidth utilization of the relevant interface, and provide a decision basis for the application based on the bandwidth policy.
链路时延计算模块 109, 用于计算相关链路上的实时时延情况, 为基于时 延的策略的应用提供决策依据, 链路时延计算可以采用 RFC3763 OWAMP(One-way Active Measurement Protocol)或其他方法。  The link delay calculation module 109 is configured to calculate a real-time delay on the relevant link, and provides a decision basis for the application of the delay-based policy. The link delay calculation can be performed by using the RFC3763 OWAMP (One-way Active Measurement Protocol). Or other methods.
结合图 1所示, 本发明的报文处理系统实现基于业务应用的策略路由时, 基本策略分析器 101可根据源 IP地址、 目的 IP地址、源端口号、 目的端口号、 协议类型以及报文的大小、 报文的 MAC地址、 VLAN、 802.1P. IP TOS字段 进行解析, 并根据这些信息, 绑定相关的策略组, 在此基础上, 网络设备在收 到报文后, 由应用业务识别器 102将报文内容与内部模板中的业务特征进行比 较, 识别应用业务的类型后, 由策略路由转发路径选择模块 104根据应用业务 的类型,并结合策略组与转发路径之间的对应关系表进行策略路由, 实现基于 业务的策略路由功能。 在本发明的应用业务分析器中, 带有报文深度检测器 103, 可以检测报文的前 256 Bytes中任何内容, 即用户可以根据前 256Bytes 中任何字节的内容进行策略路由, 实现基于内容信息的策略路由功能。  As shown in FIG. 1, when the packet processing system of the present invention implements policy routing based on service applications, the basic policy analyzer 101 can be based on a source IP address, a destination IP address, a source port number, a destination port number, a protocol type, and a packet. The size of the packet, the MAC address of the packet, the VLAN, and the 802.1P. IP TOS field are parsed, and the relevant policy group is bound according to the information. On this basis, after receiving the packet, the network device is identified by the application service. The device 102 compares the content of the packet with the service feature in the internal template, and after identifying the type of the application service, the policy routing forwarding path selection module 104 combines the type of the application service with the correspondence between the policy group and the forwarding path. Perform policy routing to implement service-based policy routing. In the application service analyzer of the present invention, the packet depth detector 103 can detect any content in the first 256 Bytes of the packet, that is, the user can perform policy routing according to the content of any byte in the first 256 Bytes, and implement the content based on the content. Policy routing function for information.
本发明的报文处理系统实现负荷分担时,对负荷分担的报文, 可以根据源 地址和目的地址对进行运算后, 在按照配置的出口链路带宽权重, 对流量负荷 进行分担。  When the packet processing system of the present invention implements load balancing, the load-sharing packet can be shared according to the configured egress link bandwidth weight according to the configured source link and the destination address pair.
本发明提供了的基于业务类型、出口链路时延权重和出口链路带宽权重的 负荷分担转发机制,本发明的报文处理系统通过应用业务分析器实现对业务的 区分, 再根据出口链路带宽权重和出口链路的时延权重, 选择转发路径, 实现 负荷的分担。 例如在业务量较小时, 可以根据出口链路带宽或时延负荷分担, 在业务量上升以后, 需要根据业务类型、出口链路时延权重和出口链路带宽权 重进行负荷分担。 The invention provides based on traffic type, egress link delay weight and egress link bandwidth weight The load sharing and forwarding mechanism is adopted. The packet processing system of the present invention implements the service differentiation by applying the service analyzer, and then selects the forwarding path according to the bandwidth weight of the egress link and the delay weight of the egress link to implement load sharing. For example, when the traffic is small, the load can be shared according to the egress link bandwidth or the delay load. After the traffic increases, the load balancing needs to be performed according to the service type, the egress link delay weight, and the egress link bandwidth weight.
本发明的报文处理系统实现策略路由的动态调整时,即根据用户配置的策 略、 定时检测出接口的实际带宽利用率、 出接口的实际网络时延, 动态对报文 的转发路径进行控制和选择。  When the packet processing system of the present invention implements dynamic adjustment of the policy routing, the packet forwarding path is dynamically controlled according to the policy configured by the user, the actual bandwidth utilization of the interface, and the actual network delay of the outbound interface. select.
在负荷分担转发机制中出口路径的选择如果只按照固定的带宽权重或时 延权重是不能完全实际网络应用的要求的。 例如, 因为网络拓扑、 网络流量分 布、网络设备自身运行状态等情况的变化会引起某条路径上的时延出现较大的 改变。 另外网络管理者希望在网络带宽利用率达到不同的程度时, 采用不同的 带宽权重, 并配合业务类型进行有区别的路径选择, 保证高优先级的业务尽可 能的得到优先保证。本发明的报文处理系统实现负荷分担的动态调整时,根据 用户配置的策略、定时检测接口的实际带宽利用率、 负荷分担路径上的网络时 延, 动态的调整负荷分担各路径的带宽权重、 时延权重, 实现负荷分担的路径 选择。  In the load-sharing forwarding mechanism, the selection of the egress path cannot be completely required by the actual network application if it is only based on a fixed bandwidth weight or a delay weight. For example, changes in network topology, network traffic distribution, and network device operating state can cause large changes in latency on a path. In addition, the network administrator wants to use different bandwidth weights when the network bandwidth usage reaches different levels, and performs differentiated path selection according to the service type to ensure that the high-priority services are guaranteed as much as possible. When the packet processing system of the present invention implements dynamic load balancing, the bandwidth of each path is dynamically adjusted according to the policy configured by the user, the actual bandwidth utilization of the timing detection interface, and the network delay on the load sharing path. Delay weights, path selection for load sharing.
本发明的报文处理系统实现策略路由的动态调整和负荷分担的动态调整 时, 根据用户配置的策略、 定时检测出接口的实际带宽利用率、 出接口的实际 网络时延, 动态对报文的转发路径进行控制和选择, 同时根据用户配置的策 略、 定时检测接口的实际带宽利用率、 负荷分担路径上的网络时延, 动态的调 整负荷分担各路径的带宽权重、 时延权重, 实现负荷分担的路径选择。  When the packet processing system of the present invention implements the dynamic adjustment of the policy routing and the dynamic adjustment of the load sharing, the packet is dynamically updated according to the policy configured by the user, the actual bandwidth utilization of the interface, and the actual network delay of the outgoing interface. The forwarding path is controlled and selected. At the same time, according to the user-configured policy, the actual bandwidth utilization of the interface, and the network delay on the load-sharing path, the load balancing of the bandwidth weights and delay weights of each path is dynamically adjusted to achieve load sharing. Path selection.
当然, 本发明还可有其他多种实施例, 在不背离本发明精神及其实质的情 况下, 熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形, 但 这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。 工业应用性  Of course, the present invention may be embodied in various other various modifications and changes without departing from the spirit and scope of the invention. Changes and modifications are intended to be included within the scope of the appended claims. Industrial applicability
本发明不但完善了基于业务应用的策略路由功能,实现了基于用户配置的 负荷分担执行策略,更是提供了一种动态调整策略路由转发策略、动态调整负 荷分担策略的实现方法和机制。网络管理者可以单独或者整体部署动态的策略 路由、动态的负荷分担这两种技术,对系统的负荷, 根据配置的策略分担到不 同的出接口、不同的链路上。本发明可以实现基于业务应用和内容的策略路由, 并且可以根据出接口的带宽实际利用率、链路实际时延,动态的调整策略路由 的策略;可以实现根据负荷分担链路的带宽权重、时延权重等参数进行负荷分 担链路的选择, 并可以根据分担链路的带宽实际利用率、链路实际时延, 动态 的调整各条负荷分担链路的权重,提高了带宽利用率和网络可靠性, 同时还提 高了网络业务服务质量。 The invention not only improves the policy routing function based on the service application, but also implements the load sharing execution strategy based on the user configuration, and provides a method and a mechanism for dynamically adjusting the policy routing forwarding policy and dynamically adjusting the load sharing strategy. Network managers can deploy dynamic policies individually or collectively Routing and dynamic load sharing are two technologies. The load on the system is distributed to different outbound interfaces and different links according to the configured policies. The present invention can implement the policy routing based on the service application and the content, and dynamically adjust the policy routing policy according to the actual bandwidth utilization of the outbound interface and the actual link delay; the bandwidth weight and time of the link can be shared according to the load. The parameters such as the delay weight are used to select the load sharing link, and the weight of each load sharing link can be dynamically adjusted according to the actual bandwidth utilization of the link and the actual link delay, thereby improving bandwidth utilization and network reliability. Sex, but also improve the quality of network business services.

Claims

权利要求书 Claim
1、 一种报文处理系统, 其特征在于, 包括- 一策略分析器, 用于确定报文所属的策略组; A packet processing system, comprising: a policy analyzer, configured to determine a policy group to which a message belongs;
一接口带宽利用率计算模块, 用于获取相关接口的实时带宽利用率; 一链路时延计算模块, 用于获取相关链路上的实时时延情况;  An interface bandwidth utilization calculation module, configured to acquire real-time bandwidth utilization of the relevant interface; a link delay calculation module, configured to acquire real-time delay on the relevant link;
一策略路由转发路径选择子系统和 /或一负荷分担转发链路选择子系统; 策略路由转发路径选择子系统用于根据实时带宽利用率和实时时延情况 调整策略组与转发路径的关系, 并根据报文的最终策略组査找并选择转发路 径;  a policy routing forwarding path selection subsystem and/or a load sharing forwarding link selection subsystem; the policy routing forwarding path selection subsystem is configured to adjust a relationship between the policy group and the forwarding path according to real-time bandwidth utilization and real-time delay conditions, and Find and select the forwarding path based on the final policy group of the message;
负荷分担转发链路选择子系统根据实时带宽利用率和实时时延情况调整 策略组与转发链路的关系, 并根据报文的最终策略组査找并选择转发链路。  The load sharing forwarding link selection subsystem adjusts the relationship between the policy group and the forwarding link according to the real-time bandwidth utilization and real-time delay, and searches for and selects the forwarding link according to the final policy group of the packet.
2、 根据权利要求 1所述的报文处理系统, 其特征在于, 所述策略分析器 根据源 IP地址、 目的 IP地址、 源端口号、 目的端口号、 协议类型以及报文的 大小、 报文的 MAC地址、 VLAN、 802.1P. IP TOS字段、 五元组确定报文所 属的策略组。  The packet processing system according to claim 1, wherein the policy analyzer is configured according to a source IP address, a destination IP address, a source port number, a destination port number, a protocol type, and a packet size, and a packet. MAC address, VLAN, 802.1P. IP TOS field, quintuple determines the policy group to which the message belongs.
3、 根据权利要求 1或 2所述的报文处理系统, 其特征在于, 还包括- 一应用业务分析器,用于识别报文的业务类型,并根据业务类型确定报文 所属的策略组; .  The packet processing system according to claim 1 or 2, further comprising: an application service analyzer, configured to identify a service type of the packet, and determine a policy group to which the packet belongs according to the service type; .
报文的最终策略组根据各策略组的特权等级项确定。  The final policy group of the message is determined according to the privilege level item of each policy group.
4、 根据权利要求 1或 2所述的报文处理系统, 其特征在于, 还包括: 一深度报文检测器,用于选取报文的多个字节, 与需要检测的内容进行比 较, 实现基于内容信息的检测, 并确定报文所属的策略组;  The packet processing system according to claim 1 or 2, further comprising: a deep packet detector, configured to select a plurality of bytes of the packet, and compare the content to be detected, to implement Based on the detection of the content information, and determining the policy group to which the message belongs;
报文的最终策略组根据各策略组的特权等级项确定。  The final policy group of the message is determined according to the privilege level item of each policy group.
5、 根据权利要求 1或 2所述的报文处理系统, 其特征在于, 所述策略路 由转发^ ^径选择子系统包括:  The packet processing system according to claim 1 or 2, wherein the policy routing forwarding system comprises:
一策略路由策略管理模块,用于接收并解析用户策略路由的配置命令,并 根据实时带宽利用率和实时时延情况调整策略组与转发路径的关系;  a policy routing policy management module, configured to receive and parse a configuration command of a user policy route, and adjust a relationship between the policy group and the forwarding path according to real-time bandwidth utilization and real-time delay;
一策略路由转发路径选择模块,用于根据报文的策略组与及策略组与转发 路径的对应关系查找并选择转发路径。 A policy routing forwarding path selection module is configured to find and select a forwarding path according to a policy group of the packet and a corresponding relationship between the policy group and the forwarding path.
6、 根据权利要求 1或 2所述的报文处理系统, 其特征在于, 所述负荷分 担转发链路选择子系统包括: The packet processing system according to claim 1 or 2, wherein the load sharing forwarding link selection subsystem comprises:
一负荷分担策略管理模块,用于接收并解析用户负荷分担的配置命令,并 根据实时带宽利用率和实时时延情况管理报文策略组与转发链路的对应关系; 一负荷分担转发链路选择模块,用于根据报文策略组及报文策略组与转发 链路的对应关系表查找并选择转发链路。  A load sharing policy management module is configured to receive and parse a configuration command of a user load sharing, and manage a correspondence between a packet policy group and a forwarding link according to real-time bandwidth utilization and real-time delay; The module is configured to search for and select a forwarding link according to a correspondence between a packet policy group and a packet policy group and a forwarding link.
7、 一种报文处理方法, 其特征在于, 包括如下步骤:  7. A message processing method, comprising: the following steps:
步骤 1, 策略分析器确定报文所属的策略组;  Step 1, the policy analyzer determines the policy group to which the message belongs;
步骤 2, 接口带宽利用率计算模块获取相关接口的实时带宽利用率, 链路 时延计算模块获取相关链路上的实时时延情况;  Step 2: The interface bandwidth utilization calculation module obtains the real-time bandwidth utilization of the relevant interface, and the link delay calculation module acquires the real-time delay on the relevant link.
步骤 3, 策略路由转发路径选择子系统根据实时带宽利用率和实时时延情 况调整策略组与转发路径的关系,并根据报文的最终策略组查找并选择转发路 径; 和 /或  Step 3: The policy routing forwarding path selection subsystem adjusts the relationship between the policy group and the forwarding path according to the real-time bandwidth utilization and the real-time delay, and searches for and selects the forwarding path according to the final policy group of the packet; and/or
步骤 3 ', 负荷分担转发链路选择子系统根据实时带宽利用率和实时时延 情况调整策略组与转发链路的关系,并根据报文的最终策略组査找并选择转发 链路。  Step 3 ′, the load sharing and forwarding link selection subsystem adjusts the relationship between the policy group and the forwarding link according to the real-time bandwidth utilization and the real-time delay, and searches for and selects the forwarding link according to the final policy group of the packet.
8、 根据权利要求 7所述的报文处理方法, 其特征在于, 所述步骤 1中, 所述策略分析器根据源 IP地址、 目的 IP地址、 源端口号、 目的端口号、 协议 类型及报文的大小、 报文的 MAC地址、 VLAN、 802.1P、 IP TOS字段、 五元 组确定报文所属的策略组。 .  The packet processing method according to claim 7, wherein in the step 1, the policy analyzer is based on a source IP address, a destination IP address, a source port number, a destination port number, a protocol type, and a report. The size of the text, the MAC address of the packet, the VLAN, the 802.1P, the IP TOS field, and the quintuple determine the policy group to which the packet belongs. .
9、 根据权利要求 7或 8所述的报文处理方法, 其特征在于, 所述步骤 1 中还通过应用业务分析器识别报文的业务类型,并根据业务类型确定报文所属 的策略组, 并根据策略组中的特权等级项确定报文的最终策略组。  The packet processing method according to claim 7 or 8, wherein the step 1 further identifies the service type of the packet by using the service analyzer, and determines the policy group to which the packet belongs according to the service type. The final policy group of the message is determined according to the privilege level item in the policy group.
10、 根据权利要求 7或 8所述的报文处理方法, 其特征在于, 所述步骤 1 中还通过深度 文检测器选取报文的多个字节, 与需要检测的内容进行比较, 实现基于内容信息的检测,并确定报文所属的策略组,并根据策略组中的特权 等级项确定报文的最终策略组。  The packet processing method according to claim 7 or 8, wherein in step 1, the plurality of bytes of the message are selected by the depth text detector, and compared with the content to be detected, The content information is detected, and the policy group to which the packet belongs is determined, and the final policy group of the packet is determined according to the privilege level item in the policy group.
11、 根据权利要求 7或 8所述的报文处理方法, 其特征在于, 所述步骤 3 具体包括:  The packet processing method according to claim 7 or 8, wherein the step 3 specifically includes:
步骤 31, 策略路由策略管理模块接收并解析用户策略路由的配置命令, 并管理策略组与转发路径之间的对应关系;若用户配置动态策略路由模式,则 策略路由策略管理模块将实时收集相关接口带宽利用率和链路时延的情况; 步骤 32, 策略路由转发路径选择模块根据报文的策略组与转发路径之间 的对应关系查找并选择转发路径, 实现对报文的转发路径的控制的选择; Step 31: The policy routing policy management module receives and parses a configuration command of the user policy route, And managing the correspondence between the policy group and the forwarding path; if the user configures the dynamic policy routing mode, the policy routing policy management module collects the bandwidth utilization and link delay of the relevant interface in real time; Step 32, Policy routing forwarding path The selection module searches for and selects a forwarding path according to the correspondence between the policy group and the forwarding path of the packet, and implements selection of control of the forwarding path of the packet;
步骤 33, 在动态策略路由模式下, 当链路时延或带宽的实际利用率的域 值区间发生变化时,策略路由策略管理模块还更新报文的策略组与转发路径之 间的对应关系。  Step 33: In the dynamic policy routing mode, when the domain delay of the link delay or the actual utilization of the bandwidth changes, the policy routing policy management module further updates the correspondence between the policy group and the forwarding path of the packet.
12、根据权利要求 7或 8所述的报文处理方法,其特征在于,所述步骤 3' 具体包括: ,  The packet processing method according to claim 7 or 8, wherein the step 3' specifically includes:
步骤 3Γ, 负荷分担策略管理模块接收并解析用户负荷分担的配置命令, 并管理负荷分担策略与转发链路的对应关系; 若用户配置动态负荷分担模式, 则负荷分担策略管理模块将实时收集相关接口带宽利用率和 /或链路时延的情 况;  Step 3: The load sharing policy management module receives and parses the configuration command of the user load sharing, and manages the correspondence between the load sharing policy and the forwarding link. If the user configures the dynamic load sharing mode, the load sharing policy management module collects relevant interfaces in real time. Bandwidth utilization and/or link delay;
步骤 32', 负荷分担转发链路选择模块根据负荷分担策略与转发链路之间 的对应关系表查找并选择转发链路, 实现对报文负荷分担的路径选择;  Step 32 ′, the load sharing and forwarding link selection module searches for and selects a forwarding link according to the correspondence table between the load sharing policy and the forwarding link, and implements path selection for packet load sharing;
步骤 33',在动态负荷分担模式下, 当链路时延或带宽的实际利用率的域 值区间发生变化时,负荷分担策略管理模块还更新策略组与转发链路之间的对 应关系表。  Step 33 ′, in the dynamic load sharing mode, when the domain delay of the link delay or the actual utilization of the bandwidth changes, the load sharing policy management module further updates the correspondence table between the policy group and the forwarding link.
PCT/CN2005/002342 2005-12-28 2005-12-28 A system and method for processing message WO2007073620A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2005/002342 WO2007073620A1 (en) 2005-12-28 2005-12-28 A system and method for processing message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2005/002342 WO2007073620A1 (en) 2005-12-28 2005-12-28 A system and method for processing message

Publications (1)

Publication Number Publication Date
WO2007073620A1 true WO2007073620A1 (en) 2007-07-05

Family

ID=38217666

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2005/002342 WO2007073620A1 (en) 2005-12-28 2005-12-28 A system and method for processing message

Country Status (1)

Country Link
WO (1) WO2007073620A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140245325A1 (en) * 2013-02-27 2014-08-28 International Business Machines Corporation Link optimization for callout request messages
CN107995109A (en) * 2016-10-27 2018-05-04 中国电信股份有限公司 Method for routing and routing device
CN108882309A (en) * 2018-06-06 2018-11-23 四川斐讯信息技术有限公司 A kind of method and system with big data analysis adjustment service bandwidth
CN111314236A (en) * 2020-04-14 2020-06-19 杭州迪普科技股份有限公司 Message forwarding method and device
CN114039979A (en) * 2021-11-22 2022-02-11 华平智慧信息技术(深圳)有限公司 Load balancing method, device, equipment and storage medium in link aggregation
CN114095421A (en) * 2020-07-30 2022-02-25 深信服科技股份有限公司 Network routing method, device, equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040213201A1 (en) * 2003-04-28 2004-10-28 Hakan Osterlund Policy based media path selection in a broadband access network
CN1601975A (en) * 2004-09-29 2005-03-30 重庆邮电学院 Packet-switcher flow monitoring and inquiry method and line card picker
JP2005151533A (en) * 2003-11-12 2005-06-09 Hitachi Ltd SESSION QoS CONTROL APPARATUS

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040213201A1 (en) * 2003-04-28 2004-10-28 Hakan Osterlund Policy based media path selection in a broadband access network
JP2005151533A (en) * 2003-11-12 2005-06-09 Hitachi Ltd SESSION QoS CONTROL APPARATUS
CN1601975A (en) * 2004-09-29 2005-03-30 重庆邮电学院 Packet-switcher flow monitoring and inquiry method and line card picker

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140245325A1 (en) * 2013-02-27 2014-08-28 International Business Machines Corporation Link optimization for callout request messages
US9823951B2 (en) * 2013-02-27 2017-11-21 International Business Machines Corporation Link optimization for callout request messages
US10621018B2 (en) 2013-02-27 2020-04-14 International Business Machines Corporation Link optimization for callout request messages
US11249826B2 (en) 2013-02-27 2022-02-15 International Business Machines Corporation Link optimization for callout request messages
CN107995109A (en) * 2016-10-27 2018-05-04 中国电信股份有限公司 Method for routing and routing device
CN108882309A (en) * 2018-06-06 2018-11-23 四川斐讯信息技术有限公司 A kind of method and system with big data analysis adjustment service bandwidth
CN111314236A (en) * 2020-04-14 2020-06-19 杭州迪普科技股份有限公司 Message forwarding method and device
CN114095421A (en) * 2020-07-30 2022-02-25 深信服科技股份有限公司 Network routing method, device, equipment and computer readable storage medium
CN114095421B (en) * 2020-07-30 2023-12-29 深信服科技股份有限公司 Network routing method, device, equipment and computer readable storage medium
CN114039979A (en) * 2021-11-22 2022-02-11 华平智慧信息技术(深圳)有限公司 Load balancing method, device, equipment and storage medium in link aggregation

Similar Documents

Publication Publication Date Title
US20230006929A1 (en) Method and system of application-aware routing with crowdsourcing
US11374904B2 (en) Method and system of a cloud-based multipath routing protocol
US10644978B2 (en) Latency increase estimated rate limiter adjustment
US10164886B2 (en) Route optimization using measured congestion
CN114073052B (en) Systems, methods, and computer readable media for slice-based routing
US9647937B1 (en) Policy control using software defined network (SDN) protocol
US8665892B2 (en) Method and system for adaptive queue and buffer control based on monitoring in a packet network switch
US8125904B2 (en) Method and system for adaptive queue and buffer control based on monitoring and active congestion avoidance in a packet network switch
CN111682952B (en) On-demand probing for quality of experience metrics
US9071529B2 (en) Method and apparatus for accelerating forwarding in software-defined networks
US8503307B2 (en) Distributing decision making in a centralized flow routing system
US9807016B1 (en) Reducing service disruption using multiple virtual IP addresses for a service load balancer
WO2016162833A1 (en) Method and system for traffic pattern generation in a software-defined networking (sdn) system
US8964766B2 (en) Session relay equipment and session relay method
WO2007073620A1 (en) A system and method for processing message
WO2013107196A1 (en) Policy based routing method and device
Jurkiewicz et al. Testing implementation of FAMTAR: Adaptive multipath routing
Krishnan et al. Mechanisms for optimizing link aggregation group (LAG) and equal-cost multipath (ECMP) component link utilization in networks
Moubarak et al. Design and implementation of BGP novel control mechanism (BGP-NCM) based on network performance parameters
Kurniawan et al. Network slicing on SDN using FlowVisor and POX controller to traffic isolation enforcement
US11470007B2 (en) Bandwidth-control policers in a network adapter
Cisco VoIP Interoperability with Cisco Express Forwarding and Policy Based Routing
Sharma Towards high quality and flexible future Internet architectures
Ghanwani et al. Internet Engineering Task Force (IETF) R. Krishnan Request for Comments: 7424 Brocade Communications Category: Informational L. Yong
Banu Efficient Load balancing techniques for VoIP applications

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 05824252

Country of ref document: EP

Kind code of ref document: A1