WO2009024054A1 - A method, device and system for realizing the management protocol agent for members in a multicast group - Google Patents

A method, device and system for realizing the management protocol agent for members in a multicast group Download PDF

Info

Publication number
WO2009024054A1
WO2009024054A1 PCT/CN2008/071941 CN2008071941W WO2009024054A1 WO 2009024054 A1 WO2009024054 A1 WO 2009024054A1 CN 2008071941 W CN2008071941 W CN 2008071941W WO 2009024054 A1 WO2009024054 A1 WO 2009024054A1
Authority
WO
WIPO (PCT)
Prior art keywords
multicast group
multicast
group member
management protocol
message
Prior art date
Application number
PCT/CN2008/071941
Other languages
French (fr)
Chinese (zh)
Inventor
Ning Zhu
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 WO2009024054A1 publication Critical patent/WO2009024054A1/en

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

Definitions

  • the present invention relates to the field of multicast technologies, and in particular, to a method, device and system for implementing a multicast group member management protocol proxy.
  • IP multicast refers to the transmission of data packets to a certain subset of nodes in the network in an IP network. This subset is called a multicast group (mul t icas t group ). 0
  • the basic idea of IP multicast is that the source host sends only one data. The destination address in this data is the multicast group address. All destination hosts in the multicast group can receive the same data copy, and multicast. Hosts other than the group cannot receive it.
  • the multicast group is identified by a class D IP address (224. 0. 0. 0 ⁇ 239. 255. 255. 255 ).
  • the multicast protocol is divided into a host-router protocol, that is, a multicast member management protocol; and a router-router protocol, mainly various multicast routing protocols.
  • the multicast group member management protocol includes Internet Group Management Protocol (IGMP) and multicast listener discovery (Mul t icas t Li s tener Di scovery, MLD); the multicast routing protocol is further divided into intra-domain multicast routing protocols and domains. There are two types of inter-multicast routing protocols.
  • the multicast group member management protocol is used to establish the multicast group membership information in the IP subnet (subnet) where the interface is located in the router.
  • the information is specifically each multicast group, or further fine-grained.
  • the intra-domain multicast routing protocol uses a certain multicast routing algorithm to construct a multicast distribution tree, establishes a multicast routing state in the router, and the router performs multicast packet forwarding according to these states.
  • the inter-domain multicast routing protocol is based on the inter-domain multicast routing policy configured in the network.
  • the IGMP protocol is used for group member management of the IPV4 network, and the IPM6 network uses a protocol MLD similar in function and content to IGMP.
  • the following takes IGMP as an example to multicast groups.
  • the member management agreement is further introduced.
  • the IGMP protocol runs between the host and the multicast router directly connected to the host.
  • the IGMP function is bidirectional: On the one hand, through the IGMP protocol, the host notifies the multicast router that it wants to join and receive information about a specific multicast group. On the other hand, the multicast router periodically queries whether a member of a known multicast group in the local area network is active through the IGMP protocol, that is, whether the network segment still belongs to a member of a multicast group and implements the connected network. Collection and maintenance of group membership. Through IGMP, the information recorded in the router is whether a multicast group has a group member locally, rather than a correspondence between the multicast group and the host.
  • IGMP has three versions.
  • the basic group member query and reporting process is defined in IGMPvl (RFC1112);
  • IGMPv2 is defined by RFC2236, which adds a mechanism for group members to leave quickly on the basis of IGMPvl;
  • the main function added in IGMPv3 is that members can specify receiving or Specifies to not receive packets from certain multicast sources, that is, to filter the multicast source address.
  • IGMPv2 elects a unique querier through the querier election mechanism.
  • the querier periodically sends a general group query message for membership relationship query; the host sends a report message to respond to the query. The time when the host sends a report message is random. When other members in the same network segment are detected to send the same message, the response message is suppressed. If a new host wants to join the multicast group, it does not have to wait for the querier to query the message, but actively sends a report message.
  • the host sends a leave group message; after receiving the leave group message, the querier sends a specific group query message to determine if all group members have left.
  • a router For a router that is a member of a group, it behaves like a normal host, responding to queries from other routers.
  • a table is established in the multicast router, which records which group members are on the subnet corresponding to each interface of the router.
  • the router After receiving a data packet from a multicast group, the router forwards data packets only to the interface of the multicast group member.
  • the host joins the multicast group and must periodically send a report message to maintain its status.
  • the multicast router starts the group membership interval timer. If the host does not receive the report message that the host maintains the status before the timer expires, the member of the group in the subnet is deleted. Department.
  • Query Interva l timer which sends a general query message when the timer expires.
  • the last member query interval (La st Member Query Interva l) timer after receiving the message of the leaving group sent by the host, the querier sends a specific group query message to determine whether all group members have left, and starts the timer. Resend each timeout, the number of times sent is determined by the last member query count as t Member Query Count). If the timer of the last query has not received the report message of the group member of the left group, the child is deleted. The membership of the group of the network.
  • an Unso Detected Interval Timer is also required to control the time when the host repeatedly sends the active message, and the Query Response Interva timer is used to control The time the host responded to the query message.
  • Multicast routes can be divided into two categories: source tree and shared tree.
  • the source tree is the shortest path from the multicast source to each receiver.
  • SPT shortest path tree
  • the network establishes a tree for any multicast source that sends packets to the group.
  • the shared tree uses a router as the root of the routing tree. This router is called a Rendezvous Point (RP) and combines the shortest path of the RP to all receivers to form a forwarding tree.
  • RP Rendezvous Point
  • All multicast sources and receivers use this tree to send and receive packets.
  • the multicast source sends data packets to the root of the tree, and then the packets are forwarded down to all receivers.
  • a message is sent to a group of recipients, which are identified by a logical address.
  • the router After receiving the packet, the router must determine the upstream (pointing to the multicast source) and the downstream direction according to the source and destination addresses, and forward the "3 ⁇ 4 text" away from the multicast source. This process is called reverse path forwarding. Reverse Pa th Forward ing , RPF ).
  • the multicast routing protocol is more complicated than the multicast group member management protocol, so the requirements on the device are relatively high.
  • the multicast group member management protocol proxy technology is introduced, which is specifically the IGMP/MLD proxy technology.
  • the proxy device of the group member management protocol replicates and forwards the multicast data stream. That is, the proxy device learns the multicast group member information through the proxy multicast group member management protocol message, and implements the multicast data stream forwarding according to the multicast group member information.
  • the proxy device By using the multicast group member management protocol proxy technology, the cost of the device can be saved first, and the deployment speed can be accelerated.
  • the proxy device When the proxy device is deployed between the core network and the access network, the proxy device does not need to support the multicast routing of the core network.
  • the protocol and only need to send multicast group member management protocol messages to it, thus enhancing the versatility of the proxy device.
  • the principle of the implementation of the IGMP/MLD proxy is as follows:
  • the host interface of the proxy device also known as the upstream spoofing interface, points to the direction of the root node of the shared tree or the source tree. On this interface, run the IGMP host function. Maintain the multicast group member database (Membership Database) on the proxy device.
  • the record in the database is the multicast group member information of each downstream flow interface.
  • the merge of (membershi informa t ion) (merge, or summary), can also be said to be the merge of the subscr ipt of the multicast group of each downstream stream interface.
  • the merge rule is shown in RFC4605, and each record format is (multicast group address, filter condition, multicast source address list).
  • the member database is equivalent to the record sum of the status of the multicast group members of the proxy device as a host on the IP subnet where the upstream flow interface resides.
  • the proxy device sends an IGMP member report to the host port after querying the member database.
  • the active device sends the multicast or the multicast packet to the connected router.
  • the IGMP/MLD agent also records the multicast subscription status on each downstream flow interface.
  • the host interface receives the multicast data flow that matches the member database record, and then forwards the multicast packet according to the multicast group member status on each downstream flow interface. .
  • the router interface of the proxy device also known as the downstream traam interface, deviates from the node and connects to the host.
  • the proxy device runs the IGMP router function on this port to perform the group member login query deletion of the users in the connected IP subnet. Implementing the receiving member report message and leaving the multicast group request; sending the query packet; forwarding the received multicast data packet to the downstream flow interface of the multicast group member having the multicast data stream.
  • the IGMP/MLD proxy must also be elected as a querier in the subnet where the downstream flow interface resides, so that it can become the only device in the subnet that forwards the multicast data stream.
  • the Media Gateway Controller (MGC) and the Media Gateway (MG) are two key components in the packet network.
  • the network architecture consisting of MGC and MG is shown in Figure 1.
  • MGC is responsible for call control functions
  • MG is responsible for business Load function
  • the MG interacts through the Real-Time Transport Protocol (RTP).
  • RTP Real-Time Transport Protocol
  • the gateway control protocol is the main protocol for communication between the MG and the MGC.
  • H.248/MeGaCo and the Media Gateway Control Protocol (MGCP) are widely used.
  • the current MG does not have the ability to process IGMP/MLD protocol messages and multicast routing protocol messages. Therefore, if a media gateway exists on the bearer path, the IGMP/MLD protocol message will be blocked by the media gateway. Summary of the invention
  • the embodiment of the present invention provides a method for implementing a multicast group member management protocol proxy, so that the MG can have the function of a multicast group member management protocol proxy.
  • the method includes an upstream flow interface and at least one downstream flow interface on the MG, and the MG maintains a multicast group member database that summarizes the multicast group member information of all the downstream flow interfaces of the MG, and includes the following steps:
  • the MG receives the multicast group member management protocol message from the downstream network on the downstream flow interface, and updates the content in the multicast group member database according to the multicast group member management protocol message, and the MG determines the multicast group member database. Whether the change occurs, if yes, sending a multicast group member management protocol message to the upstream network on the upstream flow interface;
  • the MG receives the query message on the upstream flow interface, searches the content of the multicast group member database according to the query message, and if the matched content is found, sends the upstream flow interface to the upstream network. Send a report message.
  • the embodiment of the present invention further discloses another method for implementing a multicast group member management protocol proxy.
  • An upstream flow interface and at least one downstream flow interface are set on the MG, and the MG maintains and summarizes the multicast group member information of all the downstream flow interfaces.
  • the first multicast group member database includes the following steps:
  • the MG receives the multicast group member management protocol message from the downstream network on the downstream flow interface, and reports the message to the MGC.
  • the MGC updates the content of the second multicast group member database maintained on the MGC according to the multicast group member management protocol message, and determines whether the second multicast group member database changes. If yes, the MG is in the upstream flow interface. Sending a multicast group member management protocol message to the upstream network; or, the MGC sends an indication to the MG to accept the multicast group member management protocol message, and the MG updates the first multicast group member database according to the indication, and determines the location Whether the first multicast group member database changes, and if so, sending a multicast group member management protocol message to the upstream network on the upstream flow interface;
  • the MG After receiving the query message on the upstream flow interface, the MG reports to the MGC, and the MGC searches for the content of the second multicast group member database according to the query message. If the matched content is found, the MG indicates that the MG is upstream.
  • the flow interface sends a message to the upstream network.
  • the MG searches the content of the first multicast group member database after receiving the query message on the upstream flow interface. If the matching content is found, the upstream network is searched. Send a ⁇ message.
  • the embodiment of the invention further discloses a method for implementing a multicast group member management protocol proxy.
  • the upstream flow interface of the multicast group member management protocol proxy is bound to a specific multicast group, or is associated with a specific multicast group and multicast. Source address binding.
  • Another method for implementing a multicast group member management protocol proxy disclosed in the embodiment of the present invention is to configure a multicast group address and/or a multicast data flow between an upstream network and a downstream network in a multicast group member management protocol proxy.
  • the mapping relationship of the source address includes the following steps:
  • the group address and/or the multicast data stream source address is modified to be the multicast group address of the mapped upstream network and/or the multicast data stream source address;
  • the source address is sent to the downstream stream interface.
  • the embodiment of the invention also discloses a system for implementing a multicast group member management protocol proxy, including an MG and an MGC.
  • An upstream flow interface and at least one downstream flow interface are configured on the MG, and a multicast group member database that summarizes multicast group member information of all downstream flow interfaces of the MG is maintained; according to the multicast group member database, The multicast group member management protocol message received by the upstream flow interface is forwarded to the corresponding downstream flow interface, or the report message is sent to the upstream flow interface.
  • the MGC is configured to send a setup or update command to the MG to set or update a configuration on the MG.
  • the embodiment of the invention discloses an MG, which comprises means for implementing a multicast group member management protocol proxy function, the device comprising:
  • An interface configuration module configured to configure an interface of the MG to be connected to the subnet as an upstream flow interface or a downstream flow interface
  • a multicast group database module configured to maintain a total multicast subscription status of all the downstream flow interfaces of the MG; and a proxy forwarding module, configured to: according to the query message received on the upstream flow interface, in the multicast group database module The content is searched, and if the matched content is found, the upstream flow interface sends a report message to the upstream network; or, according to the multicast group member management protocol message received by the downstream flow interface, the content in the multicast group database module is updated, And determining whether the multicast group member database changes. If yes, sending a multicast group member management protocol message to the upstream network on the upstream flow interface.
  • Another system for implementing a multicast group member management protocol proxy disclosed in the embodiment of the present invention includes an MG and an MGC, and the MG is configured with an upstream flow interface and at least one downstream flow interface, and the MG maintains a group that summarizes all downstream flow interfaces.
  • the first multicast group member database of the member information is broadcasted; the MG is configured to receive the multicast group member management protocol message from the downstream network on the downstream flow interface, and report the multicast group member management protocol message to the MGC;
  • the MG updates the first multicast group member database and/or sends a multicast group member management protocol message according to the indication sent by the MGC; or the MG is used to report the message to the MGC after receiving the query message on the upstream flow interface. And sending a report message to the upstream network on the upstream flow interface according to the indication of the MGC;
  • the MGC maintains a second multicast group member database that summarizes the multicast group member information of all the downstream flow interfaces; the multicast group member management protocol message reported by the MG and the content in the second multicast group member database Sending a corresponding indication to the MG.
  • An embodiment of the present invention discloses an MGC, including:
  • a receiving module configured to receive a multicast group member management protocol message reported by the MG
  • a second multicast group database module configured to maintain a total multicast subscription status of all the downstream flow interfaces of the MG; and performing, according to the multicast group member management protocol message received by the receiving module, the maintained multicast subscription status Update or search, and notify the multicast command delivery module of the result of the update or search;
  • the sending module is configured to send a corresponding indication to the MG according to the result of the update or the search.
  • the solution of the present invention maintains an upstream flow interface and a downstream flow interface on the MG, and maintains a multicast group member database for recording multicast group member information, according to the multicast group member database,
  • the multicast group member management protocol message from the upstream flow interface or the downstream flow interface is processed or forwarded, so that the MG implements the function of the multicast group member management protocol proxy.
  • FIG. 1 is a schematic diagram of networking of a prior art MG and an MGC;
  • FIG. 3 is a schematic diagram of another application scenario of the solution of the present invention.
  • FIG. 4 is a flowchart of processing proxy functions in a direction from a downstream network to an upstream network according to an embodiment of the present invention
  • FIG. 5 is a flowchart of processing an agent function in a direction from an upstream network to a downstream network according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of establishing a topology relationship according to an embodiment of the present invention.
  • FIG. 7 is a block diagram of an internal structure of an MG according to an embodiment of the present invention.
  • the media gateway between the IP networks can serve as the IGMP/MLD proxy entity.
  • a simple application scenario is shown in Figure 2.
  • a border gateway between the IP network 1 and the IP network 2 The MG 202 functions as an IGMP/MLD proxy, and maintains a multicast group member database that aggregates all downstream flow interface multicast group member information of the MG 202 in the MG 202.
  • the IP network 2 is the proxy network of the MG 202, and the MG 202 becomes an querier by electing in the IP network 1, and can send an inquiry message to the IP network 2 and process the IGMP/MLD report message received from the IP network 2 or leave the multicast group.
  • the MG 202 acts as a host in the IP network 1, receives the report message or the leave message from the IP network 1, and updates the multicast group member database according to the report message or the leave message, when the record of the multicast group member database changes.
  • the IGMP/MLD report message and the leave message can be sent to the IP network 1; and the query message sent by the querier in the IP network 1 is responded according to the content of the multicast group member database.
  • a new multicast group member subscribes to the multicast, and the host sends a report to join the multicast group G1.
  • the MG 202 receives the report. If the change of the member database record is caused according to the report message, the report is sent as a host in the IP network 1, and the multicast is required to join. Group Gl.
  • the report is received by the multicast router in the IP network 1, and continues to transmit the join multicast group information to the multicast source tree or the root node of the shared tree according to the existing multicast routing protocol.
  • MG202 may directly receive the multicast data stream sent by the multicast data source without upstream
  • the multicast router 203 obtains the multicast data stream.
  • MG202 forwards multicast data stream to IP network 1. According to the member database record and the multicast group member status on each downstream flow interface.
  • the multicast router 203 reported by the receiving MG 202 in the IP network 1 may itself be an IGMP/MLD proxy, which acts as a multicast querier (also a multicast router) in the IP network 1.
  • the host in IP network 2 may also be an IGMP/MLD proxy itself, which acts as a host supporting multicast in IP network 2.
  • the IGMP/MLD agents are connected in series, and one or more of the serialized IGMP/MLD agents may be the MGs having the functions of the present invention.
  • the IGMP/MLD agent allows for an upstream stream interface and one or more downstream stream interfaces.
  • the upstream stream interface here can be for all multicasts, as is most scenarios. However, if used in a slightly more complex network structure, an upstream interface may also be used for only one or some multicast groups. For other one or some multicast groups, the upstream stream interface may be different. In a more complicated case, the upstream flow interface of the shared tree and the upstream flow interface of the source tree of different multicast sources may be different for the same multicast group. If the IGMP/MLD proxy can obtain multicast groups and groups.
  • the IGMP/MLD proxy can also perform proxy between the IPv4 and IPv6 networks.
  • the mapping between the IPv4 address and the IPv6 address of the multicast group address and the multicast source address of the respective network is required. Even if the IGMP/MLD proxy between the same version of the IP network is different, the multicast group address and/or the multicast source address between the upstream and downstream flow interfaces are different.
  • the IGMP/MLD agent maintains the same. Mapping relationship between multicast group address mappings and/or multicast source addresses. And the mapping is implemented on the proxy's IGMP/MLD protocol message and the multicast data stream. This is actually an enhancement to the I GMP/MLD proxy feature.
  • the MG needs to maintain the multicast member database and maintain the multicast group member status on each downstream flow interface, that is, maintain the multicast group member information on each downstream flow interface.
  • the status of a multicast group member is also called a multicast group subscription status in this document.
  • the implementation of the IGMP/MLD proxy function by the MG described above requires the participation of the MGC.
  • the present invention In the embodiment, the MG and the MGC are used as a multicast group member management protocol proxy system, and the proxy system needs to implement the following three functions:
  • Attribute configuration function of the upstream stream interface and the downstream stream interface is
  • the upstream flow interface must be configured on the MG.
  • An upstream upstream interface can be applied to all multicast groups and multicast source addresses, but may be bound to a specific one or more multicast groups (which may further include a multicast source address). As shown in Figure 4.
  • one or more or all of the downstream stream interfaces that are allowed to be used may be configured for each upstream stream interface.
  • the MG does not process the join multicast group request of the non-downstream stream interface. If the MG has multiple interfaces on the same subnet to which it is connected, only one of them is selected as the upstream or downstream stream interface.
  • This configuration can be updated in real time by the MGC.
  • the proxy system maintains, for each downstream flow interface, information about the multicast group address and/or the source address of the multicast data stream that is allowed to be proxyed; the information includes the authority of the host that sends the IGMP/MLD message to the downstream flow interface, and the permissions include permission. Which multicast groups are added, etc.; the information also includes the total bandwidth of each downstream flow interface service, the joined multicast group, and/or the priority level of each multicast data stream source address. Priority is given to high priority traffic when the total bandwidth is insufficient. This feature is not available in all IGMP versions. Earlier versions of IGMP stipulated that hosts could listen to report messages from other hosts and avoid sending duplicate report messages.
  • Multicast group address and multicast data stream source address mapping are examples of Multicast group address and multicast data stream source address mapping.
  • the planning of the source address of the multicast data stream between the IP networks connected to the MG is not uniform.
  • the multicast data stream with the source address S2 in the IP network 2 is in the IP network 1.
  • the source address is mapped to S1, that is, after the IP network 2 receives the IGMP report requesting to join the multicast group G1 and the source address of the multicast data stream is S2, the IP gateway 2 forwards the IGMP report to the IP network 1,
  • the report message is translated into an IGMP report that is required to join the multicast group G1 and the source address of the multicast data stream is S1.
  • the multicast group address needs to be mapped.
  • the multicast group G2 in the IP network 1 is mapped to the multicast group G1 in the IP network 1.
  • Different IP networks connected by the MG may also run different protocols, such as IPv4 networks.
  • the group member management protocol is IGMP
  • the group member management protocol of the IPv6 network is MLD. Its multicast group address and multicast source address obviously need to be mapped.
  • the proxy system maintains multicast group address translation rules and/or multicast data source address translation rules between upstream and downstream flow interfaces. Establish a multicast group address mapping relationship and/or a multicast data source source address mapping relationship between the IP network where the upstream flow interface resides and the IP network where the downstream flow interface resides.
  • the proxy system learns the status of group members in each downstream network and updates the member database through IGMP/MLD messages from the IP network of the downstream flow interface (hereinafter referred to as the downstream network).
  • the downstream network When the database record changes, the report is sent to the upstream flow interface or the multicast member management protocol message leaving the multicast group.
  • the report message When the query message on the upstream interface is received, the report message is sent according to the content of the member database. Perform the above work while performing admission control and mapping of multicast group addresses and/or multicast source addresses.
  • the proxy system is divided into the following two modes: Mode 1: Maintain the processing mechanism for IGMP/MLD on the MG, and maintain the member database records according to the IGMP/MLD messages being proxied.
  • the configuration on the MG can also be set or updated by the MGC to the MG.
  • the disadvantage of a purely statically configured solution is that the update of the rules may not be real-time. If the user rights are modified, the multicast group address and multicast data source address mapping rules need to be updated, or the static configuration needs to be updated if the multicast group priority level changes, it is difficult to guarantee the real-time performance of the update, and many rules need to be updated.
  • the MGC uses the information of the control layer or the service layer to generate, so that the MGC needs to have the function of setting or updating the configuration on the MG to the MG.
  • the IGMP/MLD message is processed by the MGC under the control of the MGC, and the MG reports the received IGMP/MLD message and/or the MGC instructs the MG to send the IGMP/MLD message.
  • the MGC instructs the MG to detect the >3 ⁇ 4 query message on the upstream flow interface, instructing the MG to send the report message and leave the multicast group message.
  • the MGC instructs the MG to detect the report report message and leave the multicast group message on the downstream flow interface, and send the query message.
  • some functions can be automatically configured on the MG through mode 1, for example, periodic query on the downstream interface, query message on the upstream flow interface.
  • Some of the configurations can be updated by the MGC, for example, the MGC synchronizes the status of the multicast group member on the downstream flow interface with the MG, and some functions can be used by the MGC to control the MG to report and send IGMP/MLD messages.
  • the first embodiment of the proxy system uses the solution of the foregoing mode 1 to implement a plurality of feasible specific solutions. Only one of them is described here, and the principles of other solutions are similar.
  • the MG acting as an IGMP/MLD proxy is located at the junction of two or more IP networks.
  • the upstream stream interface name (ups t ream interface name, us in), the data type is oct s tr ing , the default value is null, and its value is the interface name of the upstream stream interface;
  • the downstream stream interface name (downs tream interface name, ds in), the data type is oct s tr ing list , the default value is null, which is the list of available interface names of the downstream stream interface, because the downstream stream interface may More than one, so use a list to indicate.
  • the upstream flow interface name represents the IP network where the upstream flow interface is connected.
  • the downstream flow interface name represents the IP network where the available downstream flow interface is connected.
  • the above attribute definition mode is applicable to all multicast groups by default, that is, all multicast groups proxyed by the proxy system use the same upstream stream interface and downstream stream interface. If different multicast groups or different multicast data source addresses can use different upstream and downstream flow interfaces, for example, one interface is the upstream flow interface of multicast group G1, and the other interface is multicast group G2.
  • the upstream upstream interface, or one interface is the multicast upstream interface of the multicast group G1, the multicast source address is S1, and the other interface is the multicast upstream interface of the multicast group G1 and the multicast source address is S2.
  • the above two attribute definition methods need to be further enhanced, including a multicast group identifier and/or a multicast data stream source address, and an upstream stream interface and available corresponding to the multicast group identifier and/or the multicast stream source address. List of downstream stream interfaces.
  • downstream flow interface that is, to allow all interfaces except the upstream flow interface to function as the downstream flow interface.
  • the above upstream flow interface name and the downstream flow interface name parameter may be replaced by the identification attribute of the IP network to which the interface is connected, and the parameter may refer to the expression indicated by the IP domain in H.248.41. Its role is the same as the interface name used. The place where the interface name is mentioned later can be replaced by the IP domain identifier.
  • This signal defines the following parameters:
  • the interface name (interface name, in), the data type is octstring, and the default value is null, and its value is the interface name.
  • Allowed multicast group (allowed group, ag)
  • the data type is string
  • the default value is null
  • its value is the allowed multicast group address, which may be IPV4 address or IPV6 address.
  • Refused group (agg), the data type is string, the default value is null, and its value is the rejected multicast group address, which can be IPV4 address or IPV6 address.
  • the multicast group priority (group class, gc), the data type is octstring, the default value is null, and its value is the group address and the corresponding priority.
  • the MGC When the MGC sends the signal to the MG, it indicates the multicast group allowed and denied on an interface, the permission setting of the interface for a certain user, and the priority level of each multicast group on the interface.
  • the definition signal gasamap used by the MGC to update the multicast group address and the multicast data stream source address mapping relationship to the MG.
  • This signal defines the following parameters:
  • Interface name interface name, in
  • data type is octstring, and the default value is empty. Its value is the interface name of the downstream stream interface.
  • the downstream address to upstream address (datoua), the data type is string list, and the default value is null.
  • the value is the multicast group address and its mapping on the downstream flow interface.
  • the two contents are separated by commas.
  • Each line in the list represents a mapping relationship.
  • the downstream source to upstream source (dtou), the data type is string list, the default value is null, and the value is the multicast data stream on the downstream flow interface.
  • Each line in the list represents a mapping relationship.
  • the MGC When the MGC sends the signal to the MG, it indicates the multicast group address and/or the multicast data source address of the IP network where the downstream flow interface is located and the multicast group address in the IP network where the upstream flow interface resides. Or the correspondence between the source addresses of multicast data streams.
  • the MGC instructs the MG to set or update the processing rules of the IGMP/MLD message.
  • These signals and attributes can be set to the MG's ROOT terminal or to a non-ROOT terminal. If it is created on a non-ROOT terminal, the interface can be specified through the parameter in and described above. After the interface is specified, the terminal is used to process (including sending and receiving, etc.) the interface specified when the terminal is created.
  • the query mechanism on the downstream stream interface needs to be explained. If the message exiting the multicast group is received on the downstream flow interface, you need to send a query message to determine whether there are other users of the multicast group on the downstream network.
  • the downstream flow interface has a periodic query mechanism to prevent the multicast group member management protocol messages from being lost in the IP network, or the host in the downstream network leaves the network before sending out the multicast group message, causing multicast on the downstream flow interface.
  • the group user subscription status does not match the situation in the actual network.
  • the upstream flow interface receives the query message, in addition to the mechanism for finding the member database, the query message can be sent to the downstream flow interface, and the multicast group subscription status on the member database and the downstream flow interface can be updated.
  • the member database and the maintenance of the multicast group member status on each downstream interface are based on the downstream flow connection.
  • the received report message and the leave message are also received according to the status of each multicast timer. I have already received it before, so I won't go into details here.
  • IGMP v2 there are ⁇ message to join the multicast group, and leave message to leave the multicast group.
  • IGMP v3 the ability to report messages and leave messages is accomplished through report messages.
  • the source address filtering condition is MODE_IS_INCLUDE, but the source address list is empty, which actually means leaving the multicast group.
  • a report message of IGMP v3 can implement multiple reports of IGMP v2. The ability to leave messages and leave messages.
  • the second embodiment of the proxy system uses the scheme of the foregoing mode 2, that is, the IGMP/MLD message is processed under the control of the MGC through the interaction between the MG and the MGC.
  • the configuration or designation of the upstream stream interface and the downstream stream interface can still use the method of the first embodiment.
  • the MGC sets the H.248 event detection IGMP/MLD report message to the MG and/or the message leaving the multicast group.
  • the MGC signals the MG to send an IGMP/MLD query message.
  • the following takes the IGMP protocol as an example. The implementation of the MLD protocol is similar.
  • the H.248 event includes:
  • the event igmpr l is used to detect IGMP Member Report messages and Leave Group messages.
  • the event has the following parameters:
  • the interface name (interface name), the data type is octs tr ing l i s t , and the default value is null, which is the list of interface names of the downstream stream interfaces to detect the event.
  • the parameter can be used to indicate on which or which downstream flow interface the IGMP report message and the leave group message are detected. If the attribute value is empty, it means that detection is performed on all downstream flow interfaces.
  • the parameter (interface name, in) and the data type are octstring list, which is the interface name of the downstream stream interface that detected the event.
  • the parameter does not need to be reported.
  • Protocol version (ver), the data type is integer, the default value is 3, and its value is the protocol version.
  • 1, 2, 3 represent versions 1, 2, and 3 of IGMP, respectively.
  • 1 represents the IGMP report message, and 2 represents the IGMP leave group message.
  • each row in the list represents the content of the report for a group.
  • the content of each line is the group address of a multicast group.
  • IGMP V3 it is more complicated.
  • the format of each line in the list is as follows:
  • Types include the following:
  • the multicast group is added to the multicast group 224.100.200.3, the source address filtering type is M0DE_IS_INCLUDE, and the source address list is 192.168.1.2 and 192.168.1.3, that is, the multicast group 224.100.200.3 is required to be added, but the source address of the qualified multicast data stream must be 192.168. .1.2 or 192.168.1.3.
  • Leave group message ( lg) the data type is string list, the default value is null, and its value represents the list of outgoing multicast groups. Each item in the list is a multicast group address.
  • the MG On the downstream flow interface, the MG also sends an IGMP/MLD query message.
  • the Query message may be automatically sent by the MG period, or the MG may indicate that the MG periodically sends or is triggered by the upstream stream interface or other events of the downstream stream interface. If the MGC instructs the MG to send an IGMP/MLD query message, the H.248 protocol needs to be extended. Still take IGMP as an example:
  • the event igmpre used by the MGC to instruct the MG to send an IGMP query message.
  • This event includes the following parameters:
  • the interface name (interface name, in), the data type is octstring, and the default value is null, which is the interface name of the downstream stream interface. If the event is set on the root terminal, the parameter can be used to indicate on which downstream flow interface the IGMP query message is sent. If the signal is sent on a non-ROOT terminal and the terminal is assigned an interface, then this parameter does not need to be set.
  • the multicast source address list (sal), the data type is string list, and the default value is null.
  • the value represents the list of multicast source addresses in the query message.
  • the MG After receiving the igmpre signal of the MGC, the MG constructs and sends an IGMP query message according to the parameters in the signal.
  • the H.248 protocol is also required to be extended.
  • the MGC instructs the MG to send the IGMP/MLD report message and the message leaving the multicast group, and the MG reports the event to the upstream router. MGC. This requires the MGC to maintain the multicast group member database in order to generate a report message when it receives the query message.
  • Events that are extended on the upstream stream interface include:
  • the signal mrl is used by the MGC to instruct the NGW to send an IGMP message and leave group message on the upstream flow interface.
  • the signal includes the following parameters:
  • the parameter interface name (interface name, in), the data type is oct string, which is the interface name of the upstream stream interface.
  • the parameter can be used to indicate on which upstream flow interface the IGMP message is sent. If the signal is sent to a specially created temporary terminal and the terminal is created on the specified interface, then this parameter does not need to be set. If the MG has only one upstream flow interface for all multicast groups, this parameter does not need to be set.
  • Message type (type), data type: integer, default value 1, its value represents the message type.
  • 1 represents the IGMP report message, and 2 represents the IGMP leave group message.
  • Report content the data type is string list, the default value is null, and the value represents the content of the report message.
  • Each row in the list represents the content of the report for a group.
  • the content of each line is the group address of a multicast group.
  • IGMP v3 it is more complicated.
  • the format of each line in the list is as follows:
  • Types include the following:
  • the source address list is 192.168.1.2 and 192.168.1.3, which is required to join the multicast group 224.100.200.3, but the source address of the qualified multicast stream must be 192.168.1.2 or
  • Leave group message (lg) the data type is string list, the default value is null, and its value represents the list of outgoing multicast groups. Each item in the list is a multicast group address.
  • the report message and the leave group message can also be sent by two different signals.
  • the previous method uses the same signal to deliver, and uses parameters to distinguish the message type.
  • the H.248 event rq is extended by the MG to report the IGMP query message received on the upstream flow interface.
  • the event has the following parameters:
  • the interface name (interface name, in), the data type is octstring, and its value is the interface name of the upstream stream interface.
  • the parameter can be used to indicate on which upstream flow interface the IGMP query message is detected. If the signal is sent to the temporary terminal and the terminal is assigned an interface, then this parameter does not need to be set. If the MG has only one upstream flow interface for all multicast groups, this parameter is not required to be set.
  • the interface name (interface name, in), the data type is octstring list, which is the interface name of the upstream stream interface that detected the event. If the event is set on a non-ROOT terminal and the terminal is assigned an interface, or there is only one upstream flow interface on the MG, this parameter does not need to be reported.
  • Waiting time (mrc) data type is integer, default value is null, the value represents the Max Resp Code field in the query message. Indicates the maximum length of time to wait for a response report.
  • the multicast group address (ga), the data type is str ing , the default value is null, and the value represents the multicast group address in the query message.
  • the MGC learns the IGMP query message received by the MG through the event, and performs subsequent operations, such as sending a report message.
  • the MGC can control the MG to implement the function of the multicast group member management protocol proxy.
  • the access control function and the multicast resource reservation function of the multicast group member can be further implemented; and the multicast group address mapping function between the IP network where the upstream flow interface is located and the IP network where the downstream flow interface is located And multicast data stream source address mapping.
  • the proxy system consisting of the MGC and the MG processed in the second mode is taken as an example.
  • the processing flow for implementing the proxy function in the downstream network is as shown in FIG. 4, and includes the following steps:
  • Step 401 The MG receives the IGMP/MLD report message or the message leaving the multicast group on the downstream flow interface, and sends the received message to the J MGC.
  • Step 402 The MGC determines whether the member database needs to be updated by using a locally configured policy, user subscription information, resource status, and records recorded in the multicast group member database maintained on the MGC. If yes, proceed to step 403; otherwise, the MGC A rejection instruction is sent to the MG, and the process ends.
  • the database does not need to be updated. Otherwise, the multicast group needs to be updated.
  • the record is added to the database; for the message requesting to leave the multicast group, the specific group query message needs to be sent on the downstream interface that receives the message leaving the multicast group to determine the multicast group to leave the MG in the message.
  • the local policy on the MGC may include configuring a downstream flow interface configuration on the MGC to allow a multicast group address and/or a multicast data source source address list, and/or configuring a multicast group address and/or multicast data on the downstream flow interface.
  • a list of stream source addresses. The judgment in the step may include the following sub-determination steps:
  • Step 402A The MGC determines whether the multicast group address and/or the multicast data stream source address carried in the message or the message leaving the multicast group are in the allowed multicast group address and/or multicast data. In the flow source address list, or not in the multicast group address and/or the multicast data source address list, if yes, continue to perform other sub-judgment; otherwise, the MGC sends a rejection indication to the MG.
  • the local policy on the MGC may further include configuring, on the MGC, the total bandwidth allowed on the downstream flow interface, and the priority of each multicast group and/or the multicast data source address; the determining may include the following :
  • Step 402B Determine whether the sum of the multicast bandwidth corresponding to the advertisement message and the existing multicast bandwidth of the downstream flow interface is greater than the total bandwidth of the allowed access, and if not, continue to perform other sub-determinations; Determining whether the multicast corresponding to the report message is allowed according to the priority of the multicast group and/or the source address of the multicast data stream carried by the report message, and if yes, performing other sub-judgment; otherwise, sending a rejection to the MG Instructions.
  • Step 403 Update the multicast group member database on the MGC.
  • Step 404 The MGC sends an indication to the MG to send a report message to the upstream network or leave the multicast group message on the upstream flow interface.
  • the MGC may instruct the MG to complete the upstream network and the downstream network, because the content of the report message or the outgoing multicast group message sent to the upstream flow interface may be indicated by the MGC in the signal parameter.
  • the multicast group address mapping function and the multicast data source address mapping function are mapped to the multicast group address and/or multicast data source address planned by the downstream network in the message. Address and / or multicast data source address.
  • the processing flow of the proxy system implementing the proxy function in the upstream network is as shown in FIG. 5, and includes the following steps:
  • Step 501 After receiving the query message on the upstream flow interface, the MG will query the message on the ⁇ MGC; Step 502: The MGC searches for the content of the multicast group member database according to the query message. If the multicast group address and/or the multicast source address between the upstream network and the downstream network are mapped, the search may also be performed. For example, the two addresses that need to be matched can be unified into the same network; if the matching content is found, step 503 is performed;
  • Step 503 The MGC instructs the MG to send a report message to the upstream network on the upstream flow interface.
  • the process flow according to the mode 1 may refer to the foregoing process in FIG. 4 and FIG. 5, except that the interaction between the MG and the MGC is omitted, and the MGC is omitted. The processing on the whole is transferred to the MG to complete.
  • the MG can maintain the status of the multicast group member on the downstream flow interface.
  • the MGC may refuse to join the multicast group request of the downstream network user due to user rights and other reasons. If the multicast group user subscription status on each downstream flow interface is maintained on the MG, and the user joins the multicast group request is rejected, the MGC needs to indicate to the MG to prevent the MG from incorrectly updating the multicast group on the downstream interface. Subscription status. The way to indicate can be as follows:
  • the MGC When the MG reports an event and reports to the MGC that the user joins the multicast group, the MGC returns an error code in the response message, indicating that the user is not allowed to join.
  • the MGC rejects the previously reported request to join the multicast group by means of a signal or the like carried in another message.
  • the MGC can also obtain the multicast group subscription status on each downstream flow interface according to the received multicast group message and the leaving multicast group message reported by the received MG. After the MGC policy is controlled, some multicast subscriptions may be rejected. The request, these rejected multicast subscription requests are not used to update the multicast group subscription status on the downstream stream interface, nor to update the member database.
  • the MGC can also obtain the multicast group subscription status of the host in the downstream network through the information obtained in the signaling flow of the service layer or the application layer. When the status of the multicast group on the downstream interface is changed, the MGC can update the MG through the extended H.248 message.
  • the updated information includes the multicast group, the source address filtering condition, and the source address list. The method of expansion is relatively simple and will not be described in detail here.
  • the MG maintains the multicast group user subscription status on each downstream flow interface.
  • the MG can further The information is derived from the record of the multicast group member database. Then, when the query message on the upstream flow interface is received, the automatic response can be performed without being reported to the MGC, and the MGC instructs to respond. If the multicast group member database on the MG changes, the upstream flow interface sends a report message or leaves the multicast group message.
  • the MGC may extend the H.248 protocol to multicast between the related upstream network and the downstream network.
  • the group address mapping relationship and/or the multicast data source source address mapping relationship are also sent to the MG.
  • the MG also needs to combine the mapping information to forward the multicast data stream according to the multicast group subscription status on each downstream interface.
  • the MG needs to modify the mapped address on the data stream according to the mapping relationship.
  • mapping relationship can also be configured on the MG.
  • the MGC can update the configuration through H.248 messages.
  • the MG reports the received multicast group member management protocol message to the MGC, which may generate a large number of message interactions. In fact, the MG may perform optimization. For redundant messages, the MG may not report, for example, does not affect the downstream flow interface. The message of the member information of the multicast group can be considered not to be reported, because the result of the admission control of the MGC does not affect the forwarding of the multicast data stream by the MG.
  • the MG sends a query message on the downstream stream interface. If the message exiting the multicast group is received on the downstream interface, you need to send a query message to determine whether there are other users of the multicast group on the downstream network.
  • the downstream flow interface can also have a periodic query mechanism to avoid the loss of the multicast group member management protocol message in the IP network, or the host in the downstream network leaves the network before sending out the multicast group message, causing the downstream flow interface.
  • the multicast group user subscription status does not match the situation in the actual network.
  • the upstream flow interface receives the query message, in addition to the mechanism for finding the member database, the mechanism for querying the downstream flow can be increased, and the multicast group subscription status on the member database and the downstream flow interface can be updated in time.
  • MG configuration and MGC control are not mutually exclusive, but can be combined. Use. For example, some functions can be configured to be automatically completed on the MG, some configurations can also be updated by the MGC, and some functions can be controlled by the MGC to control >3 ⁇ 4 and send IGMP/MLD messages.
  • the event defined in the present invention is not a permanent event, it needs to be set by the MGC to the MG. If it is a permanent event, the MG can automatically detect and report the event.
  • the method described above solves the related processing problems of the IGMP/MLD protocol on the upstream stream interface and the downstream stream interface.
  • the MG also needs to process and forward related multicast data streams.
  • the MGC sends the previously defined signals and events to the root terminal of the MG
  • the MG receives the multicast data stream on the upstream flow interface, and then according to the multicast group member status of the downstream flow interface, that is, the group on the downstream interface.
  • the status of the subs cr pt ion forwards the multicast data stream to the downstream stream interface that needs to be forwarded.
  • whether the MG is used as a querier of the downstream network is also a reference condition. If it is not a querier, it does not need to forward the multicast data stream.
  • the upstream flow interface terminal the terminal that is designated by the upstream flow interface
  • the downstream flow interface is designated.
  • the terminal is called a downstream stream interface terminal.
  • the internal structure block diagram of the MG is as shown in FIG. 7, and includes:
  • the interface configuration module 701 is configured to configure an interface that connects the MG to the packet subnet as an upstream flow interface or a downstream flow interface.
  • the interface configuration module 701 can configure an interface connected to a packet subnet as an upstream stream interface bound to a specific multicast group address and/or a multicast source address.
  • the multicast group database module 702 is configured to store a total multicast subscription status of all the downstream flow interfaces of the MG.
  • the proxy forwarding module 703 is configured to: according to the query message received on the upstream flow interface, the multicast group
  • the content in the database module 702 is searched, and if the matched content is searched, the upstream flow interface sends a report message to the upstream network; or, the multicast message is updated according to the report message received by the downstream flow interface or the message leaving the multicast group.
  • the content of the group database module 702 is determined, and whether the multicast group member database is changed. If yes, the report message is sent to the upstream network or the multicast group message is sent on the upstream flow interface.
  • the proxy forwarding module 703 can also include:
  • a subscription status recording unit configured to record a multicast subscription status of each downstream flow interface of the MG
  • a multicast data flow forwarding unit configured to record the multicast data stream received by the upstream flow interface of the MG according to the subscription status The content in the unit finds the corresponding downstream flow interface and forwards the multicast data stream to the downstream flow interface.
  • the access control module 704 is configured to configure a multicast group address and/or a multicast data source address list on the downstream flow interface, or configure a multicast group address and/or a multicast data source address list on the downstream flow interface. Determining whether to process the multicast group member management protocol message from the downstream flow interface according to the multicast group address and/or the source address of the multicast data stream carried in the report message received by the downstream flow interface, and if yes, notify the The proxy forwarding module 703 performs corresponding processing.
  • the access control module 704 further includes:
  • the bandwidth control unit is configured to configure, on the downstream flow interface, the total bandwidth allowed to access, and determine whether the sum of the multicast bandwidth corresponding to the report message received by the downstream flow interface and the existing multicast bandwidth of the downstream flow interface is greater than Describe the total bandwidth allowed for access, and if not, notify the proxy forwarding module 703 to perform corresponding processing;
  • a priority control unit configured to configure a priority of each multicast group and/or a multicast source address, and a priority of the multicast group and/or the multicast source address carried by the report message received by the downstream flow interface. And determining whether to notify the proxy forwarding module 703 to perform corresponding processing.
  • the address mapping module 705 is configured to configure a mapping relationship between a multicast group address and/or a multicast data source source address between the upstream network and the downstream network, and connect the downstream flow interface according to the configured mapping relationship.
  • the multicast group address and/or the source address of the multicast data stream in the received multicast group member management protocol message are modified to the multicast group address of the upstream network and/or the source address of the multicast data stream; and the modified message is And forwarded to the proxy forwarding module 703 for forwarding;
  • mapping relationship modify the multicast group address and/or the multicast data source source address in the multicast data stream received by the upstream flow interface to the multicast group address and/or multicast of the downstream network.
  • the data stream source address, and the modified multicast data stream is forwarded to the proxy forwarding module 703 for forwarding.
  • the configuration management module 706 is configured to set or update the configuration of the interface configuration module 701, the access control module 704, or the address mapping module 705 according to a configuration or update command from the MGC.
  • the multicast group timer module 707 is configured to maintain a multicast group timer, and according to the maintained multicast group timer, or the maintained multicast group timer and the multicast group member received by the proxy forwarding module 703
  • the management protocol message updates the content of the multicast group member database module 702.
  • the multicast group timer module 707 may maintain more than one timer, such as the group membership interval timer, the query interval timer, the active 4 interval timer, and the query response interval timer mentioned above.
  • the query message sending module 708 is configured to send a query message on the downstream flow interface if the preset trigger condition is met; the triggering condition includes:
  • the multicast group timer maintained in the multicast group timer 707 is timed out.
  • the multicast timer may be a query interval timer or a query response interval timer.
  • the proxy forwarding module 703 searches the content of the multicast member database according to the query message received by the upstream flow interface, and cannot find the matched content.
  • the MGC of the embodiment of the present invention includes:
  • a receiving module configured to receive a multicast group member management protocol message reported by the MG
  • a second multicast group database module configured to maintain a total multicast subscription status of all the downstream flow interfaces of the MG; and performing, according to the multicast group member management protocol message received by the receiving module, the maintained multicast subscription status Update or search, and notify the multicast command delivery module of the result of the update or search;
  • the sending module is configured to send a corresponding indication to the MG according to the result of the update or the search.
  • the second multicast group database module may further include a policy determining unit, configured to update the group in the second multicast group member database module according to the locally configured policy, the user subscription information, the resource status, or any combination of the foregoing information. Broadcast subscription status.
  • the MGC may further include an address mapping module, configured to configure a mapping relationship between a multicast group address and/or a multicast data source source address between the upstream network and the downstream network, and configure the MG according to the configured mapping relationship.
  • the multicast group address and/or the multicast source address in the multicast group member management protocol message received by the reported downstream flow interface is changed to the multicast group address of the upstream network and/or the source address of the multicast data stream, and Sending the multicast group address and/or the multicast data stream source address of the upstream network to the MG through the sending module.
  • the MLD protocol is similar to the IGMP protocol.
  • the IGMP message, the leaving group message and the query message, and the MLD's multicast listener report (Mul t icas t Li s tener Report) message the multicast listener is completed (Mul t icas t Li s tener Done) message and multicast listener query (Mul t icas t Li s tener Query) message, the content of the message is basically the same, the main difference is that the multicast group address and source address are IPV6 addresses, The implementation details are not described here.
  • the MG and the MGC form a multicast group member management protocol proxy system, and configure an upstream flow interface and a downstream flow interface, and a multicast group member database, so that the MG can forward multicast messages and groups. Broadcast data stream.
  • mapping is required. For example, the request for the multicast group G1 on the downstream flow interface, where the multicast group address is the SI, and S1 is the address identifier in the downstream network address plan. On the upstream flow interface, the multicast group address must be in accordance with the upstream network. Address planning, the multicast group address is represented as S2 in the address plan of the upstream network, so S1 needs to be mapped to S2.
  • the inventive scheme introduces an address mapping to enable the IGMP/MLD proxy to process correctly.
  • the solution of the present invention also introduces an admission control function, which filters the request of the user to join the multicast group according to the user authority, and the IGMP/MLD proxy maintains the received multicast group member management protocol message.
  • Member database and for this purpose as a basis for sending multicast group member management protocol messages.

Abstract

A method for realizing the management protocol agent for members in a multicast group is provided. In the method an upstream interface and at least one downstream interface are set on the media gateway MG, the media gateway controller MGC maintains the multicast group member database which synthesizes the subscription status of each of the members in the multicast group of the downstream interface, MG receives the report message for joining the multicast group or the message for leaving the multicast group from the downstream network via the downstream interface, reports upwards to MGC; MGC updates the content in the multicast group member database according to the report message or the message for leaving the multicast group; MGC determines whether the multicast group member database is changed, if so, instructs MG to send the report message or the message for leaving the multicast group to the upstream network via the upstream interface. Another method for realizing the management protocol agent for members in a multicast group, and a system, device for realizing the management protocol agent for members in a multicast group are disclosed. The solution of the present invention could make MG have the function of the management protocol agent for members in a multicast group.

Description

一种实现组播组成员管理协议代理的方法、 装置和系统  Method, device and system for realizing multicast group member management protocol agent
技术领域 Technical field
本发明涉及组播技术领域, 特别涉及一种实现组播组成员管理协议代理的方 法、 装置和系统。  The present invention relates to the field of multicast technologies, and in particular, to a method, device and system for implementing a multicast group member management protocol proxy.
背景技术 Background technique
IP组播(mul t icas t)或者说多播, 是指在 IP网络中将数据包发送到网络中 的某个确定节点子集, 这个子集称为组播组(mul t icas t group )0 IP组播的基 本思想是, 源主机只发送一份数据, 这份数据中的目的地址为组播组地址; 组 播组中的所有目的主机都可接收到同样的数据拷贝, 而组播组之外的其它主机 不能收到。 组播组用 D类 IP地址( 224. 0. 0. 0 ~ 239. 255. 255. 255 ) 来标识。 IP multicast (multicast) refers to the transmission of data packets to a certain subset of nodes in the network in an IP network. This subset is called a multicast group (mul t icas t group ). 0 The basic idea of IP multicast is that the source host sends only one data. The destination address in this data is the multicast group address. All destination hosts in the multicast group can receive the same data copy, and multicast. Hosts other than the group cannot receive it. The multicast group is identified by a class D IP address (224. 0. 0. 0 ~ 239. 255. 255. 255 ).
根据协议的作用范围, 组播协议分为主机-路由器之间的协议, 即组播组成 员管理协议; 以及路由器 -路由器之间协议, 主要是各种组播路由协议。 组播组 成员管理协议包括互联网组管理协议(IGMP )和组播侦听器发现(Mul t icas t Li s tener Di scovery, MLD )等; 组播路由协议又分为域内组播路由协议及域间 组播路由协议两类。  According to the scope of the protocol, the multicast protocol is divided into a host-router protocol, that is, a multicast member management protocol; and a router-router protocol, mainly various multicast routing protocols. The multicast group member management protocol includes Internet Group Management Protocol (IGMP) and multicast listener discovery (Mul t icas t Li s tener Di scovery, MLD); the multicast routing protocol is further divided into intra-domain multicast routing protocols and domains. There are two types of inter-multicast routing protocols.
通过组播组成员管理协议,在路由器中建立起其接口所在的 IP子网(subnet) 内的组播组成员关系信息, 该信息具体地说, 就是每一个组播组, 或者再进一 步细划到对组播源地址的过滤, 在该 IP子网是否拥有活动的成员。 域内组播路 由协议根据这些组播组成员关系信息, 运用一定的组播路由算法构造组播分发 树, 在路由器中建立组播路由状态, 路由器根据这些状态进行组播数据包转发。 域间组播路由协议根据网络中配置的域间组播路由策略, 在各自治系统  The multicast group member management protocol is used to establish the multicast group membership information in the IP subnet (subnet) where the interface is located in the router. The information is specifically each multicast group, or further fine-grained. To filter the multicast source address, whether there is an active member in the IP subnet. Based on the membership information of these multicast groups, the intra-domain multicast routing protocol uses a certain multicast routing algorithm to construct a multicast distribution tree, establishes a multicast routing state in the router, and the router performs multicast packet forwarding according to these states. The inter-domain multicast routing protocol is based on the inter-domain multicast routing policy configured in the network.
( Autonomous Sys tem, AS ) 间发布具有组播能力的路由信息以及组播源信息, 使组播数据能在域间进行转发。 IGMP协议用于 IPV4网络的组成员管理,在 IPV6 网络则釆用功能和内容都与 IGMP类似的协议 MLD。 以下以 IGMP为例,对组播组 成员管理协议进行进一步地介绍。 (Autonomous System, AS) releases multicast routing information and multicast source information, so that multicast data can be forwarded between domains. The IGMP protocol is used for group member management of the IPV4 network, and the IPM6 network uses a protocol MLD similar in function and content to IGMP. The following takes IGMP as an example to multicast groups. The member management agreement is further introduced.
IGMP协议运行于主机和与主机直接相连的组播路由器之间, IGMP实现的功 能是双向的: 一方面, 通过 IGMP协议, 主机通知组播路由器希望加入并接收某 个特定组播组的信息; 另一方面, 组播路由器通过 IGMP协议周期性地查询局域 网内某个已知组播组的成员是否处于活动状态, 即该网段是否仍有属于某个组 播组的成员, 实现所连网络组成员关系的收集与维护。 通过 IGMP, 在路由器中 记录的信息是某个组播组是否在本地有组成员, 而不是组播组与主机之间的对 应关系。  The IGMP protocol runs between the host and the multicast router directly connected to the host. The IGMP function is bidirectional: On the one hand, through the IGMP protocol, the host notifies the multicast router that it wants to join and receive information about a specific multicast group. On the other hand, the multicast router periodically queries whether a member of a known multicast group in the local area network is active through the IGMP protocol, that is, whether the network segment still belongs to a member of a multicast group and implements the connected network. Collection and maintenance of group membership. Through IGMP, the information recorded in the router is whether a multicast group has a group member locally, rather than a correspondence between the multicast group and the host.
到目前为止, IGMP有三个版本。 IGMPvl ( RFC1112 ) 中定义了基本的组成 员查询和报告过程; IGMPv2由 RFC2236 定义, 在 IGMPvl 的基础上添加了组 成员快速离开的机制; IGMPv3 ( RFC3376 ) 中增加的主要功能是成员可以指定 接收或指定不接收某些组播源的报文, 也就是增加了对组播源地址的过滤功能。 以下着重介绍 IGMPv2 协议的原理。  So far, IGMP has three versions. The basic group member query and reporting process is defined in IGMPvl (RFC1112); IGMPv2 is defined by RFC2236, which adds a mechanism for group members to leave quickly on the basis of IGMPvl; the main function added in IGMPv3 (RFC3376) is that members can specify receiving or Specifies to not receive packets from certain multicast sources, that is, to filter the multicast source address. The following focuses on the principles of the IGMPv2 protocol.
当同一个网段内有多个组播路由器时, IGMPv2通过查询器选举机制从中选 举出唯一的查询器。 查询器周期性地发送通用组查询消息进行成员关系查询; 主机发送报告消息来响应查询。 主机发送报告消息的时间有随机性, 当检测到 同一网段内有其它成员发送同样的消息时, 则抑制自己的响应报文。 如果有新 的主机要加入组播组, 不必等待查询器的查询消息, 而是主动发送报告消息。 当要离开组播组时, 主机发送离开组消息; 收到离开组消息后, 查询器发送特 定组查询消息来确定是否所有组成员都已离开。 对于作为组成员的路由器而言, 其行为和普通的主机一样, 响应其它路由器的查询。 通过上述机制, 在组播路 由器里建立起一张表, 其中记录了路由器的各个接口所对应的子网上都有哪些 组的成员。 当路由器接收到某个组播组的数据报文后, 只向该组播组成员的接 口上转发数据报文。 主机加入了组播组, 必须周期发送报告消息以维持其状态。 组播路由器启动组成员关系间隔(Group Membership Interva l)定时器, 定时器 超时前没有接收到主机维持该状态的报告消息, 则删除该子网的该组的成员关 系。 还有其它的组播定时器, 例如: 查询间隔(Query Interva l)定时器, 该定 时器超时, 则发送普遍查询消息。 最后成员查询间隔(La s t Member Query Interva l)定时器, 当接收到主机发送的离开组的消息后, 查询器发送特定组查 询消息来确定是否所有组成员都已离开, 并启动该定时器, 每次超时就重发, 发送的次数由最后成员查询次数 as t Member Query Count)决定, 如果最后一 次查询的定时器超时还没有接收到被离开的组的组成员的报告消息, 则删除该 子网的该组的成员关系。 另外, 作为主机, 也需要主动报告间隔(Unso l ic i ted Repor t Interva l)定时器来控制主机重复发送主动 ^艮告消息的时间, 以及查询 响应间隔(Query Response Interva l)定时器用来控制主机响应查询消息的时 间。 When there are multiple multicast routers in the same network segment, IGMPv2 elects a unique querier through the querier election mechanism. The querier periodically sends a general group query message for membership relationship query; the host sends a report message to respond to the query. The time when the host sends a report message is random. When other members in the same network segment are detected to send the same message, the response message is suppressed. If a new host wants to join the multicast group, it does not have to wait for the querier to query the message, but actively sends a report message. When leaving the multicast group, the host sends a leave group message; after receiving the leave group message, the querier sends a specific group query message to determine if all group members have left. For a router that is a member of a group, it behaves like a normal host, responding to queries from other routers. Through the above mechanism, a table is established in the multicast router, which records which group members are on the subnet corresponding to each interface of the router. After receiving a data packet from a multicast group, the router forwards data packets only to the interface of the multicast group member. The host joins the multicast group and must periodically send a report message to maintain its status. The multicast router starts the group membership interval timer. If the host does not receive the report message that the host maintains the status before the timer expires, the member of the group in the subnet is deleted. Department. There are other multicast timers, for example: Query Interva l timer, which sends a general query message when the timer expires. The last member query interval (La st Member Query Interva l) timer, after receiving the message of the leaving group sent by the host, the querier sends a specific group query message to determine whether all group members have left, and starts the timer. Resend each timeout, the number of times sent is determined by the last member query count as t Member Query Count). If the timer of the last query has not received the report message of the group member of the left group, the child is deleted. The membership of the group of the network. In addition, as the host, an Unso Detected Interval Timer is also required to control the time when the host repeatedly sends the active message, and the Query Response Interva timer is used to control The time the host responded to the query message.
组播路由可以分为两大类:信源树( Source Tree )和共享树( Shared Tree )0 信源树是指以组播源作为树根, 将组播源到每一个接收者的最短路径结合起来 构成的转发树。 由于信源树使用的是从组播源到接收者的最短路径, 因此也称 为最短路径树( shor tes t pa th tree , SPT )。 对于某个组播组, 网络要为任何 一个向该组发送报文的组播源建立一棵树。 共享树以某个路由器作为路由树的 树根, 该路由器称为汇集点 ( Rendezvous Point , RP ), 将 RP到所有接收者的 最短路结合起来构成转发树。 使用共享树时, 对应某个组, 网络中只有一棵树。 所有的组播源和接收者都使用这棵树来收发报文, 组播源先向树根发送数据报 文, 之后报文又向下转发到达所有的接收者。 在组播中, 报文是发送给一组接 收者的, 这些接收者用一个逻辑地址标识。 路由器在接收到报文后, 必须根据 源和目的地址确定出上游(指向组播源)和下游方向, 把"¾文沿着远离组播源 的方向进行转发。这个过程称作逆向路径转发( Reverse Pa th Forward ing , RPF )。 Multicast routes can be divided into two categories: source tree and shared tree. 0 The source tree is the shortest path from the multicast source to each receiver. A forwarding tree that is combined to form. Since the source tree uses the shortest path from the multicast source to the receiver, it is also called the shortest path tree (SPT). For a multicast group, the network establishes a tree for any multicast source that sends packets to the group. The shared tree uses a router as the root of the routing tree. This router is called a Rendezvous Point (RP) and combines the shortest path of the RP to all receivers to form a forwarding tree. When using a shared tree, there is only one tree in the network for a certain group. All multicast sources and receivers use this tree to send and receive packets. The multicast source sends data packets to the root of the tree, and then the packets are forwarded down to all receivers. In multicast, a message is sent to a group of recipients, which are identified by a logical address. After receiving the packet, the router must determine the upstream (pointing to the multicast source) and the downstream direction according to the source and destination addresses, and forward the "3⁄4 text" away from the multicast source. This process is called reverse path forwarding. Reverse Pa th Forward ing , RPF ).
组播路由协议和组播组成员管理协议相比要复杂, 这样对设备的要求比较 高。 RFC4605中介绍了组播组成员管理协议代理技术, 具体是 IGMP/MLD代理 (proxy)的技术, 当网络拓朴结构比较简单的情况下,不需要运行组播路由协议, 而是引入基于组播组成员管理协议的代理设备, 对组播数据流进行复制与转发。 也就是说代理设备通过代理组播组成员管理协议消息学习组播组成员信息, 依 据组播组成员信息来实现组播数据流的转发。 釆用组播组成员管理协议代理技 术, 首先可以节约设备的成本, 加快部署速度, 而且当代理设备部署在核心网 和接入网之间时, 该代理设备不需要支持核心网的组播路由协议, 而只需向其 发送组播组成员管理协议消息 , 这样增强了代理设备的通用性。 The multicast routing protocol is more complicated than the multicast group member management protocol, so the requirements on the device are relatively high. In the RFC4605, the multicast group member management protocol proxy technology is introduced, which is specifically the IGMP/MLD proxy technology. When the network topology is relatively simple, the multicast routing protocol does not need to be run, but the multicast-based multicast is introduced. The proxy device of the group member management protocol replicates and forwards the multicast data stream. That is, the proxy device learns the multicast group member information through the proxy multicast group member management protocol message, and implements the multicast data stream forwarding according to the multicast group member information. By using the multicast group member management protocol proxy technology, the cost of the device can be saved first, and the deployment speed can be accelerated. When the proxy device is deployed between the core network and the access network, the proxy device does not need to support the multicast routing of the core network. The protocol, and only need to send multicast group member management protocol messages to it, thus enhancing the versatility of the proxy device.
IGMP/MLD代理的实现的原理是: 代理设备的主机接口, 又称为上游流接口 ( Ups tream Interface ), 指向共享树或者信源树的根节点的方向。 在这个接口 上, 运行 IGMP主机功能。 代理设备上维护组播组成员数据库(Membership Database) , 该数据库中的记录是每个下游流接口的组播组成员信息  The principle of the implementation of the IGMP/MLD proxy is as follows: The host interface of the proxy device, also known as the upstream spoofing interface, points to the direction of the root node of the shared tree or the source tree. On this interface, run the IGMP host function. Maintain the multicast group member database (Membership Database) on the proxy device. The record in the database is the multicast group member information of each downstream flow interface.
(membershi informa t ion)的合并 (merge, 或者说汇总) , 也可以说是每个下游 流接口的组播组的订阅状况(subscr ipt ion)的合并。 其合并规则见 RFC4605 ,每 条记录格式为 (组播组地址, 过滤条件, 组播源地址列表)。 该成员数据库相当 于代理设备在上游流接口所在 IP子网上作为一个主机的组播组成员状态的记录 总和。 当在上游流接口上接收到 IGMP查询包时, 代理设备查询该成员数据库后 在主机端口发送 IGMP成员报告, 当成员数据库发生改变时, 主动发送离开或者 加入组播的数据包到相连的路由器。 IGMP/MLD代理还要记录每个下游流接口上 的组播订阅状况, 主机接口接收到符合成员数据库记录的组播数据流, 然后根 据各个下游流接口上的组播组成员状态转发组播包。 代理设备的路由器接口, 又称为下游流接口 (Downs tream Interface ), 背离才艮节点, 下联主机。 代理设 备在此端口运行 IGMP路由器功能, 进行所连接的 IP子网中的用户的组成员登 记查询删除工作。 实现接收成员报告消息和离开组播组请求; 发送查询包; 向 有组播数据流的组播组成员的的下游流接口转发接收到的该组播数据包。  The merge of (membershi informa t ion) (merge, or summary), can also be said to be the merge of the subscr ipt of the multicast group of each downstream stream interface. The merge rule is shown in RFC4605, and each record format is (multicast group address, filter condition, multicast source address list). The member database is equivalent to the record sum of the status of the multicast group members of the proxy device as a host on the IP subnet where the upstream flow interface resides. When the IGMP query packet is received on the upstream flow interface, the proxy device sends an IGMP member report to the host port after querying the member database. When the member database changes, the active device sends the multicast or the multicast packet to the connected router. The IGMP/MLD agent also records the multicast subscription status on each downstream flow interface. The host interface receives the multicast data flow that matches the member database record, and then forwards the multicast packet according to the multicast group member status on each downstream flow interface. . The router interface of the proxy device, also known as the downstream traam interface, deviates from the node and connects to the host. The proxy device runs the IGMP router function on this port to perform the group member login query deletion of the users in the connected IP subnet. Implementing the receiving member report message and leaving the multicast group request; sending the query packet; forwarding the received multicast data packet to the downstream flow interface of the multicast group member having the multicast data stream.
IGMP/MLD代理在下游流接口所在的子网中还必须能够通过选举成为查询器, 这 样才可以成为该子网中唯一的转发组播数据流的设备。 The IGMP/MLD proxy must also be elected as a querier in the subnet where the downstream flow interface resides, so that it can become the only device in the subnet that forwards the multicast data stream.
媒体网关控制器 (MGC )和媒体网关 (MG )是分组网络中的两个关键构件, MGC和 MG组成的网络架构如图 1所示。 MGC负责呼叫控制功能, MG负责业务承 载功能, MG之间通过实时传输协议 ( Rea l-t ime Transpor t Protocol , RTP ) 交 互。 网关控制协议是 MG和 MGC之间通信的主要协议, 目前应用较为广泛的有 H. 248/MeGaCo和媒体网关控制协议(Media Ga teway Control Protocol, MGCP ) 这两种协议。 The Media Gateway Controller (MGC) and the Media Gateway (MG) are two key components in the packet network. The network architecture consisting of MGC and MG is shown in Figure 1. MGC is responsible for call control functions, MG is responsible for business Load function, the MG interacts through the Real-Time Transport Protocol (RTP). The gateway control protocol is the main protocol for communication between the MG and the MGC. Currently, the H.248/MeGaCo and the Media Gateway Control Protocol (MGCP) are widely used.
以 H. 248协议为例, MG上的各种资源被抽象表示为终端 ( Termina t ion )0 终端又分为物理(Phys i ca l )终端和临时(Ephemera l )终端, 前者代表一些具 有半永久存在性的物理实体, 例如 TDM通道等, 后者代表一些临时申请用后释 放的公共资源, 例如 RTP流等。 另以根(Root )终端代表 MG整体。 终端之间的 组合被抽象表示为上下文(Context )。 上下文可以包含多个终端, 因而以拓朴 ( Topology )来描述终端间的相互关系。 对于还未与其它终端发生关联的终端, 由一个称为空 (Nul l )上下文的特殊上下文来包含。 基于这种抽象模型, 呼叫 的接续实际上就是对终端和上下文的操作。 In H. 248 protocol as an example, various resources on the MG are abstracted as a terminal (Termina t ion) 0 terminal is divided into physical (Phys i ca l) and a temporary terminal (Ephemera l) terminal, the former represent some semi-permanent Existing physical entities, such as TDM channels, etc., which represent common resources released after temporary applications, such as RTP streams. Another Root terminal represents the MG as a whole. The combination between terminals is abstracted as a context. The context can contain multiple terminals, so the relationship between the terminals is described in terms of Topology. For a terminal that has not been associated with another terminal, it is included by a special context called a null (Nul l ) context. Based on this abstract model, the connection of the call is actually the operation of the terminal and the context.
由于目前 MG不具备处理 IGMP/MLD协议消息以及组播路由协议消息的能力, 因此如果承载路径上有媒体网关存在, I GMP/MLD协议消息将被媒体网关阻隔。 发明内容  The current MG does not have the ability to process IGMP/MLD protocol messages and multicast routing protocol messages. Therefore, if a media gateway exists on the bearer path, the IGMP/MLD protocol message will be blocked by the media gateway. Summary of the invention
有鉴于此, 本发明实施例提出一种实现组播组成员管理协议代理的方法, 使 MG能够具备组播组成员管理协议代理的功能。 该方法在 MG上设置一个上游 流接口和至少一个下游流接口, MG维护汇总所述 MG的所有下游流接口的组播组 成员信息的组播组成员数据库, 并包括如下步骤:  In view of this, the embodiment of the present invention provides a method for implementing a multicast group member management protocol proxy, so that the MG can have the function of a multicast group member management protocol proxy. The method includes an upstream flow interface and at least one downstream flow interface on the MG, and the MG maintains a multicast group member database that summarizes the multicast group member information of all the downstream flow interfaces of the MG, and includes the following steps:
MG在下游流接口接收来自下游网络的组播组成员管理协议消息, 并根据所 述组播组成员管理协议消息更新所述组播组成员数据库中的内容, MG判断所述 组播组成员数据库是否发生变化, 若是, 则在上游流接口上向上游网络发送组 播组成员管理协议消息;  The MG receives the multicast group member management protocol message from the downstream network on the downstream flow interface, and updates the content in the multicast group member database according to the multicast group member management protocol message, and the MG determines the multicast group member database. Whether the change occurs, if yes, sending a multicast group member management protocol message to the upstream network on the upstream flow interface;
和 /或,  and / or,
MG在上游流接口上接收到查询消息, 根据所述查询消息对所述组播组成员 数据库的内容进行查找, 若查找到匹配的内容, 则在上游流接口向上游网络发 送报告消息。 The MG receives the query message on the upstream flow interface, searches the content of the multicast group member database according to the query message, and if the matched content is found, sends the upstream flow interface to the upstream network. Send a report message.
本发明实施例还公开了另一种实现组播组成员管理协议代理的方法, 在 MG 上设置一个上游流接口和至少一个下游流接口, MG维护汇总所有下游流接口的 组播组成员信息的第一组播组成员数据库, 并包括如下步骤:  The embodiment of the present invention further discloses another method for implementing a multicast group member management protocol proxy. An upstream flow interface and at least one downstream flow interface are set on the MG, and the MG maintains and summarizes the multicast group member information of all the downstream flow interfaces. The first multicast group member database, and includes the following steps:
MG在下游流接口接收来自下游网络的组播组成员管理协议消息, 向 MGC上 报;  The MG receives the multicast group member management protocol message from the downstream network on the downstream flow interface, and reports the message to the MGC.
MGC根据所述组播组成员管理协议消息更新 MGC上维护的第二组播组成员数 据库中的内容, 判断所述第二组播组成员数据库是否发生变化, 若是, 则指示 MG在上游流接口上向上游网络发送组播组成员管理协议消息; 或者, MGC向 MG 发送接受所述组播组成员管理协议消息的指示, MG根据所述指示更新所述第一 组播组成员数据库, 判断所述第一组播组成员数据库是否发生变化, 若是, 则 在上游流接口上向上游网络发送组播组成员管理协议消息;  The MGC updates the content of the second multicast group member database maintained on the MGC according to the multicast group member management protocol message, and determines whether the second multicast group member database changes. If yes, the MG is in the upstream flow interface. Sending a multicast group member management protocol message to the upstream network; or, the MGC sends an indication to the MG to accept the multicast group member management protocol message, and the MG updates the first multicast group member database according to the indication, and determines the location Whether the first multicast group member database changes, and if so, sending a multicast group member management protocol message to the upstream network on the upstream flow interface;
或者,  Or,
MG在上游流接口上收到查询消息后向 MGC上报, MGC根据所述查询消息对 所述第二组播组成员数据库的内容进行查找, 若查找到匹配的内容, 则指示所 述 MG在上游流接口向上游网络发送 >¾告消息; 或者, MG在上游流接口上收到查 询消息后对所述第一组播组成员数据库的内容进行查找, 若查找到匹配的内容, 则向上游网络发送 ^艮告消息。  After receiving the query message on the upstream flow interface, the MG reports to the MGC, and the MGC searches for the content of the second multicast group member database according to the query message. If the matched content is found, the MG indicates that the MG is upstream. The flow interface sends a message to the upstream network. The MG searches the content of the first multicast group member database after receiving the query message on the upstream flow interface. If the matching content is found, the upstream network is searched. Send a ^ message.
本发明实施例还公开了一种实现组播组成员管理协议代理的方法, 组播组 成员管理协议代理的上游流接口与特定的组播组绑定, 或者与特定的组播组和 组播源地址绑定。  The embodiment of the invention further discloses a method for implementing a multicast group member management protocol proxy. The upstream flow interface of the multicast group member management protocol proxy is bound to a specific multicast group, or is associated with a specific multicast group and multicast. Source address binding.
本发明实施例公开的又一种实现组播组成员管理协议代理的方法, 在组播 组成员管理协议代理中, 配置上游网络和下游网络之间的组播组地址和 /或组播 数据流源地址的映射关系; 并包括如下步骤:  Another method for implementing a multicast group member management protocol proxy disclosed in the embodiment of the present invention is to configure a multicast group address and/or a multicast data flow between an upstream network and a downstream network in a multicast group member management protocol proxy. The mapping relationship of the source address; and includes the following steps:
在下游流接口接收组播组成员管理协议消息;  Receiving a multicast group member management protocol message on the downstream flow interface;
根据所述映射关系, 将所述组播组成员管理协议消息中的下游网络的组播 组地址和 /或组播数据流源地址修改为被映射的上游网络的组播组地址和 /或组 播数据流源地址; And multicasting the downlink network in the multicast group member management protocol message according to the mapping relationship The group address and/or the multicast data stream source address is modified to be the multicast group address of the mapped upstream network and/or the multicast data stream source address;
在上游流接口发送所述修改后的组播组成员管理协议消息;  Sending the modified multicast group member management protocol message on the upstream flow interface;
或者, 包括如下步骤:  Or, include the following steps:
在上游流接口上接收到组播数据流;  Receiving a multicast data stream on the upstream flow interface;
根据所述映射关系, 将所述组播数据流中的上游网络的组播组地址和 /或组 播数据流源地址修改为被映射的下游网络的组播组地址和 /或组播数据流源地 址, 再在下游流接口发送所述组播数据流。  Modifying, according to the mapping relationship, the multicast group address and/or the multicast data source source address of the upstream network in the multicast data stream to the multicast group address and/or the multicast data stream of the mapped downstream network. The source address is sent to the downstream stream interface.
本发明实施例还公开了一种实现组播组成员管理协议代理的系统, 包括 MG 和 MGC,  The embodiment of the invention also discloses a system for implementing a multicast group member management protocol proxy, including an MG and an MGC.
所述 MG上配置一个上游流接口和至少一个下游流接口,并维护汇总所述 MG 的所有下游流接口的组播组成员信息的组播组成员数据库; 根据所述组播组成 员数据库, 将上游流接口接收的组播组成员管理协议消息转发到相应的下游流 接口, 或者向上游流接口发送报告消息;  An upstream flow interface and at least one downstream flow interface are configured on the MG, and a multicast group member database that summarizes multicast group member information of all downstream flow interfaces of the MG is maintained; according to the multicast group member database, The multicast group member management protocol message received by the upstream flow interface is forwarded to the corresponding downstream flow interface, or the report message is sent to the upstream flow interface.
所述 MGC用以向所述 MG发送设置或更新命令, 来设置或更新所述 MG上的 配置。  The MGC is configured to send a setup or update command to the MG to set or update a configuration on the MG.
本发明实施例公开了一种 MG , 包括用于实现组播组成员管理协议代理功能 的装置, 该装置包括:  The embodiment of the invention discloses an MG, which comprises means for implementing a multicast group member management protocol proxy function, the device comprising:
接口配置模块, 用于将 MG连接分组子网的接口配置为上游流接口或下游流 接口;  An interface configuration module, configured to configure an interface of the MG to be connected to the subnet as an upstream flow interface or a downstream flow interface;
组播组数据库模块,用于维护所述 MG的所有下游流接口总的组播订阅状况; 代理转发模块, 用于根据在上游流接口接收的查询消息, 对所述组播组数 据库模块中的内容进行搜索, 若搜索到匹配的内容, 则在上游流接口向上游网 络发送报告消息; 或者, 根据下游流接口接收的组播组成员管理协议消息更新 所述组播组数据库模块中的内容, 并判断所述组播组成员数据库是否发生变化, 若是, 则在上游流接口上向上游网络发送组播组成员管理协议消息。 本发明实施例公开的另一种实现组播组成员管理协议代理的系统, 包括 MG 和 MGC, 所述 MG上配置一个上游流接口和至少一个下游流接口, MG维护汇总所 有下游流接口的组播组成员信息的第一组播组成员数据库; 所述 MG用于在下游 流接口接收来自下游网络的组播组成员管理协议消息, 并将所述组播组成员管 理协议消息上报给 MGC; MG根据 MGC下发的指示更新所述第一组播组成员数据 库和 /或发送组播组成员管理协议消息; 或者, 所述 MG用于在上游流接口上收 到查询消息后向 MGC上报, 并根据所述 MGC的指示在上游流接口向上游网络发 送报告消息; a multicast group database module, configured to maintain a total multicast subscription status of all the downstream flow interfaces of the MG; and a proxy forwarding module, configured to: according to the query message received on the upstream flow interface, in the multicast group database module The content is searched, and if the matched content is found, the upstream flow interface sends a report message to the upstream network; or, according to the multicast group member management protocol message received by the downstream flow interface, the content in the multicast group database module is updated, And determining whether the multicast group member database changes. If yes, sending a multicast group member management protocol message to the upstream network on the upstream flow interface. Another system for implementing a multicast group member management protocol proxy disclosed in the embodiment of the present invention includes an MG and an MGC, and the MG is configured with an upstream flow interface and at least one downstream flow interface, and the MG maintains a group that summarizes all downstream flow interfaces. The first multicast group member database of the member information is broadcasted; the MG is configured to receive the multicast group member management protocol message from the downstream network on the downstream flow interface, and report the multicast group member management protocol message to the MGC; The MG updates the first multicast group member database and/or sends a multicast group member management protocol message according to the indication sent by the MGC; or the MG is used to report the message to the MGC after receiving the query message on the upstream flow interface. And sending a report message to the upstream network on the upstream flow interface according to the indication of the MGC;
所述 MGC维护汇总所有下游流接口的组播组成员信息的第二组播组成员数 据库; 根据所述 MG上报的组播组成员管理协议消息以及所述第二组播组成员数 据库中的内容向所述 MG下发相应指示。  The MGC maintains a second multicast group member database that summarizes the multicast group member information of all the downstream flow interfaces; the multicast group member management protocol message reported by the MG and the content in the second multicast group member database Sending a corresponding indication to the MG.
本发明实施例公开了一种 MGC, 包括:  An embodiment of the present invention discloses an MGC, including:
接收模块, 用于接收 MG上报的组播组成员管理协议消息;  a receiving module, configured to receive a multicast group member management protocol message reported by the MG;
第二组播组数据库模块, 用于维护所述 MG的所有下游流接口总的组播订阅 状况; 根据所述接收模块接收的组播组成员管理协议消息, 对所维护的组播订 阅状况进行更新或搜索, 并将更新或搜索的结果通知组播指令下发模块;  a second multicast group database module, configured to maintain a total multicast subscription status of all the downstream flow interfaces of the MG; and performing, according to the multicast group member management protocol message received by the receiving module, the maintained multicast subscription status Update or search, and notify the multicast command delivery module of the result of the update or search;
下发模块, 用于根据更新或搜索的结果, 向 MG下发相应指示。  The sending module is configured to send a corresponding indication to the MG according to the result of the update or the search.
从以上技术方案可以看出, 本发明方案在 MG上维护上游流接口和下游流接 口, 并维护用于记录组播组成员信息的组播组成员数据库, 根据所述组播组成 员数据库, 对来自上游流接口或下游流接口的组播组成员管理协议消息进行处 理或转发, 从而使 MG实现组播组成员管理协议代理的功能。  As shown in the foregoing technical solution, the solution of the present invention maintains an upstream flow interface and a downstream flow interface on the MG, and maintains a multicast group member database for recording multicast group member information, according to the multicast group member database, The multicast group member management protocol message from the upstream flow interface or the downstream flow interface is processed or forwarded, so that the MG implements the function of the multicast group member management protocol proxy.
附图说明 DRAWINGS
图 1为现有技术 MG与 MGC的组网示意图;  1 is a schematic diagram of networking of a prior art MG and an MGC;
图 2为本发明方案的一个应用场景示意图;  2 is a schematic diagram of an application scenario of the solution of the present invention;
图 3为本发明方案的另一个应用场景示意图;  3 is a schematic diagram of another application scenario of the solution of the present invention;
图 4为本发明实施例实现从下游网络到上游网络方向上的代理功能的处理 流程图; FIG. 4 is a flowchart of processing proxy functions in a direction from a downstream network to an upstream network according to an embodiment of the present invention; Flow chart
图 5为本发明实施例实现从上游网络到下游网络方向上的代理功能的处理 流程图;  FIG. 5 is a flowchart of processing an agent function in a direction from an upstream network to a downstream network according to an embodiment of the present invention;
图 6为本发明实施例建立拓朴关系的示意图;  6 is a schematic diagram of establishing a topology relationship according to an embodiment of the present invention;
图 7为本发明实施例的 MG内部结构框图。  FIG. 7 is a block diagram of an internal structure of an MG according to an embodiment of the present invention.
具体实施方式 detailed description
为使本发明的目的、 技术方案和优点更加清楚, 下面结合附图对本发明作 进一步的详细阐述。  In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail with reference to the accompanying drawings.
IP网络之间的媒体网关可以作为 IGMP/MLD代理实体,一个简单的应用场景 如图 2所示。 IP网络 1和 IP网络 2之间的边缘(border)网关 MG202作为 IGMP/MLD 代理, 在 MG202中维护汇总 MG202的所有下游流接口组播组成员信息的的组播 组成员数据库。 IP网络 2是 MG202的被代理网络, MG202在 IP网络 1中通过选 举成为查询器, 能够向 IP网络 2发送查询消息以及处理从 IP网络 2中接收到 的 IGMP/MLD报告消息或离开组播组消息; MG202在 IP网络 1中作为主机,接收 来自 IP网络 1的报告消息或离开消息, 并根据所述报告消息或离开消息更新组 播组成员数据库, 在组播组成员数据库记录发生变化的时候能够向 IP网络 1发 送 IGMP/MLD报告消息和离开消息; 根据组播组成员数据库的内容, 响应 IP网 络 1中的查询器发出的查询消息。  The media gateway between the IP networks can serve as the IGMP/MLD proxy entity. A simple application scenario is shown in Figure 2. A border gateway between the IP network 1 and the IP network 2 The MG 202 functions as an IGMP/MLD proxy, and maintains a multicast group member database that aggregates all downstream flow interface multicast group member information of the MG 202 in the MG 202. The IP network 2 is the proxy network of the MG 202, and the MG 202 becomes an querier by electing in the IP network 1, and can send an inquiry message to the IP network 2 and process the IGMP/MLD report message received from the IP network 2 or leave the multicast group. The MG 202 acts as a host in the IP network 1, receives the report message or the leave message from the IP network 1, and updates the multicast group member database according to the report message or the leave message, when the record of the multicast group member database changes. The IGMP/MLD report message and the leave message can be sent to the IP network 1; and the query message sent by the querier in the IP network 1 is responded according to the content of the multicast group member database.
G1 IP网络 2中有新的组播组成员订阅组播,该主机发出加入组播组 G1的报 告。 作为 IP网络 2中的组播查询器(quer ier) , MG202接收到该报告,如果根据 该报告消息, 造成了成员数据库记录的改变, 则在 IP网络 1中作为主机发送报 告, 要求加入组播组 Gl。 该报告被 IP网络 1中的组播路由器接收, 根据现有的 组播路由协议向着组播的信源树或者共享树的根节点方向继续传递加入组播组 信息。 图 2中, 如果 IP网络 1中主机要求加入的组播组的组播数据源就在 IP 网络 2中, MG202可能可以直接接收组播数据源发出的组播数据流, 而不需要从 上游的组播路由器 203获得该组播数据流。 MG202向 IP网络 1转发组播数据流 依据成员数据库记录以及各下游流接口上的组播组成员状态。 In the G1 IP network 2, a new multicast group member subscribes to the multicast, and the host sends a report to join the multicast group G1. As the multicast querier in the IP network 2, the MG 202 receives the report. If the change of the member database record is caused according to the report message, the report is sent as a host in the IP network 1, and the multicast is required to join. Group Gl. The report is received by the multicast router in the IP network 1, and continues to transmit the join multicast group information to the multicast source tree or the root node of the shared tree according to the existing multicast routing protocol. In Figure 2, if the multicast data source of the multicast group that the host requires to join in IP network 1 is in IP network 2, MG202 may directly receive the multicast data stream sent by the multicast data source without upstream The multicast router 203 obtains the multicast data stream. MG202 forwards multicast data stream to IP network 1. According to the member database record and the multicast group member status on each downstream flow interface.
另外, IP网络 1中的接收 MG202报告的组播路由器 203本身可能是一个 IGMP/MLD代理, 该代理在 IP网络 1中作为组播查询器(也是组播路由器)。 IP 网络 2中的主机也可能本身是 IGMP/MLD代理, 该代理在 IP网络 2中作为支持 组播的主机。 在以上两种情况下, 实际上是 IGMP/MLD代理串联的情况, 而被串 联的 IGMP/MLD代理中的一个或者多个可以为具备本发明功能的 MG。  In addition, the multicast router 203 reported by the receiving MG 202 in the IP network 1 may itself be an IGMP/MLD proxy, which acts as a multicast querier (also a multicast router) in the IP network 1. The host in IP network 2 may also be an IGMP/MLD proxy itself, which acts as a host supporting multicast in IP network 2. In the above two cases, it is actually the case where the IGMP/MLD agents are connected in series, and one or more of the serialized IGMP/MLD agents may be the MGs having the functions of the present invention.
IGMP/MLD代理(见 RFC4605)允许有一个上游流接口以及一个或者多个下游 流接口。 这里的上游流接口可以是针对所有的组播, 大多数场景也是如此。 但 是, 如果用在稍微复杂一点的网络结构中, 一个上游接口也可能只用于一个或 者一些组播组。 而对于其它的一个或者一些组播组, 其上游流接口可能不同。 更复杂的情况下, 对于同一个组播组, 其对应共享树的上游流接口以及不同的 组播源的信源树的上游流接口可能不同, 如果 IGMP/MLD代理能够获得组播组、 组播源地址和上游流接口的关系 , 并将上游流接口与组播组和 /或组播源源地址 进行绑定, 则可以将 IGMP 告发送到与该 ^艮告所属的组播对应的上游流接口。 这也是对 I GMP/MLD代理功能的增强。 如图 3所示。  The IGMP/MLD agent (see RFC4605) allows for an upstream stream interface and one or more downstream stream interfaces. The upstream stream interface here can be for all multicasts, as is most scenarios. However, if used in a slightly more complex network structure, an upstream interface may also be used for only one or some multicast groups. For other one or some multicast groups, the upstream stream interface may be different. In a more complicated case, the upstream flow interface of the shared tree and the upstream flow interface of the source tree of different multicast sources may be different for the same multicast group. If the IGMP/MLD proxy can obtain multicast groups and groups. Binding the source address to the upstream stream interface, and binding the upstream stream interface to the multicast group and/or the multicast source address, you can send the IGMP advertisement to the upstream stream corresponding to the multicast to which the report belongs. interface. This is also an enhancement to the I GMP/MLD proxy feature. As shown in Figure 3.
另夕卜, IGMP/MLD代理还可以完成在 IPv4和 IPv6网络之间进行代理, 实现 该功能需要对各自网络的组播组地址和组播源地址进行 IPv4地址和 IPv6地址 之间的映射。 即使是相同版本的 IP网络之间的 IGMP/MLD代理, 也存在上游流 接口和下游流接口之间的组播组地址和 /或组播源地址的规划不同的情况, IGMP/MLD代理上维护组播组地址映射关系和 /或者组播源地址的映射关系。并且 在代理的 IGMP/MLD协议消息以及组播数据流上实现该映射。 这实际上也是对 I GMP/MLD代理功能的增强。  In addition, the IGMP/MLD proxy can also perform proxy between the IPv4 and IPv6 networks. To implement this function, the mapping between the IPv4 address and the IPv6 address of the multicast group address and the multicast source address of the respective network is required. Even if the IGMP/MLD proxy between the same version of the IP network is different, the multicast group address and/or the multicast source address between the upstream and downstream flow interfaces are different. The IGMP/MLD agent maintains the same. Mapping relationship between multicast group address mappings and/or multicast source addresses. And the mapping is implemented on the proxy's IGMP/MLD protocol message and the multicast data stream. This is actually an enhancement to the I GMP/MLD proxy feature.
多个下游流接口共用上游流接口获得的组播数据流。 MG需要维护组播组成 员数据库, 也要维护每个下游流接口上的组播组成员状态, 即维护每个下游流 接口上的组播组成员信息。 组播组成员状态在本文中也叫组播组订阅状况。  Multiple downstream flow interfaces share the multicast data stream obtained by the upstream flow interface. The MG needs to maintain the multicast member database and maintain the multicast group member status on each downstream flow interface, that is, maintain the multicast group member information on each downstream flow interface. The status of a multicast group member is also called a multicast group subscription status in this document.
实际上, 以上所述 MG实现 IGMP/MLD代理功能需要 MGC的参与。 本发明实 施例中, 将 MG与 MGC作为组播组成员管理协议代理系统, 所述代理系统需要实 现如下三方面功能: In fact, the implementation of the IGMP/MLD proxy function by the MG described above requires the participation of the MGC. The present invention In the embodiment, the MG and the MGC are used as a multicast group member management protocol proxy system, and the proxy system needs to implement the following three functions:
上游流接口和下游流接口的属性配置功能。  Attribute configuration function of the upstream stream interface and the downstream stream interface.
MG上要配置上游流接口。 配置的某一个上游流接口可以适用于所有的组播 组以及组播源地址, 但是可能是和特定的一个或者多个组播组(可以进一步包括 组播源地址)绑定。 如图 4所示。 另外, 对于每个上游流接口可以配置除本身以 外的一个或者多个或者全部可以允许使用的下游流接口。 MG不处理非下游流接 口的加入组播组请求。 如果 MG在所连接的同一个子网有多个接口, 则只选取其 中的一个作为上游流接口或者下游流接口。  The upstream flow interface must be configured on the MG. An upstream upstream interface can be applied to all multicast groups and multicast source addresses, but may be bound to a specific one or more multicast groups (which may further include a multicast source address). As shown in Figure 4. In addition, one or more or all of the downstream stream interfaces that are allowed to be used may be configured for each upstream stream interface. The MG does not process the join multicast group request of the non-downstream stream interface. If the MG has multiple interfaces on the same subnet to which it is connected, only one of them is selected as the upstream or downstream stream interface.
该配置可以被 MGC实时更新。  This configuration can be updated in real time by the MGC.
准入控制和资源预留。  Admission control and resource reservation.
代理系统对于每个下游流接口维护允许被代理的组播组地址和 /或组播数 据流源地址的相关信息; 该信息包括向下游流接口发出 IGMP/MLD消息的主机的 权限, 权限包括允许加入哪些组播组等; 该信息还包括每个下游流接口业务总 带宽, 已加入的组播组, 和 /或各个组播数据流源地址的优先级别。 在总带宽不 够的情况下优先准入高优先级别的数据流。 该功能不能在所有的 IGMP版本中使 用。 早期的 IGMP版本规定主机可以监听其它主机发出的报告消息并且可以避免 发送重复的报告消息。  The proxy system maintains, for each downstream flow interface, information about the multicast group address and/or the source address of the multicast data stream that is allowed to be proxyed; the information includes the authority of the host that sends the IGMP/MLD message to the downstream flow interface, and the permissions include permission. Which multicast groups are added, etc.; the information also includes the total bandwidth of each downstream flow interface service, the joined multicast group, and/or the priority level of each multicast data stream source address. Priority is given to high priority traffic when the total bandwidth is insufficient. This feature is not available in all IGMP versions. Earlier versions of IGMP stipulated that hosts could listen to report messages from other hosts and avoid sending duplicate report messages.
组播组地址和组播数据流源地址映射。  Multicast group address and multicast data stream source address mapping.
有些情况下, MG所连接的各个 IP网络之间的组播数据流源地址的规划不统 一, 例如图 2所示, IP网络 2中源地址为 S2的组播数据流在 IP网络 1中的源 地址映射为 S1 , 即媒体网关 202在 IP网络 2接收到要求加入组播组 G1,而且要 求组播数据流源地址为 S2的 IGMP报告后, 在向 IP网络 1转发该 IGMP报告时, 将该报告消息转化为要求加入组播组 G1 ,组播数据流源地址为 S1的 IGMP报告。 或者组播组地址需要被映射, 例如 IP网络 1中的组播组 G2在 IP网络 1中被映 射到组播组 Gl。 MG所连接的不同 IP网络还可能运行不同的协议, 如 IPv4网络 的组成员管理协议为 IGMP, IPv6网络的组成员管理协议为 MLD。 其组播组地址 和组播源地址显然需要被映射。 In some cases, the planning of the source address of the multicast data stream between the IP networks connected to the MG is not uniform. For example, as shown in FIG. 2, the multicast data stream with the source address S2 in the IP network 2 is in the IP network 1. The source address is mapped to S1, that is, after the IP network 2 receives the IGMP report requesting to join the multicast group G1 and the source address of the multicast data stream is S2, the IP gateway 2 forwards the IGMP report to the IP network 1, The report message is translated into an IGMP report that is required to join the multicast group G1 and the source address of the multicast data stream is S1. Or the multicast group address needs to be mapped. For example, the multicast group G2 in the IP network 1 is mapped to the multicast group G1 in the IP network 1. Different IP networks connected by the MG may also run different protocols, such as IPv4 networks. The group member management protocol is IGMP, and the group member management protocol of the IPv6 network is MLD. Its multicast group address and multicast source address obviously need to be mapped.
因此, 代理系统维护上下游流接口之间组播组地址转换规则和 /或组播数据 流源地址转换规则。 在上游流接口所在 IP网络和下游流接口所在的 IP网络之 间建立组播组地址映射关系和 /或组播数据流源地址映射关系。  Therefore, the proxy system maintains multicast group address translation rules and/or multicast data source address translation rules between upstream and downstream flow interfaces. Establish a multicast group address mapping relationship and/or a multicast data source source address mapping relationship between the IP network where the upstream flow interface resides and the IP network where the downstream flow interface resides.
代理系统(包括 MG和 MGC两部分)通过来自下游流接口所在 IP网络(以下 简称下游网络)的 IGMP/MLD消息, 学习各下游网络中的组成员状态, 更新成员 数据库。 数据库记录改变时向上游流接口发送报告或者离开组播组的组播组成 员管理协议消息, 在收到上游接口上的查询消息时根据成员数据库内容发送报 告消息。 进行以上工作的同时还要执行准入控制以及组播组地址和 /或组播源 地址的映射。  The proxy system (including the MG and the MGC) learns the status of group members in each downstream network and updates the member database through IGMP/MLD messages from the IP network of the downstream flow interface (hereinafter referred to as the downstream network). When the database record changes, the report is sent to the upstream flow interface or the multicast member management protocol message leaving the multicast group. When the query message on the upstream interface is received, the report message is sent according to the content of the member database. Perform the above work while performing admission control and mapping of multicast group addresses and/or multicast source addresses.
根据 MG与 MGC各自实现功能的不同, 所述代理系统分为以下两种方式: 方式一:在 MG上维护对于 IGMP/MLD的处理机制,并根据被代理的 IGMP/MLD 消息维护成员数据库记录。 MG上的配置还可以由 MGC向 MG下设置或者更新。 纯 粹的静态配置的方案的缺点在于规则的更新可能不够实时。 如果用户权限被修 改, 组播组地址和组播数据流源地址映射规则需要更新, 或者组播组优先级别 发生改变等情况下需要更新静态配置, 则难以保证更新的实时性, 而且很多规 则需要 MGC利用控制层或者业务层的信息生成, 这样就需要 MGC具有向 MG设置 或者更新 MG上的配置的功能。  According to the functions of the MG and the MGC, the proxy system is divided into the following two modes: Mode 1: Maintain the processing mechanism for IGMP/MLD on the MG, and maintain the member database records according to the IGMP/MLD messages being proxied. The configuration on the MG can also be set or updated by the MGC to the MG. The disadvantage of a purely statically configured solution is that the update of the rules may not be real-time. If the user rights are modified, the multicast group address and multicast data source address mapping rules need to be updated, or the static configuration needs to be updated if the multicast group priority level changes, it is difficult to guarantee the real-time performance of the update, and many rules need to be updated. The MGC uses the information of the control layer or the service layer to generate, so that the MGC needs to have the function of setting or updating the configuration on the MG to the MG.
方式二: 通过和 MGC的交互, 在 MGC的控制下处理 IGMP/MLD消息, 包括 MG 上报接收到的 IGMP/MLD消息和 /或 MGC指示 MG发送 IGMP/MLD消息。 在 MG作为 IGMP/MLD代理的场景下, MGC指示 MG在上游流接口上检测上>¾查询消息, 指示 MG发送报告消息和离开组播组消息。 MGC指示 MG在下游流接口上检测上报报告 消息和离开组播组消息, 发送查询消息。  Manner 2: The IGMP/MLD message is processed by the MGC under the control of the MGC, and the MG reports the received IGMP/MLD message and/or the MGC instructs the MG to send the IGMP/MLD message. In the scenario where the MG is acting as the IGMP/MLD proxy, the MGC instructs the MG to detect the >3⁄4 query message on the upstream flow interface, instructing the MG to send the report message and leave the multicast group message. The MGC instructs the MG to detect the report report message and leave the multicast group message on the downstream flow interface, and send the query message.
上述两种方式还可以结合在一起使用。 例如, 部分功能可以通过方式一配 置在 MG上自动完成, 例如在下游接口上的周期查询, 上游流接口上对查询消息 的自动应答等, 一些配置还可以通过 MGC指示更新, 例如 MGC向 MG同步下游流 接口上的组播组成员状态等, 而部分功能可以通过方式二由 MGC控制 MG上报以 及发送 IGMP/MLD消息。 The above two methods can also be used in combination. For example, some functions can be automatically configured on the MG through mode 1, for example, periodic query on the downstream interface, query message on the upstream flow interface. Some of the configurations can be updated by the MGC, for example, the MGC synchronizes the status of the multicast group member on the downstream flow interface with the MG, and some functions can be used by the MGC to control the MG to report and send IGMP/MLD messages.
代理系统的第一实施例釆用上述方式一的方案, 实现可行的具体方案很多, 这里只描述其中一种, 其它方案的原理类似。  The first embodiment of the proxy system uses the solution of the foregoing mode 1 to implement a plurality of feasible specific solutions. Only one of them is described here, and the principles of other solutions are similar.
对 H. 248协议的扩展, 包括:  Extensions to the H.248 protocol, including:
一、 定义一个 H. 248的包 impp用于 MGC设置或者更新规则。  First, define a H. 248 package impp for MGC settings or update rules.
作为 IGMP/MLD代理的 MG位于两个或者两个以上 IP网络交界的位置。  The MG acting as an IGMP/MLD proxy is located at the junction of two or more IP networks.
在 immp包中定义属性:  Define the properties in the immp package:
(1) .上游流接口名 (ups t ream interface name , us in) , 数据类型为 oct s tr ing , 默认值为空, 其值为上游流接口的接口名;  (1) The upstream stream interface name (ups t ream interface name, us in), the data type is oct s tr ing , the default value is null, and its value is the interface name of the upstream stream interface;
(2) .下游流接口名 (downs tream interface name , ds in) , 数据类型为 oct s tr ing l i s t , 默认值为空, 其值为可用的下游流接口的接口名列表, 因为 下游流接口可能多于一个, 所以用列表来表示。  (2) The downstream stream interface name (downs tream interface name, ds in), the data type is oct s tr ing list , the default value is null, which is the list of available interface names of the downstream stream interface, because the downstream stream interface may More than one, so use a list to indicate.
上游流接口名代表了其连接的上游流接口所在的 IP网络, 下游流接口名代 表了其连接的可用的下游流接口所在的 IP网络。  The upstream flow interface name represents the IP network where the upstream flow interface is connected. The downstream flow interface name represents the IP network where the available downstream flow interface is connected.
以上的属性定义方式默认对于所有组播组都适用, 即该代理系统所代理的 所有组播组使用相同的上游流接口和下游流接口。 如果不同的组播组或者不同 的组播数据流源地址可以使用不同的上游流接口和下游流接口, 比如: 某个接 口是组播组 G1的上游流接口, 另一个接口是组播组 G2的上游流接口, 或者, 某个接口是组播组 G1 , 组播源地址为 S1的组播上游接口, 而另一个接口是组播 组 G1,组播源地址为 S2的组播上游接口, 则以上两个属性定义方法需要进一步 增强, 包括组播组标识和 /或组播数据流源地址, 以及与所述组播组标识和 /或 组播数据流源地址对应的上游流接口和可用下游流接口列表。  The above attribute definition mode is applicable to all multicast groups by default, that is, all multicast groups proxyed by the proxy system use the same upstream stream interface and downstream stream interface. If different multicast groups or different multicast data source addresses can use different upstream and downstream flow interfaces, for example, one interface is the upstream flow interface of multicast group G1, and the other interface is multicast group G2. The upstream upstream interface, or one interface is the multicast upstream interface of the multicast group G1, the multicast source address is S1, and the other interface is the multicast upstream interface of the multicast group G1 and the multicast source address is S2. The above two attribute definition methods need to be further enhanced, including a multicast group identifier and/or a multicast data stream source address, and an upstream stream interface and available corresponding to the multicast group identifier and/or the multicast stream source address. List of downstream stream interfaces.
也可以不对下游流接口做限定, 即允许上游流接口以外的所有接口作为下 游流接口。 以上的上游流接口名以及下游流接口名参数可以用接口所连接的 IP网络的 标识属性替代, 该参数可以参照 H.248.41中的 IP域指示的表达方式。 其作用 和使用接口名相同。 后面涉及到接口名的地方都可以用 IP域标识的方式替代。 It is also possible not to limit the downstream flow interface, that is, to allow all interfaces except the upstream flow interface to function as the downstream flow interface. The above upstream flow interface name and the downstream flow interface name parameter may be replaced by the identification attribute of the IP network to which the interface is connected, and the parameter may refer to the expression indicated by the IP domain in H.248.41. Its role is the same as the interface name used. The place where the interface name is mentioned later can be replaced by the IP domain identifier.
二、 定义准入控制与预留(admission and reserve, aar) 信号, 用于 MGC 向 MG更新准入控制和资源预留相关配置。  2. Define an admission and reserve (aar) signal, which is used by the MGC to update the admission control and resource reservation related configuration to the MG.
该信号定义如下参数:  This signal defines the following parameters:
(1) .接口名(interface name, in) , 数据类型为 octstring, ,默认值为空, 其值为接口名。  (1) The interface name (interface name, in), the data type is octstring, and the default value is null, and its value is the interface name.
(2) .允许组播组 (allowed group, ag) , 数据类型为 string, 默认值为空, 其值为被允许的组播组地址, 可能是 IPV4地址或者 IPV6地址。  (2) Allowed multicast group (allowed group, ag), the data type is string, the default value is null, its value is the allowed multicast group address, which may be IPV4 address or IPV6 address.
(3) .拒绝组播组(refused group, ag) , 数据类型为 string, 默认值为空, 其值为被拒绝的组播组地址, 可以是 IPV4地址或者 IPV6地址。  (3). Refused group (agg), the data type is string, the default value is null, and its value is the rejected multicast group address, which can be IPV4 address or IPV6 address.
(4) .允许用户力口入的组播组 (user agreed group, uag) ,数据类型为 string, 默认值为空, 其值为请求消息的源地址以及被允许加入的组,两项内容之间用逗 号隔开。  (4) The user agreed group (uag), the data type is string, the default value is null, the value is the source address of the request message and the group allowed to join, the two contents Separated by commas.
(5) .拒绝用户加入的组播组(user refused group, urg) , 数据类型为 string, 默认值为空, 其值为请求消息的源地址以及被拒绝加入的组, 两项内 容之间用逗号隔开。  (5). User refused group (urg), the data type is string, the default value is null, the value is the source address of the request message and the group that is refused to join, between the two contents Separated by commas.
(6) .组播组优先级(group class, gc) , 数据类型为 octstring, 默认值为 空, 其值为组地址以及对应的优先级。  (6). The multicast group priority (group class, gc), the data type is octstring, the default value is null, and its value is the group address and the corresponding priority.
MGC向 MG下发该信号时, 用于指示某个接口上允许和拒绝的组播组, 该接 口对于某个用户的权限设置以及该接口上各个组播组的优先级别。  When the MGC sends the signal to the MG, it indicates the multicast group allowed and denied on an interface, the permission setting of the interface for a certain user, and the priority level of each multicast group on the interface.
三、 定义信号 gasamap, 用于 MGC向 MG更新组播组地址和组播数据流源地 址映射关系。  Third, the definition signal gasamap, used by the MGC to update the multicast group address and the multicast data stream source address mapping relationship to the MG.
该信号定义如下参数:  This signal defines the following parameters:
(1).接口名 (interface name, in) , 数据类型为 octstring, ,默认值为空, 其值为下游流接口的接口名。 (1). Interface name (interface name, in), data type is octstring, and the default value is empty. Its value is the interface name of the downstream stream interface.
(2) .下游流地址与上游流地址的映射 (downstream address to upstream address, datoua) , 数据类型为 string list, ,默认值为空, 其值为下游流接口 上的组播组地址和其映射的上游流接口上的组播组地址,两项内容之间用逗号 隔开, 列表中每一行代表一个映射关系。  (2) The downstream address to upstream address (datoua), the data type is string list, and the default value is null. The value is the multicast group address and its mapping on the downstream flow interface. The multicast group address on the upstream stream interface. The two contents are separated by commas. Each line in the list represents a mapping relationship.
(3) .下游流组播源与上游流组播源的映射(downstream source to upstream source, datoua) , 数据类型为 string list, 默认值为空, 其值为下游流接口 上的组播数据流源地址和其映射的上游流接口上的组播数据流源地址,两项内 容之间用逗号隔开, 列表中每一行代表一个映射关系。  (3) The downstream source to upstream source (dtou), the data type is string list, the default value is null, and the value is the multicast data stream on the downstream flow interface. The source address and the multicast stream source address on the upstream stream interface to which it is mapped. The two contents are separated by commas. Each line in the list represents a mapping relationship.
MGC向 MG下发该信号时,用于指示某个下游流接口所在的 IP网络的组播组 地址和 / 或组播数据流源地址和上游流接口所在 IP网络中的组播组地址和 / 或 组播数据流源地址之间的对应关系。  When the MGC sends the signal to the MG, it indicates the multicast group address and/or the multicast data source address of the IP network where the downstream flow interface is located and the multicast group address in the IP network where the upstream flow interface resides. Or the correspondence between the source addresses of multicast data streams.
通过上面各个信号和属性, MGC指示 MG设置或者更新 IGMP/MLD消息的处理 规则。 这些信号和属性可以设置到 MG的 ROOT终端上, 也可以设置到非 ROOT终 端上。 如果是创建在非 ROOT终端上, 在创建该终端时可以通过前面描述的参数 in等指定接口, 指定接口后, 该终端用于处理(包括了发送和接收等)该终端被 创建时指定的接口所连接的 IP网络中的 IGMP/MLD消息。  Through the above various signals and attributes, the MGC instructs the MG to set or update the processing rules of the IGMP/MLD message. These signals and attributes can be set to the MG's ROOT terminal or to a non-ROOT terminal. If it is created on a non-ROOT terminal, the interface can be specified through the parameter in and described above. After the interface is specified, the terminal is used to process (including sending and receiving, etc.) the interface specified when the terminal is created. IGMP/MLD messages in the connected IP network.
另外, 下游流接口上的查询机制有必要说明一下。 下游流接口上如果收到 了退出组播组的消息, 需要发送查询消息判断该下游网络上是否还有其它的该 组播组的用户。 下游流接口上有周期查询的机制, 避免因为组播组成员管理协 议消息在 IP网络中丟失, 或者下游网络中主机在发出退出组播组消息前就离开 网络, 造成下游流接口上的组播组用户订阅状况和实际网络中的情况不符合。 另外, 如果上游流接口上收到查询消息, 在查找成员数据库的机制外, 可增加 向下游流接口发送查询消息, 以及时更新成员数据库和下游流接口上的组播组 订阅状况。  In addition, the query mechanism on the downstream stream interface needs to be explained. If the message exiting the multicast group is received on the downstream flow interface, you need to send a query message to determine whether there are other users of the multicast group on the downstream network. The downstream flow interface has a periodic query mechanism to prevent the multicast group member management protocol messages from being lost in the IP network, or the host in the downstream network leaves the network before sending out the multicast group message, causing multicast on the downstream flow interface. The group user subscription status does not match the situation in the actual network. In addition, if the upstream flow interface receives the query message, in addition to the mechanism for finding the member database, the query message can be sent to the downstream flow interface, and the multicast group subscription status on the member database and the downstream flow interface can be updated.
成员数据库以及各下游接口上的组播组成员状态的维护除了依据下游流接 收上接收到的报告消息和离开消息, 还要依据各组播定时器的状态。 前面已经 接收过, 这里不再赘述。 The member database and the maintenance of the multicast group member status on each downstream interface are based on the downstream flow connection. The received report message and the leave message are also received according to the status of each multicast timer. I have already received it before, so I won't go into details here.
在 IGMP v2中, 有 ^艮告消息用于加入组播组, 还有离开消息用于离开组播 组。 在 IGMP v3中, 报告消息和离开消息的功能都通过报告消息来实现了。 例 如, 在报告消息中, 源地址过滤条件为 MODE_ IS_ INCLUDE,但是源地址列表为空, 实际上是表示离开组播组, 这样, IGMP v3的一个报告消息可以实现 IGMP v2的 多个 4艮告消息和离开消息的功能。  In IGMP v2, there are ^ message to join the multicast group, and leave message to leave the multicast group. In IGMP v3, the ability to report messages and leave messages is accomplished through report messages. For example, in the report message, the source address filtering condition is MODE_IS_INCLUDE, but the source address list is empty, which actually means leaving the multicast group. Thus, a report message of IGMP v3 can implement multiple reports of IGMP v2. The ability to leave messages and leave messages.
代理系统的第二实施例釆用上述方式二的方案, 即通过 MG和 MGC的交互, 在 MGC的控制下处理 IGMP/MLD消息。  The second embodiment of the proxy system uses the scheme of the foregoing mode 2, that is, the IGMP/MLD message is processed under the control of the MGC through the interaction between the MG and the MGC.
在第二实施例中, 上游流接口和下游流接口的配置或者指定还是可以使用 第一实施例的方法。  In the second embodiment, the configuration or designation of the upstream stream interface and the downstream stream interface can still use the method of the first embodiment.
在下游流接口上, MGC向 MG设置 H. 248事件检测 IGMP/MLD的报告消息和 / 或离开组播组的消息。 MGC通过信号向 MG指示发送 IGMP/MLD的查询消息。 下面 以 IGMP协议为例, MLD协议的实现类似。  On the downstream flow interface, the MGC sets the H.248 event detection IGMP/MLD report message to the MG and/or the message leaving the multicast group. The MGC signals the MG to send an IGMP/MLD query message. The following takes the IGMP protocol as an example. The implementation of the MLD protocol is similar.
所述 H. 248事件包括:  The H.248 event includes:
一. 处理 I GMP协议消息的事件 i gmpr 1。  I. Event handling I GMP protocol message i gmpr 1.
事件 igmpr l用于检测 IGMP的成员报告(Membership Report)消息和离开组 (Leave Group)消息.  The event igmpr l is used to detect IGMP Member Report messages and Leave Group messages.
该事件有如下参数:  The event has the following parameters:
(1) 接口名(interface name) , 数据类型为 octs tr ing l i s t , ,默认值为空, 其值为要检测该事件的下游流接口的接口名列表。  (1) The interface name (interface name), the data type is octs tr ing l i s t , and the default value is null, which is the list of interface names of the downstream stream interfaces to detect the event.
如果该事件设置在根终端上, 则可以通过该参数指示在哪个或者哪些下游 流接口上检测 IGMP的报告消息和离开组消息。 如果该属性值为空, 则表示在所 有下游流接口上进行检测。  If the event is set on the root terminal, the parameter can be used to indicate on which or which downstream flow interface the IGMP report message and the leave group message are detected. If the attribute value is empty, it means that detection is performed on all downstream flow interfaces.
如果该事件设置在临时终端上而且该终端被指定接口, 则不需要设置该参 数。 该事件上报时携带如下参数: If the event is set on a temporary terminal and the terminal is assigned an interface, then this parameter does not need to be set. The event is reported with the following parameters:
(1) 参数 (interface name, in) , 数据类型为 octstring list, 其值为检 测到事件的下游流接口的接口名。  (1) The parameter (interface name, in) and the data type are octstring list, which is the interface name of the downstream stream interface that detected the event.
如果该事件发生在临时终端上而且该终端被指定接口, 则不需要上报该参 数。  If the event occurs on a temporary terminal and the terminal is assigned an interface, then the parameter does not need to be reported.
(2)协议版本(ver), 数据类型为 integer, 默认值为 3, 其值为协议版本, 1, 2, 3分别代表 IGMP的版本 1, 2和 3。  (2) Protocol version (ver), the data type is integer, the default value is 3, and its value is the protocol version. 1, 2, 3 represent versions 1, 2, and 3 of IGMP, respectively.
(3)消息类型 (type), 数据类型为 integer, 默认值为 1, 其值代表消息类 型。 1代表 IGMP的报告消息, 2代表 IGMP的离开组消息。  (3) The message type (type), the data type is integer, the default value is 1, and its value represents the message type. 1 represents the IGMP report message, and 2 represents the IGMP leave group message.
(4) .报告内容(rl ), 数据类型为 string list, 默认值为空, 值代表报告 消息的内容。列表中每一行代表对于一个组的报告内容。对于 IGMP VI和 IGMPV2 来说, 每行的内容是一个组播组的组地址。 对于 IGMP V3来说, 要复杂一些。 列表中每一行的格式如下:  (4) Report content (rl), the data type is string list, the default value is null, and the value represents the content of the report message. Each row in the list represents the content of the report for a group. For IGMP VI and IGMPV2, the content of each line is the group address of a multicast group. For IGMP V3, it is more complicated. The format of each line in the list is as follows:
组播组地址, 类型, 源地址 1, 源地址 2, ......  Multicast group address, type, source address 1, source address 2, ...
类型包括如下几种:  Types include the following:
MODE. IS. INCLUDE 1  MODE. IS. INCLUDE 1
MODE-IS-EXCLUDE 2  MODE-IS-EXCLUDE 2
CHANGE-TO. INCLUDE-MODE 3  CHANGE-TO. INCLUDE-MODE 3
CHANGE-TO-EXCLUDE-MODE 4  CHANGE-TO-EXCLUDE-MODE 4
ALLOW-NEW-SOURCES 5  ALLOW-NEW-SOURCES 5
BLOCK-OLD-SOURCES 6  BLOCK-OLD-SOURCES 6
如果参数 rl字符串列表中的一行是 "224.100.200.3, 1, 192.168.1.2, 192.168.1.3"  If the line in the parameter rl string list is "224.100.200.3, 1, 192.168.1.2, 192.168.1.3"
则表示加入组播组 224.100.200.3,源地址过滤类型为 M0DE_IS_INCLUDE, 源地址列表为 192.168.1.2和 192.168.1.3,即要求加入组播组 224.100.200.3, 但是限定组播数据流源地址必须是 192.168.1.2或 192.168.1.3。 (5)离开组消息 ( leave group, lg), 数据类型为 string list, 默认值为 空, 其值代表离开的组播组的列表, 列表中的每一项为一个组播组地址。 It means that the multicast group is added to the multicast group 224.100.200.3, the source address filtering type is M0DE_IS_INCLUDE, and the source address list is 192.168.1.2 and 192.168.1.3, that is, the multicast group 224.100.200.3 is required to be added, but the source address of the qualified multicast data stream must be 192.168. .1.2 or 192.168.1.3. (5) Leave group message ( lg), the data type is string list, the default value is null, and its value represents the list of outgoing multicast groups. Each item in the list is a multicast group address.
在下游流接口上, MG还要发送 IGMP/MLD查询消息。 该查询消息可以是由 MG周期自动发送, 或者 MG指示 MG周期发送, 或者被上游流接口或者下游流接 口的其它事件触发后发送。 如果是由 MGC指示 MG发送 IGMP/MLD查询消息, 则 需要扩展 H.248协议。 还是以 IGMP为例:  On the downstream flow interface, the MG also sends an IGMP/MLD query message. The Query message may be automatically sent by the MG period, or the MG may indicate that the MG periodically sends or is triggered by the upstream stream interface or other events of the downstream stream interface. If the MGC instructs the MG to send an IGMP/MLD query message, the H.248 protocol needs to be extended. Still take IGMP as an example:
二、 用于 MGC指示 MG发送 IGMP查询消息的事件 igmpre。  2. The event igmpre used by the MGC to instruct the MG to send an IGMP query message.
该事件包括如下参数:  This event includes the following parameters:
(1) .接口名 (interface name, in), 数据类型为 octstring, ,默认值为空, 其值为下游流接口的接口名。 如果该事件设置在根终端上, 则可以通过该参数 指示在哪个下游流接口上发送 IGMP的查询消息。 如果该信号发送在非 ROOT终 端上而且该终端被指定接口, 则不需要设置该参数。  (1) The interface name (interface name, in), the data type is octstring, and the default value is null, which is the interface name of the downstream stream interface. If the event is set on the root terminal, the parameter can be used to indicate on which downstream flow interface the IGMP query message is sent. If the signal is sent on a non-ROOT terminal and the terminal is assigned an interface, then this parameter does not need to be set.
(2) .版本(ver ),数据类型为 integer,默认值为 3,其值为协议版本, 1, 2, 3 分别代表 IGMP的版本 1, 2和 3。  (2) .Version (ver), the data type is integer, the default value is 3, the value is the protocol version, 1, 2, 3 represent IGMP versions 1, 2 and 3.
(3) .等待时长(mrc), 数据类型为 integer, 默认值为空, 值代表查询消息 中的 Max Resp Code字段。 表示等待响应报告的最大时长。  (3). Waiting time (mrc), the data type is integer, the default value is null, and the value represents the Max Resp Code field in the query message. Indicates the maximum length of time to wait for a response report.
(4) .组播组地址(ga), 数据类型为 string, 默认值为空, 值代表查询消息 中的组播组地址。  (4) The multicast group address (ga), the data type is string, the default value is null, and the value represents the multicast group address in the query message.
(5) .组播源地址列表(sal), 数据类型为 string list, 默认值为空, 值代 表查询消息中的组播源地址列表。  (5). The multicast source address list (sal), the data type is string list, and the default value is null. The value represents the list of multicast source addresses in the query message.
MG接收到 MGC的 igmpre信号后, 根据信号中的参数构造并发送 IGMP的查 询消息。  After receiving the igmpre signal of the MGC, the MG constructs and sends an IGMP query message according to the parameters in the signal.
在上游流接口上, 也需要对 H.248协议进行扩展, 由 MGC指示 MG发送 IGMP/MLD的报告消息和离开组播组的消息, 以及接收到上游路由器的查询消息 时由 MG通过事件上报给 MGC。 这就需要 MGC维护组播组成员数据库, 才能够在 收到查询消息的时候生成 ^艮告消息。 上游流接口上扩展的事件包括: On the upstream flow interface, the H.248 protocol is also required to be extended. The MGC instructs the MG to send the IGMP/MLD report message and the message leaving the multicast group, and the MG reports the event to the upstream router. MGC. This requires the MGC to maintain the multicast group member database in order to generate a report message when it receives the query message. Events that are extended on the upstream stream interface include:
一、 信号 mrl, 用于 MGC指示 NGW在上游流接口上发送 IGMP的 ^艮告消息和 离开组消息。  1. The signal mrl is used by the MGC to instruct the NGW to send an IGMP message and leave group message on the upstream flow interface.
该信号包括如下参数:  The signal includes the following parameters:
(1) .参数接口名 (interface name, in) , 数据类型为 oct string, 其值为上 游流接口的接口名。  (1) The parameter interface name (interface name, in), the data type is oct string, which is the interface name of the upstream stream interface.
如果该信号发送到根终端上, 则可以通过该参数指示在哪个上游流接口上 发送 IGMP的 ^艮告消息。 如果该信号被发送到专门创建的临时终端上而且该终端 被创建在指定的接口上, 则不需要设置该参数。 如果 MG只有一个上游流接口用 于所有的组播组, 则也不需要设置该参数。  If the signal is sent to the root terminal, the parameter can be used to indicate on which upstream flow interface the IGMP message is sent. If the signal is sent to a specially created temporary terminal and the terminal is created on the specified interface, then this parameter does not need to be set. If the MG has only one upstream flow interface for all multicast groups, this parameter does not need to be set.
(2) . 版本(ver), 数据类型为 integer, 默认值为 3, 其值为协议版本, 1, 2, 3分别代表 IGMP的版本 1, 2和 3。  (2) . Version (ver), the data type is integer, the default value is 3, the value is the protocol version, 1, 2, 3 represent IGMP versions 1, 2 and 3.
(3) . 消息类型 (type), 数据类型: integer, 默认值为 1, 其值代表消息类 型。 1代表 IGMP的报告消息, 2代表 IGMP的离开组消息。  (3) . Message type (type), data type: integer, default value 1, its value represents the message type. 1 represents the IGMP report message, and 2 represents the IGMP leave group message.
(4) . 报告内容(rl ), 数据类型为 string list, 默认值为空, 值代表报告 消息的内容。列表中每一行代表对于一个组的报告内容。对于 IGMPvl和 IGMPv2 来说, 每行的内容是一个组播组的组地址。 对于 IGMP v3来说, 要复杂一些。 列表中每一行的格式如下:  (4) . Report content (rl), the data type is string list, the default value is null, and the value represents the content of the report message. Each row in the list represents the content of the report for a group. For IGMPvl and IGMPv2, the content of each line is the group address of a multicast group. For IGMP v3, it is more complicated. The format of each line in the list is as follows:
组播组地址, 类型, 源地址 1, 源地址 2, ......  Multicast group address, type, source address 1, source address 2, ...
类型包括如下几种:  Types include the following:
MODE. IS. INCLUDE 1  MODE. IS. INCLUDE 1
MODE-IS-EXCLUDE 2  MODE-IS-EXCLUDE 2
CHANGE-TO. INCLUDE-MODE 3  CHANGE-TO. INCLUDE-MODE 3
CHANGE-TO-EXCLUDE-MODE 4  CHANGE-TO-EXCLUDE-MODE 4
ALLOW-NEW-SOURCES 5  ALLOW-NEW-SOURCES 5
BLOCK-OLD-SOURCES 6 如果参数 rl字符串列表中的一行是 "224.100.200.3, 1, 192.168.1.2, 192.168.1.3", 则表示加入组播组 224.100.200.3,源地址过滤类型为 BLOCK-OLD-SOURCES 6 If a line in the parameter rl string list is "224.100.200.3, 1, 192.168.1.2, 192.168.1.3", it means that the multicast group 224.100.200.3 is added, and the source address filtering type is
MODE. IS. INCLUDE, 源地址列表为 192.168.1.2和 192.168.1.3, 即要求加入组 播组 224.100.200.3, 但是限定组播数据流源地址必须是 192.168.1.2或 MODE. IS. INCLUDE, the source address list is 192.168.1.2 and 192.168.1.3, which is required to join the multicast group 224.100.200.3, but the source address of the qualified multicast stream must be 192.168.1.2 or
192.168.1.3。 192.168.1.3.
(5). 离开组消息(lg), 数据类型为 string list, 默认值为空, 其值代表 离开的组播组的列表, 列表中的每一项为一个组播组地址。  (5). Leave group message (lg), the data type is string list, the default value is null, and its value represents the list of outgoing multicast groups. Each item in the list is a multicast group address.
才艮告消息和离开组消息也可以通过两个不同的信号指示下发, 前面的方法 是使用同一个信号来下发, 用参数来区分消息类型。  The report message and the leave group message can also be sent by two different signals. The previous method uses the same signal to deliver, and uses parameters to distinguish the message type.
二、 扩展 H.248事件 rq, MG通过该事件上报在上游流接口接收到的 IGMP 查询消息。  2. The H.248 event rq is extended by the MG to report the IGMP query message received on the upstream flow interface.
该事件有如下参数:  The event has the following parameters:
(1). 接口名 (interface name, in) , 数据类型为 octstring, 其值为上游 流接口的接口名。  (1). The interface name (interface name, in), the data type is octstring, and its value is the interface name of the upstream stream interface.
如果事件被设置到根终端上, 则可以通过该参数指示在哪个上游流接口上 检测 IGMP的查询消息。如果该信号被发送到临时终端上而且该终端被指定接口, 则不需要设置该参数。 如果 MG只有一个上游流接口用于所有的组播组, 则也不 需要设置该参数。  If the event is set to the root terminal, the parameter can be used to indicate on which upstream flow interface the IGMP query message is detected. If the signal is sent to the temporary terminal and the terminal is assigned an interface, then this parameter does not need to be set. If the MG has only one upstream flow interface for all multicast groups, this parameter is not required to be set.
该事件上报时携带如下参数:  The event is reported with the following parameters:
(1) .接口名 (interface name, in) , 数据类型为 octstring list, 其值为 检测到事件的上游流接口的接口名。 如果该事件设置在非 ROOT终端上而且该终 端被指定接口, 或者 MG上只有一个上游流接口, 则不需要上报该参数。  (1) The interface name (interface name, in), the data type is octstring list, which is the interface name of the upstream stream interface that detected the event. If the event is set on a non-ROOT terminal and the terminal is assigned an interface, or there is only one upstream flow interface on the MG, this parameter does not need to be reported.
(2) .版本(ver), 数据类型: integer, 默认值为 3, 其值为协议版本, 1,2, 3 分别代表 IGMP的版本 1, 2和 3。  (2) .Version (ver), data type: integer, default value is 3, its value is the protocol version, 1, 2, 3 represent IGMP version 1, 2 and 3 respectively.
(3) .等待时长(mrc), 数据类型为 integer, 默认值为空, 值代表查询消息 中的 Max Resp Code字段。 表示等待响应报告的最大时长。 (4) .组播组地址(ga ), 数据类型为 s t r ing , 默认值为空, 值代表查询消息 中的组播组地址。 (3). Waiting time (mrc), data type is integer, default value is null, the value represents the Max Resp Code field in the query message. Indicates the maximum length of time to wait for a response report. (4) The multicast group address (ga), the data type is str ing , the default value is null, and the value represents the multicast group address in the query message.
(5) .组播源地址( sa l ), 数据类型为 s t r ing l i s t , 默认值为空, 值代表查 询消息中的组播源地址列表。  (5) The multicast source address ( sa l ), the data type is s t r ing l i s t , the default value is null, and the value represents the multicast source address list in the query message.
另外 , 还需要扩展一些参数用来携带查询消息中的其它字段。  In addition, some parameters need to be extended to carry other fields in the query message.
MGC通过该事件获知 MG接收到的 IGMP查询消息, 并进行后续操作, 例如发 送报告消息等。  The MGC learns the IGMP query message received by the MG through the event, and performs subsequent operations, such as sending a report message.
通过上述扩展的 H. 248包, MGC可以控制 MG实现组播组成员管理协议代理 的功能。 在此基础上, 可以进一步实现对组播组成员的准入控制和以及组播资 源预留功能; 以及在上游流接口所在 IP网络和下游流接口所在 IP网络之间的 组播组地址映射功能和组播数据流源地址映射功能。  Through the above extended H.248 packet, the MGC can control the MG to implement the function of the multicast group member management protocol proxy. On this basis, the access control function and the multicast resource reservation function of the multicast group member can be further implemented; and the multicast group address mapping function between the IP network where the upstream flow interface is located and the IP network where the downstream flow interface is located And multicast data stream source address mapping.
以方式二进行处理的 MGC和 MG组成的代理系统为例, 实现下游网络中的代 理功能的处理流程如图 4所示, 包括如下步骤:  The proxy system consisting of the MGC and the MG processed in the second mode is taken as an example. The processing flow for implementing the proxy function in the downstream network is as shown in FIG. 4, and includes the following steps:
步骤 401 : MG在下游流接口上收到 IGMP/MLD的报告消息或者离开组播组的 消息, 并将所收到的消息上 J MGC。  Step 401: The MG receives the IGMP/MLD report message or the message leaving the multicast group on the downstream flow interface, and sends the received message to the J MGC.
步骤 402 : MGC通过本地配置的策略, 用户签约信息, 资源状态以及 MGC上 维护的组播组成员数据库中记录的记录, 来判断是否需要更新该成员数据库, 若是则继续执行步骤 403; 否则, MGC向 MG下发拒绝指示, 并结束本流程。  Step 402: The MGC determines whether the member database needs to be updated by using a locally configured policy, user subscription information, resource status, and records recorded in the multicast group member database maintained on the MGC. If yes, proceed to step 403; otherwise, the MGC A rejection instruction is sent to the MG, and the process ends.
判断是否需要更新组播组成员数据库, 可能有多种情况, 以下举具体示例 进行说明。 对于请求加入组播组的报告消息来说, 如果该报告消息所要求加入 的组播组已经在组播组成员数据库有记录, 则不需要对数据库进行更新, 否则 需要更新, 即将该组播组的记录加入到数据库中; 对于请求离开组播组的消息 来说, 需要在收到该离开组播组消息的下游接口上发送特定组查询消息来判断 该消息所要离开的组播组在该 MG的下游流接口是否还有其它用户在订阅, 如果 有, 则不需要对数据库进行更新, 否则需要更新, 即将该组播组的记录从数据 库中删除。 MGC上的本地策略可以包括在 MGC上配置下游流接口配置允许组播组地址和 /或组播数据流源地址列表, 和 /或在下游流接口配置禁止组播组地址和 /或组播 数据流源地址列表。 则该步骤所述判断中, 可能包括如下子判断步骤: To determine whether you need to update the multicast group member database, there may be multiple cases. The following is a specific example. For the report message requesting to join the multicast group, if the multicast group that the report message is required to join has already been recorded in the multicast group member database, the database does not need to be updated. Otherwise, the multicast group needs to be updated. The record is added to the database; for the message requesting to leave the multicast group, the specific group query message needs to be sent on the downstream interface that receives the message leaving the multicast group to determine the multicast group to leave the MG in the message. Whether the downstream stream interface has other users in the subscription, if there is, there is no need to update the database, otherwise it needs to be updated, that is, the record of the multicast group is deleted from the database. The local policy on the MGC may include configuring a downstream flow interface configuration on the MGC to allow a multicast group address and/or a multicast data source source address list, and/or configuring a multicast group address and/or multicast data on the downstream flow interface. A list of stream source addresses. The judgment in the step may include the following sub-determination steps:
步骤 402A、 MGC判断所述 ^艮告消息或离开组播组的消息中携带的组播组地 址和 /或组播数据流源地址, 是否在所述允许组播组地址和 /或组播数据流源地 址列表中, 或者是否不在所述禁止组播组地址和 /或组播数据流源地址列表中, 若是, 则继续执行其它子判断; 否则, MGC向 MG下发拒绝指示。  Step 402A: The MGC determines whether the multicast group address and/or the multicast data stream source address carried in the message or the message leaving the multicast group are in the allowed multicast group address and/or multicast data. In the flow source address list, or not in the multicast group address and/or the multicast data source address list, if yes, continue to perform other sub-judgment; otherwise, the MGC sends a rejection indication to the MG.
MGC上的本地策略还可以包括在 MGC上配置在下游流接口允许接入的总带 宽, 以及各个组播组和 /或组播数据流源地址的优先级; 则所述判断可以包括如 下子判断:  The local policy on the MGC may further include configuring, on the MGC, the total bandwidth allowed on the downstream flow interface, and the priority of each multicast group and/or the multicast data source address; the determining may include the following :
步骤 402B、 判断所述^艮告消息对应的组播的带宽与该下游流接口已有的组 播带宽之和, 是否大于所述允许接入的总带宽, 若否, 继续执行其它子判断; 根据所述报告消息携带的组播组和 /或组播数据流源地址的优先级判断是否允 许所述报告消息对应的组播, 若是, 则继续执行其它子判断; 否则, 向 MG下发 拒绝指示。  Step 402B: Determine whether the sum of the multicast bandwidth corresponding to the advertisement message and the existing multicast bandwidth of the downstream flow interface is greater than the total bandwidth of the allowed access, and if not, continue to perform other sub-determinations; Determining whether the multicast corresponding to the report message is allowed according to the priority of the multicast group and/or the source address of the multicast data stream carried by the report message, and if yes, performing other sub-judgment; otherwise, sending a rejection to the MG Instructions.
步骤 403: 更新 MGC上的组播组成员数据库。  Step 403: Update the multicast group member database on the MGC.
步骤 404: MGC向 MG下发在上游流接口上向上游网络发送报告消息或者离 开组播组消息的指示。  Step 404: The MGC sends an indication to the MG to send a report message to the upstream network or leave the multicast group message on the upstream flow interface.
上述流程中, 在转发消息到上游流接口时, 由于向上游流接口发送的报告 消息或离开组播组消息的内容可以由 MGC在信号参数中指示, 所以 MGC可以指 示 MG完成上游网络和下游网络之间的组播组地址映射功能和组播数据流源地址 映射功能, 即将消息中的按照下游网络规划的组播组地址和 /或组播数据源地址 映射为按照上游网络规划的组播组地址和 /或组播数据源地址。  In the above process, when forwarding a message to the upstream flow interface, the MGC may instruct the MG to complete the upstream network and the downstream network, because the content of the report message or the outgoing multicast group message sent to the upstream flow interface may be indicated by the MGC in the signal parameter. The multicast group address mapping function and the multicast data source address mapping function are mapped to the multicast group address and/or multicast data source address planned by the downstream network in the message. Address and / or multicast data source address.
该代理系统实现上游网络中的代理功能的处理流程如图 5所示, 包括如下 步骤:  The processing flow of the proxy system implementing the proxy function in the upstream network is as shown in FIG. 5, and includes the following steps:
步骤 501 : MG收到上游流接口上的查询消息后, 将查询消息上 ^J^ MGC; 步骤 502 : MGC根据所述查询消息对所述组播组成员数据库的内容进行查找, 如果上游网络和下游网络之间的组播组地址和 /或组播源地址有映射关系, 查找 时也要予以考虑, 例如, 可以将需要匹配的双方地址统一到同一网络中; 若搜 索到匹配的内容, 则执行步骤 503; Step 501: After receiving the query message on the upstream flow interface, the MG will query the message on the ^^^ MGC; Step 502: The MGC searches for the content of the multicast group member database according to the query message. If the multicast group address and/or the multicast source address between the upstream network and the downstream network are mapped, the search may also be performed. For example, the two addresses that need to be matched can be unified into the same network; if the matching content is found, step 503 is performed;
步骤 503: MGC指示所述 MG在上游流接口向上游网络发送报告消息; 根据方式一进行的处理流程可参照上述图 4和图 5的流程, 不同之处在于 省略了 MG和 MGC的交互, MGC上的处理过程都转移到 MG上来完成。  Step 503: The MGC instructs the MG to send a report message to the upstream network on the upstream flow interface. The process flow according to the mode 1 may refer to the foregoing process in FIG. 4 and FIG. 5, except that the interaction between the MG and the MGC is omitted, and the MGC is omitted. The processing on the whole is transferred to the MG to complete.
依据下游流接口上接收到的报告消息和离开组播组消息, MG可以维护下游 流接口上的组播组成员状态, 但是 MGC可能因为用户权限等原因拒绝下游网络 用户的加入组播组请求, 如果在 MG上维护了各下游流接口上的组播组用户订阅 状况, 而用户上报的加入组播组请求被拒绝时, 需要 MGC向 MG指示, 避免 MG 错误地更新下游接口上的组播组订阅状况。 指示的方式可以釆取如下两种方式: The MG can maintain the status of the multicast group member on the downstream flow interface. The MGC may refuse to join the multicast group request of the downstream network user due to user rights and other reasons. If the multicast group user subscription status on each downstream flow interface is maintained on the MG, and the user joins the multicast group request is rejected, the MGC needs to indicate to the MG to prevent the MG from incorrectly updating the multicast group on the downstream interface. Subscription status. The way to indicate can be as follows:
1.在 MG上报事件, 向 MGC上报用户加入组播组时, MGC在应答消息中返回 错误码, 表明不允许加入; 1. When the MG reports an event and reports to the MGC that the user joins the multicast group, the MGC returns an error code in the response message, indicating that the user is not allowed to join.
2. MGC通过另外的消息中携带的信号等指示拒绝之前上报的要求加入组播 组的请求。  2. The MGC rejects the previously reported request to join the multicast group by means of a signal or the like carried in another message.
还有一种方式用来保证 MG维护正确的各下游流接口上的组播组用户订阅状 况。 MGC上根据接收到的 MG上报的加入组播组消息和离开组播组消息也可以获 得各下游流接口上的组播组订阅状况, 在经过 MGC的策略控制后, 可能要拒绝 一些组播订阅请求, 这些被拒绝的组播订阅请求不用来更新下游流接口上的组 播组订阅状况, 也不用来更新成员数据库。 MGC还可以通过业务层或者应用层的 信令流中获得的信息获得下游网络中主机的组播组订阅状况。 下游流接口上的 组播组订阅状况发生改变时, MGC可以向 MG通过扩展的 H. 248消息进行更新, 更新的信息包括该接口上加入的组播组, 源地址过滤条件以及源地址列表。 扩 展的方法比较简单, 这里就不详细描述了。  There is also a way to ensure that the MG maintains the correct multicast group user subscription status on each downstream flow interface. The MGC can also obtain the multicast group subscription status on each downstream flow interface according to the received multicast group message and the leaving multicast group message reported by the received MG. After the MGC policy is controlled, some multicast subscriptions may be rejected. The request, these rejected multicast subscription requests are not used to update the multicast group subscription status on the downstream stream interface, nor to update the member database. The MGC can also obtain the multicast group subscription status of the host in the downstream network through the information obtained in the signaling flow of the service layer or the application layer. When the status of the multicast group on the downstream interface is changed, the MGC can update the MG through the extended H.248 message. The updated information includes the multicast group, the source address filtering condition, and the source address list. The method of expansion is relatively simple and will not be described in detail here.
MG维护了各下游流接口上的组播组用户订阅状况, MG可以进一步根据这 些信息推导出组播组成员数据库的记录, 那么, 在收到上游流接口上的查询消 息时, 可以进行自动应答, 而不需要向 MGC上报后, 等 MGC指示进行应答。 在 MG上的组播组成员数据库发生变化的情况下向上游流接口主动发送报告消息或 者离开组播组消息。 The MG maintains the multicast group user subscription status on each downstream flow interface. The MG can further The information is derived from the record of the multicast group member database. Then, when the query message on the upstream flow interface is received, the automatic response can be performed without being reported to the MGC, and the MGC instructs to respond. If the multicast group member database on the MG changes, the upstream flow interface sends a report message or leaves the multicast group message.
如果 MGC维护上游网络和下游网络之间的组播组地址映射关系和 /或组播数 据流源地址映射关系, 则 MGC可以扩展 H. 248协议将相关的上游网络和下游网 络之间的组播组地址映射关系和 /或组播数据流源地址映射关系也下发给 MG , MG 也需要结合该映射信息才能根据各下游接口上的组播组订阅状况进行组播数据 流的转发。 在转发组播数据流的时候, 如果组播组地址和 /或组播数据流源地址 有映射关系, MG需要按照映射关系修改数据流上的被映射的地址。  If the MGC maintains the multicast group address mapping relationship and/or the multicast data source source address mapping relationship between the upstream network and the downstream network, the MGC may extend the H.248 protocol to multicast between the related upstream network and the downstream network. The group address mapping relationship and/or the multicast data source source address mapping relationship are also sent to the MG. The MG also needs to combine the mapping information to forward the multicast data stream according to the multicast group subscription status on each downstream interface. When forwarding a multicast data stream, if the multicast group address and/or the multicast data source source address are mapped, the MG needs to modify the mapped address on the data stream according to the mapping relationship.
该映射关系如果比较固定, 也可以配置到 MG上, MGC可以通过 H. 248消息 对该配置进行更新。  If the mapping relationship is fixed, it can also be configured on the MG. The MGC can update the configuration through H.248 messages.
MG向 MGC上报接收到的组播组成员管理协议消息, 这样可能会产生大量的 消息交互, 实际上, 可以进行优化, 对于冗余的消息, MG可以不用上报, 例如 不会影响到下游流接口上的组播组成员信息的消息, 就可以考虑不必上报, 因 为对这种消息, MGC的进行准入控制的结果并不会影响到 MG对组播数据流的转 发。  The MG reports the received multicast group member management protocol message to the MGC, which may generate a large number of message interactions. In fact, the MG may perform optimization. For redundant messages, the MG may not report, for example, does not affect the downstream flow interface. The message of the member information of the multicast group can be considered not to be reported, because the result of the admission control of the MGC does not affect the forwarding of the multicast data stream by the MG.
另外, MG在下游流接口上发送查询消息的机制可能有几种情况。 下游流接 口上如果收到了退出组播组的消息, 需要发送查询消息判断该下游网络上是否 还有其它的该组播组的用户。 下游流接口上还可以有周期查询的机制, 避免因 为组播组成员管理协议消息在 IP网络中丟失, 或者下游网络中主机在发出退出 组播组消息前就离开网络, 造成下游流接口上的组播组用户订阅状况和实际网 络中的情况不符合。 另外, 如果上游流接口上收到查询消息, 在查找成员数据 库的机制外, 可增加向下游流进行查询的机制, 以及时更新成员数据库和下游 流接口上的组播组订阅状况。  In addition, there may be several situations in which the MG sends a query message on the downstream stream interface. If the message exiting the multicast group is received on the downstream interface, you need to send a query message to determine whether there are other users of the multicast group on the downstream network. The downstream flow interface can also have a periodic query mechanism to avoid the loss of the multicast group member management protocol message in the IP network, or the host in the downstream network leaves the network before sending out the multicast group message, causing the downstream flow interface. The multicast group user subscription status does not match the situation in the actual network. In addition, if the upstream flow interface receives the query message, in addition to the mechanism for finding the member database, the mechanism for querying the downstream flow can be increased, and the multicast group subscription status on the member database and the downstream flow interface can be updated in time.
前面描述的 MG上配置和 MGC控制的两种方法不互斥, 而是可以结合在一起 使用。 例如, 部分功能可以配置在 MG上自动完成, 一些配置还可以通过 MGC指 示更新, 而部分功能可以通过方案二由 MGC控制 MG上 >¾以及发送 IGMP/MLD消 息。 The two methods of MG configuration and MGC control described above are not mutually exclusive, but can be combined. Use. For example, some functions can be configured to be automatically completed on the MG, some configurations can also be updated by the MGC, and some functions can be controlled by the MGC to control >3⁄4 and send IGMP/MLD messages.
本发明中定义的事件如果不是永久事件, 则需要由 MGC向 MG设置, 如果是 永久事件, 则 MG可以自动检测并且上报该事件。  If the event defined in the present invention is not a permanent event, it needs to be set by the MGC to the MG. If it is a permanent event, the MG can automatically detect and report the event.
前面描述的方法解决了上游流接口和下游流接口上 IGMP/MLD协议的相关处 理问题。 MG还需要对相关的组播数据流进行处理和转发。  The method described above solves the related processing problems of the IGMP/MLD protocol on the upstream stream interface and the downstream stream interface. The MG also needs to process and forward related multicast data streams.
如果 MGC将前面定义的信号和事件下发到 MG的根终端上, 则 MG在上游流 接口上接收到组播数据流后根据下游流接口的组播组成员状态, 也就是下游接 口上的组播订阅 (subs cr i pt ion )状况, 将组播数据流转发到需要转发的下游 流接口上。 另外, MG是否作为下游网络的查询器也是一个参考条件, 如果不是 查询器, 则不需要转发组播数据流。 如果需要对上游流接口所在 IP网络和下游 流接口所在 IP网络之间的组播组地址和 /或组播数据流源地址作映射, 则相应 的在转发数据流的时候要修改数据流的目的地址(组播组地址)和 /或组播数据 流源地址, 以符合映射关系。  If the MGC sends the previously defined signals and events to the root terminal of the MG, the MG receives the multicast data stream on the upstream flow interface, and then according to the multicast group member status of the downstream flow interface, that is, the group on the downstream interface. The status of the subs cr pt ion forwards the multicast data stream to the downstream stream interface that needs to be forwarded. In addition, whether the MG is used as a querier of the downstream network is also a reference condition. If it is not a querier, it does not need to forward the multicast data stream. If you need to map the multicast group address and/or the multicast data source address between the IP network where the upstream flow interface resides and the IP network where the downstream flow interface resides, you need to modify the data flow when forwarding the data flow. Address (multicast group address) and/or multicast stream source address to match the mapping relationship.
如图 6所示, 如果 MGC将前述定义的信号和事件下发到 MG上被指定接口的 临时终端上, 这里将被指定上游流接口的终端称为上游流接口终端, 将被指定 下游流接口的终端称为下游流接口终端。 可以将这些终端放在同一个上下文中 , 拓朴关系为从上游流接口终端到下游流接口终端单向。  As shown in Figure 6, if the MGC sends the previously defined signals and events to the temporary terminal of the designated interface on the MG, the terminal that is designated by the upstream flow interface is called the upstream flow interface terminal, and the downstream flow interface is designated. The terminal is called a downstream stream interface terminal. These terminals can be placed in the same context, and the topology relationship is one-way from the upstream stream interface terminal to the downstream stream interface terminal.
根据上述方案一, MG的内部结构框图如图 7所示, 包括:  According to the above scheme 1, the internal structure block diagram of the MG is as shown in FIG. 7, and includes:
接口配置模块 701 , 用于将 MG连接分组子网的接口配置为上游流接口或下 游流接口。 接口配置模块 701可以将连接分组子网的接口配置为与特定组播组 地址和 /或组播源地址绑定的上游流接口。  The interface configuration module 701 is configured to configure an interface that connects the MG to the packet subnet as an upstream flow interface or a downstream flow interface. The interface configuration module 701 can configure an interface connected to a packet subnet as an upstream stream interface bound to a specific multicast group address and/or a multicast source address.
组播组数据库模块 702 , 用于存储所述 MG的所有下游流接口总的组播订阅 状况;  The multicast group database module 702 is configured to store a total multicast subscription status of all the downstream flow interfaces of the MG.
代理转发模块 703 , 用于根据在上游流接口接收的查询消息,对所述组播组 数据库模块 702中的内容进行搜索, 若搜索到匹配的内容, 则在上游流接口向 上游网络发送报告消息; 或者, 根据下游流接口接收的报告消息或离开组播组 的消息更新所述组播组数据库模块 702中的内容, 并判断所述组播组成员数据 库是否发生变化, 若是, 则在上游流接口上向上游网络发送报告消息或者离开 组播组消息。 The proxy forwarding module 703 is configured to: according to the query message received on the upstream flow interface, the multicast group The content in the database module 702 is searched, and if the matched content is searched, the upstream flow interface sends a report message to the upstream network; or, the multicast message is updated according to the report message received by the downstream flow interface or the message leaving the multicast group. The content of the group database module 702 is determined, and whether the multicast group member database is changed. If yes, the report message is sent to the upstream network or the multicast group message is sent on the upstream flow interface.
代理转发模块 703中还可以包括:  The proxy forwarding module 703 can also include:
订阅状况记录单元, 用于记录 MG的每个下游流接口的组播订阅情况; 组播数据流转发单元, 用于将所述 MG上游流接口接收的组播数据流, 根据 所述订阅状况记录单元中的内容找到相应的下游流接口, 并将所述组播数据流 转发到所述下游流接口。  a subscription status recording unit, configured to record a multicast subscription status of each downstream flow interface of the MG; a multicast data flow forwarding unit, configured to record the multicast data stream received by the upstream flow interface of the MG according to the subscription status The content in the unit finds the corresponding downstream flow interface and forwards the multicast data stream to the downstream flow interface.
接入控制模块 704 , 用于在下游流接口配置允许组播组地址和 /或组播数据 流源地址列表, 或者在下游流接口配置禁止组播组地址和 /或组播数据流源地址 列表, 根据下游流接口接收的报告消息中携带的组播组地址和 /或组播数据流源 地址, 判断是否对来自下游流接口的组播组成员管理协议消息进行处理, 若是, 则通知所述代理转发模块 703进行相应处理。  The access control module 704 is configured to configure a multicast group address and/or a multicast data source address list on the downstream flow interface, or configure a multicast group address and/or a multicast data source address list on the downstream flow interface. Determining whether to process the multicast group member management protocol message from the downstream flow interface according to the multicast group address and/or the source address of the multicast data stream carried in the report message received by the downstream flow interface, and if yes, notify the The proxy forwarding module 703 performs corresponding processing.
接入控制模块 704还进一步包括:  The access control module 704 further includes:
带宽控制单元, 用于在下游流接口配置允许接入的总带宽, 并判断下游流 接口接收的报告消息对应的组播的带宽与该下游流接口已有的组播带宽之和, 是否大于所述允许接入的总带宽, 若否, 则通知所述代理转发模块 703进行相 应处理;  The bandwidth control unit is configured to configure, on the downstream flow interface, the total bandwidth allowed to access, and determine whether the sum of the multicast bandwidth corresponding to the report message received by the downstream flow interface and the existing multicast bandwidth of the downstream flow interface is greater than Describe the total bandwidth allowed for access, and if not, notify the proxy forwarding module 703 to perform corresponding processing;
和 /或,  and / or,
优先级控制单元, 用于配置各个组播组和 /或组播数据流源地址的优先级, 根据下游流接口接收的报告消息携带的组播组和 /或组播数据流源地址的优先 级, 判断是否通知所述代理转发模块 703进行相应处理。  a priority control unit, configured to configure a priority of each multicast group and/or a multicast source address, and a priority of the multicast group and/or the multicast source address carried by the report message received by the downstream flow interface. And determining whether to notify the proxy forwarding module 703 to perform corresponding processing.
地址映射模块 705 , 用于配置在上游网络和下游网络之间的组播组地址和 / 或组播数据流源地址的映射关系; 并根据所配置的映射关系, 将下游流接口接 收的组播组成员管理协议消息中的组播组地址和 /或组播数据流源地址, 修改为 上游网络的组播组地址和 /或组播数据流源地址; 并将修改后的消息交给代理转 发模块 703进行转发; The address mapping module 705 is configured to configure a mapping relationship between a multicast group address and/or a multicast data source source address between the upstream network and the downstream network, and connect the downstream flow interface according to the configured mapping relationship. The multicast group address and/or the source address of the multicast data stream in the received multicast group member management protocol message are modified to the multicast group address of the upstream network and/or the source address of the multicast data stream; and the modified message is And forwarded to the proxy forwarding module 703 for forwarding;
和 /或, 根据所述映射关系, 将上游流接口接收的组播数据流中的组播组地 址和 /或组播数据流源地址, 修改为下游网络的组播组地址和 /或组播数据流源 地址, 并将修改后的组播数据流交给代理转发模块 703进行转发。  And/or, according to the mapping relationship, modify the multicast group address and/or the multicast data source source address in the multicast data stream received by the upstream flow interface to the multicast group address and/or multicast of the downstream network. The data stream source address, and the modified multicast data stream is forwarded to the proxy forwarding module 703 for forwarding.
配置管理模块 706 , 用于根据来自 MGC的配置或更新命令, 对所述接口配置 模块 701、 接入控制模块 704或地址映射模块 705的配置进行设置或更新。  The configuration management module 706 is configured to set or update the configuration of the interface configuration module 701, the access control module 704, or the address mapping module 705 according to a configuration or update command from the MGC.
组播组定时器模块 707 , 用于维护组播组定时器, 并根据所维护的组播组定 时器, 或者所维护的组播组定时器和所述代理转发模块 703接收的组播组成员 管理协议消息更新所述组播组成员数据库模块 702的内容。 组播组定时器模块 707中可能维护不止一个定时器, 如前文提到的组成员关系间隔定时器、 查询间 隔定时器、 主动 4艮告间隔定时器以及查询响应间隔定时器。  The multicast group timer module 707 is configured to maintain a multicast group timer, and according to the maintained multicast group timer, or the maintained multicast group timer and the multicast group member received by the proxy forwarding module 703 The management protocol message updates the content of the multicast group member database module 702. The multicast group timer module 707 may maintain more than one timer, such as the group membership interval timer, the query interval timer, the active 4 interval timer, and the query response interval timer mentioned above.
查询消息发送模块 708 , 用于在满足预先设置的触发条件的情况下, 在下游 流接口发送查询消息; 所述触发条件包括:  The query message sending module 708 is configured to send a query message on the downstream flow interface if the preset trigger condition is met; the triggering condition includes:
组播组定时器 707中维护的组播组定时器超时, 具体地说, 该组播定时器 可以是查询间隔定时器或查询响应间隔定时器;  The multicast group timer maintained in the multicast group timer 707 is timed out. Specifically, the multicast timer may be a query interval timer or a query response interval timer.
和 /或, 在下游流接口收到离开组播组消息;  And / or, receiving the leaving multicast group message on the downstream flow interface;
和 /或, 所述代理转发模块 703根据上游流接口接收的查询消息对组播组成 员数据库的内容进行查找, 查找不到匹配的内容。  And/or, the proxy forwarding module 703 searches the content of the multicast member database according to the query message received by the upstream flow interface, and cannot find the matched content.
根据上述方案二, 本发明实施例的 MGC包括:  According to the foregoing solution 2, the MGC of the embodiment of the present invention includes:
接收模块, 用于接收 MG上报的组播组成员管理协议消息;  a receiving module, configured to receive a multicast group member management protocol message reported by the MG;
第二组播组数据库模块, 用于维护所述 MG的所有下游流接口总的组播订阅 状况; 根据所述接收模块接收的组播组成员管理协议消息, 对所维护的组播订 阅状况进行更新或搜索, 并将更新或搜索的结果通知组播指令下发模块;  a second multicast group database module, configured to maintain a total multicast subscription status of all the downstream flow interfaces of the MG; and performing, according to the multicast group member management protocol message received by the receiving module, the maintained multicast subscription status Update or search, and notify the multicast command delivery module of the result of the update or search;
下发模块, 用于根据更新或搜索的结果, 向 MG下发相应指示。 其中, 第二组播组数据库模块还可以包括策略决定单元, 用于根据本地配 置的策略、 用户签约信息、 资源状况或以上信息的任意组合更新所述第二组播 组成员数据库模块中的组播订阅状况。 The sending module is configured to send a corresponding indication to the MG according to the result of the update or the search. The second multicast group database module may further include a policy determining unit, configured to update the group in the second multicast group member database module according to the locally configured policy, the user subscription information, the resource status, or any combination of the foregoing information. Broadcast subscription status.
所述 MGC还可以进一步包括地址映射模块, 用于配置在上游网络和下游网 络之间的组播组地址和 /或组播数据流源地址的映射关系; 并根据所配置的映射 关系, 将 MG上报的下游流接口接收的组播组成员管理协议消息中的组播组地址 和 /或组播数据流源地址, 修改为上游网络的组播组地址和 /或组播数据流源地 址, 并将所述上游网络的组播组地址和 /或组播数据流源地址通过所述下发模块 发送至 MG。  The MGC may further include an address mapping module, configured to configure a mapping relationship between a multicast group address and/or a multicast data source source address between the upstream network and the downstream network, and configure the MG according to the configured mapping relationship. The multicast group address and/or the multicast source address in the multicast group member management protocol message received by the reported downstream flow interface is changed to the multicast group address of the upstream network and/or the source address of the multicast data stream, and Sending the multicast group address and/or the multicast data stream source address of the upstream network to the MG through the sending module.
MLD协议和 IGMP协议类似, IGMP的 ^艮告消息, 离开组消息和查询消息分别 和 MLD的组播侦听器报告(Mul t icas t Li s tener Report)消息, 组播侦听器完成 (Mul t icas t Li s tener Done)消息和组播侦听器查询 (Mul t icas t Li s tener Query) 消息对应, 消息的内容基本相同, 主要差别在于组播组地址和源地址都是 IPV6 地址, 这里就不赘述其实现细节了。  The MLD protocol is similar to the IGMP protocol. The IGMP message, the leaving group message and the query message, and the MLD's multicast listener report (Mul t icas t Li s tener Report) message, the multicast listener is completed (Mul t icas t Li s tener Done) message and multicast listener query (Mul t icas t Li s tener Query) message, the content of the message is basically the same, the main difference is that the multicast group address and source address are IPV6 addresses, The implementation details are not described here.
本发明方案通过扩展 H. 248协议, 使 MG和 MGC组成组播组成员管理协议代 理系统, 并配置上游流接口和下游流接口, 以及组播组成员数据库, 能够使 MG 转发组播消息以及组播数据流。  By extending the H.248 protocol, the MG and the MGC form a multicast group member management protocol proxy system, and configure an upstream flow interface and a downstream flow interface, and a multicast group member database, so that the MG can forward multicast messages and groups. Broadcast data stream.
如果 IGMP/MLD代理处于 IPv4和 IPv6网络之间, 一边运行 IGMP而另一边 运行 MLD,则无法正常工作。 如果 IGMP/MLD代理两侧的组播组地址和 /或组播源 地址的配置不一致,之间需要映射。例如, 下游流接口上的对组播组 G1的请求, 其中携带的组播组地址为 SI , S1为下游网络地址规划中的地址标识; 在上游流 接口上, 组播组地址必须依照上游网络的地址规划, 该组播组地址在上游网络 的地址规划中表示为 S2 , 因此需要将 S1映射为 S2。 本发明方案引入了地址映 射, 使 IGMP/MLD代理能够正确处理。  If the IGMP/MLD proxy is between the IPv4 and IPv6 networks, while running IGMP and running MLD on the other side, it will not work properly. If the configurations of multicast group addresses and/or multicast source addresses on both sides of the IGMP/MLD proxy are inconsistent, mapping is required. For example, the request for the multicast group G1 on the downstream flow interface, where the multicast group address is the SI, and S1 is the address identifier in the downstream network address plan. On the upstream flow interface, the multicast group address must be in accordance with the upstream network. Address planning, the multicast group address is represented as S2 in the address plan of the upstream network, so S1 needs to be mapped to S2. The inventive scheme introduces an address mapping to enable the IGMP/MLD proxy to process correctly.
另外, 本发明方案还引入准入控制功能, 根据用户权限对用户加入组播组 的请求进行过滤, IGMP/MLD代理通过接收到的组播组成员管理协议消息来维护 成员数据库, 并为此来作为发送组播组成员管理协议消息的依据。 以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在本发 明的精神和原则之内所作的任何修改、 等同替换和改进等, 均应包含在本发明 的保护范围之内。 In addition, the solution of the present invention also introduces an admission control function, which filters the request of the user to join the multicast group according to the user authority, and the IGMP/MLD proxy maintains the received multicast group member management protocol message. Member database, and for this purpose as a basis for sending multicast group member management protocol messages. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. Within the scope.

Claims

权 利 要求 书 Claim
1、 一种实现组播组成员管理协议代理的方法, 其特征在于, 在媒体网关 MG 上设置一个上游流接口和至少一个下游流接口, MG维护汇总所述 MG的所有下游 流接口的组播组成员信息的组播组成员数据库, 并包括如下步骤:  A method for implementing a multicast group member management protocol proxy, characterized in that: an upstream flow interface and at least one downstream flow interface are set on the media gateway MG, and the MG maintains multicast of all downstream flow interfaces of the MG. Group member information for the multicast group member database, and includes the following steps:
MG在下游流接口接收来自下游网络的组播组成员管理协议消息, 并根据所 述组播组成员管理协议消息更新所述组播组成员数据库中的内容, MG判断所述 组播组成员数据库是否发生变化, 若是, 则在上游流接口上向上游网络发送组 播组成员管理协议消息;  The MG receives the multicast group member management protocol message from the downstream network on the downstream flow interface, and updates the content in the multicast group member database according to the multicast group member management protocol message, and the MG determines the multicast group member database. Whether the change occurs, if yes, sending a multicast group member management protocol message to the upstream network on the upstream flow interface;
和 /或,  and / or,
MG在上游流接口上接收到查询消息, 根据所述查询消息对所述组播组成员 数据库的内容进行查找, 若查找到匹配的内容, 则在上游流接口向上游网络发 送报告消息。  The MG receives the query message on the upstream flow interface, and searches for the content of the multicast group member database according to the query message. If the matched content is found, the upstream flow interface sends a report message to the upstream network.
2、 根据权利要求 1所述的实现组播组成员管理协议代理的方法, 其特征在 于, MG上维护每个下游流接口上的组播组成员信息, 该方法进一步包括:  The method for implementing a multicast group member management protocol proxy according to claim 1, wherein the MG maintains multicast group member information on each downstream flow interface, and the method further includes:
MG在上游流接口上接收组播数据流, 根据所述每个下游流接口上的组播组 成员信息, 将所述组播数据流转发到相应的下游流接口。  The MG receives the multicast data stream on the upstream flow interface, and forwards the multicast data stream to the corresponding downstream flow interface according to the multicast group member information on each downstream flow interface.
3、 根据权利要求 1所述的实现组播组成员管理协议代理的方法, 其特征在 于, 所述在 MG上设置一个上游流接口和至少一个下游流接口, 包括: 所设置的 上游流接口和下游流接口适用于所有组播组, 或者与特定的组播组和 /或组播源 地址绑定。  The method for implementing the multicast group member management protocol proxy according to claim 1, wherein the setting an upstream flow interface and the at least one downstream flow interface on the MG includes: setting the upstream flow interface and The downstream flow interface is applicable to all multicast groups or to specific multicast groups and/or multicast source addresses.
4、 根据权利要求 1所述的实现组播组成员管理协议代理的方法, 其特征在 于, 所述组播组成员管理协议消息包括互联网组管理协议 IGMP报告消息, IGMP 离开组播组消息, 组播侦听器发现 MLD的组播侦听器报告或 MLD的组播侦听器 完成消息。  The method for implementing a multicast group member management protocol proxy according to claim 1, wherein the multicast group member management protocol message includes an Internet Group Management Protocol (IGMP) report message, and the IGMP leaving the multicast group message, the group The broadcast listener finds the multicast listener report of MLD or the multicast listener completion message of MLD.
5、 根据权利要求 1所述的实现组播组成员管理协议代理的方法, 其特征在 于, 该方法包括: MG在下游流接口上周期发送查询消息; The method for implementing a multicast group member management protocol proxy according to claim 1, wherein the method comprises: The MG periodically sends an inquiry message on the downstream flow interface.
或者, MG收到下游流接口上的离开组播组消息后在下游流接口上发送查询 消息;  Or, after receiving the leaving multicast group message on the downstream flow interface, the MG sends a query message on the downstream flow interface.
或者, 所述根据所述查询消息对所述组播组成员数据库的内容进行查找, 若查找不到匹配的内容, 则进一步包括: 在下游流接口上发送查询消息。  Or the searching for the content of the multicast group member database according to the query message, if the matching content is not found, the method further includes: sending the query message on the downstream flow interface.
6、 根据权利要求 1所述的实现组播组成员管理协议代理的方法, 其特征在 于, 在 MG上配置下游流接口允许组播组地址和 /或组播数据流源地址列表, 或 下游流接口禁止组播组地址和 /或组播数据流源地址列表;  The method for implementing a multicast group member management protocol proxy according to claim 1, wherein configuring a downstream flow interface to allow a multicast group address and/or a multicast data source source address list or a downstream flow on the MG The interface prohibits the multicast group address and/or the multicast data stream source address list.
则所述根据所述组播组成员管理协议消息更新所述组播组成员数据库中的 内容之前, 进一步包括: MG判断所述>¾告消息或离开组播组的消息中携带的组 播组地址和 /或组播数据流源地址, 是否在所述允许组播组地址和 /或组播数据 流源地址列表中, 或者是否不在所述禁止组播组地址和 /或组播数据流源地址列 表中, 若是, 则执行所述后续步骤。  Before the content of the multicast group member database is updated according to the multicast group member management protocol message, the method further includes: determining, by the MG, the multicast group carried in the message or the message leaving the multicast group Whether the address and/or the multicast data stream source address is in the allowed multicast group address and/or the multicast data stream source address list, or is not in the prohibited multicast group address and/or the multicast data stream source. In the address list, if yes, the subsequent steps are performed.
7、 根据权利要求 1所述的实现组播组成员管理协议代理的方法, 其特征在 于, 在 MG上配置在下游流接口允许接入的总带宽, 和 /或各个组播组和 /或组播 数据流源地址的优先级;  The method for implementing a multicast group member management protocol proxy according to claim 1, wherein the MG is configured to allow total bandwidth allowed on the downstream flow interface, and/or each multicast group and/or group. The priority of the broadcast stream source address;
则所述根据所述报告消息更新所述组播组成员数据库中的内容之前, 进一 步包括:  Then, before updating the content in the multicast group member database according to the report message, the method further includes:
MG判断所述报告消息对应的组播的带宽与该下游流接口已有的组播带宽之 和, 是否大于所述允许接入的总带宽, 若否, 则执行所述后续步骤;  The MG determines whether the sum of the multicast bandwidth corresponding to the report message and the existing multicast bandwidth of the downstream flow interface is greater than the total bandwidth of the allowed access, and if not, performing the subsequent step;
或者,  Or,
根据所述报告消息携带的组播组和 /或组播数据流源地址的优先级, 判断是 否允许所述报告消息对应的组播, 若是, 则执行所述后续步骤。  Determining whether the multicast corresponding to the report message is allowed according to the priority of the multicast group and/or the source address of the multicast data stream carried in the report message, and if yes, performing the subsequent step.
8、 根据权利要求 1所述的实现组播组成员管理协议代理的方法, 其特征在 于, 在 MG上维护上游网络和下游网络之间的组播组地址和 /或组播数据流源地 址的映射关系; 则所述在上游流接口上向上游网络发送组播组成员管理协议消息之前, 进 一步包括: The method for implementing a multicast group member management protocol proxy according to claim 1, wherein the multicast group address and/or the multicast data stream source address between the upstream network and the downstream network are maintained on the MG. Mapping relations; Before sending the multicast group member management protocol message to the upstream network on the upstream flow interface, the method further includes:
根据所述映射关系, 将所述组播组成员管理协议消息中的下游网络的组播 组地址和 /或组播数据流源地址修改为上游网络的组播组地址和 /或组播数据流 源地址。  Modifying, according to the mapping relationship, the multicast group address and/or the multicast data source address of the downstream network in the multicast group member management protocol message to the multicast group address and/or the multicast data stream of the upstream network. source address.
9、 根据权利要求 2所述的实现组播组成员管理协议代理的方法, 其特征在 于, 在 MG上维护上游网络和下游网络之间的组播组地址和 /或组播数据流源地 址的映射关系;  The method for implementing a multicast group member management protocol proxy according to claim 2, wherein the multicast group address and/or the multicast data stream source address between the upstream network and the downstream network are maintained on the MG. Mapping relations;
则所述将所述组播数据流转发到相应的下游流接口包括:  And the forwarding the multicast data stream to the corresponding downstream flow interface includes:
根据所述映射关系, 将所述组播数据流中的上游网络的组播组地址和 /或组 播数据流源地址修改为被映射的下游网络的组播组地址和 /或组播数据流源地 址, 再发送所述组播数据流。  Modifying, according to the mapping relationship, the multicast group address and/or the multicast data source source address of the upstream network in the multicast data stream to the multicast group address and/or the multicast data stream of the mapped downstream network. The source address, and then the multicast data stream is sent.
10、 根据权利要求 8或 9所述的实现组播组成员管理协议代理的方法, 其 特征在于, 所述地址映射关系为相同 IP版本地址之间的转换或不同 IP版本的 地址之间的映射。  The method for implementing a multicast group member management protocol proxy according to claim 8 or 9, wherein the address mapping relationship is a mapping between addresses of the same IP version address or addresses of different IP versions. .
11、 根据权利要求 1至 9任一项所述的实现组播组成员管理协议代理的方 法, 其特征在于, 在 MG上维护组播组定时器, 则所述更新所述组播组成员数据 库中的内容包括: 根据所述组播组定时器的状态, 或组播组定时器的状态和所 述组播组成员管理协议消息更新组播组成员数据库的内容。  The method for implementing a multicast group member management protocol proxy according to any one of claims 1 to 9, wherein, when the multicast group timer is maintained on the MG, the multicast group member database is updated. The content includes: updating the content of the multicast group member database according to the state of the multicast group timer, or the status of the multicast group timer and the multicast group member management protocol message.
12、 根据权利要求 1至 9任一项所述的实现组播组成员管理协议代理的方 法, 其特征在于, 该方法进一步包括: 媒体网关控制器 MGC向 MG下发设置或更 新命令, 对所述 MG上的配置进行设置或更新。  The method for implementing a multicast group member management protocol proxy according to any one of claims 1 to 9, wherein the method further comprises: the media gateway controller MGC issuing a setting or updating command to the MG, The configuration on the MG is set or updated.
1 3、 一种实现组播组成员管理协议代理的方法, 其特征在于, 在 MG上设置 一个上游流接口和至少一个下游流接口, MG维护汇总所有下游流接口的组播组 成员信息的第一组播组成员数据库, 并包括如下步骤:  A method for implementing a multicast group member management protocol proxy is characterized in that: an upstream flow interface and at least one downstream flow interface are set on the MG, and the MG maintains the summary of the multicast group member information of all the downstream flow interfaces. A multicast group member database, and includes the following steps:
MG在下游流接口接收来自下游网络的组播组成员管理协议消息, 向 MGC上 报; The MG receives the multicast group member management protocol message from the downstream network on the downstream flow interface, and sends the message to the MGC. Newspaper
MGC根据所述组播组成员管理协议消息更新 MGC上维护的第二组播组成员数 据库中的内容, 判断所述第二组播组成员数据库是否发生变化, 若是, 则指示 MG在上游流接口上向上游网络发送组播组成员管理协议消息; 或者, MGC向 MG 发送接受所述组播组成员管理协议消息的指示, MG根据所述指示更新所述第一 组播组成员数据库, 判断所述第一组播组成员数据库是否发生变化, 若是, 则 在上游流接口上向上游网络发送组播组成员管理协议消息;  The MGC updates the content of the second multicast group member database maintained on the MGC according to the multicast group member management protocol message, and determines whether the second multicast group member database changes. If yes, the MG is in the upstream flow interface. Sending a multicast group member management protocol message to the upstream network; or, the MGC sends an indication to the MG to accept the multicast group member management protocol message, and the MG updates the first multicast group member database according to the indication, and determines the location Whether the first multicast group member database changes, and if so, sending a multicast group member management protocol message to the upstream network on the upstream flow interface;
或者,  Or,
MG在上游流接口上收到查询消息后向 MGC上报, MGC根据所述查询消息对 所述第二组播组成员数据库的内容进行查找, 若查找到匹配的内容, 则指示所 述 MG在上游流接口向上游网络发送 >¾告消息; 或者, MG在上游流接口上收到查 询消息后对所述第一组播组成员数据库的内容进行查找, 若查找到匹配的内容, 则向上游网络发送 ^艮告消息。  After receiving the query message on the upstream flow interface, the MG reports to the MGC, and the MGC searches for the content of the second multicast group member database according to the query message. If the matched content is found, the MG indicates that the MG is upstream. The flow interface sends a message to the upstream network. The MG searches the content of the first multicast group member database after receiving the query message on the upstream flow interface. If the matching content is found, the upstream network is searched. Send a ^ message.
14、 根据权利要求 13所述的实现组播组成员管理协议代理的方法, 其特征 在于, MG上维护每个下游流接口上的组播组成员信息, 该方法进一步包括: The method for implementing a multicast group member management protocol proxy according to claim 13, wherein the MG maintains multicast group member information on each downstream flow interface, and the method further includes:
MG在上游流接口上接收组播数据流, 根据每个下游流接口上的组播组成员 信息, 将所述组播数据流转发到下游流接口。 The MG receives the multicast data stream on the upstream flow interface, and forwards the multicast data stream to the downstream flow interface according to the multicast group member information on each downstream flow interface.
15、 根据权利要求 13所述的实现组播组成员管理协议代理的方法, 其特征 在于, 在 MG上维护组播组定时器, 则所述 MGC根据所述组播组成员管理协议消 息更新 MGC上维护的第二组播组成员数据库中的内容进一步包括:  The method for implementing a multicast group member management protocol proxy according to claim 13, wherein the multicast group timer is maintained on the MG, and the MGC updates the MGC according to the multicast group member management protocol message. The content of the second multicast group member database maintained on the network further includes:
MG向 MGC上报组播定时器超时, MGC根据所述上报信息更新所述第二组播 组成员数据库中的内容; 或者, MGC上维护组播定时器, MGC进一步根据所述组 播定时器的状态更新所述第二组播组成员数据库中的内容。  The MG reports the multicast timer to the MGC, and the MGC updates the content in the second multicast group member database according to the report information. Alternatively, the MGC maintains a multicast timer, and the MGC further performs the multicast timer according to the multicast timer. The status updates the content in the second multicast group member database.
16、 根据权利要求 13所述的实现组播组成员管理协议代理的方法, 其特征 在于, MG在下游流接口接收来自下游网络的组播组成员管理协议消息, 并只将 影响所述第一组播组成员数据库内容的组播组成员管理协议消息, 向 MGC上报。 The method for implementing a multicast group member management protocol proxy according to claim 13, wherein the MG receives the multicast group member management protocol message from the downstream network on the downstream flow interface, and only affects the first The multicast group member management protocol message of the multicast group member database content is reported to the MGC.
17、 根据权利要求 13所述的实现组播组成员管理协议代理的方法, 其特征 在于, MG在下游流接口接收来自下游网络的组播组成员管理协议消息, 向 MGC 上 进一步包括: MGC依据本地配置的策略、 用户签约信息、 资源状况或以上 信息的任意组合更新所述第二组播组成员数据库中的内容, 或者向 MG指示是否 接受所述组播组成员管理协议消息。 The method for implementing a multicast group member management protocol proxy according to claim 13, wherein the MG receives the multicast group member management protocol message from the downstream network on the downstream flow interface, and further includes: MGC basis to the MGC. The locally configured policy, the user subscription information, the resource status, or any combination of the above information updates the content in the second multicast group member database, or indicates to the MG whether to accept the multicast group member management protocol message.
18、 根据权利要求 13所述的实现组播组成员管理协议代理的方法, 其特征 在于, 该方法进一步包括: MG在下游流接口上周期发送查询消息, 或者 MG根据 MGC的指示, 在下游流接口上发送查询消息, 或者 MG收到下游流接口上的离开 组播组的消息后在下游流接口上发送查询消息。  The method for implementing the multicast group member management protocol proxy according to claim 13, wherein the method further comprises: the MG periodically sending the query message on the downstream flow interface, or the MG is in the downstream flow according to the indication of the MGC. The query message is sent on the interface, or the MG sends a query message on the downstream flow interface after receiving the message from the downstream flow interface.
19、 根据权利要求 13所述的实现组播组成员管理协议代理的方法, 其特征 在于, 在 MGC或 MG上维护上游网络和下游网络之间的组播组地址和 /或组播数 据流源地址的映射关系;  The method for implementing a multicast group member management protocol proxy according to claim 13, wherein the multicast group address and/or the multicast data stream source between the upstream network and the downstream network are maintained on the MGC or the MG. Mapping relationship of addresses;
则所述 MG在上游流接口上向上游网络发送组播组成员管理协议消息之前, 进一步包括:  Before the MG sends the multicast group member management protocol message to the upstream network on the upstream flow interface, the MG further includes:
MGC或 MG根据所述映射关系, 将所述组播组成员管理协议消息中的组播组 地址和 /或组播数据流源地址修改为上游网络的组播组地址和 /或组播数据流源 地址。  The MGC or the MG modifies the multicast group address and/or the multicast data source source address in the multicast group member management protocol message to the multicast group address and/or the multicast data stream of the upstream network according to the mapping relationship. source address.
20、 根据权利要求 14所述的实现组播组成员管理协议代理的方法, 其特征 在于, 在 MG 上维护上游网络和下游网络之间的组播组地址和 /或组播数据流源 地址的映射关系;  The method for implementing a multicast group member management protocol proxy according to claim 14, wherein the multicast group address and/or the multicast data stream source address between the upstream network and the downstream network are maintained on the MG. Mapping relations;
则所述将所述组播数据流转发到相应的下游流接口包括:  And the forwarding the multicast data stream to the corresponding downstream flow interface includes:
MG根据所述映射关系,将所述组播数据流中的组播组地址和 /或组播数据流 源地址修改为下游网络的组播组地址和 /或组播数据流源地址, 再由 MG发送所 述组播数据流。  The MG modifies the multicast group address and/or the multicast data stream source address in the multicast data stream to the multicast group address and/or the multicast data stream source address of the downstream network according to the mapping relationship, and then The MG sends the multicast data stream.
21、 一种实现组播组成员管理协议代理的方法, 其特征在于, 组播组成员 管理协议代理的上游流接口与特定的组播组绑定, 或者与特定的组播组和组播 源地址绑定。 A method for implementing a multicast group member management protocol proxy, characterized in that: an upstream flow interface of a multicast group member management protocol proxy is bound to a specific multicast group, or is associated with a specific multicast group and multicast. Source address binding.
22、 一种实现组播组成员管理协议代理的方法, 其特征在于, 在组播组成 员管理协议代理中, 配置上游网络和下游网络之间的组播组地址和 /或组播数据 流源地址的映射关系; 并包括如下步骤:  22. A method for implementing a multicast group member management protocol proxy, characterized in that: in a multicast group member management protocol proxy, configuring a multicast group address and/or a multicast data stream source between the upstream network and the downstream network The mapping relationship of the address; and includes the following steps:
在下游流接口接收组播组成员管理协议消息;  Receiving a multicast group member management protocol message on the downstream flow interface;
根据所述映射关系, 将所述组播组成员管理协议消息中的下游网络的组播 组地址和 I或组播数据流源地址修改为被映射的上游网络的组播组地址和 I或组 播数据流源地址;  Modifying, according to the mapping relationship, the multicast group address and the I or multicast data source address of the downstream network in the multicast group member management protocol message to the multicast group address and the I or group of the mapped upstream network. Broadcast data stream source address;
在上游流接口发送所述修改后的组播组成员管理协议消息;  Sending the modified multicast group member management protocol message on the upstream flow interface;
或者, 包括如下步骤:  Or, include the following steps:
在上游流接口上接收到组播数据流;  Receiving a multicast data stream on the upstream flow interface;
根据所述映射关系, 将所述组播数据流中的上游网络的组播组地址和 /或组 播数据流源地址修改为被映射的下游网络的组播组地址和 /或组播数据流源地 址, 再在下游流接口发送所述组播数据流。  Modifying, according to the mapping relationship, the multicast group address and/or the multicast data source source address of the upstream network in the multicast data stream to the multicast group address and/or the multicast data stream of the mapped downstream network. The source address is sent to the downstream stream interface.
23、一种实现组播组成员管理协议代理的系统 ,其特征在于 ,包括 MG和 MGC , 所述 MG维护汇总所述 MG的所有下游流接口的组播组成员信息的组播组成 员数据库, 配置一个上游流接口和至少一个下游流接口; 并根据所述组播组成 员数据库, 将上游流接口接收的组播组成员管理协议消息转发到相应的下游流 接口, 或者向上游流接口发送报告消息;  A system for implementing a multicast group member management protocol agent, comprising: an MG and an MGC, wherein the MG maintains a multicast group member database that summarizes multicast group member information of all downstream flow interfaces of the MG, Configuring an upstream flow interface and at least one downstream flow interface; and forwarding the multicast group member management protocol message received by the upstream flow interface to the corresponding downstream flow interface according to the multicast group member database, or sending a report to the upstream flow interface Message
所述 MGC用以向所述 MG发送设置或更新命令, 来设置或更新所述 MG上的 配置。  The MGC is configured to send a setup or update command to the MG to set or update a configuration on the MG.
24、 根据权利要求 23所述的实现组播组成员管理协议代理的系统, 其特征 在于, 所述 MG进一步用于维护组播组定时器, 根据所述组播组定时器的状态, 或者组播组定时器的状态和下游流接口接收的组播组成员管理协议消息更新所 述组播组成员数据库的内容。  The system for implementing a multicast group member management protocol proxy according to claim 23, wherein the MG is further configured to maintain a multicast group timer, according to the state of the multicast group timer, or a group. The state of the multicast group timer and the multicast group member management protocol message received by the downstream stream interface update the content of the multicast group member database.
25、 一种 MG , 其特征在于, 包括用于实现组播组成员管理协议代理功能的 装置, 该装置包括: 25. An MG, comprising: a function for implementing a multicast group member management protocol proxy function Device, the device includes:
接口配置模块(701) , 用于将 MG连接分组子网的接口配置为上游流接口或 下游流接口;  An interface configuration module (701), configured to configure an interface of the MG to be connected to the subnet as an upstream flow interface or a downstream flow interface;
组播组数据库模块(702) , 用于维护所述 MG 的所有下游流接口总的组播订 阅状况;  a multicast group database module (702), configured to maintain a total multicast subscription status of all downstream flow interfaces of the MG;
代理转发模块(703) , 用于根据在上游流接口接收的查询消息, 对所述组播 组数据库模块(702)中的内容进行搜索, 若搜索到匹配的内容, 则在上游流接口 向上游网络发送报告消息; 或者, 根据下游流接口接收的组播组成员管理协议 消息更新所述组播组数据库模块(702)中的内容, 并判断所述组播组成员数据库 是否发生变化, 若是, 则在上游流接口上向上游网络发送组播组成员管理协议 消息。  The proxy forwarding module (703) is configured to search for content in the multicast group database module (702) according to the query message received on the upstream flow interface, and if the matched content is found, the upstream flow interface is upstream. The network sends a report message; or, according to the multicast group member management protocol message received by the downstream flow interface, updating the content in the multicast group database module (702), and determining whether the multicast group member database changes, and if so, Then, the multicast group member management protocol message is sent to the upstream network on the upstream flow interface.
26、 根据权利要求 25所述的 MG, 其特征在于, 所述接口配置模块(701)将 连接分组子网的接口配置为与特定组播组地址和 /或组播源地址绑定的上游流 接口。  The MG according to claim 25, wherein the interface configuration module (701) configures an interface connected to the packet subnet as an upstream stream bound to a specific multicast group address and/or a multicast source address. interface.
27、 根据权利要求 25所述的 MG, 其特征在于, 所述 MG进一步包括: 接入控制模块(704) , 用于在下游流接口配置允许组播组地址和 /或组播数 据流源地址列表, 或者在下游流接口配置禁止组播组地址和 /或组播数据流源地 址列表, 根据下游流接口接收的组播组成员管理协议消息中携带的组播组地址 和 /或组播数据流源地址, 判断是否对来自下游流接口的组播组成员管理协议消 息进行处理, 若是, 则通知所述代理转发模块(703)进行相应处理。  The MG according to claim 25, wherein the MG further comprises: an access control module (704) configured to configure a multicast group address and/or a multicast data source address on the downstream flow interface. The multicast group address and/or multicast data carried in the multicast group member management protocol message received by the downstream flow interface is configured on the downstream flow interface. The source address determines whether the multicast group member management protocol message from the downstream flow interface is processed. If yes, the proxy forwarding module is notified (703) to perform corresponding processing.
28、 根据权利要求 27所述的 MG, 其特征在于, 所述接入控制模块(704)进 一步包括:  The MG according to claim 27, wherein the access control module (704) further comprises:
带宽控制单元, 用于在下游流接口配置允许接入的总带宽, 并判断下游流 接口接收的报告消息对应的组播的带宽与该下游流接口已有的组播带宽之和, 是否大于所述允许接入的总带宽, 若否, 则通知所述代理转发模块(703)进行相 应处理; 和 /或, The bandwidth control unit is configured to configure, on the downstream flow interface, the total bandwidth allowed to access, and determine whether the sum of the multicast bandwidth corresponding to the report message received by the downstream flow interface and the existing multicast bandwidth of the downstream flow interface is greater than Describe the total bandwidth allowed for access, and if not, notify the proxy forwarding module (703) to perform corresponding processing; and / or,
优先级控制单元, 用于配置各个组播组和 /或组播数据流源地址的优先级, 根据下游流接口接收的报告消息携带的组播组和 /或组播数据流源地址的优先 级, 判断是否通知所述代理转发模块(703)进行相应处理。  a priority control unit, configured to configure a priority of each multicast group and/or a multicast source address, and a priority of the multicast group and/or the multicast source address carried by the report message received by the downstream flow interface. And determining whether to notify the proxy forwarding module (703) to perform corresponding processing.
29、 根据权利要求 25所述的 MG, 其特征在于, 所述 MG进一步包括: 组播 组定时器模块(707) , 用于维护组播组定时器, 并根据所维护的组播组定时器, 或者所维护的组播组定时器和所述代理转发模块(703)接收的组播组成员管理 协议消息更新所述组播组成员数据库模块的内容。  The MG according to claim 25, wherein the MG further comprises: a multicast group timer module (707), configured to maintain a multicast group timer, and according to the maintained multicast group timer Or the maintained multicast group timer and the multicast group member management protocol message received by the proxy forwarding module (703) update the content of the multicast group member database module.
30、 根据权利要求 29所述的 MG, 其特征在于, 所述 MG进一步包括: 查询消息发送模块(708) , 用于在满足预先设置的触发条件的情况下, 在下 游流接口发送查询消息; 所述触发条件包括:  The MG according to claim 29, wherein the MG further comprises: a query message sending module (708), configured to send a query message on the downstream stream interface if a preset trigger condition is met; The triggering conditions include:
所述组播组定时器中维护的定时器超时;  The timer maintained in the multicast group timer expires;
在下游流接口收到离开组播组消息;  Receiving a message leaving the multicast group on the downstream flow interface;
或者, 根据上游流接口接收的查询消息对组播组成员数据库的内容进行查 找, 查找不到匹配的内容。  Or, the content of the multicast group member database is searched according to the query message received by the upstream flow interface, and the matched content cannot be found.
31、 根据权利要求 25至 30任一项所述的 MG, 其特征在于, 所述代理转发 模块(703)进一步包括:  The MG according to any one of claims 25 to 30, wherein the proxy forwarding module (703) further comprises:
订阅状况记录单元, 用于记录 MG的每个下游流接口的组播订阅情况; 组播数据流转发单元, 用于将所述 MG上游流接口接收的组播数据流, 根据 所述订阅状况记录单元中的内容找到相应的下游流接口, 并将所述组播数据流 转发到所述下游流接口。  a subscription status recording unit, configured to record a multicast subscription status of each downstream flow interface of the MG; a multicast data flow forwarding unit, configured to record the multicast data stream received by the upstream flow interface of the MG according to the subscription status The content in the unit finds the corresponding downstream flow interface and forwards the multicast data stream to the downstream flow interface.
32、 根据权利要求 25至 30任一项所述的 MG, 其特征在于, 所述 MG进一步 包括:  The MG according to any one of claims 25 to 30, wherein the MG further comprises:
地址映射模块(705) , 用于配置在上游网络和下游网络之间的组播组地址和 /或组播数据流源地址的映射关系; 并根据所配置的映射关系, 将下游流接口接 收的组播组成员管理协议消息中的组播组地址和 /或组播数据流源地址, 修改为 上游网络的组播组地址和 /或组播数据流源地址, 并将修改后的组播组成员管理 协议消息发送至所述代理转发模块(703); The address mapping module (705) is configured to configure a mapping relationship between the multicast group address and/or the multicast data source source address between the upstream network and the downstream network, and receive the downstream flow interface according to the configured mapping relationship. The multicast group address and/or the multicast stream source address in the multicast group member management protocol message are modified to a multicast group address and/or a multicast data source address of the upstream network, and sending the modified multicast group member management protocol message to the proxy forwarding module (703);
或者, 用于根据所述映射关系, 将上游流接口接收的组播数据流中的组播 组地址和 /或组播数据流源地址, 修改为下游网络的组播组地址和 /或组播数据 流源地址, 并将修改后的组播数据流发送至所述代理转发模块(703) 。  Or, configured to modify the multicast group address and/or the multicast source address in the multicast data stream received by the upstream flow interface to the multicast group address and/or multicast of the downstream network according to the mapping relationship. The data stream source address, and the modified multicast data stream is sent to the proxy forwarding module (703).
33、 根据权利要求 25至 30任一项所述的 MG, 其特征在于, 所述 MG进一步 包括: 配置管理模块(706) , 用于根据来自 MGC的配置或更新命令, 对所述接口 配置模块(701)、 接入控制模块(704)或地址映射模块(705)的配置进行设置或更 新。  The MG according to any one of claims 25 to 30, wherein the MG further comprises: a configuration management module (706), configured to configure a module according to a configuration or update command from the MGC (701), the configuration of the access control module (704) or the address mapping module (705) is set or updated.
34、一种实现组播组成员管理协议代理的系统,其特征在于 ,包括 MG和 MGC, 所述 MG上配置一个上游流接口和至少一个下游流接口, MG维护汇总所有下 游流接口的组播组成员信息的第一组播组成员数据库; 所述 MG用于在下游流接 口接收来自下游网络的组播组成员管理协议消息, 并将所述组播组成员管理协 议消息上报给 MGC; MG根据 MGC下发的指示更新所述第一组播组成员数据库和 / 或发送组播组成员管理协议消息; 或者, 所述 MG用于在上游流接口上收到查询 消息后向 MGC上报, 并根据所述 MGC的指示在上游流接口向上游网络发送报告 消息;  A system for implementing a multicast group member management protocol proxy, comprising: an MG and an MGC, wherein the MG is configured with an upstream flow interface and at least one downstream flow interface, and the MG maintains and summarizes multicast of all downstream flow interfaces. The first multicast group member database of the group member information; the MG is configured to receive the multicast group member management protocol message from the downstream network on the downstream flow interface, and report the multicast group member management protocol message to the MGC; Updating the first multicast group member database and/or sending a multicast group member management protocol message according to the indication sent by the MGC; or the MG is configured to report the query message to the MGC after receiving the query message on the upstream flow interface, and Sending a report message to the upstream network on the upstream flow interface according to the indication of the MGC;
所述 MGC维护汇总所有下游流接口的组播组成员信息的第二组播组成员数 据库; 根据所述 MG上报的组播组成员管理协议消息以及所述第二组播组成员数 据库中的内容向所述 MG下发相应指示。  The MGC maintains a second multicast group member database that summarizes the multicast group member information of all the downstream flow interfaces; the multicast group member management protocol message reported by the MG and the content in the second multicast group member database Sending a corresponding indication to the MG.
35、 一种 MGC , 其特征在于, 包括:  35. An MGC, characterized in that:
接收模块, 用于接收 MG上报的组播组成员管理协议消息;  a receiving module, configured to receive a multicast group member management protocol message reported by the MG;
第二组播组数据库模块, 用于维护所述 MG的所有下游流接口总的组播订阅 状况; 根据所述接收模块接收的组播组成员管理协议消息, 对所维护的组播订 阅状况进行更新或搜索, 并将更新或搜索的结果通知组播指令下发模块;  a second multicast group database module, configured to maintain a total multicast subscription status of all the downstream flow interfaces of the MG; and performing, according to the multicast group member management protocol message received by the receiving module, the maintained multicast subscription status Update or search, and notify the multicast command delivery module of the result of the update or search;
下发模块, 用于根据更新或搜索的结果, 向 MG下发相应指示。 The sending module is configured to send a corresponding indication to the MG according to the result of the update or the search.
36、 根据权利要求 35所述的 MGC, 其特征在于, 所述第二组播组数据库模 块进一步包括: The MGC according to claim 35, wherein the second multicast group database module further comprises:
策略决定单元, 用于根据本地配置的策略、 用户签约信息、 资源状况或以 上信息的任意组合更新所述第二组播组成员数据库模块中的组播订阅状况。  And a policy determining unit, configured to update, according to the locally configured policy, the user subscription information, the resource status, or any combination of the above information, the multicast subscription status in the second multicast group member database module.
37、 根据权利要求 35或 36所述的 MGC, 其特征在于, 所述 MGC进一步包括 地址映射模块, 用于配置在上游网络和下游网络之间的组播组地址和 /或组播数 据流源地址的映射关系; 并根据所配置的映射关系, 将 MG上报的下游流接口接 收的组播组成员管理协议消息中的组播组地址和 /或组播数据流源地址, 修改为 上游网络的组播组地址和 /或组播数据流源地址, 并将所述上游网络的组播组地 址和 /或组播数据流源地址通过所述下发模块发送至 MG。  The MGC according to claim 35 or 36, wherein the MGC further comprises an address mapping module, configured to configure a multicast group address and/or a multicast data stream source between the upstream network and the downstream network. Modify the mapping of the address to the upstream network. The mapping between the multicast group address and/or the multicast data source address in the multicast group member management protocol message received by the downstream traffic interface reported by the MG is modified according to the configured mapping relationship. The multicast group address and/or the multicast data stream source address, and the multicast group address and/or the multicast data stream source address of the upstream network are sent to the MG through the sending module.
PCT/CN2008/071941 2007-08-15 2008-08-11 A method, device and system for realizing the management protocol agent for members in a multicast group WO2009024054A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNA2007101405880A CN101369994A (en) 2007-08-15 2007-08-15 Method, apparatus and system for implementing multicast group member management protocol proxy
CN200710140588.0 2007-08-15

Publications (1)

Publication Number Publication Date
WO2009024054A1 true WO2009024054A1 (en) 2009-02-26

Family

ID=40377843

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/071941 WO2009024054A1 (en) 2007-08-15 2008-08-11 A method, device and system for realizing the management protocol agent for members in a multicast group

Country Status (2)

Country Link
CN (1) CN101369994A (en)
WO (1) WO2009024054A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835881A (en) * 2020-06-24 2020-10-27 珠海中慧微电子有限公司 Beacon signaling protocol design method for broadband carrier communication network
CN113691462A (en) * 2021-07-29 2021-11-23 杭州迪普科技股份有限公司 Response method and device of Internet group management protocol

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521927B (en) * 2009-04-03 2012-09-05 中兴通讯股份有限公司 Method and system for restraining multicast transmitting path
US9641649B2 (en) 2012-02-21 2017-05-02 Futurewei Technologies, Inc. IGMP/MLD translation
CN102984074B (en) * 2012-11-29 2015-12-09 北京交通大学 Based on the multicast routing optimization method that many Upstream Interface IGMP/MLD acts on behalf of
CN104539544A (en) * 2014-12-09 2015-04-22 上海斐讯数据通信技术有限公司 Management method and system based on Internet group management protocol
CN110674157B (en) * 2019-09-29 2022-04-19 成都吉胜科技有限责任公司 Data caching method based on local area network

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1253641A (en) * 1997-04-23 2000-05-17 摩托罗拉公司 System, device and method for managing multicast group memberships in multicast network
EP1548978A1 (en) * 2003-12-23 2005-06-29 Motorola Inc. Route-optimised multicast traffic for a mobile network node
CN1744566A (en) * 2005-10-14 2006-03-08 清华大学 Layered mobile multicasting method based on fast multicasting switching

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1253641A (en) * 1997-04-23 2000-05-17 摩托罗拉公司 System, device and method for managing multicast group memberships in multicast network
EP1548978A1 (en) * 2003-12-23 2005-06-29 Motorola Inc. Route-optimised multicast traffic for a mobile network node
CN1744566A (en) * 2005-10-14 2006-03-08 清华大学 Layered mobile multicasting method based on fast multicasting switching

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835881A (en) * 2020-06-24 2020-10-27 珠海中慧微电子有限公司 Beacon signaling protocol design method for broadband carrier communication network
CN111835881B (en) * 2020-06-24 2022-07-12 珠海中慧微电子有限公司 Beacon signaling protocol design method for broadband carrier communication network
CN113691462A (en) * 2021-07-29 2021-11-23 杭州迪普科技股份有限公司 Response method and device of Internet group management protocol
CN113691462B (en) * 2021-07-29 2023-09-15 杭州迪普科技股份有限公司 Response method and device of Internet group management protocol

Also Published As

Publication number Publication date
CN101369994A (en) 2009-02-18

Similar Documents

Publication Publication Date Title
US8185657B2 (en) Data generating device
US8582572B2 (en) Methods and apparatus for managing multicast traffic
AU720817B2 (en) Multicast switching
US9252963B2 (en) Performing multicast communication in computer networks by using overlay routing
EP1424806B1 (en) Multicast Router with Translation Function for Protocols according to Any-Source-Multicast and Source-Specific-Multicast
EP1715628B1 (en) A method for realizing the multicast service
US7443851B2 (en) Device and system for multicast communication
WO2006063513A1 (en) A method for realizing multicasting in a virtual private network using a virtual router
WO2009024054A1 (en) A method, device and system for realizing the management protocol agent for members in a multicast group
WO2009030143A1 (en) Multicast routing method and system, media gateway and media gateway controller
Ballardie et al. Core Based Tree (CBT) Multicast
JP3526027B2 (en) IP multicast route control method and router
Cisco Internet Protocol (IP) Multicast
Cisco IP Multicast Technology Overview
Cisco Configuring IP Multicast Layer 3 Switching
WO2022082825A1 (en) Multicast system and multicast method for identifier resolution-based routing
Sarac et al. Ssm extensions: Network layer support for multiple senders in ssm
JP3584897B2 (en) Multicast router route registration system and program
An How IP Multicast Works
Cao et al. A novel scalable explicit multicast protocol
JP2003249940A (en) Network system, multicast communicating method, node, node multicast communicating method, program and recording medium
JP2005033555A (en) Multicast communication system and router
WO2004028099A1 (en) Multi-cast group connection apparatus

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

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

Country of ref document: EP

Kind code of ref document: A1