CN105472568B - A kind of wireless multicast cut-in method and gateway, access point - Google Patents
A kind of wireless multicast cut-in method and gateway, access point Download PDFInfo
- Publication number
- CN105472568B CN105472568B CN201410344819.XA CN201410344819A CN105472568B CN 105472568 B CN105472568 B CN 105472568B CN 201410344819 A CN201410344819 A CN 201410344819A CN 105472568 B CN105472568 B CN 105472568B
- Authority
- CN
- China
- Prior art keywords
- port
- mobile terminal
- address
- multicast
- gateway
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Abstract
The invention discloses a kind of wireless multicast cut-in methods, comprising: gateway receives the IGMP request from mobile terminal, and the address of the multicast packet according to the address and mobile terminal request of the IGMP request mobile terminal;Gateway obtains user's list item, and user's list item includes address and the mobile terminal address set of multicast packet, and the address of the mobile terminal belongs to the mobile terminal address set;User's list item is sent to the first AP and the 2nd AP by gateway, wherein the first AP is the AP that mobile terminal is associated with, and the 2nd AP is different from the first AP.Meanwhile the invention also discloses a kind of gateways, access point.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of wireless multicast cut-in methods and gateway, access point.
Background technique
Multicast service is widely spread, and mobile terminal can be based on multicast service receiving multicast data, to mention to user
For efficiently data service.
In general, when mobile terminal is associated with the first access point (English: access point, abbreviation: AP), mobile terminal
Can be from the first AP receiving multicast data, when mobile terminal and the first AP are gone to be associated with and be associated with to two AP, mobile terminal
The multicast packet can be continued to from the 2nd AP.Specifically, when mobile terminal is associated with two AP, mobile terminal need to
Gateway sends Internet Group Management Protocol (English: Internet Group Management Protocol, abbreviation: IGMP) and asks
It asks, gateway is based on IGMP request again and multicast packet is sent to the 2nd AP, then multicast packet is given to movement eventually by the 2nd AP
End.
But above-mentioned technology has the following technical problems:
When mobile terminal and the first AP are gone to be associated with and be associated with to two AP, since mobile terminal will not be generally associated with
IGMP request is sent after to the 2nd AP immediately, and receives the IGMP to gateway from mobile terminal transmission IGMP request and requests it
Between the consumed time it is longer, cause mobile terminal quickly not receive multicast packet from the 2nd AP.
Summary of the invention
The present invention solves mobile terminal and is going to be associated with and close with the first AP by providing a kind of wireless multicast cut-in method
When being linked to two AP, the technical issues of quickly can not receiving multicast packet from the 2nd AP is rotated.
In a first aspect, the present invention provides a kind of wireless multicast cut-in methods, which comprises
Gateway receives the Internet Group Management Protocol IGMP request from mobile terminal, and according to the IGMP request
The address of the multicast packet of the address of the mobile terminal and the mobile terminal request;
The gateway obtains user's list item, and user's list item includes address and the mobile terminal address of the multicast packet
Set, the address of the mobile terminal belongs to the mobile terminal address set;
User's list item is sent to the first AP and the 2nd AP by the gateway, wherein the first AP is the movement
The AP that terminal association arrives, the 2nd AP are different from the first AP.
With reference to first aspect, in the first possible embodiment of first aspect, the gateway obtains user's list item
Later, the method also includes:
The gateway obtains multicast list, and the multicast list includes the ground of the multicast packet in user's list item
Location and port-mark set, the port-mark collection are combined into the set of at least one port-mark, at least one described port
The port that any one port-mark in mark is identified is the end that an AP in the gateway and AP set is connected directly
Mouthful, the AP collection is combined into the associated AP's of mobile terminal of at least one address mark in the mobile terminal address set
Set, wherein AP set includes the first AP and do not include the 2nd AP, and the port-mark set includes the
Single port mark, the first port identify the first port for identifying the gateway, and the first port is the gateway
The port being connected directly with the first AP;
The gateway receives the first multicast message, and the address of the multicast packet of first multicast message is described mobile whole
Hold the address of the multicast packet of request;
The gateway is identified according to the multicast list by each port-mark in the port-mark set
Each AP of the port into AP set sends first multicast message;
The gateway determines that the mobile terminal goes to be associated with and be associated with the 2nd AP from the first AP;
The gateway modifies the port-mark set, wherein it includes institute that the gateway, which modifies the port-mark set,
It states gateway and adds second port mark in the port-mark set, the second port mark is for identifying the gateway
Second port, the second port are the ports that the gateway and the 2nd AP are connected directly;
The gateway receives the second multicast message, and the address of the multicast packet of second multicast message is described mobile whole
Hold the address of the multicast packet of request;
The gateway passes through each port-mark in the modified port-mark set according to the multicast list
Each AP of the port identified into new AP set sends second multicast message, includes institute in the new AP set
State the 2nd AP.
The possible embodiment of with reference to first aspect the first, in second of possible embodiment of first aspect
In, after the gateway determines that the mobile terminal goes to be associated with and be associated with the 2nd AP from the first AP, the method
Further include:
The gateway determines the mobile terminal association that any one address in the mobile terminal address set is identified
Be all other AP in addition to the first AP;
The gateway modifies the port-mark set further include: the gateway deletes the institute in the port-mark set
State first port mark.
Second aspect, the present invention provides a kind of wireless multicast cut-in methods, which comprises
AP receives user's list item for sending of gateway, includes address and the mobile terminal of multicast packet in user's list item
Location set, the mobile terminal address collection are combined into the address for requesting at least one mobile terminal of address of the multicast packet
Set, at least one described mobile terminal includes first movement terminal, the first movement terminal association to the AP;
The AP receives the first multicast message, and the address of the multicast packet of first multicast message is user's list item
In multicast packet address;
The mobile end that is associated with the AP of the AP according to user's list item into the mobile terminal address set
End sends first multicast message.
In conjunction with second aspect, in the first possible embodiment of second aspect, the mobile terminal address set
It further include the address of the second mobile terminal, and second mobile terminal is not associated to the AP, the method also includes:
After the AP sends first multicast message, it is described that the AP determines that second mobile terminal is associated with
AP;
The AP receives the second multicast message, and the address of the multicast packet of second multicast message is user's list item
In multicast packet address;
The multiple shiftings that are associated with the AP of the AP according to user's list item into the mobile terminal address set
Dynamic terminal sends second multicast message, and the multiple mobile terminal includes the first movement terminal and second movement
Terminal.
The third aspect, the present invention provides a kind of gateway, the gateway includes:
First receiving unit, for receiving the Internet Group Management Protocol IGMP request from mobile terminal, and according to institute
State the address of the address of mobile terminal described in IGMP request and the multicast packet of the mobile terminal request;
First obtains unit, for obtaining user's list item, user's list item includes address and the shifting of the multicast packet
Dynamic terminal address set, the address of the mobile terminal belongs to the mobile terminal address set;
First transmission unit, for user's list item to be sent to the first AP and the 2nd AP, wherein the first AP is
The AP that the mobile terminal is associated with, the 2nd AP are different from the first AP.
In conjunction with the third aspect, in the first possible embodiment of the third aspect, the gateway further include:
Second obtaining unit, for obtaining multicast list, the multicast list includes described group in user's list item
The address of multicast data and port-mark set, the port-mark collection are combined into the set of at least one port-mark, it is described extremely
The port that any one port-mark in few a port mark is identified is that an AP in the gateway and AP set is straight
Connected port is connect, the AP collection is combined into the mobile terminal at least one address mark in the mobile terminal address set
The set of associated AP, wherein the AP set includes the first AP and do not include the 2nd AP, the port-mark
Set includes that first port identifies, and the first port identifies the first port for identifying the gateway, the first port
It is the port that the gateway and the first AP are connected directly;
Second receiving unit, for receiving the first multicast message, the address of the multicast packet of first multicast message is
The address of the multicast packet of the mobile terminal request;
Second transmission unit, for passing through each port-mark in the port-mark set according to the multicast list
Each AP of the port identified into AP set sends first multicast message;
First determination unit, for determining that the mobile terminal goes to be associated with and be associated with described second from the first AP
AP;
Unit is modified, for modifying the port-mark set, wherein the gateway modifies the port-mark set packet
It includes the gateway and adds second port mark in the port-mark set, the second port mark is for identifying the net
The second port of pass, the second port are the ports that the gateway and the 2nd AP are connected directly;
Third receiving unit, for receiving the second multicast message, the address of the multicast packet of second multicast message is
The address of the multicast packet of the mobile terminal request;
Third transmission unit, it is each in the modified port-mark set for being passed through according to the multicast list
Each AP of the port that port-mark is identified into new AP set sends second multicast message, the new AP set
In include the 2nd AP.
In conjunction with the first possible embodiment of the third aspect, in second of possible embodiment of the third aspect
In, the gateway further include:
Second determination unit, for determining that the mobile terminal goes to be associated with and be associated with from the first AP in the gateway
After 2nd AP, the mobile terminal for determining that any one address in the mobile terminal address set is identified is associated all
It is other AP in addition to the first AP;
The modification unit is also used to: deleting the first port mark in the port-mark set.
Fourth aspect, the present invention provides a kind of access point AP, the AP includes:
First receiving unit, the user's list item sent for receiving gateway include multicast packet in user's list item
Address and mobile terminal address set, the mobile terminal address collection are combined at least one for requesting the address of the multicast packet
The set of the address of mobile terminal, at least one described mobile terminal include first movement terminal, and the first movement terminal is closed
It is linked to the AP;
Second receiving unit, for receiving the first multicast message, the address of the multicast packet of first multicast message is
The address of multicast packet in user's list item;
First transmission unit, for according to user's list item being associated with into the mobile terminal address set
The mobile terminal of AP sends first multicast message.
In conjunction with fourth aspect, in the first possible embodiment of fourth aspect, the mobile terminal address set
It further include the address of the second mobile terminal, and second mobile terminal is not associated to the AP, the AP further include:
First determination unit determines that second mobile terminal is associated with after sending first multicast message
The AP;
Third receiving unit, for receiving the second multicast message, the address of the multicast packet of second multicast message is
The address of multicast packet in user's list item;
Second transmission unit, for according to user's list item being associated with into the mobile terminal address set
Multiple mobile terminals of AP send second multicast message, and the multiple mobile terminal includes the first movement terminal and institute
State the second mobile terminal.
5th aspect, the present invention provides a kind of gateway, the gateway includes:
Port;
Memory, for storing program code;
Processor is connect with the port and the memory, for reading said program code from the memory, with
It executes:
The Internet Group Management Protocol IGMP request from mobile terminal is received by the port, and according to the IGMP
The address of the multicast packet of the address of mobile terminal described in request and the mobile terminal request;Obtain user's list item, institute
The address and mobile terminal address set that user's list item includes the multicast packet are stated, the address of the mobile terminal belongs to described
Mobile terminal address set;User's list item is sent to the first AP and the 2nd AP, wherein the first AP is the movement
The AP that terminal association arrives, the 2nd AP are different from the first AP.
In conjunction with the 5th aspect, in the first possible embodiment of the 5th aspect, the processor is also used to:
After obtaining user's list item, multicast list is obtained, the multicast list includes described in user's list item
The address of multicast packet and port-mark set, the port-mark collection is combined into the set of at least one port-mark, described
The port that any one port-mark at least one port-mark is identified is an AP in the gateway and AP set
The port being connected directly, the AP collection are combined into the mobile end at least one address mark in the mobile terminal address set
Hold the set of associated AP, wherein the AP set includes the first AP and do not include the 2nd AP, the port mark
Knowing set includes that first port identifies, and the first port identifies the first port for identifying the gateway, the first end
Mouth is the port that the gateway and the first AP are connected directly;By the port receive the first multicast message, described first
The address of the multicast packet of multicast message is the address of the multicast packet of the mobile terminal request;It is logical according to the multicast list
Described in each AP of the port that each port-mark crossed in the port-mark set is identified into AP set is sent
First multicast message;Determine that the mobile terminal goes to be associated with and be associated with the 2nd AP from the first AP;Modify the end
Mouth logo collection, wherein it includes the gateway in the port-mark set that the gateway, which modifies the port-mark set,
Second port mark is added, the second port identifies the second port for identifying the gateway, and the second port is institute
State the port that gateway and the 2nd AP are connected directly;The second multicast message, second group of casting are received by the port
The address of the multicast packet of text is the address of the multicast packet of the mobile terminal request;Passed through according to the multicast list described
Each AP of the port that each port-mark in modified port-mark set is identified into new AP set sends institute
The second multicast message is stated, includes the 2nd AP in the new AP set.
In conjunction with the first possible embodiment of the 5th aspect, in second of possible embodiment of the 5th aspect
In, the processor is also used to:
After determining the mobile terminal and going to be associated with and be associated with the 2nd AP from the first AP, the movement is determined
The associated mobile terminal that any one address in terminal address set is identified all is other AP in addition to the first AP;
The modification port-mark set further include: delete the first port mark in the port-mark set.
6th aspect, the present invention provides a kind of access point AP, the AP includes:
Cable port and radio port;
Memory, for storing program code;
Processor is connect with the cable port, the radio port and the memory, is used for from the storage
Device reads said program code, to execute:
User's list item that gateway is sent is received by the cable port, includes the ground of multicast packet in user's list item
Location and mobile terminal address set, the mobile terminal address collection are combined at least one shifting for requesting the address of the multicast packet
The set of the address of dynamic terminal, at least one described mobile terminal includes first movement terminal, the first movement terminal association
To the AP;The first multicast message is received by the cable port, the address of the multicast packet of first multicast message is
The address of multicast packet in user's list item;According to association of the user's list item into the mobile terminal address set
Mobile terminal to the AP sends first multicast message by the radio port.
In conjunction with the 6th aspect, in the first possible embodiment of the 6th aspect, the mobile terminal address set
Further include the address of the second mobile terminal, and second mobile terminal is not associated to the AP, the processor is also used to:
After sending first multicast message, determine that second mobile terminal is associated with the AP;By described
Cable port receives the second multicast message, and the address of the multicast packet of second multicast message is the group in user's list item
The address of multicast data;According to the multiple movements that are associated with the AP of the user's list item into the mobile terminal address set
Terminal sends second multicast message by the radio port, and the multiple mobile terminal includes the first movement terminal
With second mobile terminal.
The present invention has at least the following technical effects or advantages:
In the present embodiment, when mobile terminal goes to be associated with and be associated with two AP with the first AP, gateway can be according to more
The AP that the gateway after new is directly connected to and the incidence relation between the associated mobile terminal of these AP and user's list item obtain
Corresponding multicast list, and the requested multicast packet of terminal is sent to and needs receiving multicast data including the 2nd AP
AP.Since the IGMP request that gateway is not necessarily to receive that mobile terminal issues after roaming in the present embodiment can be according to association
Multicast list is accordingly modified in the change of relationship, and mobile terminal can be enabled rapidly to receive the multicast number from the 2nd AP
According to solve mobile terminal when going to be associated with and be associated with the first AP to two AP, rotating can not be quickly from
The technical issues of two AP receive multicast packet realizes the technology for rotating and capable of quickly receiving multicast packet from the 2nd AP
Effect.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for this
For the those of ordinary skill of field, without creative efforts, it can also be obtained according to these attached drawings others
Attached drawing.
Fig. 1 is that mobile terminal A goes the schematic diagram of a scenario before association from the first AP in the embodiment of the present invention;
Fig. 2 is that mobile terminal A goes after association from the first AP and is associated with the scene signal of the 2nd AP in the embodiment of the present invention
Figure;
Fig. 3 is the flow chart of the first embodiment of wireless multicast cut-in method in the embodiment of the present invention one;
Fig. 4 is the flow chart of second of embodiment of wireless multicast cut-in method in the embodiment of the present invention one;
Fig. 5 is the flow chart of the third embodiment of wireless multicast cut-in method in the embodiment of the present invention one;
Fig. 6 is the flow chart of the first embodiment of wireless multicast cut-in method in the embodiment of the present invention two;
Fig. 7 is the flow chart of second of embodiment of wireless multicast cut-in method in the embodiment of the present invention two;
Fig. 8 is the structural schematic diagram of gateway in the embodiment of the present invention three;
Fig. 9 is the structural schematic diagram of access point in the embodiment of the present invention four;
Figure 10 is the structural schematic diagram of gateway in the embodiment of the present invention five;
Figure 11 is the structural schematic diagram of access point in the embodiment of the present invention six.
Specific embodiment
The embodiment of the present invention solves mobile terminal and goes to close with the first AP by providing a kind of wireless multicast cut-in method
When joining and being associated with to two AP, the technical issues of quickly can not receiving multicast packet from the 2nd AP is rotated.
To keep the purposes, technical schemes and advantages of one embodiment of the invention clearer, implement below in conjunction with the present invention
Attached drawing in example, technical solution in the embodiment of the present invention are explicitly described, it is clear that described embodiment is this hair
Bright a part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not having
Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
Embodiment one
Present embodiments provide a kind of wireless multicast cut-in method.As shown in Figure 1, gateway and multiple AP (such as: first
AP, the 2nd AP, the 3rd AP) in each AP be directly connected to.It is above-mentioned to be directly connected to refer to physics or logic be directly connected to.Example
Such as, gateway can pass through the connection of each AP in optical fiber or cable and the multiple AP;Or gateway can by tunnel with it is described
Each AP connection in multiple AP;Or it is connect by optical fiber or cable with some AP in the multiple AP, and pass through tunnel and its
Remaining AP connection.
As shown in figure 3, the wireless multicast cut-in method, comprising:
Step 11: gateway receives the IGMP request from first movement terminal, and according to first shifting of IGMP request
The address of the multicast packet of the address and first movement terminal request of dynamic terminal.
For example, mobile terminal can be the terminal devices such as smart phone, tablet computer, vehicle-mounted computer.
For example, IGMP request can be with are as follows: (English is added in IGMP report (English: Report) request or IGMP
Text: Join) request.
For example, the address of mobile terminal can be with are as follows: the medium access control (English: media of the mobile terminal
Access control, abbreviation: MAC) address or the mobile terminal Internet protocol (English: Internet Protocol, contracting
Write: IP) address.
For example, multicast packet can be with are as follows: video multicast data or audio multicast packet or any other multicast number
According to.
For example, the address of multicast packet can be with are as follows: group address (English: Group Address) word in IGMP request
Multicast address in section;Or source address in multicast address in IGMP request in group address field and IGMP request (English:
Source Address) unicast address in field combination.
Step 12: gateway obtains user's list item, and user's list item includes the address of the multicast packet of first movement terminal request
With mobile terminal address set, the address of the first movement terminal belongs to mobile terminal address set.
Mobile terminal address collection in user's list item, which is combined into, requests the address of the multicast packet in user's list item to be identified
Multicast packet at least one mobile terminal address set.The user that gateway is obtained according to the request of first movement terminal
Mobile terminal address collection in list item is combined into the set for requesting the address of at least one mobile terminal of the multicast packet.
If gateway has saved user's list item of the address including the multicast packet, and the mobile end in user's list item
It does not include the address of the mobile terminal in the address set of end, then gateway adds in the mobile terminal address set in user's list item
Add the address of the mobile terminal to obtain user's list item.If if gateway does not save the use of the address including the multicast packet
Family list item, then gateway creates user's list item, which includes the address of the multicast packet and only include an element,
That is the address of the mobile terminal, mobile terminal address set, gateway saves newly created user's list item.
For example, as shown in Figure 1, by taking first movement terminal is terminal A as an example, in mobile terminal A, mobile terminal B and
Mobile terminal D has applied for the multicast packet, and when mobile terminal C does not apply for the multicast packet, the mobile terminal address collection
Address, the address of mobile terminal B and the address of mobile terminal D including mobile terminal A are closed, does not include the address of terminal C.
Step 13a: user's list item is sent to the first AP and the 2nd AP by gateway, wherein the first AP is first movement terminal
The AP being associated with, the 2nd AP are different from the first AP.
Generally in a wlan, the AP that a mobile terminal is only associated with, first movement terminal association to the first AP then
First movement terminal is not associated to the 2nd AP.
Whole AP that gateway can issue user's list item and the gateway is directly connected to, such as the first AP, the 2nd AP and
Three AP.
In the present embodiment, the AP of the mobile terminal of association request multicast packet, such as the first AP and not associated request group
The AP of the mobile terminal of multicast data, such as the 2nd AP, can receive user's list item of gateway transmission, so that the 2nd AP is in the movement
The multicast packet that its request can be sent after terminal association to the 2nd AP to the mobile terminal, without waiting the mobile terminal to send out
The IGMP request sent.
Further, as shown in figure 4, after step S102, the method can also include:
Step 13b: gateway obtains multicast list;Wherein, multicast list includes the address of the multicast packet in user's list item
And port-mark set, port-mark collection are combined into the set of at least one port-mark, appointing at least one port-mark
It is the port that an AP in gateway and AP set is connected directly that meaning a port, which identifies identified port, and AP collection is combined into and moves
The set of the associated AP of mobile terminal of at least one address mark in dynamic terminal address set, AP gather including the first AP simultaneously
And do not include the 2nd AP, port-mark set includes first port mark, and first port identifies the first end for identifying gateway
Mouthful, first port is the port that gateway and the first AP are connected directly.
Above-mentioned port can be physical port or tunnel, correspondingly, port-mark can be physical port mark or tunnel
Mark.
Above-mentioned AP set is merely to illustrate the relationship between port-mark set and mobile terminal address set, which gathers not
It needs to save in a gateway.
The gateway is integrated with WLAN controller, thus preserves and AP that the gateway is directly connected to and associated with these AP
Incidence relation between mobile terminal.Each AP in the AP that gateway is also preserved and the gateway is directly connected to is connected to the gateway
The corresponding relationship of which port.
For example, as shown in Figure 1, gateway includes multiple ports, gateway is connect by first port with the first AP, gateway
It is connect by second port with the 2nd AP, gateway is connect by third port with the 3rd AP.Gateway is preserved for identifying first
The first port of port identifies, and the second port for identifying second port identifies, for identifying the third port of third port
Mark is respectively corresponded to the first AP, the 2nd AP, the mapping of the 3rd AP.In above-mentioned mapping, AP can be identified with AP or the address of AP
To indicate.Mobile terminal A and mobile terminal B are associated with the first AP, and mobile terminal C is associated with the 2nd AP, and mobile terminal D is associated with
3rd AP.Gateway preserves the address of mobile terminal A and the address of mobile terminal B corresponds to the mapping of the first AP, mobile terminal C
Address correspond to the mapping of the 2nd AP, the address of mobile terminal D corresponds to the mapping of the 3rd AP.In above-mentioned mapping, AP can be with
It is indicated with the address of AP mark or AP.It is all requested in user's list item in mobile terminal A, mobile terminal B and mobile terminal D
Comprising the first AP and the 3rd AP but do not include the when multicast packet, mobile terminal C do not request the multicast packet, in AP set
Two AP include first port mark and third port mark in the port-mark set.
Step 14b: gateway receives the first multicast message, and the address of the multicast packet of the first multicast message asks for mobile terminal
The address for the multicast packet asked.
For example, gateway receives multicast message A, and the address of the multicast packet of multicast message A is first movement terminal, i.e.,
The address of the multicast packet of mobile terminal A request.
Step 15b: the port that gateway is identified according to multicast list by each port-mark in port-mark set
Each AP into AP set sends the first multicast message.
For example, as shown in Figure 1, due to including first port mark and third port mark in the port-mark set
Know, then gateway passes through first port and third port multicast multicast message A.Because first port connects the first AP, third end
Mouth the 3rd AP of connection, the first AP and the 3rd AP can receive multicast message A.At this point, mobile terminal A and mobile terminal B
Multicast message A can be received from the first AP, to obtain the multicast packet in multicast message A;Mobile terminal D can be from
Three AP receive multicast message A, to obtain the multicast packet in multicast message A.
Gateway, which obtains multicast list, can simplify the forwarding of multicast message, not need after receiving multicast message root again
According to the corresponding port of user's entry lookup.Further, if gateway is using hardware chip (English: chip) forwarding multicasting report
The multicast list can be stored in hardware chip to realize the fast-forwarding of multicast message using the hardware chip by text, gateway.
Step 16b: gateway determines that first movement terminal goes to be associated with and be associated with the 2nd AP from the first AP.
For example, as shown in Fig. 2, mobile terminal A can use radio roaming (English: roaming) technology, IP is kept
Address is constant, is associated with the 2nd AP.The above process is properly termed as first movement terminal and roams into the 2nd AP from the first AP.Due to moving
IP address after dynamic terminal roaming is constant, and mobile terminal will not generally send immediately IGMP request after roaming.First movement is whole
After end roams into the 2nd AP, gateway accordingly updates its preservation and AP that the gateway is directly connected to and with the associated movement of these AP
The incidence relation of terminal room.
Step 17b: gateway modifies port-mark set, wherein it includes gateway in port that gateway, which modifies port-mark set,
Second port mark is added in logo collection, second port identifies the second port for identifying gateway, and second port is gateway
The port being connected directly with the 2nd AP.
For example, after first movement terminal roams into the 2nd AP from the first AP, AP and closed with these AP that gateway saves
The address that incidence relation between the mobile terminal of connection is updated to mobile terminal B corresponds to the mapping of the first AP, mobile terminal A's
Address and the address of mobile terminal C correspond to the mapping of the 2nd AP, and the address of mobile terminal D corresponds to the mapping of the 3rd AP.?
Mobile terminal A, mobile terminal B and mobile terminal D request multicast packet, mobile terminal C in user's list item and do not request this
It include the first AP, the 2nd AP and the 3rd AP in new AP set when multicast packet.First AP, the 2nd AP and the 3rd AP are corresponding
Port-mark is first port mark, second port mark and third port mark.Gateway is in former port-mark set (including
Single port mark and third port mark) in addition second port mark, obtain include first port mark, second port identify
With the modified port-mark set of third port mark.
Step 18b: gateway receives the second multicast message, and the address of the multicast packet of the second multicast message asks for mobile terminal
The address for the multicast packet asked.
For example, as shown in Fig. 2, gateway receives multicast message B, the address of the multicast packet of multicast message B is movement
The address of the multicast packet of Terminal A requests, i.e. multicast message B are identical with the address of the multicast packet of multicast message A.
Step 19b: gateway is marked according to multicast list by each port-mark in modified port-mark set
Each AP of the port of knowledge into new AP set sends the second multicast message, includes the 2nd AP in new AP set.
For example, as shown in Fig. 2, due to containing second port mark, then net in modified port-mark set
It closes and passes through second port multicast multicast message B.Because second port connects the 2nd AP, the 2nd AP can receive group casting
Literary B.At this point, mobile terminal A can receive multicast message B from the 2nd AP, to obtain the multicast packet in multicast message B.
Gateway, which obtains multicast list, can simplify the forwarding of multicast message, not need after receiving multicast message root again
According to the corresponding port of user's entry lookup.Further, if gateway uses hardware chip forwarding multicasting message, gateway can be incited somebody to action
The multicast list is stored in hardware chip to realize the fast-forwarding of multicast message using the hardware chip.
In the present embodiment, when mobile terminal goes to be associated with and be associated with two AP with the first AP, gateway can be according to more
The AP that the gateway after new is directly connected to and the incidence relation between the associated mobile terminal of these AP and user's list item obtain
Corresponding multicast list, and the requested multicast packet of terminal is sent to and needs receiving multicast data including the 2nd AP
AP.Since the IGMP request that gateway is not necessarily to receive that mobile terminal issues after roaming in the present embodiment can be according to association
Multicast list is accordingly modified in the change of relationship, and mobile terminal can be enabled rapidly to receive the multicast number from the 2nd AP
According to solve mobile terminal when going to be associated with and be associated with the first AP to two AP, rotating can not be quickly from
The technical issues of two AP receive multicast packet realizes the technology for rotating and capable of quickly receiving multicast packet from the 2nd AP
Effect.
In the present embodiment, it when the multicast packet is video multicast data, goes to be associated with the first AP in mobile terminal
And when being associated with two AP, mobile terminal rapidly can receive the video multicast data from the 2nd AP, to eliminate or alleviate
There is the phenomenon that video playing mosaic (English: mosaic) or Caton (English: frozen).
Further, as shown in figure 5, after step 16b, the method also includes:
Step 17c: gateway determines the mobile terminal association that any one address in mobile terminal address set is identified
Be all other AP in addition to the first AP;At this point, gateway modifies port-mark set further include: gateway deletes port-mark set
In first port mark.
For example, as shown in Fig. 2, if after mobile terminal B goes association from the first AP, first movement terminal is just from the
One AP roams into the 2nd AP, and the AP and the incidence relation between the associated mobile terminal of these AP that gateway saves are updated to move
The address of terminal A and the address of mobile terminal C correspond to the mapping of the 2nd AP, and the address of mobile terminal D corresponds to the 3rd AP's
Mapping.Due to the first AP of no any mobile terminal association, the AP of gateway preservation and between the associated mobile terminal of these AP
Do not have in incidence relation include the first AP mapping.The multicast in user's list item is all requested in mobile terminal A and mobile terminal D
It include the 2nd AP and the 3rd AP in new AP set when data, mobile terminal C do not request the multicast packet, i.e., new AP set
It does not include the first AP.2nd AP and the corresponding port-mark of the 3rd AP are second port mark and third port mark.Gateway exists
Addition second port identifies and deletes first end in former port-mark set (including first port mark and third port mark)
Mouth mark obtains including that second port identifies the modified port-mark set identified with third port.In another example
In, mobile terminal B no longer requests the multicast packet, and mobile terminal B sends IGMP and leaves (English: Leave) message, Yong Hubiao
Mobile terminal address set in includes the address of mobile terminal A and the address of mobile terminal D.Later, first movement terminal
The 2nd AP is roamed into from the first AP, the AP and the incidence relation between the associated mobile terminal of these AP that gateway saves are updated to
The address of mobile terminal B corresponds to the mapping of the first AP, and the address of mobile terminal A and the address of mobile terminal C correspond to second
The mapping of AP, the address of mobile terminal D correspond to the mapping of the 3rd AP.Mobile terminal A and mobile terminal D request user's table
Multicast packet, mobile terminal B and mobile terminal C in do not request the multicast packet, in new AP set comprising the 2nd AP and
3rd AP, i.e., new AP set does not include the first AP.2nd AP and the corresponding port-mark of the 3rd AP be second port mark and
Third port mark.Gateway adds second end in former port-mark set (including first port mark and third port mark)
Mouth identifies and deletes first port mark, obtains including that second port identifies the modified port-mark identified with third port
Set.Gateway can accordingly modify multicast list without waiting for multicast list aging according to the change of incidence relation, and gateway is moving
Dynamic terminal roaming causes AP to cut off the multicast traffic stream for being sent to the AP when not needing receiving multicast data quickly to save group
Broadcast the bandwidth of system.
Embodiment two
Based on the same inventive concept, a kind of wireless multicast cut-in method is present embodiments provided.As shown in Figure 1, gateway with
Each AP's is directly connected in multiple AP (such as: the first AP, the 2nd AP, the 3rd AP).It is above-mentioned be directly connected to refer to physics or
Logic is directly connected to.For example, gateway can pass through the connection of each AP in optical fiber or cable and the multiple AP;Or gateway can
To be connect by tunnel with each AP in the multiple AP;Or connected by some AP in optical fiber or cable and the multiple AP
It connects, and is connect by tunnel with remaining AP.
As shown in fig. 6, the wireless multicast cut-in method, comprising:
Step 21:AP receives user's list item that gateway is sent, and the address for including multicast packet in user's list item and movement are eventually
Address set is held, mobile terminal address collection is combined into the collection of the address of at least one mobile terminal of the address of request multicast packet
It closes, at least one mobile terminal includes first movement terminal, the first movement terminal association to the AP.
The first movement terminal can be the mobile terminal that the AP is roamed into from other AP.
The first movement terminal is also possible to newly be associated with the mobile terminal of the AP.If the first movement terminal needs group
Multicast data then sends IGMP request, and gateway receives the IGMP request from the first movement terminal, and is obtained according to IGMP request
User's list item is obtained, which includes address and the mobile terminal address set of the multicast packet of first movement terminal request,
The mobile terminal address set includes the address of first movement terminal.Gateway sends user's list item to AP.AP is sent out according to gateway
The user's list item sent, rather than the multicast packet for forwarding it to request to first movement terminal is requested according to IGMP.
Step 22:AP receives the first multicast message, and the address of the multicast packet of the first multicast message is in user's list item
The address of multicast packet.
Step 23a:AP sends the according to the mobile terminal that is associated with AP of user's list item into mobile terminal address set
One multicast message.
Mobile terminal address set in the corresponding user's list item in the address of the multicast packet of first multicast message includes the
The address of one mobile terminal, and first movement terminal association is to the AP, therefore AP is to one including first movement terminal
Group mobile terminal sends the first multicast message.
For example, the multicast packet can be with are as follows: video multicast data or audio multicast packet or any other group
Multicast data is herein not particularly limited the multicast packet.
For example, the mobile terminal can be the terminal devices such as smart phone, tablet computer, vehicle-mounted computer, herein,
The terminal is not particularly limited.
For example, the address in the mobile terminal address set, can be with are as follows: the MAC (media of mobile terminal
Access control, medium access control) address or mobile terminal IP (Internet Protocol, Internet protocol)
Location.
For example, as shown in Figure 1, the first AP receives user's table that gateway is sent so that the AP is the first AP as an example
, address and mobile terminal address set, the mobile terminal address set in user's list item including multicast packet include
The address of the address of mobile terminal A, the address of mobile terminal B and mobile terminal D, wherein mobile terminal A and mobile terminal B
Be associated with the first AP, mobile terminal D is associated with the 3rd AP, the address of the multicast packet be mobile terminal A, mobile terminal B and
The address for the multicast packet that mobile terminal D is requested simultaneously.Further, the first AP receives multicast message A, carries in multicast message A
Multicast packet be mobile terminal A, mobile terminal B and the requested multicast packet of mobile terminal D.Further, the first AP
Address (that is: the ground of mobile terminal A for the mobile terminal being associated in the first AP is determined from the mobile terminal address set
The address of location and mobile terminal B), and multicast message A is sent to mobile terminal A and mobile terminal B.
For example, as shown in Fig. 2, the 2nd AP receives user's table that gateway is sent so that the AP is the 2nd AP as an example
, address and mobile terminal address set, the mobile terminal address set in user's list item including multicast packet include
The address of the address of mobile terminal A, the address of mobile terminal B and mobile terminal D, wherein mobile terminal A is associated with second
AP, mobile terminal B are associated with the first AP, and mobile terminal D is associated with the 3rd AP, the address of the multicast packet be mobile terminal A,
The address for the multicast packet that mobile terminal B and mobile terminal D is requested simultaneously.Further, the 2nd AP receives the multicast that gateway is sent
The multicast packet carried in message B, the multicast message B is that mobile terminal A, mobile terminal B and mobile terminal D are requested
Multicast packet.Further, the 2nd AP determines the mobile end being associated in the 2nd AP from the mobile terminal address set
The address (that is: the address of mobile terminal A) at end, and multicast message B is sent to mobile terminal A.
In the present embodiment, when mobile terminal goes to be associated with and be associated with two AP from the first AP, the 2nd AP can be based on
User's list item that gateway is sent, the multicast message fast-forwarding that gateway is sent enable mobile terminal fast to mobile terminal
Speed receives multicast packet from the 2nd AP.
In the present embodiment, it when the multicast packet is video multicast data, goes to be associated with the first AP in mobile terminal
And when being associated with two AP, mobile terminal rapidly can receive the video multicast data from the 2nd AP, to eliminate or alleviate
There is the phenomenon that video playing Caton.
If the second mobile terminal is the mobile terminal for roaming into the AP from other AP, and the second mobile terminal is being associated with
The multicast packet was had requested that other AP, then the address of second mobile terminal joined the shifting of the multicast packet by gateway
Dynamic terminal address set.Above-mentioned mobile terminal address set further includes the address of the second mobile terminal, and in the second mobile terminal
Second mobile terminal is not associated to the AP before roaming into the AP.The address including the second mobile terminal is received in the AP
User's list item after, the second mobile terminal is associated with the AP.As shown in fig. 7, this method further include:
Step 23b:AP determines that the second mobile terminal is associated with AP.
Step 24b:AP receives the second multicast message, and the address of the multicast packet of the second multicast message is in user's list item
The address of multicast packet.
Step 25b:AP is sent out according to the multiple mobile terminals for being associated with AP of user's list item into mobile terminal address set
The second multicast message is sent, multiple mobile terminals include first movement terminal and the second mobile terminal.
For example, as shown in Figure 1, by taking the AP is the first AP as an example, if mobile terminal D goes to be associated with and close from the 3rd AP
It is linked to the first AP, at this point, the method also includes:
First AP determines that mobile terminal D is associated with the first AP;
First AP receives multicast message A, and multicast message A is sent to mobile terminal A, mobile terminal B, mobile terminal D.
For example, as shown in Fig. 2, by taking the AP is the 2nd AP as an example, if mobile terminal D goes to be associated with and close from the 3rd AP
It is linked to the 2nd AP, at this point, the method also includes:
2nd AP determines that mobile terminal D is associated with the 2nd AP;
2nd AP receives multicast message B, and multicast message B is sent to mobile terminal A, mobile terminal D.
Embodiment three
Based on the same inventive concept, a kind of gateway is present embodiments provided, as shown in figure 8, gateway includes:
First receiving unit 31 is requested for receiving the Internet Group Management Protocol IGMP from mobile terminal, and according to
The address of the multicast packet of the address and mobile terminal request of IGMP request mobile terminal;
First obtains unit 32, for obtaining user's list item, user's list item includes address and the mobile terminal of multicast packet
Address set, the address of mobile terminal belong to mobile terminal address set;
First transmission unit 33, for user's list item to be sent to the first AP and the 2nd AP, wherein the first AP is mobile whole
The AP being associated with, the 2nd AP is held to be different from the first AP.
Optionally, in the present embodiment, gateway further include:
Second obtaining unit, for obtaining multicast list, multicast list includes the address of the multicast packet in user's list item
And port-mark set, port-mark collection are combined into the set of at least one port-mark, appointing at least one port-mark
It is the port that an AP in gateway and AP set is connected directly that meaning a port, which identifies identified port, and AP collection is combined into and moves
The set of the associated AP of mobile terminal of at least one address mark in dynamic terminal address set, wherein AP set includes the
One AP and do not include the 2nd AP, port-mark set includes first port mark, and first port is identified for identifying gateway
First port, first port are the ports that gateway and the first AP are connected directly;
Second receiving unit, for receiving the first multicast message, the address of the multicast packet of the first multicast message is movement
The address of the multicast packet of terminal request;
Second transmission unit, for what is identified according to multicast list by each port-mark in port-mark set
Each AP of the port into AP set sends the first multicast message;
First determination unit, for determining that mobile terminal goes to be associated with and be associated with the 2nd AP from the first AP;
Unit is modified, for modifying port-mark set, wherein it includes gateway in port that gateway, which modifies port-mark set,
Second port mark is added in logo collection, second port identifies the second port for identifying gateway, and second port is gateway
The port being connected directly with the 2nd AP;
Third receiving unit, for receiving the second multicast message, the address of the multicast packet of the second multicast message is movement
The address of the multicast packet of terminal request;
Third transmission unit, for passing through each port-mark in modified port-mark set according to multicast list
Each AP of the port identified into new AP set sends the second multicast message, includes the 2nd AP in new AP set.
Optionally, in the present embodiment, gateway further include:
Second determination unit, for after gateway determines that mobile terminal goes to be associated with and be associated with the 2nd AP from the first AP, really
It is all other in addition to the first AP that it is associated, which to determine mobile terminal that any one address in mobile terminal address set is identified,
AP;
Modification unit is also used to: deleting the first port mark in port-mark set.
Example IV
Based on the same inventive concept, a kind of AP is present embodiments provided, as shown in figure 9, AP includes:
First receiving unit 41, the user's list item sent for receiving gateway include the ground of multicast packet in user's list item
Location and mobile terminal address set, mobile terminal address collection are combined at least one mobile terminal of the address of request multicast packet
The set of address, at least one mobile terminal include first movement terminal, first movement terminal association to AP;
Second receiving unit 42, for receiving the first multicast message, the address of the multicast packet of the first multicast message is to use
The address of multicast packet in the list item of family;
First transmission unit 43, for the mobile end for being associated with AP according to user's list item into mobile terminal address set
End sends the first multicast message.
Optionally, in the present embodiment, mobile terminal address set further includes the address of the second mobile terminal, and second moves
Dynamic terminal is not associated to AP, AP further include:
First determination unit determines that the second mobile terminal is associated with AP after sending the first multicast message;
Third receiving unit, for receiving the second multicast message, the address of the multicast packet of the second multicast message is user
The address of multicast packet in list item;
Second transmission unit, for the multiple movements for being associated with AP according to user's list item into mobile terminal address set
Terminal sends the second multicast message, and multiple mobile terminals include first movement terminal and the second mobile terminal.
Embodiment five
Based on the same inventive concept, a kind of gateway is present embodiments provided, as shown in Figure 10, gateway includes:
Port 51.Port 51 can be realized by optical transceiver, electric transceiver or combinations thereof.For example, optical transceiver can be
Small Form-Factor Pluggable (English: small form-factor pluggable transceiver, abbreviation: SFP) transceiver (English
Text: transceiver), enhancing Small Form-Factor Pluggable (English: enhanced small form-factor pluggable, contracting
Write: SFP+) transceiver or 10 gigabit Small Form-Factor Pluggables (English: 10Gigabit small form-factor
Pluggable, abbreviation: XFP) transceiver.Electric transceiver can be Ethernet (English: Ethernet) network interface controller
(English: network interface controller, abbreviation: NIC).Port 51 can also refer to the tunnel using the physical port
Road.
Memory 52, for storing program code.Memory 52 may include volatile memory (English: volatile
Memory), for example, random access memory (English: random-access memory, abbreviation: RAM);Memory also can wrap
Include nonvolatile memory (English: non-volatile memory), such as read-only memory (English: read-only
Memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, contracting
Write: HDD) or solid state hard disk (English: solid-state drive, abbreviation: SSD);Memory can also include mentioned kind
The combination of memory.
Processor 53 is connect with port 51 and memory 52, is used for from 52 program code read of memory, to execute.Place
Reason device 53 can be central processing unit (English: central processing unit, abbreviation: CPU), be also possible to CPU and hard
The combination of part chip.Above-mentioned hardware chip can be the combination of one or more of: specific integrated circuit (English:
Application-specific integrated circuit, abbreviation: ASIC), field programmable gate array (English:
Field-programmable gate array, abbreviation: FPGA), Complex Programmable Logic Devices (English: complex
Programmable logic device, abbreviation: CPLD) and network processing unit (English: network processor, contracting
It writes: NP).
Processor 53 is connected by bus and port 51.Processor 53 is connected by bus and memory 52.It is used in Figure 10
Thick line indicates bus.
The Internet Group Management Protocol IGMP request from mobile terminal is received by port 51, and is obtained according to IGMP request
Take the address of the address of mobile terminal and the multicast packet of mobile terminal request;User's list item is obtained, user's list item includes multicast
The address of data and mobile terminal address set, the address of mobile terminal belong to mobile terminal address set;It will by port 51
User's list item is sent to the first AP and the 2nd AP, wherein the first AP is the AP that mobile terminal is associated with, and the 2nd AP is different from first
AP。
Optionally, in the present embodiment, processor 53 is also used to:
After obtaining user's list item, multicast list is obtained, multicast list includes the ground of the multicast packet in user's list item
Location and port-mark set, port-mark collection are combined into the set of at least one port-mark, at least one port-mark
The port that any one port-mark is identified is the port that is connected directly an AP in gateway and AP set, AP collection be combined into and
The set of the associated AP of mobile terminal of at least one address mark in mobile terminal address set, wherein AP, which gathers, includes
First AP and do not include the 2nd AP, port-mark set includes first port mark, and first port is identified for identifying gateway
First port, first port is the port that gateway and the first AP are connected directly;The first multicast message is received by port 51, the
The address of the multicast packet of one multicast message is the address of the multicast packet of mobile terminal request;Pass through port according to multicast list
Each AP of the port that each port-mark in logo collection is identified into AP set sends the first multicast message;It determines and moves
Dynamic terminal goes to be associated with and be associated with the 2nd AP from the first AP;Modify port-mark set, wherein gateway modifies port-mark set
Second port mark is added in port-mark set including gateway, second port identifies the second port for identifying gateway,
Second port is the port that gateway and the 2nd AP are connected directly;The second multicast message, the second multicast message are received by port 51
Multicast packet address be mobile terminal request multicast packet address;It is marked according to multicast list by modified port
Each AP of the port that each port-mark in knowledge set is identified into new AP set sends the second multicast message, newly
It include the 2nd AP in AP set.
Gateway, which obtains multicast list, can simplify the forwarding of multicast message, not need after receiving multicast message root again
According to the corresponding port of user's entry lookup.Further, if gateway uses hardware chip forwarding multicasting message, gateway can be incited somebody to action
The multicast list is stored in hardware chip to realize the fast-forwarding of multicast message using the hardware chip.
Optionally, in the present embodiment, processor 53 is also used to:
After determining mobile terminal and going to be associated with and be associated with the 2nd AP from the first AP, determine in mobile terminal address set
The associated mobile terminal that any one address is identified all is other AP in addition to the first AP;Modification port-mark set is also wrapped
It includes: deleting the first port mark in port-mark set.
Embodiment six
Based on the same inventive concept, a kind of access point AP is present embodiments provided, as shown in figure 11, AP includes:
Cable port 61 and radio port 62.Cable port 61 can be realized by optical transceiver, electric transceiver or combinations thereof.
For example, optical transceiver can be Small Form-Factor Pluggable (English: small form-factor pluggable transceiver,
Abbreviation: SFP) transceiver (English: transceiver), enhancing Small Form-Factor Pluggable (English: enhanced small form-
Factor pluggable, abbreviation: SFP+) transceiver or 10 gigabit Small Form-Factor Pluggables (English: 10Gigabit small
Form-factor pluggable, abbreviation: XFP) transceiver.Electric transceiver can be Ethernet (English: Ethernet) network
Interface controller (English: network interface controller, abbreviation: NIC).Cable port 61 can also refer to use
The tunnel of the physical port.Radio port 62 can be radio network interface controller (English: wireless network
Interface controller, abbreviation: WNIC).
Memory 63, for storing program code.Memory 63 may include volatile memory (English: volatile
Memory), for example, random access memory (English: random-access memory, abbreviation: RAM);Memory also can wrap
Include nonvolatile memory (English: non-volatile memory), such as read-only memory (English: read-only
Memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, contracting
Write: HDD) or solid state hard disk (English: solid-state drive, abbreviation: SSD);Memory can also include mentioned kind
The combination of memory.
Processor 64 can be central processing unit (English: central processing unit, abbreviation: CPU), can also
To be the combination of CPU and hardware chip.Above-mentioned hardware chip can be the combination of one or more of: specific integrated circuit
(English: application-specific integrated circuit, abbreviation: ASIC), field programmable gate array
(English: field-programmable gate array, abbreviation: FPGA), Complex Programmable Logic Devices (English:
Complex programmable logic device, abbreviation: CPLD) and network processing unit (English: network
Processor, abbreviation: NP).Processor 64 is connected by bus and cable port 61.Processor 64 passes through bus and wireless side
Mouth 62 connects.Processor 64 is connected by bus and memory 63.Bus is indicated with thick line in Figure 11.Processor 64, and it is wired
Port 61, radio port 62 and memory 63 connect, and are used for from 63 program code read of memory, to execute:
User's list item that gateway is sent is received by cable port 61, includes address and the shifting of multicast packet in user's list item
Dynamic terminal address set, mobile terminal address collection are combined into the address of at least one mobile terminal of the address of request multicast packet
Set, at least one mobile terminal includes first movement terminal, first movement terminal association to AP;It is received by cable port 61
First multicast message, the address of the multicast packet of the first multicast message are the address of the multicast packet in user's list item;According to
The mobile terminal that is associated with AP of the family list item into mobile terminal address set sends the first multicast message by radio port 62.
Optionally, in the present embodiment, mobile terminal address set further includes the address of the second mobile terminal, and second moves
Dynamic terminal is not associated to AP, and processor 64 is also used to:
After sending the first multicast message, determine that the second mobile terminal is associated with AP;The is received by cable port 61
Two multicast messages, the address of the multicast packet of the second multicast message are the address of the multicast packet in user's list item;According to user
The multiple mobile terminals that are associated with AP of the list item into mobile terminal address set send second group of casting by radio port 62
Text, multiple mobile terminals include first movement terminal and the second mobile terminal.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Claims (15)
1. a kind of wireless multicast cut-in method, which is characterized in that the described method includes:
Gateway receives the Internet Group Management Protocol IGMP request from mobile terminal, and according to the IGMP request
The address of the multicast packet of the address of mobile terminal and the mobile terminal request;
The gateway obtains user's list item, and user's list item includes address and the mobile terminal address collection of the multicast packet
It closes, the address of the mobile terminal belongs to the mobile terminal address set;
User's list item is sent to the first AP and the 2nd AP by the gateway, wherein the first AP is the mobile terminal
The AP being associated with, the 2nd AP are different from the first AP.
2. the method as described in claim 1, which is characterized in that after the gateway obtains user's list item, the method is also wrapped
It includes:
The gateway obtains multicast list, the multicast list include the address of the multicast packet in user's list item with
And port-mark set, the port-mark collection are combined into the set of at least one port-mark, at least one described port-mark
In the port that is identified of any one port-mark be port that an AP in the gateway and AP set is connected directly, institute
The set that AP collection is combined into the associated AP of mobile terminal identified at least one address in the mobile terminal address set is stated,
Wherein, the AP set includes the first AP and does not include the 2nd AP, and the port-mark set includes first end
Mouth mark, the first port identify the first port for identifying the gateway, and the first port is the gateway and institute
State the port that the first AP is connected directly;
The gateway receives the first multicast message, and the address of the multicast packet of first multicast message is that the mobile terminal is asked
The address for the multicast packet asked;
The port that the gateway is identified according to the multicast list by each port-mark in the port-mark set
Each AP into AP set sends first multicast message;
The gateway determines that the mobile terminal goes to be associated with and be associated with the 2nd AP from the first AP;
The gateway modifies the port-mark set, wherein it includes the net that the gateway, which modifies the port-mark set,
It closes and adds second port mark in the port-mark set, the second port identifies second for identifying the gateway
Port, the second port are the ports that the gateway and the 2nd AP are connected directly;
The gateway receives the second multicast message, and the address of the multicast packet of second multicast message is that the mobile terminal is asked
The address for the multicast packet asked;
The gateway is marked according to the multicast list by each port-mark in the modified port-mark set
Each AP of the port of knowledge into new AP set sends second multicast message, includes described the in the new AP set
Two AP.
3. method according to claim 2, which is characterized in that determine the mobile terminal from the first AP in the gateway
It goes after being associated with and being associated with the 2nd AP, the method also includes:
The mobile terminal that the gateway determines that any one address in the mobile terminal address set is identified is associated all
It is other AP in addition to the first AP;
The gateway modifies the port-mark set further include: the gateway deletes described the in the port-mark set
Single port mark.
4. a kind of wireless multicast cut-in method, which is characterized in that the described method includes:
AP receives user's list item that gateway is sent, and includes address and the mobile terminal address collection of multicast packet in user's list item
It closes, the mobile terminal address collection is combined into the collection for requesting the address of at least one mobile terminal of address of the multicast packet
It closes, at least one described mobile terminal includes first movement terminal, the first movement terminal association to the AP;The movement
Terminal address set further includes the address of the second mobile terminal, and second mobile terminal is not associated to the AP;
The AP receives the first multicast message, and the address of the multicast packet of first multicast message is in user's list item
The address of multicast packet;
The AP is sent out according to the mobile terminal for being associated with the AP of the user's list item into the mobile terminal address set
Send first multicast message.
5. method as claimed in claim 4, which is characterized in that the method also includes:
After the AP sends first multicast message, the AP determines that second mobile terminal is associated with the AP;
The AP receives the second multicast message, and the address of the multicast packet of second multicast message is in user's list item
The address of multicast packet;
The AP is associated with the multiple mobile whole of the AP into the mobile terminal address set according to user's list item
End sends second multicast message, and the multiple mobile terminal includes that the first movement terminal and second movement are whole
End.
6. a kind of gateway, which is characterized in that the gateway includes:
First receiving unit, for receiving the Internet Group Management Protocol IGMP request from mobile terminal, and according to described
The address of the multicast packet of the address of mobile terminal described in IGMP request and the mobile terminal request;
First obtains unit, for obtaining user's list item, user's list item includes the address of the multicast packet and moves eventually
Address set is held, the address of the mobile terminal belongs to the mobile terminal address set;
First transmission unit, for user's list item to be sent to the first AP and the 2nd AP, wherein the first AP is described
The AP that mobile terminal is associated with, the 2nd AP are different from the first AP.
7. gateway as claimed in claim 6, which is characterized in that the gateway further include:
Second obtaining unit, for obtaining multicast list, the multicast list includes the multicast number in user's list item
According to address and port-mark set, the port-mark collection be combined into the set of at least one port-mark, described at least one
The port that any one port-mark in a port-mark is identified is a direct phase of AP in the gateway and AP set
Port even, the AP collection is combined into be associated with the mobile terminal of at least one address mark in the mobile terminal address set
AP set, wherein AP set includes the first AP and does not include the 2nd AP, the port-mark set
It is identified including first port, the first port identifies the first port for identifying the gateway, and the first port is institute
State the port that gateway and the first AP are connected directly;
Second receiving unit, for receiving the first multicast message, the address of the multicast packet of first multicast message is described
The address of the multicast packet of mobile terminal request;
Second transmission unit, for being marked according to the multicast list by each port-mark in the port-mark set
Each AP of the port of knowledge into AP set sends first multicast message;
First determination unit, for determining that the mobile terminal goes to be associated with and be associated with the 2nd AP from the first AP;
Unit is modified, for modifying the port-mark set, wherein it includes institute that the gateway, which modifies the port-mark set,
It states gateway and adds second port mark in the port-mark set, the second port mark is for identifying the gateway
Second port, the second port are the ports that the gateway and the 2nd AP are connected directly;
Third receiving unit, for receiving the second multicast message, the address of the multicast packet of second multicast message is described
The address of the multicast packet of mobile terminal request;
Third transmission unit, for passing through each port in the modified port-mark set according to the multicast list
It identifies each AP of the identified port into new AP set and sends second multicast message, wrapped in the new AP set
Include the 2nd AP.
8. gateway as claimed in claim 7, which is characterized in that the gateway further include:
Second determination unit, it is described for determining that the mobile terminal from the first AP goes to be associated with and be associated in the gateway
After 2nd AP, determines that mobile terminal that any one address in the mobile terminal address set is identified is associated and all remove
Other AP outside first AP;
The modification unit is also used to: deleting the first port mark in the port-mark set.
9. a kind of access point AP, which is characterized in that the AP includes:
First receiving unit, the user's list item sent for receiving gateway include the address of multicast packet in user's list item
With mobile terminal address set, the mobile terminal address collection is combined at least one movement for requesting the address of the multicast packet
The set of the address of terminal, at least one described mobile terminal include first movement terminal, and the first movement terminal association arrives
The AP;The mobile terminal address set further includes the address of the second mobile terminal, and second mobile terminal is not associated with
To the AP;
Second receiving unit, for receiving the first multicast message, the address of the multicast packet of first multicast message is described
The address of multicast packet in user's list item;
First transmission unit, for being associated with the AP's into the mobile terminal address set according to user's list item
Mobile terminal sends first multicast message.
10. AP as claimed in claim 9, which is characterized in that the AP further include:
It is described to determine that second mobile terminal is associated with after sending first multicast message for first determination unit
AP;
Third receiving unit, for receiving the second multicast message, the address of the multicast packet of second multicast message is described
The address of multicast packet in user's list item;
Second transmission unit, for being associated with the AP's into the mobile terminal address set according to user's list item
Multiple mobile terminals send second multicast message, and the multiple mobile terminal includes the first movement terminal and described the
Two mobile terminals.
11. a kind of gateway, which is characterized in that the gateway includes:
Port;
Memory, for storing program code;
Processor is connect with the port and the memory, for reading said program code from the memory, to hold
Row:
The Internet Group Management Protocol IGMP request from mobile terminal is received by the port, and is requested according to the IGMP
Obtain the address of the address of the mobile terminal and the multicast packet of the mobile terminal request;Obtain user's list item, the use
Family list item includes address and the mobile terminal address set of the multicast packet, and the address of the mobile terminal belongs to the movement
Terminal address set;User's list item is sent to the first AP and the 2nd AP, wherein the first AP is the mobile terminal
The AP being associated with, the 2nd AP are different from the first AP.
12. gateway as claimed in claim 11, which is characterized in that the processor is also used to:
After obtaining user's list item, multicast list is obtained, the multicast list includes the multicast in user's list item
The address of data and port-mark set, the port-mark collection are combined into the set of at least one port-mark, it is described at least
The port that any one port-mark in a port mark is identified is that an AP in the gateway and AP set is direct
Connected port, the AP collection is combined into close with the mobile terminal of at least one address mark in the mobile terminal address set
The set of the AP of connection, wherein the AP set includes the first AP and do not include the 2nd AP, the port-mark collection
Closing includes that first port identifies, and the first port identifies the first port for identifying the gateway, and the first port is
The port that the gateway and the first AP are connected directly;The first multicast message, first multicast are received by the port
The address of the multicast packet of message is the address of the multicast packet of the mobile terminal request;Pass through institute according to the multicast list
It states each AP of port that each port-mark in port-mark set is identified into AP set and sends described first
Multicast message;Determine that the mobile terminal goes to be associated with and be associated with the 2nd AP from the first AP;Modify the port mark
Know set, wherein it includes that the gateway adds in the port-mark set that the gateway, which modifies the port-mark set,
Second port mark, the second port identify the second port for identifying the gateway, and the second port is the net
Close the port being connected directly with the 2nd AP;The second multicast message is received by the port, second multicast message
The address of multicast packet is the address of the multicast packet of the mobile terminal request;Pass through the modification according to the multicast list
Each AP of the port that each port-mark in port-mark set afterwards is identified into new AP set sends described the
Two multicast messages include the 2nd AP in the new AP set.
13. gateway as claimed in claim 12, which is characterized in that the processor is also used to:
After determining the mobile terminal and going to be associated with and be associated with the 2nd AP from the first AP, the mobile terminal is determined
The associated mobile terminal that any one address in address set is identified all is other AP in addition to the first AP;It is described
Modify the port-mark set further include: delete the first port mark in the port-mark set.
14. a kind of access point AP, which is characterized in that the AP includes:
Cable port and radio port;
Memory, for storing program code;
Processor is connect with the cable port, the radio port and the memory, for reading from the memory
Said program code is taken, to execute:
Receive user's list item for sending of gateway by the cable port, include in user's list item multicast packet address and
Mobile terminal address set, the mobile terminal address collection, which is combined into, requests at least one movement of the address of the multicast packet whole
The set of the address at end, at least one described mobile terminal include first movement terminal, the first movement terminal association to institute
State AP;The mobile terminal address set further includes the address of the second mobile terminal, and second mobile terminal is not associated to
The AP;
The first multicast message is received by the cable port, the address of the multicast packet of first multicast message is the use
The address of multicast packet in the list item of family;It is according to user's list item being associated with into the mobile terminal address set
The mobile terminal of AP sends first multicast message by the radio port.
15. AP as claimed in claim 14, which is characterized in that the processor is also used to:
After sending first multicast message, determine that second mobile terminal is associated with the AP;By described wired
Port receives the second multicast message, and the address of the multicast packet of second multicast message is the multicast number in user's list item
According to address;According to the multiple mobile terminals that are associated with the AP of the user's list item into the mobile terminal address set
Second multicast message is sent by the radio port, the multiple mobile terminal includes the first movement terminal and institute
State the second mobile terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410344819.XA CN105472568B (en) | 2014-07-18 | 2014-07-18 | A kind of wireless multicast cut-in method and gateway, access point |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410344819.XA CN105472568B (en) | 2014-07-18 | 2014-07-18 | A kind of wireless multicast cut-in method and gateway, access point |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105472568A CN105472568A (en) | 2016-04-06 |
CN105472568B true CN105472568B (en) | 2019-02-01 |
Family
ID=55609765
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410344819.XA Active CN105472568B (en) | 2014-07-18 | 2014-07-18 | A kind of wireless multicast cut-in method and gateway, access point |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105472568B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109769150B (en) * | 2017-11-09 | 2021-02-23 | 华为技术有限公司 | Method and equipment for transmitting multicast service |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1929638A (en) * | 2006-10-20 | 2007-03-14 | 中兴通讯股份有限公司 | Management method for multicast members of wireless LAN IP multicast frame transmission |
CN101438533A (en) * | 2006-05-15 | 2009-05-20 | 艾利森电话股份有限公司 | Wireless multicast for layered medium |
CN101924997A (en) * | 2009-06-10 | 2010-12-22 | 上海贝尔股份有限公司 | Method and equipment for controlling multicast service in WLAN (Wireless Local Area Network) |
CN103379443A (en) * | 2012-04-20 | 2013-10-30 | 中兴通讯股份有限公司 | Method and system for keeping multicast services continuous |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7710986B2 (en) * | 2005-01-05 | 2010-05-04 | Meshnetworks, Inc. | Multicast architecture for wireless mesh networks |
US7957287B2 (en) * | 2006-08-14 | 2011-06-07 | Intel Corporation | Broadband wireless access network and method for internet protocol (IP) multicasting |
US8731594B2 (en) * | 2006-09-12 | 2014-05-20 | Aruba Networks, Inc. | System and method for reliable multicast transmissions over shared wireless media for spectrum efficiency and battery power conservation |
-
2014
- 2014-07-18 CN CN201410344819.XA patent/CN105472568B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101438533A (en) * | 2006-05-15 | 2009-05-20 | 艾利森电话股份有限公司 | Wireless multicast for layered medium |
CN1929638A (en) * | 2006-10-20 | 2007-03-14 | 中兴通讯股份有限公司 | Management method for multicast members of wireless LAN IP multicast frame transmission |
CN101924997A (en) * | 2009-06-10 | 2010-12-22 | 上海贝尔股份有限公司 | Method and equipment for controlling multicast service in WLAN (Wireless Local Area Network) |
CN103379443A (en) * | 2012-04-20 | 2013-10-30 | 中兴通讯股份有限公司 | Method and system for keeping multicast services continuous |
Also Published As
Publication number | Publication date |
---|---|
CN105472568A (en) | 2016-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11646967B2 (en) | Packet control method and network apparatus | |
US9231820B2 (en) | Methods and apparatus for controlling wireless access points | |
US9118687B2 (en) | Methods and apparatus for a scalable network with efficient link utilization | |
US20170201979A1 (en) | Methods and apparatus for controlling wireless access points | |
EP2988452A1 (en) | Topology discovery in a hybrid network | |
CN103259726B (en) | Method, device and system for storing and sending MAC address table entries | |
WO2019134383A1 (en) | Method for controlling network congestion, access device, and computer readable storage medium | |
WO2014067280A1 (en) | Processing method, apparatus and system for multicast | |
CN109412922B (en) | Method, forwarding device, controller and system for transmitting message | |
US20150049640A1 (en) | Data transmission controlling device and method for controlling data transmission | |
TWI543565B (en) | Method for retransmitting packet, data server using the same, and packet retransmitting system | |
CN109218200A (en) | A kind of message processing method and device | |
CN107659484B (en) | Method, device and system for accessing VXLAN network from VLAN network | |
CN104639512A (en) | Network security method and device | |
US20150043578A1 (en) | Home Network Packet Delivery | |
CN101808107B (en) | Storage device and user communication method, device and system | |
US20150319092A1 (en) | CONTENT AWARE WI-FI QoS | |
WO2017185322A1 (en) | Storage network element discovery method and device | |
CN104426781A (en) | Method for realizing gathering of multicast routers, multicast method and route equipment | |
CN104521220A (en) | Method and device for message processing | |
CN106921575B (en) | Apparatus, router and method for preventing multicast traffic drop | |
CN105472568B (en) | A kind of wireless multicast cut-in method and gateway, access point | |
US20150319074A1 (en) | Cluster and Forwarding Method | |
CN105827588B (en) | A kind of stream medium data dissemination system based on network driver layer | |
JP2021517750A (en) | QoS flow remapping methods and equipment, computer storage media |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |