WO2009026852A1 - Procédé, système et dispositif de commutation d'un message multidiffusion - Google Patents

Procédé, système et dispositif de commutation d'un message multidiffusion Download PDF

Info

Publication number
WO2009026852A1
WO2009026852A1 PCT/CN2008/072138 CN2008072138W WO2009026852A1 WO 2009026852 A1 WO2009026852 A1 WO 2009026852A1 CN 2008072138 W CN2008072138 W CN 2008072138W WO 2009026852 A1 WO2009026852 A1 WO 2009026852A1
Authority
WO
WIPO (PCT)
Prior art keywords
multicast
source
address
network device
destination
Prior art date
Application number
PCT/CN2008/072138
Other languages
English (en)
French (fr)
Inventor
Ruobin Zheng
Original Assignee
Huawei Technologies Co., Ltd.
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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2009026852A1 publication Critical patent/WO2009026852A1/zh

Links

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
    • H04L12/1836Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with heterogeneous network architecture
    • 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
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership

Definitions

  • the embodiments of the present invention relate to network communication technologies, and in particular, to a method, system, and device for converting multicast packets. Background technique
  • Source Specific Multicast is a new multicast service mode that is different from traditional Any Source Multicast (ASM).
  • ASM uses only the multicast address to identify a multicast session.
  • the SSM uses both the multicast address and the multicast source address to identify a multicast session. That is, the ASM multicast message contains only the multicast address, and the SSM group.
  • the broadcast message contains both the multicast address and the multicast source address.
  • the ASM terminal only decides to join a multicast according to the multicast address, and receives the multicast data of the multicast address from any multicast source.
  • the source-filtering multicast function can be implemented in the SSM because the SSM multicast packet contains the multicast source address.
  • the terminal in the SSM advertises the multicast group that the terminal wants to join through the multicast address included in the multicast message, and advertises the group of multicast messages that the terminal wants to receive through the multicast source address list included in the multicast packet.
  • the source-filtering address is used to advertise the multicast source address of the multicast packet that the terminal does not want to receive through the multicast source address exclusion list included in the multicast message.
  • IPv4 Internet Protocol Version 4
  • the multicast management protocol is the first version of the Internet Group Management Protocol (IGMPvl, Internet Group Management Protocol Version 1) or the Internet Group Management Protocol Version 2 (IGMPv2, Internet Group Management Protocol Version 2).
  • IGMPv3 Internet Group Management Protocol Version 3
  • MLD Multicast Listener Discovery
  • the multicast management protocol used in the ASM domain that supports IPv6 is a group.
  • the first version of the Broadcast Listener Protocol (MLDvl, Multicast Listener Discovery Version 1) the multicast management protocol used in the SSM domain that supports IPv6 is the Multicast Listener Protocol Version 2 (MLDv2, Multicast Listener Discovery Version 2).
  • MLDv2 Multicast Listener Discovery Version 2
  • the network supporting the ASM is referred to as an ASM domain
  • the network supporting the SSM is referred to as an SSM domain
  • the network supporting the IPv4 is referred to as an IPv4 domain
  • the network supporting the IPv6 is referred to as an IPv6 domain.
  • Figure la is the ASM and SSM in the prior art.
  • the access network supports ASM in Figure la, and the terminal network supports SSM;
  • the access network in Figure lb is the upgraded access network, supporting SSM, and the terminal network is still an old-fashioned terminal network, supporting ASM
  • Figure lc is a hybrid application scenario of IPv4 and IPv6 in the prior art.
  • the access network supports IPv4 in Figure lc, and the terminal network supports IPv6.
  • Figure Id is another hybrid application scenario of IPv4 and IPv6 in the prior art.
  • the access network supports IPv6, and the terminal network supports IPv4.
  • the mode of multicast packets from one network is incompatible with another network.
  • the prior art There is no multicast packet conversion method that can solve the compatibility problem of transmitting multicast packets between different mode networks under the coexistence of the above different modes of network coexistence. Summary of the invention
  • the embodiments of the present invention provide a method, a system, and a device for converting multicast packets, so as to solve the problem of compatibility between different mode networks for transmitting multicast packets when different modes of network coexistence are solved.
  • a method for converting a multicast message comprising:
  • the source multicast packet of the mode supported by the source network device is generated according to the multicast address included in the source multicast packet.
  • the destination multicast packet of the mode, and the generated destination multicast packet is sent to the destination network device.
  • the source network device supports a source-specific multicast SSM, and the destination network device supports any source multicast ASM, and the source network device supports multicast of the same Internet protocol IP version or different IP version; or
  • the source network device supports the ASM, the destination network device supports the SSM, and the source network device supports multicast of different IP versions; or
  • the source network device and the destination network device simultaneously support SSM or ASM, and the source network device and the destination network device support multicast of different IP versions.
  • a multicast message conversion system comprising:
  • a source network device configured to send a source multicast packet in a mode supported by the source network
  • a multicast packet conversion device configured to receive the source multicast packet sent by the source network device, where the source multicast packet is included according to the source multicast packet
  • the multicast address is generated, and the destination multicast packet is generated in the mode supported by the destination network device, and the generated destination multicast packet is sent to the destination network device.
  • the destination network device is configured to receive the destination multicast packet sent by the multicast packet conversion device
  • the source network device supports a source-specific multicast SSM, and the destination network device supports any source multicast ASM, and the source network device supports multicast of the same Internet protocol IP version or different IP version; or
  • the source network device supports the ASM, the destination network device supports the SSM, and the source network device supports multicast of different IP versions; or
  • the source network device and the destination network device simultaneously support SSM or ASM, and the source network device and the destination network device support multicast of different IP versions.
  • a multicast packet conversion device includes:
  • a packet receiving unit configured to receive a source multicast packet sent by the source network device
  • An address obtaining unit configured to obtain a multicast address of the source multicast packet received by the packet receiving unit, and provide a multicast address of the source multicast message
  • the destination multicast packet generating unit is configured to generate a destination multicast file according to the multicast address provided by the address obtaining unit;
  • a message sending unit configured to send the destination multicast message generated by the destination multicast packet generating unit
  • the source network device supports a source-specific multicast SSM, and the destination network device supports any source multicast ASM, and the source network device supports multicast of the same Internet protocol IP version or different IP version; or
  • the source network device supports the ASM, the destination network device supports the SSM, and the source network device supports multicast of different IP versions; or
  • the source network device and the destination network device simultaneously support SSM or ASM, and the source network device and the destination network device support multicast of different IP versions.
  • the embodiment of the present invention converts the source packet according to the multicast address included in the source multicast packet by receiving the source multicast packet in the source network device support mode.
  • the destination multicast packet of the mode supported by the destination network device enables the group to be implemented in the process of transmitting the multicast packet from the source network device to the destination network device when the source network and the destination network support different modes of multicast.
  • the conversion of the broadcast message enables the translated multicast packet mode to be compatible with the destination network, thereby solving the problem of compatibility of multicast packets transmitted between different mode networks under different mode network coexistence.
  • Figure la is a hybrid application scenario of ASM and SSM in the prior art
  • Figure lb is another hybrid application scenario of ASM and SSM in the prior art
  • FIG. 3 is a flowchart of a method for a second case according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a method for a third case according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a method according to a fourth aspect of the present invention
  • FIG. 6 is a flowchart of a method according to a fifth aspect of the present invention
  • FIG. 8 is a structural diagram of a system for converting a multicast packet according to an embodiment of the present invention
  • FIG. 9 is a structural diagram of a device for converting a multicast packet according to an embodiment of the present invention.
  • the embodiment of the present invention provides a method for converting a multicast packet, including: receiving a source multicast packet in a source network device support mode, and converting the source packet into a destination network according to the multicast address included in the source multicast packet.
  • the destination multicast packet of the multicast mode supported by the device.
  • the source network device and the destination network device support different modes of multicast.
  • the method can preset a multicast packet conversion device, and the multicast packet conversion device performs the steps in the foregoing method.
  • the method is divided into the following cases, and each embodiment is described in detail:
  • a source network device supports an SSM
  • a destination network device supports an ASM
  • a source network device and a destination network device support the same IP version.
  • the multicast packet sent by the source network device is used as an example of the IGMPv3 packet.
  • the method may include the following steps:
  • the multicast packet conversion device receives the IGMPv3 packet sent by the source network device.
  • S202 The multicast packet conversion device obtains the multicast source address included in the IGMPv3 packet, and sends a request for obtaining the multicast source address permission to the multicast source authority providing device.
  • the multicast source permission providing device may be a server set by the operator and storing the multicast source authority information.
  • S203 The multicast source authority providing device provides the multicast information of the multicast source address to the multicast packet conversion device.
  • S204 The multicast packet conversion device determines, according to the obtained permission information of the multicast source address, whether the multicast source address has the access right. If yes, step S206 is performed; if not, step S205 is performed.
  • the foregoing steps S202 to S205 are performed when the multicast source authority is checked for the received IGMPv3 message.
  • the multicast source permission detection method enables the operator to provide some multicast sources for providing illegal services. Control is performed so that the source network device cannot obtain the illegal services provided by these multicast sources.
  • step S202 to step S205 may not be performed.
  • the multicast packet conversion device uses the multicast address included in the IGMPv3 message to generate an IGMPv1 or IGMPv2 message and sends the packet to the destination network device.
  • the IGMPv1 or IGMPv2 packet is generated by using the multicast address contained in the IGMPv3 packet.
  • the IGMPv3 message is formatted to generate IGMPv1 or IGMPv2 packets.
  • the multicast source authority providing device may also configure the multicast source address authority information in the multicast packet conversion device in a list manner.
  • the step S202 may not be performed.
  • the action of sending a request to the multicast source address is sent to the device, and the step S203 is performed.
  • the multicast address translation device searches the multicast source address permission list configured according to the multicast source address included in the received multicast packet, and obtains the multicast source.
  • the address authority information is then continued to step S204.
  • the multicast packet conversion device can also convert the received MLDv2 packet into an MLDv1 packet by using the process shown in Figure 2. .
  • a source network device supports an SSM
  • a destination network device supports an ASM
  • a source network device and a destination network device support different IP versions.
  • the source network device supports IPv4, and the destination network device supports IPv6 as an example.
  • the method may include the following steps: S301: The multicast packet conversion device receives the IGMPv3 packet sent by the source network device.
  • the multicast 4 translation device obtains the multicast address and the multicast source address of the IGMPv3 message, and queries the IPv4 multicast address and the multicast source address from the set IPv4 and IPv6 address mapping table.
  • the IPv4 and IPv6 address mapping table contains the mapping between IPv4 and IPv6 addresses.
  • the multicast packet conversion device sends a request for obtaining the permission of the multicast source address to the multicast source authority providing device.
  • the multicast source address providing device provides the multicast message translation device with the permission information of the multicast source address.
  • step S305 The multicast packet conversion device determines, according to the obtained authority information of the multicast source address, whether the multicast source address has the right to be accessed. If yes, step S307 is performed; if not, step S306 is performed.
  • step S304 to step S306 may not be performed.
  • the multicast packet conversion device generates an MLDv1 message by using the IPv6 multicast address obtained by the IPv4 and IPv6 address mapping table, and sends the MLDv1 message to the destination network device.
  • the IGMPv3 message is formatted and the MLDv1 message is generated by using the IPv6 multicast address obtained by the lookup table.
  • the multicast source authority providing device may also configure the multicast source address authority information in a multicast manner in the multicast packet conversion device. In this case, step S303 and the step may not be performed.
  • S304 The multicast address translation device queries the multicast source address permission list configured according to the multicast source address obtained by the query mapping table to obtain the multicast source address authority information, and then proceeds to step S305.
  • the procedure in Figure 3 above is to describe the example of converting the IPv4 version of the source multicast packet to the IPv6 version of the destination multicast file. If the IPv6 version of the source multicast packet is translated to the IPv4 version of the destination group. Broadcast message, the multicast packet conversion device can also convert the received MLDv2 ⁇ file into IGMPvl or IGMPv2 by using the process shown in Figure 3. Message.
  • a source network device supports ASM
  • a destination network device supports SSM
  • a source network device and a destination network device support different IP versions.
  • the source network device supports IPv4
  • the destination network device supports IPv6 as an example.
  • the method may include the following steps:
  • the multicast packet conversion device receives the IGMPv1 or IGMPv2 packet sent by the source network device.
  • the multicast packet conversion device obtains the multicast address of the IGMPv1 or IGMPv2 packet, and queries the corresponding IPv6 multicast address from the set IPv4 and IPv6 address mapping table.
  • the multicast packet conversion device sends a request for acquiring a multicast source address to the multicast source address providing device.
  • the sent request includes the multicast address information queried in step S402.
  • the multicast source address providing device provides a multicast source address corresponding to the queried multicast address to the multicast packet conversion device.
  • the multicast packet conversion device generates an MLDv2 packet and sends the packet to the destination network device by using the IPv6 multicast address obtained by the IPv4 and IPv6 address mapping table and the obtained multicast source address.
  • the IGMPv1 or IGMPv2 text is formatted and the MLDv2 message is generated by using the IPv6 multicast address obtained by checking the Pv4 and IPv6 address mapping table and the obtained multicast source address.
  • the multicast source address providing device may also configure the multicast source address information in a multicast manner in the multicast packet conversion device. In this case, step S403 and step S404 may not be performed.
  • the multicast address translation device searches for the multicast source address list configured according to the multicast address obtained by the mapping table, obtains the multicast source address corresponding to the queried multicast address, and then proceeds to step S405.
  • the procedure in Figure 4 above is to convert the IPv4 version of the source multicast packet to The IPv6 version of the destination multicast message is used as an example. If the IPv6 version of the source multicast packet is translated to the IPv4 version of the destination multicast packet, the multicast packet translation device can also receive the packet as shown in Figure 4.
  • the MLDv2 is translated into IGMPvl or IGMPv2 messages.
  • FIG. 5 is a flowchart of a method according to a fourth aspect of the present disclosure.
  • both the source network device and the destination network device support ASM, but the source network device and the destination network device support different IP versions.
  • the source network device supports IPv4, and the destination network device supports IPv6 as an example.
  • the method may include the following steps:
  • the multicast packet conversion device receives the IGMPv1 or IGMPv2 packet sent by the source network device.
  • the multicast packet conversion device obtains the multicast address included in the IGMPv1 or IGMPv2 packet.
  • the multicast/text translation device searches for the IPv6 multicast address corresponding to the obtained multicast address from the set IPv4 and IPv6 address mapping table.
  • the multicast packet conversion device generates an MLDv1 packet by using the queried IPv6 multicast address, and sends the packet to the destination network device.
  • the format of the IGMPvl or IGMPv2 packet and the MLDv1 packet are translated by the queried IPv6 multicast address to generate an MLDv1 packet.
  • the steps in the process shown in Figure 5 are as follows:
  • the IPv6 multicast packet is translated into an IPv6 multicast packet. If the IPv6 multicast packet is translated into an IPv4 multicast packet,
  • the multicast packet conversion device can also convert the received MLDv1 message into an IGMPv1 or IGMPv2 message by using the process shown in Figure 5.
  • FIG. 6 is a flowchart of a method according to a fifth aspect of the present disclosure.
  • both the source network device and the destination network device support SSM, but the source network device and the destination network device support different IP versions.
  • the source network device supports IPv4, and the destination network device supports IPv6 as an example.
  • the method may include the following steps:
  • S601 The multicast packet conversion device receives the IGMPv3 packet sent by the source network device.
  • S602 The multicast 4-type text conversion device obtains the multicast address and the multicast source address included in the IGMPv3 message.
  • the multicast/text translation device searches for the IPv6 multicast address corresponding to the obtained multicast address and the multicast source address of the IPv6 corresponding to the obtained multicast source address from the set IPv4 and IPv6 address mapping table.
  • the multicast translation device uses the queried IPv6 multicast address and the multicast source address to generate an MLDv3 message to be sent to the destination network device.
  • the IGMPv3 packet is converted into an MLDv3 packet by using the queried IPv6 multicast address and the multicast source address.
  • the steps in the process shown in Figure 6 are as follows:
  • the IPv6 multicast packet is translated into an IPv6 multicast packet. If the IPv6 multicast packet is translated into an IPv4 multicast packet,
  • the multicast packet conversion device can also convert the received MLDv2 packet into an IGMPv3 packet by using the process shown in Figure 6.
  • the source network devices are all multicast user equipments, and the source multicast packets sent by the source network packets are multicast request packets.
  • the method of the present invention can also be used for a source network device to provide multicast data to a multicast user equipment.
  • the source multicast packet of the source network device is a multicast data packet.
  • FIG. 7 is a flowchart of a method according to a sixth aspect of the present disclosure.
  • the received multicast data packet is in the IPv4 mode, and needs to be converted into the IPv6 mode multicast data supported by the destination network device.
  • the method may include the following steps:
  • the multicast packet conversion device receives the IPv4 mode multicast data packet sent by the source network device.
  • the multicast packet conversion device acquires a multicast address included in the received multicast data packet.
  • the multicast translation device searches for the IPv6 multicast address corresponding to the obtained multicast address from the set IPv4 and IPv6 address mapping table.
  • the step may further include: setting the IPv4 and IPv6 addresses. Query the multicast source in the mapping table The IPv6 multicast source address corresponding to the address.
  • EPG Electronic Program Guide
  • the multicast packet conversion device generates the multicast data packet in the IPv6 mode by using the queried multicast address, and sends the packet to the destination network device.
  • the multicast data packet in the IPv4 mode is formatted by using the queried multicast address to generate a multicast data packet in the IPv6 mode.
  • the procedure in the process shown in Figure 7 is an example of converting IPv4 multicast data packets into IPv6 multicast data packets.
  • the IPv6 multicast data packets can also be obtained by using the process shown in Figure 7. Converts to IPv4 multicast data packets.
  • the conversion system mainly includes: a source network device 801, a multicast packet conversion device 802, and a destination network device 803;
  • the network device 801 is configured to send the source multicast packet in the mode supported by the network device.
  • the multicast packet conversion device 802 is configured to receive the source multicast packet sent by the source network device 801, and the source multicast packet is included according to the source multicast packet.
  • the multicast address, the destination multicast packet of the mode supported by the destination network device 803 is generated, and the generated destination multicast packet is sent to the destination network device 803;
  • the destination network device 803 is configured to receive the destination multicast packet sent by the multicast packet conversion device 802.
  • the system may further include: a multicast source rights providing device 804, configured to provide multicast source address authority information;
  • the multicast packet conversion device 802 is further configured to receive the multicast source address authority information provided by the multicast source address providing device 804, and determine whether the multicast source address has the right to be accessed, and if so, perform the generation purpose. If the multicast packet is not received, the source multicast packet is discarded.
  • the source network device 801 may also be a node that provides multicast data for the multicast user equipment, the destination network device 803, and the multicast user equipment.
  • the multicast message transmitted at this time is a multicast data packet.
  • the system may further include: a mapping table storage device 805, configured to store a mapping relationship of the multicast address in the IPv4 and IPv6 modes.
  • the multicast packet conversion device 802 is further configured to query, from the mapping table storage device 805, the multicast address of another IP version corresponding to the multicast address of the source multicast file, and perform the multicast address according to the query. The operation of generating a destination multicast packet.
  • the mapping table storage device 805 can be set as an independent device or in the multicast message conversion device 802.
  • the system may further include: a multicast source address providing device 806, configured to provide multicast source address information corresponding to the queried multicast address;
  • the multicast packet conversion device 802 is further configured to: perform the multicast source address corresponding to the multicast address requested by the multicast source address providing device 806, and execute the generated destination multicast report by using the obtained multicast source address. The operation of the text.
  • the multicast source authority providing device 804 and the multicast source address providing device 806 may also be configured as a device, and the device simultaneously provides multicast source address information and multicast source authority information.
  • the multicast packet conversion device 802 can be a router group (RG, Routing Group).
  • the source authority providing device 804 or the multicast source address providing device 806 may be between an automatic configuration server (ACS, Automatic Configuration Server), a source authority providing device 804, or a multicast source address providing device 806 and a multicast file converting device 802.
  • the multicast source address is transmitted through the TR069 protocol.
  • the multicast packet conversion device 802 can also be an access node (AN, Access Node), for example, a base station, a digital subscriber access multiplexer (DSLAM, DSL Access Multiplexer), or OLT (Optical Line Termination), where the source rights providing device 804 or the multicast source address providing device 806 can be an IP edge device, such as a Broadband Network Gateway (BNG) or a broadband remote access server. (BRAS, Broadband Remote Access Server), broadcast source rights providing device 804 or multicast source address providing device 806 and multicast forwarding
  • BNG Broadband Network Gateway
  • BRAS Broadband Remote Access Server
  • broadcast source rights providing device 804 or multicast source address providing device 806 and multicast forwarding
  • the device 802 can perform the transmission of the multicast source address through the Layer 2 Control Protocol (L2CP).
  • L2CP Layer 2 Control Protocol
  • the multicast packet conversion device 802 can also be an Optical Network Unit (ONU, Optical Network Unit) or an optical network terminal ( ONT , Optical Network Terminal )
  • the limit providing device 804 or the multicast source address providing device 806 can be an OLT, the source right providing device 804 or the multicast source address providing device 806 and the multicast switching device 802 through the optical network unit management and control interface ( OMCI, ONU Management and Control Interface) Complete the transfer of the multicast source address.
  • FIG. 9 is a schematic structural diagram of a multicast packet conversion device according to an embodiment of the present invention.
  • the multicast packet conversion device mainly includes: a packet receiving unit 901, an address obtaining unit 902, and a destination multicast.
  • the message receiving unit 901 is configured to receive the source multicast packet sent by the source network device.
  • the address obtaining unit 902 is configured to obtain a multicast address of the source multicast packet received by the packet receiving unit 901, and provide a multicast address of the source multicast packet.
  • the destination multicast packet generating unit 903 is configured to generate a destination multicast message according to the multicast address provided by the address obtaining unit 902.
  • the text sending unit 904 is configured to send the destination multicast message generated by the destination multicast text generating unit 903.
  • the multicast packet conversion device may further include: a mapping table storage unit 905, configured to store a mapping relationship between the addresses between the IPv4 and the IPv6.
  • the address obtaining unit 902 includes: a multicast address obtaining unit 9021 and a lookup unit 9022;
  • the multicast address obtaining unit 9021 is configured to obtain the source multicast packet received by the packet receiving unit 901.
  • the lookup unit 9022 is configured to query, from the mapping table storage unit 905, the multicast address of the IP version supported by the destination network device corresponding to the multicast address obtained by the multicast address obtaining unit 9021, and provide the queryed group. Broadcast address.
  • the multicast packet conversion device may further include: a multicast source authority obtaining unit 906 and a weight determining unit 907;
  • the multicast source authority obtaining unit 906 is configured to obtain the rights information of the multicast source address according to the multicast source address obtained by the address obtaining unit 902.
  • the authority determining unit 907 is configured to determine, according to the multicast source address authority information acquired by the multicast source authority obtaining unit 906, whether the multicast source address has the right to be accessed, and if so, The triggering destination multicast generating unit 903 performs the operation of generating the destination multicast packet. If not, the destination multicast packet generating unit 903 is prohibited from performing the operation of generating the destination multicast packet.
  • the address obtaining unit 902 is further configured to obtain a multicast source address of the source multicast message received by the message receiving unit 901.
  • the multicast packet conversion device may further include: a multicast source address obtaining unit 908, configured to obtain, according to the multicast address queried by the lookup table unit 9022, a multicast source address corresponding to the queried multicast address, and The multicast source address is provided to the destination multicast packet generating unit 903.
  • a multicast source address obtaining unit 908 configured to obtain, according to the multicast address queried by the lookup table unit 9022, a multicast source address corresponding to the queried multicast address, and The multicast source address is provided to the destination multicast packet generating unit 903.
  • the destination multicast generation unit 903 is further configured to receive the multicast source address provided by the multicast source address obtaining unit 908, and perform the operation of generating the destination multicast packet by using the multicast source address.
  • the source multicast packet is converted into the supported mode of the destination network device according to the multicast address included in the source multicast packet by receiving the source multicast packet in the source network device support mode.
  • the destination multicast packet enables the conversion of multicast packets during the process of transmitting the multicast packets from the source network device to the destination network device when the source network and the destination network support different modes of multicast.
  • the translated multicast packet mode can be compatible with the destination network, thus solving the problem of compatibility between different mode networks for transmitting multicast packets when different modes of network coexist.
  • the embodiment of the present invention specifically translates the conversion of multicast packets from the SSM mode to the ASM mode, the conversion from the ASM mode to the different IP versions of the SSM mode, the conversion of different IP versions in the ASM mode, and the different IPs in the SSM mode.
  • the version conversion method which specifically includes the multicast source authority judgment process, the conversion method of different IP version multicast addresses and multicast source addresses, thereby solving the compatibility problem that may occur under the specific different modes, and This method only needs to set up a multicast packet conversion device to implement multicast packet transmission between different modes of the network. It is not necessary to completely modify the existing network. For example, access to ASM or IPv4 is not required. The network is upgraded, which saves the cost of the operator.

Landscapes

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

Description

一种组播报文的转换方法、 系统和设备 技术领域
本发明实施例涉及网络通信技术,特别涉及一种组播报文的转换 方法、 系统和设备。 背景技术
源特定组播(SSM, Source Specific Multicast )是一种区别于传 统的任意源组播( ASM , Any Source Multicast ) 的新组播业务模式。 ASM仅使用组播地址来标识一个组播会话, 而 SSM同时使用组播地 址和组播源地址来标识一个组播会话, 即 ASM的组播 ^艮文仅包含组 播地址, 而 SSM的组播 ^艮文同时包含组播地址和组播源地址。
ASM 的终端只根据组播地址来决定加入某个组播, 并从任何一 个组播源接收发送该组播地址的组播数据。 由于 SSM的组播报文中 包含了组播源地址, 因此,在 SSM中可以实现源过滤组播功能。 SSM 中的终端通过组播 ^艮文包含的组播地址通告该终端希望加入的组播 组,同时通过组播报文中包含的组播源地址列表通告该终端希望接收 的组播 4艮文的组播源地址,或通过组播 ^艮文中包含的组播源地址排除 列表通告该终端不希望接收的组播报文的组播源地址,从而实现源过 滤组播功能。
根据 IP版本的不同, SSM和 ASM分别使用不同版本的组播管 理协议。 在支持互联网协议第四版( IPv4, Internet Protocol Version 4 ) 的网络中,使用的组播管理协议为因特网组管理协议( IGMP, Internet Group Management Protocol ), 其中, 在支持 IPv4的 ASM域中, 使 用的组播管理协议为因特网组管理协议第一版( IGMPvl , Internet Group Management Protocol Version 1 )或因特网组管理协议第二版 ( IGMPv2 , Internet Group Management Protocol Version 2 ), 在支持 IPv4的 SSM域中,使用因特网组管理协议第三版( IGMPv3 , Internet Group Management Protocol Version 3 )。 在支持互联网协议第六版 ( IPv6, Internet Protocol Version 6 ) 的网络中, 使用的组播管理协议 为组播监听者协议(MLD, Multicast Listener Discovery ), 其中, 在 支持 IPv6的 ASM域中,使用的组播管理协议为组播监听者协议第一 版 ( MLDvl , Multicast Listener Discovery Version 1 ), 在支持 IPv6的 SSM域中, 使用的组播管理协议为组播监听者协议第二版( MLDv2, Multicast Listener Discovery Version 2 )。 在本发明中, 将支持 ASM的 网络称为 ASM域,将支持 SSM的网络称为 SSM域, 将支持 IPv4的 网络称为 IPv4域, 将支持 IPv6的网络称为 IPv6域。
在实现本发明的过程中, 发明人发现现有技术至少存在以下问 题:
由于目前正处于网络升级的阶段, 所以, 在未来一段时间内将会 出现不同模式的网络共存的局面,可能存在以下几种不同模式的网络 共存的情况:图 la为现有技术中 ASM与 SSM的一种混合应用场景, 图 la中接入网支持 ASM, 而终端网络支持 SSM; 图 lb中接入网为 升级后的接入网, 支持 SSM, 而终端网络仍为老式终端网络, 支持 ASM; 图 lc为现有技术中 IPv4和 IPv6的一种混合应用场景, 图 lc 中接入网支持 IPv4, 终端网络支持 IPv6; 图 Id为现有技术中 IPv4 和 IPv6的另一种混合应用场景, 图 1 d中接入网支持 IPv6 , 终端网络 支持 IPv4。诸如上述几种不同模式的网络共存情况下, 支持不同模式 的网络之间进行通信时,必然会出现来自一个网络的组播报文的模式 与另一个网络不兼容的问题, 然而, 现有技术中, 并没有一种组播报 文的转换方法能够解决以上几种不同模式网络共存情况下,不同模式 网络间传送组播报文的兼容问题。 发明内容
本发明实施例提供了一种组播报文的转换方法、 系统和设备, 以 便于解决不同模式网络共存情况下,不同模式网络间传送组播报文的 兼容问题。 一种组播 ^文的转换方法, 该方法包括:
当源网络设备与目的网络设备支持不同模式的组播时,接收源网 络设备所支持模式的源组播报文 ,根据所述源组播报文包含的组播地 址, 生成目的网络设备所支持模式的目的组播报文, 并将所述生成的 目的组播报文发送给目的网络设备;
其中, 所述源网络设备支持源特定组播 SSM, 所述目的网络设 备支持任意源组播 ASM, 且所述源网络设备支持相同互联网协议 IP 版本或不同 IP版本的组播; 或者,
所述源网络设备支持 ASM, 所述目的网络设备支持 SSM, 且所 述源网络设备支持不同 IP版本的组播; 或者,
所述源网络设备和目的网络设备同时支持 SSM或 ASM,且所述 源网络设备和目的网络设备支持不同 IP版本的组播。
一种组播报文的转换系统, 该系统包括:
源网络设备, 用于发送自身所支持模式的源组播报文; 组播报文转换设备, 用于接收所述源网络设备发送的源组播报 文, 根据所述源组播报文包含的组播地址, 生成目的网络设备所支持 模式的目的组播报文, 并将生成的目的组播报文发送给目的网络设 备;
目的网络设备,用于接收所述组播报文转换设备发送的目的组播 报文;
其中, 所述源网络设备支持源特定组播 SSM, 所述目的网络设 备支持任意源组播 ASM, 且所述源网络设备支持相同互联网协议 IP 版本或不同 IP版本的组播; 或者,
所述源网络设备支持 ASM, 所述目的网络设备支持 SSM, 且所 述源网络设备支持不同 IP版本的组播; 或者,
所述源网络设备和目的网络设备同时支持 SSM或 ASM,且所述 源网络设备和目的网络设备支持不同 IP版本的组播。
一种组播报文转换设备, 该设备包括:
报文接收单元, 用于接收源网络设备发送的源组播报文; 地址获取单元,用于获取所述报文接收单元接收到的源组播报文 的组播地址, 并提供该源组播 ^艮文的组播地址;
目的组播报文生成单元,用于根据所述地址获取单元提供的组播 地址生成目的组播 文;
报文发送单元,用于发送所述目的组播报文生成单元生成的目的 组播报文;
其中, 所述源网络设备支持源特定组播 SSM, 所述目的网络设 备支持任意源组播 ASM, 且所述源网络设备支持相同互联网协议 IP 版本或不同 IP版本的组播; 或者,
所述源网络设备支持 ASM, 所述目的网络设备支持 SSM, 且所 述源网络设备支持不同 IP版本的组播; 或者,
所述源网络设备和目的网络设备同时支持 SSM或 ASM,且所述 源网络设备和目的网络设备支持不同 IP版本的组播。
与现有技术相比, 本发明实施例具有以下优点: 本发明实施例通 过接收源网络设备支持模式的源组播报文,根据源组播报文包含的组 播地址, 将源报文转化为目的网络设备所支持模式的目的组播报文, 使得在源网络和目的网络支持不同模式的组播时,在来自源网络设备 的组播报文传送至目的网络设备过程中, 能够实现组播报文的转化, 使转化后的组播报文的模式能够与目的网络兼容,从而解决了不同模 式网络共存情况下, 不同模式网络间传送组播报文的兼容问题。 附图说明
图 la为现有技术中 ASM与 SSM的一种混合应用场景; 图 lb为现有技术中 ASM与 SSM的另一种混合应用场景;
图 lc为现有技术中 IPv4与 IPv6的一种混合应用场景; 图 Id为现有技术中 IPv4与 IPv6的另一种混合应用场景; 图 2为本发明实施例提供的第一种情况下的方法流程图; 图 3为本发明实施例提供的第二种情况的方法流程图; 图 4为本发明实施例提供的第三种情况的方法流程图; 图 5为本发明实施例提供的第四种情况的方法流程图; 图 6为本发明实施例提供的第五种情况的方法流程图; 图 7为本发明实施例提供的第六种情况的方法流程图; 图 8为本发明实施例提供的组播报文的转换系统结构图; 图 9为本发明实施例提供的组播报文转换设备的组成结构图。
具体实施方式
为了使本发明的目的、技术方案和优点更加的清楚, 下面结合附 图和具体实施例对本发明进行详细描述。
本发明实施例提供一种组播报文的转换的方法包括:接收源网络 设备支持模式的源组播报文, 根据源组播报文包含的组播地址, 将源 报文转化为目的网络设备所支持的组播模式的目的组播报文; 其中, 源网络设备与目的网络设备支持不同模式的组播。
该方法可以预先设置组播报文转换设备,由该组播报文转换设备 执行上述方法中的步骤。 下面将该方法分为以下几种情况, 各举一个 实施例进行详细描述:
图 2为本发明实施例提供的第一种情况下的方法流程图,该实施 例中, 源网络设备支持 SSM, 目的网络设备支持 ASM, 且源网络设 备和目的网络设备支持相同的 IP版本, 此时, 以源网络设备发送的 组播报文为 IGMPv3报文为例进行说明, 如图 2所示, 该方法可以包 括以下步骤:
S201 : 组播报文转换设备接收源网络设备发送的 IGMPv3报文。 S202: 组播报文转换设备获取该 IGMPv3 报文包含的组播源地 址, 向组播源权限提供设备发送获取该组播源地址权限的请求。
该组播源权限提供设备可以是运营商设置的保存有组播源权限 信息的服务器。
S203:组播源权限提供设备向组播报文转换设备提供该组播源地 址的权限信息。 S204:组播报文转换设备根据获取的组播源地址的权限信息判断 该组播源地址是否有被访问的权限, 如果有, 则执行步骤 S206; 如 果没有, 则执行步骤 S205。
S205: 丟弃该 IGMPv3 ^艮文, 结束流程。
上述步骤 S202至步骤 S205是用于对接收到的 IGMPv3报文进行 组播源权限检验时所执行的步骤,这种组播源权限检测的方法可以使 运营商对一些提供非法业务的组播源进行控制,使源网络设备无法获 取到这些组播源提供的非法业务。
当不需要对组播源进行权限检验时, 也可以不执行步骤 S202至 步骤 S205。
S206: 组播报文转换设备利用 IGMPv3报文包含的组播地址, 生 成 IGMPvl或 IGMPv2报文, 发送给目的网络设备。
本步骤中生成 IGMPvl或 IGMPv2报文为利用 IGMPv3报文包含 的组播地址,将 IGMPv3 文进行格式转换,生成 IGMPvl或 IGMPv2 报文。
在上述图 2所示的流程中,组播源权限提供设备也可以预先将组 播源地址权限信息以列表的方式配置在组播报文转换设备中, 此时, 可以不执行步骤 S202中的向组播源地址提供设备发送请求的动作和 步骤 S203 , 组播地址转换设备根据接收到的组播报文中包含的组播 源地址查询配置在自身的组播源地址权限列表,得到该组播源地址权 限信息, 然后继续执行步骤 S204。
上述步骤是以 IPv4版本为例进行的描述, 如果源网络设备和目 的网络设备都支持 IPv6,组播报文转换设备也可以利用图 2所述流程 将接收到的 MLDv2报文转换为 MLDvl报文。
图 3为本发明实施例提供的第二种情况的方法流程图,该实施例 中, 源网络设备支持 SSM, 目的网络设备支持 ASM, 且源网络设备 和目的网络设备支持不同的 IP版本, 下面以源网络设备支持 IPv4 , 目的网络设备支持 IPv6为例进行说明, 如图 3所示, 该方法可以包 括以下步骤: S301 : 组播报文转换设备接收源网络设备发送的 IGMPv3报文。
S302:组播 4艮文转换设备获取该 IGMPv3 4艮文包含的组播地址和 组播源地址, 从设置的 IPv4和 IPv6地址映射表中, 查询对应 IPv6 的组播地址和组播源地址。
本步骤中可以预先设置 IPv4和 IPv6地址映射表,该 IPv4和 IPv6 地址映射表中包含了 IPv4和 IPv6之间地址的映射关系。
S303:组播报文转换设备向组播源权限提供设备发送获取该组播 源地址权限的请求。
S304:组播源地址提供设备向组播报文转换设备提供该组播源地 址的权限信息。
S305:组播报文转换设备根据获取的组播源地址的权限信息判断 该组播源地址是否有被访问的权限, 如果有, 则执行步骤 S307; 如 果没有, 则执行步骤 S306。
S306: 丟弃该 IGMPv3 ^艮文, 结束流程。
当不需要对组播源进行权限检验时, 也可以不执行步骤 S304至 步骤 S306。
S307:组播报文转换设备利用查 IPv4和 IPv6地址映射表得到的 IPv6的组播地址, 生成 MLDvl报文, 发送给目的网络设备。
本步骤中, 利用查表得到的 IPv6的组播地址, 将 IGMPv3报文 进行格式转化, 生成 MLDvl 艮文。
在上述图 3所示的流程中,组播源权限提供设备也可以预先将组 播源地址权限信息以列表的方式配置在组播报文转换设备中, 此时, 可以不执行步骤 S303和步骤 S304, 组播地址转换设备根据查询映射 表所得到的组播源地址, 查询配置在自身的组播源地址权限列表, 得 到该组播源地址权限信息, 然后继续执行步骤 S305。
上述图 3 流程中的步骤是以将 IPv4 版本的源组播报文转换为 IPv6版本的目的组播 文为例进行的描述, 如果将 IPv6版本的源组 播报文转换为 IPv4版本的目的组播报文, 组播报文转换设备也可以 利用图 3所示流程将接收到的 MLDv2 ^艮文转换为 IGMPvl或 IGMPv2 报文。
图 4为本发明实施例提供的第三种情况的方法流程图,该实施例 中, 源网络设备支持 ASM, 目的网络设备支持 SSM, 且源网络设备 和目的网络设备支持不同的 IP版本, 下面以源网络设备支持 IPv4 , 目的网络设备支持 IPv6为例进行说明, 如图 4所示, 该方法可以包 括以下步骤:
S401 : 组播报文转换设备接收源网络设备发送的 IGMPvl 或 IGMPv2报文。
S402:组播报文转换设备获取该 IGMPvl或 IGMPv2报文包含的 组播地址, 从设置的 IPv4和 IPv6地址映射表中, 查询对应的 IPv6 的组播地址。
S403:组播报文转换设备向组播源地址提供设备发送获取组播源 地址的请求。
本步骤中, 发送的请求中包含步骤 S402中查询出的组播地址信 息。
S404:组播源地址提供设备向组播报文转换设备提供与查询出的 组播地址对应的组播源地址。
S405: 组播报文转换设备利用查 IPv4和 IPv6地址映射表得到的 IPv6的组播地址以及获取到的组播源地址, 生成 MLDv2报文, 发送 给目的网络设备。
本步骤中, 利用查 Pv4和 IPv6地址映射表得到的 IPv6的组播地 址以及获取到的组播源地址,对 IGMPvl或 IGMPv2 文进行格式转 化, 生成 MLDv2 艮文。
在上述图 4所示的流程中,组播源地址提供设备也可以预先将组 播源地址信息以列表的方式配置在组播报文转换设备中, 此时, 可以 不执行步骤 S403和步骤 S404, 组播地址转换设备根据查映射表所得 到的组播地址, 查询配置在自身的组播源地址列表, 得到与查询出的 组播地址对应的组播源地址, 然后继续执行步骤 S405。
上述图 4 流程中的步骤是以将 IPv4 版本的源组播报文转换为 IPv6版本的目的组播 文为例进行的描述, 如果将 IPv6版本的源组 播报文转换为 IPv4版本的目的组播报文, 组播报文转换设备也可以 利用图 4所示流程将接收到的 MLDv2 ^艮文转换为 IGMPvl或 IGMPv2 报文。
图 5为本发明实施例提供的第四种情况的方法流程图,该实施例 中, 源网络设备和目的网络设备都支持 ASM, 但源网络设备和目的 网络设备支持不同的 IP版本, 下面以源网络设备支持 IPv4 , 目的网 络设备支持 IPv6为例进行说明, 如图 5所示, 该方法可以包括以下 步骤:
S501 : 组播报文转换设备接收源网络设备发送的 IGMPvl 或 IGMPv2报文。
S502:组播报文转换设备获取该 IGMPvl或 IGMPv2报文包含的 组播地址。
S503: 组播 ^艮文转换设备从设置的 IPv4和 IPv6地址映射表中查 询获取的组播地址对应的 IPv6的组播地址。
S504: 组播艮文转换设备利用查询的 IPv6组播地址生成 MLDvl 报文, 发送给目的网络设备。
本步骤中,利用查询出的 IPv6的组播地址,对 IGMPvl或 IGMPv2 报文和 MLDvl报文进行格式转化, 生成 MLDvl报文。
上述图 5所示流程中的步骤是以 IPv4的组播报文转换为 IPv6的 组播 ^艮文为例进行的说明, 如果将 IPv6的组播 ^艮文转换为 IPv4的组 播报文, 组播报文转换设备也可以利用图 5 所示的流程将接收到的 MLDvl报文转换为 IGMPvl或 IGMPv2报文。
图 6为本发明实施例提供的第五种情况的方法流程图,该实施例 中, 源网络设备和目的网络设备都支持 SSM, 但源网络设备和目的 网络设备支持不同的 IP版本, 下面以源网络设备支持 IPv4 , 目的网 络设备支持 IPv6为例进行说明, 如图 6所示, 该方法可以包括以下 步骤:
S601 : 组播报文转换设备接收源网络设备发送的 IGMPv3报文。 S602:组播 4艮文转换设备获取该 IGMPv3 4艮文包含的组播地址和 组播源地址。
S603: 组播 ^艮文转换设备从设置的 IPv4和 IPv6地址映射表中查 询获取的组播地址对应的 IPv6的组播地址、 以及获取的组播源地址 对应的 IPv6的组播源地址。
S604: 组播 ^艮文转换设备利用查询的 IPv6的组播地址和组播源 地址, 生成 MLDv3 ^艮文发送给目的网络设备。
本步中, 利用查询出的 IPv6 的组播地址和组播源地址, 将 IGMPv3报文进行格式转化, 生成 MLDv3报文。
上述图 6所示流程中的步骤是以 IPv4的组播报文转换为 IPv6的 组播 ^艮文为例进行的说明, 如果将 IPv6的组播 ^艮文转换为 IPv4的组 播报文, 组播报文转换设备也可以利用图 6 所示的流程将接收到的 MLDv2报文转换为 IGMPv3报文。
上述图 3至图 6的流程中, 所述源网络设备都为组播用户设备, 其发送的源组播报文均为组播请求报文。本发明的方法还可以用于源 网络设备是为组播用户设备提供组播数据的节点, 此时, 源网络设备 发送端的源组播报文为组播数据报文, 该过程如图 7所示。 图 7为本 发明实施例提供的第六种情况的方法流程图,该实施例中以接收到的 组播数据报文为 IPv4模式的, 需要转换为目的网络设备支持的 IPv6 模式的组播数据报文为例, 如图 7所示, 该方法可以包括以下步骤:
S701 : 组播报文转换设备接收源网络设备发送的 IPv4模式的组 播数据报文。
S702:组播报文转换设备获取接收到的组播数据报文包含的组播 地址。
S703: 组播 ^艮文转换设备从设置的 IPv4和 IPv6地址映射表中查 询获取的组播地址对应的 IPv6的组播地址。
当所述组播数据报文包含组播源地址时, 例如, 组播数据报文是 电子节目导航 ( EPG, Electronic Program Guide ) 文时, 本步骤还 可以进一步包括: 从设置的 IPv4和 IPv6地址映射表中查询组播源地 址对应的 IPv6的组播源地址。
S704: 组播报文转换设备利用查询的组播地址, 生成 IPv6模式 的组播数据报文, 发送给目的网络设备。
本步骤中, 利用查询的组播地址, 将 IPv4模式的组播数据报文 进行格式转化, 生成 IPv6模式的组播数据报文。
上述图 7 所示流程中的步骤是以 IPv4 的组播数据报文转换为 IPv6的组播数据报文为例进行的说明,也可以利用图 7所示的流程将 IPv6的组播数据报文转换为 IPv4的组播数据报文。
下面对本发明实施例提供的系统进行详细描述。图 8为本发明实 施例提供的组播报文的转换系统结构图, 如图 8所示, 该转换系统主 要包括:源网络设备 801、组播报文转换设备 802和目的网络设备 803; 源网络设备 801 , 用于发送自身所支持模式的源组播报文; 组播报文转换设备 802, 用于接收所述源网络设备 801发送的源 组播报文, 根据源组播报文包含的组播地址, 生成目的网络设备 803 所支持模式的目的组播报文,并将生成的目的组播报文发送给目的网 络设备 803;
目的网络设备 803 , 用于接收组播报文转换设备 802发送的目的 组播报文。
该系统还可以包括: 组播源权限提供设备 804, 用于提供组播源 地址权限信息;
组播报文转换设备 802, 还用于接收组播源地址提供设备 804提 供的组播源地址权限信息, 并判断该组播源地址是否有被访问的权 限, 如果有, 执行所述生成目的组播报文的操作, 如果没有, 则丟弃 源组播报文。
所述源网络设备 801 也可以是为组播用户设备提供组播数据的 节点、 目的网络设备 803也可以是组播用户设备, 此时传送的组播报 文为组播数据报文。
该系统还可以包括: 映射表存储设备 805, 用于存储组播地址在 IPv4和 IPv6模式下的映射关系。 组播报文转换设备 802, 还用于从所述映射表存储设备 805中查 询源组播 文的组播地址对应的另一个 IP版本的组播地址, 并根据 该查询的组播地址, 执行所述生成目的组播报文的操作。
该映射表存储设备 805可以设置为独立的设备,也可以设置在组 播报文转换设备 802中。
该系统还可以包括: 组播源地址提供设备 806, 用于提供查询的 组播地址对应的组播源地址信息;
组播报文转换设备 802, 还用于向组播源地址提供设备 806请求 查询出的组播地址对应的组播源地址, 并利用获取的组播源地址, 执 行所述生成目的组播报文的操作。
上述组播源权限提供设备 804和组播源地址提供设备 806也可以 设置为一个设备, 该设备同时提供组播源地址信息和组播源权限信 息。
其中, 源网络设备 801是组播用户设备、 目的网络设备 803是为 组播用户设备提供组播数据的节点时,组播报文转换设备 802可以为 路由器组(RG, Routing Group ), 此时播源权限提供设备 804或组播 源地址提供设备 806 可以为自动配置服务器 (ACS , Automatic Configuration Server ) ,播源权限提供设备 804或组播源地址提供设备 806和组播 文转换设备 802之间通过 TR069协议完成组播源地址的 传送;组播报文转换设备 802也可以为接入节点( AN, Access Node ), 例如,基站、数字用户接入复用器( DSLAM, DSL Access Multiplexer ) 或光路终结点 (OLT, Optical Line Termination ), 此时播源权限提供 设备 804或组播源地址提供设备 806可以为 IP边缘设备, 例如宽带 网络网关( BNG, Broadband Network Gateway )或宽带远程接入服务 器( BRAS , Broadband Remote Access Server ),播源权限提供设备 804 或组播源地址提供设备 806和组播 文转换设备 802之间通过层二控 制协议( L2CP, Layer Two Control Protocol )完成组播源地址的传送; 组播报文转换设备 802也可以为光网络单元( ONU , Optical Network Unit )或光网络终端( ONT , Optical Network Terminal ) , 此时播源权 限提供设备 804或组播源地址提供设备 806可以为 OLT,播源权限提 供设备 804或组播源地址提供设备 806和组播 4艮文转换设备 802之间 通过光网络单元管理和控制接口 (OMCI , ONU Management and Control Interface ) 完成组播源地址的传送。
图 9为本发明实施例提供的组播报文转换设备的组成结构图,如 图 9所示, 该组播报文转换设备主要包括: 报文接收单元 901、 地址 获取单元 902、 目的组播 文生成单元 903和^艮文发送单元 904。
报文接收单元 901 , 用于接收源网络设备发送的源组播报文。 地址获取单元 902 , 用于获取报文接收单元 901接收到的源组播 报文的组播地址, 并提供该源组播报文的组播地址。
目的组播报文生成单元 903 , 用于根据地址获取单元 902提供的 组播地址生成目的组播 4艮文。
文发送单元 904 , 用于发送目的组播 文生成单元 903生成的 目的组播 4艮文。
该组播报文转换设备还可以包括: 映射表存储单元 905 , 用于存 储 IPv4和 IPv6之间地址的映射关系。
地址获取单元 902 包括: 组播地址获取单元 9021 和查表单元 9022;
组播地址获取单元 9021 , 用于获取报文接收单元 901接收到的 源组播报文;
查表单元 9022, 用于从所述映射表存储单元 905 中查询组播地 址获取单元 9021获取到的组播地址对应的目的网络设备所支持 IP版 本的组播地址, 并提供该查询出的组播地址。
该组播报文转换设备还可以包括:组播源权限获取单元 906和权 限判断单元 907;
组播源权限获取单元 906 , 用于根据地址获取单元 902获取的组 播源地址获取该组播源地址的权限信息。
权限判断单元 907 , 用于根据组播源权限获取单元 906获取的组 播源地址权限信息,判断该组播源地址是否有被访问的权限,如果有, 则触发目的组播^艮文生成单元 903 执行所述生成目的组播^艮文的操 作; 如果没有, 则禁止目的组播报文生成单元 903执行所述生成目的 组播报文的操作。
地址获取单元 902 , 还用于获取报文接收单元 901接收到的源组 播才艮文的组播源地址。
该组播报文转换设备还可以包括: 组播源地址获取单元 908, 用 于根据查表单元 9022查询出的组播地址, 获取与该查询出的组播地 址对应的组播源地址,并将该组播源地址提供给目的组播报文生成单 元 903。
目的组播 文生成单元 903 , 还用于接收所述组播源地址获取单 元 908提供的组播源地址, 并利用该组播源地址, 执行所述生成目的 组播报文的操作。
由以上描述可以看出,在本发明实施例通过接收源网络设备支持 模式的源组播报文, 根据源组播报文包含的组播地址, 将源报文转化 为目的网络设备所支持模式的目的组播报文,使得在源网络和目的网 络支持不同模式的组播时,在来自源网络设备的组播报文传送至目的 网络设备过程中, 能够实现组播报文的转化, 使转化后的组播报文的 模式能够与目的网络兼容, 从而解决了不同模式网络共存情况下, 不 同模式网络间传送组播报文的兼容问题。
本发明实施例具体给出了组播报文从 SSM模式到 ASM模式的转 化、 从 ASM模式到 SSM模式不同 IP版本的转化、 在 ASM模式中 不同 IP版本的转化、 以及在 SSM模式中不同 IP版本的转化的方法, 其中, 具体包含了组播源权限判断过程, 不同 IP版本组播地址和组 播源地址的转化方法, 从而解决了在具体不同模式体现下, 可能出现 的兼容问题,并且该方法只需要通过设置组播报文转换设备即可实现 不同模式网络之间的组播报文传递,不需要对现有网络进行全面的改 造, 例如, 不需要对支持 ASM或 IPv4的接入网进行升级, 节约了运 营商的成本; 不需要对支持 ASM或 IPv4的组播用户设备进行升级, 保护了用户已有的设备投资。 通过以上的实施方式的描述,本领域的技术人员可以清楚地了解 到本发明可借助软件加必需的通用硬件平台的方式来实现, 当然也可 以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解, 本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以 软件产品的形式体现出来, 该计算机软件产品存储在一个存储介质 中, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服 务器, 或者网络设备等)执行本发明各个实施例所述的方法。 总之, 以上所述仅为本发明的较佳实施例而已, 并非用于限定本 发明的保护范围。 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权利要求
1、 一种组播 >¾文的转换方法, 其特征在于, 该方法包括: 当源网络设备与目的网络设备支持不同模式的组播时,接收源网 络设备所支持模式的源组播报文 ,根据所述源组播报文包含的组播地 址, 生成目的网络设备所支持模式的目的组播报文, 并将所述生成的 目的组播报文发送给目的网络设备;
其中, 所述源网络设备支持源特定组播 SSM, 所述目的网络设 备支持任意源组播 ASM , 且所述源网络设备支持相同互联网协议 IP 版本或不同 IP版本的组播; 或者,
所述源网络设备支持 ASM, 所述目的网络设备支持 SSM, 且所 述源网络设备支持不同 IP版本的组播; 或者,
所述源网络设备和目的网络设备同时支持 SSM或 ASM,且所述 源网络设备和目的网络设备支持不同 IP版本的组播。
2、 如权利要求 1所述的转换方法, 其特征在于, 当源网络设备 支持 SSM、 目的网络设备支持 ASM时, 在根据所述源组播报文包含 的组播地址,生成目的网络设备所支持模式的目的组播报文之前还包 括: 根据所述源组播报文包含的组播源地址, 获取所述组播源地址的 权限信息,并根据所述组播源地址的权限信息判断所述组播源地址是 否有被访问的权限, 如果有, 继续执行根据所述源组播报文包含的组 播地址, 生成目的网络设备所支持模式的目的组播报文的步骤; 如果 没有, 丟弃所述源组播报文。
3、 如权利要求 2所述的转换方法, 其特征在于, 在根据所述源 组播报文包含的组播源地址,获取所述组播源地址的权限信息之前还 包括: 当所述源网络设备和目的网络设备支持不同 IP版本时, 从预 先设置的不同 IP版本地址映射表中, 查询源组播报文包含的组播源 地址对应的目的设备所支持 IP版本的组播源地址;
根据所述源组播报文包含的组播源地址 ,获取所述组播源地址的 权限信息包括: 根据查询出的源组播报文包含的组播源地址对应的、 所述目的设备所支持 IP版本的组播源地址, 获取所述查询出的组播 源地址的权限信息。
4、 如权利要求 2所述的转换方法, 其特征在于, 所述源组播报 文为: IGMPv3报文或 MLDv2报文;
所述目的组播报文为: IGMPvl 报文、 IGMPv2报文或 MLDvl 报文。
5、 如权利要求 1所述的转换方法, 其特征在于, 在根据所述源 组播报文包含的组播地址,生成目的网络设备所支持模式的目的组播 报文之前还包括: 当所述源网络设备和目的网络设备支持不同 IP版 本时, 从预先设置的不同 IP版本地址映射表中, 查询源组播报文包 含的组播地址对应的目的设备所支持 IP版本的组播地址;
根据所述源组播报文包含的组播地址,生成目的网络设备所支持 模式的目的组播报文包括:利用所述查询出的源组播报文包含的组播 地址对应的、 所述目的设备所支持 IP版本的组播地址, 将源组播才艮 文进行格式转换, 生成所述目的组播报文。
6、 如权利要求 5所述的转换方法, 其特征在于, 当所述源网络 设备和目的网络设备都支持 SSM时, 该方法还包括: 从预先设置的 不同 IP版本地址映射表中, 查询源组播 ^艮文包含的组播源地址对应 的目的设备所支持 IP版本的组播源地址;
根据所述源组播报文包含的组播地址,生成目的网络设备所支持 模式的目的组播报文包括:利用所述查询出的源组播报文包含的组播 地址对应的、 所述目的设备所支持 IP版本的组播地址, 和所述查询 出的源组播 ^艮文包含的组播源地址对应的、 所述目的设备所支持 IP 版本的组播源地址, 生成目的组播 ^艮文。
7、 如权利要求 5所述的转换方法, 其特征在于, 当所述源网络 设备支持 ASM, 所述目的网络设备支持 SSM时, 该方法还包括: 根 据查询出的组播地址从组播源地址提供设备获取所述查询出的组播 地址对应的组播源地址;
根据所述源组播报文包含的组播地址,生成目的网络设备所支持 模式的目的组播 "^文包括:利用获取的组播源地址以及查询出的组播 地址, 将所述源组播报文进行格式转换, 生成所述目的组播报文。
8、 如权利要求 5所述的转换方法, 其特征在于, 所述源组播报 文和目的组播报文为不同 IP版本的组播数据报文; 或者,
当所述源网络设备和目的网络设备均支持 ASM时, 所述源组播 报文为 IGMPvl报文或 IGMPv2报文, 所述目的组播报文为 MLDvl 报文; 或者, 所述源组播报文为 MLDvl报文, 所述目的组播报文为 IGMPvl报文或 IGMPv2报文;
当所述源网络设备和目的网络设备均支持 SSM时, 所述源组播 报文为 IGMPv3报文, 所述目的组播报文为 MLDv2报文; 或者, 所 述源组播报文为 MLDv2报文, 所述目的组播报文为 IGMPv3报文; 当所述源网络设备支持 ASM, 所述目的网络设备支持 SSM时, 所述源组播报文为 IGMPvl报文或 IGMPv2报文,所述目的组播报文 为 MLDv2报文; 或者, 所述源组播报文为 MLDv2报文, 所述目的 组播 4艮文为 IGMPvl 4艮文或 IGMPv2 4艮文。
9、 一种组播 "^文的转换系统, 其特征在于, 该系统包括: 源网络设备, 用于发送自身所支持模式的源组播报文;
组播报文转换设备, 用于接收所述源网络设备发送的源组播报 文, 根据所述源组播报文包含的组播地址, 生成目的网络设备所支持 模式的目的组播报文, 并将生成的目的组播报文发送给目的网络设 备;
目的网络设备,用于接收所述组播报文转换设备发送的目的组播 报文;
其中, 所述源网络设备支持源特定组播 SSM, 所述目的网络设 备支持任意源组播 ASM , 且所述源网络设备支持相同互联网协议 IP 版本或不同 IP版本的组播; 或者,
所述源网络设备支持 ASM, 所述目的网络设备支持 SSM, 且所 述源网络设备支持不同 IP版本的组播; 或者,
所述源网络设备和目的网络设备同时支持 SSM或 ASM, 且所述 源网络设备和目的网络设备支持不同 IP版本的组播。
10、如权利要求 9所述的转换系统,其特征在于,该系统还包括: 组播源权限提供设备, 用于提供组播源地址权限信息;
所述组播报文转换设备,还用于接收所述组播源权限提供设备提 供的组播源地址权限信息,并判断所述组播源地址是否有被访问的权 限, 如果有, 执行所述生成目的组播报文的操作, 如果没有, 则丟弃 源组播报文。
11、如权利要求 9所述的转换系统,其特征在于,该系统还包括: 映射表存储设备,用于存储组播地址不同 IP版本模式下的映射关系; 所述组播报文转换设备,还用于从所述映射表存储设备中查询源 组播 ^艮文的组播地址对应的另一个 IP版本的组播地址, 并根据该查 询的组播地址, 执行所述生成目的组播报文的操作。
12、 如权利要求 11所述的转换系统, 其特征在于, 该系统还包 括: 组播源地址提供设备, 用于提供查询的组播地址对应的组播源地 址信息;
所述组播报文转换设备,还用于向所述组播源地址提供设备请求 查询出的组播地址对应的组播源地址, 并利用获取的组播源地址, 执 行所述生成目的组播报文的操作。
13、 如权利要求 9所述的转换系统, 其特征在于, 所述源网络设 备是组播用户设备, 目的网络设备是为组播用户设备提供组播数据的 节点;或者,所述源网络设备是为组播用户设备提供组播数据的节点, 目的网络设备为组播用户设备。
14、 一种组播报文转换设备, 其特征在于, 该设备包括: 报文接收单元, 用于接收源网络设备发送的源组播报文; 地址获取单元,用于获取所述报文接收单元接收到的源组播报文 的组播地址, 并提供该源组播 ^艮文的组播地址;
目的组播报文生成单元,用于根据所述地址获取单元提供的组播 地址生成目的组播 文;
报文发送单元,用于发送所述目的组播报文生成单元生成的目的 组播报文;
其中, 所述源网络设备支持源特定组播 SSM, 所述目的网络设 备支持任意源组播 ASM , 且所述源网络设备支持相同互联网协议 IP 版本或不同 IP版本的组播; 或者,
所述源网络设备支持 ASM, 所述目的网络设备支持 SSM, 且所 述源网络设备支持不同 IP版本的组播; 或者,
所述源网络设备和目的网络设备同时支持 SSM或 ASM,且所述 源网络设备和目的网络设备支持不同 IP版本的组播。
15、 如权利要求 14所述的设备, 其特征在于, 该设备还包括: 映射表存储单元, 用于存储组播地址在不同 IP版本模式下的映射关 系;
所述地址获取单元包括:
组播地址获取单元,用于获取所述报文接收单元接收到的源组播 报文;
查表单元,用于从所述映射表存储单元中查询所述组播地址获取 单元获取到的组播地址对应的目的网络设备所支持 IP版本的组播地 址, 并提供该查询出的组播地址。
16、 如权利要求 14所述的设备, 其特征在于, 所述地址获取单 元, 还用于获取所述报文接收单元接收到的源组播报文的组播源地 址;
该设备还包括:
组播源权限获取单元,用于根据所述地址获取单元获取的组播源 地址获取该组播源地址的权限信息;
权限判断单元,用于根据所述组播源权限获取单元获取的组播源 地址权限信息, 判断所述组播源地址是否有被访问的权限, 如果有, 则触发所述目的组播报文生成单元执行所述生成目的组播报文的操 作; 如果没有, 则禁止所述目的组播报文生成单元执行所述生成目的 组播报文的操作。
17、 如权利要求 15所述的设备, 其特征在于, 该设备还包括: 组播源地址获取单元, 用于根据所述查表单元查询出的组播地址, 获 取与所述查询出的组播地址对应的组播源地址,并将所述组播源地址 提供给所述目的报文生成单元;
所述目的报文生成单元,还用于接收所述组播源地址获取单元提 供的组播源地址, 并利用该组播源地址, 执行所述生成目的组播 ^艮文 的操作。
PCT/CN2008/072138 2007-08-25 2008-08-25 Procédé, système et dispositif de commutation d'un message multidiffusion WO2009026852A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2007101470574A CN101374069B (zh) 2007-08-25 2007-08-25 一种组播报文的转换方法、系统和设备
CN200710147057.4 2007-08-25

Publications (1)

Publication Number Publication Date
WO2009026852A1 true WO2009026852A1 (fr) 2009-03-05

Family

ID=40386712

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/072138 WO2009026852A1 (fr) 2007-08-25 2008-08-25 Procédé, système et dispositif de commutation d'un message multidiffusion

Country Status (2)

Country Link
CN (1) CN101374069B (zh)
WO (1) WO2009026852A1 (zh)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827011B (zh) * 2009-03-04 2013-03-27 华为技术有限公司 一种主机通信的方法、系统和设备
CN102468966B (zh) * 2010-11-19 2014-12-31 中兴通讯股份有限公司 组播报文控制的方法和装置
CN102263649B (zh) * 2011-08-26 2014-01-29 清华大学 基于组播转换的可控组播系统
CN103095585B (zh) * 2011-11-02 2018-08-07 中兴通讯股份有限公司 一种IPv4和IPv6之间组播控制流信息互通的方法和系统
CN103167046B (zh) * 2011-12-09 2017-04-12 华为技术有限公司 获取组播地址的方法、装置及系统
CN103166929B (zh) * 2011-12-15 2016-06-08 华为技术有限公司 媒体播放方法及装置
CN103514121B (zh) * 2012-06-29 2016-05-25 中国船舶重工集团公司第七0九研究所 WindowsXp操作系统下一种网卡冗余切换方法
CN103795636B (zh) 2012-11-02 2017-04-12 华为技术有限公司 组播处理方法、装置及系统
CN103095473B (zh) * 2013-01-25 2016-03-02 福建星网锐捷网络有限公司 跨虚拟专用网络的指定信源组播方法、装置及网络设备
CN103796078A (zh) * 2014-01-23 2014-05-14 深圳创维-Rgb电子有限公司 组播视频的播放方法和视频播放终端
CN114448849B (zh) * 2021-12-17 2023-12-05 北京邮电大学 网站IPv6网络支持模式检测方法及电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1816010A (zh) * 2005-02-04 2006-08-09 华为技术有限公司 组播源过滤的处理方法
CN1852232A (zh) * 2005-11-29 2006-10-25 华为技术有限公司 源特定组播和源无关组播配合的组播方法及其接入设备
CN1885818A (zh) * 2005-06-23 2006-12-27 华为技术有限公司 由IPv4到IPv6网络的基于端口的报文转换实现方法
CN101005390A (zh) * 2006-01-20 2007-07-25 日立通讯技术株式会社 通信系统
CN101145924A (zh) * 2006-09-13 2008-03-19 华为技术有限公司 实现ssm模式组播的方法、设备及系统
CN101252529A (zh) * 2008-03-31 2008-08-27 杭州华三通信技术有限公司 一种组播报文的转发方法和设备

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7467214B2 (en) * 2003-06-20 2008-12-16 Motorola, Inc. Invoking protocol translation in a multicast network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1816010A (zh) * 2005-02-04 2006-08-09 华为技术有限公司 组播源过滤的处理方法
CN1885818A (zh) * 2005-06-23 2006-12-27 华为技术有限公司 由IPv4到IPv6网络的基于端口的报文转换实现方法
CN1852232A (zh) * 2005-11-29 2006-10-25 华为技术有限公司 源特定组播和源无关组播配合的组播方法及其接入设备
CN101005390A (zh) * 2006-01-20 2007-07-25 日立通讯技术株式会社 通信系统
CN101145924A (zh) * 2006-09-13 2008-03-19 华为技术有限公司 实现ssm模式组播的方法、设备及系统
CN101252529A (zh) * 2008-03-31 2008-08-27 杭州华三通信技术有限公司 一种组播报文的转发方法和设备

Also Published As

Publication number Publication date
CN101374069A (zh) 2009-02-25
CN101374069B (zh) 2011-07-06

Similar Documents

Publication Publication Date Title
WO2009026852A1 (fr) Procédé, système et dispositif de commutation d'un message multidiffusion
US9426093B2 (en) Multicast interworking systems and methods
EP2139158B1 (en) Method, device and system for realizing multicast service
KR101278297B1 (ko) 신뢰적 멀티캐스트 데이터 전송을 위한 방법 및 장치
US9407495B2 (en) Combining locally addressed devices and wide area network (WAN) addressed devices on a single network
EP2557817B1 (en) Method and system for transmitting wireless multicast data
JP2004208302A (ja) 通信ネットワークにおける異なるマルチキャストプロトコル間で要求を変換するシステムおよび方法
WO2009067937A1 (fr) Procédé, dispositif et système de surveillance de session basés sur une technique de multidiffusion
WO2018214809A1 (zh) 消息发送方法及装置、存储介质
WO2006122502A1 (fr) Méthode de transmission de message en couche 2 et dispositif d’accès
WO2009132568A1 (zh) 服务质量控制方法及网络设备
WO2007059679A1 (fr) Procede pour le traitement de service multidiffusion anormal et equipement de reseau associe
KR20080035499A (ko) Ip 멀티캐스트 서비스 시스템, 스위칭 장치 및 그것들에이용되는 그룹 선택 송신 방법
US20140289770A1 (en) Method, Device and System for Obtaining Multicast Address
WO2009021460A1 (fr) Procédé de rapport d'un résultat de mise en œuvre de politique, système de communication par réseau et équipement
EP2536099A2 (en) Method and access node for preventing address conflict
US20080186967A1 (en) Method for supporting source-specific multicast forwarding over ethernet and device thereof
CN1725701A (zh) 在网络设备中实现终端管理的方法
WO2009039785A1 (fr) Méthode et dispositif d'établissement de voies de transmission en multidiffusion et mise en oeuvre de transmissions en multidiffusion
WO2009026846A1 (fr) Procédé, dispositif et système de transmission de messages permettant la mise en oeuvre de services de multidiffusion
WO2011095109A1 (zh) 实现在不同网络间进行通信的方法及装置
US8913614B2 (en) Method, system and access service router for implementing multicast service
KR100776665B1 (ko) 가상랜에서 물리포트 데이터베이스를 이용한 멀티캐스팅장치 및 그 방법
EP2192719A1 (en) Method and system for providing source specific multicast service on Ethernet network
CN102196599B (zh) 一种使终端加入多播组的方法和基站

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

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

Country of ref document: EP

Kind code of ref document: A1