Summary of the invention
The application provides a kind of multicast update method, device and communication equipment, and can improve PIM equipment can not cancel conductThe problem of candidate Rendezvous Point.
To achieve the goals above, technical solution provided by the embodiment of the present application is as follows:
In a first aspect, the embodiment of the present application provides a kind of multicast update method, applied to currently as candidate Rendezvous PointPIM equipment, which comprises
When the PIM equipment needs to cancel the identity of candidate Rendezvous Point of itself, from the information aggregate currently prestoredSearch the routing iinformation of BootStrap Router;When not finding the routing iinformation in the information aggregate, do not findingJudge whether there is new BootStrap Router in preset period of time after the routing iinformation, and described in cancelling according to judging resultThe identity of the candidate Rendezvous Point of PIM equipment.
In above-mentioned implementation, when PIM equipment needs to cancel the identity of candidate Rendezvous Point of itself, if not searchingTo BootStrap Router, PIM equipment be can detecte in network with the presence or absence of new BootStrap Router, help to find in time it is new fromRouter is lifted, so as to realize the revocation to the candidate Rendezvous Point identity of PIM equipment by new BootStrap Router in time.
With reference to first aspect, in some alternative embodiments, when not finding default after the routing iinformationNew BootStrap Router is judged whether there is in section, and cancels according to judging result the body of the candidate Rendezvous Point of the PIM equipmentPart, comprising:
In the preset period of time, when receiving the notification packet that new BootStrap Router is sent, determine described defaultThere are the new BootStrap Routers in period;Revocation notification packet is sent to the new BootStrap Router, for described newBootStrap Router according to the revocation notification packet, control is stored with each PIM equipment of the information aggregate from the letterThe registration information of the candidate Rendezvous Point is deleted in breath set, to update the information aggregate.
In the above-described embodiment, by judging whether there is the notice report sent by BootStrap Router in preset period of timeText helps to find new BootStrap Router in time to judge whether occur new BootStrap Router in preset period of time, thusBe conducive in time cancel the candidate Rendezvous Point identity of PIM by new BootStrap Router.
With reference to first aspect, in some alternative embodiments, after not finding the routing iinformation, and to instituteNew BootStrap Router is stated to send before cancelling notification packet, the method also includes:
With the PIM equipment other routers in a network a router conduct is elected in the network jointlyThe new BootStrap Router sends the notification packet to each PIM equipment for the new BootStrap Router.
In the above-described embodiment, when there is currently no BootStrap Router, new BootStrap Router can be elected, newAfter BootStrap Router is elected, notification packet can be sent to the PIM equipment in the whole network, to inform itself presence.BaseIn this, help to cancel by candidate Rendezvous Point identity of the new BootStrap Router to PIM equipment in time, shortens revocation behaviourThe duration of work.
With reference to first aspect, in some alternative embodiments, the method also includes: noticed from the revocation is storedThe revocation notification packet is deleted in the caching of message.
In the above-described embodiment, PIM equipment can delete revocation notification packet from own cache, be delayed with timely reduceThe utilization rate deposited increases the residual memory space of caching.
With reference to first aspect, in some alternative embodiments, when not finding default after the routing iinformationNew BootStrap Router is judged whether there is in section, and cancels according to judging result the body of the candidate Rendezvous Point of the PIM equipmentPart, comprising:
In the preset period of time, when not receiving the notification packet that the new BootStrap Router is sent, institute is determinedIt states and the new BootStrap Router is not present in preset period of time;The registration of the candidate Rendezvous Point is deleted from the information aggregateInformation, to update the information aggregate.
In the above-described embodiment, when not listening to new BootStrap Router presence in preset period of time, PIM equipment canBy way of timing deletion, to cancel itself identity as candidate Rendezvous Point, improve because indefinitely waiting bootstrapping routingDevice and the problem of the identity of candidate Rendezvous Point can not be cancelled in time.
With reference to first aspect, in some alternative embodiments, the method also includes: according to updated information collectionIt closes, determines a PIM equipment as new Rendezvous Point from multiple PIM equipment in the updated information aggregate.
In the above-described embodiment, new Rendezvous Point can be used for being updated the multicast mode of network in time, helpIn the stability and robustness that improve multicast network.
With reference to first aspect, in some alternative embodiments, the routing iinformation includes the BootStrap RouterAt least one of address information, described PIM equipment to the communication path information of the BootStrap Router.
In the above-described embodiment, using the address information of BootStrap Router, above-mentioned communication path information, be conducive to fastSpeed accurately judges in network with the presence or absence of BootStrap Router.
Second aspect, the embodiment of the present application also provide a kind of multicast updating device, are applied to current as candidate Rendezvous PointPIM equipment, described device includes:
Information searching unit, when the identity of candidate Rendezvous Point for needing to cancel itself in the PIM equipment, from currentThe routing iinformation of BootStrap Router is searched in the information aggregate prestored;
Revocation unit, it is described not finding for when not finding the routing iinformation in the information aggregateNew BootStrap Router is judged whether there is in preset period of time after routing iinformation, and the PIM is cancelled according to judging result and is setThe identity of standby candidate Rendezvous Point.
In conjunction with second aspect, in some alternative embodiments, the revocation unit is also used to:
In the preset period of time, when receiving the notification packet that new BootStrap Router is sent, determine described defaultThere are the new BootStrap Routers in period;Revocation notification packet is sent to the new BootStrap Router, for described newBootStrap Router according to the revocation notification packet, control is stored with each PIM equipment of the information aggregate from the letterThe registration information of the candidate Rendezvous Point is deleted in breath set, to update the information aggregate.
In conjunction with second aspect, in some alternative embodiments, described device further includes election unit, in the informationAfter searching unit does not find the routing iinformation, and revocation is sent to the new BootStrap Router in the revocation unit and is led toBefore accusing message, the election unit be used for the PIM equipment other routers in a network jointly in the networkOne router of middle election is as the new BootStrap Router, and the new BootStrap Router to each PIM for settingPreparation send the notification packet.
In conjunction with second aspect, in some alternative embodiments, described device further includes deleting unit, is used for from storageThe revocation notification packet is deleted in the caching of the revocation notification packet.
In conjunction with second aspect, in some alternative embodiments, the revocation unit is also used to:
In the preset period of time, when not receiving the notification packet that the new BootStrap Router is sent, institute is determinedIt states and the new BootStrap Router is not present in preset period of time;The registration of the candidate Rendezvous Point is deleted from the information aggregateInformation, to update the information aggregate.
In conjunction with second aspect, in some alternative embodiments, described device further includes node determination unit, is used for rootAccording to updated information aggregate, a PIM equipment conduct is determined from multiple PIM equipment in the updated information aggregateNew Rendezvous Point.
The third aspect, the embodiment of the present application also provide a kind of communication equipment, and the communication equipment includes the place to intercoupleDevice, memory are managed, storage computer program makes when the computer program is executed by the processor in the memoryIt obtains the communication equipment and executes above-mentioned method.
Fourth aspect, the embodiment of the present application also provide a kind of computer readable storage medium, in the readable storage medium storing program for executingIt is stored with computer program, when the computer program is run on computers, so that the computer executes above-mentioned sideMethod.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application is described.It needsIt is noted that term " first ", " second " etc. are only used for distinguishing description, it is not understood to indicate or imply relatively importantProperty.
It has been found that in multicast network, when PIM equipment is not necessarily to as candidate Rendezvous Point (Candidate-Rendezvous Point, C-RP) when, it is not present after BootStrap Router (Bootstrap Router, BSR) in a network,The PIM equipment just will not continue to send revocation notification packet, which can not also cancel the candidate Rendezvous Point body of itself in timePart.At this point, the PIM equipment is just invalid candidate Rendezvous Point, the election for participating in subsequent Rendezvous Point will continue to, to influence instituteThe reliability of the Rendezvous Point of election.
In view of the above problems, present applicant proposes that following embodiment is above-mentioned to solve by the exploration that studies for a long period of timeProblem.With reference to the accompanying drawing, it elaborates to the embodiment of the present application.In the absence of conflict, following embodiment and realityThe feature applied in example can be combined with each other.
Fig. 1 is please referred to, multicast network system provided by the present application may include PIM equipment 10 and PIM equipment 30, and PIM is setStandby 10 can establish communication connection by network with PIM equipment 30 to carry out data interaction.Wherein, PIM equipment 10 is current makeFor candidate Rendezvous Point and need to cancel the PIM equipment as candidate's Rendezvous Point identity, PIM equipment 30 is to remove PIM in network to setOther PIM equipment except standby 10.The quantity of PIM equipment 10 and PIM equipment 30 can be determined according to the actual situation, thisIn the quantity of equipment is not especially limited.
PIM equipment (including PIM equipment 10, PIM equipment 30) can be supported protocol independent multicast Routing Protocol-sparse mouldThe equipment such as router, the interchanger of formula (Protocol Independent Multicast-Sparse Mode, PIM-SM).ItsIn, the router in network can also be elected as BootStrap Router 20.
Understandably, after BootStrap Router 20 is determined, the BootStrap Router 20 just PIM equipment into the whole networkNotice the presence of itself.PIM equipment 10 in network can listen to the notification packet that BootStrap Router 20 is flooded, and save certainlyLifting the relevant information of router 20, (for example the MAC Address of BootStrap Router 20, IP address, BootStrap Router 20 arrive PIM equipment 10Communication path information etc.).Each candidate's Rendezvous Point can send respective candidate notification packet to BootStrap Router 20 respectively.After BootStrap Router 20 has collected the candidate notice that all candidate Rendezvous Points are sent, collected notification packet can be convergedAlways, then summary information is flooded to the whole network, so that the PIM equipment in the whole network knows that all candidates in the whole network collectPoint.Wherein, flooding can be regarded as: the message received from an interface of router, to the total interface hair in addition to the interfaceIt sees off.
Referring to figure 2., multicast update method provided by the embodiments of the present application can be applied to above-mentioned multicast network system,Can be by the execution of PIM equipment 10 or each step of implementation method, can improve PIM equipment 10 can not cancel candidate Rendezvous Point in timeThe problem of, shorten the duration of destruction operation.
In the present embodiment, multicast update method may comprise steps of:
Step S210, when the PIM equipment 10 needs to cancel the identity of candidate Rendezvous Point of itself, from what is currently prestoredThe routing iinformation of BootStrap Router 20 is searched in information aggregate;
Step S220 is not finding the routing when not finding the routing iinformation in the information aggregateNew BootStrap Router is judged whether there is in preset period of time after information, and the PIM equipment 10 is cancelled according to judging resultCandidate Rendezvous Point identity.
In the above-described embodiment, when PIM equipment 10 needs to cancel the identity of candidate Rendezvous Point of itself, if not looking intoBootStrap Router 20 is found, PIM equipment 10 can detecte in network with the presence or absence of new BootStrap Router.Pass through detection judgementMovement, helps to find new BootStrap Router in time, so as to be realized in time by new BootStrap Router to PIM equipmentThe revocation of 10 candidate Rendezvous Point identity improves because BootStrap Router is not present in network thus can not be in time to PIM equipmentThe problem of candidate Rendezvous Point identity is cancelled.
Each step of the multicast update method provided embodiment is described in detail below:
Step S210, when the PIM equipment 10 needs to cancel the identity of candidate Rendezvous Point of itself, from what is currently prestoredThe routing iinformation of BootStrap Router 20 is searched in information aggregate.
In the present embodiment, each PIM equipment in network environment can be used as candidate Rendezvous Point, alternatively, network environmentIn part PIM equipment can be used as candidate Rendezvous Point, here the quantity of the PIM equipment 10 as candidate Rendezvous Point is not made to haveBody limits.Wherein, which is the network environment where the current PIM equipment as candidate Rendezvous Point.In addition, Rendezvous PointIt is usually operated in the higher PIM equipment 10 of performance.PIM equipment 10 needs to cancel the situation of the identity of the candidate Rendezvous Point of itselfIt can include but is not limited to: the situations such as candidate Rendezvous Point is no longer valid, PIM equipment 10 current loads are larger.
For example, the time-to-live of candidate Rendezvous Point is more than specified duration, then it is assumed that the candidate collects point failure, when this is specifiedLength can be configured according to the actual situation.Alternatively, the current memory occupancy of PIM equipment 10 is more than setting value, then it is assumed that shouldThe current loads of PIM equipment 10 are larger, are unsatisfactory for the condition as candidate Rendezvous Point.Wherein, which can be according to realitySituation is configured, and is not especially limited here.
PIM equipment 10 is previously stored with information aggregate, which can be referred to as RP-SET (or RP set), can be withIncluding but not limited to: PIM equipment 10 the registration information of Rendezvous Point in a network, the registration information of candidate Rendezvous Point, communicationPath, routing iinformation of BootStrap Router 20 etc..
It understandably, does not just include BootStrap Router 20 in information aggregate if BootStrap Router 20 is not present in networkRouting iinformation.The routing iinformation of BootStrap Router 20 may include the BootStrap Router 20 address information (such as fromLift the MAC Address of router 20, IP address), in the communication path information of the PIM equipment 10 to the BootStrap Router 20It is at least one.
In addition, run in network where PIM equipment 10 or the equipment such as router, interchanger for supporting PIM-SM (such asAbove-mentioned PIM equipment 30) it is stored with above-mentioned information aggregate.
When PIM equipment 10 needs to cancel itself identity as candidate Rendezvous Point, PIM equipment 10 can be stored from itselfInformation aggregate in search BootStrap Router 20 routing iinformation.If there is no the routings of BootStrap Router 20 to believe in information aggregateBreath, PIM equipment 10 will be considered that there is no BootStrap Routers 20 in network.
For example, PIM equipment 10 does not find the MAC Address of BootStrap Router 20 in the information aggregate that itself is stored,Or the IP address of BootStrap Router 20 is not found, or do not find the PIM equipment 10 to the logical of BootStrap Router 20Believe routing information, then it is assumed that do not find the routing iinformation of BootStrap Router 20 in information aggregate.
Step S220 is not finding the routing when not finding the routing iinformation in the information aggregateNew BootStrap Router is judged whether there is in preset period of time after information, and the PIM equipment 10 is cancelled according to judging resultCandidate Rendezvous Point identity.
In the present embodiment, if PIM equipment 10 does not find the routing iinformation of BootStrap Router 20 in information aggregate,PIM equipment 10 will be considered that there is no BootStrap Routers 20 in current network.At this point, PIM equipment 10 can be in following a period of timeInterior (can be regarded as above-mentioned preset period of time) waits in network whether will appear new BootStrap Router, if when this is one section followingInterior to wait until that new BootStrap Router occurs, PIM equipment 10, which will judge to obtain, indicates that there are new bootstrappings in preset period of timeFirst judging result of router.Wherein, preset period of time can be configured according to the actual situation, such as can be 1 minute, 2The durations such as minute, 3 minutes.
(determine that there are new BootStrap Routers namely in preset period of time) when judging result is the first judging result,Cancelling PIM equipment 10 can be with as the mode of candidate Rendezvous Point are as follows: PIM equipment 10 sends revocation to new BootStrap Router and noticesMessage, the PIM equipment that revocation notification packet is used for for new BootStrap Router into the whole network is noticed, so that in the whole networkPIM equipment deletes registration information of the PIM equipment 10 as candidate Rendezvous Point in the information aggregate of various storages, to cancelIdentity of the PIM equipment 10 as candidate Rendezvous Point.
If PIM equipment 10 does not wait until that new BootStrap Router occurs, and PIM equipment 10 will within following a period of timeJudgement obtains indicating the second judging result that new BootStrap Router is not present in preset period of time.At this point, revocation PIM equipment 10Mode as candidate Rendezvous Point can be with are as follows: can in the information aggregate of each PIM equipment (including PIM equipment 10, PIM equipment 30)It is synchronization at the time of each timer starts timing to be previously provided with timer (or timer), and each timerTime synchronization.Whenever the when a length of preset duration of timer record, each PIM equipment can delete the letter of itself storage respectivelyCorresponding registration information in breath set.Understandably, the registration information deleted is that PIM equipment 10 (needs to cancel candidate to collectThe PIM equipment 10 of point identity) registration information as candidate Rendezvous Point so that PIM equipment in the whole network can timing oneselfIt is dynamic to delete the registration information, achieve the purpose that cancel identity of the PIM equipment 10 as candidate Rendezvous Point.
As an alternative embodiment, step S220 may include: to receive new in the preset period of timeWhen the notification packet that BootStrap Router is sent, determine that there are the new BootStrap Routers in the preset period of time;To described newBootStrap Router send revocation notification packet, for the new BootStrap Router according to the revocation notification packet, controlThe each PIM equipment for being stored with the information aggregate deletes the registration information of the candidate Rendezvous Point from the information aggregate,To update the information aggregate.
In the present embodiment, if occurring new BootStrap Router in network, which can be general to the whole networkBig vast notification packet, to inform the presence of the PIM equipment in the whole network itself, so that the PIM equipment in the whole network stores bootstrapping routingAddress, communication path information of device 20 etc..Wherein, new BootStrap Router can be same with BootStrap Router 20 beforeRouter is also possible to different routers, can conduct an election to obtain according to the actual situation.The whole network can be regarded as PIM equipmentNetwork where 10.
The mode that PIM equipment 10 judges whether there is new BootStrap Router in preset period of time can be with are as follows: when defaultSection in whether receives notification packet, and judge institute received notification packet whether be BootStrap Router 20 transmission message.IfNotification packet is received in preset period of time, and determines that the notification packet is the notification packet that BootStrap Router 20 is sent, thenThink that there are new BootStrap Routers in preset period of time.If being not received by notification packet in preset period of time, or determineReceived notification packet be not be notification packet that BootStrap Router 20 is sent, then it is assumed that there is no new in preset period of timeBootStrap Router.
BootStrap Router 20, can be from the letter itself stored after the revocation notification packet for receiving the transmission of PIM equipment 10Registration information of the PIM equipment 10 as candidate Rendezvous Point is deleted in breath set, to update information aggregate.Then, BootStrap RouterThe 20 PIM equipment into the whole network floods the update message for updating information aggregate, so that each PIM equipment updates respectively storageInformation aggregate so that the registration in the information aggregate respectively stored there is no PIM equipment 10 as candidate Rendezvous Point is believedBreath.Understandably, the PIM equipment in the whole network is also achieved that PIM equipment 10 as candidate after deleting the registration informationThe revocation of Rendezvous Point identity.
In the above-described embodiment, by monitoring the notice report sent with the presence or absence of BootStrap Router 20 in preset period of timeText helps to find new BootStrap Router in time to judge whether occur new BootStrap Router in preset period of time, thusBe conducive in time cancel the candidate Rendezvous Point identity of PIM equipment 10 by BootStrap Router 20.
As an alternative embodiment, after not finding the routing iinformation, and to the new bootstrapping roadBefore sending revocation notification packet by device, the method also includes:
With the PIM equipment 10 other routers in a network elect a router to make in the network jointlyFor the new BootStrap Router, the notification packet is sent to each PIM equipment for the new BootStrap Router.
Understandably, do not finding in another preset period of time after the routing iinformation (another preset period of timeDuration is less than the duration of above-mentioned preset period of time), the router in the whole network can elect a router as current jointlyBootStrap Router 20, the current BootStrap Router 20 elected also just be new BootStrap Router.The current bootstrapping routing of electionThe mode of device 20 includes but is not limited to: being chosen between each router according to the priority of router setting, priority is mostA high router can be as current BootStrap Router 20, and wherein priority can carry out in advance according to the actual situationSetting, is not especially limited here;Alternatively, choosing the maximum router of IP address as current according to the IP address of routerBootStrap Router 20.
In the above-described embodiment, there is currently no when BootStrap Router 20, new BootStrap Router can be elected, newlyBootStrap Router elected after, just PIM equipment into the whole network sends notification packet, to inform itself presence.BaseIn this, help to cancel by candidate Rendezvous Point identity of the new BootStrap Router to PIM equipment 10 in time, shortens revocationThe duration of operation.
As an alternative embodiment, step S220 may include: not receive institute in the preset period of timeWhen stating the notification packet that new BootStrap Router is sent, determine that there is no the new BootStrap Routers in the preset period of time;The registration information of the candidate Rendezvous Point is deleted, from the information aggregate to update the information aggregate.
Understandably, when not listening to new BootStrap Router presence in preset period of time, PIM equipment 10 can pass throughThe mode that timing is deleted deletes registration information of the PIM equipment 10 as candidate Rendezvous Point from the information aggregate that itself is stored, fromAnd realize the revocation to PIM equipment 10 as candidate Rendezvous Point identity.Based on this, even if there is no bootstrapping roads in PIM equipment 10By device 20 routing iinformation or can not be communicated with BootStrap Router 20, PIM equipment 10 can also pass through timing delete sideFormula deletes registration information.
As an alternative embodiment, method can also include: from the caching for storing the revocation notification packetDelete the revocation notification packet.
In the present embodiment, if the current PIM equipment 10 as candidate Rendezvous Point needs to cancel itself as candidate and collectsWhen the identity of point, which can be generated revocation notification packet, and store in the buffer.Itself is cancelled in PIM equipment 10After identity as candidate Rendezvous Point, which can delete revocation notification packet from own cache, to drop in timeThe utilization rate deposited at a low speed increases the residual memory space of caching, helps to improve the current performance of PIM equipment 10.
As an alternative embodiment, method can also include: according to updated information aggregate, from the updateDetermine a PIM equipment 10 as new Rendezvous Point in multiple PIM equipment 10 in information aggregate afterwards.
Understandably, after the candidate Rendezvous Point cancelled, the PIM equipment 10 in the whole network can be againAccording to the multiple PIM equipment 10 recorded in updated information aggregate, a PIM equipment is determined from this multiple PIM equipment 1010 as new Rendezvous Point.For example, the equipment that current performance can be selected best from multiple PIM equipment 10 is collected as newThe PIM equipment 10 of point helps to improve the stabilization of multicast network in order to be updated by new Rendezvous Point to multicast modeProperty and robustness.
Referring to figure 3., the embodiment of the present application also provides a kind of communication equipment 40, can be used for executing or realizing above-mentioned groupBroadcast update method.Communication equipment 40 can be the equipment such as router, the interchanger of support PIM-SM.The communication equipment 40 can wrapInclude processing module 41, memory module 42, communication module 43 and multicast updating device 100, processing module 41, memory module 42,It is directly or indirectly electrically connected between communication module 43 and each element of multicast updating device 100, to realize the biography of dataDefeated or interaction.It is electrically connected for example, these elements can be realized between each other by one or more communication bus or signal wire.
Processing module 41 can be a kind of IC chip, the processing capacity with signal.Above-mentioned processing module 41 canTo be general processor.For example, the processor can be central processing unit (Central Processing Unit, CPU), netNetwork processor (Network Processor, NP) etc.;It can also be digital signal processor (Digital SignalProcessing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existingField programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device are dividedVertical door perhaps transistor logic, discrete hardware components may be implemented or executes in the embodiment of the present application it is disclosed respectivelyMethod, step and logic diagram.
Memory module 42 may be, but not limited to, random access memory, read-only memory, programmable read only memory,Erasable Programmable Read Only Memory EPROM, electrically erasable programmable read-only memory etc..In the present embodiment, memory module 42 can be withFor storing information aggregate, wherein may include route table items in information aggregate.Certainly, memory module 42 can be also used for depositingProgram is stored up, processing module 41 executes the program after receiving and executing instruction.
Communication module 43 is used to establish the communication connection of PIM equipment 10 Yu PIM equipment 30 by network, and is received by networkSend out data.
Multicast updating device 100 includes that at least one can be stored in storage mould in the form of software or firmware (firmware)In block 42 or the software function module that is solidificated in 40 operating system of communication equipment (Operating System, OS).Handle mouldBlock 41 is for executing the executable module stored in memory module 42, such as software function included by multicast updating device 100Module and computer program etc..
It is understood that structure shown in Fig. 3 is only a kind of structural schematic diagram of communication equipment 40, communication equipment 40 is alsoIt may include than more components shown in Fig. 3.Each component shown in Fig. 3 can be realized using hardware, software, or its combination.
Referring to figure 4., the embodiment of the present application also provides a kind of multicast updating device 100, can be applied to above-mentioned PIM and setsIn standby 10, for executing or realizing each step of multicast update method.The multicast updating device 100 may include information searching listMember 110 and revocation unit 120.
Information searching unit 110, when the identity of candidate Rendezvous Point for needing to cancel itself in the PIM equipment 10,The routing iinformation of BootStrap Router 20 is searched from the information aggregate currently prestored.
Revocation unit 120, for not finding institute when not finding the routing iinformation in the information aggregateNew BootStrap Router is judged whether there is in preset period of time after stating routing iinformation, and the PIM is cancelled according to judging resultThe identity of the candidate Rendezvous Point of equipment 10.
Optionally, the revocation unit 120 can be also used for: in the preset period of time, receive new bootstrapping roadWhen the notification packet sent by device, determine that there are the new BootStrap Routers in the preset period of time;To the new bootstrappingRouter sends revocation notification packet, and for the new BootStrap Router according to the revocation notification packet, control is stored withEach PIM equipment of the information aggregate deletes the registration information of the candidate Rendezvous Point from the information aggregate, to updateThe information aggregate.
Wherein, routing iinformation may include the address information of the BootStrap Router 20, the PIM equipment 10 to it is described fromLift at least one of the communication path information of router 20.
Optionally, revocation unit 120 can be also used for: in the preset period of time, not receive the new bootstrappingWhen the notification packet that router is sent, determine that there is no the new BootStrap Routers in the preset period of time;From the informationThe registration information of the candidate Rendezvous Point is deleted in set, to update the information aggregate.
Optionally, multicast updating device 100 can also include election unit.It is not searched in the information searching unit 110To after the routing iinformation, and before the revocation unit 120 sends revocation notification packet to the new BootStrap Router,The election unit is used for and the election one in the network jointly of the PIM equipment 10 institute other routers in a networkAs the new BootStrap Router, the new BootStrap Router is used for described in each PIM equipment transmission routerNotification packet.
Optionally, multicast updating device 100 can also include deleting unit, for from storing the revocation notification packetThe revocation notification packet is deleted in caching.
Optionally, multicast updating device 100 can also include node determination unit, for according to updated information collectionIt closes, determines a PIM equipment 10 as new Rendezvous Point from multiple PIM equipment 10 in the updated information aggregate.
It should be noted that it is apparent to those skilled in the art that, for convenience and simplicity of description, onThe communication equipment 40 of description, the specific work process of multicast updating device 100 are stated, it can be with reference to each step pair in preceding methodProcess is answered, is no longer excessively repeated herein.
The embodiment of the present application also provides a kind of computer readable storage medium.Computer journey is stored in readable storage medium storing program for executingSequence, when computer program is run on computers, so that computer executes such as above-mentioned multicast update side as described in the examplesMethod.
Through the above description of the embodiments, those skilled in the art can be understood that the application can lead toHardware realization is crossed, the mode of necessary general hardware platform can also be added to realize by software, based on this understanding, this ShenTechnical solution please can be embodied in the form of software products, which can store in a non-volatile memoriesIn medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions are used so that a computer equipment (can bePersonal computer, server or network equipment etc.) execute method described in each implement scene of the application.
In conclusion the application provides a kind of multicast update method, device and communication equipment.This method can be applied to work asThe preceding PIM equipment as candidate Rendezvous Point, method include: when PIM equipment needs to cancel the identity of candidate Rendezvous Point of itself,The routing iinformation of BootStrap Router is searched from the information aggregate currently prestored;When not finding routing iinformation in information aggregateWhen, new BootStrap Router is judged whether there is in the preset period of time after routing iinformation not finding, and according to judging resultCancel the identity of the candidate Rendezvous Point of PIM equipment.In the present solution, when PIM equipment needs to cancel the candidate Rendezvous Point of itselfWhen identity, if not finding BootStrap Router, PIM equipment be can detecte in network with the presence or absence of new BootStrap Router, be hadHelp find new BootStrap Router in time, so as to realize the candidate to PIM equipment by new BootStrap Router in timeThe revocation of Rendezvous Point identity.
In embodiment provided herein, it should be understood that disclosed devices, systems, and methods can also lead toOther modes are crossed to realize.Devices, systems, and methods embodiment described above is only schematical, for example, in attached drawingFlow chart and block diagram show that the system of multiple embodiments according to the application, the possibility of method and computer program product are realExisting architecture, function and operation.In this regard, each box in flowchart or block diagram can represent module, a journeyA part of sequence section or code, a part of the module, section or code include one or more for realizing definedThe executable instruction of logic function.It should also be noted that in some implementations as replacement, function marked in the boxIt can also occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be substantially in parallelIt executes, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/Or the combination of each box in flow chart and the box in block diagram and or flow chart, can with execute as defined in function orThe dedicated hardware based system of movement is realized, or can be realized using a combination of dedicated hardware and computer instructions.In addition, each functional module in each embodiment of the application can integrate one independent part of formation together, it can also be withIt is modules individualism, an independent part can also be integrated to form with two or more modules.
The foregoing is merely preferred embodiment of the present application, are not intended to limit this application, for the skill of this fieldFor art personnel, various changes and changes are possible in this application.Within the spirit and principles of this application, made any to repairChange, equivalent replacement, improvement etc., should be included within the scope of protection of this application.