CN103346951B - Method and device for establishing agent member database - Google Patents

Method and device for establishing agent member database Download PDF

Info

Publication number
CN103346951B
CN103346951B CN201310323163.9A CN201310323163A CN103346951B CN 103346951 B CN103346951 B CN 103346951B CN 201310323163 A CN201310323163 A CN 201310323163A CN 103346951 B CN103346951 B CN 103346951B
Authority
CN
China
Prior art keywords
address
source
vlan
list
list item
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
Application number
CN201310323163.9A
Other languages
Chinese (zh)
Other versions
CN103346951A (en
Inventor
吴迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201310323163.9A priority Critical patent/CN103346951B/en
Publication of CN103346951A publication Critical patent/CN103346951A/en
Application granted granted Critical
Publication of CN103346951B publication Critical patent/CN103346951B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a method and device for establishing an agent member database and relates to the field of communication. According to the method and the device, an agent database structure does not need to be added to store an IGMP (Internet Group Management Protocol) snooping agent member database after the IGMP snooping agent member database is established, so that the data structure and the complexity of a system can be simplified. The method comprises the following steps of: determining group records in the agent member database according to a virtual local area network (VLAN) member list by utilizing a switch; and establishing the agent member database by utilizing the group records. The method and the device are suitable for two-layer switches running IGMP snooping.

Description

The method and apparatus for setting up agent member database
Technical field
The present invention relates to the communications field, more particularly to a kind of method and apparatus for setting up agent member database.
Background technology
IGMP Proxy(Internet Group Management Protocol Proxy, IGMP Agency)Member database is set up by intercepting the IGMP messages between user and multicast router, user and multicast router are logical Cross IGMP Proxy equipment to be connected, member database have recorded the group membership pass that all IGMP Proxy equipment downstream interfaces are safeguarded System, to forward to descending business packet.When the equipment of connection user and multicast router does not run IGMP Proxy When, the IGMP reports of user are forwarded to multicast router by equipment, and the query message of multicast router is also transmitted to user, multicast Router sets up multicast group membership's table according to the report of user;When equipment run IGMP Proxy when, equipment itself to Family is inquired about, and the report of synthetic user forms member database, forms report according to the record of member database and is sent to group Router is broadcast, multicast group membership's table is set up according to the report of user without the need for multicast router.Thus, using IGMP Proxy The load of multicast router can be mitigated, the IGMP message amounts in network are effectively reduced.
IGMP Snooping(Internet Group Management Protocol Snooping, the Internet group pipe Reason agreement pry)It is to operate in VLAN(Virtual Local Area Network, VLAN)On IP(Internet Protocol, procotol)Multicast tied mechanism, for managing and controlling forwarding of the IP multicast data flows in VLAN, belongs to two layers Multicast functionality.In the IGMP snooping of Layer 2 switch, igmp proxy can be equally carried out, we term it IGMP Snooping is acted on behalf of.When carrying out IGMP snooping and acting on behalf of, need to set up IGMP snooping agent member databases, when When switch receives the query message of router, closed according to IGMP snooping agent member database content feeds member System's report.
In prior art, the method for setting up the employing of IGMP snooping agent member databases is:Switch is according to the second line of a couplet The group record of port, sets up IGMP member databases;The IGMP member databases of COMPREHENSIVE CALCULATING second line of a couplet port, increase by one layer of IGMP Snooping agent member database structures, result of calculation is stored in IGMP snooping agent member database structures, Obtain IGMP snooping agent member databases;Switch will be into according to IGMP snooping agent member databases content Member's relation report feeds back to multicast router.If second line of a couplet port Adds User group or certain organize last user and exit, IGMP member databases can be made to produce change, need to update IGMP snooping agent member databases.
In prior art, at least there are the following problems:In said method, although establish IGMP snooping and act on behalf of member Data base, but additionally using a layer proxy member data library structure storing result of calculation, just enable switch to basis Membership report is fed back to multicast router by IGMP snooping agent member database contents, increased the number of system According to structure and complexity.
The content of the invention
Embodiments of the invention provide a kind of method and apparatus for setting up agent member database, and can solve the problem that needs to increase Agent member database structure stores result of calculation, sets up IGMP snooping agent member databases, will could calculate Member relation feeds back to the problem of multicast router, reduces the data structure and complexity of system.
To reach above-mentioned purpose, embodiments of the invention are adopted the following technical scheme that:
In a first aspect, embodiments of the invention provide a kind of method for setting up agent member database, including:
The group record in agent member database is determined according to virtual LAN VLAN member's list item;
The agent member database is set up using described group of record.
Second aspect, embodiments of the invention provide a kind of device for setting up agent member database, including:
Determining unit, for determining that according to virtual LAN VLAN member's list item the group in agent member database is recorded;
Unit is set up, for the agent member database being set up using described group of record.
In prior art, switch calculates IGMP snooping agent member databases according to the group of second line of a couplet port record When, need to increase layer proxy member data library structure storage result of calculation, the member relation for calculating could be fed back to group Broadcast router.Compared with prior art, a kind of method and apparatus for setting up agent member database provided in an embodiment of the present invention, Member of vlan's list item that switch has been calculated according to IGMP snooping in the present invention, sets up IGMP snooping generations Reason member database, the data structure of member of vlan's list item act on behalf of member data with storage IGMP snooping in prior art The data structure in storehouse is identical, and without the need for storage, switch can direct basis for the IGMP snooping agent member databases of foundation Membership report is fed back to multicast router by IGMP snooping agent member database contents, so system is without the need for volume It is outer to use a layer data structures, so as to reduce the data structure of system, reduce the complexity of system.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below by to be used needed for embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, can be with other attached according to these accompanying drawings acquisitions Figure.
The network architecture schematic diagram that Fig. 1 is provided for one embodiment of the invention;
The method flow diagram that Fig. 2 is provided for one embodiment of the invention;
The network architecture schematic diagram that Fig. 3 is provided for further embodiment of this invention;
The method flow diagram that Fig. 4 is provided for further embodiment of this invention;
The apparatus structure schematic diagram that Fig. 5, Fig. 6 are provided for further embodiment of this invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on Embodiment in the present invention, it is all other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
One embodiment of the invention provides a kind of method for setting up agent member database, for having run IGMP in network In Snooping and IGMP Proxy Layer 2 switch, network connection is as shown in Figure 1.Switch second line of a couplet port connects each user's Main frame, first line of a couplet port are connected with each multicast source by multicast router, run IGMP Snooping and IGMP in switch simultaneously Proxy.Switch runs IGMP snooping for recording according to the group of each second line of a couplet port, calculates for forwarding multicasting number According to member of vlan's list item of bag;Operation IGMP Proxy are used to set up IGMP snooping agent member databases, according to IGMP Snooping agent member database content feed multicast router membership reports, or act on behalf of in IGMP snooping Actively send to multicast router when member database updates and report.As shown in Fig. 2 methods described includes:
101st, switch determines the group record in agent member database according to virtual LAN VLAN member's list item.
Wherein, after member of vlan's list item is by switch operation IGMP snooping, recorded according to the group of each second line of a couplet port It is calculated.As member of vlan's list item that various computational methods are obtained is identical, so not limiting in the embodiment of the present invention The computational methods that system is selected.Member of vlan's list item includes source IP address, group IP address and forwarding port list, wherein, group IP ground Location is the IP address of multicast group, can be represented with G;Source IP address is the IP address of each multicast source in this multicast group, and source IP address can Think zero IP address, represent in multicast data forwarding, source IP address is mismatched to this list item, only match the group IP ground of this list item Location and forwarding port list;Forwarding port represents the second line of a couplet port that multicast source data packet in this multicast group is received on switch, turns It can be sky to send out port list.In member of vlan's list item, when source IP address is zero IP address, it is represented by(*, G)List item; When source IP address is not zero IP address, it is represented by(S, G)List item, therefore, member of vlan's list item has four kinds:(*, G, has and turns Originator mouth),(*, G, does not forward port),(S, G, have forwarding port),(S, G, do not forward port).
It should be noted that agent member database is made up of the group record of several multicast groups, the group ground of each multicast group Location is different, and group record includes filtered model and source list, and wherein filtered model includes include patterns and exclude moulds Formula, include patterns are to be distinctly claimed the multicast packet for receiving the multicast source listed in the list of source, exclude patterns To be distinctly claimed the multicast packet of the multicast source that refusal is listed in the list of source, a multicast group can be only in a kind of filtration Pattern.
In embodiments of the present invention, switch is zero according to source IP address in member of vlan's list item of same multicast group is belonged to Member of vlan's list item of IP address, determines the filtered model of the group record of this multicast group in agent member database;According to belonging to In member of vlan's list item of same multicast group, source IP address is not zero member of vlan's list item of IP address, it is determined that acting on behalf of member data The source list of the group record of this multicast group in storehouse, wherein, the member of vlan's list item for belonging to same multicast group is identical for group IP address Member of vlan's list item, the concrete process for determining is as follows:
If the forwarding port list that the source IP address is member of vlan's list item of zero IP address is sky, described group is determined The filtered model of record is include patterns;If the source IP address is the forwarding end of member of vlan's list item of zero IP address Mouth list is not sky, determines that the filtered model of described group of record is exclude patterns;
When it is determined that described group of record filtered model be include patterns when, the IP if source IP address is not zero The forwarding port list of member of vlan's list item of address is not sky, then the source IP address is added in the source list, shape Into the source list;
When it is determined that described group of record filtered model be exclude patterns when, the IP if source IP address is not zero The forwarding port list of member of vlan's list item of address is sky, then the source IP address is added in the source list, is formed The source list;
When it is determined that described group of record filtered model be include patterns when, the IP if source IP address is not zero The forwarding port list of member of vlan's list item of address is sky, then refuse the source IP address is added in the source list;
When it is determined that described group of record filtered model be exclude patterns when, the IP if source IP address is not zero The forwarding port list of member of vlan's list item of address is not sky, then refuse for the source IP address to be added to the source list In.
102nd, switch sets up agent member database using a group record.
Wherein, after the group recorded content that step 101 determines each multicast group, switch is built according to the content that each group is recorded Vertical IGMP snooping agent member databases.
It should be noted that the query message of multicast router in embodiments of the present invention, is only received in switch When updating with multicast group, the process for setting up IGMP snooping agent member databases can be just performed.The IGMP of foundation Snooping agent member databases are a virtual data bases, are deposited in the data structure of member of vlan's list item and prior art Storage IGMP snooping agent member databases data structure it is identical, switch according to the member of vlan's list item for having existed, To set up IGMP snooping agent member databases, it is not necessary to which which is stored, directly can be acted on behalf of according to IGMP snooping Membership report is fed back to multicast router by member database content.
In prior art, switch calculates IGMP snooping agent member databases according to the group of second line of a couplet port record When, need to increase layer proxy member data library structure storage result of calculation, the member relation for calculating could be fed back to group Broadcast router.Compared with prior art, the VLAN that switch has been calculated according to IGMP snooping in the embodiment of the present invention Member's list item, sets up IGMP snooping agent member databases, in the data structure and prior art of member of vlan's list item The data structure of storage IGMP snooping agent member databases is identical, and the IGMP snooping of foundation act on behalf of member data Directly membership report can be fed back according to IGMP snooping agent member database contents without the need for storage, switch in storehouse To multicast router, so system is without the need for additionally using a layer data structures.Solve in prior art, need additionally to use One layer data structures are storing the problem of the IGMP snooping agent member databases of calculating.Asked by solving above-mentioned technology Topic, can reduce the data structure of system, reduce the complexity of system.
Further embodiment of this invention provides a kind of method for setting up agent member database, and network connection is as shown in Figure 3.Hand over The change planes second line of a couplet port A, B and C connects the main frame of user A, B and C respectively, and first line of a couplet port passes through multicast router and each multicast source phase Even, IGMP Snooping and IGMP Proxy are run in switch simultaneously.There are two legal multicast sources:Multicast source 1 and multicast source 2, address is respectively 192.168.36.31 and 192.168.36.32, an illegal multicast source:Multicast source 3, address is 192.168.37.11, three multicast sources all send multicast packet to multicast group 224.1.1.12.By multicast router, three The multicast packet of multicast source all from and switch can only be entered from the upper connecting port of switch, state now is:User A only connects The multicast packet from multicast source 192.168.36.31 is received, user B rejects the group from multicast source 192.168.36.32 Multicast data.Switch runs IGMP snooping for recording according to the group of each second line of a couplet port, calculates for forwarding multicasting number According to member of vlan's list item of bag;Operation IGMP Proxy are used to set up IGMP snooping agent member databases, according to IGMP Snooping agent member database content feed multicast router membership reports, or act on behalf of in IGMP snooping Actively send to multicast router when member database updates and report.As shown in figure 4, methods described includes:
201st, switch determines agency according to member of vlan's list item that source IP address in member of vlan's list item is zero IP address The filtered model of the group record of this multicast group in member database.
It should be noted that switch is under current state, the member of vlan for forward multicast packets has been calculated List item, wherein group address for the content of the list item of 224.1.1.12 are:Source IP address is that member of vlan's list item of zero IP address is (*, 224.1.1.12, forwards port-for-port B);Be not zero member of vlan's list item of IP address of source IP address is (192.168.36.31,224.1.1.12, forwards port-for-port A and port B)With(192.168.36.32,224.1.1.12, Forwarding port is sky).
Wherein, switch is calculated in IGMP snooping agent member databases according to the content of above-mentioned list item, group address For the filtered model of the group record of 224.1.1.12.Can by the contents in table that source IP address in member of vlan's list item is zero IP address Know, under this state source IP address be member of vlan's list item of zero IP address forwarding port list for sky, it is possible to it is determined that Group address is exclude patterns for the filtered model of the group record of 224.1.1.12.
202nd, switch determines generation according to be not zero member of vlan's list item of IP address of source IP address in member of vlan's list item The source list of the group record of this multicast group in reason member database.
It should be noted that when it is determined that group record filtered model be exclude patterns when, if source IP address is not The forwarding port list of member of vlan's list item of zero IP address is sky, then source IP address is added to the group record of this multicast group In the list of source, source list is formed;If source IP address is not zero, the forwarding port list of member of vlan's list item of IP address is not Sky, then refuse source IP address is added in the source list of group record of this multicast group.
In embodiments of the present invention, step 201 has determined the filtered model of the group record that group address is 224.1.1.12 For exclude patterns, according to the list item that first source IP address in member of vlan's list item is zero IP address: (192.168.36.31,224.1.1.12, forwards port-for-port A and port B), i.e. source IP address is not zero IP address The forwarding port list of member of vlan's list item is not sky, so 192.168.36.31 can not be added in group record source list;Root According to the list item that Article 2 source IP address in member of vlan's list item is zero IP address:(192.168.36.32,224.1.1.12, forwarding Port is sky), i.e., source IP address be not zero member of vlan's list item of IP address forwarding port list for sky, so 192.168.36.32 needs are added in group source list of record.
203rd, switch sets up agent member database using a group record.
Wherein, after the group recorded content that step 201 and 202 determine that multicast group address is 224.1.1.12, switch IGMP snooping agent member databases are set up according to a group content for record.
In embodiments of the present invention, a multicast group is only existed, so the IGMP snooping for setting up act on behalf of member data In storehouse, can typically there are multiple multicast groups in only one of which group record in network, so the IGMP snooping for setting up act on behalf of member Multiple groups of records are had in data base, the method for determining each group record is identical with step 201 and 202, will not be described here.
It should be noted that the query message of multicast router in embodiments of the present invention, is only received in switch When updating with multicast group, the process for setting up IGMP snooping agent member databases can be just performed.The IGMP of foundation Snooping agent member databases are a virtual data bases, are deposited in the data structure of member of vlan's list item and prior art Storage IGMP snooping agent member databases data structure it is identical, switch according to the member of vlan's list item for having existed, To set up IGMP snooping agent member databases, it is not necessary to which which is stored, directly can be acted on behalf of according to IGMP snooping Membership report is fed back to multicast router by member database content.
In prior art, switch calculates IGMP snooping agent member databases according to the group of second line of a couplet port record When, need to increase layer proxy member data library structure storage result of calculation, the member relation for calculating could be fed back to group Broadcast router.Compared with prior art, the VLAN that switch has been calculated according to IGMP snooping in the embodiment of the present invention Member's list item, sets up IGMP snooping agent member databases, in the data structure and prior art of member of vlan's list item The data structure of storage IGMP snooping agent member databases is identical, and the IGMP snooping of foundation act on behalf of member data Directly membership report can be fed back according to IGMP snooping agent member database contents without the need for storage, switch in storehouse To multicast router, so system is without the need for additionally using a layer data structures.Solve in prior art, need additionally to use One layer data structures are storing the problem of the IGMP snooping agent member databases of calculating.Asked by solving above-mentioned technology Topic, can reduce the data structure of switch system, reduce the complexity of system.
Further embodiment of this invention provides a kind of device 30 for setting up agent member database, as shown in figure 5, described device 30 include:
Determining unit 31, for determining that according to virtual LAN VLAN member's list item the group in agent member database is remembered Record;
Unit 32 is set up, for the agent member database being set up using described group of record.
Wherein, member of vlan's list item includes source network Protocol IP address, group IP address and forwarding port list;It is described Group record includes filtered model and source list, and the filtered model includes receiving include patterns and refusal exclude patterns.
Further, as shown in fig. 6, the determining unit 31 can also include:
First determination subelement 311, in belonging to member of vlan's list item of same multicast group for basis, source IP address is zero Member of vlan's list item of IP address determines the filtered model of described group of record;
Second determination subelement 312, in belonging to member of vlan's list item of same multicast group for basis, source IP address is not Member of vlan's list item of zero IP address determines the source list of described group of record, the member of vlan's list item for belonging to same multicast group For described group of IP address identical member of vlan's list item.
Further, first determination subelement 311 specifically for:
If the forwarding port list that the source IP address is member of vlan's list item of zero IP address is sky, described group is determined The filtered model of record is include patterns;If the source IP address is the forwarding end of member of vlan's list item of zero IP address Mouth list is not sky, determines that the filtered model of described group of record is exclude patterns.
Further, second determination subelement 312 specifically for:
When the filtered model of the described group of record that first determination subelement 311 determines is include patterns, if The source IP address be not zero IP address member of vlan's list item forwarding port list not for sky, then the source IP address is added It is added in the source list, forms the source list;When the filtration of the described group of record that first determination subelement 311 determines When pattern is exclude patterns, the forwarding port list of member of vlan's list item of IP address if the source IP address is not zero For sky, then the source IP address is added in the source list, forms the source list.
Further, second determination subelement 312 is specifically additionally operable to:
When the filtered model of the described group of record that first determination subelement 311 determines is include patterns, if The source IP address be not zero IP address member of vlan's list item forwarding port list for sky, then refuse the source IP address It is added in the source list;When the filtered model of described group of record of first determination subelement 311 determination is exclude During pattern, if the source IP address is not zero, the forwarding port list of member of vlan's list item of IP address is not sky, is refused The source IP address is added in the source list.
It should be noted that the query message of multicast router in embodiments of the present invention, is only received in device 30 When updating with multicast group, the process for setting up IGMP snooping agent member databases can be just performed.The IGMP of foundation Snooping agent member databases are a virtual data bases, are deposited in the data structure of member of vlan's list item and prior art Storage IGMP snooping agent member databases data structure it is identical, device 30 according to the member of vlan's list item for having existed, To set up IGMP snooping agent member databases, it is not necessary to which which is stored, directly can be acted on behalf of according to IGMP snooping Membership report is fed back to multicast router by member database content.
In prior art, device 30 calculates IGMP snooping agent member databases according to the group of second line of a couplet port record When, need to increase layer proxy member data library structure storage result of calculation, the member relation for calculating could be fed back to group Broadcast router.Compared with prior art, the VLAN that device 30 has been calculated according to IGMP snooping in the embodiment of the present invention Member's list item, sets up IGMP snooping agent member databases, in the data structure and prior art of member of vlan's list item The data structure of storage IGMP snooping agent member databases is identical, and the IGMP snooping of foundation act on behalf of member data Directly membership report can be fed back according to IGMP snooping agent member database contents without the need for storage, device 30 in storehouse To multicast router, so system is without the need for additionally using a layer data structures.Solve in prior art, need additionally to use One layer data structures are storing the problem of the IGMP snooping agent member databases of calculating.Asked by solving above-mentioned technology Topic, can reduce the data structure of 30 system of device, reduce the complexity of system.
The method that a kind of device for setting up agent member database provided in an embodiment of the present invention can realize above-mentioned offer Embodiment, concrete function are realized referring to the explanation in embodiment of the method, will not be described here.Provided in an embodiment of the present invention one Kind is set up the method and device of agent member database and goes for having run the Layer 2 switch of IGMP Snooping, but It is not limited only to this.
One of ordinary skill in the art will appreciate that all or part of flow process in realizing above-described embodiment method, can be Instruct related hardware to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory(Read-Only Memory, ROM)Or random access memory(Random Access Memory, RAM)Deng.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, the change or replacement that can be readily occurred in all are answered It is included within the scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (10)

1. a kind of method for setting up agent member database, it is characterised in that include:
The group record in agent member database is determined according to virtual LAN VLAN member's list item, member of vlan's list item is used In forward multicast packets, the agent member database is acted on behalf of into for internet group management protocol snooping IGMP snooping Member data base, the data of the data structure of member of vlan's list item and the IGMP snooping agent member databases tie Structure is identical;
The agent member database is set up using described group of record.
2. method according to claim 1, it is characterised in that described that generation is determined according to virtual LAN VLAN member's list item Group record in reason member database includes:
Institute is determined according to member of vlan's list item that source IP address in member of vlan's list item of same multicast group is zero IP address is belonged to A filtered model for record is stated group, is not zero IP address according to source IP address in member of vlan's list item of same multicast group is belonged to Member of vlan's list item determines the source list of described group of record, and the member of vlan's list item for belonging to same multicast group is group IP address Identical member of vlan's list item.
3. method according to claim 2, it is characterised in that the basis belongs to member of vlan's list item of same multicast group Middle source IP address is that member of vlan's list item of zero IP address determines that the filtered model of described group of record includes:
If the forwarding port list that the source IP address is member of vlan's list item of zero IP address is sky, described group of record is determined Filtered model for receive include patterns;If the source IP address is the forwarding end of member of vlan's list item of zero IP address Mouth list is not sky, determines that the filtered model of described group of record is refusal exclude patterns.
4. method according to claim 3, it is characterised in that the basis belongs to member of vlan's list item of same multicast group Be not zero member of vlan's list item of IP address of middle source IP address determines that the source list of described group of record includes:
When it is determined that described group of record filtered model be include patterns when, the IP address if source IP address is not zero Member of vlan's list item forwarding port list not for sky, then the source IP address is added in the source list, formed institute State source list;
When it is determined that described group of record filtered model be exclude patterns when, the IP address if source IP address is not zero The forwarding port list of member of vlan's list item be sky, then the source IP address is added in the source list, is formed described Source list.
5. method according to claim 3, it is characterised in that the basis belongs to member of vlan's list item of same multicast group Be not zero member of vlan's list item of IP address of middle source IP address determines that the source list of described group of record also includes:
When it is determined that described group of record filtered model be include patterns when, the IP address if source IP address is not zero Member of vlan's list item forwarding port list for sky, then refuse the source IP address is added in the source list;
When it is determined that described group of record filtered model be exclude patterns when, the IP address if source IP address is not zero Member of vlan's list item forwarding port list not for sky, then refuse the source IP address is added in the source list.
6. a kind of device for setting up agent member database, it is characterised in that include:
Determining unit, it is for determining that according to virtual LAN VLAN member's list item the group in agent member database is recorded, described Member of vlan's list item is used for forward multicast packets, and the agent member database is internet group management protocol snooping IGMP Snooping agent member databases, the data structure of member of vlan's list item act on behalf of member with the IGMP snooping The data structure of data base is identical;
Unit is set up, for the agent member database being set up using described group of record.
7. device according to claim 6, it is characterised in that the determining unit includes:
First determination subelement, in belonging to member of vlan's list item of same multicast group for basis, source IP address is zero IP address Member of vlan's list item determines the filtered model of described group of record;
Second determination subelement, for being not zero IP address according to belonging to source IP address in member of vlan's list item of same multicast group Member of vlan's list item determine the source list of described group of record, the member of vlan's list item for belonging to same multicast group is group IP ground Location identical member of vlan's list item.
8. device according to claim 7, it is characterised in that first determination subelement specifically for:
If the forwarding port list that the source IP address is member of vlan's list item of zero IP address is sky, described group of record is determined Filtered model for receive include patterns;If the source IP address is the forwarding end of member of vlan's list item of zero IP address Mouth list is not sky, determines that the filtered model of described group of record is refusal exclude patterns.
9. device according to claim 8, it is characterised in that second determination subelement specifically for:
When the filtered model of the described group of record that first determination subelement determines is include patterns, if the source IP address be not zero IP address member of vlan's list item forwarding port list not for sky, then the source IP address is added to into institute State in the list of source, form the source list;When the filtered model of described group of record of first determination subelement determination is During exclude patterns, if the source IP address is not zero, the forwarding port list of member of vlan's list item of IP address is sky, The source IP address is added in the source list, the source list is formed.
10. device according to claim 9, it is characterised in that second determination subelement is specifically additionally operable to:
When the filtered model of the described group of record that first determination subelement determines is include patterns, if the source IP address be not zero IP address member of vlan's list item forwarding port list for sky, then refuse to be added to the source IP address In the source list;When the filtered model of the described group of record that first determination subelement determines is exclude patterns, such as Really described source IP address be not zero IP address member of vlan's list item forwarding port list not for sky, then refuse the source IP Address is added in the source list.
CN201310323163.9A 2013-07-29 2013-07-29 Method and device for establishing agent member database Active CN103346951B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310323163.9A CN103346951B (en) 2013-07-29 2013-07-29 Method and device for establishing agent member database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310323163.9A CN103346951B (en) 2013-07-29 2013-07-29 Method and device for establishing agent member database

Publications (2)

Publication Number Publication Date
CN103346951A CN103346951A (en) 2013-10-09
CN103346951B true CN103346951B (en) 2017-04-19

Family

ID=49281727

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310323163.9A Active CN103346951B (en) 2013-07-29 2013-07-29 Method and device for establishing agent member database

Country Status (1)

Country Link
CN (1) CN103346951B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108809840B (en) * 2018-06-12 2021-04-13 天津卓越信通科技有限公司 Method for controlling and managing multicast group in subnet

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988464A (en) * 2006-11-23 2007-06-27 华为技术有限公司 Method and device for automatically identifying multicast agent device interface types
EP2000918A1 (en) * 2006-03-07 2008-12-10 Sony Corporation Information processing device, information processing method, and computer program
CN101771611A (en) * 2009-12-31 2010-07-07 迈普通信技术股份有限公司 Method for precisely forwarding IP multicast data in VLAN and forward device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8503446B2 (en) * 2005-08-29 2013-08-06 Alcatel Lucent Multicast host authorization tracking, and accounting
CN1866919B (en) * 2005-12-06 2012-11-14 华为技术有限公司 Service switching method based on VLAN stack

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2000918A1 (en) * 2006-03-07 2008-12-10 Sony Corporation Information processing device, information processing method, and computer program
CN1988464A (en) * 2006-11-23 2007-06-27 华为技术有限公司 Method and device for automatically identifying multicast agent device interface types
CN101771611A (en) * 2009-12-31 2010-07-07 迈普通信技术股份有限公司 Method for precisely forwarding IP multicast data in VLAN and forward device

Also Published As

Publication number Publication date
CN103346951A (en) 2013-10-09

Similar Documents

Publication Publication Date Title
CN104767676B (en) Data message forwarding method and system in SDN
CN103873373B (en) Multicast data message forwarding method and equipment
CN102918808B (en) The method of transfer of virtual LAN Information in the discovery of phantom station interface and configuration protocol
CN104272679B (en) Communication system, control device, communication means and recording medium
CN106992874A (en) Method and the network equipment for communication
CN104380658A (en) Stream classifier, service routing trigger, and message processing method and system
CN103560959B (en) Method and device for selecting static route
CN103812780B (en) Network route pattern conversion method, central controller and data centre network system
CN108243123A (en) Processing method, device, controller and the interchanger of broadcasting packet
CN107592270A (en) The treating method and apparatus and system of FlowSpec message
DE102010056369A1 (en) Routed Split Multilink Trunking for IPv6
CN103200102A (en) Method, device and system for service routing
CN106411750B (en) Data distributing method and system
CN103532851B (en) Data flow processing method in distributed aggregated link network and device
CN104160667B (en) Double convergent method, apparatus and system of up tangent rings
CN101771611A (en) Method for precisely forwarding IP multicast data in VLAN and forward device
CN101369994A (en) Method, apparatus and system for implementing multicast group member management protocol proxy
CN103346951B (en) Method and device for establishing agent member database
CN104394209B (en) A kind of real-time database data transmission method for distributed energy management
CN101222425A (en) Multicast forwarding method and multicast router
CN101383757B (en) Multicast routing method, apparatus and system, media gateway and media gateway controller
CN101155148B (en) Method, system and device for media gateway issuing and receiving multicast data
CN104767720A (en) OpenFlow message tracking and filtering method in software defined network
CN102014006B (en) Ethernet ring protection switching method for hybrid network
CN109639556B (en) Forwarding table entry reporting method and VTEP equipment

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