CN106789623B - Link communication support method and system based on ospf protocol - Google Patents
Link communication support method and system based on ospf protocol Download PDFInfo
- Publication number
- CN106789623B CN106789623B CN201611220810.3A CN201611220810A CN106789623B CN 106789623 B CN106789623 B CN 106789623B CN 201611220810 A CN201611220810 A CN 201611220810A CN 106789623 B CN106789623 B CN 106789623B
- Authority
- CN
- China
- Prior art keywords
- control centre
- router
- level
- designated router
- designated
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
- H04L45/026—Details of "hello" or keep-alive messages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/12—Shortest path evaluation
Abstract
The present invention provides a kind of link communication support method and system based on ospf protocol, the described method includes: under Open Shortest Path First ospf protocol, election level-one control centre is Designated Router, and secondary control centre and three class control center are neighbor router;Obtain neighbours' number that Designated Router described in hello packet and the neighbor router carry;When neighbours' number that Designated Router carries is less than neighbours' number of some neighbor router, determine communication link fails between level-one control centre and secondary control centre, triggering re-elects Designated Router, so that restoring to communicate between level-one control centre and secondary control centre, the reliability of link during equipment transmission data ensure that.
Description
Technical field
The present invention relates to the multi-channel redundant communications field more particularly to a kind of link communication indemnifying parties based on ospf protocol
Method and system.
Background technique
On ip networks, OSPF (Open Shortest Path First, ospf) agreement passes through
The link state of autonomous system is collected and transmitted dynamically to find and propagate routing.In the agreement, by between router
Neighborhood is established, then link exchange context information obtains the information of other routers, and thus generates routing letter
Breath.The router of each operation ospf protocol is always by the connection status of local network (such as usable interface information, reachable neighbours
Information etc.), it is described with LSA (Link State Advertisement, Link State Advertisement), and be broadcast to entire AS
In (Autonomous System, autonomous system).In this way, every router all has received what all-router in AS generated
Link State Advertisement.
In broadcast and NBMA (non-broadcast multi-access, non-broadcasting multiple access) type network,
Ospf protocol regulation passes through election DR (Designated Router, Designated Router) and BDR (Backup Designated
Router, backup designated router) reduce message interaction.The router of same network segment is only established with DR and BDR router adjacent
Occupy relationship, and link exchange context information.
In the prior art, the demand of ospf protocol Solving Multichannel redundant backup communication channel prior selection is usually utilized.
But in certain special application scenarios, the ospf protocol of standard will be unable to operate normally.For example, applied field shown in Fig. 1
Jing Zhong, solid line represent optical fiber, and dotted line represents WiMAX.The application scenarios require secondary control centre that can only pass through optical fiber or nothing
Line width band is communicated with level-one control centre, and a secondary control centre cannot be by another secondary control centre transfer, will
Information is transferred to level-one control centre.If election level-one control centre is DR by ospf protocol operation under this application scenarios,
Secondary control centre 3 is BDR, other secondary control centres are DROther.When all secondary control centres and control centre
Out of touch, then OSPF is automatically performed DR and re-elects;And when the secondary control centre in part and level-one control centre are out of touch
When, in such cases, DR will not be re-elected according to ospf protocol, so that link switchover can not be carried out, level-one control centre will
It can not be communicated with secondary control centre, when the data of especially equipment transmission are control command, data transmission credibility is showed
It is particularly important.
Above scheme is only based on individual equipment and makes link switching judgement, is not based on the link state of whole system
Judgement, cause system multi-channel redundant cooperate not enough, the network topology structure so as to cause whole system is not optimal
Change.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind
State a kind of link communication support method and system based on ospf protocol of problem.
The present invention provides a kind of link communication support method based on ospf protocol, the implementation method be applied to include
Level-one control centre, several secondary control centres, several three class control centers and wireless base station communication system, wherein institute
It states level-one control centre and is communicated by wire link with secondary control centre, the wireless base station passes through Radio Link and level-one control
Center processed and secondary control centre's communication, which comprises
Under Open Shortest Path First ospf protocol, election level-one control centre is Designated Router, in secondary control
The heart and three class control center are neighbor router;
Obtain neighbours' number that Designated Router described in hello packet and the neighbor router carry;
When neighbours' number that Designated Router carries is less than neighbours' number of some neighbor router, level-one control is determined
Communication link fails between center and secondary control centre, triggering re-elect Designated Router so that level-one control centre with
Restore communication between secondary control centre.
Optionally, triggering re-elects Designated Router and includes:
The priority for obtaining the neighbor router and Designated Router, according to election mechanism, re-elect specified circuit by
Device;
It when electing multiple Designated Routers, further conducts an election by comparing router id, so that entire autonomous
Only one Designated Router of system.
Optionally, triggering re-elects Designated Router and includes:
The priority for obtaining the neighbor router and Designated Router, according to election mechanism, re-elect specified circuit by
Device;
When electing multiple Designated Routers, if the multiple Designated Router includes backup designated router,
Electing the backup designated router is new Designated Router.
Optionally, three class control center passes through secondary control centre and communicates with level-one control centre, three class control center and
Link communication between secondary control centre includes a station telecommunication and a fiber optic communication, the method also includes:
When the optic communication links failure and station telecommunication link between some secondary control centre and three class control center
When normal, hello packet is broadcasted by described secondary quick the whole network of control centre, so that the network equipment quickly deletes the three-level control
The neighbor information at center processed.
Optionally, the method also includes:
When the optic communication links between some secondary control centre and three class control center restore, by the three-level control
Quick the whole network in center processed broadcasts hello packet, so that OSPF quickly calculates routing, realizes in level-one control centre and three class control
Communication between the heart.
The link communication safeguards system based on ospf protocol that invention further provides a kind of, the system comprises level-one controls
Center, several secondary control centres, several three class control centers and wireless base station, wherein the level-one control centre passes through
Wire link is communicated with secondary control centre, and the wireless base station passes through in Radio Link and level-one control centre and secondary control
Heart communication, the level-one control centre, the sectional center and the three class control center include:
Elect module, under Open Shortest Path First ospf protocol, election level-one control centre be specified circuit by
Device, secondary control centre and three class control center are neighbor router;
Module is obtained, the neighbours carried for obtaining Designated Router described in hello packet and the neighbor router
Number;
Trigger module, neighbours' number for carrying when Designated Router are less than neighbours' number of some neighbor router
When, determining communication link fails between level-one control centre and secondary control centre, triggering re-elects Designated Router, so that
Restore to communicate between level-one control centre and secondary control centre.
Optionally, the trigger module is also used to obtain the priority of the neighbor router and Designated Router, according to
Election mechanism re-elects Designated Router;When electing multiple Designated Routers, further by comparing router id into
Row election, so that only one Designated Router of entire autonomous system.
Optionally, the trigger module is also used to obtain the priority of the neighbor router and Designated Router, according to
Election mechanism re-elects Designated Router;When electing multiple Designated Routers, if the multiple Designated Router packet
Containing backup designated router, then electing the backup designated router is new Designated Router.
Optionally, three class control center passes through secondary control centre and communicates with level-one control centre, three class control center and
Link communication between secondary control centre includes a station telecommunication and a fiber optic communication, the level-one control centre, institute
It states sectional center and the three class control centring system is equal further include:
Restrain module, for when the optic communication links failure between some secondary control centre and three class control center and
When station telecommunication link is normal, hello packet is broadcasted by described secondary quick the whole network of control centre, so that the network equipment is quickly deleted
Except the neighbor information at the three class control center.
Optionally, the level-one control centre, the sectional center and the three class control centring system are also wrapped
It includes:
Recovery module, for restoring when the optic communication links between some secondary control centre and three class control center
When, hello packet is broadcasted by the quick the whole network in the three class control center, so that OSPF quickly calculates routing, realizes level-one control
Communication between center and three class control center.
The present invention relates to the link communication support method and system of a kind of ospf protocol, the implementation method be applied to include
Level-one control centre, several secondary control centres, several three class control centers and wireless base station communication system, wherein institute
It states level-one control centre and is communicated by wire link with secondary control centre, the wireless base station passes through Radio Link and level-one control
Center processed and the communication of secondary control centre, which comprises under Open Shortest Path First ospf protocol, elect level-one control
Center processed is Designated Router, and secondary control centre and three class control center are neighbor router;It obtains described in hello packet
Neighbours' number that Designated Router and the neighbor router carry;When neighbours' number that Designated Router carries is less than some neighbour
When occupying neighbours' number of router, communication link fails between level-one control centre and secondary control centre are determined, triggering is again
Designated Router is elected, so that restoring to communicate between level-one control centre and secondary control centre, ensure that equipment transmission data
The reliability of link in the process.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Link communication structural block diagram of the Fig. 1 between existing communication equipment;
Fig. 2 is a kind of link communication support method flow chart based on ospf protocol provided in an embodiment of the present invention;
Fig. 3 is a kind of link communication support method flow chart based on ospf protocol provided in an embodiment of the present invention;
Fig. 4 is that a kind of three class control center provided in an embodiment of the present invention passes through secondary control centre and level-one control centre
The method flow diagram of communication;
Fig. 5 is a kind of link communication safeguards system structure chart based on ospf protocol provided in an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
It is unable to operate normally to solve ospf protocol in the prior art in certain special screnes, causes the multichannel of system
Redundancy is assisted not enough, and the network topology structure so as to cause whole system is not embodiment of the present invention the technical issues of optimization
Provide a kind of link communication support method and system based on ospf protocol.
Below with reference to attached drawing is illustrated, the embodiment of the present invention is illustrated.
Fig. 2 is a kind of flow chart of the link communication support method based on ospf protocol provided in an embodiment of the present invention, should
Implementation method is applied to including level-one control centre, several secondary control centres, several three class control centers and wireless base station
Communication system, wherein the level-one control centre by wire link with secondary control centre communicate, which passes through nothing
Wired link is communicated with level-one control centre and secondary control centre.This method comprises:
201, under Open Shortest Path First ospf protocol, election level-one control centre is Designated Router, secondary control
Center processed and three class control center are neighbor router.
202, neighbours' number that Designated Router described in hello packet and the neighbor router carry is obtained.
203, when neighbours' number that Designated Router carries is less than neighbours' number of some neighbor router, determine level-one
Communication link fails between control centre and secondary control centre, triggering re-elect Designated Router, so that in level-one control
Restore to communicate between the heart and secondary control centre.
The executing subject of above steps is the equipment that can run ospf protocol, such as: level-one control centre, secondary control
Center processed and three class control center.It should be noted that in level-one control centre, Two-stage control involved in the embodiment of the present invention
The heart and three class control center can be any network equipment with routing function.Wherein, three class control center may be end
End equipment.
Method provided in an embodiment of the present invention, this method be applied to including level-one control centre, several secondary control centres,
The communication system at several three class control centers and wireless base station, wherein the level-one control centre by wire link and time
The communication of grade control centre, the wireless base station is communicated by Radio Link with level-one control centre and secondary control centre, described
Method includes: under Open Shortest Path First ospf protocol, and election level-one control centre is Designated Router, in secondary control
The heart and three class control center are neighbor router;It obtains Designated Router described in hello packet and the neighbor router is taken
Neighbours' number of band;When neighbours' number that Designated Router carries is less than neighbours' number of some neighbor router, one is determined
Communication link fails between grade control centre and secondary control centre, triggering re-elect Designated Router, so that level-one controls
Restore to communicate between center and secondary control centre, ensure that the reliability of link during equipment transmission data.
Optionally, triggering re-elects Designated Router and includes:
The priority for obtaining the neighbor router and Designated Router, according to election mechanism, re-elect specified circuit by
Device;
It when electing multiple Designated Routers, further conducts an election by comparing router id, so that entire autonomous
Only one Designated Router of system.
Optionally, triggering re-elects Designated Router and includes:
The priority for obtaining the neighbor router and Designated Router, according to election mechanism, re-elect specified circuit by
Device;
When electing multiple Designated Routers, if the multiple Designated Router includes backup designated router,
Electing the backup designated router is new Designated Router.
Optionally, three class control center passes through secondary control centre and communicates with level-one control centre, three class control center and
Link communication between secondary control centre includes a station telecommunication and a fiber optic communication, the method also includes:
When the optic communication links failure and station telecommunication link between some secondary control centre and three class control center
When normal, hello packet is broadcasted by described secondary quick the whole network of control centre, so that the network equipment quickly deletes the three-level control
The neighbor information at center processed.
Optionally, the method also includes:
When the optic communication links between some secondary control centre and three class control center restore, by the three-level control
Quick the whole network in center processed broadcasts hello packet, so that OSPF quickly calculates routing, realizes in level-one control centre and three class control
Communication between the heart.
Fig. 3 is a kind of flow chart of the link communication support method based on ospf protocol provided in an embodiment of the present invention.With
Under the executing subject of each step be the equipment that can run ospf protocol, such as: level-one control centre, secondary control centre and three
Grade control centre.
301, under open ospf protocol, election level-one control centre is Designated Router, secondary control centre and three-level
Control centre is neighbor router.
In radio network and NBMA network, routing iinformation will be exchanged between any two routers.If there is n in network
Platform router then needs to establish n (n-1)/2 syntople.This, which changes the routing of any router, can all cause
Repeatedly transmitting, wastes bandwidth resources.To solve this problem, ospf protocol defines Designated Router, and all-router is all
Designated Router is only sent information to, is sent network link status by Designated Router.
Optionally, if Designated Router is failed due to certain failure, the router in network must be re-elected
Designated Router, then it is synchronous with new Designated Router.This is takeed a long time, and during this period of time, the calculating of routing is
It is incorrect.In order to shorten this process, OSPF proposes the concept of backup designated router.The backup designated router
Actually to a backup of Designated Router, backup designated router is also elected while electing Designated Router,
Backup designated router also establishes syntople with the all-router in this network segment and exchanges routing iinformation.Work as Designated Router
After failure, backup designated router can immediately become Designated Router.Due to not needing to re-elect, and syntople is prior
It has been established, so this process is very of short duration.Certainly at this moment also need to re-elect out a new backup specified circuit again
By device, although equally takeing a long time, the calculating of routing will not influence.Designated Router and backup designated router
Except router between will not resettle syntople, also no longer exchange any routing iinformation.Which reduces radio networks
And on NBMA network between each router syntople quantity.
Specifically, in network environment as shown in Figure 1, the safeguards system in the embodiment of the present invention include at least one one
Grade control centre, several secondary control centres and the several three class control centers connected by wire link with Radio Link.
Wherein, the Radio Link is connected by wireless base station.In general, level-one control centre is by having in a guarantee system
Wired link is connect with several secondary control centres;Three class control center is directly connected to secondary control centre by wire link, and three
Grade control centre can also connect wireless base station by Radio Link;Wireless base station is connected in secondary control by Radio Link,
Or wireless base station connects level-one control centre by Radio Link, connects secondary control by wire link by level-one control centre
Center processed, and generally connected by Radio Link between wireless base station.
Preferably, when it is implemented, the embodiment of the present invention can be applied in following communication system, in the communication system
It include: extension M (1=< M < 9) under 1 level-one control centre, a sectional center N (1=< N < 7) and each secondary control center
A three class control center.Wherein, level-one control centre kind is equipped with the I type switch with routing function.Two-stage control
One I type switch with routing function is installed, one is equipped in three class control center has routing function in center
II type switch.I type, II type switch are switched on OSPF function.All control centres are switched on ospf protocol, each control
Center can all receive the hello packet except the all-router except oneself.
Based on this, in embodiments of the present invention, according to the networking in the election regulation and the embodiment of the present invention of ospf protocol
Mode, election level-one control centre are Designated Router, and secondary control centre and three class control center are neighbor router.
302, neighbours' number that Designated Router described in hello packet and the neighbor router carry is obtained.
Specifically, router finds out neighbours using the protocol hello of OSPF.Router sends Hello report to its neighbour
Text, and the hello packet for waiting neighbours to be received to send.Protocol hello is responsible for establishing and maintaining neighborhood, it ensures neighbour simultaneously
Communication between two parties is two-way.Hello packet is periodically sent out from the total interface of router.Both-way communication refers to router
It was found that containing oneself in the hello packet of its neighbour.
303, judge that neighbours' number of Designated Router carrying is less than neighbours' number of some neighbor router, when judgement is tied
Fruit is when being, to execute step 304, and the neighbours' number for otherwise continuing to test Designated Router carrying is less than some neighbor router
Neighbours' number.
In embodiments of the present invention, under normal circumstances, level-one control centre is as Designated Router, in whole system for communication
Neighbours' number that neighbours' number of middle carrying is greater than or carries equal to other neighbor routers.When detecting that Designated Router takes
When neighbours' number of band is less than neighbours' number of some neighbor router, determine between level-one control centre and secondary control centre
Communication link fails, triggering re-elect Designated Router, so that restoring logical between level-one control centre and secondary control centre
Letter.
304, when neighbours' number that Designated Router carries is less than neighbours' number of some neighbor router, determine level-one
Communication link fails between control centre and secondary control centre, triggering re-elect Designated Router, so that in level-one control
Restore to communicate between the heart and secondary control centre.
Optionally, triggering re-elects Designated Router and includes:
Designated Router passes through Hello according to router priority, router id by router all in same network segment
What message elected.In embodiments of the present invention, the priority for obtaining the neighbor router and Designated Router, according to choosing
Act mechanism, re-elects Designated Router, when electing multiple Designated Routers, further carries out by comparing router id
Election, so that only one Designated Router of entire autonomous system;When electing multiple Designated Routers, if the multiple
Designated Router includes backup designated router, then electing the backup designated router is new Designated Router.
Method provided in an embodiment of the present invention, by obtaining neighbours' number of Designated Router and neighbor router, judgement
Between level-one control centre and secondary control centre communication link whether failure, when the neighbours' number for detecting that Designated Router carries
When mesh is less than neighbours' number of some neighbor router, communication link event between level-one control centre and secondary control centre is determined
Barrier, triggering re-elect Designated Router, so that restoring to communicate between level-one control centre and secondary control centre, ensure that and set
The reliability of link in standby transmission data procedures.
Above-described embodiment is described in detail when communication link fails between level-one control centre and secondary control centre,
Be when between level-one control centre and secondary control centre wire link failure and wireless base station and the secondary control centre
Between radio jink failure when, how method provided in an embodiment of the present invention ensures level-one control centre and secondary control centre
Between communication, guarantee equipment transmission data during link reliability.
In order to further ensure the reliability of link during equipment transmission data, in networking model as shown in Figure 1
Under, three class control center passes through secondary control centre and communicates with level-one control centre, three class control center and secondary control centre
Between link communication include a station telecommunication and a fiber optic communication.When some secondary control centre and three class control center
Between optic communication links failure and when normal station telecommunication link, the embodiment of the invention provides a kind of three class control centers
The method flow diagram communicated by secondary control centre with level-one control centre, as shown in Figure 4.
401, when the optic communication links failure and station telecommunication between some secondary control centre and three class control center
When link is normal, hello packet is broadcasted by described secondary quick the whole network of control centre, so that the network equipment quickly deletes described three
The neighbor information of grade control centre.
Specifically, since the bandwidth in radio station is narrow, therefore OSPF message cannot be transmitted by radio station.When three class control center
After detecting optical fiber link failure, which is soon given to the secondary control centre being attached thereto using radio station.This time
After grade control centre receives failure notification, the connection with three class control center is deleted, and simulate the communication at the three class control center
Information sends the hello packet for having the first special identifier, so that after other neighbor routers receive the message, it can be timely
Delete the connection with the three class control center.Wherein, it is to be somebody's turn to do which, which is used to identify the transmitting terminal of the hello packet,
The last item information sent when transmitting terminal failure.
402, when the optic communication links between some secondary control centre and three class control center restore, by described three
The quick the whole network of grade control centre broadcasts hello packet, so that OSPF quickly calculates routing, realizes level-one control centre and three-level control
Communication between center processed.
Specifically, after communication link is switched to optical fiber by radio station, three class control center starts one and quickly sends Hello
The timer of message, the hello packet carry the second special identifier, and limit after default hello packet of transmission (preferably,
Send 5 hello packet), auto-destruct.After other neighbor routers receive the message, starts one immediately and quickly send
The timer of hello packet, after same restriction sends default message, auto-destruct, but the hello packet is without carrying second
Special identifier.Wherein, which is used to identify when router receives the hello packet of the carrying second identifier
When, it quickly to send, so that OSPF quickly calculates routing.
Method provided in an embodiment of the present invention can quickly the whole network broadcast Hello be reported when link state changes
Text meets OSPF and quickly calculates routing, and then realizes the communication between level-one control centre and three class control center.
A kind of Fig. 5 structural schematic diagram of the link communication safeguards system based on ospf protocol provided in an embodiment of the present invention.
The system comprises level-one control centre, several secondary control centres, several three class control centers and wireless base stations, wherein
The level-one control centre is communicated by wire link with secondary control centre, and the wireless base station passes through Radio Link and level-one
Control centre and secondary control centre communicate, in the level-one control centre, the sectional center and the three class control
The heart includes: election module 51, obtains module 52 and trigger module 53.
Elect module 51 to be used under Open Shortest Path First ospf protocol, election level-one control centre be specified circuit by
Device, secondary control centre and three class control center are neighbor router;
It obtains module 52 and is used to obtain the neighbours that Designated Router described in hello packet and the neighbor router carry
Number;
Neighbours' number that trigger module 53 is used to carry when Designated Router is less than neighbours' number of some neighbor router
When, determining communication link fails between level-one control centre and secondary control centre, triggering re-elects Designated Router, so that
Restore to communicate between level-one control centre and secondary control centre.
Optionally, the trigger module 53 is also used to obtain the priority of the neighbor router and Designated Router, root
According to election mechanism, Designated Router is re-elected;When electing multiple Designated Routers, further by comparing router id
It conducts an election, so that only one Designated Router of entire autonomous system.
Optionally, the trigger module 53 is also used to obtain the priority of the neighbor router and Designated Router, root
According to election mechanism, Designated Router is re-elected;When electing multiple Designated Routers, if the multiple Designated Router
Comprising backup designated router, then electing the backup designated router is new Designated Router.
Optionally, three class control center passes through secondary control centre and communicates with level-one control centre, three class control center and
Link communication between secondary control centre includes a station telecommunication and a fiber optic communication, the level-one control centre, institute
It is equal to state sectional center and the three class control center further include: convergence module, for when some secondary control centre and three
Optic communication links failure between grade control centre and when normal station telecommunication link is quickly complete by the secondary control centre
Net broadcast hello packet, so that the network equipment quickly deletes the neighbor information at the three class control center.
Optionally, the level-one control centre, the sectional center and the three class control center are equal further include: extensive
Multiple module, for when the optic communication links between some secondary control centre and three class control center restore, by described three
The quick the whole network of grade control centre broadcasts hello packet, so that OSPF quickly calculates routing, realizes level-one control centre and three-level control
Communication between center processed.
System provided in an embodiment of the present invention, by obtaining neighbours' number of Designated Router and neighbor router, judgement
Between level-one control centre and secondary control centre communication link whether failure, when the neighbours' number for detecting that Designated Router carries
When mesh is less than neighbours' number of some neighbor router, communication link event between level-one control centre and secondary control centre is determined
Barrier, triggering re-elect Designated Router, so that restoring to communicate between level-one control centre and secondary control centre, ensure that and set
The reliability of link in standby transmission data procedures.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, In
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) are according to an embodiment of the present invention by obtaining equipment room Topology connection to realize
The some or all functions of some or all components in the apparatus and system of relationship, terminal device and system.The present invention
Be also implemented as executing method as described herein some or all device or device program (for example,
Computer program and computer program product).It is such to realize that program of the invention can store on a computer-readable medium,
Or it may be in the form of one or more signals.Such signal can be downloaded from an internet website to obtain, or
It is provided on the carrier signal, or is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of link communication support method based on ospf protocol, which is characterized in that the method is applied to include level-one control
Center processed, several secondary control centres, several three class control centers and wireless base station communication system, wherein the level-one
Control centre is communicated by wire link with secondary control centre, and the wireless base station passes through Radio Link and level-one control centre
It is communicated with secondary control centre, which comprises
Under Open Shortest Path First ospf protocol, election level-one control centre is Designated Router, secondary control centre and
Three class control center is neighbor router;
Obtain neighbours' number that Designated Router described in hello packet and the neighbor router carry;
When neighbours' number that Designated Router carries is less than neighbours' number of some neighbor router, level-one control centre is determined
The communication link fails between secondary control centre, triggering re-elect Designated Router, so that level-one control centre and secondary
Restore communication between control centre.
2. the method according to claim 1, wherein the triggering re-elects Designated Router and includes:
The priority for obtaining the neighbor router and Designated Router re-elects Designated Router according to election mechanism;
It when electing multiple Designated Routers, further conducts an election by comparing router id, so that entire autonomous system
Only one Designated Router.
3. the method according to claim 1, wherein the triggering re-elects Designated Router and includes:
The priority for obtaining the neighbor router and Designated Router re-elects Designated Router according to election mechanism;
When electing multiple Designated Routers, if the multiple Designated Router includes backup designated router, elect
The backup designated router is new Designated Router.
4. the method according to claim 1, wherein the three class control center passes through secondary control centre and one
The communication of grade control centre, the link communication between three class control center and secondary control centre include a station telecommunication and one
Fiber optic communication, the method also includes:
When the optic communication links failure between some secondary control centre and three class control center and station telecommunication link is normal
When, hello packet is broadcasted by described secondary quick the whole network of control centre, so that the three-level control is quickly deleted by control centre at different levels
The neighbor information at center processed.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
When the optic communication links between some secondary control centre and three class control center restore, by the three class control
The quick the whole network of the heart broadcasts hello packet so that OSPF quickly calculates routing, realize level-one control centre and three class control center it
Between communication.
6. a kind of link communication safeguards system based on ospf protocol, which is characterized in that the system comprises level-one control centre,
Several secondary control centres, several three class control centers and wireless base station, wherein the level-one control centre passes through wired chain
Road is communicated with secondary control centre, and the wireless base station is logical by Radio Link and level-one control centre and secondary control centre
Letter, the level-one control centre, the secondary control centre and the three class control center include:
Module is elected, under Open Shortest Path First ospf protocol, election level-one control centre to be Designated Router, secondary
Grade control centre and three class control center are neighbor router;
Module is obtained, the neighbours' number carried for obtaining Designated Router described in hello packet and the neighbor router;
Trigger module is sentenced when neighbours' number for carrying when Designated Router is less than neighbours' number of some neighbor router
Determine communication link fails between level-one control centre and secondary control centre, triggering re-elects Designated Router, so that level-one
Restore to communicate between control centre and secondary control centre.
7. system according to claim 6, which is characterized in that the trigger module is also used to obtain the neighbor router
Designated Router is re-elected according to election mechanism with the priority of Designated Router;When electing multiple Designated Routers
When, it further conducts an election by comparing router id, so that only one Designated Router of entire autonomous system.
8. system according to claim 6, which is characterized in that the trigger module is also used to obtain the neighbor router
Designated Router is re-elected according to election mechanism with the priority of Designated Router;When electing multiple Designated Routers
When, if the multiple Designated Router includes backup designated router, electing the backup designated router is new finger
Determine router.
9. system according to claim 6, which is characterized in that three class control center passes through secondary control centre and level-one control
Center to center communications processed, the link communication between three class control center and secondary control centre include a station telecommunication and an optical fiber
Communication, the level-one control centre, the secondary control centre and the three class control center are equal further include:
Module is restrained, for when the optic communication links failure between some secondary control centre and three class control center and radio station
When communication link is normal, hello packet is broadcasted by described secondary quick the whole network of control centre, so that control centre at different levels quickly deletes
Except the neighbor information at the three class control center.
10. system according to claim 8, which is characterized in that the level-one control centre, the secondary control centre and
The three class control center is equal further include:
Recovery module, for when the optic communication links between some secondary control centre and three class control center restore, by
The quick the whole network in the three class control center broadcasts hello packet so that OSPF quickly calculates routing, realize level-one control centre and
Communication between three class control center.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611220810.3A CN106789623B (en) | 2016-12-26 | 2016-12-26 | Link communication support method and system based on ospf protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611220810.3A CN106789623B (en) | 2016-12-26 | 2016-12-26 | Link communication support method and system based on ospf protocol |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106789623A CN106789623A (en) | 2017-05-31 |
CN106789623B true CN106789623B (en) | 2019-12-03 |
Family
ID=58926874
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611220810.3A Active CN106789623B (en) | 2016-12-26 | 2016-12-26 | Link communication support method and system based on ospf protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106789623B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109167706A (en) * | 2018-09-10 | 2019-01-08 | 北京华环电子股份有限公司 | A method of being quickly informed in gauze member |
CN110838977B (en) * | 2019-11-13 | 2020-11-27 | 北京连山时代科技有限公司 | Multi-path concurrent transmission method and system based on OSPF protocol |
CN113179212B (en) * | 2021-03-11 | 2022-05-27 | 新华三信息安全技术有限公司 | Message processing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101841478A (en) * | 2010-04-27 | 2010-09-22 | 北京星网锐捷网络技术有限公司 | Route equipment switching method and route equipment |
CN102377584A (en) * | 2010-08-12 | 2012-03-14 | 盛科网络(苏州)有限公司 | Method for protecting DR (designated router) redundancy in PIM-SM (protocol independent multicast-sparse mode) |
US8149690B1 (en) * | 2009-02-10 | 2012-04-03 | Force10 Networks, Inc. | Elimination of bad link state advertisement requests |
CN105227459A (en) * | 2014-05-29 | 2016-01-06 | 国际商业机器公司 | The method performed by ospf router and corresponding ospf router |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7940682B2 (en) * | 2008-12-15 | 2011-05-10 | At&T Intellectual Property I, L.P. | Systems configured to automatically identify open shortest path first (OSPF) protocol problems in a network and related computer program products and methods |
-
2016
- 2016-12-26 CN CN201611220810.3A patent/CN106789623B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8149690B1 (en) * | 2009-02-10 | 2012-04-03 | Force10 Networks, Inc. | Elimination of bad link state advertisement requests |
CN101841478A (en) * | 2010-04-27 | 2010-09-22 | 北京星网锐捷网络技术有限公司 | Route equipment switching method and route equipment |
CN102377584A (en) * | 2010-08-12 | 2012-03-14 | 盛科网络(苏州)有限公司 | Method for protecting DR (designated router) redundancy in PIM-SM (protocol independent multicast-sparse mode) |
CN105227459A (en) * | 2014-05-29 | 2016-01-06 | 国际商业机器公司 | The method performed by ospf router and corresponding ospf router |
Also Published As
Publication number | Publication date |
---|---|
CN106789623A (en) | 2017-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100448209C (en) | Virtual private network fault tolerance | |
CN105915400A (en) | Data stream switching method and system | |
CN102413031B (en) | A kind of RPR fault protecting method and equipment thereof | |
CN101610221B (en) | IP unicast smoothly switching method during STP switch and device thereof | |
CN106789623B (en) | Link communication support method and system based on ospf protocol | |
WO2012086019A1 (en) | Communications device, communications system and communications method | |
CN104767680B (en) | It route the method and apparatus being switched fast | |
US20140043960A1 (en) | Method, tor switch, and system for implementing protection switchover based on trill network | |
KR20130055392A (en) | Method and appratus for protection switching in point-to- multipoint network | |
WO2011157145A2 (en) | Main/backup switching method between communication device, communication device, system and service request device | |
EP2252016A1 (en) | Method and apparatus for locally implementing port selection via synchronized port state databases maintained by the forwarding plane of a network element | |
CN102291455A (en) | Distributed cluster processing system and message processing method thereof | |
CN101197733A (en) | Automatic detection method and device for network connectivity | |
US20130246635A1 (en) | Technique for Bundling in Link Aggregation | |
US7564780B2 (en) | Time constrained failure recovery in communication networks | |
CN102611566B (en) | Method and device for recovering customer service | |
CN110417564A (en) | Link protection method, device, equipment and the storage medium of full mesh | |
CN109981353B (en) | Method and system for protecting adjacent station redundancy in frame type network communication equipment | |
WO2014048128A1 (en) | Point-to-multipoint service protecting method for ring network and upper ring node on ring network | |
US10033573B2 (en) | Protection switching method, network, and system | |
WO2014075594A1 (en) | Service transmission protection method and device based on intersecting ring of multi-ring structure network | |
EP2693706B1 (en) | Method and device for implementing multi-protection overlapped protection groups | |
Huynh et al. | RRR: Rapid ring recovery submillisecond decentralized recovery for ethernet ring | |
CN103840965B (en) | Method for enhancing quick fault convergence in RSTP | |
EP3232617B1 (en) | Protection switching method and system, and nodes |
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 |