CN109818870A - A kind of multicast route selecting method, device, business board and machine readable storage medium - Google Patents

A kind of multicast route selecting method, device, business board and machine readable storage medium Download PDF

Info

Publication number
CN109818870A
CN109818870A CN201910062466.7A CN201910062466A CN109818870A CN 109818870 A CN109818870 A CN 109818870A CN 201910062466 A CN201910062466 A CN 201910062466A CN 109818870 A CN109818870 A CN 109818870A
Authority
CN
China
Prior art keywords
link
business board
business
reachable
network system
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
CN201910062466.7A
Other languages
Chinese (zh)
Other versions
CN109818870B (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 Information 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 CN201910062466.7A priority Critical patent/CN109818870B/en
Publication of CN109818870A publication Critical patent/CN109818870A/en
Application granted granted Critical
Publication of CN109818870B publication Critical patent/CN109818870B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the present disclosure provides a kind of multicast route selecting method, device, business board and machine readable storage medium, wherein multicast route selecting method is applied to business board, comprising: obtains the status information of other each business boards in network system;If determining that the first business board in other each business boards is extracted according to status information, then according to for counting each reachable link in the link set pre-established up to link, to corresponding interactive plate forwarding multicasting message, so that multicast message is forwarded in network system each business board in addition to the first business board by interaction plate, link set is the reachable link intersection with other each business boards.By this programme, the packet loss of multicast message can be reduced.

Description

A kind of multicast route selecting method, device, business board and machine readable storage medium
Technical field
This disclosure relates to field of communication technology, it can more particularly to a kind of multicast route selecting method, device, business board and machine Read storage medium.
Background technique
Multicasting technology be it is a kind of realize point-to-multipoint transmission technology, there is efficient bandwidth usage ability, and primary To the ability of multiple receiving ends transmission identical data.In traditional multicast forwarding process, business board after receiving multicast message, Multicast message is forwarded to interactive plate, interaction plate turns multicast message duplication according to the outgoing interface information carried in multicast message It is dealt into each purpose business board, corresponding receiving end is forwarded to by each purpose business board.
In the network system of frame framework as shown in Figure 1, including multiple business boards and multiple interactive plates, business board 3 By configuring forwarding hardware, multicast message is sent to interaction plate 1 through link 5, and is interacted in the link between plate 1 and business board 1 Disconnected, then the signal of business board 1 can not be reached to the reply multicast message of business board 3 by interacting plate 1, and business board 3, which perceives, passes through chain Road 5 can not reach business board 1, then can reconfigure forwarding hardware, select link 6,8 forwarding multicasting message of link 7 or link To business board 1.In this manner it is possible to avoid the problem that leading to multicast message loss of forwarded packets because of a certain link down.
However, will appear the case where business board is extracted once in a while, online business board perceives in actual network system The extraction of some business board is needed by a convergent process, as shown in Fig. 2, business board 3 is first when business board 2 is extracted Perceive it is unreachable by link 6 and business board 2, at this time from the received multicast message of business board 3 can select link 5, link 7 or Person's link 8 is forwarded, and lower a moment, business board 3 perceive it is unreachable by link 7 and business board 2, at this time from business board 3 Received multicast message can select link 5 or link 8 to be forwarded, and so on, multicast routing can converge to a link, Until business board perceive all links it is all unreachable with business board 3 when, just can determine that business board 2 extract, then, then restore with The multicast message of other business boards forwards, and in the process, due to the convergence of conversion link, forwarding bandwidth is constantly being reduced, and is led Cause the multicast message forwarded to other online business boards that packet loss easily occurs.
Summary of the invention
The embodiment of the present disclosure is designed to provide a kind of multicast route selecting method, device, business board and machine readable storage Medium, to reduce the packet loss of multicast message.Specific technical solution is as follows:
In a first aspect, the embodiment of the present disclosure provides a kind of multicast route selecting method, applied to the net including multiple business boards Business board in network system, which comprises
Obtain the status information of other each business boards in network system;
If determining according to the state information, the first business board in other described each business boards is extracted, according to for uniting Each reachable link in the link set pre-established up to link is counted, to corresponding interactive plate forwarding multicasting message, so that institute It states interactive plate and the multicast message is forwarded to each business board in the network system in addition to first business board, it is described Link set is the reachable link intersection with other each business boards.
Second aspect, the embodiment of the present disclosure provides a kind of multicast channel selection device, applied to the net including multiple business boards Business board in network system, described device include:
Module is obtained, for obtaining the status information of each business board of other in network system;
Configuration module, if for determining that the first business board in other described each business boards pulls out according to the state information Out, then it is forwarded according to for counting each reachable link in the link set pre-established up to link to corresponding interactive plate Multicast message, so that the multicast message is forwarded in the network system in addition to first business board by the interactive plate Each business board, the link set is reachable link intersection with other each business boards.
The third aspect, the embodiment of the present disclosure provide a kind of business board, including exchange chip and machine readable storage medium, The machine readable storage medium is stored with the machine-executable instruction that can be executed by the exchange chip, the exchange chip Promoted by the machine-executable instruction: realizing method and step described in embodiment of the present disclosure first aspect.
Fourth aspect, the embodiment of the present disclosure provide a kind of machine readable storage medium, are stored with machine-executable instruction, When being called and being executed by exchange chip, the machine-executable instruction promotes the exchange chip: realizing the embodiment of the present disclosure Method and step described in first aspect.
A kind of multicast route selecting method, device, business board and the machine readable storage medium that the embodiment of the present disclosure provides, business Plate passes through the status information for obtaining other each business boards in network system, if being determined in other each business boards according to status information First business board is extracted, then according to for counting each reachable link in the link set pre-established up to link, to correspondence Interaction plate forwarding multicasting message so that interaction plate multicast message is forwarded to it is each in addition to the first business board in network system Business board, wherein link set is the reachable link intersection with other each business boards.It is extracted if there is the first business board, then The business board for sending multicast message can be forwarded according to the reachable link in the link set pre-established to corresponding interactive plate Multicast message can remove the first industry since interaction plate is disconnected with the first business board extracted directly into network system Each business board forwarding multicasting message other than business plate, it is no longer necessary to which the detection for carrying out link accessibility is avoided because link is reachable Property detect caused by conversion link convergence problem, to reduce the packet loss of multicast message.
Detailed description of the invention
In order to illustrate more clearly of the embodiment of the present disclosure or technical solution in the prior art, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Disclosed some embodiments for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the block schematic illustration of multicast routing in the network system of the prior art;
Fig. 2 is the block schematic illustration for the multicast routing that the business board of the prior art is extracted;
Fig. 3 is the flow diagram of the multicast route selecting method of one embodiment of the disclosure;
Fig. 4 is the flow diagram of the multicast route selecting method of another embodiment of the disclosure;
Fig. 5 is the block schematic illustration of multicast routing in the multicast forwarding system of the embodiment of the present disclosure;
Fig. 6 is the flow diagram of the multicast route selecting method of disclosure another embodiment;
Fig. 7 is the structural schematic diagram of the multicast channel selection device of the embodiment of the present disclosure;
Fig. 8 is the structural schematic diagram of the business board of the embodiment of the present disclosure.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present disclosure, the technical solution in the embodiment of the present disclosure is carried out clear, complete Site preparation description, it is clear that described embodiment is only disclosure a part of the embodiment, instead of all the embodiments.It is based on Embodiment in the disclosure, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment belongs to the range of disclosure protection.
In order to reduce the packet loss of multicast message, the embodiment of the present disclosure provides a kind of multicast route selecting method, device, business Plate and machine readable storage medium.In the following, multicast route selecting method provided by the embodiment of the present disclosure is introduced first.
The executing subject of multicast route selecting method provided by the embodiment of the present disclosure can be the network for including multiple business boards Business board in system.Network system can be to contain the system of the various network equipments in traditional sense, then business board can be with It is interpreted as the network equipment with business transfer capability and traffic handing capacity;Network system can also be router, interchanger Equal route exchange devices, for carrying out multicast forwarding, business board is the business board on route exchange device.
As shown in figure 3, a kind of multicast route selecting method provided by the embodiment of the present disclosure, applied to including multiple business boards Business board in network system, the multicast route selecting method may include steps of:
S301 obtains the status information of other each business boards in network system.
The state of other business boards in network system can be monitored in real time in business board, specifically, business board can be periodical Ground sends state detection information to other business boards, if receiving detection feedback information and being not sky, illustrates the industry of detection Business plate is online, if not receiving detection feedback information, illustrates that the business board of detection is extracted.Certainly, business board can also week The status information of itself is broadcasted to phase property to other business boards, business board can also broadcast one to other business boards when extracted The status information or notification message of extraction.
S302, if determining that the first business board in other each business boards is extracted according to status information, according to for counting Each reachable link in link set pre-established up to link, to corresponding interactive plate forwarding multicasting message, so that interaction Multicast message is forwarded in network system each business board in addition to the first business board by plate, wherein link set be and other The reachable link intersection of each business board.
Based on the status information got, it can determine that corresponding business board is normal online, failure or extracts , it, can be according to the reachable link in link set, to right if the first business board at this time in other each business boards is extracted The interaction plate forwarding multicasting message answered, link set are that the link that is in advance based between the business board and other each business boards is reachable Property establish, link set be the business board and other each business boards reachable link intersection, by reachable in link set Link and each business board link that other can normally be interacted are reachable.When determining that the first business board is extracted, multicast choosing is not changed Road, the forwarding for carrying out multicast message still according to the reachable link in link set are then interacted since the first business board has been extracted Plate can into the network system in addition to the first business board each business board (may include send multicast message business board Forwarding multicasting message, the extraction of the first business board do not influence to the normal forwarding multicasting message of other business boards in itself).
Using the present embodiment, business board passes through the status information for obtaining other each business boards in network system, if according to shape State information determines that the first business board in other each business boards is extracted, then according to for counting the link pre-established up to link Each reachable link in set, to corresponding interactive plate forwarding multicasting message, so that multicast message is forwarded to network by interaction plate Each business board in system in addition to the first business board, wherein link set is the reachable link intersection with other each business boards. If there is the first business board extract, then send multicast message business board can according in the link set pre-established can It,, can be with since interaction plate is disconnected with the first business board extracted to corresponding interactive plate forwarding multicasting message up to link Each business board forwarding multicasting message directly into network system in addition to the first business board, it is no longer necessary to carry out link accessibility Detection, avoid because link accessibility detection caused by conversion link convergence problem, to reduce the packet loss of multicast message Rate.
Based on embodiment illustrated in fig. 3, the process flow of specific multicast route selecting method can be divided into business board start-up course In process flow and timing detection refresh the process flow of multicast forwarding link, as shown in figure 4, in business board start-up course Process flow, may include steps of:
S401, response initialization start-up operation.
Each business board can all send an initialization starting request when powering on to master control borad, and master control borad is receiving To after initialization starting request, initialization start-up operation can be carried out to business board, business board responds the initialization start-up operation, complete Start at initialization.
S402 obtains the link state in network system between each interactive plate and each business board, determining and other each business Reachable link between plate.
Network system includes multiple business boards and multiple interactive plates, and interaction plate carries out the net of data interaction between business board Plate can also include a monitoring device in network system, for monitoring each interactive plate and each business board in multicast forwarding system Between link state, certainly, interaction plate or business board monitoring function also can be set, if link down (link hair Raw failure, business board break down or business board is extracted etc.), each business board in network system can be got by software The link state of the link down, business board can determine the reachable chain between other each business boards according to link state Road.As shown in figure 5, business board 3 can determine and business if monitoring the link down between interactive plate 1 and business board 1 The reachable link of plate 1 is link 6, link 7 and link 8.
S403 takes the intersection of each reachable link, establishes link set.
After reachable link of the business board between determining and other each business boards, it can determine and other all business Up to the intersection of link between plate, link set is established.As shown in figure 5, link down, friendship between interaction plate 1 and business board 1 Link down between mutual plate 4 and business board 2, other links are normal, then can determine between business board 3 and business board 1 It is link 6, link 7 and link 8 up to link, the reachable link between business board 3 and business board 2 is link 5, link 6 and chain Road 7, the reachable link between business board 3 and business board 4 is link 5, link 6, link 7 and link 8, then can establish link set It closes, including link 6 and link 7.Business board 3 passes through link 6 or link 7 and business board 1, business board 2 and business board 4 It reaches.
S404 configures forwarding hardware, to corresponding interactive plate forwarding multicasting report according to the reachable link in link set Text, so that multicast message is forwarded to each business board in network system by interaction plate.
Due to reachable by each reachable link in link set and other each business boards, forwarding hardware is configured at this time, It is selected up to any reachable link in link intersection by the configuration of hardware circuit as multicast forwarding link forwarding multicasting report Text, it is ensured that the accessibility of multicast message, also, it effectively prevent the generation of packet loss.It can be with configuration group when configuring forwarding hardware It broadcasts IP address, the MAC Address of purpose business board etc. of text, which purpose business board forwarding multicasting message is about successively oriented.
The process of above-mentioned specific multicast route selecting method can be executed by SW (Switch, exchange) chip in business board, Above-mentioned business board can be LPU (Line Processing Unit, line card processing board), and interaction plate can be SFU (Switching Fabric Unit, switching matrix plate).
S405 starts fixed cycle operator, when reaching default timing cycle, reacquires in network system each interactive plate and each Link state between business board, the reachable link between determination and other each business boards, and according to each reachable of reacquisition Link refreshes link set.
After business board configures forwarding hardware, it can star a fixed cycle operator, timing acquisition and other business boards Up to link, since link state may be influenced by network environment, equipment running status etc., link state is possible to become Change, in order to perceive the variation of link state in time, can timing each link of acquisition link state, and then the refreshing chain of timing Road set, further, the link for the forwarding multicasting message that can timely update.
Using the present embodiment, business board obtains each interaction in network system after completing initialization starting, through software Link state between plate and each business board, can determine with the reachable link between other each business boards, take up to link Link set is established in intersection, and the reachable link in link set can guarantee that the multicast message sent respectively can be normal up to other Interactive business board, in this way, configuring forwarding hardware according to link set, it is ensured that the accessibility of multicast message passes through software Process realizes multicast routing, and the operation of multicast routing is executed after business board completes initialization starting, guarantees business board starting Multicast forwarding is available afterwards, and after configuration forwarding hardware determines multicast forwarding link, starts fixed cycle operator, pass through reacquisition The link state of each link refreshes link set, ensure that and timely respond to link change.
As shown in fig. 6, refreshing the process flow of multicast forwarding link for timing detection, may include steps of:
S601 obtains the link in network system between each interactive plate and each business board when reaching default timing cycle State, the reachable link between determination and other each business boards.
S602 refreshes link set according to each reachable link of reacquisition.
In the network system of one normal table, multicast routing is usually maintained constant, but when certain business in system The reachable link of plate changes, as business board insertion perhaps extract or interaction plate and business board between link occur it is different Link down is often resulted in, just needs to be updated multicast routing at this time.In the present embodiment, a timed task is created, The reachable link between other each business boards is obtained according to default timing cycle, real-time monitoring update is carried out to multicast routing, If link state changes, the reachable link in link set changes immediately, in this way, the reachable chain in link set Road reachable link corresponding with the forwarding hardware of current-configuration can be inconsistent, then needs to update multicast routing result.
S603 judges the reachable link reachable chain corresponding with the forwarding hardware of current-configuration in the link set after refreshing Whether road is consistent, executes S604 if consistent, otherwise executes S605.
S604 keeps the forwarding hardware being currently configured, to corresponding interactive plate forwarding multicasting message, so as to interact plate for group Casting text is forwarded to each business board in network system.
If the reachable link reachable link corresponding with the forwarding hardware of current-configuration in link set is consistent, illustrate There is no variations for the link state of each link in current timing cycle, and business board failure, extraction, link event do not occur Phenomena such as barrier, then can continue to keep current forwarding hardware to configure, still according to corresponding reachable link as multicast forwarding Link forwarding multicasting message terminates the detection of this multicast forwarding link.
S605, judge refresh after link set in reachable link it is corresponding compared to the forwarding hardware of current-configuration can Whether reduced up to link, execute S606 if reducing, executes S608 if increasing.
If the reachable link reachable link corresponding with the forwarding hardware of current-configuration in link set is inconsistent, say It is bright to there is link state to change in current timing cycle, the variation of link state may include up to link increase or Person is reduced.Up to link increase, exactly increased newly can with the link of forwarding multicasting message (link-recovery including failure is just Often);Up to the reduction of link, the reachable link for being exactly is interrupted.
S606 obtains the status information of the first business board, judgement for corresponding first business board of reachable link of reduction Whether the first business board is extracted, and if so then execute S607, otherwise executes S608.
S607, according to the reachable link in link set, to corresponding interactive plate forwarding multicasting message, so that interaction plate will Multicast message is forwarded in network system each business board in addition to the first business board.
Up to the reduction of link, it may be possible to because of link failure, it is also possible to be because of business board failure, it is also possible to It is because business board is extracted.The case where being extracted for business board, after business board extraction, the business board and other business boards without It closes, then deletes the relevant information of the first business board from the forwarding hardware of configuration, and can't become in link set up to link Change, continues with the reachable link in link set, each business board forwarding group into network system in addition to the first business board Casting text.
S608 reconfigures forwarding hardware according to the reachable link in the link set after refreshing, to corresponding interactive plate Forwarding multicasting message, so that multicast message is forwarded to each business board in network system by interaction plate.
If the business board status of the corresponding business board of reachable link reduced is not extraction state, illustrate up to link Reduction be because the factors such as link failure, business board failure cause, corresponding business board also with other business board phases in system It closes, therefore, it is necessary to refresh multicast forwarding link.If the reachable link in link set after refreshing is compared to current-configuration The corresponding reachable link of forwarding hardware increases, i.e., explanation has broken link to restore normal connection again, then needs to refresh multicast Conversion link.It, can be by the configuration of software records forwarding hardware, so as to next presetting after refreshing multicast forwarding link When the period to whether thering is the refreshing of reachable link to judge.
Using the present embodiment, by starting fixed cycle operator, the link state of each link in timing acquisition network system, according to this Link set is updated, if detected since business board extraction causes multicast forwarding link to update, does not issue the of extraction The corresponding forwarding hardware of one business board avoids multicast according to the reachable link forwarding multicasting message in original link set Multicast message packet loss caused by link convergence.Also, when reaching timing cycle, by reacquiring each interactive plate and each industry Link state between business plate, refreshes link set, ensure that and timely respond to link change.
Corresponding to above method embodiment, the embodiment of the present disclosure provides a kind of multicast channel selection device, is applied to business board, As shown in fig. 7, the multicast channel selection device may include:
Module 710 is obtained, for obtaining the status information of each business board of other in network system;
Configuration module 720, if for determining the first business board in other described each business boards according to the state information It extracts, then according to for counting each reachable link in the link set pre-established up to link, turns to corresponding interactive plate Send out multicast message so that the interactive plate by the multicast message be forwarded in the network system except first business board with Outer each business board, the link set are the reachable link intersection with other each business boards.
Optionally, described device can also include:
Respond module, for responding initialization start-up operation;
Determining module is determined for obtaining the link state in the network system between each interactive plate and each business board With the reachable link between other described each business boards;
Module is established, for taking the intersection of each reachable link, establishes link set;
The configuration module 720 can be also used for configuring forwarding hardware according to the reachable link in the link set, To corresponding interactive plate forwarding multicasting message, so that the multicast message is forwarded in the network system by the interactive plate Each business board;
Timing module, when reaching default timing cycle, reacquires in the network system for starting fixed cycle operator Link state between each interactive plate and each business board, the determining reachable link between other described each business boards, and according to Each reachable link reacquired, refreshes the link set.
Optionally, described device can also include:
Judgment module, for judging that the reachable link in the link set after refreshing is corresponding with the forwarding hardware of current-configuration Reachable link it is whether consistent;If inconsistent, the reachable link in the link set after judging the refreshing is compared to described Whether the corresponding reachable link of the forwarding hardware of current-configuration is reduced;
The configuration module 720, if specifically can be used for the judging result of the judgment module to reduce, for reduction Corresponding first business board of reachable link, the status information of first business board is obtained, if executing described according to the shape State information determines that the first business board in other described each business boards is extracted, then pre-establishes according to for counting up to link Each reachable link in link intersection, the step of to corresponding interactive plate forwarding multicasting message.
Optionally, the configuration module 720, if specifically can be used for determining first business according to the state information Plate is not extracted, then according to the reachable link in the link set after the refreshing, reconfigures forwarding hardware, to corresponding interaction Plate forwarding multicasting message, so that the multicast message is forwarded to each business board in the network system by the interactive plate.
Optionally, the configuration module 720, if the judging result that specifically can be also used for the judgment module is to increase, Then according to the reachable link in the link set after the refreshing, forwarding hardware is reconfigured, to corresponding interactive plate forwarding group Casting text, so that the multicast message is forwarded to each business board in the network system by the interactive plate.
Using this implementation column, business board passes through the status information for obtaining other each business boards in network system, if according to shape State information determines that the first business board in other each business boards is extracted, then according to for counting the link pre-established up to link Each reachable link in set, to corresponding interactive plate forwarding multicasting message, so that multicast message is forwarded to network by interaction plate Each business board in system in addition to the first business board, wherein link set is the reachable link intersection with other each business boards. If there is the first business board extract, then send multicast message business board can according in the link set pre-established can It,, can be with since interaction plate is disconnected with the first business board extracted to corresponding interactive plate forwarding multicasting message up to link Each business board forwarding multicasting message directly into network system in addition to the first business board, it is no longer necessary to carry out link accessibility Detection, avoid because link accessibility detection caused by conversion link convergence problem, to reduce the packet loss of multicast message Rate.
The embodiment of the present disclosure additionally provides a kind of business board, as shown in figure 8, including exchange chip 801 and machine readable depositing Storage media 802, the machine readable storage medium 802, which is stored with, can be performed by the machine that the exchange chip 801 executes Instruction, the exchange chip 801 are promoted by the machine-executable instruction: realizing multicast routing provided by the embodiment of the present disclosure The step of method.
Above-mentioned machine readable storage medium may include RAM (Random Access Memory, random access memory), It also may include NVM (Non-volatile Memory, nonvolatile memory), for example, at least a magnetic disk storage.It is optional , machine readable storage medium can also be that at least one is located remotely from the storage device of aforementioned exchange chip.
Above-mentioned exchange chip can be general processor, including CPU, NP etc.;Can also be DSP, ASIC, FPGA or its His programmable logic device, discrete gate or transistor logic, discrete hardware components.
In the present embodiment, exchange chip 801 refers to by the way that the machine stored in read machine readable storage medium storing program for executing 802 is executable Enable, promoted to realize by machine-executable instruction: business board passes through the status information for obtaining other each business boards in network system, if It determines that the first business board in other each business boards is extracted according to status information, is then pre-established according to for counting up to link Link set in each reachable link, to corresponding interactive plate forwarding multicasting message, so that interaction plate forwards multicast message Each business board into network system in addition to the first business board, wherein link set is the reachable chain with other each business boards Road intersection.It is extracted if there is the first business board, then the business board for sending multicast message can be according to the link set pre-established Reachable link in conjunction, to corresponding interactive plate forwarding multicasting message, since interaction plate is disconnected with the first business board extracted Connection, can each business board forwarding multicasting message directly into network system in addition to the first business board, it is no longer necessary to carry out The detection of link accessibility, conversion link convergence problem caused by avoiding because of the detection of link accessibility, to reduce multicast The packet loss of message.
In addition, the embodiment of the present disclosure additionally provides a kind of machine readable storage medium, it is stored with machine-executable instruction, When being called and executed by exchange chip, the machine-executable instruction promotes the exchange chip: realizing embodiment of the present disclosure institute The step of multicast route selecting method of offer.
In the present embodiment, machine readable storage medium executes multicast routing side provided by the embodiment of the present disclosure at runtime The machine-executable instruction of method, therefore can be realized: business board is believed by obtaining the state of other each business boards in network system Breath, if determining that the first business board in other each business boards is extracted according to status information, according to for counting pre- up to link Each reachable link in the link set first established, to corresponding interactive plate forwarding multicasting message, so as to interact plate for a group casting Text is forwarded in network system each business board in addition to the first business board, wherein link set be and other each business boards Up to link intersection.It is extracted if there is the first business board, then the business board for sending multicast message can be according to pre-establishing Reachable link in link set, to corresponding interactive plate forwarding multicasting message, due to interaction plate and the first business extracted Plate disconnects, can each business board forwarding multicasting message directly into network system in addition to the first business board, no longer need The detection of link accessibility is carried out, conversion link convergence problem caused by avoiding because of the detection of link accessibility, to reduce The packet loss of multicast message.
The embodiment of the present disclosure can also provide a kind of route exchange device, include multiple in the route exchange device such as Fig. 8 Shown in business board, the step of multicast route selecting method provided by the embodiment of the present disclosure may be implemented in each business board.
For business board and machine readable storage medium embodiment, since the method content that it is related to is substantially similar In embodiment of the method above-mentioned, so being described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device, For business board and machine readable storage medium embodiment, since it is substantially similar to the method embodiment, so the ratio of description Relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely the preferred embodiments of the disclosure, are not intended to limit the protection scope of the disclosure.It is all Any modification, equivalent replacement, improvement and so within the spirit and principle of the disclosure, are all contained in the protection scope of the disclosure It is interior.

Claims (12)

1. a kind of multicast route selecting method, which is characterized in that applied to the business board in the network system including multiple business boards, institute The method of stating includes:
Obtain the status information of other each business boards in network system;
If determining according to the state information, the first business board in other described each business boards is extracted, can according to being used to count Each reachable link in the link set pre-established up to link, to corresponding interactive plate forwarding multicasting message, so that the friendship The multicast message is forwarded to each business board in the network system in addition to first business board, the link by mutual plate Collection is combined into the reachable link intersection with other each business boards.
2. the method according to claim 1, wherein the method also includes:
Response initialization start-up operation;
Obtain the link state in the network system between each interactive plate and each business board, determining and other described each business boards Between reachable link;
The intersection for taking each reachable link, establishes link set;
According to the reachable link in the link set, forwarding hardware is configured, to corresponding interactive plate forwarding multicasting message, so that The multicast message is forwarded to each business board in the network system by the interactive plate;
Start fixed cycle operator, when reaching default timing cycle, reacquires each interactive plate and each business in the network system Link state between plate, the determining reachable link between other described each business boards, and according to each reachable of reacquisition Link refreshes the link set.
3. according to the method described in claim 2, it is characterized in that, refreshing in each reachable link according to reacquisition After the link set, the method also includes:
Judge refresh after link set in reachable link reachable link corresponding with the forwarding hardware of current-configuration whether one It causes;
If inconsistent, the reachable link in the link set after judging the refreshing is hard compared to the forwarding of the current-configuration Whether the corresponding reachable link of part is reduced;
If reducing, for corresponding first business board of reachable link reduced, the status information of first business board is obtained, If the first business board extraction determined in other described each business boards according to the state information is executed, according to for uniting Each reachable link in the link intersection pre-established up to link is counted, the step of to corresponding interactive plate forwarding multicasting message.
4. according to the method described in claim 3, it is characterized in that, described for corresponding first industry of reachable link reduced It is engaged in plate, after the status information for obtaining first business board, the method also includes:
If determining according to the state information, first business board is not extracted, according in the link set after the refreshing Up to link, forwarding hardware is reconfigured, to corresponding interactive plate forwarding multicasting message, so that the interactive plate is by the multicast Message is forwarded to each business board in the network system.
5. according to the method described in claim 3, it is characterized in that, in the link set after the judgement refreshing can After whether being reduced up to link reachable link corresponding compared to the forwarding hardware of the current-configuration, the method also includes:
If increasing, according to the reachable link in the link set after the refreshing, forwarding hardware is reconfigured, to corresponding friendship Mutual plate forwarding multicasting message, so that the multicast message is forwarded to each business board in the network system by the interactive plate.
6. a kind of multicast channel selection device, which is characterized in that applied to the business board in the network system including multiple business boards, institute Stating device includes:
Module is obtained, for obtaining the status information of each business board of other in network system;
Configuration module, if for determining that the first business board in other described each business boards is extracted according to the state information, According to for counting each reachable link in the link set pre-established up to link, to corresponding interactive plate forwarding multicasting report Text, so that the multicast message is forwarded to each industry in the network system in addition to first business board by the interactive plate Business plate, the link set are the reachable link intersection with other each business boards.
7. device according to claim 6, which is characterized in that described device further include:
Respond module, for responding initialization start-up operation;
Determining module, for obtaining the link state in the network system between each interactive plate and each business board, determining and institute State the reachable link between other each business boards;
Module is established, for taking the intersection of each reachable link, establishes link set;
The configuration module is also used to forwarding hardware be configured, to corresponding interaction according to the reachable link in the link set Plate forwarding multicasting message, so that the multicast message is forwarded to each business board in the network system by the interactive plate;
Timing module, when reaching default timing cycle, is reacquired and is respectively handed in the network system for starting fixed cycle operator Link state between mutual plate and each business board, the determining reachable link between other described each business boards, and according to again Each reachable link obtained, refreshes the link set.
8. device according to claim 7, which is characterized in that described device further include:
Judgment module, for judge refresh after link set in reachable link it is corresponding with the forwarding hardware of current-configuration can It is whether consistent up to link;If inconsistent, the reachable link in the link set after judging the refreshing is current compared to described Whether the corresponding reachable link of the forwarding hardware of configuration is reduced;
The configuration module, if the judging result specifically for the judgment module is to reduce, for the reachable link reduced Corresponding first business board obtains the status information of first business board, if determining according to the state information described in executing The first business board in other described each business boards is extracted, then according to for counting in the link intersection pre-established up to link Each reachable link, the step of to corresponding interactive plate forwarding multicasting message.
9. device according to claim 8, which is characterized in that the configuration module is specifically used for:
If determining according to the state information, first business board is not extracted, according in the link set after the refreshing Up to link, forwarding hardware is reconfigured, to corresponding interactive plate forwarding multicasting message, so that the interactive plate is by the multicast Message is forwarded to each business board in the network system.
10. device according to claim 8, which is characterized in that the configuration module is specifically also used to:
If the judging result of the judgment module is to increase, according to the reachable link in the link set after the refreshing, weight New configuration forwarding hardware, to corresponding interactive plate forwarding multicasting message, so that the multicast message is forwarded to by the interactive plate Each business board in the network system.
11. a kind of business board, which is characterized in that including exchange chip and machine readable storage medium, the machine readable storage Media storage has the machine-executable instruction that can be executed by the exchange chip, and the exchange chip can be performed by the machine Instruction promotes: realizing any method and step of claim 1-5.
12. a kind of machine readable storage medium, which is characterized in that be stored with machine-executable instruction, called by exchange chip When with executing, the machine-executable instruction promotes the exchange chip: realizing any method step of claim 1-5 Suddenly.
CN201910062466.7A 2019-01-23 2019-01-23 Multicast routing method, device, service board and machine readable storage medium Active CN109818870B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910062466.7A CN109818870B (en) 2019-01-23 2019-01-23 Multicast routing method, device, service board and machine readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910062466.7A CN109818870B (en) 2019-01-23 2019-01-23 Multicast routing method, device, service board and machine readable storage medium

Publications (2)

Publication Number Publication Date
CN109818870A true CN109818870A (en) 2019-05-28
CN109818870B CN109818870B (en) 2021-07-20

Family

ID=66604831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910062466.7A Active CN109818870B (en) 2019-01-23 2019-01-23 Multicast routing method, device, service board and machine readable storage medium

Country Status (1)

Country Link
CN (1) CN109818870B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115460451A (en) * 2022-09-15 2022-12-09 浙江大华技术股份有限公司 Video playing method and device, storage medium and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1960282A (en) * 2006-08-31 2007-05-09 华为技术有限公司 Multicast service method and device of providing multiple types of protection and recovery
CN1937569B (en) * 2005-09-13 2010-06-23 西门子公司 Message processing method and relative apparatus in local area network
US8910198B2 (en) * 2010-06-02 2014-12-09 Time Warner Cable Enterprises Llc Multicast video advertisement insertion using routing protocols
CN107864094A (en) * 2017-11-15 2018-03-30 新华三技术有限公司 A kind of traffic routing method, device and machinable medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1937569B (en) * 2005-09-13 2010-06-23 西门子公司 Message processing method and relative apparatus in local area network
CN1960282A (en) * 2006-08-31 2007-05-09 华为技术有限公司 Multicast service method and device of providing multiple types of protection and recovery
US8910198B2 (en) * 2010-06-02 2014-12-09 Time Warner Cable Enterprises Llc Multicast video advertisement insertion using routing protocols
CN107864094A (en) * 2017-11-15 2018-03-30 新华三技术有限公司 A kind of traffic routing method, device and machinable medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115460451A (en) * 2022-09-15 2022-12-09 浙江大华技术股份有限公司 Video playing method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN109818870B (en) 2021-07-20

Similar Documents

Publication Publication Date Title
US10601728B2 (en) Software-defined data center and service cluster scheduling and traffic monitoring method therefor
CN101094102B (en) Main and standby switching method and route standby system for route device
CN101170459B (en) Failure detection and link recovery method based on bidirectional forward link
CN102035676B (en) ARP (Address Resolution Protocol) interaction based method and equipment for detecting and recovering link fault
CN101595696B (en) Multipath virtual router redundancy
CN100512292C (en) Apparatus and method of real-time recovering service
CN102355366B (en) Member-stacking device and method for managing member-stacking device at split stacking moment
CN101197733A (en) Automatic detection method and device for network connectivity
CN105164991A (en) Redundancy network protocol system
CN103780407A (en) Gateway dynamic switching method and apparatus in distributed resilient network interconnection (DRNI)
CN101005394A (en) Method and system for protecting multicast repeat path and service router
CN102137009A (en) Method, system and equipment for processing Dual-layer service in network
CN101841432A (en) Port backup method, device and system for service access router
CN101247290B (en) Ethernet switchboard high temperature ageing real-time monitoring method and system
WO2014090083A1 (en) Service bearing method and apparatus during distributed resilient network interconnect
CN101729426A (en) Method and system for quickly switching between master device and standby device of virtual router redundancy protocol (VRRP)
CN101674199A (en) Method for realizing switching during network fault and finders
CN103036716A (en) Method and system for link switchover
CN100521603C (en) Method for realizing high-usability of network security equipment under cluster mode
CN100450025C (en) Ethernet environment protection system and method
CN101909006A (en) BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof
CN102238069A (en) Data processing method and device for link switching process
CN101296126B (en) Link fault announcing method, interface management unit and router
CN104160667A (en) Method, Device, and System for Dual-Uplink Tangent Ring Convergence
CN102611566A (en) Method and device for recovering customer service

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230607

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.