WO2016202087A1 - 一种组播管理方法、装置及交换设备 - Google Patents

一种组播管理方法、装置及交换设备 Download PDF

Info

Publication number
WO2016202087A1
WO2016202087A1 PCT/CN2016/079916 CN2016079916W WO2016202087A1 WO 2016202087 A1 WO2016202087 A1 WO 2016202087A1 CN 2016079916 W CN2016079916 W CN 2016079916W WO 2016202087 A1 WO2016202087 A1 WO 2016202087A1
Authority
WO
WIPO (PCT)
Prior art keywords
multicast
data stream
multicast source
source
data
Prior art date
Application number
PCT/CN2016/079916
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 WO2016202087A1 publication Critical patent/WO2016202087A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/101Access control lists [ACL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/32Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/806Broadcast or multicast traffic

Definitions

  • the present application relates to, but is not limited to, the field of communication technologies, and in particular, to a multicast management method, apparatus, and switching device.
  • Multicast is one of the IP (Internet Protocol) network data transmission methods, which realizes point-to-multipoint, multi-point-to-multipoint or multi-point-to-multipoint network connection between sender and receiver.
  • IP Internet Protocol
  • the problem of low efficiency in unicast and broadcast transmission is widely used in video, games, media broadcasting and other fields.
  • IGMP Internet Group Management Protocol
  • TCP/IP Network Protocol
  • V3 adds multicast source filtering based on IGMP version 2 (V2), enabling multicast members to actively accept or reject data streams from specific multicast sources.
  • the switching device maintains the forwarding relationship of multicast group G1, and only allows multicast data streams of multicast sources S1 and S2 of multicast group G1 to be forwarded to member port P1, and data traffic of S1 and S2.
  • the switching device can forward the multicast stream normally.
  • the total traffic of S1 and S2 exceeds the forwarding bandwidth of P1
  • congestion will form at the P1 exit.
  • the S1 and S2 data are generated. The discarding behavior of the stream will become uncontrollable, seriously affecting the quality of data transmission.
  • This document provides a multicast management method, device, and switching device that can be used for different groups in a multicast group.
  • the broadcast source performs the designation of the transmission priority, and forwards the data streams of multiple multicast sources according to the transmission order corresponding to the transmission priority, thereby preventing the data stream from being discarded, thereby improving the data transmission quality.
  • the embodiment of the invention provides a multicast management method, which is applied to a switching device, and the multicast management method includes:
  • the sending order of the data streams of the multiple multicast sources is determined according to the sending priority of the data stream of each multicast source, and the data streams of the multiple multicast sources are forwarded according to the sending order.
  • the sending priority is determined according to the quality of service of the data stream of each multicast source, wherein the higher the service quality of the data stream of each multicast source, the sending priority of the data stream of each multicast source The bigger.
  • the operation of the data flow of the multicast source by the switching device is also recorded in the preset access control list, where the multicast management method further includes:
  • the operation of the data stream of the multicast source is the discarding operation
  • the data stream of the multicast source is forwarded, the data stream of the multicast source corresponding to the discarding operation is directly discarded without being forwarded.
  • the multicast management method further includes:
  • the operation of the switching device to the data stream of the multicast source with the security risk is set as the discard operation in the ACL.
  • the sending sequence of the data streams of the multiple multicast sources is determined according to the sending priority of the data stream of each multicast source, and the data flows of the multiple multicast sources are forwarded according to the sending sequence, including:
  • the data streams of multiple multicast sources are forwarded according to the sending priority from high to low.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed.
  • the embodiment of the present invention further provides a multicast management apparatus, which is applied to a switching device, where the multicast management apparatus includes:
  • the receiving module is configured to: receive data streams of multiple multicast sources;
  • the first determining module is configured to: determine, according to the preset access control list, a sending priority of the data stream of each multicast source in the data streams of the multiple multicast sources, where each preset access control list is recorded Source address, destination address, and transmission priority of the data stream of the multicast source;
  • the second determining module is configured to: determine, according to a sending priority of the data stream of each multicast source, a sending sequence of the data streams of the multiple multicast sources, and forward the data streams of the multiple multicast sources according to the sending sequence.
  • the sending priority is determined according to the quality of service of the data stream of each multicast source, wherein the higher the service quality of the data stream of each multicast source, the sending priority of the data stream of each multicast source The bigger.
  • the operation of the data flow of the multicast source by the switching device is also recorded in the preset access control list, where the multicast management device further includes:
  • the discarding module is configured to discard the data stream of the multicast source corresponding to the discarding operation when the data stream of the multicast source is forwarded by the switching device. Without forwarding.
  • the multicast management device further includes:
  • the setting module is configured to set the operation of the data stream of the multicast source with a security risk to the discard operation in the access control list in the case of a security risk of the multicast source.
  • the second determining module includes:
  • the forwarding unit is configured to: forward, according to the sending priority of the data stream of each multicast source, the data streams of the multiple multicast sources according to the sending priority from high to low.
  • the embodiment of the invention further provides a switching device, including the foregoing multicast management device.
  • the sending priority of the data streams of the received multiple multicast sources is determined by the sending priority of the data stream of each multicast source in the preset access control list, and according to the sending
  • the data flows of multiple multicast sources are forwarded in sequence, which solves the problem that congestion may occur when the switching device forwards the data stream, causing data loss and seriously affecting the quality of data transmission.
  • the data flow of multiple multicast sources is forwarded in the order of sending priority from high to low, preventing the data stream from being discarded, thereby improving the quality of data transmission.
  • FIG. 1 is a schematic diagram of an IGMP V3 multicast source filtering function in the related art
  • FIG. 2 is a flowchart of a multicast management method according to a first embodiment of the present invention
  • FIG. 3 is a schematic diagram of establishing IGMP V3 multicast forwarding information in the first embodiment of the present invention
  • FIG. 4 is a schematic diagram of priority scheduling of P1 port multicast stream service quality transmission according to the first embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a multicast management apparatus according to a second embodiment of the present invention.
  • the first embodiment of the present invention provides a multicast management method, which is applied to a switching device, where the multicast management method includes:
  • Step S21 Receive data streams of multiple multicast sources.
  • Step S22 Determine, according to a preset access control list, a sending priority of a data stream of each multicast source in a data stream of multiple multicast sources, where each multicast source is recorded in a preset access control list.
  • the transmission priority may be determined according to the actual quality of service of the data stream of each multicast source, and the service quality of the data stream of the multicast source is higher, and the data stream of the multicast source is preferentially transmitted. The bigger the level.
  • the sending priority can also be determined according to the user's own needs.
  • Step S23 Determine a transmission sequence of the data streams of the multiple multicast sources according to the transmission priority of the data stream of each multicast source, and forward the data streams of the multiple multicast sources according to the transmission order.
  • the host A and the multicast group G1 are taken as an example to describe the setting method of the access control list (ACL) in step S22.
  • the setting method may include:
  • host A sends an IGMP V3 membership report message to the switching device through the port P1 to request to join the multicast group G1, and specifies to receive the multicast source S 1 , S 2 , , from the multicast group G1.
  • the data stream of S n The data stream of S n .
  • the switching device After receiving the report message of the host A, the switching device adds a plurality of groups based on the multicast source (S 1 , S 2 , , , S n ) as shown in Table 1 in the multicast forwarding table. Broadcast forwarding items.
  • the data stream of the multicast source S 1 is superior to the data stream of the multicast source S 2 , and the data stream of the multicast source S 2 is better than the data stream of other multicast sources.
  • the scheduling priority of S 1 is 7
  • the scheduling priority of S 2 is 6
  • the scheduling priority of other multicast sources is 1 (IP version 4 (V4) priority level is 0 to 7)
  • the ACL rule shown in Table 2 is added to the control plane.
  • the fourth step when there are security risks multicast source (assumed to be the multicast source S 2), S is the multicast source 2 to establish a new ACL rule, i.e. switching operation setting source device S to a multicast data stream 2
  • a new ACL rule i.e. switching operation setting source device S to a multicast data stream 2
  • the switching device does not forward the data stream and discards it directly to avoid virus propagation.
  • FIG 1 it is assumed that when the multicast source S 1 is attacked by a network, if there is no effective means to control the spread of the virus, the consequences will be unimaginable.
  • This embodiment can solve this problem by doing so. It can be understood that when the multicast source S 2 is restored to normal, the corresponding ACL rule is deleted, so that the data stream of the multicast source S 2 is normally transmitted in the network.
  • the sending priority of the data streams of the received multiple multicast sources is determined by the sending priority of the data stream of each multicast source in the preset access control list, and according to The sending sequence forwards data streams of multiple multicast sources, so that the switching device can forward data streams of multiple multicast sources according to the sending sequence, preventing the data stream from being discarded, and effectively solving the congestion of the switching device when forwarding the data stream ( For example, when the switching device receives the data streams of the multicast sources S 1 , S 2 , and S 3 at the same time, since the total bandwidth of the three data streams is greater than the bandwidth of the P1 port (500M+400M+300M>1000M), congestion may not occur at this time. Avoid) problems. In turn, the effect of data transmission quality is improved.
  • the operation of the data flow of the multicast source by the switching device may be recorded in the ACL. Therefore, if the operation of the data stream of the multicast source by the switching device is a discard operation, When the data stream of the multicast source is forwarded, the data stream of the multicast source corresponding to the discarding operation is directly discarded without being forwarded.
  • the operation of the data stream of the multicast source S 2 by the switching device may be recorded as a discarding operation.
  • the switching device receives the data stream of the multicast source S 2 , the switching device directly discards the data stream. It is forwarded.
  • the operation of the data stream of the multicast source having the security risk may be set in the access control list to Discard the operation so that the virus can be effectively controlled.
  • the multicast source for example, the multicast source S 2
  • the corresponding ACL rule can be deleted, so that the data stream of the multicast source (for example, the multicast source S 2 ) can be normally transmitted in the network.
  • the step S23 may include: forwarding, according to a sending priority of the data stream of each multicast source, multiple multicast sources according to a sending priority from high to low. data flow.
  • step S23 is further illustrated by using the multicast source of the multicast group G1 as an example.
  • the switching device receives the multicast source S 1 and S. 2, 3 after the S data streams, based on the ACL to the multicast source sending priority. 1 S, 2 S, 3 S data streams to the corresponding scheduling queue.
  • the scheduling mode of the Strict Priority (SP) is used as an example.
  • the sending priorities 0 to 7 correspond to the queues (Queues) 0 to 7, respectively, so the data stream of the S 1 enters the data flow of the Queue 7, S 2 .
  • the data stream entering Queue 6, S 3 enters Queue 1.
  • the SP preferentially sends packets in the higher transmission priority queue in the order of the highest priority of the sending priority.
  • the SP sends the lower sending priority queue.
  • the higher the priority of the queue transmission the higher the forwarding of the data stream is, so the data stream from the multicast source S 1 will be forwarded first from the P1 port.
  • the following is a multicast management apparatus provided by the second embodiment of the present invention.
  • the embodiment of the multicast management apparatus is the same as the foregoing method embodiment.
  • a second embodiment of the present invention provides a multicast management apparatus, which is applied to a switching device, where the multicast management apparatus includes:
  • the receiving module 51 is configured to: receive data streams of multiple multicast sources;
  • the first determining module 52 is configured to: determine, according to the preset access control list, a sending priority of the data stream of each multicast source in the data streams of the multiple multicast sources, where the preset access control list records Source address, destination address, and transmission priority of the data stream of each multicast source;
  • the second determining module 53 is configured to: according to the sending priority of the data stream of each multicast source, determine a sending sequence of the data streams of the multiple multicast sources, and forward the data streams of the multiple multicast sources according to the sending order.
  • the sending priority may be determined according to the quality of service of the data stream of each multicast source, where the quality of the data stream of each multicast source is higher, and the sending of the data stream of each multicast source is prioritized. The bigger the level.
  • the operation of the data flow of the multicast source by the switching device may also be recorded in the preset ACL.
  • the multicast management device may further include:
  • the discarding module is configured to discard the data stream of the multicast source corresponding to the discarding operation when the data stream of the multicast source is forwarded by the switching device. Without forwarding.
  • the multicast management apparatus may further include:
  • the setting module is configured to set the operation of the data stream of the multicast source with a security risk to the discard operation in the access control list in the case of a security risk of the multicast source.
  • the second determining module 53 may include:
  • the forwarding unit is set to: according to the sending priority of the data stream of each multicast source, according to the sending
  • the data flows of multiple multicast sources are forwarded in descending order of priority.
  • the multicast management apparatus may determine the data flows of the received multiple multicast sources by using the transmission priority of the data stream of each multicast source in the preset access control list. Sending the sequence, and forwarding the data streams of the multiple multicast sources according to the sending sequence, so that the switching device can forward the data streams of multiple multicast sources according to the sending order, preventing the data stream from being discarded, and effectively solving the forwarding data of the switching device. Congestion problems occur during streaming, which in turn improves the quality of data transmission.
  • the multicast management apparatus provided by the second embodiment of the present invention is the apparatus applying the foregoing method, that is, all the embodiments of the foregoing methods are applicable to the apparatus, and all of the same or similar beneficial effects can be achieved.
  • a third embodiment of the present invention provides a switching device including the above multicast management apparatus.
  • the switching device provided by the third embodiment of the present invention is a switching device that uses the foregoing multicast management device, that is, all the embodiments of the foregoing multicast management device are applicable to the switching device, and both can achieve the same or similar The benefits.
  • a fourth embodiment of the present invention provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the device/function module/functional unit in the above embodiment can be implemented by using a general-purpose computing device. Now, they can be concentrated on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the sending priority of the data streams of the received multiple multicast sources is determined by the sending priority of the data stream of each multicast source in the preset access control list, and according to the sending
  • the data flows of multiple multicast sources are forwarded in sequence, which solves the problem that congestion may occur when the switching device forwards the data stream, causing data loss and seriously affecting the quality of data transmission.
  • the data flow of multiple multicast sources is forwarded in the order of sending priority from high to low, preventing the data stream from being discarded, thereby improving the quality of data transmission.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

一种组播管理方法包括:接收多个组播源的数据流;根据预先设置的访问控制列表,确定多个组播源的数据流中的每个组播源的数据流的发送优先级,预先设置的访问控制列表中记录有每个组播源的数据流的源地址、目的地址和发送优先级;根据每个组播源的数据流的发送优先级,确定多个组播源的数据流的发送顺序,并根据发送顺序转发多个组播源的数据流。

Description

一种组播管理方法、装置及交换设备 技术领域
本申请涉及但不限于通信技术领域,尤其一种组播管理方法、装置及交换设备。
背景技术
组播是IP(Internet Protocol,互联网协议)网络数据传输方式之一,其实现了发送者和接收者之间的点对多点、多点对点或多点对多点的网络连接,它的出现解决单播和广播传输方式效率低的问题,并被广泛应用于视频、游戏、媒体广播等领域。
因特网组管理协议(IGMP,Internet Group Management Protocol)是网络通讯协议(TCP/IP)协议族中负责IP组播成员管理的协议,它用来在IP主机和与IP主机直接相邻的组播路由器之间建立以及维护组播组成员关系。随着组播技术的广泛使用,组播协议也在不断地升级。IGMP版本3(V3)在IGMP版本2(V2)的基础上增加了组播源过滤功能,使组播成员能主动选择接受或拒绝来自特定组播源的数据流。
相关技术中组播技术还存在拥塞控制和安全等许多未解决的问题。如图1所示,交换设备维护着组播组G1的转发关系,仅允许组播组G1的组播源S1和S2的组播数据流被转发向成员端口P1,当S1和S2的数据流量不超过P1端口的转发能力时,交换设备可以对组播流进行正常转发,但当S1与S2的总流量超过了P1的转发带宽时,将会在P1出口形成拥塞,此时S1与S2数据流的丢弃行为将会变得不可控,严重影响数据传输质量。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本文提供一种组播管理方法、装置及交换设备,能对组播组内的不同组 播源进行发送优先级的指定,并按照发送优先级对应的发送顺序转发多个组播源的数据流,防止数据流的丢弃,从而提高数据传输质量。
本发明实施例提供了一种组播管理方法,应用于交换设备,该组播管理方法包括:
接收多个组播源的数据流;
根据预先设置的访问控制列表,确定多个组播源的数据流中的每个组播源的数据流的发送优先级,预先设置的访问控制列表中记录有每个组播源的数据流的源地址、目的地址和发送优先级;
根据每个组播源的数据流的发送优先级,确定多个组播源的数据流的发送顺序,并根据发送顺序转发多个组播源的数据流。
可选地,发送优先级是根据每个组播源的数据流的服务质量确定的,其中每个组播源的数据流的服务质量越高,每个组播源的数据流的发送优先级越大。
可选地,预先设置的访问控制列表中还记录有交换设备对组播源的数据流的操作,组播管理方法还包括:
在交换设备对组播源的数据流的操作为丢弃操作的情况下,在进行组播源的数据流转发时,直接将与丢弃操作对应的组播源的数据流丢弃,而不进行转发。
可选地,组播管理方法还包括:
在组播源存在安全隐患的情况下,在访问控制列表中将交换设备对存在安全隐患的组播源的数据流的操作设置为丢弃操作。
可选地,根据每个组播源的数据流的发送优先级,确定多个组播源的数据流的发送顺序,并根据发送顺序转发多个组播源的数据流包括:
根据每个组播源的数据流的发送优先级,按照发送优先级从高到低的顺序转发多个组播源的数据流。
本发明实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述组播管理方法。
本发明实施例还提供了一种组播管理装置,应用于交换设备,该组播管理装置包括:
接收模块,设置为:接收多个组播源的数据流;
第一确定模块,设置为:根据预先设置的访问控制列表,确定多个组播源的数据流中的每个组播源的数据流的发送优先级,预先设置的访问控制列表中记录有每个组播源的数据流的源地址、目的地址和发送优先级;
第二确定模块,设置为:根据每个组播源的数据流的发送优先级,确定多个组播源的数据流的发送顺序,并根据发送顺序转发多个组播源的数据流。
可选地,发送优先级是根据每个组播源的数据流的服务质量确定的,其中每个组播源的数据流的服务质量越高,每个组播源的数据流的发送优先级越大。
可选地,预先设置的访问控制列表中还记录有交换设备对组播源的数据流的操作,组播管理装置还包括:
丢弃模块,设置为:在交换设备对组播源的数据流的操作为丢弃操作的情况下,在进行组播源的数据流转发时,直接将与丢弃操作对应的组播源的数据流丢弃,而不进行转发。
可选地,组播管理装置还包括:
设置模块,设置为:在组播源存在安全隐患的情况下,在访问控制列表中将交换设备对存在安全隐患的组播源的数据流的操作设置为丢弃操作。
可选地,第二确定模块包括:
转发单元,设置为:根据每个组播源的数据流的发送优先级,按照发送优先级从高到低的顺序转发多个组播源的数据流。
本发明实施例还提供了一种交换设备,包括上述的组播管理装置。
在本发明实施例中,通过预先设置的访问控制列表中的每个组播源的数据流的发送优先级,确定出接收到的多个组播源的数据流的发送顺序,并根据该发送顺序转发多个组播源的数据流,解决了交换设备转发数据流时可能发生拥塞,造成数据流丢失,严重影响数据传输质量的问题。达到了按照发送优先级从高到低的顺序转发多个组播源的数据流,防止数据流的丢弃,进而提高数据传输质量的效果。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为相关技术中IGMP V3组播源过滤功能的示意图;
图2为本发明第一实施例中组播管理方法的流程图;
图3为本发明第一实施例中IGMP V3组播转发信息建立的示意图;
图4为本发明第一实施例中P1端口组播流服务质量发送优先级调度的示意图;
图5为本发明第二实施例中组播管理装置的结构示意图。
本发明的较佳实施方式
下面结合附图对本发明的实施方式进行描述。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的各种方式可以相互组合。
第一实施例
如图2所示,本发明第一实施例提供了一种组播管理方法,应用于交换设备,该组播管理方法包括:
步骤S21,接收多个组播源的数据流;
步骤S22,根据预先设置的访问控制列表,确定多个组播源的数据流中的每个组播源的数据流的发送优先级,预先设置的访问控制列表中记录有每个组播源的数据流的源地址、目的地址和发送优先级;
在本发明第一实施例中,发送优先级可以根据每个组播源的数据流的实际服务质量确定,且组播源的数据流的服务质量越高,组播源的数据流的发送优先级就越大。当然,发送优先级也可以根据用户的自身需求来确定。
步骤S23,根据每个组播源的数据流的发送优先级,确定多个组播源的数据流的发送顺序,并根据发送顺序转发多个组播源的数据流。
在本发明第一实施例中,如图3所示,以主机A和组播组G1为例,阐述步骤S22中的访问控制列表(ACL)的设置方法,该设置方法可包括:
第一步,主机A通过端口P1向交换设备主动发送IGMP V3成员关系报告报文以要求加入组播组G1,并指定接收来自组播组G1内的组播源S1、S2、、、 Sn的数据流。
第二步,交换设备在接收到主机A的报告报文后,在组播转发表里添加多条如表1所示的基于组播源(S1、S2、、、Sn)的组播转发项。
表1
源IP地址 组播IP地址 转发端口
S1 G1 P1
S2 G1 P1
G1 P1
Sn G1 P1
第三步,在此假设组播源S1的数据流比组播源S2的数据流的质量更优,组播源S2的数据流又比其他组播源的数据流的质量更优,按照在管理平面上设置的S1、S2、、、Sn的调度优先级,S1的调度优先级为7,S2的调度优先级为6,其他组播源的调度优先级为1(IP版本4(V4)优先级等级为0~7),在控制平面上增加如表2所示的ACL规则。
表2
Figure PCTCN2016079916-appb-000001
第四步,当组播源(假设为组播源S2)存在安全隐患时,为组播源S2建立一条新的ACL规则,即将交换设备对组播源S2的数据流的操作设置为丢弃操作,使得交换设备在接收到组播源S2的数据流时,不作转发,直接将其丢弃,避免病毒的传播。如图1所示,假设当组播源S1受到网络攻击时,如果没有有效手段控制病毒的传播,后果将不堪设想。而本实施例这样做就可以解决此问题。可以理解的是,当组播源S2恢复正常时,删除对应的ACL 规则,使组播源S2的数据流在网络中正常传输。
在本发明第一实施例中,通过预先设置的访问控制列表中的每个组播源的数据流的发送优先级,确定出接收到的多个组播源的数据流的发送顺序,并根据该发送顺序转发多个组播源的数据流,从而使交换设备能够按照发送顺序转发多个组播源的数据流,防止数据流的丢弃,有效地解决交换设备在转发数据流时出现拥塞(例如当交换设备同时收到组播源S1、S2、S3的数据流时,由于三条数据流的总带宽大于P1端口的带宽(500M+400M+300M>1000M),此时产生拥塞不可避免)的问题。进而提高数据传输质量的效果。
可选地,在本发明第一实施例中,上述ACL中可以记录有交换设备对组播源的数据流的操作,因此如果交换设备对组播源的数据流的操作为丢弃操作,则在进行组播源的数据流转发时,直接将与丢弃操作对应的组播源的数据流丢弃,而不进行转发。例如在ACL表中可以记录有交换设备对组播源S2的数据流的操作为丢弃操作,这样当交换设备接收到组播源S2的数据流时,会直接将其丢弃,不会对其进行转发。
在本发明第一实施例中,如果组播源(例如组播源S2)存在安全隐患,则可在访问控制列表中将交换设备对存在安全隐患的组播源的数据流的操作设置为丢弃操作,这样便能有效地控制病毒的传播。当然在该组播源(例如组播源S2)恢复正常时,可将对应的ACL规则删除,使该组播源(例如组播源S2)的数据流可以在网络中正常传输。
可选地,在本发明第一实施例中,上述步骤S23可包括:根据每个组播源的数据流的发送优先级,按照发送优先级从高到低的顺序转发多个组播源的数据流。
可选地,在本发明第一实施例中,还以上述组播组G1的组播源为例阐述步骤S23的具体过程,如图4所示,交换设备接收到组播源S1、S2、S3的数据流后,会根据ACL中的发送优先级将组播源S1、S2、S3的数据流调度到对应的队列中。在此以严格优先级队列(SP,Strict Priority)的调度方式为例,发送优先级0~7分别对应队列(Queue)0~7,因此S1的数据流进入Queue 7,S2的数据流进入Queue 6,S3的数据流进入Queue 1。而在队列调度时,SP会严格按照发送优先级从高到低的顺序优先发送较高发送优先级队列中的分 组,当较高发送优先级队列为空时,再发送较低发送优先级队列中的分组,队列发送优先级越高,其中的数据流的转发就越优先,因此来自组播源S1的数据流将最先从P1端口被转发出去。
第二实施例
以下为本发明第二实施例提供的一种组播管理装置。所述组播管理装置的实施例与上述的方法实施例属于同一构思,组播管理装置的实施例中未详尽描述的细节内容,可以参考上述方法实施例。
如图5所示,本发明第二实施例提供了一种组播管理装置,应用于交换设备,该组播管理装置包括:
接收模块51,设置为:接收多个组播源的数据流;
第一确定模块52,设置为:根据预先设置的访问控制列表,确定多个组播源的数据流中的每个组播源的数据流的发送优先级,预先设置的访问控制列表中记录有每个组播源的数据流的源地址、目的地址和发送优先级;
第二确定模块53,设置为:根据每个组播源的数据流的发送优先级,确定多个组播源的数据流的发送顺序,并根据发送顺序转发多个组播源的数据流。
可选地,发送优先级可以是根据每个组播源的数据流的服务质量确定的,其中每个组播源的数据流的服务质量越高,每个组播源的数据流的发送优先级越大。
可选地,预先设置的访问控制列表中还可记录有交换设备对组播源的数据流的操作,组播管理装置还可包括:
丢弃模块,设置为:在交换设备对组播源的数据流的操作为丢弃操作的情况下,在进行组播源的数据流转发时,直接将与丢弃操作对应的组播源的数据流丢弃,而不进行转发。
可选地,组播管理装置还可包括:
设置模块,设置为:在组播源存在安全隐患的情况下,在访问控制列表中将交换设备对存在安全隐患的组播源的数据流的操作设置为丢弃操作。
可选地,第二确定模块53可包括:
转发单元,设置为:根据每个组播源的数据流的发送优先级,按照发送 优先级从高到低的顺序转发多个组播源的数据流。
在本发明第二实施例中,组播管理装置可通过预先设置的访问控制列表中的每个组播源的数据流的发送优先级,确定出接收到的多个组播源的数据流的发送顺序,并根据该发送顺序转发多个组播源的数据流,从而使交换设备能按照发送顺序转发多个组播源的数据流,防止数据流的丢弃,有效地解决交换设备在转发数据流时出现拥塞的问题,进而提高数据传输质量的效果。
需要说明的是,本发明第二实施例提供的组播管理装置是应用上述方法的装置,即上述方法的所有实施例均适用于该装置,且均能达到相同或相似的有益效果。
第三实施例
本发明第三实施例提供了一种交换设备,包括上述的组播管理装置。
需要说明的是,本发明第三实施例提供的交换设备是应用上述组播管理装置的交换设备,即上述组播管理装置的所有实施例均适用于该交换设备,且均能达到相同或相似的有益效果。
第四实施例
本发明第四实施例提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述组播管理方法。
本领域的普通技术人员可以理解,可以对本申请的技术方案进行修改或者等同替换,而不脱离本申请技术方案的精神和范围。本申请的保护范围以权利要求所定义的范围为准。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件、处理器等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实 现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
工业实用性
在本发明实施例中,通过预先设置的访问控制列表中的每个组播源的数据流的发送优先级,确定出接收到的多个组播源的数据流的发送顺序,并根据该发送顺序转发多个组播源的数据流,解决了交换设备转发数据流时可能发生拥塞,造成数据流丢失,严重影响数据传输质量的问题。达到了按照发送优先级从高到低的顺序转发多个组播源的数据流,防止数据流的丢弃,进而提高数据传输质量的效果。

Claims (11)

  1. 一种组播管理方法,应用于交换设备,所述组播管理方法包括:
    接收多个组播源的数据流;
    根据预先设置的访问控制列表,确定所述多个组播源的数据流中的每个组播源的数据流的发送优先级,所述预先设置的访问控制列表中记录有每个组播源的数据流的源地址、目的地址和发送优先级;
    根据所述每个组播源的数据流的发送优先级,确定所述多个组播源的数据流的发送顺序,并根据所述发送顺序转发所述多个组播源的数据流。
  2. 如权利要求1所述的组播管理方法,其中,所述发送优先级是根据每个组播源的数据流的服务质量确定的,其中所述每个组播源的数据流的服务质量越高,所述每个组播源的数据流的发送优先级越大。
  3. 如权利要求1所述的组播管理方法,所述预先设置的访问控制列表中还记录有交换设备对组播源的数据流的操作,所述组播管理方法还包括:
    在交换设备对组播源的数据流的操作为丢弃操作的情况下,在进行组播源的数据流转发时,直接将与所述丢弃操作对应的组播源的数据流丢弃,而不进行转发。
  4. 如权利要求3所述的组播管理方法,还包括:
    在组播源存在安全隐患的情况下,在访问控制列表中将交换设备对存在安全隐患的组播源的数据流的操作设置为丢弃操作。
  5. 如权利要求1所述的组播管理方法,其中,所述根据所述每个组播源的数据流的发送优先级,确定所述多个组播源的数据流的发送顺序,并根据所述发送顺序转发所述多个组播源的数据流包括:
    根据所述每个组播源的数据流的发送优先级,按照发送优先级从高到低的顺序转发所述多个组播源的数据流。
  6. 一种组播管理装置,应用于交换设备,所述组播管理装置包括:
    接收模块,设置为:接收多个组播源的数据流;
    第一确定模块,设置为:根据预先设置的访问控制列表,确定所述多个 组播源的数据流中的每个组播源的数据流的发送优先级,所述预先设置的访问控制列表中记录有每个组播源的数据流的源地址、目的地址和发送优先级;
    第二确定模块,设置为:根据所述每个组播源的数据流的发送优先级,确定所述多个组播源的数据流的发送顺序,并根据所述发送顺序转发所述多个组播源的数据流。
  7. 如权利要求6所述的组播管理装置,其中,所述发送优先级是根据每个组播源的数据流的服务质量确定的,其中所述每个组播源的数据流的服务质量越高,所述每个组播源的数据流的发送优先级越大。
  8. 如权利要求6所述的组播管理装置,所述预先设置的访问控制列表中还记录有交换设备对组播源的数据流的操作,所述组播管理装置还包括:
    丢弃模块,设置为:在交换设备对组播源的数据流的操作为丢弃操作的情况下,在进行组播源的数据流转发时,直接将与所述丢弃操作对应的组播源的数据流丢弃,而不进行转发。
  9. 如权利要求8所述的组播管理装置,还包括:
    设置模块,设置为:在组播源存在安全隐患的情况下,在访问控制列表中将交换设备对存在安全隐患的组播源的数据流的操作设置为丢弃操作。
  10. 如权利要求6所述的组播管理装置,其中,所述第二确定模块包括:
    转发单元,设置为:根据所述每个组播源的数据流的发送优先级,按照发送优先级从高到低的顺序转发所述多个组播源的数据流。
  11. 一种交换设备,包括如权利要求6至10中任一项所述的组播管理装置。
PCT/CN2016/079916 2015-06-18 2016-04-21 一种组播管理方法、装置及交换设备 WO2016202087A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510340341.8A CN106257881A (zh) 2015-06-18 2015-06-18 一种组播管理方法、装置及交换设备
CN201510340341.8 2015-06-18

Publications (1)

Publication Number Publication Date
WO2016202087A1 true WO2016202087A1 (zh) 2016-12-22

Family

ID=57544951

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/079916 WO2016202087A1 (zh) 2015-06-18 2016-04-21 一种组播管理方法、装置及交换设备

Country Status (2)

Country Link
CN (1) CN106257881A (zh)
WO (1) WO2016202087A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112118193A (zh) * 2020-08-27 2020-12-22 新华三技术有限公司 一种转发组播的方法、装置和网络设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889558A (zh) * 2006-07-20 2007-01-03 华为技术有限公司 一种iptv承载网中节目频道差异化处理的方法
CN102257764A (zh) * 2008-12-16 2011-11-23 阿尔卡特朗讯公司 组播服务质量模块和方法
US8121133B2 (en) * 2008-05-15 2012-02-21 Cisco Technology, Inc. Stream regulation in a peer to peer network
CN104125161A (zh) * 2014-08-14 2014-10-29 三星电子(中国)研发中心 区分数据优先级的多播传输方法、系统及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889558A (zh) * 2006-07-20 2007-01-03 华为技术有限公司 一种iptv承载网中节目频道差异化处理的方法
US8121133B2 (en) * 2008-05-15 2012-02-21 Cisco Technology, Inc. Stream regulation in a peer to peer network
CN102257764A (zh) * 2008-12-16 2011-11-23 阿尔卡特朗讯公司 组播服务质量模块和方法
CN104125161A (zh) * 2014-08-14 2014-10-29 三星电子(中国)研发中心 区分数据优先级的多播传输方法、系统及装置

Also Published As

Publication number Publication date
CN106257881A (zh) 2016-12-28

Similar Documents

Publication Publication Date Title
US20200336441A1 (en) Traffic management in a network switching system with remote physical ports
US10243865B2 (en) Combined hardware/software forwarding mechanism and method
US9276852B2 (en) Communication system, forwarding node, received packet process method, and program
ES2684769T3 (es) Método y dispositivo para soportar una suscripción de contenido en una red de contenidos
US9503382B2 (en) Scalable flow and cogestion control with openflow
JP5619290B2 (ja) マルチキャストブランチ、プロトコルインデペンデントマルチキャストルータおよびレイヤ2交換機のプルーニング方法
US8705349B2 (en) Destination-based congestion control
US8274974B1 (en) Method and apparatus for providing quality of service across a switched backplane for multicast packets
JP5017218B2 (ja) パケット転送装置
US10171253B2 (en) Node directed multicast traffic management systems and methods for mesh networks
JP2009111747A (ja) 中継装置および方法、並びに、プログラム
US9419910B2 (en) Communication system, control apparatus, and communication method
CN104009928A (zh) 一种对数据流进行限速的方法及装置
US7408876B1 (en) Method and apparatus for providing quality of service across a switched backplane between egress queue managers
US20170373927A1 (en) Managing multicast scaling
US9843516B2 (en) Communication node, control apparatus, method for management of control information entries and program
WO2008138248A1 (fr) Procédé, carte d'interface et routeur destinés à transmettre un message
WO2016202087A1 (zh) 一种组播管理方法、装置及交换设备
US9467419B2 (en) System and method for N port ID virtualization (NPIV) login limit intimation to converged network adaptor (CNA) in NPIV proxy gateway (NPG) mode
JP2006087014A (ja) レイヤ2スイッチ
WO2016206492A1 (zh) 流处理方法和装置
WO2016074498A1 (zh) 组播设备及因特网组管理协议侦听组播流带宽管理方法
JP2004282161A (ja) マルチキャスト通信方法、マルチキャスト通信用ルータ装置およびマルチキャスト通信用プログラム
JP5597603B2 (ja) マルチキャスト離脱制御装置及びシステム及び方法
JP2006186888A (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: 16810828

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

Country of ref document: EP

Kind code of ref document: A1