WO2009132568A1 - 服务质量控制方法及网络设备 - Google Patents

服务质量控制方法及网络设备 Download PDF

Info

Publication number
WO2009132568A1
WO2009132568A1 PCT/CN2009/071453 CN2009071453W WO2009132568A1 WO 2009132568 A1 WO2009132568 A1 WO 2009132568A1 CN 2009071453 W CN2009071453 W CN 2009071453W WO 2009132568 A1 WO2009132568 A1 WO 2009132568A1
Authority
WO
WIPO (PCT)
Prior art keywords
multicast
packet
node
quality
configuration information
Prior art date
Application number
PCT/CN2009/071453
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 WO2009132568A1 publication Critical patent/WO2009132568A1/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/30Routing of multiclass traffic

Definitions

  • the present invention relates to the field of communications, and in particular, to a service quality control method and a corresponding network device. Background technique
  • IP Internet Protocol
  • QoS Quality of Service
  • the service quality control is based on certain rules. Different incoming packets are assigned different priorities, different bandwidths and congestion thresholds are set, and finally the packet forwarding quality is controlled.
  • Multicast that is, multicast, is a single incoming message, and one or more outgoing packets are forwarded.
  • a Hierarchical and Sequential Address Packet Network (HSAP) is proposed, such as a public telecommunication packet data network, which includes an HSAPN network and simultaneously accesses multiple IP networks and ATM networks. Or FR network.
  • HSAPN network accesses multiple IP networks at the same time. All devices in the HSAPN network are assigned HSAPN addresses. All devices in the IP network are assigned IP addresses. The edge devices are also assigned HSAPN addresses and IP addresses.
  • the IP network is connected to the HSAPN network through the edge device, and the mapping relationship between the IP address and the HSAPN address is saved in the Within the address translation device.
  • the IP network side When the IP network side needs to access the data in the HSAPN network or through the HSAPN network, the IP network side forwards the packet to the edge device.
  • the edge device translates the address of the IP network side into HSAPN by querying the address mapping table in the address translation device. The address is then forwarded to the next hop router, which enables the IP network to access the HSAPN network.
  • the inventors found that in the above-mentioned existing HSAPN network, when multicast forwarding, there is a lack of QoS control.
  • the embodiment of the present invention provides a service quality control method, and a network device, in the HPAPN network, provides QoS control when multicast packets are forwarded.
  • an embodiment of the present invention provides a service quality control method, including:
  • the embodiment of the invention further provides a service quality control method, including:
  • an embodiment of the present invention further provides a network device, including:
  • a first identifying unit configured to identify a multicast packet type of the received multicast packet
  • a first acquiring unit configured to acquire preset quality of service configuration information corresponding to the multicast packet type
  • a first quality of service control unit configured to configure the information according to the multicast quality of service Broadcast messages for service quality control.
  • the embodiment of the invention further provides a network device, including:
  • a second identifying unit configured to identify a node packet type of the node packet generated by the copying the multicast packet, where the second acquiring unit is configured to obtain the preset quality of service configuration information corresponding to the node packet type;
  • a second quality of service control unit configured to perform quality of service control on the node message according to the quality of service configuration information.
  • the embodiment of the present invention is configured to identify a multicast packet type of the received multicast packet, obtain a preset quality of service configuration information corresponding to the multicast packet type, and configure information according to the quality of service. Implementing quality of service control on the multicast packet.
  • the embodiment of the present invention may further implement the node packet type identifier information of the node packet corresponding to each target node generated by the multicast packet copying, and obtain the node with the node packet type identifier information according to the node packet type identifier information.
  • the QoS control of the node packets corresponding to each leaf node generated after the multicast message and/or the multicast message is copied in the new public packet telecommunication data network is implemented in the embodiment of the present invention. Reliable service quality assurance.
  • FIG. 1 is a schematic flow chart of a first embodiment of a service quality control method according to the present invention
  • FIG. 2 is a schematic flowchart of a second embodiment of a service quality control method according to the present invention
  • FIG. 3 is a service quality control method according to the present invention. Schematic diagram of the flow of the three embodiments
  • 4 is a schematic diagram of a first embodiment of a network device according to the present invention
  • FIG. 5 is a schematic diagram of a second embodiment of a network device according to the present invention
  • FIG. 6 is a schematic diagram of a third embodiment of a network device according to the present invention.
  • FIG. 1 it is a schematic flowchart of a first embodiment of service quality control according to the present invention, including:
  • the multicast packet is parsed, the multicast source address of the multicast message and the multicast group address information are obtained, and then according to the group.
  • the multicast source address and multicast group address information of the broadcast message are queried and the preset multicast file type identifier corresponding to the multicast source address information and the multicast group address information is obtained.
  • the preset QoS configuration information corresponding to the multicast packet type is obtained according to the multicast text type identifier.
  • the multicast packet can be classified according to the multicast source address and the multicast group address information.
  • the manner of classifying the multicast packet is not limited to the specific implementation manner, such as the multicast source address and the multicast group.
  • the cornerstone of the address information can be added to the time segment information to classify the multicast packets.
  • QoS control on the multicast text is implemented according to QoS configuration information, such as priority, bandwidth configuration, and congestion threshold.
  • the embodiment of the present invention sets the multicast QoS identifier table and the multicast QoS configuration information table to classify the multicast packet and save the corresponding QoS configuration information, where the configuration information includes: Bandwidth, congestion threshold, etc.
  • the multicast QoS identifier table can be as shown in Table 1:
  • the multicast QoS configuration information table can be as shown in Table 2:
  • the multicast QoS unique identifier described in Table 1 is a descriptor corresponding to a unique multicast source address and a multicast group address combination, and may be an integer constant, a string, or an operating system.
  • the multicast QoS unique identifier is used as a specific implementation of the multicast packet type identifier in this example.
  • the router when the QoS control described in this example is implemented in the router, after receiving the multicast packet, the router obtains the multicast source address and the multicast group address information of the multicast message according to the multicast source address and The multicast group address information obtains the corresponding multicast QoS unique identifier from Table 1, and then obtains corresponding QoS configuration information from Table 2 by using the multicast QoS unique identifier, and then implements the multicast report by using the QoS configuration information.
  • the text performs QoS control.
  • you want to assign the same QoS configuration information to multicast packets with certain multicast source addresses and multicast group address combinations you can set the same group for these multicast source addresses and multicast group address combinations.
  • Broadcast QoS unique identifier as shown in Table 1, assigning the same multicast QoS unique identifier (SG) to (S3, G3) and (S4, G4), which implements pairs (S3, G3) and (S4, G4)
  • the multicast source address corresponding to the multicast source address and the multicast group address combination implements the same QoS control.
  • this example can implement the same quality of service control for certain multicast messages, especially for the multicast source address and multicast group address that are not defined in the multicast QoS identifier table.
  • the combined message provides default quality of service control.
  • the combination of the source address and the group address (SI, G2) is used to check whether the same table exists in Table 1.
  • G2) if there is no combination of the same source address and group address and the corresponding identifier SI G2, the received multicast message is sent to the forwarding queue of the ordinary multicast message.
  • the QoS control of the multicast packet can be implemented.
  • the television station S1 and the television station S2 perform television broadcast on other areas through the network, and the multicast group address used for forwarding the message is G1.
  • G2 Since the quality of service purchased by the TV station SI at the operator is different from the quality of service purchased by the TV station S2, the router performs QoS control differently when receiving the forwarding messages of (SI, G1) and (S2, G2) at the same time.
  • TV station S broadcasts different TV programs through the network. Suppose that the news program uses the multicast group address as G1, the movie program uses the multicast group address G2, and the purchased service quality is different.
  • the router When the router receives the (S, G1) and (S, G2) forwarding messages at the same time, the router has Differentiate QoS control. Another example: TV station S1 and TV station S2 use multicast address G to broadcast TV to other regions. However, because the quality of service purchased by TV station S1 and TV station S2 is different, the router receives (SI, G) and (S2, G at the same time. When forwarding packets, QoS control should be performed on multicast packets differently.
  • the second QoS control may be performed on the node packet generated after the packet is copied.
  • the first QoS control of the multicast packet may not be performed directly.
  • the second QoS control of the node packet is performed. Referring to FIG. 2, it is a flowchart of a second embodiment of the service quality control method according to the present invention. The method includes:
  • the network device in order to implement QoS control on the node packet, the network device (such as a router) needs to classify the node packet in advance, and pre-set and save the QoS configuration information corresponding to the packet type of each node.
  • the node information can be classified according to the multicast source address, the multicast group address, and the node identifier.
  • the source address of the copied multicast file is S1
  • the group address is G1
  • the target node is
  • the point identifiers are LF1 and LF2
  • the leaf node identifiers corresponding to the node type are (SI Gl LF1 ) and (S1 G1 LF2 ).
  • the manner of classifying the node packets is not limited to the specific implementation manner. For example, based on the multicast source address, the multicast group address, and the node identifier, the time segment information may be added to implement the pair. Multicast packets are classified.
  • the specific implementation manner of performing QoS control on the node packet according to the QoS configuration information is similar to the prior art, and details are not described herein.
  • the embodiment of the present invention implements classifying a node packet and storing corresponding QoS configuration information by setting a leaf QoS identifier table and a node message QoS configuration information table, where the configuration information includes: , bandwidth, congestion thresholds, etc.
  • the leaf QoS identifier table includes leaf node ( leaf-node), leaf QoS unique identifier, and the like, as shown in Table 3, which is a leaf QoS identifier table.
  • Table 3 is a leaf QoS identifier table.
  • the node message QoS configuration information table includes a leaf QoS unique identifier, a leaf QoS configuration information, and the like.
  • the leaf node represents one of a group of outbound nodes, such as: S1 G1 LF1.
  • the node type may be diversified;
  • the leaf QoS identifier table is leaf QoS configuration information such as:
  • the leaf QoS unique identifier corresponding to the node is S1G1LF1-UID, and the type of the identifier can be diversified as long as it can uniquely identify an outgoing node of a specific message.
  • the leaf QoS unique identifier corresponds to the field in the leaf QoS unique identifier in Table 3, such as: the leaf QoS unique identifier "SGL F-UID" in Table 4 and the leaf QoS unique identifier in Table 3" SGLF-UID (here, a generic type of identifier, which can also be regarded as a default identifier) "
  • the QoS description information is QoS configuration information, including information such as priority, bandwidth configuration, QoS congestion threshold setting, and the like.
  • the router obtains the leaf QoS unique identifier corresponding to the node packet forwarding according to the leaf node identifier corresponding to the node packet type, and then uses the leaf QoS.
  • the unique identifier obtains the corresponding leaf QoS configuration information from Table 4, and then implements QoS control on the multicast packet by using the leaf QoS configuration information.
  • you want the leaf nodes to assign the same QoS configuration information you can set the same leaf QoS unique identifier for these leaf nodes. For example, in Table 3, assign the same leaf QoS unique to SI G2 LF1 and SI G2 LF2.
  • the identifier S1G2LF-UID which achieves the same QoS control for the node 4 corresponding to SI G2 LF1 and SI G2 LF2.
  • QoS control of multicast messages can be implemented.
  • the television station S1 and the television station S2 receive the television broadcast from another television station, assuming the multicast address G used for the rebroadcast. If the broadcast quality purchased by the television stations S1 and S2 from the television station S is different, the multicast tree router performs QoS control differently when forwarding the message to the leaf node routers of S1 and S2.
  • FIG. 3 it is a flowchart of a third embodiment of a service quality control method according to the present invention. After the first QoS control is performed on a multicast packet, the node information generated after the packet is copied is performed. Secondary QoS control; the method includes:
  • the multicast packet is forwarded to a normal multicast packet forwarding process.
  • node packet type exists, obtain a preset corresponding node packet type identifier.
  • node packet type does not exist, use a default node message type identifier.
  • the received Multicast packets are sent to the forwarding queue of ordinary multicast packets.
  • Table 2 it is found whether there is QoS configuration information corresponding to the multicast QoS unique identifier SI G1, and the QoS configuration information corresponding to the multicast QoS unique identifier SI G1 exists in the second query. Then, the QoS configuration information corresponding to the identifier is obtained, "high priority, bandwidth 300M, congestion threshold 240M"; if no matching QoS configuration information is found, the default QoS configuration information is used, according to the acquired QoS. The configuration information performs QoS control on multicast packets.
  • the leaf nodes generated by copying the multicast packet are SI Gl LF1 and SI Gl LF2, and according to the leaf node, whether the same leaf node exists in the third table is searched.
  • the leaf nodes SI G1 LF1 and SI G1 LF2 are obtained, and the leaf QoS unique identifiers S1G1LF1-UID and S1G1LF2-UID corresponding to the node are obtained, and if the leaf QoS unique identifier is not stored, the default is used.
  • Leaf QoS unique identifier Leaf QoS unique identifier.
  • the fourth table it is found whether there is QoS configuration information corresponding to the leaf QoS unique identifiers S1G1LF1-UID and S1G1LF2-UID. After querying, if the configuration information exists in Table 4, the identifier corresponding to the identifier is obtained.
  • QoS configuration information The configuration information corresponding to the leaf QoS unique identifier S1G1LF1-UID is "high priority, bandwidth 300M, congestion threshold 240M...,, configuration information corresponding to the identifier S1G1LF2-UID is "high priority, bandwidth 400M"
  • the congestion threshold is 320M.... If the matching QoS configuration information is not found, the default leaf QoS configuration information is used, and the QoS control of the leaf node packet is performed according to the obtained QoS configuration information. After the QoS is controlled, the node packet is forwarded.
  • the number of QoS control times can be flexibly adjusted according to the protocol content. For example, the types of combined packets of different source addresses and group addresses are different. If the protocol does not support different types, the device can be cancelled. The first QoS control is to cancel the QoS control of the multicast packet. If the protocol does not support the classification of the outbound packet, the second QoS control can be cancelled, that is, the QoS control of the node packet is cancelled. The protocol supports the difference in the packet type, and the first QoS control and the second QoS control can be performed.
  • the multicast packet type of the received multicast packet is identified, and the preset quality of service configuration information corresponding to the multicast packet type is obtained, and the service quality configuration information is implemented according to the service quality configuration information.
  • the embodiment of the present invention may further implement the node packet type identifier information of the node packet corresponding to each target node generated by the multicast packet copying, and obtain the node with the node packet type identifier information according to the node packet type identifier information.
  • the service quality configuration information corresponding to the message; and performing service quality control on the node message according to the service quality configuration information System is implemented according to the service quality configuration information.
  • the embodiment of the present invention implements QoS control of a node packet corresponding to each leaf node generated by replicating a multicast packet and/or a multicast packet in a new public packet telecommunication data network, thereby implementing Reliable service quality assurance.
  • the multicast QoS control module 1 may include:
  • the first identifying unit 11 is configured to identify a multicast packet type of the received multicast packet.
  • the first identifying unit 11 may include:
  • the parsing unit 111 is configured to parse the received multicast packet, obtain the multicast source address of the multicast packet, and the multicast group address information. If the multicast source address of the multicast packet is S1 and the multicast group address is G1, the source address and the multicast group address of the multicast packet can be obtained. , G1) information.
  • the multicast packet type identifier obtaining unit 112 is configured to query and obtain a preset corresponding multicast source address and a multicast group according to the multicast source address and the multicast group address information of the multicast packet obtained by the parsing unit. Multicast text type identifier of the address information.
  • the combination of the source address and the group address (SI, G1) information it is queried whether there is a preset combination of the same source address and group address (SI, G1), and if the combination exists, the combination is obtained ( S1, G1) corresponding to the multicast identifier SI G1; if there is no combination of the same source address and group address and the corresponding identifier SI G1 , the received multicast packet is sent Forwarding queue of common multicast packets.
  • the first obtaining unit 12 is configured to obtain preset quality of service configuration information corresponding to the multicast packet type.
  • the service quality configuration information corresponding to the identifier SI G1 it is queried whether there is a preset and the The service quality configuration information corresponding to the identifier SI G1, if yes, obtains the configuration information corresponding to the identifier, such as: "high priority, bandwidth 300M, congestion threshold 240M...,;; if there is no match
  • the quality of service configuration information the default quality of service configuration information is used.
  • the first quality of service control unit 15 is configured to perform quality of service control on the multicast packet according to the multicast service quality configuration information.
  • the multicast packet is controlled for priority, bandwidth, congestion threshold, and the like.
  • the network device may further include:
  • the first classifying unit 14 is configured to classify the multicast packet.
  • the multicast packet before identifying the multicast packet type of the received multicast packet, the multicast packet can be classified according to different combinations of the multicast source address and the multicast group address, and the corresponding multicast packet is preset.
  • the suffix identification information and the QoS configuration information corresponding to various multicast packet types for example, the multicast source address of the multicast packet is S1, and the multicast group address is G1, which can be based on the source address and group.
  • the combination of addresses (S1, G1) presets the corresponding multicast packet type identifier SI G1.
  • the types of the identifiers can be diversified, and integer constants, strings, or operating system time can be used.
  • the quality of service configuration information corresponding to the multicast message type identifier S1 G1 is preset, such as: "high priority, bandwidth 300M, congestion threshold 240M...,," Information includes: priority, bandwidth, congestion threshold, and more.
  • the first storage unit 13 is configured to store the quality of service configuration information corresponding to the various multicast packet types after the first classification unit 14 is classified.
  • the multicast packet type of the received multicast packet is identified, and the preset quality of service configuration information corresponding to the multicast packet type is obtained, and the service quality configuration information is implemented according to the service quality configuration information.
  • the multicast QoS control module 2 includes: a message replication unit. 21. For copying a multicast packet, generating a node packet corresponding to each target node. For example, if the source address of the copied multicast file is S1 and the group address is G1, the generated leaf node is SI Gl LF1 and SI. Gl LF2.
  • the second identifying unit 22 is configured to identify the node packet type of the node packet generated by the packet copying unit 21 to copy the multicast packet;
  • the leaf node message is parsed, the leaf node information is obtained, and the node identifiers corresponding to the leaf nodes corresponding to the leaf node are queried and obtained according to the information, such as: S1G1LF1-UID and S1G1LF2-UID, if not existed.
  • the corresponding node message identifier information uses the default node text identifier.
  • the second obtaining unit 23 is configured to obtain preset service quality configuration information corresponding to the node packet type.
  • the node information identifiers S1G1LF1-UID and S1G1LF2-UID acquired may be used to query whether there is a preset quality of service configuration information corresponding to the identifier, and if yes, obtain the corresponding identifier
  • the QoS configuration information is as follows:
  • the QoS configuration information corresponding to the node message identifier S1G1LF1-UID is "high priority, bandwidth 300M, congestion threshold 240M...,, service quality configuration corresponding to the node message identifier S1G1LF2-UID
  • the information is "high priority, bandwidth 400M, congestion threshold 320M "; if there is no matching quality of service configuration information, the default quality of service configuration information is used.
  • the second quality of service control unit 26 is configured to perform quality of service control on the node message according to the quality of service configuration information.
  • the service quality corresponding to the node message identifier S1G1LF1-UID The quantity configuration information is "high priority, bandwidth 300M, congestion threshold 240M...,, and the quality of service configuration information corresponding to the node identifier S1G1LF2-UID is "high priority, bandwidth 400M, congestion threshold 320M ].
  • the QoS control is performed on the leaf node packet, and after the QoS control is performed on the leaf node packet, the node packet is forwarded.
  • the network device further includes:
  • a second classification unit 25 configured to classify node packets
  • the packet is classified according to different node messages, and the corresponding node packet type identification information and the service quality configuration information corresponding to the packet type of each node are preset, for example:
  • the leaf nodes are S1 G1 LF1 and S1 G1 LF2.
  • the corresponding node message identifiers are preset: S1G1LF1-UID and S1G1LF2-UID.
  • the types of the identifiers can be diversified, and integer constants can be used.
  • the quality of service configuration information corresponding to the node message type identifiers S1G1LF1-UID and S1G1LF2-UID such as: node message identifier
  • the service quality configuration information corresponding to the S1G1LF1-UID is "high priority, bandwidth 300M, congestion threshold 240M...,, and the service quality configuration information corresponding to the node message identifier S1G1LF2-UID is "high priority, bandwidth 400M.”
  • the congestion threshold 320M the configuration information includes: priority, bandwidth, congestion threshold, and the like.
  • the second storage unit 24 is configured to store the quality of service configuration information corresponding to the packet types of the various nodes after the classification by the second classification unit.
  • the node packet type identifier information of the node packet corresponding to each target node generated after the multicast packet is copied is obtained, and the node packet is obtained according to the node packet type identifier information.
  • Corresponding QoS configuration information; and performing quality of service control on the node packet according to the QoS configuration information is obtained.
  • FIG. 6 is a schematic diagram of a third embodiment of a network device according to the present invention. This embodiment can be used to execute the present hair The third embodiment method of quality of service control.
  • the network device includes a multicast QoS control module 1 for implementing QoS control on multicast packets in the network device, and a node packet QoS control module 2 for implementing QoS control on the node packets.
  • a multicast QoS control module 1 for implementing QoS control on multicast packets in the network device
  • a node packet QoS control module 2 for implementing QoS control on the node packets.
  • the multicast QoS control module 1 implements QoS control on multicast packets
  • the node message QoS control module implements QoS of node packets corresponding to each target node after replicating multicast packets. control.
  • the embodiment of the present invention is configured to identify a multicast packet type of the received multicast packet, obtain a preset quality of service configuration information corresponding to the multicast packet type, and configure information according to the quality of service. Implementing quality of service control on the multicast packet.
  • the embodiment of the present invention may further implement the node packet type identifier information of the node packet corresponding to each target node generated by the multicast packet copying, and obtain the node with the node packet type identifier information according to the node packet type identifier information.
  • the service quality configuration information corresponding to the message and performing service quality control on the node message according to the service quality configuration information.
  • the QoS control of the node packets corresponding to each leaf node generated by the multicast message and the I or the multicast message is copied in the new public packet telecommunication data network, and the QoS control is implemented in the new public packet telecommunication data network. Reliable service quality assurance.
  • the program can be stored in a computer readable storage medium, which, when executed, can include the flow of an embodiment of the methods described above.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Description

服务质量控制方法及网络设备
本申请要求了 2008年 4月 30日提交的, 申请号为 200810027820.4, 发明 名称为 "服务质量控制方法及相应的网络设备" 的中国申请的优先权, 其全部 内容通过引用结合在本申请中。 技术领域
本发明涉及通讯领域, 尤其涉及一种服务质量控制方法及相应的网络设备。 背景技术
现有的互联协议(Internet Protocol, IP ) 网是一个自由开放、 没有统一管理 机制的网络, 它的设计理念就是自由模式和非盈利商业模型, 造成了服务质量 缺乏保证, 使得商用业务网, 以及服务质量要求较高的数据互联业务和实时视 频业务, 不敢被加载到公用的 IP网上去。 为了确保重要的业务量不受延迟或丢 弃, 同时保证网络的高效运行, 就要进行服务质量( Quality of Service, QoS ) 控制。 服务质量控制是按照一定的规则, 对不同的入报文划分不同的优先级, 设置不同的带宽和拥塞门限, 最终达到对报文转发质量的控制。
组播即多播, 是一种单个入报文, 一个或多个出报文的报文转发方式。 现 有技术中提出了一种层次化有序地址分组网络 (HSAPN , Hierarchical and Sequential Address Packet Network ), 如公用电信分组数据网, 该系统包括一个 HSAPN网, 同时接入多个 IP网、 ATM网或 FR网。 以一个 HSAPN网同时接入 多个 IP网为例, HSAPN网中的所有设备都分配有 HSAPN地址, IP网中的所有 设备都分配有 IP地址, 边缘设备中同时分配有 HSAPN地址和 IP地址。 IP网通 过边缘设备与 HSAPN网相连接, IP地址与 HSAPN地址之间的映射关系保存在 地址转换设备内。 当 IP网络侧需要访问 HSAPN网内数据或穿过 HSAPN网络 时, IP 网络侧将报文传递给边缘设备, 边缘设备通过查询地址转换设备中的地 址映射表, 将 IP网络侧的地址转换为 HSAPN地址, 然后转发给下一跳路由器, 即可实现 IP网络对 HSAPN网络的访问。 发明人在实现本发明的过程中,发现在上述现有的 HSAPN网中, 组播转发 时, 缺少 QoS控制。
发明内容
本发明实施例提供一种服务质量控制方法,网络设备,实现在 HPAPN网中, 组播报文转发时, 提供 QoS控制。
为了达到上述发明目的, 本发明实施例提供了一种服务质量控制方法, 包 括:
识别接收到的组播报文的组播报文类型;
获取预设的与所述组播报文类型对应的服务质量配置信息;
根据所述服务质量配置信息, 对所述组播报文进行服务质量控制。
本发明实施例还提出了一种服务质量控制方法, 包括:
获取复制组播报文生成的节点报文的节点报文类型标识信息;
根据所述节点报文类型标识信息, 获取与所述节点报文对应的服务质量配 置信息;
根据所述服务质量配置信息, 对所述节点报文进行服务质量控制。
同时, 本发明实施例还提供了一种网络设备, 包括:
第一识别单元, 用于识别接收到的组播报文的组播报文类型;
第一获取单元, 用于获取预设的与所述组播报文类型对应的服务质量配置 信息;
第一服务质量控制单元, 用于根据所述组播服务质量配置信息, 对所述组 播报文进行服务质量控制。
本发明实施例还进一步提供了一种网络设备, 包括:
第二识别单元, 用于识别复制组播报文生成的节点报文的节点报文类型; 第二获取单元, 用于获取预设的与所述节点报文类型对应的服务质量配置 信息;
第二服务质量控制单元, 用于根据所述服务质量配置信息, 对所述节点报 文进行服务质量控制。
实施本发明实施例, 通过识别接收到的组播报文的组播报文类型; 获取预 设的与所述组播报文类型对应的服务质量配置信息; 并根据所述服务质量配置 信息, 实现对所述组播报文进行服务质量控制。 实施本发明实施例, 还可实现 通过获取组播报文复制后生成的对应各个目标节点的节点报文的节点报文类型 标识信息; 根据所述节点报文类型标识信息, 获取与所述节点报文对应的服务 质量配置信息; 并根据所述服务质量配置信息, 实现对所述节点报文进行服务 质量控制。 本发明实施例实现了在新型公用分组电信数据网中, 组播转发时, 对组播报文和 /或组播报文复制后生成的对应各个叶子节点的节点报文的 QoS控 制, 进而实现了可靠的服务质量保证。
附图说明
例或现有技术描述中所需要使用的附图作筒单地介绍, 显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付 出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1是本发明一种服务质量控制方法第一实施例的流程示意图; 图 2是本发明一种服务质量控制方法第二实施例的流程示意图; 图 3是本发明一种服务质量控制方法第三实施例的流程示意图; 图 4是本发明网络设备第一实施例示意图; 图 5是本发明网络设备第二实施例示意图; 图 6是本发明网络设备第三实施例示意图。
具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
参考图 1 , 是本发明服务质量控制第一实施例流程示意图, 包括:
101、 识别接收到的组播报文的组播报文类型;
102、 获取预设的与所述组播报文类型对应的服务质量 QoS配置信息;
103、 根据所述 QoS配置信息, 对所述组播报文进行 QoS控制。 在 101中, 当接收到来自组播源的组播报文后, 将解析接收到的组播报文, 获取组播^艮文的组播源地址以及组播组地址信息, 然后根据该组播^艮文的组播 源地址以及组播组地址信息查询并获取预设的对应该组播源地址信息以及组播 组地址信息的组播 文类型标识。 在所述 102 中根据该组播 文类型标识, 获 取预设的与所述组播报文类型对应的 QoS配置信息。 在本例中, 为了实现对组 播报文进行 QoS控制, 需在网络设备 (如路由器 )上预先对组播报文进行分类, 并预先设置及保存与各种组播报文类型对应的 QoS配置信息。 具体实现时, 可 根据组播源地址以及组播组地址信息对组播报文进行分类, 对组播报文的分类 方式并不限于该具体实施方式, 如在组播源地址以及组播组地址信息的基石出上, 还可增加时间段信息实现对组播报文进行分类。在 103中,根据 QoS配置信息, 如优先级、 带宽配置、 拥塞门限等信息, 实现对组播 文的 QoS控制。 在一具 体实施例中, 本发明实施例通过设置组播 QoS标识符表以及组播 QoS配置信息 表, 实现对组播报文进行分类并保存对应的 QoS配置信息, 所述配置信息包括: 优先级、 带宽、 拥塞门限等。 所述组播 QoS标识符表可以如表一所示:
Figure imgf000007_0001
所述组播 QoS配置信息表可以如表二所示:
表二:
Figure imgf000007_0002
表一中所述的组播 QoS唯一标识符( group QoS unique identifier )为与唯一 的组播源地址以及组播组地址组合对应的描述符, 其类型可以为整型常量、 字 符串、 操作系统时间等, 只需确保本网络设备内全局唯一即可, 在本例中以该 组播 QoS唯一标识符作为组播报文类型标识的一种具体实现方式。
例如, 在路由器中实现本例所述的 QoS控制时, 路由器在接收到组播报文 后, 获取组播^艮文的组播源地址以及组播组地址信息, 根据该组播源地址以及 组播组地址信息从表一中获取对应的组播 QoS唯一标识符, 然后以该组播 QoS 唯一标识符从表二中获取对应的 QoS配置信息, 进而以该 QoS配置信息实现对 组播报文进行 QoS控制。 在本例中, 若希望对某些组播源地址以及组播组地址 组合的组播报文分配相同的 QoS配置信息, 则可对这些组播源地址以及组播组 地址组合设置同一个组播 QoS唯一标识符, 如表一中, 对于(S3、 G3 )和(S4、 G4 )分配同一个组播 QoS唯一标识符( SG ) ,这些就实现了对( S3、 G3 )和( S4、 G4 )对应的组播源地址以及组播组地址组合的组播 文实现同样的 QoS控制。 通过该方法, 本领域技术人员应该明白, 本例可实现对于某些组播报文实现同 样的服务质量控制, 尤其对于组播 QoS标识符表中未定义的组播源地址以及组 播组地址组合的报文提供默认的服务质量控制。
结合表一及表二, 若接收组播报文的组播源地址为 S1 , 组播组地址为 G2, 则根据该源地址及组地址的组合( SI , G2 ) 查询表一中是否存在相同的源地址 与组地址的组合(SI , G2 ) , 经查询, 表一中存在所述组合(SI , G2 ) , 则获 取该组合(SI , G2 )所对应的组播 QoS唯一标识符(SI G2 ) , 假若不存在相 同的源地址与组地址的组合及对应的标识符 SI G2,则将所述接收的组播报文送 到普通组播报文的转发队列。
其次,根据上述查询结果在表二中查询是否存在与组播 QoS唯一标识符( S1 G2 )所对应的 QoS配置信息, 经查询, 表二中存在所述配置信息, 则获取该标 识符所对应的 QoS配置信息 "优先级普通, 带宽 300M, 拥塞门限 240M…… "; 假若没有查询到相对应的配置信息, 则使用默认的 QoS配置信息, 根据所获取 的 QoS配置信息对组播报文进行 QoS控制。
通过本实施例, 可实现对组播报文的 QoS控制, 例如电视台 S1和电视台 S2通过网络对其他地区进行电视转播,其转发报文采用的组播组地址分别为 G1 和 G2。 由于电视台 SI在运营商处购买的服务质量不同于电视台 S2购买的服务 质量, 路由器在同时接收到 (SI , G1 )和(S2, G2 ) 的转发报文时, 有区别地 进行 QoS控制。 又比如: 电视台 S通过网络进行不同电视节目的转播。 假设新 闻节目采用组播组地址为 G1 , 电影节目采用组播组地址 G2, 且购买的服务质 量不同, 路由器在同时接收到 (S, G1 )和(S, G2 ) 的转发报文时, 有区别的 进行 QoS控制。 又如: 电视台 S1和电视台 S2均使用组播地址 G对其他地区进 行电视转播, 但由于电视台 S1和电视台 S2购买的服务质量不同, 因此路由器 在同时接收到 (SI , G )和(S2, G ) 的转发报文时, 应该有区别地对组播报文 进行 QoS控制。
对上述组播报文进行第一次 QoS控制之后, 还可以对复制报文后生成的节 点报文进行第二次 QoS控制; 也可以不进行对组播报文的第一次 QoS控制, 直 接进行对节点报文的第二次 QoS控制, 请参照图 2, 是本发明一种服务质量控 制方法第二实施例的流程图, 该方法包括:
201、 复制组播报文, 生成对应各个目标节点的节点报文;
202、 获取所述节点报文的节点报文类型标识信息;
203、 根据所述节点报文类型标识信息, 获取与所述节点报文对应的服务质 量配置信息;
204、 根据所述服务质量配置信息, 对所述节点报文进行服务质量控制。 下面对上述 201 ~ 204进行详细描述:
在本例中, 为了实现对节点报文进行 QoS控制, 需在网络设备(如路由器) 上预先对节点报文进行分类,并预先设置及保存与各种节点报文类型对应的 QoS 配置信息。 具体实现时, 可根据组播源地址、 组播组地址以及节点标识对节点 文进行分类, 例如, 所复制的组播 文的源地址为 S1 , 组地址为 G1 , 目标节 点标识为 LF1、 LF2, 则与节点^艮文类型对应叶子节点标识为 (SI Gl LF1 )和 ( S1 G1 LF2 ) 。 本领域的技术人员应该明白, 对节点报文的分类方式并不限于 该具体实施方式, 如在根据组播源地址、 组播组地址以及节点标识的基础上, 还可增加时间段信息实现对组播报文进行分类。在 204中,根据 QoS配置信息, 对所述节点报文进行 QoS控制的具体实现方式与现有技术类似,在此不予赘述。 在一具体实施例中, 本发明实施例通过设置叶子 QoS 标识符表以及节点报文 QoS配置信息表, 实现对节点报文进行分类并保存对应的 QoS配置信息, 所述 配置信息包括: 优先级、 带宽、 拥塞门限等。 所述叶子 QoS标识符表包括叶子 节点 ( leaf-node ) 、 叶子 QoS唯一标识符 ( leaf QoS unique identifier )等信息, 如表三所示, 其为叶子 QoS标识符表( leaf QoS identifier table )的一个具体的实 例。
Figure imgf000010_0001
节点报文 QoS配置信息表包括叶子 QoS唯一标识符、叶子 QoS配置信息等, 例: ¾口表四所示:
表四:
Figure imgf000011_0001
表三中, 所述叶子节点表示一组出节点中的某一个节点, 如: S1 G1 LF1 , 实际应用时, 节点类型可以多样化; 所述叶子 QoS标识符表为叶子 QoS配置信 息如: 叶子节点所对应的叶子 QoS唯一标识符为 S1G1LF1-UID, 所述标识符的 类型可以多样化, 只要能唯一的标识出某特定报文的某个出节点即可。
表四中, 所述叶子 QoS唯一标识符与表三中叶子 QoS唯一标识符中字段对 应, 如: 表四中叶子 QoS唯一标识符 "S G L F-UID"与表三中叶子 QoS唯一标 识符 "SGLF-UID (这里表示通用的一类标识符, 也可认为是默认标识符) " 对 应; 所述 QoS描述信息即是 QoS配置信息, 其包括优先级、 带宽配置、 QoS拥 塞门限设置等信息。
在路由器中实现本例所述的节点报文 QoS控制时, 路由器根据与节点报文 类型对应叶子节点标识从表三中获取与节点报文转发对应的叶子 QoS唯一标识 符, 然后以该叶子 QoS唯一标识符从表四中获取对应的叶子 QoS配置信息, 进 而以该叶子 QoS配置信息实现对组播报文进行 QoS控制。 在本例中, 若希望叶 子节点分配相同的 QoS配置信息, 则可对这些叶子节点设置同一个叶子 QoS唯 一标识符, 如表三中, 对于 SI G2 LF1和 SI G2 LF2分配同一个叶子 QoS唯一 标识符 S1G2LF-UID,这些就实现了对 SI G2 LF1和 SI G2 LF2对应的节点 4艮文 实现同样的 QoS控制。 通过该方法, 本领域技术人员应该明白, 本例可实现对 于某些节点报文实现同样的服务质量控制, 尤其对于叶子 QoS标识符表中未定 义的节点报文提供默认的服务质量控制。
通过本实施例, 可实现对组播报文的 QoS控制, 例如: 电视台 S1和电视台 S2接收来自另一个电视台的电视转播, 假设转播采用的组播地址 G。 若电视台 S1和 S2从电视台 S处购买的转播质量不同, 组播树路由器在将报文转发到 S1 和 S2的叶子节点路由器时有区别地进行 QoS控制。
请参照图 3, 是本发明一种服务质量控制方法第三实施例的流程图, 描述了 对组播报文进行第一次 QoS控制之后, 接着对复制报文后生成的节点报文进行 第二次 QoS控制; 所述方法包括:
301、 接收组播报文;
302、 解析组播报文, 获取组播报文的类型;
303、根据获取的组播报文类型,查找是否存在预设的对应的组播报文类型;
304、若存在所述组播报文类型,则获取预设的对应的组播报文类型标识符;
305、 若不存在所述组播报文类型, 则将组播报文转入普通组播报文的转发 流程;
306、 根据 304中所述的标识符查找是否存在预设对应的 QoS配置信息;
307、 若存在所述 QoS配置信息, 则获取该 QoS配置信息;
308、 若不存在所述 QoS配置信息, 则使用默认的 QoS配置信息;
309、 根据所述 QoS配置信息对组播报文进行 QoS控制;
310、 复制所述组播报文, 生成对应的各个目标节点的节点报文;
311、 识别并获取所述节点报文的类型; 312、根据获取的节点报文类型,查找是否存在预设的对应的节点报文类型;
313、若存在所述节点报文类型,则获取预设的对应的节点报文类型标识符;
314、 若不存在所述节点报文类型, 则使用默认的节点报文类型标识符;
315、 根据所述的标识符查找是否存在预设对应的 QoS配置信息;
316、 若存在所述 QoS配置信息, 则获取该 QoS配置信息;
317、 若不存在所述 QoS配置信息, 则使用默认的 QoS配置信息;
318、 根据所述 317确定的 QoS配置信息对节点报文进行 QoS控制;
319、 转发所述节点报文。
下面结合具体例子对上述 301 ~ 319进行详细说明。
请一并结合表一〜表四, 假设当前路由器接收到一个源地址为 S1 , 组地址 为 G1的报文。
根据所述源地址及组地址的组合 ( SI , G1 ) 查询表一中是否存在相同的源 地址与组地址的组合 ( SI , G1 ) , 经查询, 表一中存在所述组合 ( SI , G1 ) , 则获取该组合 ( SI , G1 )所对应的组播 QoS唯一标识符 SI G1 , 假若不存在相 同的源地址与组地址的组合以及对应的标识符 S 1 G1 ,则将所述接收的组播报文 送到普通组播报文的转发队列。
根据上述查询结果, 在表二中查找是否存在与组播 QoS唯一标识符 SI G1 所对应的 QoS配置信息, 经查询, 表二中存在与组播 QoS唯一标识符 SI G1所 对应的 QoS配置信息, 则获取该标识符所对应的 QoS配置信息 "优先级高, 带 宽 300M, 拥塞门限 240M…… " ; 假若没有找到相匹配的 QoS配置信息, 则使 用默认的 QoS配置信息,根据所获取的 QoS配置信息对组播报文进行 QoS控制。
请结合表三及表四, 通过复制所述组播报文生成的叶子节点为 SI Gl LF1 和 SI Gl LF2,根据所述叶子节点查找表三中是否存在相同的叶子节点,经查找, 表三中存在所述的叶子节点 SI Gl LF1和 SI Gl LF2, 则获取该节点对应的叶子 QoS唯一标识符 S1G1LF1-UID和 S1G1LF2-UID, 假若不存所述叶子 QoS唯一 标识符, 则使用默认叶子 QoS唯一标识符。
根据上述查询结果在表四中查找是否存在与叶子 QoS 唯一标识 S1G1LF1-UID和 S1G1LF2-UID所对应的 QoS配置信息, 经查询, 表四中存在 所述配置信息, 则获取该标识符所对应的 QoS配置信息: 叶子 QoS唯一标识符 S1G1LF1-UID对应的配置信息为"优先级高,带宽 300M,拥塞门限 240M……,,, 标识符 S1G1LF2-UID 对应的配置信息为 "优先级高, 带宽 400M, 拥塞门限 320M…… " ; 假若没有查找到相匹配 QoS 配置信息, 则使用默认的叶子 QoS 配置信息, 根据所获取的 QoS配置信息对叶子节点报文进行 QoS控制。 完成对 叶子节点报文进行 QoS控制后, 转发所述节点报文。
实际应用中, 在进行组播 QoS控制时, 根据协议内容可以灵活调整 QoS控 制次数, 例如: 不同源地址及组地址的组合报文的类别不同, 如果协议不支持 其类别不同, 那么可以取消所述第一次 QoS控制, 即取消对组播报文的 QoS控 制; 如果协议不支持对出节点报文进行分类, 那么可以取消第二次 QoS控制, 即取消对节点报文的 QoS控制; 若协议支持所述报文类别的不同, 则既可以进 行第一次 QoS控制, 又可以进行第二次 QoS控制。
实施本实施例, 通过识别接收到的组播报文的组播报文类型; 获取预设的 与所述组播报文类型对应的服务质量配置信息; 并根据所述服务质量配置信息, 实现对所述组播报文进行服务质量控制。 实施本发明实施例, 还可实现通过获 取组播报文复制后生成的对应各个目标节点的节点报文的节点报文类型标识信 息; 根据所述节点报文类型标识信息, 获取与所述节点报文对应的服务质量配 置信息; 并根据所述服务质量配置信息, 实现对所述节点报文进行服务质量控 制。 本发明实施例实现了在新型公用分组电信数据网中, 组播转发时, 对组播 报文和 /或组播报文复制后生成的对应各个叶子节点的节点报文的 QoS控制,进 而实现了可靠的服务质量保证。
参考图 4, 是本发明网络设备第一实施例示意图, 本实施例可用于执行本发 明服务质量控制第一实施例方法, 举例来说, 所述组播 QoS控制模块 1可以包 括:
第一识别单元 11 , 用于识别接收到的组播报文的组播报文类型。
举例来说, 所述第一识别单元 11可以包括:
解析单元 111 , 用于解析接收到的组播报文, 获取组播报文的组播源地址以 及组播组地址信息。 若接收组播报文的组播源地址为 S1 , 组播组地址为 G1 , 通 过解析所述组播报文的源地址和组播组地址, 可以获取该源地址及组地址的组 合(SI , G1 )信息。
组播报文类型标识获取单元 112,用于根据所述解析单元获取的组播报文的 组播源地址以及组播组地址信息查询并获取预设的对应该组播源地址以及组播 组地址信息的组播 文类型标识。
此处, 可根据该源地址及组地址的组合(SI , G1 )信息查询是否存在预设 相同的源地址与组地址的组合( SI , G1 ) ,若存在所述组合,则获取该组合 ( S1 , G1 )所对应的组播 ^艮文标识符 SI G1; 支若不存在相同的源地址与组地址的组 合以及对应的标识符 SI G1 ,则将所述接收的组播报文送到普通组播报文的转发 队列。
第一获取单元 12, 用于获取预设的与所述组播报文类型对应的服务质量配 置信息。
此处, 可根据上述获取的组播报文标识符 SI G1查询是否存在预设的与该 标识符 SI Gl所对应的良务质量配置信息, 若存在, 则获取该标识符所对应的 配置信息, 如: "优先级高, 带宽 300M, 拥塞门限 240M……,, ; 假若不存在 相匹配的服务质量配置信息, 则使用默认的服务质量配置信息。
第一服务质量控制单元 15, 用于根据所述组播服务质量配置信息, 对所述 组播报文进行服务质量控制。
此处, 根据所述服务质量配置信息如: "优先级高, 带宽 300M, 拥塞门限 240M ... ...,, 对所述组播报文进行优先级、 带宽、 拥塞门限等的控制。
所述的网络设备, 还可以包括:
第一分类单元 14, 用于对组播报文进行分类。
此处, 在识别接收到的组播报文的组播报文类型之前, 可根据组播源地址 以及组播组地址的不同组合对组播报文进行分类, 并预设相应的组播报文类型 标识信息以及与各种组播报文类型对应的服务质量配置信息, 例如: 组播报文 的组播源地址为 S1 , 组播组地址为 G1 , 可^^据该源地址及组地址的组合(S1 , G1 )预设相应的组播报文类型标识 SI G1 , 实际应用中, 所述标识的类型可以 多样化, 可使用整型常量、 字符串或操作系统时间等, 只需满足标识符的唯一 性即可; 然后, 预设与组播报文类型标识 S1 G1相对应的服务质量配置信息如: "优先级高, 带宽 300M, 拥塞门限 240M……,, , 所述配置信息包括: 优先级、 带宽、 拥塞门限等。
第一存储单元 13,用于存储所述第一分类单元 14分类后的与各种组播报文 类型对应的服务质量配置信息。
实施本实施例, 通过识别接收到的组播报文的组播报文类型; 获取预设的 与所述组播报文类型对应的服务质量配置信息; 并根据所述服务质量配置信息, 实现对所述组播报文进行服务质量控制, 进而实现了可靠的服务质量保证。 参考图 5, 是本发明网络设备第二实施例示意图, 本实施例可用于执行本发 明服务质量控制第二实施例方法, 具体实现时, 所述组播 QoS控制模块 2包括: 报文复制单元 21 , 用于复制组播报文, 生成对应各个目标节点的节点报文, 例如, 所复制的组播 文的源地址为 S1 , 组地址为 G1 , 则生成的叶子节点为 SI Gl LF1和 SI Gl LF2。
第二识别单元 22,用于识别所述报文复制单元 21复制组播报文生成的节点 报文的节点报文类型;
此处, 解析所述的叶子节点报文, 获取该叶子节点信息, 根据该信息查询 并获取预设的对应该叶子节点的节点报文标识符如: S1G1LF1-UID 和 S1G1LF2-UID, 假若不存在所述相对应的节点报文标识符信息, 则使用默认的 节点 文标识符。
第二获取单元 23, 用于获取预设的与所述节点报文类型对应的服务质量配 置信息;
此处, 可根据上述获取的节点报文标识符 S1G1LF1-UID和 S1G1LF2-UID, 查询是否存在预设的与该标识符所对应的服务质量配置信息, 若存在, 则获取 该标识符所对应的服务质量配置信息如: 节点报文标识符 S1G1LF1-UID对应的 服务质量配置信息为 "优先级高, 带宽 300M, 拥塞门限 240M……,, , 节点报 文标识符 S1G1LF2-UID对应的服务质量配置信息为 "优先级高, 带宽 400M, 拥塞门限 320M ... ... " ; 假若不存在相匹配的服务质量配置信息, 则使用默认的 服务质量配置信息。
第二服务质量控制单元 26, 用于根据所述服务质量配置信息, 对所述节点 报文进行服务质量控制。
根据所获取的 QoS配置信息:节点报文标识符 S1G1LF1-UID对应的服务质 量配置信息为 "优先级高, 带宽 300M, 拥塞门限 240M……,, , 节点 文标识 符 S1G1LF2-UID对应的服务质量配置信息为 "优先级高, 带宽 400M, 拥塞门 限 320M ... ... " , 对叶子节点报文进行 QoS控制, 完成对叶子节点报文进行服务 质量控制后, 转发所述节点报文。
所述的网络设备, 还进一步包括:
第二分类单元 25, 用于对节点报文进行分类;
此处, 在识别所述节点报文的类型之前, 根据不同节点报文进行分类, 并 预设相应的节点报文类型标识信息以及与各种节点报文类型对应的服务质量配 置信息, 例如: 叶子节点为 S1 G1 LF1和 S1 G1 LF2, 首先, 预设相应的节点报 文标识符: S1G1LF1-UID和 S1G1LF2-UID, 实际应用中, 所述标识的类型可以 多样化, 可使用整型常量、 字符串或操作系统时间等, 只需满足标识符的唯一 性即可; 其次, 预设与节点报文类型标识符 S1G1LF1-UID和 S1G1LF2-UID相 对应的服务质量配置信息如: 节点报文标识符 S1G1LF1-UID对应的服务质量配 置信息为 "优先级高, 带宽 300M, 拥塞门限 240M……,, , 节点报文标识符 S1G1LF2-UID对应的服务质量配置信息为 "优先级高, 带宽 400M, 拥塞门限 320M ... ...,, , 所述配置信息包括: 优先级、 带宽、 拥塞门限等。
第二存储单元 24, 用于存储所述第二分类单元分类后的与各种节点报文类 型对应的服务质量配置信息。
实施本实施例, 可实现通过获取组播报文复制后生成的对应各个目标节点 的节点报文的节点报文类型标识信息; 根据所述节点报文类型标识信息, 获取 与所述节点报文对应的服务质量配置信息; 并根据所述服务质量配置信息, 实 现对所述节点报文进行服务质量控制。
参考图 6, 是本发明网络设备第三实施例示意图。 本实施例可用于执行本发 明服务质量控制第三实施例方法。
本例中网络设备包括用于在网络设备中实现对组播报文 QoS 控制的组播 QoS控制模块 1 , 以及用于实现对节点报文 QoS控制的节点报文 QoS控制模块 2。本例中所述组播 QoS控制模块 1中各单元的功能以及各个单元之间的关系请 参考本发明网络设备第一实施例中的描述, 所述节点报文 QoS控制模块 2的功 能以及各个单元之间的关系请参考本发明网络设备第二实施例中的描述。 本例 中通过所述组播 QoS控制模块 1 实现对组播报文的 QoS控制, 通过节点报文 QoS控制模块 实现对组播报文复制后, 生成的对应各个目标节点的节点报文 的 QoS控制。
实施本发明实施例, 通过识别接收到的组播报文的组播报文类型; 获取预 设的与所述组播报文类型对应的服务质量配置信息; 并根据所述服务质量配置 信息, 实现对所述组播报文进行服务质量控制。 实施本发明实施例, 还可实现 通过获取组播报文复制后生成的对应各个目标节点的节点报文的节点报文类型 标识信息; 根据所述节点报文类型标识信息, 获取与所述节点报文对应的服务 质量配置信息; 并根据所述服务质量配置信息, 实现对所述节点报文进行服务 质量控制。 本发明实施例实现了在新型公用分组电信数据网中, 组播转发时, 对组播报文和 I或组播报文复制后生成的对应各个叶子节点的节点报文的 QoS 控制, 进而实现了可靠的服务质量保证。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程, 是可以通过计算机程序来指令相关的硬件来完成。 所述的程序可存储于一计算 机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的实施例的流程。 其中, 所述的存储介质可为磁碟、 光盘、 只读存储记忆体(Read-Only Memory, ROM )或随机存储记忆体(Random Access Memory, RAM )等。 以上所揭露的仅为本发明较佳实施例而已, 当然不能以此来限定本发明之 权利范围, 因此依本发明权利要求所作的等同变化, 仍属本发明所涵盖的范围。

Claims

权 利 要 求
1、 一种服务质量控制方法, 其特征在于, 包括:
识别接收到的组播报文的组播报文类型;
获取与所述组播报文类型对应的服务质量配置信息;
根据所述服务质量配置信息, 对所述组播报文进行服务质量控制。
2、 如权利要求 1所述的方法, 其特征在于, 在所述识别接收到的组播报文 的组播报文类型之前还包括:
对组播报文进行分类, 并设置与各组播报文类型对应的服务质量配置信息。
3、如权利要求 2所述的方法, 其特征在于, 所述对组播报文进行分类包括: 根据组播源地址以及组播组地址信息对组播^艮文进行分类, 并组播 文设 置相应的组播报文类型标识。
4、 如权利要求 3所述的方法, 其特征在于, 所述识别接收到的组播报文的 组播报文类型包括:
解析接收到的组播报文, 获取组播报文的组播源地址以及组播组地址信息; 根据该组播源地址以及组播组地址信息查询并获取对应该组播源地址以及 组播组地址信息的组播报文类型标识。
5、 如权利要求 1至 4任意一项所述的方法, 其特征在于, 所述根据所述服 务质量配置信息, 对所述报文进行服务质量控制之后还包括: 复制所述组播报文, 生成对应各个目标节点的节点报文;
识别所述节点报文的节点报文类型;
获取与所述节点报文类型对应的服务质量配置信息;
根据所述服务质量配置信息, 对所述节点报文进行服务质量控制。
6、 如权利要求 5所述的方法, 其特征在于, 所述复制所述组播报文, 生成 对应各个目标节点的节点报文之前还包括:
对节点报文进行分类, 并设置与各节点报文类型对应的服务质量配置信息。
7、 一种服务质量控制方法, 其特征在于, 包括:
获取复制组播报文生成的节点报文的节点报文类型标识信息;
根据所述节点报文类型标识信息, 获取与所述节点报文对应的服务质量配 置信息;
根据所述服务质量配置信息, 对所述节点报文进行服务质量控制。
8、 如权利要求 7所述的方法, 其特征在于, 在所述获取复制组播报文生成 的节点报文的节点报文类型标识信息之前还包括:
对节点报文进行分类, 并设置与各节点报文类型对应的服务质量配置信息。
9、 如权利要求 7或 8所述的方法, 其特征在于, 在所述获取复制组播报文 生成的节点报文的节点报文类型标识信息之前还包括:
识别接收到的组播报文的组播报文类型;
获取的与所述组播报文类型对应服务质量配置信息; 根据所述服务质量配置信息, 对所述组播报文进行服务质量控制。
10、 如权利要求 9 所述的方法, 其特征在于, 在所述识别接收到的组播报 文的组播报文类型之前还包括:
对组播报文进行分类, 并与各组播报文类型对应的服务质量配置信息。
11、 如权利要求 10所述的方法, 其特征在于, 所述对组播报文进行分类包 括:
根据组播源地址以及组播组地址信息对组播^艮文进行分类, 并对组播 ^艮文 设置相应的组播报文类型标识。
12、 如权利要求 11所述的方法, 其特征在于, 所述识别接收到的组播报文 的组播报文类型包括:
解析接收到的组播报文, 获取组播报文的组播源地址以及组播组地址信息; 根据该组播源地址以及组播组地址信息查询并获取的对应该组播源地址以 及组播组地址信息的组播报文类型标识。
13、 一种网络设备, 其特征在于, 包括:
第一识别单元, 用于识别接收到的组播报文的组播报文类型;
第一获取单元, 用于获取与所述组播报文类型对应的服务质量配置信息; 第一服务质量控制单元, 用于根据所述组播服务质量配置信息, 对所述组 播报文进行服务质量控制。
14、 如权利要求 13所述的网络设备, 其特征在于, 还包括:
第一分类单元, 用于对组播报文进行分类;
第一存储单元, 用于存储所述第一分类单元分类后的与各组播报文类型对 应的服务质量配置信息。
15、如权利要求 14所述的网络设备, 其特征在于, 所述第一识别单元包括: 解析单元, 用于解析接收到的组播报文, 获取组播报文的组播源地址以及 组播组地址信息;
组播报文类型标识获取单元, 用于根据所述解析单元获取的组播报文的组 播源地址以及组播组地址信息查询并获取对应所述组播源地址以及组播组地址 信息的组播 文类型标识。
16、 如权利要求 13至 15任意一项所述的网络设备, 其特征在于, 还包括: 报文复制单元, 用于复制所述组播报文, 生成对应各个目标节点的节点报 文;
第二识别单元, 用于识别所述节点报文的节点报文类型;
第二获取单元, 用于获取与所述节点报文类型对应的服务质量配置信息; 第二服务质量控制单元, 用于根据所述服务质量配置信息, 对所述节点报 文进行服务质量控制。
17、 如权利要求 16所述的网络设备, 其特征在于, 还包括:
第二分类单元, 用于对节点报文进行分类;
第二存储单元, 用于存储所述第二分类单元分类后的与各节点报文类型对 应的服务质量配置信息。
18、 一种网络设备, 其特征在于, 包括:
第二识别单元, 用于识别复制组播报文生成的节点报文的节点报文类型; 第二获取单元, 用于获取与所述节点报文类型对应的服务质量配置信息; 第二服务质量控制单元, 用于根据所述服务质量配置信息, 对所述节点报 文进行服务质量控制。
19、 如权利要求 18所述的网络设备, 其特征在于, 还包括:
报文复制单元, 用于复制组播报文, 生成节点报文。
20、 如权利要求 18所述的网络设备, 其特征在于, 还包括:
第二分类单元, 用于对节点报文进行分类;
第二存储单元, 用于存储所述第二分类单元分类后的与各节点报文类型对 应的服务质量配置信息。
21、 如权利要求 18至 19任意一项所述的网络设备, 其特征在于, 还包括: 第一识别单元, 用于识别接收到的组播报文的组播报文类型;
第一获取单元, 用于获取与所述组播报文类型对应的服务质量配置信息; 第一服务质量控制单元, 用于根据所述组播服务质量配置信息, 对所述组 播报文进行服务质量控制。
22、 如权利要求 21所述的网络设备, 其特征在于, 还包括: 第一分类单元, 用于对组播报文进行分类;
第一存储单元, 用于存储所述第一分类单元分类后的与各组播报文类型对 应的服务质量配置信息。
23、如权利要求 22所述的网络设备, 其特征在于, 所述第一识别单元包括: 解析单元, 用于解析接收到的组播报文, 获取组播报文的组播源地址以及 组播组地址信息;
组播报文类型标识获取单元, 用于根据所述解析单元获取的组播报文的组 播源地址以及组播组地址信息查询并获取对应该组播源地址以及组播组地址信 息的组播报文类型标识。
PCT/CN2009/071453 2008-04-30 2009-04-24 服务质量控制方法及网络设备 WO2009132568A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2008100278204A CN101272324B (zh) 2008-04-30 2008-04-30 服务质量控制方法及网络设备
CN200810027820.4 2008-04-30

Publications (1)

Publication Number Publication Date
WO2009132568A1 true WO2009132568A1 (zh) 2009-11-05

Family

ID=40006024

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/071453 WO2009132568A1 (zh) 2008-04-30 2009-04-24 服务质量控制方法及网络设备

Country Status (2)

Country Link
CN (1) CN101272324B (zh)
WO (1) WO2009132568A1 (zh)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272324B (zh) * 2008-04-30 2011-02-02 华为技术有限公司 服务质量控制方法及网络设备
CN102075406A (zh) * 2009-11-20 2011-05-25 中兴通讯股份有限公司 一种基于地址的IPv6组播流量控制方法和装置
CN102143479A (zh) * 2010-11-26 2011-08-03 华为技术有限公司 管理服务质量的方法、设备及系统
CN102546546B (zh) * 2010-12-21 2016-08-24 南京中兴新软件有限责任公司 标识网中实现QoS的方法和系统
CN104023360B (zh) * 2013-03-01 2018-06-19 中兴通讯股份有限公司 基于身份和位置分离网络的服务质量控制方法与系统
WO2015012863A1 (en) * 2013-07-26 2015-01-29 Hewlett Packard Development Company, L.P. Network configuration using service identifier
CN105120012B (zh) * 2015-07-10 2018-07-31 北京奇虎科技有限公司 智能设备及其联网接入方法、信息接收方法与装置
CN106982134A (zh) * 2016-01-18 2017-07-25 中兴通讯股份有限公司 报文生成方法、报文转发方法及装置
CN109787823B (zh) * 2019-01-08 2022-01-25 中国联合网络通信集团有限公司 服务质量QoS标记方法、装置及存储介质
CN112511988B (zh) * 2020-03-06 2024-04-19 中兴通讯股份有限公司 报文转发方法、设备、系统、网络设备和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1747447A (zh) * 2005-10-21 2006-03-15 清华大学 区分服务网络域内支持不同服务质量的ip组播方法
CN1852255A (zh) * 2006-02-18 2006-10-25 华为技术有限公司 为虚拟专线业务提供QoS服务的系统和方法
CN101035060A (zh) * 2006-03-08 2007-09-12 中兴通讯股份有限公司 一种三重内容可寻址存储器报文分类的统一处理方法
CN101072183A (zh) * 2007-06-11 2007-11-14 华为技术有限公司 数据流的服务质量保证方法和装置
CN101272324A (zh) * 2008-04-30 2008-09-24 华为技术有限公司 服务质量控制方法及网络设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1747447A (zh) * 2005-10-21 2006-03-15 清华大学 区分服务网络域内支持不同服务质量的ip组播方法
CN1852255A (zh) * 2006-02-18 2006-10-25 华为技术有限公司 为虚拟专线业务提供QoS服务的系统和方法
CN101035060A (zh) * 2006-03-08 2007-09-12 中兴通讯股份有限公司 一种三重内容可寻址存储器报文分类的统一处理方法
CN101072183A (zh) * 2007-06-11 2007-11-14 华为技术有限公司 数据流的服务质量保证方法和装置
CN101272324A (zh) * 2008-04-30 2008-09-24 华为技术有限公司 服务质量控制方法及网络设备

Also Published As

Publication number Publication date
CN101272324A (zh) 2008-09-24
CN101272324B (zh) 2011-02-02

Similar Documents

Publication Publication Date Title
WO2009132568A1 (zh) 服务质量控制方法及网络设备
US7877508B1 (en) Method and system for intelligently forwarding multicast packets
US6937608B1 (en) Data link layer switch with multicast capability
JP4077330B2 (ja) データ生成装置
EP1715628B1 (en) A method for realizing the multicast service
US7590116B2 (en) Method for forwarding multicast message in network communication
US8422499B2 (en) Methods and apparatus for managing multicast traffic
JP5653912B2 (ja) マルチキャスト・グループ管理のための方法及び装置
WO2007019785A1 (fr) Systeme de commutation reseau local virtuel a multidiffusion et procede associe
WO2004114619A1 (fr) Procede et systeme pour commander une source de diffusion selective
JPH10242962A (ja) インターネット上のマルチキャストゲートウェイ通信方法及びシステム
WO2007059679A1 (fr) Procede pour le traitement de service multidiffusion anormal et equipement de reseau associe
WO2020083095A1 (zh) 反向路径检查方法、装置、设备以及存储介质
WO2014169856A1 (zh) 一种组播通信方法和汇聚交换机
WO2017124712A1 (zh) 报文生成方法、报文转发方法及装置
WO2008141516A1 (fr) Procédé de transmission d'un message, dispositif de transmission et système de transmission
Cisco IP Multicast Commands: ip sap listen Through show ip sdr
US10764337B2 (en) Communication system and communication method
US20100135298A1 (en) Method and system for providing source specific multicast service on ethernet network
KR20050027644A (ko) Epon 기반 onu 시스템에서 멀티캐스트 데이터 처리장치 및 방법
JP2009021940A (ja) ブリッジ装置
KR101220177B1 (ko) 이더넷 망에서 소스 지정 멀티캐스트 서비스 제공 방법 및 시스템
CN113595912A (zh) 5GLAN中基于IPv6扩展报头的一对多通信方法及装置
WO2012041104A1 (zh) 因特网组管理协议监听的实现方法及系统、调制解调器
JP2003234760A (ja) パケット転送装置

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

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

Country of ref document: EP

Kind code of ref document: A1