CN106992878A - A kind of method and device of multicast detection - Google Patents
A kind of method and device of multicast detection Download PDFInfo
- Publication number
- CN106992878A CN106992878A CN201710147032.8A CN201710147032A CN106992878A CN 106992878 A CN106992878 A CN 106992878A CN 201710147032 A CN201710147032 A CN 201710147032A CN 106992878 A CN106992878 A CN 106992878A
- Authority
- CN
- China
- Prior art keywords
- bfd
- multicast group
- upstream device
- upstream
- authenticating value
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of method of multicast detection, and methods described is applied to the upstream equipment that multicast group is associated, and methods described includes:After multicast group foundation, BFD sessions are set up with upstream device;BFD detection messages are sent with multicast group address, so that any upstream device receives BFD detection messages of the opposite end authenticating value for a default unified authenticating value by multicast group;Within the default unified response time, the first feedback message as do not received each upstream device, then judge the multicast group failure, wherein, first feedback message is the feedback message of the BFD detection messages, and the local terminal authenticating value of the first feedback message is default unified authenticating value.The embodiment of the present invention realizes upstream equipment and sends BFD detection messages to above-mentioned upstream device by multicast group by introducing unified response time and unified authenticating value for upstream device.When carrying out multicast detection, when upstream device number is more, by reducing the BFD detection messages that upstream equipment is sent, upstream equipment CPU burden is alleviated.
Description
Technical field
The application is related to the method and device of communication technical field, more particularly to multicast detection.
Background technology
In network communications, multicasting technology refers to a kind of network service of the multiple recipients of single sender's correspondence.Should
With multicasting technology, by the way that a upstream equipment and multiple upstream devices are associated in into a multicast group, it is possible to achieve said one
Upstream equipment transmits single information flow to multiple upstream devices, it is possible to reduce same asset is listened to or checked to multiple upstream devices simultaneously
Network traffic during situation.Wherein, when the multicast group associated by upstream and downstream equipment breaks down, it is necessary to carry out in time
Detection, in case equipment carries out corresponding processing.
In the prior art, it will usually a BFD is set up between upstream equipment and each upstream device
(Bidirectional Forwarding Detection, two-way converting detection) session.Wherein, phase between each BFD session
Mutually independent, each BFD sessions are required for upstream equipment periodically individually to send BFD messages to safeguard its session status.It can be seen that, use
Existing multicast detection scheme, when upstream device number is more, upstream equipment CPU heavy load.
The content of the invention
The method and apparatus that the embodiment of the present invention provides multicast detection, for solving in existing multicast detection technology, instantly
Swim equipment number it is more when, the problem of upstream equipment CPU heavy loads.
There is provided a kind of method of multicast detection for first aspect according to embodiments of the present invention, it is characterised in that methods described
The upstream equipment associated applied to multicast group, the multicast group is also associated with least one upstream device, the upstream equipment and
Upstream device is each equipped with two-way converting detection BFD agreements, wherein, during the response that the upstream device is configured by BFD sessions
Between for a default unified response time, the authenticating value that the upstream device is configured by BFD messages is a default unified authenticating value,
Methods described includes:
After multicast group foundation, BFD sessions are set up with the upstream device;
BFD detection messages are sent as destination address with the multicast group address, so that any upstream device passes through
The multicast group receives the BFD detection messages, and the opposite end authenticating value of the BFD detection messages is the default unified discriminating
Value;
Within the default unified response time, if not receiving the first feedback report that each upstream device is sent
Text, then judge the multicast group failure, wherein, the first feedback message is the feedback message of the BFD detection messages, described
The local terminal authenticating value of first feedback message is the default unified authenticating value.
There is provided a kind of device of multicast detection for second aspect according to embodiments of the present invention, it is characterised in that described device
The upstream equipment associated applied to multicast group, the multicast group is also associated with least one upstream device, the upstream equipment and
Upstream device is each equipped with two-way converting detection BFD agreements, wherein, during the response that the upstream device is configured by BFD sessions
Between for a default unified response time, the authenticating value that the upstream device is configured by BFD messages is a default unified authenticating value,
Described device includes:
Unit is set up, for after multicast group foundation, BFD sessions to be set up with the upstream device;
Transmitting element, sends BFD detection messages, so that any downstream with the multicast group address as destination address
Equipment receives the BFD detection messages by the multicast group, and the opposite end authenticating value of the BFD detection messages is the default system
One authenticating value;
Identifying unit, within the default unified response time, each upstream device is sent first is not being received
When feeding back message, the multicast group failure is judged, wherein, the first feedback message is the feedback report of the BFD detection messages
Text, the local terminal authenticating value of the first feedback message is the default unified authenticating value.
From above technical scheme, the embodiment of the present invention passes through the BFD sessions for the upstream device associated by multicast group
Configuration unified response time, and BFD messages transmitted by above-mentioned upstream device configure unified authenticating value, realize
Equipment is swum by multicast group to send BFD detection messages to above-mentioned upstream device.BFD detection in, when upstream device number compared with
When many, the number of upstream equipment downstream equipment transmission BFD detection messages is greatly reduced, reduces when carrying out multicast detection
Upstream equipment CPU burden.
Brief description of the drawings
Fig. 1 is an application scenarios schematic diagram of the method for multicast detection of the embodiment of the present invention;
Fig. 2 is one embodiment flow chart of the method for multicast detection of the present invention;
Fig. 3 is another embodiment flow chart of the method for multicast detection of the present invention;
A kind of hardware structure diagram of Fig. 4 equipment where the device of multicast detection of the present invention;
Fig. 5 is one embodiment block diagram of the device of multicast detection of the present invention.
Embodiment
In order that those skilled in the art are better understood from the technical scheme in the embodiment of the present invention, and make of the invention real
Applying the above-mentioned purpose of example, feature and advantage can be more obvious understandable, below in conjunction with the accompanying drawings to the technology in the embodiment of the present invention
Scheme is described in further detail.
Fig. 1 is an application scenarios schematic diagram of the method for multicast detection of the embodiment of the present invention.
As shown in figure 1, the application scenarios include:1 upstream equipment and 100 upstream devices.Wherein, shown upstream is set
Standby and shown upstream device passes through multicasting technology while associated with a multicast group, it is possible to achieve shown 1 upstream equipment to
The shown single information flow of 100 upstream device transmission, to reduce network when same asset situation is listened to or checked to 100 upstream devices
Communication flows.Wherein, when the multicast group associated by shown upstream and downstream equipment breaks down, it is necessary to detected in time, with
Standby equipment carries out corresponding processing.
In the prior art, it will usually a BFD session is set up between shown upstream equipment and each upstream device.Its
In, separate between each BFD session, each BFD sessions are required for upstream equipment periodically individually to send BFD messages to safeguard
Its session status.It can be seen that, using existing multicast detection scheme, it is necessary to which upstream equipment is periodically individually set to shown 100 downstreams
It is standby to send BFD messages, upstream equipment CPU heavy load one by one.
The present invention provides following examples, to solve in existing multicast detection technology, when upstream device number is more,
The problem of upstream equipment CPU heavy loads.
Fig. 2 is one embodiment flow chart of the method for multicast detection of the present invention, and methods described is applied to multicast group association
Upstream equipment, the multicast group is also associated with least one upstream device, and the upstream equipment and upstream device are each equipped with
Two-way converting detects BFD agreements, wherein, the response time that the upstream device is configured by BFD sessions is a default unified sound
Between seasonable, the authenticating value that the upstream device is configured by BFD messages is a default unified authenticating value, and methods described includes following
Step:
Step 201:After multicast group foundation, BFD sessions are set up with the upstream device.
In an optional example, BFD session establishment messages can be sent as destination address with the multicast group address,
So that any above-mentioned upstream device receives above-mentioned BFD session establishments message by the multicast group, above-mentioned BFD session establishments message
Opposite end authenticating value is above-mentioned default unified authenticating value;
Second is received from each upstream device and feeds back message, sets up BFD sessions, wherein, above-mentioned second feedback message is institute
The feedback message of BFD session establishment messages is stated, the local terminal authenticating value of the second feedback message is above-mentioned default unified authenticating value.
Step 202:BFD detection messages are sent as destination address with the multicast group address, so that any downstream
Equipment receives the BFD detection messages by the multicast group, and the opposite end authenticating value of the BFD detection messages is the default system
One authenticating value.
In an optional example, after BFD detection messages are sent as destination address with above-mentioned multicast group address, such as
Really in the upstream device associated by the multicast group, there is any upstream device and do not set up BFD sessions with above-mentioned upstream equipment, then to
Any of the above-described upstream device individually sends above-mentioned BFD detection messages.
Step 203:Within the default unified response time, if not receiving each upstream device is sent first
Message is fed back, then judges the multicast group failure, wherein, the first feedback message is the feedback report of the BFD detection messages
Text, the local terminal authenticating value of the first feedback message is the default unified authenticating value.
In this step, within the above-mentioned default unified response time, if receiving the first feedback that each upstream device is sent
Message, then judge that the multicast group does not break down.
In an optional example, if above-mentioned upstream equipment is in command mode with upstream device,:
With above-mentioned multicast group address as destination address, BFD command mode detection messages are sent with prefixed time interval, with
Make any of the above-described upstream device after the BFD command modes detection messages are received by above-mentioned multicast group, when above-mentioned default
Between be spaced in keep silent, the opposite end authenticating value of above-mentioned BFD command modes detection messages is above-mentioned default unified authenticating value;
If receiving the 3rd feedback message that any above-mentioned upstream device is sent, above-mentioned multicast group failure is judged, wherein,
Above-mentioned 3rd feedback message is the feedback message of above-mentioned BFD command modes detection messages, the local terminal mirror of above-mentioned 3rd feedback message
Zhi be not above-mentioned default unified authenticating value.
From above technical scheme, the embodiment of the present invention passes through the BFD sessions for the upstream device associated by multicast group
Configuration unified response time, and BFD messages transmitted by above-mentioned upstream device configure unified authenticating value, realize
Equipment is swum by multicast group to send BFD detection messages to above-mentioned upstream device.In BFD detections, on the one hand, work as upstream device
When number is more, the number of upstream equipment downstream equipment transmission BFD detection messages is greatly reduced, reduces and is carrying out multicast
Upstream equipment CPU burden during detection, while also saving the network bandwidth.Another further aspect, the detection mode is directly by group
Broadcast and detected, compared to indirectly being detected in the prior art by unicast, its testing result more can directly react multicast
Real conditions, the confidence level of testing result is higher.
Fig. 3 is another embodiment flow chart of the method for multicast detection of the present invention, and methods described is from upstream equipment side pair
The process of multicast detection is described in detail, and methods described is applied to the upstream equipment that multicast group is associated, and the multicast group is also
At least one upstream device is associated with, the upstream equipment and upstream device are each equipped with two-way converting detection BFD agreements, its
In, the response time that the upstream device is configured by BFD sessions is a default unified response time, and the upstream device is
The authenticating value that BFD messages are configured is a default unified authenticating value, be the described method comprises the following steps:
Step 301:BFD session establishment messages are sent as destination address with above-mentioned multicast group address.
In this step, using multicast group address as purpose address, any upstream device can be made to be received by the multicast group
BFD session establishment messages are stated, wherein, the opposite end authenticating value of above-mentioned BFD session establishments message is above-mentioned default unified authenticating value.Its
In, upstream device can search local BFD meetings after above-mentioned BFD session establishments message is received according to the opposite end authenticating value of the message
Words, if the corresponding BFD sessions of the opposite end authenticating value locally exist and in upstate, carry out normal BFD sessions
Handling process.
In an optional example, above-mentioned default unified authenticating value can be the IP address of above-mentioned multicast group.
Step 302:The second feedback message is received from each above-mentioned upstream device and sets up BFD sessions.
In this step, above-mentioned second feedback message is the feedback message of above-mentioned BFD session establishments message, above-mentioned second feedback
The local terminal authenticating value of message is above-mentioned default unified authenticating value.
In an optional example, upstream equipment can distinguish difference with the source IP of the second feedback message of its reception
Upstream device transmitted by second feedback message.
Step 303:Above-mentioned upstream equipment and the BFD patterns residing for above-mentioned upstream device are judged, if all in asynchronous mould
Formula, then perform step 304, if all in command mode, performing step 306.
Step 304:BFD detection messages are sent as destination address with above-mentioned multicast group address.
In this step, using multicast group address as purpose address, any above-mentioned upstream device can be made to pass through above-mentioned multicast group
Above-mentioned BFD detection messages are received, the opposite end authenticating value of above-mentioned BFD detection messages is above-mentioned default unified authenticating value.Wherein, downstream
Equipment can search local BFD sessions after above-mentioned BFD detection messages are received according to the opposite end authenticating value of the message, if this pair
The corresponding BFD sessions of authenticating value are held locally to exist and in upstate, then carry out normal BFD Dialog processings flow.
In an optional example, if any above-mentioned upstream device does not set up BFD sessions with above-mentioned upstream equipment,
Above-mentioned BFD detection messages are individually sent to any of the above-described upstream device.
Step 305:Within the above-mentioned default unified response time, if not receiving each above-mentioned upstream device is sent first
Message is fed back, then judges above-mentioned multicast group failure.
In this step, above-mentioned first feedback message is the feedback message of above-mentioned BFD detection messages, above-mentioned first feedback message
Local terminal authenticating value be above-mentioned default unified authenticating value.
In this step, if receiving the first feedback message that each above-mentioned upstream device is sent, the multicast group is judged
Do not break down.
In an optional example, upstream equipment can distinguish difference with the source IP of the first feedback message of its reception
Upstream device transmitted by first feedback message.
Step 306:With above-mentioned multicast group address as destination address, BFD command modes are sent with prefixed time interval and examined
Observe and predict text.
In this step, using multicast group address as purpose address, any of the above-described upstream device can be made by above-mentioned multicast
Group receives above-mentioned BFD command modes detection messages, wherein, the opposite end authenticating value of above-mentioned BFD command modes detection messages is above-mentioned
Default unified authenticating value.Wherein, upstream device can be according to pair of the message after above-mentioned BFD command modes detection messages are received
Authenticating value is held to search local BFD sessions, if the corresponding BFD sessions of the opposite end authenticating value locally exist and are in available shape
State, then carry out normal BFD Dialog processings flow.
In this step, any of the above-described upstream device is after above-mentioned BFD command modes detection messages are received, when above-mentioned default
Between be spaced in keep silent.
In an optional example, if any above-mentioned upstream device does not set up BFD sessions with above-mentioned upstream equipment,
Above-mentioned BFD command modes detection messages are individually sent to any of the above-described upstream device.
Step 307:If receiving the 3rd feedback message that any upstream device is sent, above-mentioned multicast group event is judged
Barrier.
In this step, above-mentioned 3rd feedback message is the feedback message of above-mentioned BFD command modes detection messages, the above-mentioned 3rd
It is above-mentioned default unified authenticating value to feed back the local terminal authenticating value of message.
In this step, if not receiving the 3rd feedback message that each above-mentioned upstream device is sent, the multicast is judged
Group does not break down.
In an optional example, upstream equipment can distinguish difference with the source IP of the 3rd feedback message of its reception
Upstream device transmitted by the 3rd feedback message.
From above technical scheme, the embodiment of the present invention passes through the BFD sessions for the upstream device associated by multicast group
Configuration unified response time, and BFD messages transmitted by above-mentioned upstream device configure unified authenticating value, realize
Equipment is swum by multicast group to send BFD detection messages to above-mentioned upstream device.In BFD detections, on the one hand, work as upstream device
When number is more, the number of upstream equipment downstream equipment transmission BFD detection messages is greatly reduced, reduces and is carrying out multicast
Upstream equipment CPU burden during detection, while also saving the network bandwidth.Another further aspect, the detection mode is directly by group
Broadcast and detected, compared to indirectly being detected in the prior art by unicast, its testing result more can directly react multicast
Real conditions, the confidence level of testing result is higher.
The embodiment of the present invention is illustrated below by a specific application example, application example combination Fig. 1 shows
The application scenarios gone out are described, where it is assumed that the multicast address in the scene is 224.0.1.225, associated by the multicast
Upstream and downstream equipment is open command pattern, is set to the unified authenticating value of shown 100 upstream devices now
224.0.1.225, the response time shown 100 upstream devices configured by BFD sessions is uniformly set to 500 milliseconds, so
The multicast is detected afterwards, its detection process is as follows:
Upstream equipment sends BFD session establishment messages with 224.0.1.225 as destination address;
Upstream device exists after the BFD session establishment messages are received according to the opposite end authenticating value 224.0.1.225 of the message
Its corresponding BFD session is locally found, and inquires the upstream and downstream equipment in the BFD sessions and is in upstate;
Upstream device upstream device sends the feedback message of above-mentioned BFD session establishments message;
Upstream equipment receives second from each upstream device and fed back after message, sets up BFD sessions;
Upstream equipment is judged after above-mentioned upstream device and the non-open command pattern of local terminal, with 224.0.1.225 as mesh
Address send BFD detection messages, wherein, if any above-mentioned upstream device does not complete above-mentioned BFD meetings with above-mentioned upstream equipment
That talks about sets up process, then individually sends above-mentioned BFD detection messages to any upstream device;
Upstream device is after above-mentioned BFD detection messages are received according to the opposite end authenticating value 224.0.1.225 of the message at this
Ground finds its corresponding BFD session, and inquires the upstream and downstream equipment in the BFD sessions and be in upstate;
Upstream device upstream device sends the feedback message of above-mentioned BFD detection messages;
In same corresponding 500 milliseconds of the time set by downstream equipment, each above-mentioned downstream is being received in upstream equipment
After the feedback message for the above-mentioned BFD detection messages that equipment is sent, judge that shown multicast group state is normal.
Embodiment with the method for foregoing multicast detection is corresponding, and present invention also provides the implementation of the device of multicast detection
Example.
The embodiment of the device of the application multicast detection can be applied on the upstream equipment associated with multicast group.Device is real
Applying example can be realized by software, can also be realized by way of hardware or software and hardware combining.Exemplified by implemented in software, make
It is by corresponding computer in nonvolatile memory by the processor of equipment where it for the device on a logical meaning
Programmed instruction reads what operation in internal memory was formed.For hardware view, as shown in figure 4, being the dress of the application multicast detection
A kind of hardware structure diagram of equipment where putting, except the processor shown in Fig. 4, internal memory, network interface and non-volatile memories
Outside device, the equipment in embodiment where device can also include other hardware, to this generally according to the actual functional capability of the equipment
Repeat no more.
Fig. 5 is refer to, is one embodiment block diagram of the device of multicast detection of the present invention, described device is applied to multicast group
The upstream equipment of association, the multicast group is also associated with least one upstream device, and the upstream equipment and upstream device are matched somebody with somebody
Two-way converting detection BFD agreements are equipped with, wherein, the response time that the upstream device is configured by BFD sessions is a default system
One response time, the authenticating value that the upstream device is configured by BFD messages is a default unified authenticating value, described device bag
Include:Set up unit 510, transmitting element 520, identifying unit 530.
Unit 510 is set up, for after multicast group foundation, BFD sessions to be set up with the upstream device;
Transmitting element 520, BFD detection messages are sent with the multicast group address as destination address, so that any described
Upstream device receives the BFD detection messages by the multicast group, and the opposite end authenticating value of the BFD detection messages is described pre-
If unified authenticating value;
Identifying unit 530, within the default unified response time, in do not receive that each upstream device sends the
During one feedback message, the multicast group failure is judged, wherein, the first feedback message is the feedback of the BFD detection messages
Message, the local terminal authenticating value of the first feedback message is the default unified authenticating value.
From above technical scheme, the embodiment of the present invention passes through the BFD sessions for the upstream device associated by multicast group
Configuration unified response time, and BFD messages transmitted by above-mentioned upstream device configure unified authenticating value, realize
Equipment is swum by multicast group to send BFD detection messages to above-mentioned upstream device.In BFD detections, on the one hand, work as upstream device
When number is more, the number of upstream equipment downstream equipment transmission BFD detection messages is greatly reduced, reduces and is carrying out multicast
Upstream equipment CPU burden during detection, while also saving the network bandwidth.Another further aspect, the detection mode is directly by group
Broadcast and detected, compared to indirectly being detected in the prior art by unicast, its testing result more can directly react multicast
Real conditions, the confidence level of testing result is higher.
In an optional example, the identifying unit 530 is additionally operable to:
Within the default unified response time, when receiving the first feedback message that each upstream device is sent,
Judge that the multicast group does not break down.
It is described to set up unit 510, including (not shown in Fig. 5) in another optional example:Session establishment message is sent out
Send subelement, the second feedback message receiving subelement.
Session establishment message transmission sub-unit, builds for sending BFD sessions as destination address with the multicast group address
Vertical message, so that any upstream device receives the BFD session establishments message, the BFD sessions by the multicast group
It is the default unified authenticating value to set up the opposite end authenticating value of message;
Second feedback message receiving subelement, feeds back message for receiving second from each upstream device, sets up BFD
Session, wherein, the second feedback message is the feedback message of the BFD session establishments message, the second feedback message
Local terminal authenticating value is the default unified authenticating value.
In another optional example, the transmitting element 520 is additionally operable to:
After BFD detection messages are sent as destination address with the multicast group address, when associated by the multicast group
In upstream device, when there is any upstream device and not setting up BFD sessions with the upstream equipment, to any upstream device list
Solely send the BFD detection messages.
In another optional example, the transmitting element 520 is additionally operable to:
When the upstream equipment and the upstream device are in command mode, with the multicast group address as purpose
Address, sends BFD command mode detection messages, so that any upstream device is passing through the multicast with prefixed time interval
Group is received after the BFD command modes detection messages, keeps silent in the prefixed time interval, the BFD command modes
The opposite end authenticating value of detection messages is the default unified authenticating value;
The identifying unit 530, is additionally operable to:
Command mode is in the upstream equipment and the upstream device, and receives any upstream device transmission
The 3rd feedback message when, judge the multicast group failure, wherein, the 3rd feedback message is BFD command modes inspection
The feedback message of text is observed and predicted, the local terminal authenticating value of the 3rd feedback message is the default unified authenticating value.
The function of unit and the implementation process of effect specifically refer to correspondence step in the above method in said apparatus
Implementation process, will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, and the part shown as unit can be or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Selection some or all of module therein is needed to realize the purpose of application scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
The preferred embodiment of the application is the foregoing is only, not to limit the application, all essences in the application
God is with principle, and any modification, equivalent substitution and improvements done etc. should be included within the scope of the application protection.
Claims (10)
1. a kind of method of multicast detection, it is characterised in that methods described is applied to the upstream equipment that multicast group is associated, described group
Broadcast group and be also associated with least one upstream device, the upstream equipment and upstream device are each equipped with two-way converting detection BFD associations
View, wherein, the response time that the upstream device is configured by BFD sessions is a default unified response time, and the downstream is set
The standby authenticating value configured by BFD messages is a default unified authenticating value, and methods described includes:
After multicast group foundation, BFD sessions are set up with the upstream device;
With the multicast group address as destination address send BFD detection messages so that any upstream device pass through it is described
Multicast group receives the BFD detection messages, and the opposite end authenticating value of the BFD detection messages is the default unified authenticating value;
Within the default unified response time, if not receiving the first feedback message that each upstream device is sent,
Judge the multicast group failure, wherein, the first feedback message is the feedback message of the BFD detection messages, described first
It is the default unified authenticating value to feed back the local terminal authenticating value of message.
2. according to the method described in claim 1, it is characterised in that also include:
Within the default unified response time, if receiving the first feedback message that each upstream device is sent, sentence
The fixed multicast group does not break down.
3. according to the method described in claim 1, it is characterised in that described to set up BFD sessions with the upstream device, including:
BFD session establishment messages are sent as destination address with the multicast group address, so that any upstream device passes through
The multicast group receives the BFD session establishments message, and the opposite end authenticating value of the BFD session establishments message is the default system
One authenticating value;
Second is received from each upstream device and feeds back message, sets up BFD sessions, wherein, the second feedback message is institute
The feedback message of BFD session establishment messages is stated, the local terminal authenticating value of the second feedback message is the default unified authenticating value.
4. according to the method described in claim 1, it is characterised in that also include:
After BFD detection messages are sent as destination address with the multicast group address, if under associated by the multicast group
Swim in equipment, there is any upstream device and do not set up BFD sessions with the upstream equipment, then it is independent to any upstream device
Send the BFD detection messages.
5. according to the method described in claim 1, it is characterised in that also include:
If the upstream equipment is in command mode with the upstream device,:
With the multicast group address as destination address, BFD command mode detection messages are sent with prefixed time interval, so that institute
Any upstream device is stated after the BFD command modes detection messages are received by the multicast group, between the preset time
Keep silent every interior, the opposite end authenticating value of the BFD command modes detection messages is the default unified authenticating value;
If receiving the 3rd feedback message that any upstream device is sent, the multicast group failure is judged, wherein, it is described
3rd feedback message is the feedback message of the BFD command modes detection messages, the local terminal authenticating value of the 3rd feedback message
For the default unified authenticating value.
6. a kind of device of multicast detection, it is characterised in that described device is applied to the upstream equipment that multicast group is associated, described group
Broadcast group and be also associated with least one upstream device, the upstream equipment and upstream device are each equipped with two-way converting detection BFD associations
View, wherein, the response time that the upstream device is configured by BFD sessions is a default unified response time, and the downstream is set
The standby authenticating value configured by BFD messages is a default unified authenticating value, and described device includes:
Unit is set up, for after multicast group foundation, BFD sessions to be set up with the upstream device;
Transmitting element, sends BFD detection messages, so that any upstream device with the multicast group address as destination address
The BFD detection messages are received by the multicast group, the opposite end authenticating value of the BFD detection messages is the default unified mirror
It is not worth;
Identifying unit, within the default unified response time, the first feedback that each upstream device is sent is not being received
During message, the multicast group failure is judged, wherein, the first feedback message is the feedback message of the BFD detection messages, institute
It is the default unified authenticating value to state the local terminal authenticating value of the first feedback message.
7. device according to claim 6, it is characterised in that the identifying unit, is additionally operable to:
Within the default unified response time, when receiving the first feedback message that each upstream device is sent, judge
The multicast group does not break down.
8. device according to claim 6, it is characterised in that described to set up unit, including:
Session establishment message transmission sub-unit, for sending BFD session establishment reports as destination address with the multicast group address
Text, so that any upstream device receives the BFD session establishments message, the BFD session establishments by the multicast group
The opposite end authenticating value of message is the default unified authenticating value;
Second feedback message receiving subelement, feeds back message for receiving second from each upstream device, sets up BFD meetings
Words, wherein, the second feedback message is the feedback message of the BFD session establishments message, the sheet of the second feedback message
It is the default unified authenticating value to hold authenticating value.
9. device according to claim 6, it is characterised in that the transmitting element, is additionally operable to:
After BFD detection messages are sent as destination address with the multicast group address, when the downstream associated by the multicast group
In equipment, when there is any upstream device and not setting up BFD sessions with the upstream equipment, individually sent out to any upstream device
Send the BFD detection messages.
10. device according to claim 6, it is characterised in that the transmitting element, is additionally operable to:
When the upstream equipment and the upstream device are in command mode, with the multicast group address as destination
Location, sends BFD command mode detection messages, so that any upstream device is passing through the multicast group with prefixed time interval
Receive after the BFD command modes detection messages, keep silent in the prefixed time interval, the BFD command modes inspection
It is the default unified authenticating value to observe and predict the opposite end authenticating value of text;
The identifying unit, is additionally operable to:
Command mode is in the upstream equipment and the upstream device, and receive that any upstream device sends the
During three feedback messages, the multicast group failure is judged, wherein, the 3rd feedback message is that the BFD command modes detect report
The feedback message of text, the local terminal authenticating value of the 3rd feedback message is the default unified authenticating value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710147032.8A CN106992878B (en) | 2017-03-13 | 2017-03-13 | Multicast detection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710147032.8A CN106992878B (en) | 2017-03-13 | 2017-03-13 | Multicast detection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106992878A true CN106992878A (en) | 2017-07-28 |
CN106992878B CN106992878B (en) | 2020-11-06 |
Family
ID=59411542
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710147032.8A Active CN106992878B (en) | 2017-03-13 | 2017-03-13 | Multicast detection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106992878B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110445677A (en) * | 2019-07-26 | 2019-11-12 | 新华三大数据技术有限公司 | Multicast network detection method and forwarding device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101616019A (en) * | 2008-06-26 | 2009-12-30 | 华为技术有限公司 | A kind of method, network node and system that realizes that network failure detects |
CN102857421A (en) * | 2012-08-31 | 2013-01-02 | 杭州华三通信技术有限公司 | VLL fault detection method and device |
CN103916275A (en) * | 2014-03-31 | 2014-07-09 | 杭州华三通信技术有限公司 | BFD detection device and method |
-
2017
- 2017-03-13 CN CN201710147032.8A patent/CN106992878B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101616019A (en) * | 2008-06-26 | 2009-12-30 | 华为技术有限公司 | A kind of method, network node and system that realizes that network failure detects |
CN102857421A (en) * | 2012-08-31 | 2013-01-02 | 杭州华三通信技术有限公司 | VLL fault detection method and device |
CN103916275A (en) * | 2014-03-31 | 2014-07-09 | 杭州华三通信技术有限公司 | BFD detection device and method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110445677A (en) * | 2019-07-26 | 2019-11-12 | 新华三大数据技术有限公司 | Multicast network detection method and forwarding device |
Also Published As
Publication number | Publication date |
---|---|
CN106992878B (en) | 2020-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8605720B2 (en) | Analyzing a network with a cache advance proxy | |
EP2075974A1 (en) | A method and a device for aggregating ports | |
CN106470136B (en) | Platform test method and platform test system | |
CN107332726A (en) | A kind of detection method and device of communication link | |
CN104283711B (en) | Fault detection method, node and system based on two-way converting detection BFD | |
CN101621802A (en) | Method, system and device for authenticating portal in wireless network | |
US10171351B2 (en) | Method for updating flow table | |
CN105939291A (en) | Message processing unit and network device | |
CN103532863B (en) | Method and device for realizing software stacking | |
CN107547430B (en) | Message sending method and device | |
CN107948063B (en) | Method for establishing aggregation link and access equipment | |
WO2017190467A1 (en) | Adjustment method and apparatus for maximum transmission unit of terminal, and terminal device | |
CN102611630B (en) | A kind of message acceptance control method and system | |
CN102882704A (en) | Link protection method and apparatus in soft restart upgrade process of ISSU (in-service software upgrade) | |
CN106452921A (en) | Stacking system split detection method and device | |
CN105939325A (en) | TCP (Transmission Control Protocol) bypass blocking method and device | |
CN106716975A (en) | A transmission link resume method, device and system | |
CN106100940A (en) | A kind of network message supervising device and monitoring method thereof | |
US20170180218A1 (en) | Integrity control in service chaining | |
EP3059910A1 (en) | Method and device for redundancy protection | |
CN106992878A (en) | A kind of method and device of multicast detection | |
CN113179210B (en) | BFD detection method, BFD detection device, electronic equipment and storage medium | |
CN109391567B (en) | Method and device for controlling flow direction of hardware switch, terminal equipment and storage medium | |
CN105939220A (en) | Remote port mirroring realization method and device | |
CN105049300A (en) | Method and device for detecting NAT network type |
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 |