CN102271065B - Multicast forwarding path detection method for two-layer network and switching equipment - Google Patents

Multicast forwarding path detection method for two-layer network and switching equipment Download PDF

Info

Publication number
CN102271065B
CN102271065B CN2011102283533A CN201110228353A CN102271065B CN 102271065 B CN102271065 B CN 102271065B CN 2011102283533 A CN2011102283533 A CN 2011102283533A CN 201110228353 A CN201110228353 A CN 201110228353A CN 102271065 B CN102271065 B CN 102271065B
Authority
CN
China
Prior art keywords
multicast
switching equipment
message
equipment
igmpinternet
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.)
Expired - Fee Related
Application number
CN2011102283533A
Other languages
Chinese (zh)
Other versions
CN102271065A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2011102283533A priority Critical patent/CN102271065B/en
Publication of CN102271065A publication Critical patent/CN102271065A/en
Application granted granted Critical
Publication of CN102271065B publication Critical patent/CN102271065B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The embodiment of the invention provides a multicast forwarding path detection method for a two-layer network and switching equipment. A multicast forwarding path corresponding to preset remote equipment is learnt to be reachable according to a report message in response to a universal query message by the switching equipment close to a multicast source or according to a given query message in response to the report message by the switching equipment close to user equipment. The embodiment of the invention can solve the problem of incapability of detecting the multicast forwarding path in the two-layer network in the absence of the user equipment or the multicast source, thereby improving detection flexibility.

Description

The detection method of multicast forwarding path and switching equipment in double layer network
Technical field
The embodiment of the present invention relates to the communication technology, relates in particular to detection method and the switching equipment of multicast forwarding path in double layer network.
Background technology
Layer 2 Multicast can be deployed in double layer network, is used for instructing multicast message in the more excellent forwarding of double layer network.In prior art, when subscriber equipment is connected to multicast source by switching equipment, can by the structure multicast message, carry out the detection of multicast forwarding path in double layer network in this real network environment.
Yet, in prior art, if there is no the participation of subscriber equipment or multicast source, can't detect multicast forwarding path in double layer network, caused detecting the reduction of flexibility.
Summary of the invention
The embodiment of the present invention provides detection method and the switching equipment of multicast forwarding path in double layer network, detects flexibility in order to improve.
One aspect of the present invention provides the detection method of multicast forwarding path in a kind of double layer network, comprising:
Receive the general polling message based on igmpinternet near the switching equipment broadcasting of multicast source, comprise the identification information of default remote equipment in described general polling message;
Identification information according to described default remote equipment, to the described general polling message based on igmpinternet of other switching equipment broadcasting, and the report message based on igmpinternet that receives the described general polling message of response, perhaps according to the identification information of described default remote equipment, generate the report message based on igmpinternet of the described general polling message of described response;
Described report message is sent to described switching equipment near multicast source, so that according to described report message, knowing described switching equipment near multicast source, described switching equipment near multicast source can reach to the multicast forwarding path of switching equipment corresponding to the identification information of described default remote equipment.
The present invention provides the detection method of multicast forwarding path in a kind of double layer network on the other hand, comprising:
Receive the report message based on igmpinternet near the switching equipment broadcasting of subscriber equipment, comprise the identification information of default remote equipment in described report message;
Identification information according to described default remote equipment, to the described report message based on igmpinternet of other switching equipment broadcasting, and the ad hoc inquiry message based on igmpinternet that receives the switching equipment transmission of close multicast source, perhaps according to the identification information of described default remote equipment, generate described ad hoc inquiry message based on igmpinternet, comprise the identification information of described default remote equipment in described ad hoc inquiry message;
Described ad hoc inquiry message is sent to described switching equipment near subscriber equipment, so that according to described ad hoc inquiry message, knowing described switching equipment near multicast source, described switching equipment near subscriber equipment can reach to the multicast forwarding path of switching equipment corresponding to the identification information of described default remote equipment.
The present invention provides a kind of switching equipment on the other hand, comprising:
Receiver is used for receiving the general polling message based on igmpinternet near the switching equipment broadcasting of multicast source, comprises the identification information of default remote equipment in described general polling message;
Processor, be used for the identification information according to described default remote equipment, to the described general polling message based on igmpinternet of other switching equipment broadcasting, and the report message based on igmpinternet that receives the described general polling message of response, perhaps according to the identification information of described default remote equipment, generate the report message based on igmpinternet of the described general polling message of described response;
Transmitter, be used for described report message is sent to described switching equipment near multicast source, so that according to described report message, knowing described switching equipment near multicast source, described switching equipment near multicast source can reach to the multicast forwarding path of switching equipment corresponding to the identification information of described default remote equipment.
The present invention provides a kind of switching equipment on the other hand, comprising:
Receiver is used for receiving the report message based on igmpinternet near the switching equipment broadcasting of subscriber equipment, comprises the identification information of default remote equipment in described report message;
Processor, be used for the identification information according to described default remote equipment, to the described report message based on igmpinternet of other switching equipment broadcasting, and the ad hoc inquiry message based on igmpinternet that receives the switching equipment transmission of close multicast source, the identification information that comprises described default remote equipment in described ad hoc inquiry message, perhaps according to the identification information of described default remote equipment, generate described ad hoc inquiry message based on igmpinternet;
Transmitter, be used for described ad hoc inquiry message is sent to described switching equipment near subscriber equipment, so that according to described report ad hoc inquiry message, knowing described switching equipment near multicast source, described switching equipment near subscriber equipment can reach to the multicast forwarding path of switching equipment corresponding to the identification information of described default remote equipment.
As shown from the above technical solution, the embodiment of the present invention is passed through the switching equipment of close multicast source according to the report message of response general polling message, perhaps pass through the switching equipment of close subscriber equipment according to the ad hoc inquiry message of response report message, know that default multicast forwarding path corresponding to remote equipment can reach, can avoid the problem that can't detect multicast forwarding path in double layer network that causes due to the participation that there is no subscriber equipment or multicast source in prior art, thereby improve the detection flexibility.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, the below will do one to the accompanying drawing of required use in embodiment or description of the Prior Art and introduce simply, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The schematic flow sheet of the detection method of multicast forwarding path in the double layer network that Fig. 1 provides for one embodiment of the invention;
Fig. 2 is the double layer network schematic diagram in embodiment corresponding to Fig. 1;
The schematic flow sheet of the detection method of multicast forwarding path in the double layer network that Fig. 3 provides for another embodiment of the present invention;
The structural representation of the switching equipment that Fig. 4 provides for another embodiment of the present invention;
The structural representation of the switching equipment that Fig. 5 provides for another embodiment of the present invention;
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Close in the embodiment of the present invention can be understood as with close equipment and directly is connected.
The schematic flow sheet of the detection method of multicast forwarding path in the double layer network that Fig. 1 provides for one embodiment of the invention, as shown in Figure 1, in the double layer network of the present embodiment, the detection method of multicast forwarding path can comprise:
101, receive the general polling message based on igmpinternet of broadcasting near the switching equipment of multicast source, comprise the identification information of default remote equipment in above-mentioned general polling message;
Particularly, above-mentioned igmpinternet can include but not limited to IGMP (the Internet Group Management ProtoCol of IPv4, IGMP), the multicast monitoring discovery of IPv6 (Multicast Listener Discovery, MLD) agreement.
Wherein, the identification information of default remote equipment can include but not limited to media access control (Medium Access Control, MAC) address, and the identification information of this default remote equipment is pre-configured in each near on switching equipment of subscriber equipment.This general polling message can further include multicast information, and multicast information can comprise that request type, multicast source address information are (for example: the IP address of multicast source) and multicast group address information (for example: IP address or the MAC Address of multicast group).
For example: can increase an option (option) in based on the IP option data (IP option data) of the general polling message of igmpinternet, (for example: MAC Address (MAC ADDRESS specifically comprise the identification information of default remote equipment, 48 bits)), the IP address (32 bit) of the IP address (32 bit) of request type (MODE, 4 bits), multicast source and multicast group.Wherein, what the type of this option (TYPE) comprised 1 bit copies sign (copied flag, be defined as 1), the option type (option class is defined as 0) of 2 bits and the option number (option number is defined as untapped numbering and gets final product) of 5 bits; The length of this option (LENGTH) is 24 bytes; In front 2 bits of request type (MODE), 0 expression sends from up switching equipment, and 1 expression sends from descending switching equipment, also can conversely; In rear 2 bits, 0 expression ( *, G), 1 expression (S, G), 2 expression group MAC Address (GMAC).
102, according to the identification information of above-mentioned default remote equipment, to the above-mentioned general polling message based on igmpinternet of other switching equipment broadcasting, and the report message based on igmpinternet that receives the above-mentioned general polling message of response, perhaps according to the identification information of above-mentioned default remote equipment, generate the report message based on igmpinternet of the above-mentioned general polling message of above-mentioned response;
103, above-mentioned report message is sent to above-mentioned switching equipment near multicast source, so that according to above-mentioned report message, knowing above-mentioned switching equipment near multicast source, above-mentioned switching equipment near multicast source can reach to the multicast forwarding path of switching equipment corresponding to the identification information of above-mentioned default remote equipment.
101~103 executive agent can be the arbitrary switching equipment except the close switching equipment of multicast source in double layer network.
Before 101~103, can be first at the identification information near the default remote equipment of configuration on the switching equipment of subscriber equipment, the identification information of this default remote equipment is consistent with the identification information based on the default remote equipment in the general polling message of igmpinternet of broadcasting near the switching equipment of multicast source.Be understandable that: also need near the default local device identification information of configuration on the switching equipment of multicast source, can realize that switching equipment of this close multicast source is initiated inquiry as inquiry (Querier).
if 101 executive agent is the switching equipment near subscriber equipment, because this identification information near the default remote equipment in the identification information of the default remote equipment that configures on switching equipment of subscriber equipment and the general polling message that receives is consistent, should generate near the switching equipment of subscriber equipment the report message based on igmpinternet of the above-mentioned general polling message of response, and above-mentioned report message is sent to above-mentioned switching equipment near multicast source, so that the switching equipment of above-mentioned close multicast source is according to above-mentioned report message, know that described switching equipment near multicast source can reach to the multicast forwarding path of switching equipment corresponding to the identification information of described default remote equipment.
If 101 executive agent is not the switching equipment near subscriber equipment, due to the identification information that there is no the default remote equipment of configuration on this switching equipment, this switching equipment is to the above-mentioned general polling message of other switching equipment broadcasting, and the report message based on igmpinternet that receives the above-mentioned general polling message of response, and above-mentioned report message is sent to above-mentioned switching equipment near multicast source.
Alternatively, above-mentioned based on can also further comprise multicast information in the general polling message of igmpinternet, such as: request type, multicast source address information (such as: the IP address of multicast source) and multicast group address information (such as IP address or the MAC Address of multicast group) etc.
further, in order to confirm that further this multicast forwarding path can reach, after above-mentioned switching equipment receives the report message based on igmpinternet of the above-mentioned general polling message of response, can also further generate the descending outlet of multicast corresponding to above-mentioned multicast information, correspondingly, after the ad hoc inquiry message based on igmpinternet of above-mentioned switching equipment reception near the switching equipment transmission of multicast source, can be by the descending outlet of above-mentioned multicast, switching equipment to correspondence sends above-mentioned ad hoc inquiry message based on igmpinternet, and the report message based on igmpinternet that receives the above-mentioned ad hoc inquiry message of response, and above-mentioned report message is sent to above-mentioned switching equipment near multicast source, perhaps generate the report message based on igmpinternet of the above-mentioned ad hoc inquiry message of response, above-mentioned report message is sent to above-mentioned switching equipment near multicast source, so that the switching equipment of above-mentioned close multicast source is according to above-mentioned report message, know that described switching equipment near multicast source can reach to the multicast forwarding path of switching equipment corresponding to the identification information of described default remote equipment.Wherein, comprise above-mentioned default remote equipment identification information in above-mentioned ad hoc inquiry message, perhaps can also further comprise above-mentioned multicast information.
Further, after receiving the general polling message based on igmpinternet of broadcasting near the switching equipment of multicast source, can also further generate the up outlet of multicast corresponding to above-mentioned multicast information; Correspondingly, specifically can by the up outlet of multicast corresponding to above-mentioned multicast information, above-mentioned report message be sent to above-mentioned switching equipment near multicast source.
Further, deployment scenario (for example: multicast forwarding path is through the number of switching equipment) in order further to determine the switching equipment in double layer network can also further comprise message jumping figure information in the report message of above-mentioned general polling message and this general polling message of response.This general polling message or to respond the report message of this general polling message every through a switching equipment, the jumping figure that message jumping figure information identifies increases by 1.Similarly, the report message of above-mentioned ad hoc inquiry message and this ad hoc inquiry message of response also can comprise message jumping figure information.
Further, in order further to distinguish the corresponding relation of general polling message and the report message of this general polling message of response, can also further comprise message identification information in the report message of above-mentioned general polling message and this general polling message of response.Similarly, the report message of above-mentioned ad hoc inquiry message and this ad hoc inquiry message of response also can comprise message identification information.
in the present embodiment, after receiving the general polling message based on igmpinternet of broadcasting near the switching equipment of multicast source, identification information according to the default remote equipment that comprises in this general polling message, forward this general polling message or respond this general polling message, make the switching equipment of above-mentioned close multicast source according to the report message of this general polling message of response, know that above-mentioned switching equipment near multicast source can reach to the multicast forwarding path of switching equipment corresponding to the identification information of above-mentioned default remote equipment, can avoid the problem that can't detect multicast forwarding path in double layer network that causes due to the participation that there is no subscriber equipment or multicast source in prior art, thereby improved the detection flexibility.
For the method that makes the embodiment of the present invention provide is clearer, the below will be with double layer network shown in Figure 2 as an example.Double layer network as shown in Figure 2 comprises switching equipment SW1, SW2, SW3, SW4, SW5 and SW6, SW1, SW2, SW3 and SW4 form two layers of ring, SW5 is connected subscriber equipment and two layers of ring with SW6, SW1 connects multicast source, in advance at each switching equipment near subscriber equipment, as SW5, the MAC Address of the default remote equipment of upper configuration.SW1 is as inquiry (Querier), structure is based on the general polling message of IGMP, should comprise MAC Address (the MAC ADDRESS that is configured in the default remote equipment on SW5 in the general polling message based on IGMP, 48 bits), the IP address (32 bit) of request type (MODE, 4 bits), multicast source and the address of multicast group.Wherein, the address of multicast group can be the IP address (32 bit) of multicast group, can also be perhaps the MAC Address (48 bit) of multicast group.SW2 receives the general polling message based on IGMP that SW1 sends, and due to the upper MAC Address that there is no the default remote equipment of configuration of SW2, generates the corresponding up outlet of multicast, and this general polling message is sent to SW4 and SW5.Configured the MAC Address of default remote equipment due to SW5, SW5 generates based on the report message based on IGMP corresponding to the general polling message of IGMP, and send this based on the report message of IGMP to SW2, should comprise MAC Address (the MAC ADDRESS that is configured in the default proximal device on SW1 in the report message based on IGMP, 48 bits), the IP address (32 bit) of request type (MODE, 4 bits), multicast source and the address of multicast group.Wherein, the address of multicast group can be the IP address (32 bit) of multicast group, can also be perhaps the MAC Address (48 bit) of multicast group.SW2 receives the report message based on IGMP that SW5 sends, and due to the upper MAC Address that there is no the default proximal device of configuration of SW2, generates the corresponding descending outlet of multicast, and according to the up outlet of multicast that generates before, this report message is sent to SW1.SW1 receives the report message based on IGMP that SW2 sends, configured the MAC Address of default proximal device due to SW1, known near the switching equipment SW1 of multicast source can reach to the multicast forwarding path of switching equipment SW5 corresponding to the identification information of presetting remote equipment.
The schematic flow sheet of the detection method of multicast forwarding path in the double layer network that Fig. 3 provides for another embodiment of the present invention, as shown in Figure 3, in the double layer network of the present embodiment, the detection method of multicast forwarding path can comprise:
301, receive the report message based on igmpinternet of broadcasting near the switching equipment of subscriber equipment, comprise the identification information of default remote equipment in above-mentioned report message;
Particularly, above-mentioned igmpinternet can include but not limited to IGMP (the Internet Group Management ProtoCol of IPv4, IGMP), the multicast monitoring discovery of IPv6 (Multicast Listener Discovery, MLD) agreement.
Wherein, the identification information of default remote equipment can include but not limited to media access control (Medium Access Control, MAC) address.Can further include multicast information in this report message, multicast information can comprise that request type, multicast source address information are (for example: the IP address of multicast source) and multicast group address information (for example: IP address or the MAC Address of multicast group).
For example: can increase an option (option) in based on the IP option data (IP option data) of the report message of igmpinternet, (for example: MAC Address (MAC ADDRESS specifically comprise the identification information of default remote equipment, 48 bits)), the IP address (32 bit) of the IP address (32 bit) of request type (MODE, 4 bits), multicast source and multicast group.Wherein, what the type of this option (TYPE) comprised 1 bit copies sign (copied flag, be defined as 1), the option type (option class is defined as 0) of 2 bits and the option number (option number is defined as untapped numbering and gets final product) of 5 bits; The length of this option (LENGTH) is 24 bytes; In front 2 bits of request type (MODE), 0 expression sends from up switching equipment, and 1 expression sends from descending switching equipment, also can conversely; In rear 2 bits, 0 expression ( *, G), 1 expression (S, G), 2 expression GMAC, exchange also can mutually.
302, according to the identification information of above-mentioned default remote equipment, to the above-mentioned report message based on igmpinternet of other switching equipment broadcasting, and the ad hoc inquiry message based on igmpinternet that receives the switching equipment transmission of close multicast source, the identification information that comprises above-mentioned default remote equipment in above-mentioned ad hoc inquiry message, perhaps according to the identification information of above-mentioned default remote equipment, generate above-mentioned ad hoc inquiry message based on igmpinternet;
303, above-mentioned ad hoc inquiry message is sent to above-mentioned switching equipment near subscriber equipment, so that according to above-mentioned ad hoc inquiry message, knowing above-mentioned switching equipment near multicast source, above-mentioned switching equipment near subscriber equipment can reach to the multicast forwarding path of switching equipment corresponding to the identification information of above-mentioned default remote equipment.
301~303 executive agent can be the arbitrary switching equipment except the close switching equipment of subscriber equipment in double layer network.
Before 301~303, can be first at the identification information near the default remote equipment of configuration on the switching equipment of multicast source, the identification information of this default remote equipment is consistent with the identification information based on the default remote equipment in the report message of igmpinternet of broadcasting near the switching equipment of subscriber equipment.Be understandable that: also need near the default local device identification information of configuration on the switching equipment of subscriber equipment, can realize that switching equipment of this close subscriber equipment is initiated inquiry as inquiry (Querier).
if 301 executive agent is the switching equipment near multicast source, because this identification information near the default remote equipment in the identification information of the default remote equipment that configures on switching equipment of multicast source and the report message that receives is consistent, should can generate above-mentioned ad hoc inquiry message near the switching equipment of multicast source, and above-mentioned ad hoc inquiry message is sent to above-mentioned switching equipment near subscriber equipment, so that the switching equipment of above-mentioned close subscriber equipment is according to above-mentioned ad hoc inquiry message, know that described switching equipment near multicast source can reach to the multicast forwarding path of switching equipment corresponding to the identification information of described default remote equipment.
If 301 executive agent is not the switching equipment near multicast source, due to the identification information that there is no the default remote equipment of configuration on this switching equipment, this switching equipment can be to the above-mentioned report message of other switching equipment broadcasting, and receive above-mentioned ad hoc inquiry message, and above-mentioned ad hoc inquiry message is sent to above-mentioned switching equipment near subscriber equipment.
Alternatively, above-mentioned based on can also further comprise multicast information in the report message of igmpinternet, such as: request type, multicast source address information (such as: the IP address of multicast source) and multicast group address information (such as IP address or the MAC Address of multicast group) etc.Further, after receiving the report message based on igmpinternet of broadcasting near the switching equipment of subscriber equipment, can also further generate the descending outlet of multicast corresponding to above-mentioned multicast information; Correspondingly, specifically can by the descending outlet of multicast corresponding to above-mentioned multicast information, above-mentioned ad hoc inquiry message be sent to above-mentioned switching equipment near subscriber equipment.
Further, deployment scenario (for example: multicast forwarding path is through the number of switching equipment) in order further to determine the switching equipment in double layer network can also further comprise message jumping figure information in the ad hoc inquiry message of above-mentioned report message and correspondence.This report message or ad hoc inquiry message are every through a switching equipment, and the jumping figure that message jumping figure information identifies increases by 1.
Further, in order further to distinguish the corresponding relation of report message and corresponding ad hoc inquiry message, can also further comprise message identification information in the ad hoc inquiry message of above-mentioned report message and correspondence.
in the present embodiment, after receiving the report message based on igmpinternet of broadcasting near the switching equipment of subscriber equipment, identification information according to the default remote equipment that comprises in this report message, forward this report message or response this report message, make the switching equipment of above-mentioned close subscriber equipment according to the ad hoc inquiry message of response this report message, know that described switching equipment near multicast source can reach to the multicast forwarding path of switching equipment corresponding to the identification information of described default remote equipment, can avoid the problem that can't detect multicast forwarding path in double layer network that causes due to the participation that there is no subscriber equipment or multicast source in prior art, thereby improved the detection flexibility.
For the method that makes the embodiment of the present invention provide is clearer, the below also will be with double layer network shown in Figure 2 as an example.SW5 is as inquiry (Querier), structure is based on the report message of IGMP, should comprise MAC Address (the MAC ADDRESS that is configured in the default remote equipment on SW1 in the report message based on IGMP, 48 bits), the IP address (32 bit) of request type (MODE, 4 bits), multicast source and the address of multicast group.Wherein, the address of multicast group can be the IP address (32 bit) of multicast group, can also be perhaps the MAC Address (48 bit) of multicast group.SW2 receives the report message based on IGMP that SW5 sends, and due to the upper MAC Address that there is no the default remote equipment of configuration of SW2, generates the corresponding descending outlet of multicast, and this general polling message is sent to SW1 and SW4.SW1 receives the report message based on IGMP that SW2 sends, configured the MAC Address of default remote equipment due to SW1, generate the ad hoc inquiry message (position of the MAC Address of the default proximal device that comprises in report message and the MAC Address of default remote equipment exchanges) based on IGMP, and send this based on the ad hoc inquiry message of IGMP to SW2, should comprise MAC Address (the MAC ADDRESS that is configured in the default proximal device on SW5 in the ad hoc inquiry message based on IGMP, 48 bits), request type (MODE, 4 bits), the IP address of multicast source (32 bit), and the address of multicast group.Wherein, the address of multicast group can be the IP address (32 bit) of multicast group, can also be perhaps the MAC Address (48 bit) of multicast group.SW2 receives the ad hoc inquiry message based on IGMP that SW1 sends, due to the upper MAC Address that there is no the default proximal device of configuration of SW2, generate the corresponding up outlet of multicast, and according to the descending outlet of multicast that generates before, this ad hoc inquiry message is sent to SW5.SW5 receives the ad hoc inquiry message based on IGMP that SW2 sends, configured the MAC Address of default proximal device due to SW5, known that described switching equipment near multicast source can reach to the multicast forwarding path of switching equipment corresponding to the identification information of described default remote equipment.
Need to prove: for aforesaid each embodiment of the method, for simple description, therefore it all is expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not subjected to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, there is no the part that describes in detail in certain embodiment, can be referring to the associated description of other embodiment.
The structural representation of the switching equipment that Fig. 4 provides for another embodiment of the present invention, as shown in Figure 4, the switching equipment of the present embodiment can comprise receiver 41, processor 42 and transmitter 43.Wherein, receiver 41 is used for receiving the general polling message based on igmpinternet near the switching equipment broadcasting of multicast source, comprises the identification information of default remote equipment in above-mentioned general polling message; The identification information that processor 42 is used for according to above-mentioned default remote equipment, to the above-mentioned general polling message based on igmpinternet of other switching equipment broadcasting, and the report message based on igmpinternet that receives the above-mentioned general polling message of response, perhaps according to the identification information of above-mentioned default remote equipment, generate the report message based on igmpinternet of the above-mentioned general polling message of above-mentioned response; Transmitter 43 sends to above-mentioned switching equipment near multicast source with above-mentioned report message, so that according to above-mentioned report message, knowing described switching equipment near multicast source, above-mentioned switching equipment near multicast source can reach to the multicast forwarding path of switching equipment corresponding to the identification information of described default remote equipment.
In embodiment corresponding to above-mentioned Fig. 1, method can be realized by the switching equipment that the present embodiment provides.
Alternatively, also comprise multicast information in described general polling message.
Correspondingly, processor 42 in the present embodiment can also further generate the up outlet of multicast corresponding to above-mentioned multicast information, by the up outlet of multicast corresponding to this multicast information, above-mentioned report message is sent to the switching equipment of close multicast source for transmitter 43.
Correspondingly, the processor in the present embodiment 42 can also further generate the descending outlet of multicast corresponding to above-mentioned multicast information; Correspondingly, the receiver 41 in the present embodiment can also further receive the ad hoc inquiry message based on igmpinternet near the switching equipment transmission of multicast source, comprises the identification information of above-mentioned default remote equipment in above-mentioned ad hoc inquiry message; 42 of processors can be further by the descending outlet of above-mentioned multicast, switching equipment to correspondence sends above-mentioned ad hoc inquiry message based on igmpinternet, and receive the report message based on igmpinternet that responds above-mentioned ad hoc inquiry message, perhaps generate the report message based on igmpinternet of the above-mentioned ad hoc inquiry message of above-mentioned response; 43 of transmitters can correspondingly send to above-mentioned report message above-mentioned switching equipment near multicast source, so that according to above-mentioned report message, knowing described switching equipment near multicast source, above-mentioned switching equipment near multicast source can reach to the multicast forwarding path of switching equipment corresponding to the identification information of described default remote equipment.
in the present embodiment, after switching equipment receives the general polling message based on igmpinternet of broadcasting near the switching equipment of multicast source by receiver, by the identification information of processor according to the default remote equipment that comprises in this general polling message, forward this general polling message or respond this general polling message, make the switching equipment of above-mentioned close multicast source according to the report message of this general polling message of response, know that described switching equipment near multicast source can reach to the multicast forwarding path of switching equipment corresponding to the identification information of described default remote equipment, can avoid the problem that can't detect multicast forwarding path in double layer network that causes due to the participation that there is no subscriber equipment or multicast source in prior art, thereby improved the detection flexibility.
The structural representation of the switching equipment that Fig. 5 provides for another embodiment of the present invention, as shown in Figure 5, the switching equipment of the present embodiment can comprise receiver 51, processor 52 and transmitter 53.Wherein, receiver 51 is used for receiving the report message based on igmpinternet near the switching equipment broadcasting of subscriber equipment, comprises the identification information of default remote equipment in above-mentioned report message; The identification information that processor 52 is used for according to above-mentioned default remote equipment, to the above-mentioned report message based on igmpinternet of other switching equipment broadcasting, and the ad hoc inquiry message based on igmpinternet that receives the switching equipment transmission of close multicast source, the identification information that comprises above-mentioned default remote equipment in above-mentioned ad hoc inquiry message, perhaps according to the identification information of above-mentioned default remote equipment, generate above-mentioned ad hoc inquiry message based on igmpinternet; Transmitter 53 sends to above-mentioned switching equipment near subscriber equipment with above-mentioned ad hoc inquiry message, so that according to above-mentioned report ad hoc inquiry message, knowing described switching equipment near multicast source, above-mentioned switching equipment near subscriber equipment can reach to the multicast forwarding path of switching equipment corresponding to the identification information of described default remote equipment.
In embodiment corresponding to above-mentioned Fig. 3, method can be realized by the switching equipment that the present embodiment provides.
Alternatively, also comprise multicast information in described ad hoc inquiry message.
Correspondingly, processor 52 in the present embodiment can also further generate the descending outlet of multicast corresponding to above-mentioned multicast information, by the descending outlet of multicast corresponding to above-mentioned multicast information, above-mentioned ad hoc inquiry message is sent to above-mentioned switching equipment near subscriber equipment for transmitter 53.
in the present embodiment, after switching equipment receives by receiver the report message based on igmpinternet of broadcasting near the switching equipment of subscriber equipment, by the identification information of processor according to the default remote equipment that comprises in this report message, forward this report message or response this report message, make the switching equipment of above-mentioned close subscriber equipment according to the ad hoc inquiry message of response this report message, know that described switching equipment near multicast source can reach to the multicast forwarding path of switching equipment corresponding to the identification information of described default remote equipment, can avoid the problem that can't detect multicast forwarding path in double layer network that causes due to the participation that there is no subscriber equipment or multicast source in prior art, thereby improved the detection flexibility.
The those skilled in the art can be well understood to, and is the convenience described and succinct, the system of foregoing description, and the specific works process of device and unit can with reference to the corresponding process in preceding method embodiment, not repeat them here.
In several embodiment that the application provides, should be understood that, disclosed system, apparatus and method can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual the realization, other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
Described unit as separating component explanation can or can not be also physically to separate, and the parts that show as the unit can be or can not be also physical locations, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of unit to realize the purpose of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processor, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, the form that also can adopt hardware to add SFU software functional unit realizes.
The above-mentioned integrated unit of realizing with the form of SFU software functional unit can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the part steps of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (Read-Only Memory, ROM), the various media that can be program code stored such as random access memory (Random Access Memory, RAM), magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment, the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (14)

1. the detection method of multicast forwarding path in a double layer network, is characterized in that, comprising:
Receive the general polling message based on igmpinternet near the switching equipment broadcasting of multicast source, comprise the identification information of default remote equipment in described general polling message;
Identification information according to described default remote equipment, to the described general polling message based on igmpinternet of other switching equipment broadcasting, and the report message based on igmpinternet that receives the described general polling message of response, perhaps according to the identification information of described default remote equipment, generate the report message based on igmpinternet of the described general polling message of described response;
Described report message is sent to described switching equipment near multicast source, so that according to described report message, knowing described switching equipment near multicast source, described switching equipment near multicast source can reach to the multicast forwarding path of switching equipment corresponding to the identification information of described default remote equipment.
2. method according to claim 1, is characterized in that, also comprises multicast information in described general polling message;
After the general polling message based on igmpinternet of described reception near the switching equipment broadcasting of multicast source, also comprise: generate the up outlet of multicast corresponding to described multicast information;
The described switching equipment that described report message is sent to described close multicast source comprises:
By the up outlet of multicast corresponding to described multicast information, described report message is sent to described switching equipment near multicast source.
3. method according to claim 1, is characterized in that, also comprises multicast information in described general polling message; After the report message based on igmpinternet of the described general polling message of described reception response, described method also comprises: generate the descending outlet of multicast corresponding to described multicast information;
Receive the ad hoc inquiry message based on igmpinternet near the switching equipment transmission of multicast source, comprise the identification information of described default remote equipment in described ad hoc inquiry message;
By the descending outlet of multicast corresponding to described multicast information, send described ad hoc inquiry message based on igmpinternet, and receive the report message based on igmpinternet that responds described ad hoc inquiry message, perhaps generate the report message based on igmpinternet of the described ad hoc inquiry message of described response;
Described report message is sent to described switching equipment near multicast source, so that according to described report message, knowing described switching equipment near multicast source, described switching equipment near multicast source can reach to the multicast forwarding path of switching equipment corresponding to the identification information of described default remote equipment.
4. method according to claim 3, it is characterized in that, the report message of described general polling message and the described general polling message of response, and also comprise one or more in message jumping figure information and message identification information in the report message of described ad hoc inquiry message and the described ad hoc inquiry message of response.
5. the described method of arbitrary claim of according to claim 1 to 4, is characterized in that, described multicast information comprises request type, multicast source address information and multicast group address information.
6. the detection method of multicast forwarding path in a double layer network, is characterized in that, comprising:
Receive the report message based on igmpinternet near the switching equipment broadcasting of subscriber equipment, comprise the identification information of default remote equipment in described report message;
Identification information according to described default remote equipment, to the described report message based on igmpinternet of other switching equipment broadcasting, and the ad hoc inquiry message based on igmpinternet that receives the switching equipment transmission of close multicast source, perhaps according to the identification information of described default remote equipment, generate described ad hoc inquiry message based on igmpinternet, comprise the identification information of described default remote equipment in described ad hoc inquiry message;
Described ad hoc inquiry message is sent to described switching equipment near subscriber equipment, so that according to described ad hoc inquiry message, knowing described switching equipment near multicast source, described switching equipment near subscriber equipment can reach to the multicast forwarding path of switching equipment corresponding to the identification information of described default remote equipment.
7. method according to claim 6, is characterized in that, also comprises multicast information in described ad hoc inquiry message;
After the report message based on igmpinternet of described reception near the switching equipment broadcasting of subscriber equipment, described method also comprises: generate the descending outlet of multicast corresponding to described multicast information;
The described switching equipment that described ad hoc inquiry message is sent to described close subscriber equipment comprises:
By the descending outlet of multicast corresponding to described multicast information, described ad hoc inquiry message is sent to described switching equipment near subscriber equipment.
8. method according to claim 7, is characterized in that, also comprises one or more in message jumping figure information and message identification information in described report message and described ad hoc inquiry message.
9. according to claim 7 or 8 described methods, is characterized in that, described multicast information comprises request type, multicast source address information and multicast group address information.
10. a switching equipment, is characterized in that, comprising:
Receiver is used for receiving the general polling message based on igmpinternet near the switching equipment broadcasting of multicast source, comprises the identification information of default remote equipment in described general polling message;
Processor, be used for the identification information according to described default remote equipment, to the described general polling message based on igmpinternet of other switching equipment broadcasting, and the report message based on igmpinternet that receives the described general polling message of response, perhaps according to the identification information of described default remote equipment, generate the report message based on igmpinternet of the described general polling message of described response;
Transmitter, be used for described report message is sent to described switching equipment near multicast source, so that according to described report message, knowing described switching equipment near multicast source, described switching equipment near multicast source can reach to the multicast forwarding path of switching equipment corresponding to the identification information of described default remote equipment.
11. switching equipment according to claim 10 is characterized in that, also comprises multicast information in described general polling message; Described processor also is used for generating the up outlet of multicast corresponding to described multicast information, by the up outlet of multicast corresponding to described multicast information, described report message is sent to described switching equipment near multicast source for described transmitter.
12. switching equipment according to claim 10 is characterized in that, also comprises multicast information in described general polling message; Described processor also is used for generating the descending outlet of multicast corresponding to described multicast information;
Described receiver also is used for receiving the ad hoc inquiry message based on igmpinternet near the switching equipment transmission of multicast source, comprises identification information and the described multicast information of described default remote equipment in described ad hoc inquiry message;
Described processor also is used for by the descending outlet of multicast corresponding to described multicast information, send described ad hoc inquiry message based on igmpinternet, and receive the report message based on igmpinternet that responds described ad hoc inquiry message, perhaps generate the report message based on igmpinternet of the described ad hoc inquiry message of described response;
Described transmitter also is used for described report message is sent to described switching equipment near multicast source, so that according to described report message, knowing described switching equipment near multicast source, described switching equipment near multicast source can reach to the multicast forwarding path of switching equipment corresponding to the identification information of described default remote equipment.
13. a switching equipment is characterized in that, comprising:
Receiver is used for receiving the report message based on igmpinternet near the switching equipment broadcasting of subscriber equipment, comprises the identification information of default remote equipment in described report message;
Processor, be used for the identification information according to described default remote equipment, to the described report message based on igmpinternet of other switching equipment broadcasting, and the ad hoc inquiry message based on igmpinternet that receives the switching equipment transmission of close multicast source, the identification information that comprises described default remote equipment in described ad hoc inquiry message, perhaps according to the identification information of described default remote equipment, generate described ad hoc inquiry message based on igmpinternet;
Transmitter, be used for described ad hoc inquiry message is sent to described switching equipment near subscriber equipment, so that according to described report ad hoc inquiry message, knowing described switching equipment near multicast source, described switching equipment near subscriber equipment can reach to the multicast forwarding path of switching equipment corresponding to the identification information of described default remote equipment.
14. switching equipment according to claim 13 is characterized in that, also comprises multicast information in described ad hoc inquiry message; Described processor also is used for generating the descending outlet of multicast corresponding to described multicast information, by the descending outlet of multicast corresponding to described multicast information, described ad hoc inquiry message is sent to described switching equipment near subscriber equipment for described transmitter.
CN2011102283533A 2011-08-10 2011-08-10 Multicast forwarding path detection method for two-layer network and switching equipment Expired - Fee Related CN102271065B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102283533A CN102271065B (en) 2011-08-10 2011-08-10 Multicast forwarding path detection method for two-layer network and switching equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102283533A CN102271065B (en) 2011-08-10 2011-08-10 Multicast forwarding path detection method for two-layer network and switching equipment

Publications (2)

Publication Number Publication Date
CN102271065A CN102271065A (en) 2011-12-07
CN102271065B true CN102271065B (en) 2013-11-06

Family

ID=45053234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102283533A Expired - Fee Related CN102271065B (en) 2011-08-10 2011-08-10 Multicast forwarding path detection method for two-layer network and switching equipment

Country Status (1)

Country Link
CN (1) CN102271065B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243323B (en) * 2013-06-06 2019-07-09 中兴通讯股份有限公司 Switching network multi-broadcast routing method and system
CN109981323B (en) * 2017-12-28 2022-04-05 华为技术有限公司 Method and network equipment for detecting multicast path state of data link layer
CN112737883B (en) * 2020-12-28 2022-07-29 咪咕音乐有限公司 Two-layer network data packet transmission method, device and network equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616094A (en) * 2009-08-10 2009-12-30 杭州华三通信技术有限公司 The acquisition methods of message forwarding path and equipment
CN101980473A (en) * 2010-10-09 2011-02-23 中兴通讯股份有限公司 Multicast path tracking method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616094A (en) * 2009-08-10 2009-12-30 杭州华三通信技术有限公司 The acquisition methods of message forwarding path and equipment
CN101980473A (en) * 2010-10-09 2011-02-23 中兴通讯股份有限公司 Multicast path tracking method and system

Also Published As

Publication number Publication date
CN102271065A (en) 2011-12-07

Similar Documents

Publication Publication Date Title
US20190357043A1 (en) Bluetooth mesh network provisioning authentication
CN103547342A (en) Information sending method, information reading and notifying method, information receiving method and device
RU2011153965A (en) ENHANCED COMMISSIONING OF WIRELESS NETWORK SYSTEMS
KR20150022722A (en) Communications device utilizing a central discovery mechanism, and respective method
CN103118149A (en) Communication control method for servers of same lessee and network device
CN102271065B (en) Multicast forwarding path detection method for two-layer network and switching equipment
CN103414589A (en) Method and device for managing resource information
CN105677506A (en) Disk array backup method, electronic equipment and disk arrays
CN105704256B (en) A kind of IP address management methods, devices and systems
CN105636161A (en) Wireless network access method and device, communication terminal and wireless network access point
CN102208945A (en) Method for obtaining network address and FCoE target and communication system
CN102394825B (en) Method and device for processing message
CN103503413A (en) Method and device for transmitting network information
CN105812221A (en) Data transmission device and method in virtual extensible local area network
CN104461978A (en) Single-way data transmission method and device
CN103401936A (en) Processing method and device for interface sharing
CN103581240A (en) Application program downloading method, user equipment and application server
CN102682713B (en) Method for information display and mobile terminal, electronic ink display equipment
CN102761425B (en) Charging method and device
CN104333615A (en) Method and device for tracing address source
CN102281171B (en) Loop detection method and equipment for two-layer network
CN102907052A (en) Topological information processing method and equipment
CN102315989A (en) Method for detecting multi-section pseudowire (MS-PW) and equipment and system
CN101720084A (en) Method for processing terminal data, terminal and system
CN103347102B (en) The recognition methods of conflict address detected message and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131106

Termination date: 20180810

CF01 Termination of patent right due to non-payment of annual fee