CN108234358A - A kind of multicast message transmission method, device and machine readable storage medium - Google Patents

A kind of multicast message transmission method, device and machine readable storage medium Download PDF

Info

Publication number
CN108234358A
CN108234358A CN201711471523.4A CN201711471523A CN108234358A CN 108234358 A CN108234358 A CN 108234358A CN 201711471523 A CN201711471523 A CN 201711471523A CN 108234358 A CN108234358 A CN 108234358A
Authority
CN
China
Prior art keywords
bras
main
standby
message
mark
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.)
Granted
Application number
CN201711471523.4A
Other languages
Chinese (zh)
Other versions
CN108234358B (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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201711471523.4A priority Critical patent/CN108234358B/en
Publication of CN108234358A publication Critical patent/CN108234358A/en
Application granted granted Critical
Publication of CN108234358B publication Critical patent/CN108234358B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/806Broadcast or multicast traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The disclosure provides a kind of multicast message transmission method, device and machine readable storage medium, this method and includes:Igmp querying message is sent to the convergence-level equipment being connect with standby BRAS, so that the convergence-level equipment sends IGMP report messages according to the igmp querying message to the standby BRAS;After IGMP report messages are received, multicast list is established according to the IGMP report messages;If main BRAS does not break down, refusal passes through the multicast list forwarding multicasting message;If main BRAS breaks down, pass through the multicast list forwarding multicasting message.By the technical solution of the disclosure, after main BRAS failures, standby BRAS does not have to re-establish multicast list, can direct forwarding multicasting message, avoid the Transmission of multicast message, improve user's impression, multicast service can fast quick-recovery after active-standby switch.

Description

A kind of multicast message transmission method, device and machine readable storage medium
Technical field
This disclosure relates to field of communication technology, it can more particularly, to a kind of multicast message transmission method, device and machine Read storage medium.
Background technology
BRAS (Broadband Remote Access Server, Broadband Remote Access Server) is towards broadband network The access gateway of application, positioned at the marginal layer of backbone network, it is main complete network carrying function and control realize function (such as certification, Charging and management).In order to improve the reliability of BRAS, generally use dual-host backup network disposes two BRAS, a BRAS For main BRAS, another BRAS is standby BRAS.
Invention content
The disclosure provides a kind of multicast message transmission method, applied to BRAS, the method includes:
When the BRAS is standby BRAS, igmp querying message is sent to the convergence-level equipment being connect with the standby BRAS, So that the convergence-level equipment sends IGMP report messages according to the igmp querying message to the standby BRAS;
After IGMP report messages are received, multicast list is established according to the IGMP report messages;
If main BRAS does not break down, refusal passes through the multicast list forwarding multicasting message;
If main BRAS breaks down, pass through the multicast list forwarding multicasting message.
The disclosure provides a kind of multicast message transmitting device, and applied to BRAS, described device includes:Sending module, foundation Module, processing module, when the BRAS is standby BRAS:
The sending module, for sending igmp querying message to the convergence-level equipment being connect with standby BRAS, so that convergence Layer equipment sends IGMP report messages according to the igmp querying message to standby BRAS;
It is described to establish module, for after IGMP report messages are received, multicast to be established according to the IGMP report messages List item;
The processing module, for when main BRAS does not break down, then refusal to pass through the multicast list forwarding multicasting Message;When main BRAS breaks down, then pass through the multicast list forwarding multicasting message.
The disclosure provides a kind of electronic equipment, including:Processor and machine readable storage medium, the machine readable storage Media storage has the machine-executable instruction that can be performed by the processor;The processor can be held for performing the machine Row instruction, to realize above-mentioned method and step.
The disclosure provides a kind of machine readable storage medium, and the machine readable storage medium is stored with machine and can perform finger It enables, for the machine-executable instruction when being called and being performed by processor, the machine-executable instruction promotes the processor Realize above-mentioned method and step.
Based on above-mentioned technical proposal, in the embodiment of the present disclosure, standby BRAS pre-establishes multicast list, if main BRAS does not occur Failure is then refused through multicast list forwarding multicasting message, and main BRAS and standby BRAS is avoided to send multicast message, leads to host Receive two parts of identical multicast messages.If main BRAS breaks down, by multicast list forwarding multicasting message, due to master Multicast list is established before BRAS failures, therefore after main BRAS failures, it, can direct forwarding group without re-establishing multicast list Text is reported, avoids the Transmission of multicast message, improves user's impression, multicast service can fast quick-recovery after active-standby switch.
Description of the drawings
It, below will be to the disclosure in order to clearly illustrate the embodiment of the present disclosure or technical solution of the prior art Embodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in being described below Attached drawing is only some embodiments described in the disclosure, for those of ordinary skill in the art, can also be according to this Shen Please these attached drawings of embodiment obtain other attached drawings.
Fig. 1 is the application scenarios schematic diagram in a kind of embodiment of the disclosure;
Fig. 2 is the flow chart of the multicast message transmission method in a kind of embodiment of the disclosure;
Fig. 3 is the structure chart of the multicast message transmitting device in a kind of embodiment of the disclosure;
Fig. 4 is the hardware structure diagram of the standby BRAS in a kind of embodiment of the disclosure.
Specific embodiment
In the term that the embodiment of the present disclosure uses merely for the sake of the purpose of description specific embodiment, and unrestricted public affairs It opens." one kind " of singulative used in the disclosure and claims, " described " and "the" are also intended to including most shapes Formula, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to comprising one A or multiple associated list items purposes any or all may combine.
It will be appreciated that though various letters may be described using term first, second, third, etc. in the embodiment of the present disclosure Breath, but these information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, Without departing from the scope of this disclosure, the first information can also be referred to as the second information, and similarly, the second information can also It is referred to as the first information.Depending on linguistic context, in addition, used word " if " can be construed to " ... when " or " when ... " or " in response to determining ".
When main BRAS does not break down, convergence-level equipment is in IGMP (the Internet Group for receiving host transmission Management Protocol, Internet igmpinternet) after report message, IGMP report messages are sent to main BRAS, Without IGMP report messages are sent to standby BRAS, main BRAS establishes the multicast list of host according to IGMP report messages, and Multicast message is sent to host using multicast list.
But when main BRAS breaks down, convergence-level equipment needs that IGMP report messages are sent to standby BRAS again, And standby BRAS establishes the multicast list of host according to IGMP report messages, and multicast message is sent to master using multicast list Machine.Moreover, before standby BRAS establishes multicast list, multicast message can not be sent to host by standby BRAS, lead to multicast message Transmission interrupt, influence user impression.
For above-mentioned discovery, a kind of multicast message transmission method is proposed in the embodiment of the present disclosure, this method can be applied to Dual-host backup network in dual-host backup network, can dispose two or more BRAS, and a BRAS is main BRAS, And other BRAS except main BRAS are standby BRAS.
It is shown in Figure 1, be the embodiment of the present disclosure application scenarios schematic diagram, in Fig. 1, be by taking two BRAS as an example into Row explanation, in practical applications, the quantity of BRAS can also be more.
In Fig. 1, host can be any type of equipment, as IPTV (Internet Protocol Television, Internet protocol television) equipment, PC (Personal Computer, personal computer), terminal device, it is without limitation.It connects Enter the arbitrary equipment that layer equipment can be access layer, such as access-layer switch is without limitation.Convergence-level equipment can be converged The arbitrary equipment of poly layer such as converges layer switch, without limitation.Core layer equipment can be the arbitrary equipment of core layer, It is without limitation such as core layer router.
It is shown in Figure 1, it is main BRAS there are one BRAS in above-mentioned two BRAS, another BRAS is standby BRAS, with BRAS101 is main BRAS, and BRAS102 is illustrated for being standby BRAS, in the follow-up process, main BRAS and standby is discussed in detail The selection mode of BRAS, details are not described herein again.
In one example, main BRAS is elected as igmp querying device, and standby BRAS will not be elected as igmp querying device, have Body election process repeats no more.Based on the operation principle of igmp querying device, it is elected as the main BRAS, Ke Yifa of igmp querying device Send igmp querying message.Port 1111 is set as by convergence-level equipment 111 after igmp querying message is received by port 1111 Router port.Due to not receiving igmp querying message by port 1112, port 1112 will not be set as router Port.
In order to add in multicast group G, each host can send IGMP report messages (such as IGMP membership reports message), should IGMP report messages can carry multicast group G, represent that host belongs to multicast group G.
Access layer equipment 121 is sent to convergence-level equipment after IGMP report messages are received, by IGMP report messages 111.Convergence-level equipment 111 is after IGMP report messages are received, and from local search to router port, that is, inquires port 1111, and pass through the port 1111 inquired and send IGMP report messages.
Main BRAS can establish group after IGMP report messages are received by port 1011 according to the IGMP report messages List item is broadcast, if multicast list can include multicast group G and the correspondence of port 1011, based on the multicast list, for group The multicast message of group G is broadcast, can be forwarded by port 1011.
If main BRAS breaks down, new igmp querying device is elected as BRAS, specific election process is no longer superfluous It states.Based on the operation principle of igmp querying device, the standby BRAS of igmp querying device is elected as, igmp querying message can be sent. Port 1112 can be set as router side by convergence-level equipment 111 after igmp querying message is received by port 1112 Mouthful.In addition, convergence-level equipment 111 after IGMP report messages are received, can also pass through router port (the i.e. port 1112) IGMP report messages are sent.Standby BRAS is reported after IGMP report messages are received by port 1021 according to the IGMP Message establishes multicast list, if multicast list includes the correspondence of multicast group G and port 1021, based on the multicast list, For the multicast message of multicast group G, can be forwarded by port 1021.
Obviously, before standby BRAS establishes multicast list, multicast message can not be sent to host by standby BRAS, lead to multicast The transmission of message is interrupted, and influences user's impression.That is, in dual-host backup network, when main BRAS and standby BRAS are sent out During raw switching, there are the problems such as prolonged flow interrupt.
It is shown in Figure 2 for above-mentioned discovery, it, can for the flow chart for the multicast message transmission method that the present embodiment proposes To be applied to BRAS, when BRAS is standby BRAS, this method can include:
Step 201, igmp querying message is sent to the convergence-level equipment being connect with standby BRAS, so that the convergence-level equipment root According to the igmp querying message IGMP report messages are sent to standby BRAS.
In one example, no matter whether main BRAS breaks down, itself can be determined as igmp querying by standby BRAS Device, and pass through the igmp querying device and send igmp querying message to the convergence-level equipment being connect with standby BRAS.In this way, convergence-level is set For after igmp querying message is received, the receiving port of the igmp querying message can be set as router port.Moreover, Convergence-level equipment can send IGMP report reports by the router port after IGMP report messages are received to standby BRAS Text.
Wherein, itself can be determined as IGMP and looks by each BRAS (such as main BRAS and standby BRAS) of dual-host backup network Device is ask, that is, multiple igmp querying devices is allowed to exist simultaneously.In this way, the operation principle based on igmp querying device, main BRAS and standby BRAS can send igmp querying message.
In order to which each BRAS for making dual-host backup network itself will be determined as igmp querying device, following manner reality may be used It is existing:Each BRAS for dual-host backup network issues the first configuration, this first is configured to that each BRAS is made to elect itself For igmp querying device, in this way, it is igmp querying device that main BRAS, which can elect itself according to the first configuration, standby BRAS can basis Itself election is igmp querying device by the first configuration.Alternatively, each BRAS for dual-host backup network issues the second configuration, this Two are configured to the election for making each BRAS without igmp querying device, in this way, main BRAS can be based on second configuration without The election of igmp querying device, main BRAS automatically become igmp querying device, and standby BRAS can also be based on the second configuration without IGMP The election of requestor, standby BRAS automatically become igmp querying device.
Shown in Figure 1, main BRAS and standby BRAS are igmp querying device, main based on the operation principle of igmp querying device BRAS can send igmp querying message, and such as periodicity sending igmp querying message, standby BRAS can also send igmp querying report Text, such as periodicity sending igmp querying message.
Convergence-level equipment 111 can will be held after the igmp querying message that main BRAS is sent is received by port 1111 Mouth 1111 is set as router port.Convergence-level equipment 111 is in the igmp querying that standby BRAS transmissions are received by port 1112 After message, port 1112 can be set as router port.
Further, in order to add in multicast group G, each host (such as host 141, host 142, host 143) can be sent out IGMP report messages (such as IGMP membership reports message) are sent, which can carry multicast group G, and representing should Host belongs to multicast group G.Access layer equipment 121 can send out the IGMP report messages after the IGMP report messages are received Give convergence-level equipment 111.
Convergence-level equipment 111 from local search to router port, that is, inquires after the IGMP report messages are received Port 1111 and port 1112, therefore, convergence-level equipment 111 can respectively be sent out by the port 1111 inquired and port 1112 Send IGMP report messages.That is, IGMP report messages can be sent to main BRAS by convergence-level equipment 111, and can incite somebody to action IGMP report messages are sent to standby BRAS.
Step 202, after IGMP report messages are received, multicast list is established according to IGMP report messages.
In one example, main BRAS can then be reported according to the IGMP and be reported after the IGMP report messages are received Text establishes multicast list, which is used to record the correspondence of multicast group and exit port.In addition, standby BRAS is being received After the IGMP report messages, can also multicast list be established according to the IGMP report messages, which is used for record group Broadcast the correspondence of group and exit port.
Shown in Figure 1, main BRAS is reported according to the IGMP and is reported after IGMP report messages are received by port 1011 Text establishes multicast list, if multicast list includes multicast group G and the correspondence of port 1011, based on the multicast list, needle To the multicast message of multicast group G, can be forwarded by port 1011.In addition, standby BRAS is received by port 1021 After IGMP report messages, multicast list is established according to the IGMP report messages, as multicast list includes multicast group G and port 1021 Correspondence, based on the multicast list, for the multicast message of multicast group G, can be forwarded by port 1021.
Step 203, after multicast message is received, if main BRAS does not break down, refusal is forwarded by the multicast list If main BRAS breaks down, the multicast message is forwarded by the multicast list for the multicast message.
Shown in Figure 1, if main BRAS does not break down, main BRAS can pass through master after multicast message is received The multicast list that BRAS is established sends the multicast message.For example, if multicast message corresponds to multicast group G, main BRAS can pass through Multicast group G inquires multicast list, obtains exit port corresponding with multicast group G, i.e. port 1011, therefore main BRAS passes through end Mouth 1011 sends the multicast message.
If main BRAS does not break down, for BRAS after multicast message is received, can refuse to establish by standby BRAS Multicast list send the multicast message, and can directly abandon the multicast message.
With continued reference to shown in Fig. 1, if main BRAS breaks down, main BRAS can not be handled multicast message.It is and standby BRAS is after multicast message is received, since main BRAS has occurred and that failure, the multicast table that can be established by standby BRAS Item sends the multicast message.For example, if multicast message corresponds to multicast group G, can multicast table be inquired by multicast group G for BRAS , exit port corresponding with multicast group G, i.e. port 1021 are obtained, therefore, standby BRAS sends the multicast report by port 1021 Text.
In one example, if standby BRAS knows that main BRAS does not break down, self-role will not be switched for BRAS, i.e., Standby BRAS is still standby BRAS, and therefore, for standby BRAS after multicast message is received, refusal sends the multicast message, but directly Abandon the multicast message.In addition, if standby BRAS knows that main BRAS breaks down, self-role can be switched for BRAS, i.e., it is standby BRAS is switched to new main BRAS, and original main BRAS is switched to new standby BRAS, and therefore, standby BRAS (has currently been switched to Main BRAS) after multicast message is received, the multicast message can be sent according to multicast list.
With continued reference to shown in Fig. 1, if host 141, host 142 and host 143 add in multicast group G,:
In one example, main BRAS/ can replicate 3 parts of multicast messages, claim respectively for BRAS when sending multicast message For multicast message 1, multicast message 2 and multicast message 3;Then, main BRAS/ sends the multicast message for host 141 for BRAS 1st, for the multicast message 2 of host 142, the multicast message 3 for host 143.Convergence-level equipment 111 is receiving multicast message 1st, after multicast message 2 and multicast message 3, multicast message 1, multicast message 2 and multicast message 3 are sent to access layer equipment 121.Access layer equipment 121 is sent to master after multicast message 1, multicast message 2 and multicast message 3 is received, by multicast message 1 Machine 141, host 142 is sent to by multicast message 2, and multicast message 3 is sent to host 143.
In another example, main BRAS/, when sending multicast message, can only send a multicast message for BRAS, For example, M-VLAN (Virtual Local Area Network, virtual LAN) is encapsulated for multicast message, it is then, main BRAS/ sends the multicast message for carrying M-VLAN for BRAS.Convergence-level equipment 111 is after multicast message is received, by the group It reports text and is sent to access layer equipment 121.Access layer equipment 121 is after multicast message is received, since the multicast message encapsulates There is M-VLAN, therefore, multicast message can be sent to the corresponding host 141 of the M-VLAN, host 142 and host 143.
Based on above-mentioned technical proposal, in the embodiment of the present disclosure, standby BRAS pre-establishes multicast list, if main BRAS does not occur Failure is then refused through multicast list forwarding multicasting message, and main BRAS and standby BRAS is avoided to send multicast message, leads to host Receive two parts of identical multicast messages.If main BRAS breaks down, by multicast list forwarding multicasting message, due to master Multicast list is established before BRAS failures, therefore after main BRAS failures, it, can direct forwarding group without re-establishing multicast list Text is reported, avoids the Transmission of multicast message, user is improved and experiences, multicast service after active-standby switch under realization two-node networking Fast quick-recovery.
In the above-described embodiments, for each BRAS (such as BRAS101 and BRAS102), it can first know that itself is Main BRAS or standby BRAS, in Fig. 1, BRAS101 are main BRAS, and BRAS102 is standby BRAS.In order to realize this process, In one example, configuration order can be sent to BRAS, which is used to indicate BRAS as main BRAS or standby BRAS.Example Such as, configuration order 1 can be sent to BRAS101, which is used to indicate BRAS101 as main BRAS, in this way, BRAS101 Itself can be determined as main BRAS.Configuration order 2 can be sent to BRAS102, which is used to indicate BRAS102 For standby BRAS, in this way, itself can be determined as standby BRAS by BRAS102.
In another example, BRAS can obtain the mark of other BRAS from the igmp querying message that other BRAS are sent Know, and this BRAS can be determined for main BRAS or standby BRAS according to the mark of this BRAS and the mark of other BRAS.Further , BRAS determines that this BRAS for main BRAS or standby BRAS, can include according to the mark of this BRAS and the mark of other BRAS But it is not limited to:
If mode one, the mark of this BRAS are minimum marks, it is main BRAS that can determine this BRAS;If this BRAS's Mark is not minimum mark, then it is standby BRAS that can determine this BRAS.
If mode two, the mark of this BRAS are the largest mark, it is main BRAS that can determine this BRAS;If this BRAS's Mark is not the largest mark, then it is standby BRAS that can determine this BRAS.
Wherein, above-mentioned mark can include but is not limited to:IP address;Alternatively, (Media Access Control's MAC are situated between Matter access control) address.In the follow-up process, it is illustrated by taking IP address as an example.
Shown in Figure 1, BRAS101 can send igmp querying message, and convergence-level equipment 111 is receiving igmp querying After message, which is sent to BRAS102.BRAS102 is after igmp querying message is received, from igmp querying The IP address of BRAS101 is parsed in message.Then, BRAS102 compares the IP address of itself and the IP address of BRAS101, with For aforesaid way one, if the IP address of BRAS102 is more than the IP address of BRAS101, it is determined that BRAS102 is standby BRAS.
Shown in Figure 1, BRAS102 can send igmp querying message, and convergence-level equipment 111 is receiving igmp querying After message, which is sent to BRAS101.BRAS101 is after igmp querying message is received, from igmp querying The IP address of BRAS102 is parsed in message.Then, BRAS101 compares the IP address of itself and the IP address of BRAS102, with For aforesaid way one, if the IP address of BRAS102 is more than the IP address of BRAS101, it is determined that BRAS101 is main BRAS.
So far, BRAS102 determines itself to be standby BRAS, and BRAS101 determines itself to be main BRAS.
In the above-described embodiments, standby BRAS can also know whether main BRAS breaks down, if main BRAS does not break down, Refusal, if main BRAS breaks down, passes through multicast list forwarding multicasting message by multicast list forwarding multicasting message.For master What whether BRAS broke down knows mode, including:
Situation one, standby BRAS can be according to foundation and the associated BFD of IGMP (Bidirectional Forwarding Detection, two-way converting detection) session detects whether main BRAS breaks down, that is, detect main BRAS break down or It does not break down.Wherein, BFD sessions are standby BFD sessions between BRAS and main BRAS.For example, it may be main BRAS is standby The BFD sessions established between BRAS and main BRAS or standby BRAS is in the standby BFD meetings established between BRAS and main BRAS Words.
Wherein, BFD can be two-way converting testing mechanism, can realize the quick detection of failure, and BFD can be with upper strata Agreement (such as upper-layer protocol can be IGMP) links.Specifically, a BFD can be established between BRAS and main BRAS standby Session such as establishes a BFD session, to this BFD session establishments process not standby between BRAS, convergence-level equipment 111, main BRAS It is limited.Then, progress BFD detections between the standby BRAS of BFD sessions and main BRAS are being established, this detection process is not being limited System.
Wherein, standby BRAS can include being used to implement the BFD modules of BFD functions, being used to implement the IGMP moulds of multicast functionality Block if BFD modules detect that main BRAS breaks down, notifies IGMP modules, and IGMP modules are perceiving main BRAS generations During failure, multicast list forwarding multicasting message can be passed through.If BFD modules detect that main BRAS does not break down, notify IGMP modules, IGMP modules can be refused when perceiving main BRAS and not breaking down through multicast list forwarding multicasting message.
Since upper-layer protocol is IGMP, BFD sessions are known as the associated BFD sessions of IGMP.
It is specific that situation two, main BRAS send carrying after the network-side port for perceiving itself breaks down, to standby BRAS The igmp querying message of mark.If standby BRAS receives the igmp querying message that main BRAS is sent, and igmp querying message carries There is specific identifier, it is determined that main BRAS breaks down.
Shown in Figure 1, main BRAS breaks down (such as port DOWN) perceiving network-side port (such as port 1012) Afterwards, igmp querying message can be sent by port 1011, which carries Max Resp Time (peak responses Time) field, and the value of Max Resp Time fields is specific identifier (such as full F).Standby BRAS is receiving main BRAS transmissions Igmp querying message after, due to the igmp querying message carry specific identifier, hence, it can be determined that main BRAS breaks down.
Wherein, the network-side port of main BRAS can be the uplink port of main BRAS, i.e., connect with core layer equipment 131 Port.
Wherein, main BRAS is after perceiving network-side port and breaking down, then it represents that main BRAS can not receive core layer Therefore the multicast message that equipment 131 is sent, can send igmp querying message, which takes by port 1011 Band specific identifier.In this way, standby BRAS can determine that main BRAS breaks down, standby BRAS upgrades to new main BRAS, and pass through group Broadcast list item forwarding multicasting message.
Based on similarly conceiving with the above method, the embodiment of the present disclosure also proposes a kind of multicast message transmitting device, can be with Applied to BRAS, as shown in figure 3, the structure chart for described device, described device can include sending module 301, establish module 302nd, processing module 303, when the BRAS is standby BRAS:
The sending module 301, for sending igmp querying message to the convergence-level equipment being connect with standby BRAS, so as to converge Poly layer equipment sends IGMP report messages according to the igmp querying message to standby BRAS;
It is described to establish module 302, for after IGMP report messages are received, group to be established according to the IGMP report messages Broadcast list item;
The processing module 303, for when main BRAS does not break down, then refusal to pass through the multicast list forwarding group Report text;When main BRAS breaks down, then pass through the multicast list forwarding multicasting message.
The processing module 303 is additionally operable to detect whether main BRAS occurs according to foundation BFD sessions associated with IGMP Failure;Wherein, the BFD sessions are the BFD sessions between the standby BRAS and main BRAS.
In one example, the multicast message transmitting device further includes (not depending on going out in Fig. 3):Determining module, for from The mark of other BRAS is obtained in the igmp querying message that other BRAS are sent;According to the mark of this BRAS and the mark of other BRAS Know, determine this BRAS for main BRAS or standby BRAS;
Wherein, according to the mark of this BRAS and the mark of other BRAS, determine this BRAS for main BRAS or standby BRAS When, if the mark of this BRAS is minimum mark, it is main BRAS to determine this BRAS;If the mark of this BRAS is not minimum mark Know, it is standby BRAS to determine this BRAS;Or, if the mark of this BRAS is the largest mark, determines this BRAS for main BRAS;If this The mark of BRAS is not the largest mark, and it is standby BRAS to determine this BRAS;
Wherein, the mark is specially:IP address;Alternatively, MAC Address.
The processing module 303 is additionally operable in the igmp querying message for receiving the main BRAS transmissions, and the IGMP Query message carries specific identifier, it is determined that the main BRAS breaks down;The igmp querying message is that the main BRAS exists Perceive what is sent after the network-side port of itself breaks down.
When the BRAS is main BRAS, the sending module 301, in the network-side port hair for perceiving main BRAS After raw failure, the igmp querying message for carrying specific identifier is sent to the standby BRAS, so that standby BRAS is looked into according to the IGMP The specific identifier for asking message determines that the main BRAS breaks down.
A kind of electronic equipment (i.e. above-mentioned standby BRAS), for hardware view, hardware structure are provided in the embodiment of the present disclosure Schematic diagram may refer to shown in Fig. 4.Including:Machine readable storage medium and processor, wherein:
Machine readable storage medium:Store the machine-executable instruction that can be performed by the processor.
Processor:It communicates, is stored in reading and execution machine readable storage medium described with machine readable storage medium Machine-executable instruction realizes multicast message transmission operation disclosed in disclosure above-mentioned example.
Here, machine readable storage medium can be any electronics, magnetism, optics or other physical storage devices, can be with Comprising or storage information, such as executable instruction, data, etc..For example, machine readable storage medium can be:RAM(Radom Access Memory, random access memory), volatile memory, nonvolatile memory, flash memory, memory driver is (as hard Disk drive), solid state disk, any kind of storage dish (such as CD, dvd) either similar storage medium or they Combination.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by having the function of certain product.A kind of typical realization equipment is computer, and the concrete form of computer can To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment The combination of arbitrary several equipment.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit is realized can in the same or multiple software and or hardware when open.
It should be understood by those skilled in the art that, embodiment of the disclosure can be provided as method, system or computer program Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the disclosure Apply the form of example.Moreover, the embodiment of the present disclosure can be used wherein includes computer usable program code in one or more The computer that computer-usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of program product.
The disclosure is with reference to the flow according to the method for the embodiment of the present disclosure, equipment (system) and computer program product Figure and/or block diagram describe.It is generally understood that it is realized by computer program instructions each in flowchart and/or the block diagram The combination of flow and/or box in flow and/or box and flowchart and/or the block diagram.These computer journeys can be provided Sequence instruct to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor with Generate a machine so that the instruction generation performed by computer or the processor of other programmable data processing devices is used for Realize the dress of function specified in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes It puts.
Computer or other programmable datas can be guided to handle and set moreover, these computer program instructions can also be stored in In the standby computer-readable memory to work in a specific way so that the instruction being stored in the computer-readable memory generates Manufacture including command device, the command device are realized in one flow of flow chart or multiple flows and/or block diagram one The function of being specified in a box or multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer Or the instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram The step of function of being specified in one box or multiple boxes.
The foregoing is merely embodiment of the disclosure, are not limited to the disclosure.For those skilled in the art For, the disclosure can have various modifications and variations.All any modifications made within the spirit and principle of the disclosure are equal Replace, improve etc., it should be included within the right of the disclosure.

Claims (13)

1. a kind of multicast message transmission method, which is characterized in that applied to BRAS, the method includes:
When the BRAS is standby BRAS, igmp querying message is sent to the convergence-level equipment being connect with the standby BRAS, so that The convergence-level equipment sends IGMP report messages according to the igmp querying message to the standby BRAS;
After IGMP report messages are received, multicast list is established according to the IGMP report messages;
If main BRAS does not break down, refusal passes through the multicast list forwarding multicasting message;
If main BRAS breaks down, pass through the multicast list forwarding multicasting message.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
Detect whether main BRAS breaks down according to foundation BFD sessions associated with IGMP;
Wherein, the BFD sessions are the BFD sessions between the standby BRAS and main BRAS.
3. according to the method described in claim 1, it is characterized in that, the method further includes:
The mark of other BRAS is obtained in the igmp querying message sent from other BRAS;According to the mark of this BRAS and other The mark of BRAS determines this BRAS for main BRAS or standby BRAS.
It is 4. according to the method described in claim 3, it is characterized in that, described according to the mark of this BRAS and the mark of other BRAS Know, determine this BRAS as main BRAS or standby BRAS, including:
If the mark of this BRAS is minimum mark, it is main BRAS to determine this BRAS;If the mark of this BRAS is not minimum mark Know, it is standby BRAS to determine this BRAS;Alternatively,
If the mark of this BRAS is the largest mark, it is main BRAS to determine this BRAS;If the mark of this BRAS is not the largest mark Know, it is standby BRAS to determine this BRAS;
Wherein, the mark is specially:IP address;Alternatively, MAC Address.
5. according to the method described in claim 1, it is characterized in that, the method further includes:
If the igmp querying message that the main BRAS is sent is received, and the igmp querying message carries specific identifier, then really The fixed main BRAS breaks down;Wherein, the igmp querying message is the main BRAS in the network side for perceiving itself What mouth was sent after breaking down.
6. according to the method described in claim 1, it is characterized in that, the method further includes:
When the BRAS is main BRAS, after the network-side port for perceiving itself breaks down, sent to the standby BRAS The igmp querying message of specific identifier is carried, so that standby BRAS determines the master according to the specific identifier of the igmp querying message BRAS breaks down.
7. a kind of multicast message transmitting device, which is characterized in that applied to BRAS, described device includes:Sending module establishes mould Block, processing module, when the BRAS is standby BRAS:
The sending module, for sending igmp querying message to the convergence-level equipment being connect with standby BRAS, so that convergence-level is set It is standby that IGMP report messages are sent to standby BRAS according to the igmp querying message;
It is described to establish module, for after IGMP report messages are received, multicast list to be established according to the IGMP report messages;
The processing module, for when main BRAS does not break down, then refusal to pass through the multicast list forwarding multicasting message; When main BRAS breaks down, then pass through the multicast list forwarding multicasting message.
8. device according to claim 7, which is characterized in that the processing module is additionally operable to according to foundation and IGMP Associated BFD sessions detect whether main BRAS breaks down;Wherein, the BFD sessions are the standby BRAS and main BRAS Between BFD sessions.
9. device according to claim 7, which is characterized in that further include:Determining module, for what is sent from other BRAS The mark of other BRAS is obtained in igmp querying message;According to the mark of this BRAS and the mark of other BRAS, this BRAS is determined For main BRAS or standby BRAS;
Wherein, according to the mark of this BRAS and the mark of other BRAS, when determining this BRAS as main BRAS or standby BRAS, if The mark of this BRAS is minimum mark, and it is main BRAS to determine this BRAS;If the mark of this BRAS is not minimum mark, determine This BRAS is standby BRAS;Or, if the mark of this BRAS is the largest mark, determines this BRAS for main BRAS;If the mark of this BRAS Knowledge is not the largest mark, and it is standby BRAS to determine this BRAS;
Wherein, the mark is specially:IP address;Alternatively, MAC Address.
10. device according to claim 7, which is characterized in that
The processing module is additionally operable in the igmp querying message for receiving the main BRAS transmissions, and the igmp querying report Text carries specific identifier, it is determined that the main BRAS breaks down;The igmp querying message is that the main BRAS is being perceived What the network-side port of itself was sent after breaking down.
11. device according to claim 7, which is characterized in that when the BRAS is main BRAS, the sending module, After breaking down in the network-side port for perceiving main BRAS, the IGMP that carrying specific identifier is sent to the standby BRAS is looked into Message is ask, so that standby BRAS determines that the main BRAS breaks down according to the specific identifier of the igmp querying message.
12. a kind of electronic equipment, which is characterized in that including:Processor and machine readable storage medium, the machine readable storage Media storage has the machine-executable instruction that can be executed by processor;The processor can perform finger for performing the machine It enables, to realize any method and steps of claim 1-6.
13. a kind of machine readable storage medium, which is characterized in that the machine readable storage medium is stored with machine and can perform finger It enables, for the machine-executable instruction when being called and being performed by processor, the machine-executable instruction promotes the processor Realize any method and steps of claim 1-6.
CN201711471523.4A 2017-12-29 2017-12-29 Multicast message transmission method, device and machine readable storage medium Active CN108234358B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711471523.4A CN108234358B (en) 2017-12-29 2017-12-29 Multicast message transmission method, device and machine readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711471523.4A CN108234358B (en) 2017-12-29 2017-12-29 Multicast message transmission method, device and machine readable storage medium

Publications (2)

Publication Number Publication Date
CN108234358A true CN108234358A (en) 2018-06-29
CN108234358B CN108234358B (en) 2021-09-21

Family

ID=62646804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711471523.4A Active CN108234358B (en) 2017-12-29 2017-12-29 Multicast message transmission method, device and machine readable storage medium

Country Status (1)

Country Link
CN (1) CN108234358B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822097A (en) * 2019-11-15 2021-05-18 华为技术有限公司 Message forwarding method, first network device and first device group
CN114205405A (en) * 2021-10-31 2022-03-18 新华三技术有限公司合肥分公司 BFD message sending method, device, electronic equipment and storage medium
WO2023174339A1 (en) * 2022-03-18 2023-09-21 华为技术有限公司 Multicast service sending method, apparatus, system and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070127459A1 (en) * 2005-12-03 2007-06-07 Hon Hai Precision Industry Co., Ltd. Network apparatus and method for forwarding multicast packets for the same
US20070280283A1 (en) * 2006-05-31 2007-12-06 Alcatel IGMP (Internet Group Management Protocol) connectivity verification
CN101286862A (en) * 2007-04-09 2008-10-15 中兴通讯股份有限公司 Method for synchronizing and switching multicast service between main and standby in access device
CN101374075A (en) * 2008-06-30 2009-02-25 华为技术有限公司 Method, apparatus and system for protecting multicast source
CN101594288A (en) * 2008-05-28 2009-12-02 华为技术有限公司 Query facility selecting method, router and network system
CN102480479A (en) * 2010-11-30 2012-05-30 中兴通讯股份有限公司 Business processing method and system
CN104253707A (en) * 2013-06-28 2014-12-31 上海斐讯数据通信技术有限公司 Master disk and standby disk multicast service synchronizing method
CN105637805A (en) * 2013-05-02 2016-06-01 瑞典爱立信有限公司 Enhancing a mobile backup channel to address a node failure in a wireline network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070127459A1 (en) * 2005-12-03 2007-06-07 Hon Hai Precision Industry Co., Ltd. Network apparatus and method for forwarding multicast packets for the same
US20070280283A1 (en) * 2006-05-31 2007-12-06 Alcatel IGMP (Internet Group Management Protocol) connectivity verification
CN101286862A (en) * 2007-04-09 2008-10-15 中兴通讯股份有限公司 Method for synchronizing and switching multicast service between main and standby in access device
CN101594288A (en) * 2008-05-28 2009-12-02 华为技术有限公司 Query facility selecting method, router and network system
CN101374075A (en) * 2008-06-30 2009-02-25 华为技术有限公司 Method, apparatus and system for protecting multicast source
CN102480479A (en) * 2010-11-30 2012-05-30 中兴通讯股份有限公司 Business processing method and system
CN105637805A (en) * 2013-05-02 2016-06-01 瑞典爱立信有限公司 Enhancing a mobile backup channel to address a node failure in a wireline network
CN104253707A (en) * 2013-06-28 2014-12-31 上海斐讯数据通信技术有限公司 Master disk and standby disk multicast service synchronizing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822097A (en) * 2019-11-15 2021-05-18 华为技术有限公司 Message forwarding method, first network device and first device group
CN114205405A (en) * 2021-10-31 2022-03-18 新华三技术有限公司合肥分公司 BFD message sending method, device, electronic equipment and storage medium
CN114205405B (en) * 2021-10-31 2023-11-07 新华三技术有限公司合肥分公司 BFD message sending method and device, electronic equipment and storage medium
WO2023174339A1 (en) * 2022-03-18 2023-09-21 华为技术有限公司 Multicast service sending method, apparatus, system and storage medium

Also Published As

Publication number Publication date
CN108234358B (en) 2021-09-21

Similar Documents

Publication Publication Date Title
EP3499815A1 (en) Packet transmission
WO2019101020A1 (en) Multi-terminal collaborative working method, terminal device and multi-terminal collaborative system
CN105939365B (en) Master control borad User space obtains the method and device of data from business intralaminar nuclei state
KR101999780B1 (en) Server, device and method for providing instant messeging service by using virtual chatbot
CN104468368B (en) Configure the method and device of bgp neighbor
EP2457349B1 (en) Method and device for a light host management protocol on multicast capable router
CN106357542B (en) The method and software defined network controller of multicast service are provided
CN103634312A (en) Device management method for realizing multi-audio fast synchrony based on audio sharing
US9736242B2 (en) Fibre channel switch system
CN108234358A (en) A kind of multicast message transmission method, device and machine readable storage medium
CN109194525A (en) A kind of network node configuration method and management node
CN106254281A (en) A kind of message processing method based on 802.1BR and device
WO2017015839A1 (en) Sdn-based arp realization method and apparatus
US20160149806A1 (en) Software-defined network (sdn) system using host abstraction, and method for implementing the same
CN107547346A (en) A kind of message transmitting method and device
US11979247B2 (en) Message forwarding method and apparatus
CN109586958B (en) Configuration management method for dual-system device and dual-system device
EP3229413A1 (en) Cross-domain cooperative method, cooperative device and control device for network as a service business
CN114371912A (en) Virtual network management method of data center and data center system
US20040208195A1 (en) Apparatus and method for connecting separate networks
CN104821957B (en) A kind of implementation method of BFD state machines, apparatus and system
CN113207081A (en) Communication method, communication device, electronic equipment and medium
CN102884762A (en) Method, devices and system for controlling network paths
JP2020521388A (en) Packet transmission method and apparatus
CN106330783B (en) A kind of method and device of OpenFlow interchanger capability reporting

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant