WO2008098506A1 - Multicast method, multicast system and multicast device - Google Patents

Multicast method, multicast system and multicast device Download PDF

Info

Publication number
WO2008098506A1
WO2008098506A1 PCT/CN2008/070267 CN2008070267W WO2008098506A1 WO 2008098506 A1 WO2008098506 A1 WO 2008098506A1 CN 2008070267 W CN2008070267 W CN 2008070267W WO 2008098506 A1 WO2008098506 A1 WO 2008098506A1
Authority
WO
WIPO (PCT)
Prior art keywords
multicast group
group
forwarding
multicast
receiving end
Prior art date
Application number
PCT/CN2008/070267
Other languages
French (fr)
Chinese (zh)
Inventor
Danfeng Feng
Junping Zhang
Huimin Zhang
Liangyao Mo
Hao Huang
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 WO2008098506A1 publication Critical patent/WO2008098506A1/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 data transmission techniques in wireless communication, and more particularly to a multicast method and a multicast system and a multicast device.
  • Multicast is a data transmission method between unicast and broadcast. That is, the destination address of the data frame is a multicast address, and the sender only transmits the data frame to multiple receivers belonging to the multicast group. end.
  • the difference between multicast and unicast is that multicast only sends a copy of a book of data; the difference from broadcast is that the multicast traffic is only received and processed by the listening device belonging to the multicast group member. For this one-to-many data transmission, multicast is more efficient than unicast and broadcast.
  • any wireless device node can be used as a Mesh network node (for example, MP (Mesh Point), MN (Mesh Node)) or router.
  • a Mesh network node for example, MP (Mesh Point), MN (Mesh Node)
  • MN Mesh Node
  • each node can communicate with one or more peer nodes and send and receive data.
  • the Mesh network is also known as the "multi-hop (lti-hop)" network.
  • multi-hop multi-hop
  • the STA there is no mechanism for the STA to join the multicast group. All the STAs can be added to each multicast group. In this case, multicast flooding occurs when the multicast frame is delivered.
  • the STA requests to join the multicast group a to the switch, that is, the Mesh network node (for example, MAP) with access capability.
  • the Mesh network node of the capability creates a multicast forwarding entry corresponding to the multicast group a for the STA, and requests the router, that is, the Mesh network node (for example, MPP) or the routing device outside the Mesh network that has added the portal function.
  • a multicast forwarding entry is created, and the router creates a multicast forwarding entry based on the MAP request.
  • the Mesh network node with the access capability, the Mesh network node and the routing device that have added the portal function do not authenticate the STA that requests to join the multicast group, and the STA creates a multicast forwarding entry for the STA.
  • the multicast data frame is forwarded. Therefore, multicast transmission according to the existing multicast mode is likely to cause multicast flooding. If all STAs join all multicast groups, even multicast is not multicast, but broadcast.
  • the Mesh network is a wireless transmission environment, and it cannot use the port control and other methods to control the group like the wired network. Broadcasting floods, so the danger of multicast flooding is more prominent in Mesh networks.
  • a main purpose of the embodiments of the present invention is to provide a multicast method, which can effectively suppress multicast flooding, reduce network burden, and improve multicast reliability.
  • Another main object of the embodiments of the present invention is to provide a multicast system, which can effectively suppress multicast flooding, reduce network load, and improve multicast reliability.
  • a further main object of the embodiments of the present invention is to provide a multicast device, which can effectively suppress multicast flooding, reduce network load, and improve multicast reliability.
  • the embodiment of the present invention provides a multicast method, including the following steps:
  • the sending end authenticates the receiving end that requests to join the multicast group according to the request of the receiving end to join the multicast group;
  • the receiving end is added to the forwarding entry corresponding to the multicast group that it is requesting to join, and sends a request to join the multicast group to the forwarding device.
  • the forwarding device sends the multicast group request according to the request from the sending end. Add to the forwarding entry corresponding to the multicast group it is requesting to join.
  • an embodiment of the present invention provides a multicast system, including: a receiving end, a sending end, and a forwarding device, where
  • the receiving end is configured to send a join multicast group request to the sending end, requesting to join the multicast group;
  • the sending end is configured to authenticate the receiving end that requests to join the multicast group according to the joining group request from the receiving end, and add the receiving end that is authenticated to the forwarding item corresponding to the multicast group that it is requesting to join.
  • Medium that is, update or create a forwarding entry, and send a join multicast group request to the forwarding device;
  • the forwarding device is configured to add the sending end to the forwarding item corresponding to the multicast group that the requesting party joins according to the joining multicast group request from the sending end.
  • an embodiment of the present invention provides a multicast device, including: a transceiver unit, receiving a request for joining a multicast group from the outside, and providing the request to the authentication unit; receiving the authentication result provided by the authentication unit, The forwarding device sends a request to join the multicast group;
  • the authentication unit receives the multicast group request provided by the transceiver unit, authenticates the request, adds the receiving end of the authentication to the forwarding item corresponding to the multicast group to which the request is made, and provides the authentication result to the transceiver unit.
  • the transmitting end authenticates the receiving end that requests to join the multicast group, and then updates or creates a forwarding entry for the receiving end after the authentication is passed, and then reports the multicast group request to the upstream forwarding device.
  • the upstream forwarding device updates or creates a corresponding forwarding entry for its downstream forwarding device or sender, so that the system does not Any device transmits multicast frames to the illegal receiving end, which suppresses multicast flooding in the network, reduces the burden on the system, and improves the reliability of multicast transmission.
  • FIG. 1 is a schematic structural diagram of a multicast system according to an embodiment of the present invention.
  • FIG. 2 is an exemplary flowchart of a multicast method in an embodiment of the present invention.
  • FIG. 3 is a structural diagram of a multicast system according to an embodiment of the present invention.
  • the figure (4 a c ) is a schematic flowchart of the step-by-step forwarding in the embodiment of the present invention.
  • Figure 5 is a schematic structural diagram of a group information list related message in the embodiment of the present invention.
  • FIG. 6 is a flowchart of a multicast method 1 according to an embodiment of the present invention.
  • Figure 7 is a flow chart of the multicast method 2 in the embodiment of the present invention.
  • FIG. 8 is a flowchart of a multicast method 3 in an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of implementing multicast transmission in an embodiment of the present invention.
  • the transmitting end authenticates the receiving end that requests to join the multicast group, and after the authentication is passed, updates or creates a forwarding entry for the receiving end, and then reports the multicast group request to the upstream forwarding device step by step.
  • each upstream forwarding device updates or creates a corresponding forwarding entry for its downstream forwarding device or sender, so that no device in the system transmits multicast frames for the illegal receiver.
  • FIG. 1 is a schematic structural diagram of a multicast system according to an embodiment of the present invention.
  • the multicast system in this embodiment includes: a receiving end, a sending end, and at least one forwarding device.
  • the receiving end sends a join group request to the sending end to request to join the multicast group.
  • the sender authenticates the receiver that requests to join the multicast group; adds the receiver that passes the authentication to the forwarding entry corresponding to the multicast group that it is requesting to join, that is, updates or creates a forwarding entry. And sending a join group request to the forwarding device;
  • the forwarding device adds the sender to the forwarding entry corresponding to the multicast group it is requesting to join according to the join group request from the sender.
  • the forwarding device needs to update or create a forwarding item.
  • the process of forwarding the join group is forwarded to the upstream forwarding device, and the upstream forwarding device creates or updates the forwarding entry for the downstream device.
  • the process of sending the join group request by the sending end and the forwarding device may be: directly forwarding the received joining group request. After the corresponding processing is performed according to the received join group request, a new join group request is generated and sent to the upstream forwarding device, that is, the initiative initiates the request.
  • the sending end After the receiving end joins the multicast group, the sending end further sends the multicast frame from the external multicast source to the receiving end of the corresponding multicast group.
  • the transmitting end of the system as a multicast device includes: an authentication unit and a transceiver unit.
  • the transceiver unit receives the join group request sent by the external receiver and provides the authentication unit, and receives the authentication result provided by the authentication unit, and adds the receiving end that is authenticated to the forwarding item corresponding to the multicast group that it is requesting to join, that is, the update Or create a forwarding entry and send a join group request to the forwarding device;
  • the authentication unit receives the join group request provided by the transceiver unit, authenticates the receiver that requests to join the multicast group, and provides the authentication result to the transceiver unit.
  • the authentication unit may perform authentication according to the obtained group information list.
  • FIG. 2 is an exemplary flowchart of a multicast method in an embodiment of the present invention. As shown in FIG. 2, the multicast method in this embodiment includes the following steps:
  • step 201 the receiving end that requests to join the multicast group is authenticated according to the joining group request of the receiving end.
  • adding the receiving end to the forwarding item means: adding the identifier of the receiving end to the forwarding item;
  • Step 203 Adding the sending end to the multicast group to which the requesting party joins according to the joining group request from the sending end In the forwarding item;
  • adding the sender to the forwarding entry means: adding the identifier of the sender to the forwarding entry.
  • the forwarding device further needs to forward the joining group request to the upstream forwarding device, and the upstream forwarding device creates or updates the forwarding item for the downstream device.
  • the process of sending a join group request by the forwarding device may be: directly forwarding the received join group request, or generating a new join group request and sending the request to the upstream forwarding device after performing corresponding processing according to the received join group request. , that is, it initiates the request by itself.
  • the security of multicast transmission can be further protected by issuing corresponding intra-group keys and/or multicast group identifiers.
  • the multicast group identifier in this embodiment may be any unique identifier, such as a multicast address, or The multicast group number and other pre-agreed identifiers used to identify the multicast group.
  • the multicast address is a different type of address.
  • the multicast address may be Medium access Contro l (MAC) address
  • IP Internet Protocol
  • the multicast address may be an IP address
  • the code is used as the multicast group identifier.
  • the multicast frame also carries the same type of multicast group identifier, and the receiving end can select the corresponding intra-group key.
  • the multicast system, the multicast device, and the multicast method in this embodiment are described in detail below by taking the multicast transmission in the Mesh network as an example.
  • the receiving end of the multicast group is authenticated, and the forwarding entry of the multicast group is created for the receiving end, or the receiving end is added to the forwarding item of the multicast group.
  • the sender can distinguish multiple multicast groups and their forwarding entries based on the multicast group ID.
  • the sending end stores the multicast group information corresponding to each multicast group, including: information of multiple multicast group identifiers, multicast policies, forwarding items, and member lists of multicast groups.
  • the legality of the receiving end is authenticated according to the group information list of the receiving end, so that legal members in the non-integrated group can be prevented from joining the multicast group, thereby reducing the burden on the system.
  • FIG. 3 is a structural diagram of a multicast system according to an embodiment of the present invention.
  • the multicast system in this embodiment includes: a sender 301, a receiver 302, and an authentication server 303.
  • the sending end 301 is configured to: after the receiving end 302 enters the area to which the sending end 301 belongs, request the access authentication information from the receiving end 302; and request the authentication server 303 to perform access authentication on the receiving end 302 according to the response from the receiving end 302.
  • the joined multicast group (that is, whether there is a certain identifier corresponding to the multicast group currently requested to join in the group information list).
  • the receiving end 302 is a legal group member of the multicast group, and the receiving end 302 is added.
  • the forwarding entry of the multicast group (the forwarding entry of the multicast group has been created) or the receiving end 302 Create a new forwarding entry for the multicast group (the receiving end 302 is the first member of the multicast group, and thus the forwarding entry of the multicast group is not created); receiving the multicast frame from the outside, according to the multicast forwarding entry
  • the received multicast frame is sent to the corresponding receiving end.
  • the receiving end 302 is configured to apply for access authentication to the sending end 301 according to the request of the sending end 301;
  • the 301 performs information exchange, provides authentication information to the authentication server 303 through the sender 301, receives an authentication success message from the S sender 301, sends a join group request to the sender 301, and receives a multicast frame from the sender 301.
  • the authentication server 303 is configured to perform information interaction with the sending end 301 according to the request from the sending end 301. Acquiring the authentication information of the receiving end 302, and performing access authentication on the receiving end 302. After the access authentication is passed, the group information list of the receiving end 302 is obtained from the external subscription network, and the information list including the receiving end 302 is sent to the sending end 301. the response to.
  • the sending end 301 may be further configured to: after requesting the multicast group that is currently requested to join in the group information list that is queried to the receiving end 302, request the authentication server 303 to obtain the group information list of the receiving end 302.
  • the obtained group information list may be an updated group information list; the sending end 301 may also obtain the group information list directly from the subscription network or other network device.
  • the sending end group 301 may send an exit multicast group report (hereinafter referred to as an exit group report).
  • the sending end 301 can also update the member list in the multicast group information according to the exit group report from the receiving end 302.
  • the authentication server 303 can also be connected to the contracted network or the contracted network, and can Obtaining the network element of the receiving end 302 group information list from the contracting network.
  • the multicast and multicast transmission in the Mesh network is taken as an example, and the Mesh network called the "multi-hop" network has the feature that each wireless device node can transmit and receive multicast frames. Therefore, the multicast system in this embodiment may further include: a forwarding device 304.
  • the multicast frame received by the sender 301 may be directly from the routing device or from the forwarding device 304. Therefore, the multicast group information in this embodiment further includes: a forwarding device corresponding to each multicast group.
  • the sending end 302 sends a request for the receiving end 302 to join the multicast group to the forwarding device 304 according to the multicast group information; After the receiving end 302 deletes the forwarding entry of the corresponding multicast group, the receiving end 302 determines whether there are other members in the forwarding item, that is, whether the receiving end 302 is the last member of the forwarding item of the multicast group, and if so, Deleting the forwarding item and sending an exit group report to the forwarding device 304;
  • the forwarding device 304 adds the forwarding entry 301 to the forwarding entry of the multicast group according to the joining group request of the sending end 301 (the forwarding entry of the multicast group has been created) or creates a new forwarding entry of the multicast group for the sending end 301. (The sender 301 is the first member of the multicast group, and thus the forwarding entry of the multicast group is not created). According to the exit group report from the sender 301, the sender 301 is forwarded from the corresponding multicast group. Deleted.
  • the sending end 301 can forward the joining group request to the multiple forwarding devices, but only one of the plurality of forwarding devices that have received the group joining request creates a forwarding item for the sending end 301 or adds the sending end 301 to the existing forwarding. In the item. Specifically, the forwarding device creates a forwarding entry or adds the sending end 301 to the existing forwarding entry, which is determined by a routing mechanism preset in the Mesh network.
  • the forwarding device 304 sends a request to the upstream forwarding device of the forwarding device 304 according to the request sent by the sending end 301.
  • the upstream forwarding device that receives the request creates a forwarding entry for its downstream forwarding device or adds its downstream forwarding device. Enter an existing forwarding item.
  • the forwarding device 304 determines whether there are other members in the forwarding entry, that is, determines the sending end. 301 is the last member of the forwarding entry of the multicast group. If yes, the forwarding entry is deleted, and the exit group report is sent to the upstream forwarding device, and the upstream forwarding device that receives the report of the exit group is its downstream forwarding device. Update or delete the forwarding entry. If the corresponding forwarding entry is deleted for its downstream forwarding device, you need to send the exit group report to its upstream forwarding device, and update or delete it step by step.
  • FIG. 4a is a schematic flowchart of a step-by-step forwarding of a join group request according to an embodiment of the present invention.
  • the transmitting end 301 authenticates the receiving end 302 according to the joining group request and the obtained group information list of the receiving end 302, and then creates or updates a forwarding item for the receiving end 302, and forwards the device through the forwarding device.
  • n is a positive integer
  • the join group request is reported step by step, and each forwarding device i (lin) that receives the join group request is updated or created by the downstream forwarding device i-1 (or the sender 301) that sends the request.
  • the forwarding item of the multicast group Corresponding to the forwarding item of the multicast group.
  • FIG. 4b is a schematic flowchart of forwarding a multicast frame step by step according to an embodiment of the present invention.
  • the forwarding device n receives the multicast frame from the multicast source, searches for the forwarding entry corresponding to the multicast group to which the received multicast frame belongs, and sends the multicast frame to the downstream forwarding device i-1.
  • the forwarding device 1 After being sent to the forwarding device 1, the forwarding device 1 searches for the corresponding forwarding item, and sends the multicast frame to the sending end 301.
  • the transmitting end 301 sends the multicast frame to the receiving end 302 according to the corresponding forwarding item.
  • exit group report can also be forwarded step by step.
  • FIG. 4c is a schematic flowchart of a step-by-step forwarding of an exit group report according to an embodiment of the present invention. As shown in Figure 4c, the sender
  • Each forwarding device i ( l i n ) that receives the join group request is a forwarding device that sends the request to the downstream forwarding device i-1 (or the sender 301) to update or delete the corresponding multicast group.
  • the sending end 301 and all the forwarding devices may directly forward the received joining group request, or may generate a new joining group request and send it to the upstream forwarding device after the corresponding processing according to the received joining group request, that is, the active device itself Initiate a request.
  • the transmitting end 301 itself can also serve as a forwarding device of the other transmitting end.
  • the transmitting end 301 also creates, updates, or deletes the forwarding items of the multicast group for the receiving end of the other transmitting end according to the working principle of the forwarding device 304.
  • the transmitting end 301 that is, the multicast device, in this embodiment includes: a transceiver unit 311, an authentication unit 312, and a storage unit 313.
  • the transceiver unit 31 1 is configured to: after the receiving end 302 enters the area where the sending end 301 belongs, the request receiving end 302 is connected. Entering the authentication information; transmitting an access authentication request to the authentication unit 312 according to the response from the receiving end 302; transmitting an authentication success message from the authentication unit 312 to the receiving end 302, and transmitting the joining group request to the forwarding device 304; At the end 302, the join group request and the exit group report are sent to the authentication unit 312; the multicast frame from the outside is received, according to the multicast group forwarding item provided by the storage unit 313 (for example, including all the receivers belonging to the multicast group) The forwarding item information of the related identifier is sent to the receiving end corresponding to the multicast group to which the multicast group belongs.
  • the authentication unit 312 is configured to request the authentication server 303 to perform access authentication on the receiving end 302 according to the joining group request from the transceiver unit 31 1 and request to obtain the group information list; and receive the receiving end 302 from the authentication server 303.
  • the group information list is stored in the storage unit 313, the receiving end 302 is successfully accessed, and the successful access message is sent to the transceiver unit 31 1; And the corresponding group information list is obtained from the storage unit 313, and the multicast group that the current request to join is included in the group information list of the receiving end 302. If yes, the receiving end 302 is determined to be a legal group member of the multicast group.
  • the receiving end 302 is added to the multicast group, and the pre-stored multicast group information including the forwarding item is updated, that is, the receiving end 302 joins the forwarding item of the multicast group (the forwarding item of the multicast group has been created) or is received. End 302 creates a new forwarding entry for the multicast group (the receiving end 302 is the first member of the multicast group, and thus is not created. And the multicast group information is sent to the storage unit 313, and the group success message is sent to the transceiver unit 311. If not, the receiver 302 is determined to be illegal.
  • the member of the group refuses to join the multicast group, sends a join group failure message to the transceiver unit 31 1 , or sends an access authentication request to the authentication server 303 (re-acquires the group information list of the receiver 302); according to the packet from the transceiver unit 31 1
  • the group report and the forwarding item in the multicast group information stored in the storage unit 313 are updated (the corresponding multicast group information in the storage unit 313 is read, updated, and then sent to the storage unit 313 for storage, and the original is deleted.
  • the information is that the receiving end 302 is deleted from the forwarding entry of the corresponding multicast group. If the receiving end 302 is the last member of the multicast group forwarding item, the forwarding item may be deleted.
  • the storage unit 313 stores a list of group information from the authentication unit 312 and provides it to the authentication unit 312.
  • the multicast group information including the forwarding items from the authentication unit 312 is stored and provided to the transceiver unit 31 1 and the authentication unit 312.
  • the authenticating unit 312 can also obtain the group information list directly from the contract network or other network devices. If the group information list of the receiving end includes the multicast group that the user is currently requesting to join, and the authentication unit 312 does not store the multicast group information of the multicast group, for example, the receiving end is the first member of the multicast group, The authentication unit 312 does not create a member list of the multicast group. In this case, the authentication unit 312 generates multicast group information including a multicast group member list and a multicast group identifier, and then provides the multicast group information to the transceiver unit 311.
  • the above-mentioned functional unit may also be included in the forwarding device 304. That is to say, the forwarding device 304 may also serve as a transmitting end of other receiving ends, that is, a multicast device.
  • the forwarding device 304 may be a wireless device node such as a MAP or an MPP. If the forwarding device 304 is an MPP, the multicast frame received by the device may be from a wireless device node in the mesh network as a routing device. It can also come from a router outside the Mesh network.
  • the receiving end first accesses the sending end 1, that is, the sending end 1 is the original transmitting end of the receiving end, receives the multicast frame sent by the sending end 1, and then switches for some reason.
  • To the sender 2, that is, the sender 2 is the current sender of the receiver.
  • the sender 2 does not have the group information list of the receiver, but the group information list of the receiver can be obtained from the network element such as the authentication server 303, and can also be obtained from the sender 1.
  • the sender 1 can exchange some information (including a group information list) or all information about the receiver with the "fast handover mechanism” to the sender 2 through the "fast handover mechanism".
  • the sender 2 initiates a group information list request to the sender 1.
  • the group information list request frame includes: a group information query (Group List Query) information element (Information El ement, IE).
  • the group information list query IE includes information such as the MAC address (STA MAC Addres s) of the receiving end (such as STA).
  • the transmitting end 1 After receiving the request frame as shown in FIG. 5a, the transmitting end 1 sends a group information list response frame to the transmitting end 2.
  • the group information list response frame includes: Group Li st Re sponse IE.
  • the group information list response IE includes a list of group information about the receiving end (such as STA) stored in the transmitting end 1.
  • the group information list is used as an information resource, and is encapsulated in the resource information container data information element (Resource Information Container Data IE) at the originating end of the receiving end and The current sender interacts.
  • Resource Information Container Data IE Resource Information Container Data element
  • the sending end 301 can also send a group information list query frame as shown in FIG. 5a to the original sending end of different receiving ends, requesting to obtain a group information list, and receiving the group information list as shown in FIG. 5c from the original transmitting end of different receiving ends.
  • the information list is sent to the current sender of the receiving end through a group information list response frame as shown in FIG. 5c.
  • a Mesh network node such as MAP
  • the STA is used as the receiving end
  • the AS is used as the authentication server
  • the accessing Mesh network node such as MAP
  • MP the ordinary Mesh network node
  • MPP Me sh network node
  • the multicast method of this embodiment includes Method 1, Method 2, and Method 3.
  • the method 1 is: the STA first applies to the AS to register and register a multicast group, and then applies to the MAP to join the multicast group. After determining that the group information list of the STA includes the multicast group currently applied for, the MAP STA joins a multicast forwarding entry or creates a new multicast forwarding for it. If the group information list of the STA does not include the multicast group that is currently applied for, the network group is denied to join the multicast group.
  • the method 2 is as follows: The MAP does not include the current application in determining the group information list of the STA.
  • the AS applies to the subscription network to obtain the group information list of the STA, that is, updates the group information list of the STA, and authenticates the STA to join the multicast group again through the updated group information list.
  • Method 3 is: After determining that the STA group information list does not include the multicast group currently applied for, the MAP directly requests the subscription network to obtain the group information list of the STA, updates the current list, and passes the updated group information. The list authenticates the STA again.
  • FIG. 6 is a flowchart of a multicast method 1 according to an embodiment of the present invention. As shown in FIG. 6, the multicast method 1 in this embodiment includes the following steps:
  • Step 601 The user of the STA subscribes to register one or more multicast groups in the subscription network through the AS.
  • the foregoing step 601 is a process of opening a new service and registering a multicast group for the user of the STA, and may also be performed after the subsequent step, or concurrently with the subsequent steps.
  • Step 602 The STA wants to access the subscription network to which the MME belongs. Therefore, the MAP sends an identity authentication request to the STA, requesting the STA to apply for access authentication.
  • the identity authentication request may be an 802. IX EAP Request; the MAP may also not send the request to the STA, but the STA sends the access authentication request directly to the MAP, that is, directly performs step 603.
  • Step 603 The STA sends an identity authentication response to the MAP according to the request of the MAP, requesting access authentication.
  • the identity authentication response may be an 802. IX EAP Response.
  • Step 604 The MAP sends an access authentication request to the AS according to the identity authentication response sent by the STA, and requests the STA that accesses the network to perform authentication.
  • the access authentication request may be an EAP Request
  • the EAP Reque st may also be sent to the AS in the Access Request of the RADIUS protocol.
  • Step 605 The AS exchanges information with the STA through the MAP to obtain authentication authentication information of the STA, and authenticates the STA.
  • Step 606 to step 607 after the authentication succeeds, the AS sends a group information list request to the subscription network, requests to obtain the group information list of the authenticated STA, and receives the group information list of the STA from the subscription network.
  • Step 608 The AS sends an access authentication response including the group information list of the STA to the MAP.
  • Step 609 After receiving the access authentication response, the MAP saves the group information list of the STA, and sends an authentication success message to the STA.
  • the authentication success message may be an EAP Succes s message; the MAP may also obtain the group information list of the STA directly from the subscription network; or, the MAP obtains the group information list of the STA from the MAP to which the STA originally belongs.
  • Step 610 When a multicast group needs to be added, the STA sends a join group request to the MAP to request to join a multicast group.
  • the join group request sent by the STA to the MAP may be an IGMP Report (IGMP Report) message based on the Internet Protocol Management (IGMP) protocol, or may be a request message based on the MLD protocol, or may be ACTION frame.
  • IGMP Report IGMP Report
  • MLD protocol Internet Protocol Management
  • Step 611 The MAP queries the internally stored group information list of the STA according to the request of the STA. If the group information list includes the multicast group that the STA is currently applying to join, the MAP approves the request of the STA. If the forwarding group has a forwarding entry, the multicast group information of the multicast group is updated, that is, the forwarding entry of the multicast group is updated, and step 612 is performed; if the STA is the first group member of the multicast group to which the current application is added. Then, a forwarding entry is created for the multicast group, and step 612 is performed.
  • the STA is determined to be an illegal group member.
  • the MAP may also include the multicast group that the STA is currently applying to join in the group information list. And re-acquiring the group information list of the STA to the subscription network, and querying the updated group information list to include the multicast group that the STA is currently applying to join.
  • Step 612 The MAP sends a join group request to its upstream forwarding device, such as a MAP, or MPP, or MP of another STA.
  • its upstream forwarding device such as a MAP, or MPP, or MP of another STA.
  • the join group request sent by the MAP may be an IGMP Report message from the STA, that is, a direct join group request of the STA; or an IGMP Report message generated by the MAP itself.
  • Step 613 The MAP or the MPP or the MP as the forwarding device updates the MAP for sending the request or creates a forwarding entry of the multicast group to which the request is added according to the received join group request.
  • the upstream forwarding device needs to be forwarded up to the routing device or the MPP carrying the router, and the upstream forwarding device updates the downstream forwarding device that sends the group request. Create a forwarding entry for the multicast group to which the STA is currently applied.
  • Steps 614 to 616 after receiving the multicast frame from the routing device, the MPP that is the forwarding device searches for the forwarding entry of the multicast group to which the multicast frame belongs, and sends the received multicast frame according to the forwarded forwarding item. If the MAP that receives the multicast frame is also used as the forwarding device of the other MAP or MP, the MAP also searches for the forwarding entry of the multicast group to which the multicast frame belongs, and receives the forwarding entry according to the forwarded entry. The multicast frame is sent to the corresponding downstream forwarding device until the multicast frame is sent to the corresponding STA.
  • Step 617 When the STA wants to exit a multicast group, send an exit group report to the MAP.
  • Step 618 The MAP updates, according to the report of the STA, a forwarding item of the multicast group that the STA requests to exit, for example, The STA is deleted from the forwarding entry.
  • the forwarding entry of the multicast group includes only the STA, and then the process proceeds to step 619. Otherwise, the process ends after this step. .
  • Step 619 to step 620 the MAP sends an exit group report to its upstream forwarding device, for example, the MAP, MP, or MPP of the other STA, and the MAP or MP or MPP as the forwarding device reports the report according to the received exit group.
  • the MAP updates the forwarding entry of the exiting multicast group, for example, deleting the MAP from the forwarding entry.
  • the forwarding device of the MAP needs to send an exit to the upstream forwarding device.
  • the upstream forwarding device of the forwarding device deletes or updates the forwarding entry of the multicast group according to whether the forwarding device is the last member of the multicast group.
  • each forwarding device can be forwarded up to the MPP of the access routing device, and the upstream forwarding device updates or deletes the forwarding entry of the multicast group that the STA exits for the downstream forwarding device.
  • the STA may also cancel the registered multicast group to the AS; the STA may also perform step 601 to register a new multicast group at any time; after step 620, if the MPP receives the exit group report Then, the forwarding entry of the corresponding multicast group is found. If no STA is used by the STA in the entire mesh network, the exit group report is sent to the router.
  • FIG. 7 is a flow chart of the multicast method 2 in the embodiment of the present invention. As shown in the figure, the multicast method 2 in this embodiment includes the following steps:
  • Step 701 The STA wants to access the subscription network to which the MME belongs. Therefore, the MAP sends an identity authentication request to the STA, requesting the STA to apply for access authentication.
  • the identity authentication request may be an 802. IX EAP Request; the MAP may not send the request to the STA, but the STA sends the access authentication request directly to the MAP, that is, directly performs step 702.
  • Step 702 The STA sends an identity authentication response to the MAP according to the request of the MAP, requesting access authentication.
  • the identity authentication response may be an 802. IX EAP Response.
  • Step 703 The MAP sends an access authentication request to the AS according to the identity authentication response sent by the STA, and requests the STA that accesses the network to perform authentication.
  • the access authentication request may be an EAP Request
  • the EAP Reque st may also be sent to the AS in the Access Request of the RADIUS protocol.
  • Step 704 The AS exchanges information with the STA through the MAP, and obtains authentication authentication information of the STA. Certify.
  • Step 707 The AS sends an access authentication response including the group information list of the STA to the MAP.
  • Step 708 After receiving the access authentication response, the MAP saves the group information list of the STA, and sends an authentication success message to the STA.
  • the authentication success message may be an EAP Succes s message; the MAP may also obtain the group information list of the STA directly from the subscription network; or, the MAP obtains the group information list of the STA from the MAP to which the STA originally belongs.
  • Step 709 The user of the STA subscribes to register one or more multicast groups in the subscription network through the AS.
  • the foregoing step 709 is a process of opening a new service and registering a multicast group for the user of the STA, and may also be performed after the subsequent step or concurrently with the subsequent steps.
  • Step 710 When a multicast group needs to be added, the STA sends a join group request to the MAP to request to join a multicast group.
  • the join group request sent by the STA to the MAP may be an IGMP Report message based on the IGMP protocol, a request message based on the MLD protocol, or an ACT ION frame.
  • Step 711 The MAP queries the internally stored group information list of the STA according to the request of the STA. If the group information list includes the multicast group that the STA currently joins, the request of the STA is approved. If there is a forwarding entry in the joined multicast group, the multicast group information of the multicast group is updated, that is, the forwarding entry of the multicast group is updated, and step 717 is performed; if the STA is the first of the multicast group to which the current application is added. A group member creates a forwarding entry for the multicast group and performs step 717. If the group information list does not include the multicast group that the STA is currently applying to join, the STA is not determined to be an illegal group member but is executed. Step 712.
  • Step 712 to step 715 the MAP sends an access authentication request to the AS, and requests to obtain a group information list of the STA.
  • the AS sends a group information list request to the subscription network, requests to obtain a group information list of the authenticated STA, and receives the group information list from the subscribed network.
  • the STA group information list; the AS sends an access authentication response including the STA group information list to the MAP.
  • the MAP may also re-acquire the group information list of the STA directly to the subscription network; or obtain the group information list from the STA original MAP.
  • Step 716 The MAP updates the group information list of the STA that is stored in the STA according to the group information list of the received STA, and queries the updated group information list to include the multicast group that the STA is currently applying to join. Then, step 717 is performed. Otherwise, the STA is denied to join the multicast group that it is applying to join.
  • Step 717 The MAP sends a join group request to its upstream forwarding device, such as a MAP, or MP, or MPP of another STA.
  • its upstream forwarding device such as a MAP, or MP, or MPP of another STA.
  • the join group request sent by the MAP may be an IGMP Report message from the STA, that is, a direct join group request of the STA; or an IGMP Report message generated by the MAP itself.
  • Step 718 The MAP or the MP or the MPP as the forwarding device updates the STA that sends the request or creates a forwarding entry of the multicast group to which the request is added according to the received join group request.
  • steps 717 to 718 if there are multiple upstream forwarding devices of the MAP, it is required to forward up to the routing device or the MPP carrying the router, and the upstream forwarding device updates the downstream forwarding device that sends the group request. Or create a forwarding entry for the multicast group that the STA is currently applying to join.
  • Steps 719 to 721 after receiving the multicast frame from the routing device, the MPP that is the forwarding device searches for the forwarding entry of the multicast group to which the multicast frame belongs, and sends the received multicast frame according to the forwarded forwarding item. If the MAP that receives the multicast frame is also used as the forwarding device of the other MAP or MP, the MAP also searches for the forwarding entry of the multicast group to which the multicast frame belongs, and receives the forwarding entry according to the forwarded entry. The multicast frame is sent to the corresponding downstream MAP until the multicast frame is sent to the corresponding STA.
  • Step 722 When the STA wants to exit a multicast group, send an exit group report to the MAP.
  • Step 723 The MAP updates, according to the report of the STA, a forwarding item of the multicast group that the STA requests to exit, for example, deleting the STA from the forwarding item.
  • the forwarding entry of the multicast group includes only the STA, and then the process proceeds to step 724. Otherwise, the process ends after this step. .
  • Step 724 to step 725 the MAP sends an exit group report to the upstream forwarding device, and the MAP or MP or MPP as the forwarding device updates the forwarding entry of the multicast group exited by the STA for the MAP that sends the report according to the received exit group report. , for example, remove the MAP from the forwarding entry.
  • the forwarding device of the MAP needs to send an exit to the upstream forwarding device.
  • the upstream forwarding device of the forwarding device deletes or updates the forwarding entry of the multicast group according to whether the forwarding device is the last member of the multicast group.
  • each forwarding device can be forwarded up to the MPP of the access routing device, and the upstream forwarding device updates or deletes the forwarding entry of the multicast group exited by the STA for the downstream forwarding device.
  • the STA may also cancel the registered multicast group to the AS; the STA may also Step 709 is performed at any time to register a new multicast group.
  • the MPP receives the exit group report and finds the forwarding entry of the corresponding multicast group, it is found that none of the STAs in the entire mesh network use the multicast. If it is grouped, it sends an exit group report to the router.
  • FIG. 8 is a flowchart of a multicast method 3 in an embodiment of the present invention. As shown in FIG. 8, the multicast method in this embodiment
  • Step 80 807, the STA wants to access the subscription network to which the MME belongs. Therefore, the MAP sends an identity authentication request to the STA, requesting the STA to apply for access authentication.
  • the STA sends the access authentication to the AS through the MAP according to the request of the MAP.
  • the AS performs the information exchange with the STA through the MAP, obtains the authentication authentication information of the STA, authenticates the STA, and after the authentication succeeds, sends a group information list request to the subscription network, requesting to obtain the group information list of the authenticated STA, and The group information list of the STAs from the contracted network is sent to the MAP through the access authentication response.
  • step 80 f step 807 can be the same as the step 70 f step 707 in the method 2 of the embodiment.
  • Step 808 After receiving the access authentication response, the MAP saves the group information list of the STA, and sends an authentication success message to the STA.
  • the authentication success message may be an EAP Succes s message; the MAP may also obtain the group information list of the STA directly from the subscription network; or, the MAP obtains the group information list of the STA from the MAP to which the STA originally belongs.
  • Step 809 The user of the STA registers one or more multicast groups through the AS in the contracted network.
  • the foregoing step 809 is a process of opening a new service and registering a multicast group for the user of the STA, and may also be performed after the subsequent step or concurrently with the subsequent steps.
  • Step 810 When a multicast group needs to be added, the STA sends a join group request to the MAP to request to join a multicast group.
  • the join group request sent by the STA to the MAP may be an IGMP Report message based on the IGMP protocol, a request message based on the MLD protocol, or an ACT ION frame.
  • Step 811 The MAP queries the internally stored group information list of the STA according to the request of the STA. If the group information list includes the multicast group that the STA is currently applying to join, the MAP approves the request of the STA. If there is a forwarding entry in the broadcast group, the multicast group information of the multicast group is updated, that is, the forwarding entry of the multicast group is updated, and step 815 is performed; if the STA is the first group member of the multicast group to which the current application is added. Then, a forwarding entry is created for the multicast group, and step 815 is performed. If the group information list does not include the multicast group that the STA is currently applying to join, the STA is not determined to be an illegal group member, but step 812 is performed. .
  • Step 812 to step 813 the MAP directly sends a group information list request to the subscription network, requests to obtain a group information list of the authenticated STA, and receives a group information list of the STA from the subscription network.
  • the MAP may also reacquire the group information list of the STA through the AS to the subscription network; or obtain the group information list from the STA original MAP.
  • Step 814 The MAP updates the group information list of the STA that is stored in the STA according to the group information list of the received STA, and queries the updated group information list to include the multicast group that the STA is currently applying to join. Then, go to step 815. Otherwise, the STA is denied to join the multicast group it is applying to join.
  • Step 815 The MAP sends a join group request to its upstream forwarding device, such as a MAP, or MP, or MPP of another STA.
  • its upstream forwarding device such as a MAP, or MP, or MPP of another STA.
  • the join group request sent by the MAP may be an IGMP Report message from the STA, that is, a direct join group request of the STA; or an IGMP Report message generated by the MAP itself.
  • Step 816 The MAP or the MP or the MPP as the forwarding device sends a MAP update for the request or a forwarding entry of the multicast group to which the associated STA applies to join according to the received join group request.
  • the upstream forwarding device needs to be forwarded up to the routing device or the MPP carrying the router, and the upstream forwarding device updates the downstream forwarding device that sends the group request. Or create a forwarding entry for the multicast group that the STA is currently applying to join.
  • Steps 817 to 819 after receiving the multicast frame from the routing device, the MPP that is the forwarding device searches for the forwarding entry of the multicast group to which the multicast frame belongs, and receives the received multicast frame according to the forwarded forwarding item.
  • the MAP is sent to the corresponding MAP. If the MAP that receives the multicast frame is also used as the forwarding device of the other MAP or MP, the MAP also searches for the forwarding entry of the multicast group to which the multicast frame belongs, and receives the forwarding entry according to the forwarded item.
  • the received multicast frame is sent to the corresponding downstream MAP or MP until the multicast frame is sent to the corresponding STA.
  • Step 820 When the STA wants to exit a multicast group, send an exit group report to the MAP.
  • Step 821 The MAP updates, according to the report of the STA, a forwarding item of the multicast group that the STA wants to exit, for example, deleting the STA from the forwarding item.
  • step 822 is continued. Otherwise, the process ends after this step. .
  • Step 822 to step 823 the MAP sends an exit group report to the upstream forwarding device, and the MAP or MP or MPP as the forwarding device updates the forwarding entry of the multicast group exited by the STA for the MAP that sends the report according to the received exit group report. , for example, remove the MAP from the forwarding entry.
  • the MAP is determined.
  • the forwarding device of the MAP needs to send an exit group report to its upstream forwarding device.
  • the upstream forwarding device of the forwarding device deletes or updates the forwarding entry of the multicast group according to whether the forwarding device is the last member of the multicast group.
  • each forwarding device can forward up to the MPP of the access routing device, and the upstream forwarding device updates or deletes the forwarding entry of the multicast group that the STA exits.
  • the STA may also cancel the registered multicast group to the AS; the STA may also perform step 809 to register a new multicast group at any time; after step 823, if the MPP receives the exit group report Then, the forwarding entry of the corresponding multicast group is found. If no STA is used by the STA in the entire mesh network, the exit group report is sent to the router.
  • FIG. 9 is a schematic diagram of implementing multicast transmission in an embodiment of the present invention.
  • the multicast system includes: MPP, ⁇ ⁇ 2 > ⁇ ⁇ 4 STA1 ⁇ STA6.
  • MAPI mouth MAP2 is connected to MP1, MAP3 mouth MAP4 is connected to MP2;
  • STA1 and STA2 are connected to MAPU STA3 to MAP2,
  • STA4 is connected to MAP3;
  • STA5 and STA6 are connected to MAP4;
  • STA1, STA3 and STA5 is a member of the a multicast group, and STA2, STA4, and STA6 are members of the b multicast group.
  • STA3 is not a legal member of the multicast group it requests.
  • MAP2 refuses to send STA3 to MP1 (directly forwards the received message, or generates a new message and sends it).
  • IGMP report other nodes in the network do not need to send. The IGMP report reduces the burden on the nodes and reduces the occupation of network bandwidth.
  • MAP2 does not authenticate STA3, it directly creates or adds STA3 to the b-group forwarding entry according to the IGMP report sent by STA3, and then forwards the IGMP report to MP1. After receiving the report, MP1 finds that There are forwarding entries for group b, so MAP2 is added to the list of forwarding entries for its group b.
  • an intra-group key may be generated for each multicast group, the multicast frame is encrypted by using the intra-group key, and the intra-group key and the multicast group identifier are sent to
  • the receiving end in the corresponding multicast group that is, the receiving end that authenticates, the receiving end in the multicast group decrypts the received multicast frame by using the same intra-group key according to the multicast group identifier.
  • the implementation principle can be the same as that of the first embodiment.

Abstract

A multicast method is provided. The method includes the following steps: according to a join group request of a receiver, a sender performs an authentication for the receiver requesting to join the multicast group; the sender adds the authenticated receiver to a forward item corresponding to the multicast group that the sender requests for the join, and transmits the join group request to a forward device; the forward device adds the sender to the forward item corresponding to the multicast group that the sender requests for join according to the join group request from the sender. A multicast system and a multicast device are also provided.The sender performs the authentication for the receiver requesting to join the multicast group, and updates or creates the forward item for the receiver after the pass of the authentication, then reports the join group request to the upstream forward devices stage by stage, and every upstream forward device updates or creates the corresponding forward item for the downstream forward device or the sender.

Description

组播方法和组播系统以及组播设备 技术领域  Multicast method and multicast system and multicast device
本发明涉及无线通信中的数据传输技术,特别涉及组播方法和组播系统以及组播设 备。  The present invention relates to data transmission techniques in wireless communication, and more particularly to a multicast method and a multicast system and a multicast device.
 Say
背景技术 Background technique
组播 (Multicast) 是介于单播和广播之间的一种数据传输方式, 即数据帧的目的 地址为一个组播地址,且发送端只将数据帧传送给属于组播组的多个接收端。无线通信 中, 组播与单播的区别在于, 组播仅发送数据的一书个副本; 与广播的区别在于, 组播流 量仅由属于组播组成员的监听设备进行接收和处理。对于这种一对多的数据传输, 组播 要比单播和广播更为高效。  Multicast is a data transmission method between unicast and broadcast. That is, the destination address of the data frame is a multicast address, and the sender only transmits the data frame to multiple receivers belonging to the multicast group. end. In wireless communication, the difference between multicast and unicast is that multicast only sends a copy of a book of data; the difference from broadcast is that the multicast traffic is only received and processed by the listening device belonging to the multicast group member. For this one-to-many data transmission, multicast is more efficient than unicast and broadcast.
以无线网状(Mesh) 网络中进行组播传输为例, 由于该网络中的任何无线设备节点 都可以同时作为 Mesh网络节点 (例如, MP(Mesh Point)、 MN(Mesh Node) ) 或路由器, 因此每个节点都可以与一个或多个对等节点进行通信,并收发数据。基于上述原理, Mesh 网络也被称为 "多跳(腿 lti-hop) "网络。 然而, 在 Mesh网络中没有对 STA加入组播 组进行控制的机制, 所有 STA均可以随意加入到各组播组中, 这种情况下, 在下发组播 帧时会出现组播泛洪现象。  For example, in a wireless mesh network, any wireless device node can be used as a Mesh network node (for example, MP (Mesh Point), MN (Mesh Node)) or router. Thus each node can communicate with one or more peer nodes and send and receive data. Based on the above principles, the Mesh network is also known as the "multi-hop (lti-hop)" network. However, in the Mesh network, there is no mechanism for the STA to join the multicast group. All the STAs can be added to each multicast group. In this case, multicast flooding occurs when the multicast frame is delivered.
例如, 已加入组播组 c的 STA希望加入组播组 a, 则该 STA向交换机, 即具有接入 (Access) 能力的 Mesh 网络节点 (例如, MAP) 请求加入组播组 a, 具有接入能力的 Mesh 网络节点为该 STA创建组播组 a对应的组播转发项, 并向路由器, 即增加了出口 (Portal) 功能的 Mesh网络节点 (例如, MPP) 或 Mesh网络外的路由设备, 请求创建 相应的组播转发项, 路由器再根据 MAP的请求创建组播转发项。  For example, if the STA that has joined the multicast group c wants to join the multicast group a, the STA requests to join the multicast group a to the switch, that is, the Mesh network node (for example, MAP) with access capability. The Mesh network node of the capability creates a multicast forwarding entry corresponding to the multicast group a for the STA, and requests the router, that is, the Mesh network node (for example, MPP) or the routing device outside the Mesh network that has added the portal function. A multicast forwarding entry is created, and the router creates a multicast forwarding entry based on the MAP request.
可见, 具有接入能力的 Mesh 网络节点、 增加了出口 (Portal) 功能的 Mesh 网络 节点和路由设备并不对请求加入组播组的 STA作认证,只要 STA发出请求就为其创建组 播转发项, 并将组播数据帧进行转发。 因此, 按照现有的组播方式进行组播传输, 容易 引起组播泛洪。如果所有的 STA加入了所有的组播组, 甚至使得组播不是组播, 而是广 播。  It can be seen that the Mesh network node with the access capability, the Mesh network node and the routing device that have added the portal function do not authenticate the STA that requests to join the multicast group, and the STA creates a multicast forwarding entry for the STA. The multicast data frame is forwarded. Therefore, multicast transmission according to the existing multicast mode is likely to cause multicast flooding. If all STAs join all multicast groups, even multicast is not multicast, but broadcast.
这就为 Mesh网络增加了大量不必要的负担,还严重影响到了系统的安全性。而且, Mesh网络是无线传输环境, 并不能像有线网络一样采用端口控制等一些方式来控制组 播泛洪, 因此组播泛洪的危害在 Mesh网络中显得更为突出。 This adds a lot of unnecessary burden to the Mesh network and seriously affects the security of the system. Moreover, the Mesh network is a wireless transmission environment, and it cannot use the port control and other methods to control the group like the wired network. Broadcasting floods, so the danger of multicast flooding is more prominent in Mesh networks.
由此可见, 现有的组播技术在传输组播帧时, 为系统增加了不必要的负担, 且不能 有效地保证组播的安全性, 从而使得组播的可靠性较低。 发明内容  It can be seen that the existing multicast technology adds unnecessary burden to the system when transmitting multicast frames, and cannot effectively guarantee the security of the multicast, so that the reliability of the multicast is low. Summary of the invention
有鉴于此, 本发明实施例的一个主要目的在于, 提供一种组播方法, 能够有效抑制 组播泛洪, 减少网络负担, 提高组播的可靠性。  In view of this, a main purpose of the embodiments of the present invention is to provide a multicast method, which can effectively suppress multicast flooding, reduce network burden, and improve multicast reliability.
本发明实施例的另一个主要目的在于,提供一种组播系统,能够有效抑制组播泛洪, 减少网络负担, 提高组播的可靠性。  Another main object of the embodiments of the present invention is to provide a multicast system, which can effectively suppress multicast flooding, reduce network load, and improve multicast reliability.
本发明实施例的再一个主要目的在于,提供一种组播设备,能够有效抑制组播泛洪, 减少网络负担, 提高组播的可靠性。  A further main object of the embodiments of the present invention is to provide a multicast device, which can effectively suppress multicast flooding, reduce network load, and improve multicast reliability.
根据上述的一个主要目的, 本发明实施例提供了一种组播方法, 包括以下步骤: 发送端根据接收端的加入组播组请求, 对请求加入组播组的接收端进行认证; 发送端将认证通过的接收端添加到其请求加入的组播组对应的转发项中,并向转发 设备发送加入组播组请求; 其中, 所述转发设备根据来自发送端的加入组播组请求, 将 该发送端添加到其请求加入的组播组对应的转发项中。  According to a main object of the present invention, the embodiment of the present invention provides a multicast method, including the following steps: The sending end authenticates the receiving end that requests to join the multicast group according to the request of the receiving end to join the multicast group; The receiving end is added to the forwarding entry corresponding to the multicast group that it is requesting to join, and sends a request to join the multicast group to the forwarding device. The forwarding device sends the multicast group request according to the request from the sending end. Add to the forwarding entry corresponding to the multicast group it is requesting to join.
根据上述的另一个主要目的, 本发明实施例提供了一种组播系统, 包括: 接收端、 发送端和转发设备, 其中,  According to another main object of the present invention, an embodiment of the present invention provides a multicast system, including: a receiving end, a sending end, and a forwarding device, where
所述接收端, 用于向发送端发送加入组播组请求, 请求加入组播组;  The receiving end is configured to send a join multicast group request to the sending end, requesting to join the multicast group;
所述发送端,用于根据来自所述接收端的加入播组组请求, 对请求加入组播组的接 收端进行认证; 将认证通过的接收端添加到其请求加入的组播组对应的转发项中, 即更 新或创建转发项, 并向转发设备发送加入组播组请求;  The sending end is configured to authenticate the receiving end that requests to join the multicast group according to the joining group request from the receiving end, and add the receiving end that is authenticated to the forwarding item corresponding to the multicast group that it is requesting to join. Medium, that is, update or create a forwarding entry, and send a join multicast group request to the forwarding device;
所述转发设备, 用于根据来自所述发送端的加入组播组请求,将该发送端添加到其 请求加入的组播组对应的转发项中。  The forwarding device is configured to add the sending end to the forwarding item corresponding to the multicast group that the requesting party joins according to the joining multicast group request from the sending end.
根据上述的再一个主要目的, 本发明实施例提供了一种组播设备, 包括- 收发单元, 接收来自外部的加入组播组请求, 并提供给认证单元; 接收认证单元提 供的认证结果, 向转发设备发送加入组播组请求;  According to still another main object of the present invention, an embodiment of the present invention provides a multicast device, including: a transceiver unit, receiving a request for joining a multicast group from the outside, and providing the request to the authentication unit; receiving the authentication result provided by the authentication unit, The forwarding device sends a request to join the multicast group;
认证单元, 接收收发单元提供的加入组播组请求, 对该请求进行认证, 将认证通过 的接收端添加到其请求加入的组播组对应的转发项中, 并将认证结果提供给收发单元。  The authentication unit receives the multicast group request provided by the transceiver unit, authenticates the request, adds the receiving end of the authentication to the forwarding item corresponding to the multicast group to which the request is made, and provides the authentication result to the transceiver unit.
由上述技术方案可见,发送端对请求加入组播组的接收端进行认证, 并在认证通过 后为该接收端更新或创建转发项,然后逐级向上游转发设备上报加入组播组请求, 每个 上游转发设备再为其下游转发设备或发送端更新或创建对应的转发项,使得系统中不会 有任何设备为非法接收端传输组播帧, 从而抑制了网络中的组播泛洪, 降低了系统的负 担, 提高组播传输的可靠性。 As shown in the above technical solution, the transmitting end authenticates the receiving end that requests to join the multicast group, and then updates or creates a forwarding entry for the receiving end after the authentication is passed, and then reports the multicast group request to the upstream forwarding device. The upstream forwarding device updates or creates a corresponding forwarding entry for its downstream forwarding device or sender, so that the system does not Any device transmits multicast frames to the illegal receiving end, which suppresses multicast flooding in the network, reduces the burden on the system, and improves the reliability of multicast transmission.
附图说明 DRAWINGS
图 1为本发明实施例中组播系统的示例性结构图。  FIG. 1 is a schematic structural diagram of a multicast system according to an embodiment of the present invention.
图 2为本发明实施例中组播方法的示例性流程图。  FIG. 2 is an exemplary flowchart of a multicast method in an embodiment of the present invention.
图 3为本发明实施例中组播系统的结构图。  FIG. 3 is a structural diagram of a multicast system according to an embodiment of the present invention.
图 (4 a c ) 为本发明实施例中逐级转发的流程示意图。  The figure (4 a c ) is a schematic flowchart of the step-by-step forwarding in the embodiment of the present invention.
图 (5 a^5d ) 为本发明实施例中组信息列表相关消息的结构示意图。  Figure 5 (5 a^5d) is a schematic structural diagram of a group information list related message in the embodiment of the present invention.
图 6为本发明实施例中组播方法 1的流程图。  FIG. 6 is a flowchart of a multicast method 1 according to an embodiment of the present invention.
图 7为本发明实施例中组播方法 2的流程图。  Figure 7 is a flow chart of the multicast method 2 in the embodiment of the present invention.
图 8为本发明实施例中组播方法 3的流程图。  FIG. 8 is a flowchart of a multicast method 3 in an embodiment of the present invention.
图 9为本发明实施例中实现组播传输的示意图。  FIG. 9 is a schematic diagram of implementing multicast transmission in an embodiment of the present invention.
具体实施方式 detailed description
为使本发明实施例的目的、技术方案及优点更加清楚明白, 以下参照附图并举实施 例, 对本发明进一步详细说明。  The present invention will be further described in detail below with reference to the accompanying drawings.
本发明实施例中,发送端对请求加入组播组的接收端进行认证, 并在认证通过后为 该接收端更新或创建转发项,然后逐级向上游转发设备上报加入组播组请求(以下简称 加入组请求), 每个上游转发设备再为其下游转发设备或发送端更新或创建对应的转发 项, 使得系统中不会有任何设备为非法接收端传输组播帧。  In the embodiment of the present invention, the transmitting end authenticates the receiving end that requests to join the multicast group, and after the authentication is passed, updates or creates a forwarding entry for the receiving end, and then reports the multicast group request to the upstream forwarding device step by step. Referring to the group join request, each upstream forwarding device updates or creates a corresponding forwarding entry for its downstream forwarding device or sender, so that no device in the system transmits multicast frames for the illegal receiver.
图 1为本发明实施例中组播系统的示例性结构图。如图 1所示,本实施例中的组播 系统包括: 接收端、 发送端和至少一个转发设备。  FIG. 1 is a schematic structural diagram of a multicast system according to an embodiment of the present invention. As shown in FIG. 1, the multicast system in this embodiment includes: a receiving end, a sending end, and at least one forwarding device.
接收端, 向发送端发送加入组请求, 请求加入组播组;  The receiving end sends a join group request to the sending end to request to join the multicast group.
发送端, 根据来自接收端的加入组请求, 对请求加入组播组的接收端进行认证; 将 认证通过的接收端添加到其请求加入的组播组对应的转发项中, 即更新或创建转发项, 并向转发设备发送加入组请求;  The sender, according to the join group request from the receiver, authenticates the receiver that requests to join the multicast group; adds the receiver that passes the authentication to the forwarding entry corresponding to the multicast group that it is requesting to join, that is, updates or creates a forwarding entry. And sending a join group request to the forwarding device;
转发设备,根据来自发送端的加入组请求,将该发送端添加到其请求加入的组播组 对应的转发项中。  The forwarding device adds the sender to the forwarding entry corresponding to the multicast group it is requesting to join according to the join group request from the sender.
实际应用中,如果转发设备为多级,则转发设备还需要在更新或创建了转发项之后, 逐级向其上游转发设备转发加入组请求,由其上游转发设备为下游设备创建或更新转发 项;发送端和转发设备发送加入组请求的过程可以为:直接将接收到的加入组请求转发, 也可以为在根据接收到的加入组请求进行相应处理后,生成新的加入组请求并向其上游 转发设备发送, 即自身主动发起请求。 In actual applications, if the forwarding device is in multiple levels, the forwarding device needs to update or create a forwarding item. The process of forwarding the join group is forwarded to the upstream forwarding device, and the upstream forwarding device creates or updates the forwarding entry for the downstream device. The process of sending the join group request by the sending end and the forwarding device may be: directly forwarding the received joining group request. After the corresponding processing is performed according to the received join group request, a new join group request is generated and sent to the upstream forwarding device, that is, the initiative initiates the request.
在允许接收端加入组播组后,发送端进一步将来自外部组播源的组播帧发送给相应 组播组的接收端。  After the receiving end joins the multicast group, the sending end further sends the multicast frame from the external multicast source to the receiving end of the corresponding multicast group.
具体来说, 上述系统中作为组播设备的发送端包括: 认证单元和收发单元。  Specifically, the transmitting end of the system as a multicast device includes: an authentication unit and a transceiver unit.
收发单元, 接收外部接收端发送的加入组请求, 并提供给认证单元; 接收认证单元 提供的认证结果,将认证通过的接收端添加到其请求加入的组播组对应的转发项中, 即 更新或创建转发项, 并向转发设备发送加入组请求;  The transceiver unit receives the join group request sent by the external receiver and provides the authentication unit, and receives the authentication result provided by the authentication unit, and adds the receiving end that is authenticated to the forwarding item corresponding to the multicast group that it is requesting to join, that is, the update Or create a forwarding entry and send a join group request to the forwarding device;
认证单元,接收收发单元提供的加入组请求,对请求加入组播组的接收端进行认证, 并将认证结果提供给收发单元。  The authentication unit receives the join group request provided by the transceiver unit, authenticates the receiver that requests to join the multicast group, and provides the authentication result to the transceiver unit.
上述组播设备中, 认证单元可以根据获取的组信息列表来进行认证。  In the above multicast device, the authentication unit may perform authentication according to the obtained group information list.
图 2为本发明实施例中组播方法的示例性流程图。如图 2所示,本实施例中的组播 方法包括以下步骤:  FIG. 2 is an exemplary flowchart of a multicast method in an embodiment of the present invention. As shown in FIG. 2, the multicast method in this embodiment includes the following steps:
步骤 201, 根据接收端的加入组请求, 对请求加入组播组的接收端进行认证; 步骤 202, 将认证通过的接收端添加到其请求加入的组播组对应的转发项中, 即更 新或创建转发项, 并向转发设备发送加入组请求;  In step 201, the receiving end that requests to join the multicast group is authenticated according to the joining group request of the receiving end. Step 202: Add the receiving end that is authenticated to the forwarding item corresponding to the multicast group that it is requesting to join, that is, update or create Forwarding the item, and sending a join group request to the forwarding device;
本步骤中, 将接收端添加到转发项中是指: 在转发项中增加该接收端的标识; 步骤 203, 根据来自发送端的加入组请求, 将该发送端添加到其请求加入的组播组 对应的转发项中;  In this step, adding the receiving end to the forwarding item means: adding the identifier of the receiving end to the forwarding item; Step 203: Adding the sending end to the multicast group to which the requesting party joins according to the joining group request from the sending end In the forwarding item;
本步骤中, 将发送端添加到转发项中是指: 在转发项中增加该发送端的标识。 上述流程中, 如果转发设备为多级, 则在歩骤 203之后, 转发设备还需要逐级向其 上游转发设备转发加入组请求, 由上游转发设备为下游设备创建或更新转发项; 发送端 和转发设备发送加入组请求的过程可以为: 直接将接收到的加入组请求转发, 也可以为 在根据接收到的加入组请求进行相应处理后,生成新的加入组请求并向其上游转发设备 发送, 即自身主动发起请求。  In this step, adding the sender to the forwarding entry means: adding the identifier of the sender to the forwarding entry. In the foregoing process, if the forwarding device is in multiple stages, after the step 203, the forwarding device further needs to forward the joining group request to the upstream forwarding device, and the upstream forwarding device creates or updates the forwarding item for the downstream device. The process of sending a join group request by the forwarding device may be: directly forwarding the received join group request, or generating a new join group request and sending the request to the upstream forwarding device after performing corresponding processing according to the received join group request. , that is, it initiates the request by itself.
以上是对本发明实施例中组播系统、 组播设备和组播方法的总体说明。  The above is a general description of the multicast system, the multicast device, and the multicast method in the embodiment of the present invention.
在本实施例也可以通过下发相应的组内密钥和 /或组播组标识, 进一步保护组播传 输的安全性。  In this embodiment, the security of multicast transmission can be further protected by issuing corresponding intra-group keys and/or multicast group identifiers.
其中, 本实施例中的组播组标识可以为任何具有唯一性的标识, 例如组播地址、或 者组播组编号以及其他预先约定的用于标识组播组的任意代码等标识。当本发明的技术 方案用于不同的无线环境时, 组播地址为不同类型的地址, 例如, 当本发明的技术方案 应用于数据链路层, 即网络层第二层时, 组播地址可以为媒体接入控制(Medium Access Contro l , MAC) 地址; 当本发明的技术方案应用于互联网协议 (Internet Protocol , IP)层时, 组播地址可以为 IP地址; 也可以预先为组播组设定代码, 作为组播组标识。 而组播帧中也携带相同类型的组播组标识, 接收端可以以此来选择对应的组内密钥。 The multicast group identifier in this embodiment may be any unique identifier, such as a multicast address, or The multicast group number and other pre-agreed identifiers used to identify the multicast group. When the technical solution of the present invention is used in different wireless environments, the multicast address is a different type of address. For example, when the technical solution of the present invention is applied to the data link layer, that is, the second layer of the network layer, the multicast address may be Medium access Contro l (MAC) address; when the technical solution of the present invention is applied to the Internet Protocol (IP) layer, the multicast address may be an IP address; The code is used as the multicast group identifier. The multicast frame also carries the same type of multicast group identifier, and the receiving end can select the corresponding intra-group key.
下面, 以在 Mesh网络中进行组播传输为例, 对本实施例中的组播系统、 组播设备 和组播方法进行详细说明。  The multicast system, the multicast device, and the multicast method in this embodiment are described in detail below by taking the multicast transmission in the Mesh network as an example.
本实施例中,对请求加入组播组的接收端进行认证, 并根据认证结果决定是否为该 接收端创建该组播组的转发项, 或者将该接收端加入到该组播组的转发项。发送端可以 根据组播组标识区分多个组播组及其转发项。  In this embodiment, the receiving end of the multicast group is authenticated, and the forwarding entry of the multicast group is created for the receiving end, or the receiving end is added to the forwarding item of the multicast group. . The sender can distinguish multiple multicast groups and their forwarding entries based on the multicast group ID.
这样, 在本实施例中, 发送端存储每一个组播组对应的组播组信息, 包括: 多个组 播组标识、 组播策略、 转发项以及组播组的成员列表等信息。  Thus, in this embodiment, the sending end stores the multicast group information corresponding to each multicast group, including: information of multiple multicast group identifiers, multicast policies, forwarding items, and member lists of multicast groups.
本实施例能够根据接收端的组信息列表对接收端的合法性进行认证,从而避免非组 播组内的合法成员加入组播组, 降低系统的负担。  In this embodiment, the legality of the receiving end is authenticated according to the group information list of the receiving end, so that legal members in the non-integrated group can be prevented from joining the multicast group, thereby reducing the burden on the system.
图 3为本发明实施例中组播系统的结构图。如图 3所示,本实施例中的组播系统包 括: 发送端 301、 接收端 302和认证服务器 303。  FIG. 3 is a structural diagram of a multicast system according to an embodiment of the present invention. As shown in FIG. 3, the multicast system in this embodiment includes: a sender 301, a receiver 302, and an authentication server 303.
发送端 301, 用于在接收端 302进入发送端 301所属区域后, 向接收端 302请求接 入认证信息; 根据来自接收端 302的响应, 向认证服务器 303请求对接收端 302进行接 入认证, 并请求获取组信息列表; 与接收端 302和认证服务器 303进行信息交互, 将接 收端 302的认证信息提供给认证服务器 303 ; 接收来自认证服务器 303的, 包括接收端 302组信息列表的响应, 存储接收端 302的组信息列表, 确认接收端 302成功接入, 并 向接收端 302发送成功接入消息; 根据来自接收端 302的加入组请求, 查询接收端 302 的组信息列表中是否存在当前请求加入的组播组(即组信息列表中是否有当前请求加入 的组播组对应的某一标识) , 如果存在, 则判断接收端 302为该组播组的合法组成员, 将接收端 302加入该组播组的转发项 (该组播组的转发项已创建) 或者为接收端 302 创建新的该组播组的转发项(接收端 302为该组播组的第一个成员, 因而未创建该组播 组的转发项); 接收来自外部的组播帧, 根据组播转发项将接收到的组播帧发送给对应 的接收端。  The sending end 301 is configured to: after the receiving end 302 enters the area to which the sending end 301 belongs, request the access authentication information from the receiving end 302; and request the authentication server 303 to perform access authentication on the receiving end 302 according to the response from the receiving end 302. And requesting to obtain the group information list; performing information exchange with the receiving end 302 and the authentication server 303, and providing the authentication information of the receiving end 302 to the authentication server 303; receiving the response from the authentication server 303, including the receiving end 302 group information list, and storing Receiving the group information list of the receiving end 302, confirming that the receiving end 302 successfully accesses, and sending a successful access message to the receiving end 302; and querying whether the current request exists in the group information list of the receiving end 302 according to the joining group request from the receiving end 302. The joined multicast group (that is, whether there is a certain identifier corresponding to the multicast group currently requested to join in the group information list). If yes, the receiving end 302 is a legal group member of the multicast group, and the receiving end 302 is added. The forwarding entry of the multicast group (the forwarding entry of the multicast group has been created) or the receiving end 302 Create a new forwarding entry for the multicast group (the receiving end 302 is the first member of the multicast group, and thus the forwarding entry of the multicast group is not created); receiving the multicast frame from the outside, according to the multicast forwarding entry The received multicast frame is sent to the corresponding receiving end.
接收端 302, 用于根据发送端 301的请求, 向发送端 301申请接入认证; 与发送端 The receiving end 302 is configured to apply for access authentication to the sending end 301 according to the request of the sending end 301;
301进行信息交互, 将认证信息通过发送端 301提供给认证服务器 303 ; 接收来 S发送 端 301的认证成功消息;向发送端 301发送加入组请求;接收来自发送端 301的组播帧。 301 performs information exchange, provides authentication information to the authentication server 303 through the sender 301, receives an authentication success message from the S sender 301, sends a join group request to the sender 301, and receives a multicast frame from the sender 301.
认证服务器 303, 用于根据来自发送端 301的请求, 与发送端 301进行信息交互, 获取接收端 302的认证信息, 并对接收端 302进行接入认证; 在接入认证通过后, 从外 部签约网络获取接收端 302的组信息列表,向发送端 301发送包括接收端 302组信息列 表的响应。 The authentication server 303 is configured to perform information interaction with the sending end 301 according to the request from the sending end 301. Acquiring the authentication information of the receiving end 302, and performing access authentication on the receiving end 302. After the access authentication is passed, the group information list of the receiving end 302 is obtained from the external subscription network, and the information list including the receiving end 302 is sent to the sending end 301. the response to.
实际应用中,发送端 301还可以用于在查询到接收端 302的组信息列表中不存在当 前请求加入的组播组之后, 向认证服务器 303请求获取接收端 302的组信息列表,此时 请求获取的组信息列表可能是更新后的组信息列表;发送端 301还可以直接从签约网络 或者其他网络设备获取组信息列表。  In an actual application, the sending end 301 may be further configured to: after requesting the multicast group that is currently requested to join in the group information list that is queried to the receiving end 302, request the authentication server 303 to obtain the group information list of the receiving end 302. The obtained group information list may be an updated group information list; the sending end 301 may also obtain the group information list directly from the subscription network or other network device.
当接收端 302退出当前组播组时, 可以向发送端 301发送退出组播组报告(以下简 称退出组报告) 。  When the receiving end 302 exits the current multicast group, the sending end group 301 may send an exit multicast group report (hereinafter referred to as an exit group report).
在这种情况下, 发送端 301还可以根据来自接收端 302的退出组报告, 更新组播组 信息中的成员列表; 认证服务器 303也可以为其它与签约网络连接或者签约网络中的, 并能够从签约网络获取接收端 302组信息列表的网元。  In this case, the sending end 301 can also update the member list in the multicast group information according to the exit group report from the receiving end 302. The authentication server 303 can also be connected to the contracted network or the contracted network, and can Obtaining the network element of the receiving end 302 group information list from the contracting network.
由于本实施例以在 Mesh网络中进行组播和组播传输为例, 而称为 "多跳" 网络的 Mesh网络又具有每个无线设备节点都可以进行组播帧的收发和路由的特点。 因此, 本 实施例的组播系统中还可以包括: 转发设备 304。  As an example, the multicast and multicast transmission in the Mesh network is taken as an example, and the Mesh network called the "multi-hop" network has the feature that each wireless device node can transmit and receive multicast frames. Therefore, the multicast system in this embodiment may further include: a forwarding device 304.
这样, 发送端 301接收到的组播帧可以是直接来自路由设备, 也可以来自转发设备 304。 因此, 本实施例中的组播组信息中, 还包括: 每个组播组对应的转发设备。  Thus, the multicast frame received by the sender 301 may be directly from the routing device or from the forwarding device 304. Therefore, the multicast group information in this embodiment further includes: a forwarding device corresponding to each multicast group.
发送端 301判断接收端 302为该组播组的合法组成员后,根据组播组信息,将接收 端 302加入组播组的请求发送给转发设备 304 ; 根据接收端 302的退出组报告将该接收 端 302从对应的组播组的转发项中删除后, 判断该转发项中是否还有其他成员, 即判断 接收端 302是否为该组播组的转发项中最后一个成员, 如果是, 则删除该转发项, 并向 转发设备 304发送退出组报告;  After the receiving end 301 determines that the receiving end 302 is a legal group member of the multicast group, the sending end 302 sends a request for the receiving end 302 to join the multicast group to the forwarding device 304 according to the multicast group information; After the receiving end 302 deletes the forwarding entry of the corresponding multicast group, the receiving end 302 determines whether there are other members in the forwarding item, that is, whether the receiving end 302 is the last member of the forwarding item of the multicast group, and if so, Deleting the forwarding item and sending an exit group report to the forwarding device 304;
转发设备 304根据发送端 301的加入组请求,将发送端 301加入该组播组的转发项 (该组播组的转发项已创建) 或者为发送端 301创建新的该组播组的转发项 (发送端 301为该组播组的第一个成员, 因而未创建该组播组的转发项) ; 根据来自发送端 301 的退出组报告, 将发送端 301从对应的组播组的转发项中删除。  The forwarding device 304 adds the forwarding entry 301 to the forwarding entry of the multicast group according to the joining group request of the sending end 301 (the forwarding entry of the multicast group has been created) or creates a new forwarding entry of the multicast group for the sending end 301. (The sender 301 is the first member of the multicast group, and thus the forwarding entry of the multicast group is not created). According to the exit group report from the sender 301, the sender 301 is forwarded from the corresponding multicast group. Deleted.
其中, 发送端 301可以向多个转发设备转发加入组请求,但接收到加入组请求的多 个转发设备中只有一个转发设备会为发送端 301创建转发项或将发送端 301加入到已有 转发项中。具体由哪一个转发设备创建转发项或将发送端 301加入到已有转发项中, 由 Mesh网络中预先设置的路由机制来确定。  The sending end 301 can forward the joining group request to the multiple forwarding devices, but only one of the plurality of forwarding devices that have received the group joining request creates a forwarding item for the sending end 301 or adds the sending end 301 to the existing forwarding. In the item. Specifically, the forwarding device creates a forwarding entry or adds the sending end 301 to the existing forwarding entry, which is determined by a routing mechanism preset in the Mesh network.
如果发送端 301需要通过多个转发设备才能够接收到来自组播源的组播帧,则转发 设备 304会根据发送端 301发送的请求,逐级向该转发设备 304的上游转发设备发送请 求,接收到请求的上游转发设备即为其下游转发设备创建转发项或将其下游转发设备加 入已有转发项。 If the sending end 301 needs to pass the multiple forwarding devices to receive the multicast frame from the multicast source, the forwarding device 304 sends a request to the upstream forwarding device of the forwarding device 304 according to the request sent by the sending end 301. The upstream forwarding device that receives the request creates a forwarding entry for its downstream forwarding device or adds its downstream forwarding device. Enter an existing forwarding item.
这种情况下,根据退出组报告更新转发项时,转发设备 304在将发送端 301从对应 的组播组的转发项中删除之后, 判断该转发项中是否还有其他成员, 即判断发送端 301 是否为该组播组的转发项中最后一个成员, 如果是, 则刪除该转发项, 并向其上游转发 设备发送退出组报告,接收到退出组报告的上游转发设备即为其下游转发设备更新或删 除转发项, 如果为其下游转发设备删除了对应的转发项, 则需向其上游转发设备发送退 出组报告, 逐级更新或删除。  In this case, when the forwarding entry is updated according to the exit group report, after the forwarding device 301 deletes the forwarding entry from the corresponding multicast group, the forwarding device 304 determines whether there are other members in the forwarding entry, that is, determines the sending end. 301 is the last member of the forwarding entry of the multicast group. If yes, the forwarding entry is deleted, and the exit group report is sent to the upstream forwarding device, and the upstream forwarding device that receives the report of the exit group is its downstream forwarding device. Update or delete the forwarding entry. If the corresponding forwarding entry is deleted for its downstream forwarding device, you need to send the exit group report to its upstream forwarding device, and update or delete it step by step.
图 4a为本发明实施例中逐级转发加入组请求的流程示意图。如图 4a所示,发送端 301根据接收端 302的加入组请求和获取的组信息列表对该接收端 302认证通过后, 为 接收端 302创建或更新转发项, 并通过转发设备广转发设备 n ( n为正整数) , 逐级上 报加入组请求, 每一个接收到加入组请求的转发设备 i ( l i n ) , 均为发送该请求 的下游转发设备 i-1 (或发送端 301 ) 更新或创建对应组播组的转发项。  FIG. 4a is a schematic flowchart of a step-by-step forwarding of a join group request according to an embodiment of the present invention. As shown in FIG. 4a, the transmitting end 301 authenticates the receiving end 302 according to the joining group request and the obtained group information list of the receiving end 302, and then creates or updates a forwarding item for the receiving end 302, and forwards the device through the forwarding device. (n is a positive integer), the join group request is reported step by step, and each forwarding device i (lin) that receives the join group request is updated or created by the downstream forwarding device i-1 (or the sender 301) that sends the request. Corresponding to the forwarding item of the multicast group.
发送端 301和所有转发设备 i更新或创建了转发项之后, 即可实现组播传输。 图 4b为本发明实施例中逐级转发组播帧的流程示意图。 如图 4b所示, 转发设备 n 接收到来自组播源的组播帧,查找接收到的组播帧所属组播组对应的转发项, 并向下游 转发设备 i -1发送该组播帧, 直至发送到转发设备 1, 再由转发设备 1查找对应的转发 项, 并将组播帧发送给发送端 301, 由发送端 301根据对应的转发项将组播帧发送给接 收端 302。  After the sender 301 and all forwarding devices i update or create a forwarding entry, multicast transmission can be implemented. FIG. 4b is a schematic flowchart of forwarding a multicast frame step by step according to an embodiment of the present invention. As shown in FIG. 4b, the forwarding device n receives the multicast frame from the multicast source, searches for the forwarding entry corresponding to the multicast group to which the received multicast frame belongs, and sends the multicast frame to the downstream forwarding device i-1. After being sent to the forwarding device 1, the forwarding device 1 searches for the corresponding forwarding item, and sends the multicast frame to the sending end 301. The transmitting end 301 sends the multicast frame to the receiving end 302 according to the corresponding forwarding item.
同理, 退出组报告也可以逐级转发。  Similarly, the exit group report can also be forwarded step by step.
图 4c为本发明实施例中逐级转发退出组报告的流程示意图。如图 4c所示,发送端 FIG. 4c is a schematic flowchart of a step-by-step forwarding of an exit group report according to an embodiment of the present invention. As shown in Figure 4c, the sender
301根据接收端 302的退出组报告, 为接收端 302更新或删除转发项, 并在删除了对应 的转发项之后,向转发设备 1发送退出组报告,由转发设备 1更新或删除对应的转发项, 并在删除了转发项之后如此逐级上报至转发设备 n。每一个接收到加入组请求的转发设 备 i ( l i n ) , 均为发送该请求的下游转发设备 i-1 (或发送端 301 ) 更新或删除对 应组播组的转发项。 301, according to the exit group report of the receiving end 302, update or delete the forwarding item for the receiving end 302, and after deleting the corresponding forwarding item, send an exit group report to the forwarding device 1, and the forwarding device 1 updates or deletes the corresponding forwarding item. And after the forwarding item is deleted, it is reported to the forwarding device n step by step. Each forwarding device i ( l i n ) that receives the join group request is a forwarding device that sends the request to the downstream forwarding device i-1 (or the sender 301) to update or delete the corresponding multicast group.
发送端 301和所有转发设备可以直接将接收到的加入组请求转发,也可以在根据接 收到的加入组请求进行相应处理后, 生成新的加入组请求并向其上游转发设备发送, 即 自身主动发起请求。  The sending end 301 and all the forwarding devices may directly forward the received joining group request, or may generate a new joining group request and send it to the upstream forwarding device after the corresponding processing according to the received joining group request, that is, the active device itself Initiate a request.
发送端 301本身也可以作为其他发送端的转发设备,此时, 发送端 301也按照转发 设备 304的工作原理, 为接入其他发送端的接收端创建、 更新或删除组播组的转发项。  The transmitting end 301 itself can also serve as a forwarding device of the other transmitting end. In this case, the transmitting end 301 also creates, updates, or deletes the forwarding items of the multicast group for the receiving end of the other transmitting end according to the working principle of the forwarding device 304.
具体来说, 本实施例中的发送端 301, 即组播设备, 包括: 收发单元 311、 认证单 元 312和存储单元 313。  Specifically, the transmitting end 301, that is, the multicast device, in this embodiment includes: a transceiver unit 311, an authentication unit 312, and a storage unit 313.
收发单元 31 1, 用于在接收端 302进入发送端 301所属区域后, 请求接收端 302接 入认证信息; 根据来自接收端 302的响应, 向认证单元 312发送接入认证请求; 将来自 认证单元 312的认证成功消息发送给接收端 302, 并向转发设备 304发送加入组请求; 将来自接收端 302的, 加入组请求和退出组报告发送给认证单元 312 ; 接收来自外部的 组播帧, 根据存储单元 313提供的组播组转发项(例如, 包括了属于该组播组内所有接 收端的相关标识的转发项信息),将接收到的组播帧发送给其所属组播组对应的接收端。 The transceiver unit 31 1 is configured to: after the receiving end 302 enters the area where the sending end 301 belongs, the request receiving end 302 is connected. Entering the authentication information; transmitting an access authentication request to the authentication unit 312 according to the response from the receiving end 302; transmitting an authentication success message from the authentication unit 312 to the receiving end 302, and transmitting the joining group request to the forwarding device 304; At the end 302, the join group request and the exit group report are sent to the authentication unit 312; the multicast frame from the outside is received, according to the multicast group forwarding item provided by the storage unit 313 (for example, including all the receivers belonging to the multicast group) The forwarding item information of the related identifier is sent to the receiving end corresponding to the multicast group to which the multicast group belongs.
认证单元 312, 用于根据来自收发单元 31 1的加入组请求, 向认证服务器 303请求 对接收端 302进行接入认证, 并请求获取组信息列表; 接收来自认证服务器 303的, 包 括接收端 302的组信息列表的响应, 将接收端 302的组信息列表存储于存储单元 313 中, 确认接收端 302成功接入, 并向收发单元 31 1发送成功接入消息; 根据来自收发单 元 311的加入组请求,从存储单元 313获取对应的组信息列表, 査询接收端 302的组信 息列表中是否存在其当前请求加入的组播组,如果存在, 则判断接收端 302为该组播组 的合法组成员,将接收端 302加入该组播组,更新预先存储的包括转发项的组播组信息, 即将接收端 302加入该组播组的转发项 (该组播组的转发项已创建)或者为接收端 302 创建新的该组播组的转发项(接收端 302为该组播组的第一个成员, 因而未创建该组播 组的转发项) , 并将更新后的组播组信息发送给存储单元 313, 将加入组成功消息发送 给收发单元 311 ; 如果不存在, 则判断接收端 302为该组播组的非法组成员, 拒绝加入 该组播组, 向收发单元 31 1发送加入组失败消息、或者向认证服务器 303发送接入认证 请求(重新获取接收端 302的组信息列表) ; 根据来自收发单元 31 1的退出组报告, 更 新存储单元 313中存储的组播组信息中的成员列表和转发项(读取存储单元 313中对应 的组播组信息, 更新后再发送给存储单元 313存储, 并删除原有信息), 即从相应的组 播组的转发项中删除接收端 302,如果接收端 302为该组播组转发项中的最后一个成员, 则可以删除该转发项。  The authentication unit 312 is configured to request the authentication server 303 to perform access authentication on the receiving end 302 according to the joining group request from the transceiver unit 31 1 and request to obtain the group information list; and receive the receiving end 302 from the authentication server 303. The group information list is stored in the storage unit 313, the receiving end 302 is successfully accessed, and the successful access message is sent to the transceiver unit 31 1; And the corresponding group information list is obtained from the storage unit 313, and the multicast group that the current request to join is included in the group information list of the receiving end 302. If yes, the receiving end 302 is determined to be a legal group member of the multicast group. The receiving end 302 is added to the multicast group, and the pre-stored multicast group information including the forwarding item is updated, that is, the receiving end 302 joins the forwarding item of the multicast group (the forwarding item of the multicast group has been created) or is received. End 302 creates a new forwarding entry for the multicast group (the receiving end 302 is the first member of the multicast group, and thus is not created. And the multicast group information is sent to the storage unit 313, and the group success message is sent to the transceiver unit 311. If not, the receiver 302 is determined to be illegal. The member of the group, refuses to join the multicast group, sends a join group failure message to the transceiver unit 31 1 , or sends an access authentication request to the authentication server 303 (re-acquires the group information list of the receiver 302); according to the packet from the transceiver unit 31 1 The group report and the forwarding item in the multicast group information stored in the storage unit 313 are updated (the corresponding multicast group information in the storage unit 313 is read, updated, and then sent to the storage unit 313 for storage, and the original is deleted. The information is that the receiving end 302 is deleted from the forwarding entry of the corresponding multicast group. If the receiving end 302 is the last member of the multicast group forwarding item, the forwarding item may be deleted.
存储单元 313, 存储来自认证单元 312的组信息列表, 并提供给认证单元 312 ; 存 储来自认证单元 312的包括转发项的组播组信息, 并提供给收发单元 31 1和认证单元 312。  The storage unit 313 stores a list of group information from the authentication unit 312 and provides it to the authentication unit 312. The multicast group information including the forwarding items from the authentication unit 312 is stored and provided to the transceiver unit 31 1 and the authentication unit 312.
上述作为组播设备的发送端 301中,认证单元 312还可以直接从签约网络或者其他 网络设备获取组信息列表。 如果接收端的组信息列表中包括其当前请求加入的组播组, 而认证单元 312中未存储该组播组的组播组信息, 例如, 接收端为该组播组的第一个成 员, 因而认证单元 312未创建该组播组的成员列表, 此时, 认证单元 312会生成包括组 播组成员列表和组播组标识等组播组信息, 然后再提供给收发单元 311。  In the above-mentioned transmitting end 301 as a multicast device, the authenticating unit 312 can also obtain the group information list directly from the contract network or other network devices. If the group information list of the receiving end includes the multicast group that the user is currently requesting to join, and the authentication unit 312 does not store the multicast group information of the multicast group, for example, the receiving end is the first member of the multicast group, The authentication unit 312 does not create a member list of the multicast group. In this case, the authentication unit 312 generates multicast group information including a multicast group member list and a multicast group identifier, and then provides the multicast group information to the transceiver unit 311.
转发设备 304中也可以包括上述功能单元, 也就是说, 转发设备 304也可以同时作 为其他接收端的发送端, 即组播设备。  The above-mentioned functional unit may also be included in the forwarding device 304. That is to say, the forwarding device 304 may also serve as a transmitting end of other receiving ends, that is, a multicast device.
实际应用中, 转发设备 304可以为 MAP、 MPP等无线设备节点; 如果转发设备 304 为 MPP, 则该设备接收的组播帧可以来自 Mesh网络中作为路由设备的无线设备节点, 也可以来自 Mesh网络之外的路由器。 In a practical application, the forwarding device 304 may be a wireless device node such as a MAP or an MPP. If the forwarding device 304 is an MPP, the multicast frame received by the device may be from a wireless device node in the mesh network as a routing device. It can also come from a router outside the Mesh network.
实际应用中, 还可能遇到以下场景: 接收端先接入到发送端 1, 即发送端 1为该接 收端的原属发送端, 接收发送端 1发送的组播帧, 然后由于某种原因切换到发送端 2, 即发送端 2为该接收端的当前发送端。  In the actual application, the following scenarios may also be encountered: The receiving end first accesses the sending end 1, that is, the sending end 1 is the original transmitting end of the receiving end, receives the multicast frame sent by the sending end 1, and then switches for some reason. To the sender 2, that is, the sender 2 is the current sender of the receiver.
这种情况下, 发送端 2中没有该接收端的组信息列表, 但除了可以向例如认证服务 器 303等网元获取该接收端的组信息列表, 还可以从发送端 1获取。  In this case, the sender 2 does not have the group information list of the receiver, but the group information list of the receiver can be obtained from the network element such as the authentication server 303, and can also be obtained from the sender 1.
如果发送端 2从发送端 1获取, 则在切换时, 发送端 1可以通过 "快速切换机制" 将其所存有的关于该接收端的一些信息(包括组信息列表)或者全部信息交互给发送端 2 o  If the sender 2 is obtained from the sender 1, the sender 1 can exchange some information (including a group information list) or all information about the receiver with the "fast handover mechanism" to the sender 2 through the "fast handover mechanism". o
例如, 比如在快速切换过程中, 发送端 2向发送端 1发起一个组信息列表请求。 图 For example, in the fast handover process, for example, the sender 2 initiates a group information list request to the sender 1. Figure
5a为本发明实施例中组信息列表请求帧的结构示意图。 如图 5a所示, 组信息列表请求 帧中包括: 组信息列表査询 (Group Li st Query ) 信息元素 (Informat ion El ement , IE ) 。 如图 5b所示, 组信息列表查询 IE中包括接收端 (如 STA ) 的 MAC地址( STA MAC Addres s ) 等信息。 5a is a schematic structural diagram of a group information list request frame in the embodiment of the present invention. As shown in FIG. 5a, the group information list request frame includes: a group information query (Group List Query) information element (Information El ement, IE). As shown in Figure 5b, the group information list query IE includes information such as the MAC address (STA MAC Addres s) of the receiving end (such as STA).
发送端 1接收到如图 5a所示的请求帧后, 发送组信息列表响应帧给发送端 2。 图 After receiving the request frame as shown in FIG. 5a, the transmitting end 1 sends a group information list response frame to the transmitting end 2. Figure
5c为本发明实施例中组信息列表响应帧的结构示意图。 如图 5c所示, 组信息列表响应 帧中包括: 组信息列表响应 ( Group Li st Re sponse ) IE。 如图 5d所示, 组信息列表响 应 IE中包括发送端 1所存有的关于该接收端 (如 STA ) 的组信息列表。 5c is a schematic structural diagram of a group information list response frame in the embodiment of the present invention. As shown in Figure 5c, the group information list response frame includes: Group Li st Re sponse IE. As shown in FIG. 5d, the group information list response IE includes a list of group information about the receiving end (such as STA) stored in the transmitting end 1.
当然也可以承载在快速切换机制中的某个消息帧中,将组信息列表作为一种信息资 源, 封装在资源信息容器数据信息元素 (Resource Information Container Data IE ) 中在接收端的原属发送端和当前发送端之间进行交互。  Of course, it can also be carried in a message frame in the fast handover mechanism, and the group information list is used as an information resource, and is encapsulated in the resource information container data information element (Resource Information Container Data IE) at the originating end of the receiving end and The current sender interacts.
这样, 发送端 301还可以向不同接收端的原发送端发送如图 5a所示的组信息列表 查询帧, 请求获取组信息列表, 接收来自不同接收端的原发送端的如图 5c所示的组信 息列表响应帧, 并存储该帧中的组信息列表; 如果发送端 301作为某个接收端的原发送 端, 则还可以根据接收到的如图 5a所示的组信息列表查询帧, 将该接收端的组信息列 表通过如图 5c所示的组信息列表响应帧发送给该接收端的当前发送端。  In this way, the sending end 301 can also send a group information list query frame as shown in FIG. 5a to the original sending end of different receiving ends, requesting to obtain a group information list, and receiving the group information list as shown in FIG. 5c from the original transmitting end of different receiving ends. Responding to the frame, and storing the group information list in the frame; if the sending end 301 is the original transmitting end of a certain receiving end, the frame may be queried according to the received group information list as shown in FIG. 5a, and the receiving end group The information list is sent to the current sender of the receiving end through a group information list response frame as shown in FIG. 5c.
下面, 以具有接入能力的 Mesh网络节点 (如 MAP ) 作为发送端、 STA作为接收端、 AS作为认证服务器、 具有接入能力的 Mesh网络节点 (如 MAP ) 和 /或普通 Mesh网络节 点 (如 MP )和 /或增加了出口功能的 Me sh网络节点 (如 MPP )作为转发设备为例, 对基 于上述系统和设备的组播方法进行说明。  In the following, a Mesh network node (such as MAP) with access capability is used as the transmitting end, the STA is used as the receiving end, the AS is used as the authentication server, the accessing Mesh network node (such as MAP), and/or the ordinary Mesh network node (such as MP) and/or a Me sh network node (such as MPP) with an export function as an example of a forwarding device, and a multicast method based on the above system and device will be described.
本实施例的组播方法包括方法 1、 方法 2和方法 3。 其中, 方法 1为: STA先向 AS 申请签约注册一个组播组, 再向 MAP申请加入该组播组, MAP在判断出 STA的组信息列 表中包括当前申请加入的组播组之后,将该 STA加入组播转发项或为其创建新的组播转 发项, 而如果判断出 STA的组信息列表中不包括当前申请加入的组播组之后, 拒绝其加 入该组播组; 方法 2为: MAP在判断出 STA的组信息列表中不包括当前申请加入的组播 组之后, 再次通过 AS向签约网络申请获取该 STA的组信息列表, 即更新该 STA的组信 息列表, 并通过更新后的组信息列表对该 STA申请加入组播组再次进行认证; 方法 3 为: MAP在判断出 STA的组信息列表中不包括当前申请加入的组播组之后, 直接向签约 网络申请获取该 STA的组信息列表, 更新当前列表, 并通过更新后的组信息列表对该 STA再次认证。 The multicast method of this embodiment includes Method 1, Method 2, and Method 3. The method 1 is: the STA first applies to the AS to register and register a multicast group, and then applies to the MAP to join the multicast group. After determining that the group information list of the STA includes the multicast group currently applied for, the MAP STA joins a multicast forwarding entry or creates a new multicast forwarding for it. If the group information list of the STA does not include the multicast group that is currently applied for, the network group is denied to join the multicast group. The method 2 is as follows: The MAP does not include the current application in determining the group information list of the STA. After the joined multicast group, the AS applies to the subscription network to obtain the group information list of the STA, that is, updates the group information list of the STA, and authenticates the STA to join the multicast group again through the updated group information list. Method 3 is: After determining that the STA group information list does not include the multicast group currently applied for, the MAP directly requests the subscription network to obtain the group information list of the STA, updates the current list, and passes the updated group information. The list authenticates the STA again.
图 6为本发明实施例中组播方法 1的流程图。如图 6所示,本实施例中的组播方法 1包括以下歩骤:  FIG. 6 is a flowchart of a multicast method 1 according to an embodiment of the present invention. As shown in FIG. 6, the multicast method 1 in this embodiment includes the following steps:
步骤 601, STA的用户通过 AS在签约网络签约注册一个或者多个组播组。  Step 601: The user of the STA subscribes to register one or more multicast groups in the subscription network through the AS.
上述步骤 601为 STA的用户开户新业务、注册组播组的过程, 也可以在后续步骤之 后执行, 或者与后续歩骤同时执行。  The foregoing step 601 is a process of opening a new service and registering a multicast group for the user of the STA, and may also be performed after the subsequent step, or concurrently with the subsequent steps.
步骤 602, STA希望通过 MAP接入自身所属的签约网络, 因此, MAP向 STA发送身 份认证请求, 请求 STA申请接入认证。  Step 602: The STA wants to access the subscription network to which the MME belongs. Therefore, the MAP sends an identity authentication request to the STA, requesting the STA to apply for access authentication.
本方法中, 身份认证请求可以为 802. IX EAP Request ; MAP也可以不向 STA发送该 请求, 而是由 STA直接向 MAP发送接入认证请求, 即直接执行步骤 603。  In this method, the identity authentication request may be an 802. IX EAP Request; the MAP may also not send the request to the STA, but the STA sends the access authentication request directly to the MAP, that is, directly performs step 603.
步骤 603, STA根据 MAP的请求, 向 MAP发送身份认证响应, 请求进行接入认证。 本方法中, 身份认证响应可以为 802. IX EAP Response。  Step 603: The STA sends an identity authentication response to the MAP according to the request of the MAP, requesting access authentication. In this method, the identity authentication response may be an 802. IX EAP Response.
步骤 604, MAP根据 STA发送的身份认证响应, 向 AS发送接入认证请求, 请求对接 入网络的 STA进行认证。  Step 604: The MAP sends an access authentication request to the AS according to the identity authentication response sent by the STA, and requests the STA that accesses the network to perform authentication.
本方法中, 接入认证请求可以为 EAP Request ; EAP Reque st也可以携带于 RADIUS 协议的 Access Request中发送到 AS。  In this method, the access authentication request may be an EAP Request, and the EAP Reque st may also be sent to the AS in the Access Request of the RADIUS protocol.
步骤 605, AS通过 MAP与 STA进行信息交互, 获取 STA的认证鉴权信息, 对 STA 进行认证。  Step 605: The AS exchanges information with the STA through the MAP to obtain authentication authentication information of the STA, and authenticates the STA.
步骤 606~步骤 607, 在认证成功后, AS向签约网络发送组信息列表请求, 请求获 取通过认证的 STA的组信息列表, 并接收来自签约网络的, STA的组信息列表。  Step 606 to step 607, after the authentication succeeds, the AS sends a group information list request to the subscription network, requests to obtain the group information list of the authenticated STA, and receives the group information list of the STA from the subscription network.
步骤 608, AS向 MAP发送包括该 STA的组信息列表的接入认证响应。  Step 608: The AS sends an access authentication response including the group information list of the STA to the MAP.
步骤 609, MAP接收到接入认证响应后, 保存该 STA的组信息列表, 并向 STA发送 认证成功消息。  Step 609: After receiving the access authentication response, the MAP saves the group information list of the STA, and sends an authentication success message to the STA.
本方法中, 认证成功消息可以为 EAP Succes s消息; MAP还可以直接从签约网络获 取 STA的组信息列表; 或者, MAP从 STA原来所属的 MAP获取该 STA的组信息列表。 步骤 610, 在需要加入组播组时, STA向 MAP发送加入组请求, 请求加入一个组播 组。 In this method, the authentication success message may be an EAP Succes s message; the MAP may also obtain the group information list of the STA directly from the subscription network; or, the MAP obtains the group information list of the STA from the MAP to which the STA originally belongs. Step 610: When a multicast group needs to be added, the STA sends a join group request to the MAP to request to join a multicast group.
本步骤中, STA向 MAP发送的加入组请求可以为基于互联网组管理 (Internet Contro l Management Protocol , IGMP ) 协议的 IGMP报告 (IGMP Report ) 消息, 也可 以为基于 MLD协议的请求消息, 还可以为 ACTION帧。  In this step, the join group request sent by the STA to the MAP may be an IGMP Report (IGMP Report) message based on the Internet Protocol Management (IGMP) protocol, or may be a request message based on the MLD protocol, or may be ACTION frame.
步骤 611, MAP根据 STA的请求, 查询内部存储的该 STA的组信息列表, 如果组信 息列表中包括该 STA当前申请加入的组播组,则批准该 STA的请求,如果 STA当前申请 加入的组播组存在转发项, 则更新该组播组的组播组信息, 即更新该组播组的转发项, 并执行步骤 612 ; 如果 STA为其当前申请加入的组播组的第一个组成员, 则为该组播组 创建转发项, 并执行步骤 612。  Step 611: The MAP queries the internally stored group information list of the STA according to the request of the STA. If the group information list includes the multicast group that the STA is currently applying to join, the MAP approves the request of the STA. If the forwarding group has a forwarding entry, the multicast group information of the multicast group is updated, that is, the forwarding entry of the multicast group is updated, and step 612 is performed; if the STA is the first group member of the multicast group to which the current application is added. Then, a forwarding entry is created for the multicast group, and step 612 is performed.
本步骤中, 如果组信息列表中不包括该 STA当前申请加入的组播组, 则判定该 STA 为非法组成员; MAP也可以在组信息列表中不包括该 STA当前申请加入的组播组时, 向 签约网络重新获取 STA的组信息列表, 并再次査询更新后的组信息列表中是否包括该 STA当前申请加入的组播组。  In this step, if the group information list does not include the multicast group that the STA is currently applying to join, the STA is determined to be an illegal group member. The MAP may also include the multicast group that the STA is currently applying to join in the group information list. And re-acquiring the group information list of the STA to the subscription network, and querying the updated group information list to include the multicast group that the STA is currently applying to join.
步骤 612, MAP向其上游转发设备发送加入组请求, 例如其他 STA的 MAP、 或 MPP、 或 MP。  Step 612: The MAP sends a join group request to its upstream forwarding device, such as a MAP, or MPP, or MP of another STA.
本步骤中, MAP发送的加入组请求可以为来自 STA的 IGMP Report消息等, 即直接 转发 STA的加入组请求; 也可以是 MAP自身生成的 IGMP Report消息等。  In this step, the join group request sent by the MAP may be an IGMP Report message from the STA, that is, a direct join group request of the STA; or an IGMP Report message generated by the MAP itself.
步骤 613, 作为转发设备的 MAP或 MPP或 MP根据接收到的加入组请求, 为发送该 请求的 MAP更新或者创建其申请加入的组播组的转发项。  Step 613: The MAP or the MPP or the MP as the forwarding device updates the MAP for sending the request or creates a forwarding entry of the multicast group to which the request is added according to the received join group request.
上述步骤 612~步骤 613中, 如果 MAP的上游转发设备为多个, 则需要逐级向上转 发直至路由设备或承载了路由器的 MPP, 并由上游转发设备为发送加入组请求的下游转 发设备更新或者创建 STA当前申请加入的组播组的转发项。  In the foregoing steps 612 to 613, if there are multiple upstream forwarding devices of the MAP, the upstream forwarding device needs to be forwarded up to the routing device or the MPP carrying the router, and the upstream forwarding device updates the downstream forwarding device that sends the group request. Create a forwarding entry for the multicast group to which the STA is currently applied.
这样, 所有节点都将其下游节点添加到对应的组播转发项中。  In this way, all nodes add their downstream nodes to the corresponding multicast forwarding entries.
步骤 614~步骤 616, 作为转发设备的 MPP接收到来自路由设备的组播帧后,査找该 组播帧所属组播组的转发项, 并根据查找的转发项, 将接收到的组播帧发送给相应的 MAP, 如果接收到组播帧的 MAP也作为其他 MAP或 MP的转发设备,则该 MAP也查找该组 播帧所属组播组的转发项, 并根据査找的转发项,将接收到的组播帧发送给相应的下游 转发设备, 直至将该组播帧发送给相应的 STA。  Steps 614 to 616, after receiving the multicast frame from the routing device, the MPP that is the forwarding device searches for the forwarding entry of the multicast group to which the multicast frame belongs, and sends the received multicast frame according to the forwarded forwarding item. If the MAP that receives the multicast frame is also used as the forwarding device of the other MAP or MP, the MAP also searches for the forwarding entry of the multicast group to which the multicast frame belongs, and receives the forwarding entry according to the forwarded entry. The multicast frame is sent to the corresponding downstream forwarding device until the multicast frame is sent to the corresponding STA.
这样, 就避免了非组播组内的 STA接收到该组播组的组播帧, 降低了系统的负担。 步骤 617, 在 STA希望退出一个组播组时, 向 MAP发送退出组报告。  In this way, the STAs in the non-multicast group are prevented from receiving the multicast frames of the multicast group, which reduces the burden on the system. Step 617: When the STA wants to exit a multicast group, send an exit group report to the MAP.
步骤 618, MAP根据该 STA的报告, 更新该 STA请求退出的组播组的转发项, 例如 从该转发项中删除该 STA。 Step 618: The MAP updates, according to the report of the STA, a forwarding item of the multicast group that the STA requests to exit, for example, The STA is deleted from the forwarding entry.
如果该 STA为其退出的组播组中的最后一个成员, 即删除该 STA之前, 该组播组的 转发项中只包括该 STA, 则继续执行步骤 619, 否则, 在本步骤之后结束本流程。  If the STA is the last member of the queried group, that is, before the STA is deleted, the forwarding entry of the multicast group includes only the STA, and then the process proceeds to step 619. Otherwise, the process ends after this step. .
步骤 619~步骤 620, MAP向其上游转发设备发送退出组报告,例如其他 STA的 MAP、 或 MP、 或 MPP, 作为转发设备的 MAP或 MP或 MPP根据接收到的退出组报告, 为发送该 报告的 MAP更新其退出的组播组的转发项, 例如从该转发项中删除该 MAP。  Step 619 to step 620, the MAP sends an exit group report to its upstream forwarding device, for example, the MAP, MP, or MPP of the other STA, and the MAP or MP or MPP as the forwarding device reports the report according to the received exit group. The MAP updates the forwarding entry of the exiting multicast group, for example, deleting the MAP from the forwarding entry.
上述步骤 619〜步骤 620中, 如果 MAP的上游转发设备为多个, 则在判断出该 MAP 为该组播组中的最后一个成员时,该 MAP的转发设备需要再向其上游转发设备发送退出 组报告。该转发设备的上游转发设备根据该转发设备是否为该组播组中的最后一个成员 的判断结果删除或更新该组播组的转发项。 以此类推,每一个转发设备可以逐级向上转 发直至接入路由设备的 MPP, 并由上游转发设备为下游转发设备更新或删除 STA退出的 组播组的转发项。  In the foregoing steps 619 to 620, if the upstream forwarding device of the MAP is multiple, when the MAP is determined to be the last member of the multicast group, the forwarding device of the MAP needs to send an exit to the upstream forwarding device. Group report. The upstream forwarding device of the forwarding device deletes or updates the forwarding entry of the multicast group according to whether the forwarding device is the last member of the multicast group. By analogy, each forwarding device can be forwarded up to the MPP of the access routing device, and the upstream forwarding device updates or deletes the forwarding entry of the multicast group that the STA exits for the downstream forwarding device.
至此, 本流程结束。  At this point, the process ends.
在上述流程中, 步骤 617之后, STA也可以向 AS注销其注册的组播组; STA也可以 在任何时刻执行步骤 601, 注册新的组播组; 步骤 620之后, 如果 MPP接收到退出组报 告之后, 査找到相应的组播组的转发项, 发现整个 Mesh网络中都没有 STA使用该组播 组了, 则向路由器发送退出组报告。  In the above process, after step 617, the STA may also cancel the registered multicast group to the AS; the STA may also perform step 601 to register a new multicast group at any time; after step 620, if the MPP receives the exit group report Then, the forwarding entry of the corresponding multicast group is found. If no STA is used by the STA in the entire mesh network, the exit group report is sent to the router.
以上是对本实施例中方法 1的说明, 下面, 对本实施例中的方法 2进行详细说明。 图 7为本发明实施例中组播方法 2的流程图。如图 Ί所示,本实施例中的组播方法 2包括以下步骤:  The above is a description of the method 1 in the present embodiment, and the method 2 in the present embodiment will be described in detail below. Figure 7 is a flow chart of the multicast method 2 in the embodiment of the present invention. As shown in the figure, the multicast method 2 in this embodiment includes the following steps:
步骤 701, STA希望通过 MAP接入自身所属的签约网络, 因此, MAP向 STA发送身 份认证请求, 请求 STA申请接入认证。  Step 701: The STA wants to access the subscription network to which the MME belongs. Therefore, the MAP sends an identity authentication request to the STA, requesting the STA to apply for access authentication.
本方法中, 身份认证请求可以为 802. IX EAP Request ; MAP也可以不向 STA发送该 请求, 而是由 STA直接向 MAP发送接入认证请求, 即直接执行步骤 702。  In this method, the identity authentication request may be an 802. IX EAP Request; the MAP may not send the request to the STA, but the STA sends the access authentication request directly to the MAP, that is, directly performs step 702.
步骤 702, STA根据 MAP的请求, 向 MAP发送身份认证响应, 请求进行接入认证。 本方法中, 身份认证响应可以为 802. IX EAP Response。  Step 702: The STA sends an identity authentication response to the MAP according to the request of the MAP, requesting access authentication. In this method, the identity authentication response may be an 802. IX EAP Response.
步骤 703, MAP根据 STA发送的身份认证响应, 向 AS发送接入认证请求, 请求对接 入网络的 STA进行认证。  Step 703: The MAP sends an access authentication request to the AS according to the identity authentication response sent by the STA, and requests the STA that accesses the network to perform authentication.
本方法中, 接入认证请求可以为 EAP Request ; EAP Reque st也可以携带于 RADIUS 协议的 Access Request中发送到 AS。  In this method, the access authentication request may be an EAP Request, and the EAP Reque st may also be sent to the AS in the Access Request of the RADIUS protocol.
步骤 704, AS通过 MAP与 STA进行信息交互, 获取 STA的认证鉴权信息, 对 STA 进行认证。 Step 704: The AS exchanges information with the STA through the MAP, and obtains authentication authentication information of the STA. Certify.
步骤 705~步骤 706, 在认证成功后, AS向签约网络发送组信息列表请求, 请求获 取通过认证的 STA的组信息列表, 并接收来自签约网络的, STA的组信息列表。  Step 705 to step 706, after the authentication succeeds, the AS sends a group information list request to the subscription network, requests to obtain the group information list of the authenticated STA, and receives the group information list of the STA from the subscription network.
步骤 707, AS向 MAP发送包括该 STA的组信息列表的接入认证响应。  Step 707: The AS sends an access authentication response including the group information list of the STA to the MAP.
步骤 708, MAP接收到接入认证响应后, 保存该 STA的组信息列表, 并向 STA发送 认证成功消息。  Step 708: After receiving the access authentication response, the MAP saves the group information list of the STA, and sends an authentication success message to the STA.
本方法中, 认证成功消息可以为 EAP Succes s消息; MAP还可以直接从签约网络获 取 STA的组信息列表; 或者, MAP从 STA原来所属的 MAP获取该 STA的组信息列表。  In this method, the authentication success message may be an EAP Succes s message; the MAP may also obtain the group information list of the STA directly from the subscription network; or, the MAP obtains the group information list of the STA from the MAP to which the STA originally belongs.
步骤 709, STA的用户通过 AS在签约网络签约注册一个或者多个组播组。  Step 709: The user of the STA subscribes to register one or more multicast groups in the subscription network through the AS.
上述步骤 709为 STA的用户开户新业务、注册组播组的过程, 也可以在后续步骤之 后执行, 或者与后续步骤同时执行。  The foregoing step 709 is a process of opening a new service and registering a multicast group for the user of the STA, and may also be performed after the subsequent step or concurrently with the subsequent steps.
步骤 710, 在需要加入组播组时, STA向 MAP发送加入组请求, 请求加入一个组播 组。  Step 710: When a multicast group needs to be added, the STA sends a join group request to the MAP to request to join a multicast group.
本步骤中, STA向 MAP发送的加入组请求可以为基于 IGMP协议的 IGMP Report消 息, 也可以为基于 MLD协议的请求消息, 还可以为 ACT ION帧。  In this step, the join group request sent by the STA to the MAP may be an IGMP Report message based on the IGMP protocol, a request message based on the MLD protocol, or an ACT ION frame.
步骤 711, MAP根据 STA的请求, 査询内部存储的该 STA的组信息列表, 如果组信 息列表中包括该 STA当前中请加入的组播组,则批准该 STA的请求,如果 STA当前中请 加入的组播组存在转发项, 则更新该组播组的组播组信息, 即更新该组播组的转发项, 并执行步骤 717 ; 如果 STA为其当前申请加入的组播组的第一个组成员, 则为该组播组 创建转发项,并执行步骤 717 ;如果组信息列表中不包括该 STA当前申请加入的组播组, 则先不判定该 STA为非法组成员, 而是执行步骤 712。  Step 711: The MAP queries the internally stored group information list of the STA according to the request of the STA. If the group information list includes the multicast group that the STA currently joins, the request of the STA is approved. If there is a forwarding entry in the joined multicast group, the multicast group information of the multicast group is updated, that is, the forwarding entry of the multicast group is updated, and step 717 is performed; if the STA is the first of the multicast group to which the current application is added. A group member creates a forwarding entry for the multicast group and performs step 717. If the group information list does not include the multicast group that the STA is currently applying to join, the STA is not determined to be an illegal group member but is executed. Step 712.
步骤 712~步骤 715, MAP向 AS发送接入认证请求, 请求获取 STA的组信息列表; AS向签约网络发送组信息列表请求, 请求获取通过认证的 STA的组信息列表, 并接收 来自签约网络的, STA的组信息列表; AS向 MAP发送包括该 STA的组信息列表的接入认 证响应。  Step 712 to step 715, the MAP sends an access authentication request to the AS, and requests to obtain a group information list of the STA. The AS sends a group information list request to the subscription network, requests to obtain a group information list of the authenticated STA, and receives the group information list from the subscribed network. The STA group information list; the AS sends an access authentication response including the STA group information list to the MAP.
上述歩骤 712〜歩骤 715中, MAP也可以直接向签约网络重新获取 STA的组信息列表; 或者向该 STA原属 MAP获取其组信息列表。  In the foregoing steps 712 to 715, the MAP may also re-acquire the group information list of the STA directly to the subscription network; or obtain the group information list from the STA original MAP.
步骤 716, MAP根据接收到的 STA的组信息列表, 更新其内部存储的该 STA的组信 息列表, 并再次查询更新后的组信息列表中是否包括该 STA当前申请加入的组播组,如 果包括, 则执行步骤 717, 否则, 拒绝该 STA加入其申请加入的组播组。  Step 716: The MAP updates the group information list of the STA that is stored in the STA according to the group information list of the received STA, and queries the updated group information list to include the multicast group that the STA is currently applying to join. Then, step 717 is performed. Otherwise, the STA is denied to join the multicast group that it is applying to join.
这样, 就提高了 MAP对请求加入组播组的 STA进行认证的正确性。 步骤 717, MAP向其上游转发设备发送加入组请求, 例如其他 STA 的 MAP、 或 MP、 或 MPP。 In this way, the correctness of the MAP to authenticate the STA that requests to join the multicast group is improved. Step 717: The MAP sends a join group request to its upstream forwarding device, such as a MAP, or MP, or MPP of another STA.
本步骤中, MAP发送的加入组请求可以为来自 STA的 IGMP Report消息等, 即直接 转发 STA的加入组请求; 也可以是 MAP自身生成的 IGMP Report消息等。  In this step, the join group request sent by the MAP may be an IGMP Report message from the STA, that is, a direct join group request of the STA; or an IGMP Report message generated by the MAP itself.
步骤 718, 作为转发设备的 MAP或 MP或 MPP根据接收到的加入组请求, 为发送该 请求的 STA更新或者创建其申请加入的组播组的转发项。  Step 718: The MAP or the MP or the MPP as the forwarding device updates the STA that sends the request or creates a forwarding entry of the multicast group to which the request is added according to the received join group request.
上述步骤 717〜步骤 718中, 如果 MAP的上游转发设备为多个, 则需要逐级向上转 发直至路由设备或承载了路由器的 MPP, 并由其上游转发设备为发送加入组请求的下游 转发设备更新或者创建 STA当前申请加入的组播组的转发项。  In the above steps 717 to 718, if there are multiple upstream forwarding devices of the MAP, it is required to forward up to the routing device or the MPP carrying the router, and the upstream forwarding device updates the downstream forwarding device that sends the group request. Or create a forwarding entry for the multicast group that the STA is currently applying to join.
这样, 就使得所有节点都将其下游节点添加到对应的组播组的转发项中。  In this way, all nodes add their downstream nodes to the forwarding entries of the corresponding multicast group.
步骤 719~步骤 721, 作为转发设备的 MPP接收到来自路由设备的组播帧后,查找该 组播帧所属组播组的转发项, 并根据査找的转发项, 将接收到的组播帧发送给相应的 MAP , 如果接收到组播帧的 MAP也作为其它 MAP或 MP的转发设备,则该 MAP也查找该组 播帧所属组播组的转发项, 并根据查找的转发项,将接收到的组播帧发送给相应的下游 MAP , 直至将该组播帧发送给相应的 STA。  Steps 719 to 721, after receiving the multicast frame from the routing device, the MPP that is the forwarding device searches for the forwarding entry of the multicast group to which the multicast frame belongs, and sends the received multicast frame according to the forwarded forwarding item. If the MAP that receives the multicast frame is also used as the forwarding device of the other MAP or MP, the MAP also searches for the forwarding entry of the multicast group to which the multicast frame belongs, and receives the forwarding entry according to the forwarded entry. The multicast frame is sent to the corresponding downstream MAP until the multicast frame is sent to the corresponding STA.
这样, 就避免了非组播组内的 STA接收到该组播组的组播帧, 降低了系统的负担。 步骤 722, 在 STA希望退出一个组播组时, 向 MAP发送退出组报告。  In this way, the STAs in the non-multicast group are prevented from receiving the multicast frames of the multicast group, which reduces the burden on the system. Step 722: When the STA wants to exit a multicast group, send an exit group report to the MAP.
步骤 723, MAP根据该 STA的报告, 更新该 STA请求退出的组播组的转发项, 例如 从该转发项中删除该 STA。  Step 723: The MAP updates, according to the report of the STA, a forwarding item of the multicast group that the STA requests to exit, for example, deleting the STA from the forwarding item.
如果该 STA为其退出的组播组中的最后一个成员, 即删除该 STA之前, 该组播组的 转发项中只包括该 STA, 则继续执行步骤 724, 否则, 在本步骤之后结束本流程。  If the STA is the last member of the queried group, that is, before the STA is deleted, the forwarding entry of the multicast group includes only the STA, and then the process proceeds to step 724. Otherwise, the process ends after this step. .
步骤 724~步骤 725, MAP向其上游转发设备发送退出组报告, 作为转发设备的 MAP 或 MP或 MPP根据接收到的退出组报告, 为发送该报告的 MAP更新 STA退出的组播组的 转发项, 例如从该转发项中删除该 MAP。  Step 724 to step 725, the MAP sends an exit group report to the upstream forwarding device, and the MAP or MP or MPP as the forwarding device updates the forwarding entry of the multicast group exited by the STA for the MAP that sends the report according to the received exit group report. , for example, remove the MAP from the forwarding entry.
上述步骤 724~步骤 725中, 如果 MAP的上游转发设备为多个, 则在判断出该 MAP 为该组播组中的最后一个成员时,该 MAP的转发设备需要再向其上游转发设备发送退出 组报告。该转发设备的上游转发设备根据该转发设备是否为该组播组中的最后一个成员 的判断结果删除或更新该组播组的转发项。 以此类推,每一个转发设备可以逐级向上转 发直至接入路由设备的 MPP, 并由上游转发设备为下游转发设备更新或删除该 STA退出 的组播组的转发项。  In the foregoing steps 724 to 725, if the upstream forwarding device of the MAP is multiple, when the MAP is determined to be the last member of the multicast group, the forwarding device of the MAP needs to send an exit to the upstream forwarding device. Group report. The upstream forwarding device of the forwarding device deletes or updates the forwarding entry of the multicast group according to whether the forwarding device is the last member of the multicast group. By analogy, each forwarding device can be forwarded up to the MPP of the access routing device, and the upstream forwarding device updates or deletes the forwarding entry of the multicast group exited by the STA for the downstream forwarding device.
至此, 本流程结束。  At this point, the process ends.
在上述流程中, 步骤 722之后, STA也可以向 AS注销其注册的组播组; STA也可以 在任何时刻执行步骤 709, 注册新的组播组; 步骤 725之后, 如果 MPP接收到退出组报 告之后, 査找到相应的组播组的转发项, 发现整个 Mesh网络中都没有 STA使用该组播 组了, 则向路由器发送退出组报告。 In the above process, after step 722, the STA may also cancel the registered multicast group to the AS; the STA may also Step 709 is performed at any time to register a new multicast group. After step 725, if the MPP receives the exit group report and finds the forwarding entry of the corresponding multicast group, it is found that none of the STAs in the entire mesh network use the multicast. If it is grouped, it sends an exit group report to the router.
以上是对本实施例中方法 2的说明, 下面, 对本实施例中的方法 3进行详细说明。 图 8为本发明实施例中组播方法 3的流程图。如图 8所示,本实施例中的组播方法 The above is a description of the method 2 in the present embodiment, and the method 3 in the present embodiment will be described in detail below. FIG. 8 is a flowchart of a multicast method 3 in an embodiment of the present invention. As shown in FIG. 8, the multicast method in this embodiment
3包括以下步骤: 3 includes the following steps:
步骤 80广歩骤 807, STA希望通过 MAP接入自身所属的签约网络, 因此, MAP向 STA 发送身份认证请求, 请求 STA申请接入认证; STA根据 MAP的请求, 通过 MAP向 AS发 送接入认证请求; AS通过 MAP与 STA进行信息交互, 获取 STA的认证鉴权信息, 对 STA 进行认证并在认证成功后, 向签约网络发送组信息列表请求, 请求获取通过认证的 STA 的组信息列表, 并将来自签约网络的 STA的组信息列表通过接入认证响应发送给 MAP。  Step 80: 807, the STA wants to access the subscription network to which the MME belongs. Therefore, the MAP sends an identity authentication request to the STA, requesting the STA to apply for access authentication. The STA sends the access authentication to the AS through the MAP according to the request of the MAP. The AS performs the information exchange with the STA through the MAP, obtains the authentication authentication information of the STA, authenticates the STA, and after the authentication succeeds, sends a group information list request to the subscription network, requesting to obtain the group information list of the authenticated STA, and The group information list of the STAs from the contracted network is sent to the MAP through the access authentication response.
上述步骤 80 f步骤 807的操作过程可以与本实施例方法 2中的步骤 70 f歩骤 707 相同。  The operation of the above step 80 f step 807 can be the same as the step 70 f step 707 in the method 2 of the embodiment.
步骤 808, MAP接收到接入认证响应后, 保存该 STA的组信息列表, 并向 STA发送 认证成功消息。  Step 808: After receiving the access authentication response, the MAP saves the group information list of the STA, and sends an authentication success message to the STA.
本方法中, 认证成功消息可以为 EAP Succes s消息; MAP还可以直接从签约网络获 取 STA的组信息列表; 或者, MAP从 STA原来所属的 MAP获取该 STA的组信息列表。  In this method, the authentication success message may be an EAP Succes s message; the MAP may also obtain the group information list of the STA directly from the subscription network; or, the MAP obtains the group information list of the STA from the MAP to which the STA originally belongs.
步骤 809, STA的用户通过 AS在签约网络签约注册一个或者多个组播组。  Step 809: The user of the STA registers one or more multicast groups through the AS in the contracted network.
上述步骤 809为 STA的用户开户新业务、注册组播组的过程, 也可以在后续步骤之 后执行, 或者与后续步骤同时执行。  The foregoing step 809 is a process of opening a new service and registering a multicast group for the user of the STA, and may also be performed after the subsequent step or concurrently with the subsequent steps.
步骤 810, 在需要加入组播组时, STA向 MAP发送加入组请求, 请求加入一个组播 组。  Step 810: When a multicast group needs to be added, the STA sends a join group request to the MAP to request to join a multicast group.
本步骤中, STA向 MAP发送的加入组请求可以为基于 IGMP协议的 IGMP Report消 息, 也可以为基于 MLD协议的请求消息, 还可以为 ACT ION帧。  In this step, the join group request sent by the STA to the MAP may be an IGMP Report message based on the IGMP protocol, a request message based on the MLD protocol, or an ACT ION frame.
步骤 811, MAP根据 STA的请求, 查询内部存储的该 STA的组信息列表, 如果组信 息列表中包括该 STA当前申请加入的组播组,则批准该 STA的请求,如果 STA当前申请 加入的组播组存在转发项, 则更新该组播组的组播组信息, 即更新该组播组的转发项, 并执行步骤 815 ; 如果 STA为其当前申请加入的组播组的第一个组成员, 则为该组播组 创建转发项,并执行步骤 815 ;如果组信息列表中不包括该 STA当前申请加入的组播组, 则先不判定该 STA为非法组成员, 而是执行歩骤 812。  Step 811: The MAP queries the internally stored group information list of the STA according to the request of the STA. If the group information list includes the multicast group that the STA is currently applying to join, the MAP approves the request of the STA. If there is a forwarding entry in the broadcast group, the multicast group information of the multicast group is updated, that is, the forwarding entry of the multicast group is updated, and step 815 is performed; if the STA is the first group member of the multicast group to which the current application is added. Then, a forwarding entry is created for the multicast group, and step 815 is performed. If the group information list does not include the multicast group that the STA is currently applying to join, the STA is not determined to be an illegal group member, but step 812 is performed. .
步骤 812〜歩骤 813, MAP直接向签约网络发送组信息列表请求, 请求获取通过认证 的 STA的组信息列表, 并接收来自签约网络的, STA的组信息列表。 上述步骤 812~步骤 813中, MAP也可以通过 AS向签约网络重新获取 STA的组信息 列表; 或者向该 STA原属 MAP获取其组信息列表。 Step 812 to step 813, the MAP directly sends a group information list request to the subscription network, requests to obtain a group information list of the authenticated STA, and receives a group information list of the STA from the subscription network. In the foregoing steps 812 to 813, the MAP may also reacquire the group information list of the STA through the AS to the subscription network; or obtain the group information list from the STA original MAP.
步骤 814, MAP根据接收到的 STA的组信息列表, 更新其内部存储的该 STA的组信 息列表, 并再次查询更新后的组信息列表中是否包括该 STA当前申请加入的组播组,如 果包括, 则执行步骤 815, 否则, 拒绝该 STA加入其申请加入的组播组。  Step 814: The MAP updates the group information list of the STA that is stored in the STA according to the group information list of the received STA, and queries the updated group information list to include the multicast group that the STA is currently applying to join. Then, go to step 815. Otherwise, the STA is denied to join the multicast group it is applying to join.
这样, 就提高了 MAP对请求加入组播组的 STA进行认证的正确性。  In this way, the correctness of the MAP to authenticate the STA requesting to join the multicast group is improved.
步骤 815, MAP向其上游转发设备发送加入组请求, 例如其他 STA 的 MAP、 或 MP、 或 MPP。  Step 815: The MAP sends a join group request to its upstream forwarding device, such as a MAP, or MP, or MPP of another STA.
本步骤中, MAP发送的加入组请求可以为来自 STA的 IGMP Report消息等, 即直接 转发 STA的加入组请求; 也可以是 MAP自身生成的 IGMP Report消息等。  In this step, the join group request sent by the MAP may be an IGMP Report message from the STA, that is, a direct join group request of the STA; or an IGMP Report message generated by the MAP itself.
步骤 816, 作为转发设备的 MAP或 MP或 MPP根据接收到的加入组请求, 为发送该 请求的 MAP更新或者创建其关联的 STA申请加入的组播组的转发项。  Step 816: The MAP or the MP or the MPP as the forwarding device sends a MAP update for the request or a forwarding entry of the multicast group to which the associated STA applies to join according to the received join group request.
上述步骤 815~步骤 816中, 如果 MAP的上游转发设备为多个, 则需要逐级向上转 发直至路由设备或承载了路由器的 MPP, 并由其上游转发设备为发送加入组请求的下游 转发设备更新或者创建 STA当前申请加入的组播组的转发项。  In the foregoing steps 815 to 816, if there are multiple upstream forwarding devices of the MAP, the upstream forwarding device needs to be forwarded up to the routing device or the MPP carrying the router, and the upstream forwarding device updates the downstream forwarding device that sends the group request. Or create a forwarding entry for the multicast group that the STA is currently applying to join.
这样, 就使得所有节点都将其下游节点添加到对应的组播组的转发项中。  In this way, all nodes add their downstream nodes to the forwarding entries of the corresponding multicast group.
步骤 817~歩骤 819, 作为转发设备的 MPP接收到来自路由设备的组播帧后,査找该 组播帧所属组播组的转发项, 并根据査找的转发项, 将接收到的组播帧发送给相应的 MAP , 如果接收到组播帧的 MAP也作为其它 MAP或 MP的转发设备,则该 MAP也查找该组 播帧所属组播组的转发项, 并根据査找的转发项,将接收到的组播帧发送给相应的下游 MAP或者 MP , 直至将该组播帧发送给相应的 STA。  Steps 817 to 819, after receiving the multicast frame from the routing device, the MPP that is the forwarding device searches for the forwarding entry of the multicast group to which the multicast frame belongs, and receives the received multicast frame according to the forwarded forwarding item. The MAP is sent to the corresponding MAP. If the MAP that receives the multicast frame is also used as the forwarding device of the other MAP or MP, the MAP also searches for the forwarding entry of the multicast group to which the multicast frame belongs, and receives the forwarding entry according to the forwarded item. The received multicast frame is sent to the corresponding downstream MAP or MP until the multicast frame is sent to the corresponding STA.
这样, 就避免了非组播组内的 STA接收到该组播组的组播帧, 降低了系统的负担。 步骤 820, 在 STA希望退出一个组播组时, 向 MAP发送退出组报告。  In this way, the STAs in the non-multicast group are prevented from receiving the multicast frames of the multicast group, which reduces the burden on the system. Step 820: When the STA wants to exit a multicast group, send an exit group report to the MAP.
步骤 821, MAP根据该 STA的报告, 更新该 STA希望退出的组播组的转发项, 例如 从该转发项中删除该 STA。  Step 821: The MAP updates, according to the report of the STA, a forwarding item of the multicast group that the STA wants to exit, for example, deleting the STA from the forwarding item.
如果该 STA为其退出的组播组中的最后一个成员, 即删除该 STA之前, 该组播组的 转发项中只包括该 STA, 则继续执行步骤 822, 否则, 在本步骤之后结束本流程。  If the STA is the last member of the queried group, that is, before the STA is deleted, the forwarding entry of the multicast group includes only the STA, and then step 822 is continued. Otherwise, the process ends after this step. .
步骤 822~步骤 823, MAP向其上游转发设备发送退出组报告, 作为转发设备的 MAP 或 MP或 MPP根据接收到的退出组报告, 为发送该报告的 MAP更新 STA退出的组播组的 转发项, 例如从该转发项中删除该 MAP。  Step 822 to step 823, the MAP sends an exit group report to the upstream forwarding device, and the MAP or MP or MPP as the forwarding device updates the forwarding entry of the multicast group exited by the STA for the MAP that sends the report according to the received exit group report. , for example, remove the MAP from the forwarding entry.
上述步骤 822~步骤 823中, 如果 MAP的上游转发设备为多个, 则在判断出该 MAP 为该组播组中的最后一个成员时,该 MAP的转发设备需要再向其上游转发设备发送退出 组报告。该转发设备的上游转发设备根据该转发设备是否为该组播组中的最后一个成员 的判断结果删除或更新该组播组的转发项。 以此类推,每一个转发设备可以向逐级向上 转发直至接入路由设备的 MPP, 并由其上游转发设备为下游转发设备更新或删除该 STA 退出的组播组的转发项。 In the above steps 822 to 823, if there are multiple upstream forwarding devices of the MAP, the MAP is determined. When it is the last member of the multicast group, the forwarding device of the MAP needs to send an exit group report to its upstream forwarding device. The upstream forwarding device of the forwarding device deletes or updates the forwarding entry of the multicast group according to whether the forwarding device is the last member of the multicast group. By analogy, each forwarding device can forward up to the MPP of the access routing device, and the upstream forwarding device updates or deletes the forwarding entry of the multicast group that the STA exits.
至此, 本流程结束。  At this point, the process ends.
在上述流程中, 步骤 820之后, STA也可以向 AS注销其注册的组播组; STA也可以 在任何时刻执行步骤 809, 注册新的组播组; 步骤 823之后, 如果 MPP接收到退出组报 告之后, 查找到相应的组播组的转发项, 发现整个 Mesh网络中都没有 STA使用该组播 组了, 则向路由器发送退出组报告。  In the above process, after step 820, the STA may also cancel the registered multicast group to the AS; the STA may also perform step 809 to register a new multicast group at any time; after step 823, if the MPP receives the exit group report Then, the forwarding entry of the corresponding multicast group is found. If no STA is used by the STA in the entire mesh network, the exit group report is sent to the router.
图 9为本发明实施例中实现组播传输的示意图。如图 9所示,组播系统中包括: MPP、 ΜΡ ΜΡ2 > ΜΑΡ ΜΑΡ4 STA1~STA6。 MAPI牙口 MAP2接人到 MP1、 MAP3牙口 MAP4接人到 MP2 ; STA1禾口 STA2接人到 MAPU STA3接人到 MAP2 , STA4接人到 MAP 3; STA5禾口 STA6接人到 MAP4 ; STA1、 STA3和 STA5为 a组播组的成员, STA2、 STA4和 STA6为 b组播组的成员。  FIG. 9 is a schematic diagram of implementing multicast transmission in an embodiment of the present invention. As shown in Figure 9, the multicast system includes: MPP, ΜΡ ΜΡ 2 > ΜΑΡ ΜΑΡ 4 STA1~STA6. MAPI mouth MAP2 is connected to MP1, MAP3 mouth MAP4 is connected to MP2; STA1 and STA2 are connected to MAPU STA3 to MAP2, STA4 is connected to MAP3; STA5 and STA6 are connected to MAP4; STA1, STA3 and STA5 is a member of the a multicast group, and STA2, STA4, and STA6 are members of the b multicast group.
如果 STA3发送了加入 b组的 IGMP report给 MAP 2, MAP2就对其进行认证, 发现 If STA3 sends the IGMP report added to group b to MAP 2, MAP2 authenticates it and finds
STA3并不是其所请求的组播组的合法成员, MAP2拒绝为 STA3向 MP1发送(直接转发接 收到的消息、 或生成新的消息并发送) IGMP report , 网络中的其他节点也就不需发送 该 IGMP report , 减轻了节点的负担, 也降低了对网络带宽的占用。 STA3 is not a legal member of the multicast group it requests. MAP2 refuses to send STA3 to MP1 (directly forwards the received message, or generates a new message and sends it). IGMP report, other nodes in the network do not need to send. The IGMP report reduces the burden on the nodes and reduces the occupation of network bandwidth.
MAP2如果不对 STA3进行认证, 而是直接根据 STA3发送的加入 b组的 IGMP report 创建或将 STA3添力 Π到 b组转发项中, 然后转发 IGMP report给 MP1 ; MP 1收到 report 后, 查找已有 b组的转发项, 因此将 MAP2添加到其 b组的转发项列表中。  If MAP2 does not authenticate STA3, it directly creates or adds STA3 to the b-group forwarding entry according to the IGMP report sent by STA3, and then forwards the IGMP report to MP1. After receiving the report, MP1 finds that There are forwarding entries for group b, so MAP2 is added to the list of forwarding entries for its group b.
这样,当 MP 1接收 b组的组播数据帧过来时,就会给 MAPI和 MAP2都发送组播数据。 可见, 如果本实施例中的技术方案如果应用于 Mesh网络, 则 STA不能随意地加入 到某一个组播组, 随意地接收到某个组播组的数据帧, 增加了组播数据的安全性, 而且 有效抑制了每个 MAP、 MPP、 MP转发的组播帧数量, 从而抑制了网络中的组播泛洪。 当 mesh网络的规模比较大时, 这种方案带来的效果就非常明显了。  Thus, when MP 1 receives the multicast data frame of group b, it will send multicast data to both MAPI and MAP2. It can be seen that if the technical solution in this embodiment is applied to the Mesh network, the STA cannot join the multicast group arbitrarily, and randomly receives the data frame of a multicast group, thereby increasing the security of the multicast data. Moreover, the number of multicast frames forwarded by each MAP, MPP, and MP is effectively suppressed, thereby suppressing multicast flooding in the network. When the size of the mesh network is relatively large, the effect of this scheme is very obvious.
本实施例中, 作为组播设备的发送端, 也可以为各组播组生成组内密钥, 使用组内 密钥对组播帧加密, 并将组内密钥和组播组标识发送给对应的组播组内的接收端, 即通 过认证的接收端, 组播组内的接收端根据组播组标识,使用相同的组内密钥对接收到的 组播帧解密。 实现原理可以与实施例一相同。  In this embodiment, as the transmitting end of the multicast device, an intra-group key may be generated for each multicast group, the multicast frame is encrypted by using the intra-group key, and the intra-group key and the multicast group identifier are sent to The receiving end in the corresponding multicast group, that is, the receiving end that authenticates, the receiving end in the multicast group decrypts the received multicast frame by using the same intra-group key according to the multicast group identifier. The implementation principle can be the same as that of the first embodiment.
以上所述仅为本发明的较佳实施例而己, 并非用于限定本发明的保护范围。凡在本 发明的精神和原则之内, 所作的任何修改、 等同替换以及改进等, 均应包含在本发明的 保护范围之内。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1、 一种组播方法, 其特征在于, 所述方法包括以下步骤: A multicast method, characterized in that the method comprises the following steps:
发送端根据接收端的加入组播组请求, 对请求加入组播组的接收端进行认证; 发送端将认证通过的接收端添加到其请求加入的组播组对应的转发项中,并向转发 设备发送加入组播组请求; 其中, 所述转发设备根据来自发送端的加入组播组请求, 将 该发送端添加到其请求加入的组播组对应的转发项中。  The sender authenticates the receiver that requests to join the multicast group according to the request of the receiver to join the multicast group. The sender adds the receiver that passes the authentication to the forwarding entry corresponding to the multicast group it is requesting to join, and sends the packet to the forwarding device. Sending a request to join the multicast group; wherein, the forwarding device adds the sending end to the forwarding item corresponding to the multicast group to which the requesting party joins according to the request to join the multicast group from the sending end.
2、 如权利要求 1所述的方法, 其特征在于, 所述对请求加入组播组的接收端进行 认证为:  2. The method according to claim 1, wherein the authenticating of the receiving end requesting to join the multicast group is:
发送端获取接收端的组信息列表;  The sender obtains a list of group information of the receiving end;
根据接收端发送的加入组播组请求,査询该接收端对应的组信息列表中, 是否包括 接收端当前申请加入的组播组, 如果包括, 则认证通过, 否则, 认证不通过。  According to the request to join the multicast group sent by the receiving end, query whether the group information list corresponding to the receiving end includes the multicast group that the receiving end is currently applying to join. If yes, the authentication succeeds. Otherwise, the authentication fails.
3、 如权利要求 2所述的方法, 其特征在于, 该方法进一步包括: 接收端向签约网 络注册组播组, 签约网络更新预先存储的所述接收端的组信息列表;  The method according to claim 2, wherein the method further comprises: the receiving end registering the multicast group with the subscription network, and the subscription network updating the pre-stored group information list of the receiving end;
所述发送端获取接收端的组信息列表包括:  The obtaining, by the sending end, the group information list of the receiving end includes:
接收端向发送端请求进行接入认证; 发送端根据所述接收端的请求, 向认证服务器 发送接入认证请求;认证服务器根据接收到的认证请求向签约网络请求获取该接收端的 组信息列表, 并将来自签约网络的组信息列表发送给发送端; 发送端接收并存储来自认 证服务器的所述接收端的组信息列表;  The receiving end requests the sending end to perform access authentication; the sending end sends an access authentication request to the authentication server according to the request of the receiving end; the authentication server requests the subscription network to obtain the group information list of the receiving end according to the received authentication request, and Sending a list of group information from the subscription network to the sender; the sender receiving and storing the group information list of the receiver from the authentication server;
或者, 所述发送端获取接收端的组信息列表包括:  Or the obtaining, by the sending end, the group information list of the receiving end includes:
所述发送端向所述接收端之前接入过的发送端请求获取该接收端的组信息列表,接 收并存储来自所述原属发送端的组信息列表。  The sending end requests the sending end that has been accessed by the receiving end to obtain the group information list of the receiving end, and receives and stores the group information list from the original sending end.
4、 如权利要求 1所述的方法, 其特征在于, 如果认证未通过, 则该方法进一步包 括:发送端从签约网络获取所述认证未通过的接收端对应的组信息列表,根据获取的组 信息列表对该接收端进行认证。  The method according to claim 1, wherein, if the authentication fails, the method further comprises: the sending end acquiring, from the subscription network, the group information list corresponding to the receiving end that the authentication fails, according to the acquired group. The information list authenticates the receiving end.
5、 如权利要求 1至 4中任意一项所述的方法, 其特征在于, 所述发送端将认证通 过的接收端添加到其请求加入的组播组对应的转发项中为:  The method according to any one of claims 1 to 4, wherein the sending end adds the receiving end of the authentication to the forwarding item corresponding to the multicast group to which the request is to be joined:
如果没有请求加入的组播组的转发项, 则为所述接收端创建该组播组的转发项,并 将所述认证通过的接收端添加到所述转发项中;  If the forwarding entry of the multicast group is not requested, the forwarding entry of the multicast group is created for the receiving end, and the receiving end that passes the authentication is added to the forwarding item.
如果已有请求加入的组播组的转发项, 则将所述接收端添加到该转发项中; 所述转发设备根据来自发送端的加入组播组请求,将发送端添加到其请求加入的组 播组对应的转发项中为: If the forwarding entry of the multicast group that has been requested to join is added, the receiving end is added to the forwarding entry; the forwarding device adds the sending end to the group that it requests to join according to the request for joining the multicast group from the sending end. The forwarding entries corresponding to the broadcast group are:
如果没有请求加入的组播组的转发项, 则为所述发送端创建该组播组的转发项; 如果己有请求加入的组播组的转发项, 则将所述发送端添加到该转发项中。  If there is no forwarding entry of the multicast group to be joined, the forwarding entry of the multicast group is created for the sending end; if the forwarding entry of the multicast group that has been requested to join is added, the sending end is added to the forwarding In the item.
6、 如权利要求 1所述的方法, 其特征在于, 转发设备根据来自发送端的加入组播 组请求,将该发送端添加到其请求加入的组播组对应的转发项中之后, 该方法进一步包 括:  The method according to claim 1, wherein the forwarding device further adds the sending end to the forwarding item corresponding to the multicast group that it is requesting to join according to the joining multicast group request from the sending end, and the method further Includes:
转发设备逐级向上游转发设备请求加入所述接收端加入的组播组;  The forwarding device requests the upstream forwarding device to join the multicast group joined by the receiving end.
如果上游转发设备中没有所述接收端请求加入的组播组的转发项,则该上游转发设 备创建该组播组的转发项, 并将其下游转发设备添加到该转发项中;  If the upstream forwarding device does not have a forwarding entry of the multicast group that the receiving end requests to join, the upstream forwarding device creates a forwarding entry of the multicast group, and adds a downstream forwarding device to the forwarding entry;
如果上游转发设备中已有所述接收端请求加入的组播组的转发项,则该上游转发设 备将其下游转发设备加入到该已有的转发项中。  If the forwarding device of the multicast group that the receiving end requests to join is already in the upstream forwarding device, the upstream forwarding device adds the downstream forwarding device to the existing forwarding entry.
7、 如权利要求 6所述的方法, 其特征在于, 该方法进一步包括: 上游转发设备接 收组播帧, 并根据接收到的组播帧所属组播组对应的转发项, 逐级发送组播帧。  The method according to claim 6, wherein the method further comprises: the upstream forwarding device receiving the multicast frame, and sending the multicast step by step according to the forwarding item corresponding to the multicast group to which the received multicast frame belongs frame.
8、 如权利要求 1所述的方法, 其特征在于, 所述发送端将认证通过的接收端添加 到其请求加入的组播组对应的转发项中之后, 该方法进一步包括:  The method according to claim 1, wherein after the sending end adds the receiving end of the authentication to the forwarding item corresponding to the multicast group to which the request is to be added, the method further includes:
发送端根据接收端的退出组播组报告,为该接收端更新或删除接收端退出的组播组 对应的转发项, 如果删除了所述组播组对应的转发项,则向转发设备发送退出组播组报 告 ·  The sending end updates or deletes the forwarding entry corresponding to the multicast group that the receiving end exits according to the receiving end of the multicast group report. If the forwarding item corresponding to the multicast group is deleted, the sending end sends the exit group to the forwarding device. Broadcast Group Report·
转发设备根据接收到的退出组播组报告,为该发送端更新或删除接收端退出的组播 组对应的转发项, 如果删除了所述组播组对应的转发项, 则逐级向上游转发设备发送退 出组播组报告;  The forwarding device updates or deletes the forwarding entry corresponding to the multicast group that is logged out by the receiving end according to the received quit multicast group report. If the forwarding entry corresponding to the multicast group is deleted, the forwarding device forwards the packet to the upstream. The device sends an exit multicast group report.
上游转发设备根据接收到的退出组播组报告,为其下游转发设备更新或删除接收端 退出的组播组对应的转发项。  The upstream forwarding device updates or deletes the forwarding entry corresponding to the multicast group exited by the receiving end according to the received exiting multicast group report.
9、 一种组播系统, 其特征在于, 所述系统包括: 接收端、 发送端和转发设备, 其 中,  A multicast system, the system comprising: a receiving end, a sending end, and a forwarding device, wherein
所述接收端, 用于向发送端发送加入组播组请求, 请求加入组播组;  The receiving end is configured to send a join multicast group request to the sending end, requesting to join the multicast group;
所述发送端,用于根据来自所述接收端的加入组播组请求, 对请求加入组播组的接 收端进行认证; 将认证通过的接收端添加到其请求加入的组播组对应的转发项中, 并向 转发设备发送加入组播组请求;  The sending end is configured to authenticate the receiving end that requests to join the multicast group according to the joining multicast group request from the receiving end, and add the receiving end that is authenticated to the forwarding item corresponding to the multicast group that the requesting party joins. And sending a join multicast group request to the forwarding device;
所述转发设备, 用于根据来自所述发送端的加入组播组请求,将该发送端添加到其 请求加入的组播组对应的转发项中。 The forwarding device is configured to add the sending end to the forwarding item corresponding to the multicast group that the requesting party joins according to the joining multicast group request from the sending end.
10、 如权利要求 9所述的系统, 其特征在于, 所述系统进一步包括: 认证服务器, 用于根据来自发送端的请求,从所述发送端获取所述接收端的认证信息, 并对接收端进 行接入认证; 在接入认证通过后, 从外部签约网络获取所述接收端的组信息列表; 向发 送端发送所述接收端组信息列表; The system according to claim 9, wherein the system further comprises: an authentication server, configured to acquire authentication information of the receiving end from the sending end according to a request from a sending end, and perform the authentication information on the receiving end After the access authentication is passed, the group information list of the receiving end is obtained from the external subscription network; and the receiving end group information list is sent to the sending end;
所述发送端进一步用于根据来自接收端的接入请求,向认证服务器请求对所述接收 端进行接入认证; 将来自接收端的认证信息发送给认证服务器; 接收并存储来自认证服 务器的所述接收端的组信息列表;  The sending end is further configured to: request, according to an access request from the receiving end, access authentication to the receiving end to the authentication server; send the authentication information from the receiving end to the authentication server; receive and store the receiving from the authentication server a list of group information at the end;
所述接收端进一歩用于向发送端请求接入; 将认证信息提供给发送端; 向发送端发 送加入组播组请求。  The receiving end is further configured to request access to the sending end; provide authentication information to the sending end; and send a join multicast group request to the sending end.
11、 如权利要求 9所述的系统, 其特征在于, 该系统进一步包括: 所述转发设备的 上游转发设备;  The system according to claim 9, wherein the system further comprises: an upstream forwarding device of the forwarding device;
所述转发设备进一步用于向其上游转发设备请求加入所述接收端加入的组播组; 所述上游转发设备, 用于根据来自所述转发设备的请求,将该转发设备添加到其请 求加入的组播组对应的转发项中。  The forwarding device is further configured to request the upstream forwarding device to join the multicast group that the receiving end joins; the upstream forwarding device is configured to add the forwarding device to the request to join according to the request from the forwarding device The multicast group corresponds to the forwarding entry.
12、 如权利要求 11所述的系统, 其特征在于, 所述接收端进一步用于向发送端发 送退出组播组报告;  The system according to claim 11, wherein the receiving end is further configured to send an exit multicast group report to the sending end;
所述发送端进一步用于根据接收端的退出组播组报告,为该接收端更新或删除接收 端退出的组播组对应的转发项, 如果删除了所述组播组对应的转发项, 则向所述转发设 备发送退出组播组报告;  The sending end is further configured to: according to the exiting multicast group report of the receiving end, update or delete the forwarding item corresponding to the multicast group that the receiving end exits, if the forwarding item corresponding to the multicast group is deleted, The forwarding device sends an exit multicast group report;
所述转发设备进一步用于根据接收到的退出组播组报告,为该发送端更新或删除接 收端退出的组播组对应的转发项, 如果删除了所述组播组对应的转发项, 则向其上游转 发设备发送退出组播组报告;  The forwarding device is further configured to update or delete, according to the received exiting multicast group report, the forwarding entry corresponding to the multicast group that is deleted by the receiving end, and if the forwarding item corresponding to the multicast group is deleted, Sending an exit multicast group report to its upstream forwarding device;
所述上游转发设备进一歩用于根据接收到的退出组播组报告,为所述转发设备更新 或删除接收端退出的组播组对应的转发项。  The upstream forwarding device is further configured to update or delete the forwarding item corresponding to the multicast group that the receiving end exits according to the received exiting multicast group report.
13、 如权利要求 9至 12中任意一项所述的系统, 其特征在于, 所述发送端为: 具 有接入能力的无线网状 Mesh网络节点;  The system according to any one of claims 9 to 12, wherein the transmitting end is: a wireless mesh Mesh network node having access capability;
所述接收端为: STA;  The receiving end is: STA;
所述转发设备包括: Mesh网络的节点、 具有接入能力的 Mesh网络节点、 带有出口 功能的 Mesh网络节点、 路由器中的一个或任意组合。  The forwarding device includes: a node of a Mesh network, a Mesh network node with access capability, a Mesh network node with an egress function, one or any combination of routers.
14、 一种组播设备, 其特征在于, 包括:  14. A multicast device, comprising:
收发单元, 用于接收来自外部的加入组播组请求, 并提供给认证单元; 接收认证单 元提供的认证结果, 向转发设备发送加入组播组请求; a transceiver unit, configured to receive a request for joining a multicast group from the outside, and provide the request to the authentication unit; The authentication result provided by the element sends a request to join the multicast group to the forwarding device;
认证单元, 用于接收收发单元提供的加入组播组请求, 对该请求进行认证, 将认证 通过的接收端添加到其请求加入的组播组对应的转发项中,并将认证结果提供给收发单 元。  The authentication unit is configured to receive the multicast group request provided by the transceiver unit, authenticate the request, add the receiving end that is authenticated to the forwarding item corresponding to the multicast group to which the request is to be added, and provide the authentication result to the receiving and sending unit.
15、 如权利要求 14所述的设备, 其特征在于, 该设备进一步包括存储单元, 用于 存储来自收发单元的组信息列表,并提供给所述认证单元;存储来自认证单元的转发项, 并提供给所述收发单元;  The device according to claim 14, wherein the device further comprises a storage unit, configured to store a list of group information from the transceiver unit, and provide the authentication unit; store the forwarding item from the authentication unit, and Provided to the transceiver unit;
所述收发单元进一步用于将从外部获取的组信息列表存储于存储单元中;根据存储 单元提供的转发项, 发送接收到的组播帧;  The transceiver unit is further configured to: store the group information list obtained from the outside in the storage unit; and send the received multicast frame according to the forwarding item provided by the storage unit;
所述认证单元进一步用于将添加了接收端的转发项发送到存储单元中。  The authentication unit is further configured to send the forwarding item to which the receiving end is added to the storage unit.
PCT/CN2008/070267 2007-02-16 2008-02-03 Multicast method, multicast system and multicast device WO2008098506A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2007100795051A CN101247549B (en) 2007-02-16 2007-02-16 Multicast method, multicast system and multicast equipment
CN200710079505.1 2007-02-16

Publications (1)

Publication Number Publication Date
WO2008098506A1 true WO2008098506A1 (en) 2008-08-21

Family

ID=39689668

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/070267 WO2008098506A1 (en) 2007-02-16 2008-02-03 Multicast method, multicast system and multicast device

Country Status (2)

Country Link
CN (1) CN101247549B (en)
WO (1) WO2008098506A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143132A (en) * 2021-11-15 2022-03-04 云知声(上海)智能科技有限公司 Method and system for realizing intelligent linkage of multi-terminal equipment based on RTP-MESH
CN114727235A (en) * 2022-03-29 2022-07-08 中国电信股份有限公司 Multicast service processing method, device, storage medium and electronic equipment

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103684805B (en) * 2012-09-26 2018-05-08 深圳市腾讯计算机系统有限公司 Data link layer method of multicasting, system and equipment
CN102868609B (en) 2012-09-27 2018-03-13 中兴通讯股份有限公司 A kind of MTU machinery of consultation and data terminal
CN105247901A (en) * 2013-05-30 2016-01-13 中央大学学术合作基金会 Device and method for managing multicast group in wireless network
CN104093217B (en) * 2014-06-24 2017-12-26 哈尔滨海能达科技有限公司 A kind of group of digital cluster system exhales management method and device
CN106227490A (en) * 2016-07-29 2016-12-14 中兴通讯股份有限公司 The method that cloud desktop system, cloud terminal and application add multicast group
CN106993279A (en) * 2017-06-13 2017-07-28 深圳市伊特利网络科技有限公司 The method for building up and system of terminal multicast group
CN108076500B (en) * 2017-12-13 2021-04-02 北京小米移动软件有限公司 Method and device for managing local area network and computer readable storage medium
CN116954643B (en) * 2023-06-02 2024-04-05 深圳市华芯控股有限公司 On-demand and multicast firmware upgrading method based on CAN bus ad hoc network system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1192574C (en) * 2002-01-30 2005-03-09 华为技术有限公司 Controlled group broadcasting system and its realizing method
CN1728684A (en) * 2004-07-30 2006-02-01 日立通讯技术株式会社 Packet transfer apparatus
CN1801711A (en) * 2006-01-18 2006-07-12 杭州华为三康技术有限公司 Multicast group member identification method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100486207C (en) * 2003-12-26 2009-05-06 华为技术有限公司 IP multicasting precision port transmitting method in three layer exchanging

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1192574C (en) * 2002-01-30 2005-03-09 华为技术有限公司 Controlled group broadcasting system and its realizing method
CN1728684A (en) * 2004-07-30 2006-02-01 日立通讯技术株式会社 Packet transfer apparatus
CN1801711A (en) * 2006-01-18 2006-07-12 杭州华为三康技术有限公司 Multicast group member identification method and apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143132A (en) * 2021-11-15 2022-03-04 云知声(上海)智能科技有限公司 Method and system for realizing intelligent linkage of multi-terminal equipment based on RTP-MESH
CN114143132B (en) * 2021-11-15 2023-08-04 云知声(上海)智能科技有限公司 Method and system for realizing intelligent linkage of multi-terminal equipment based on RTP-MESH
CN114727235A (en) * 2022-03-29 2022-07-08 中国电信股份有限公司 Multicast service processing method, device, storage medium and electronic equipment
CN114727235B (en) * 2022-03-29 2024-01-30 中国电信股份有限公司 Multicast service processing method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN101247549B (en) 2012-06-27
CN101247549A (en) 2008-08-20

Similar Documents

Publication Publication Date Title
WO2008098506A1 (en) Multicast method, multicast system and multicast device
US9544282B2 (en) Changing group member reachability information
US7814311B2 (en) Role aware network security enforcement
JP5607749B2 (en) Method and system for establishing a secure connection between user terminals
WO2003065677A1 (en) System and implementation method of controlled multicast
Li et al. A secure routing protocol for wireless ad hoc networks
US20050080901A1 (en) Method and apparatus for controlling access to multicast data streams
EP3396928A1 (en) Method for managing network access rights and related device
JP2014513472A (en) Machine-to-machine node erase procedure
US20160066354A1 (en) Communication system
KR20220114638A (en) Method, device, and system for updating an anchor key in a communication network for encrypted communication with a service application
US20160080340A1 (en) Communication control device
WO2022078214A1 (en) Subscription data update method and apparatus, node, and storage medium
WO2008092403A1 (en) A method and system for transmitting multicast information and authorizing multicast service
US8688077B2 (en) Communication system and method for providing a mobile communications service
WO2009006831A1 (en) Method and equipment for restricting the transition of a data packet
WO2009003383A1 (en) Multicast method, network device and multicast system
KR20220100669A (en) Method, device and system for generating and managing application keys in a communication network for encrypted communication with service applications
JP2018174550A (en) Communication system
Elamathi et al. Enhanced secure communication over inter-domain routing in heterogeneous wireless networks based on analysis of BGP anomalies using soft computing techniques
GB2423435A (en) Access control for mobile multicast
Guo et al. MPR based secure content routing scheme for NDN-MANET
US10841283B2 (en) Smart sender anonymization in identity enabled networks
Sharma ANALYSIS OF SECURITY REQUIREMENTS IN WIRELESS NETWORKS AND MOBILE AD-HOC NETWORKS.
Ordu et al. RPL Authenticated Mode Evaluation: Authenticated Key Exchange and Network Behavioral

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

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

Country of ref document: EP

Kind code of ref document: A1