CN106789623A - Link communication support method and system based on ospf protocol - Google Patents

Link communication support method and system based on ospf protocol Download PDF

Info

Publication number
CN106789623A
CN106789623A CN201611220810.3A CN201611220810A CN106789623A CN 106789623 A CN106789623 A CN 106789623A CN 201611220810 A CN201611220810 A CN 201611220810A CN 106789623 A CN106789623 A CN 106789623A
Authority
CN
China
Prior art keywords
control centre
router
designated router
level control
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.)
Granted
Application number
CN201611220810.3A
Other languages
Chinese (zh)
Other versions
CN106789623B (en
Inventor
熊文柱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dongtu Jinyue Technology Co Ltd
Original Assignee
Beijing Dongtu Jinyue Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dongtu Jinyue Technology Co Ltd filed Critical Beijing Dongtu Jinyue Technology Co Ltd
Priority to CN201611220810.3A priority Critical patent/CN106789623B/en
Publication of CN106789623A publication Critical patent/CN106789623A/en
Application granted granted Critical
Publication of CN106789623B publication Critical patent/CN106789623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/026Details of "hello" or keep-alive messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation

Landscapes

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

Abstract

The present invention provides a kind of link communication support method and system based on ospf protocol, and methods described includes:Under Open Shortest Path First ospf protocol, election one-level 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 are carried;When neighbours number of the neighbours' number that Designated Router is carried less than certain neighbor router, judge communication link fails between one-level control centre and secondary control centre, triggering re-elects Designated Router, so that recovering to communicate between one-level control centre and secondary control centre, it is ensured that the reliability of equipment transmission data process link.

Description

Link communication support method and system based on ospf protocol
Technical field
The present invention relates to the multi-channel redundant communications field, more particularly to a kind of link communication indemnifying party based on ospf protocol Method and system.
Background technology
On ip networks, OSPF (Open Shortest Path First, ospf) agreement passes through The Link State of autonomous system is collected and transmits dynamically to find and propagate route.In the agreement, by between router Neighborhood is set up, then link exchange context information obtains the information of other routers, and thus generation route letter Breath.Each router of operation ospf protocol always by the connection status of local network (such as usable interface information, up to neighbours Information etc.), described with LSA (Link State Advertisement, Link State Advertisement), and be broadcast to whole AS In (Autonomous System, autonomous system).So, every router all have received all-router generation in AS Link State Advertisement.
In broadcast and NBMA (non-broadcast multi-access, non-broadcasting multiple access) type network, Ospf protocol specifies by electing DR (Designated Router, Designated Router) and BDR (Backup Designated Router, BDR) reduce message interaction.The router of the same network segment only sets up adjacent with DR and BDR routers Occupy relation, and link exchange context information.
In the prior art, generally using the demand of ospf protocol Solving Multichannel redundant backup communication channel prior selection. But, in some special application scenarios, the ospf protocol of standard will be unable to normal operation.For example, in applied field shown in Fig. 1 Jing Zhong, solid line represents optical fiber, and dotted line represents WiMAX.The secondary control centre of application scenarios requirement can only be by optical fiber or nothing Line width band communicates with one-level control centre, and a secondary control centre can not be by another secondary control centre's transfer, will Information transmission is to one-level control centre.If by ospf protocol operation under this application scenarios, election one-level control centre is DR, Secondary control centre 3 is BDR, and 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 is out of touch with one-level control centre When, in such cases, DR will not be re-elected according to ospf protocol, so as to link switchover cannot be carried out, one-level control centre will Cannot be communicated with secondary control centre, when especially the data of equipment transmission are control command, data transmission credibility is showed It is particularly important.
Such 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 it is inadequate, so as to the network topology structure that result in whole system is not optimal Change.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on State a kind of the link communication support method and system based on ospf protocol of problem.
The invention provides a kind of link communication support method based on ospf protocol, the implementation method is applied to include The communication system of one-level control centre, several secondary control centres, several three class control centers and wireless base station, wherein, institute State one-level control centre to be communicated with secondary control centre by wire link, the wireless base station is by Radio Link and one-level control Center processed and secondary control centre's communication, methods described include:
Under Open Shortest Path First ospf protocol, election one-level 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 are carried;
When neighbours number of the neighbours' number that Designated Router is carried less than certain neighbor router, one-level control is judged Communication link fails between center and secondary control centre, triggering re-elects Designated Router so that one-level control centre with Recover communication between secondary control centre.
Alternatively, triggering re-elects Designated Router includes:
Obtain the priority of the neighbor router and Designated Router, according to election mechanism, re-elect specified circuit by Device;
When multiple Designated Routers are elected, further conducted an election by comparing router id so that whole autonomous System only one of which Designated Router.
Alternatively, triggering re-elects Designated Router includes:
Obtain the priority of the neighbor router and Designated Router, according to election mechanism, re-elect specified circuit by Device;
When multiple Designated Routers are elected, if the multiple Designated Router includes BDR, It is new Designated Router to elect the BDR.
Alternatively, three class control communicates centrally through secondary control centre with one-level control centre, three class control center with Link communication between secondary control centre includes a station telecommunication and a fiber optic communication, and methods described also includes:
When optic communication links failure and station telecommunication link between certain secondary control centre and three class control center When normal, by the secondary quick the whole network broadcast hello packet of control centre so that the network equipment quickly deletes the three-level control The neighbor information at center processed.
Alternatively, methods described also includes:
When the optic communication links between certain secondary control centre and three class control center recover, by the three-level control The quick the whole network broadcast hello packet in center processed so that OSPF quickly calculates route, in realizing one-level control centre and three class control Communication between the heart.
Invention further provides a kind of link communication safeguards system based on ospf protocol, the system includes one-level control Center, several secondary control centres, several three class control centers and wireless base station, wherein, the one-level control centre passes through Wire link communicates with secondary control centre, during the wireless base station is controlled by Radio Link with one-level control centre and secondary The heart communicates, and the one-level control centre, the sectional center and the three class control center include:
Election module, under Open Shortest Path First ospf protocol, election one-level control centre be specified circuit by Device, secondary control centre and three class control center are neighbor router;
Acquisition module, for obtaining the neighbours that Designated Router described in hello packet and the neighbor router are carried Number;
Trigger module, for neighbours number of neighbours' number less than certain neighbor router carried when Designated Router When, judging communication link fails between one-level control centre and secondary control centre, triggering re-elects Designated Router so that Recover to communicate between one-level control centre and secondary control centre.
Alternatively, the trigger module is additionally operable to obtain the priority of the neighbor router and Designated Router, according to Election mechanism, re-elects Designated Router;When multiple Designated Routers are elected, further entered by comparing router id Row election so that whole autonomous system only one of which Designated Router.
Alternatively, the trigger module is additionally operable to obtain the priority of the neighbor router and Designated Router, according to Election mechanism, re-elects Designated Router;When multiple Designated Routers are elected, if the multiple Designated Router bag Containing BDR, then it is new Designated Router to elect the BDR.
Alternatively, three class control communicates centrally through secondary control centre with one-level control centre, three class control center with Link communication between secondary control centre includes a station telecommunication and a fiber optic communication, the one-level control centre, institute Stating sectional center and the three class control centring system also includes:
Convergence module, for when the optic communication links failure between certain secondary control centre and three class control center and When station telecommunication link is normal, by the secondary quick the whole network broadcast hello packet of control centre so that the network equipment is quickly deleted Except the neighbor information at the three class control center.
Alternatively, the one-level control centre, the sectional center and the three class control centring system are also wrapped Include:
Recovery module, for recovering when the optic communication links between certain secondary control centre and three class control center When, by the quick the whole network broadcast hello packet in the three class control center so that OSPF quickly calculates route, realizes one-level 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 is applied to include The communication system of one-level control centre, several secondary control centres, several three class control centers and wireless base station, wherein, institute State one-level control centre to be communicated with secondary control centre by wire link, the wireless base station is by Radio Link and one-level control Center processed and secondary control centre's communication, methods described include:Under Open Shortest Path First ospf protocol, one-level control is elected Center processed is Designated Router, and secondary control centre and three class control center are neighbor router;Obtain described in hello packet Neighbours' number that Designated Router and the neighbor router are carried;When neighbours' number that Designated Router is carried is adjacent less than certain When occupying neighbours' number of router, communication link fails between one-level control centre and secondary control centre are judged, triggering is again Election Designated Router so that recover to communicate between one-level control centre and secondary control centre, it is ensured that equipment transmission data The reliability of process link.
Described above is only the general introduction of technical solution of the present invention, in order to better understand technological means of the invention, And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by specific embodiment of the invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit is common for this area Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 is the link communication structured flowchart 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 a kind of three class control provided in an embodiment of the present invention centrally through secondary control centre and one-level 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
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here Limited.Conversely, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
Cannot normally be run in some special screnes to solve ospf protocol in the prior art, cause the multichannel of system Redundancy assists inadequate, so as to the network topology structure for causing whole system is not the technical problem of optimization, the embodiment of the present invention There is provided a kind of link communication support method based on ospf protocol and system.
With reference to explanation accompanying drawing, the embodiment of the present invention is illustrated.
Fig. 2 is a kind of flow chart of link communication support method based on ospf protocol provided in an embodiment of the present invention, should Implementation method is applied to include one-level control centre, several secondary control centres, several three class control centers and wireless base station Communication system, wherein, the one-level control centre is communicated by wire link with secondary control centre, and the wireless base station is by nothing Wired link communicates with one-level control centre and secondary control centre.The method includes:
201st, under Open Shortest Path First ospf protocol, election one-level control centre is Designated Router, secondary control Center processed and three class control center are neighbor router.
202nd, neighbours' number that Designated Router described in hello packet and the neighbor router are carried is obtained.
203rd, when neighbours number of the neighbours' number that Designated Router is carried less than certain neighbor router, one-level is judged Communication link fails between control centre and secondary control centre, triggering re-elects Designated Router so that in one-level control Recover to communicate between the heart and secondary control centre.
The executive agent of above steps is the equipment that can run ospf protocol, for example:One-level control centre, secondary control Center processed and three class control center.It should be noted that in the one-level control centre, the Two-stage control that are related 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 can also be for eventually End equipment.
Method provided in an embodiment of the present invention, the method be applied to include one-level control centre, several secondary control centres, Several three class control centers and the communication system of wireless base station, wherein, the one-level control centre by wire link with it is secondary Level control centre communication, the wireless base station is communicated by Radio Link with one-level control centre and secondary control centre, described Method includes:Under Open Shortest Path First ospf protocol, election one-level control centre is Designated Router, in secondary control The heart and three class control center are neighbor router;Designated Router and the neighbor router described in hello packet is obtained to take Neighbours' number of band;When neighbours number of the neighbours' number that Designated Router is carried less than certain neighbor router, one is judged Communication link fails between level control centre and secondary control centre, triggering re-elects Designated Router so that one-level is controlled Recover to communicate between center and secondary control centre, it is ensured that the reliability of equipment transmission data process link.
Alternatively, triggering re-elects Designated Router includes:
Obtain the priority of the neighbor router and Designated Router, according to election mechanism, re-elect specified circuit by Device;
When multiple Designated Routers are elected, further conducted an election by comparing router id so that whole autonomous System only one of which Designated Router.
Alternatively, triggering re-elects Designated Router includes:
Obtain the priority of the neighbor router and Designated Router, according to election mechanism, re-elect specified circuit by Device;
When multiple Designated Routers are elected, if the multiple Designated Router includes BDR, It is new Designated Router to elect the BDR.
Alternatively, three class control communicates centrally through secondary control centre with one-level control centre, three class control center with Link communication between secondary control centre includes a station telecommunication and a fiber optic communication, and methods described also includes:
When optic communication links failure and station telecommunication link between certain secondary control centre and three class control center When normal, by the secondary quick the whole network broadcast hello packet of control centre so that the network equipment quickly deletes the three-level control The neighbor information at center processed.
Alternatively, methods described also includes:
When the optic communication links between certain secondary control centre and three class control center recover, by the three-level control The quick the whole network broadcast hello packet in center processed so that OSPF quickly calculates route, in realizing one-level control centre and three class control Communication between the heart.
Fig. 3 is a kind of flow chart of link communication support method based on ospf protocol provided in an embodiment of the present invention.With Under the executive agent of each step be the equipment that can run ospf protocol, for example:One-level control centre, secondary control centre and three Level control centre.
301st, under open ospf protocol, election one-level control centre is Designated Router, secondary control centre and three-level Control centre is neighbor router.
In radio network and NBMA networks, routing iinformation will be exchanged between any two routers.If there is n in network Platform router, then need to set up n (n-1)/2 syntople.This causes that the route of any router changes can all cause Repeatedly transmission, wastes bandwidth resources.To solve this problem, ospf protocol defines Designated Router, and all-router is all Designated Router is only sent information to, network link status is sent by Designated Router.
Alternatively, 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 needs longer time, and during this period of time, the calculating of route is It is incorrect.In order to shorten this process, OSPF proposes the concept of BDR.The BDR Actually to a backup of Designated Router, BDR is also elected while Designated Router is elected, BDR also sets up syntople and exchanges routing iinformation with the all-router in this network segment.Work as Designated Router After failure, BDR can immediately become Designated Router.Due to that need not re-elect, and syntople is prior It has been set up that, 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 need longer time, but the calculating of route can't be influenceed.Designated Router and BDR Outside router between will not resettle syntople, also no longer exchange any routing iinformation.Which reduces radio network And on NBMA networks between each router syntople quantity.
Specifically, in network environment as shown in Figure 1, the safeguards system in the embodiment of the present invention includes at least one 1 Level control centre, several secondary control centres and the several three class control centers connected by wire link and Radio Link. Wherein, the Radio Link is connected by wireless base station.In general, in a guarantee system, one-level control centre is by having Wired link is connected with several secondary control centres;Three class control is directly connected to secondary control centre, three centrally through wire link Level 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 one-level control centre by Radio Link, secondary control is connected by wire link by one-level control centre Center processed, and it is general by Radio Link connection between wireless base station.
It is preferred that during specific implementation, the embodiment of the present invention can apply in following communication system, in the communication system Including:1 one-level control centre, N (1=<N<7) M (1=are hung under individual sectional center and each linear quadratic control center<M<9) Individual three class control center.Wherein, one-level control centre plants and is provided with an I type switch with routing function.Two-stage control One I type switch with routing function is installed, one is provided with three class control center has routing function in center II type switch.I types, II type switch are switched on OSPF functions.All control centres are switched on ospf protocol, each control Center can be all received except the hello packet of 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 Pattern, election one-level control centre is Designated Router, and secondary control centre and three class control center are neighbor router.
302nd, neighbours' number that Designated Router described in hello packet and the neighbor router are carried is obtained.
Specifically, router finds out neighbours using the protocol hello of OSPF.Router sends Hello and reports to its neighbour Text, and wait the hello packet of neighbours' transmission to be received.Protocol hello is responsible for setting up and maintaining neighborhood, and it ensures neighbour simultaneously Communication between two parties is two-way.Hello packet periodically sends 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.
303rd, neighbours number of neighbours' number less than certain neighbor router that Designated Router is carried is judged, when judgement is tied , when being, to perform step 304, neighbours' number that otherwise continuation detection Designated Router is carried is less than certain neighbor router for fruit Neighbours' number.
In embodiments of the present invention, communication under normal circumstances, one-level control centre as Designated Router, in whole system Neighbours' number that neighbours' number of middle carrying is greater than or is carried equal to other neighbor routers.Taken when Designated Router is detected When neighbours' number of band is less than neighbours' number of certain neighbor router, judge between one-level control centre and secondary control centre Communication link fails, triggering re-elects Designated Router so that recover logical between one-level control centre and secondary control centre Letter.
304th, when neighbours number of the neighbours' number that Designated Router is carried less than certain neighbor router, one-level is judged Communication link fails between control centre and secondary control centre, triggering re-elects Designated Router so that in one-level control Recover to communicate between the heart and secondary control centre.
Alternatively, triggering re-elects Designated Router includes:
Designated Router passes through Hello by all of router in the same network segment according to router priority, router id What message was elected.In embodiments of the present invention, the priority of the neighbor router and Designated Router is obtained, according to choosing Act mechanism, re-elects Designated Router, when multiple Designated Routers are elected, is further carried out by comparing router id Election so that whole autonomous system only one of which Designated Router;When multiple Designated Routers are elected, if the multiple Designated Router includes BDR, then it is new Designated Router to elect the BDR.
Method provided in an embodiment of the present invention, by obtaining neighbours' number of Designated Router and neighbor router, judges Between one-level control centre and secondary control centre communication link whether failure, when the neighbours' number for detecting Designated Router carrying When mesh is less than neighbours' number of certain neighbor router, communication link event between one-level control centre and secondary control centre is judged Barrier, triggering re-elects Designated Router so that recover to communicate between one-level control centre and secondary control centre, it is ensured that set The reliability of standby transmission data procedures link.
Above-described embodiment is described in detail when communication link fails between one-level control centre and secondary control centre, It is when the wire link failure and wireless base station between one-level control centre and secondary control centre and the secondary control centre Between radio jink failure when, how method provided in an embodiment of the present invention ensures one-level control centre with secondary control centre Between communication, it is ensured that the reliability of equipment transmission data process link.
In order to further ensure the reliability of equipment transmission data process link, in networking model as shown in Figure 1 Under, three class control communicates centrally through secondary control centre with one-level control centre, three class control center and secondary control centre Between link communication include a station telecommunication and a fiber optic communication.When certain secondary control centre and three class control center Between optic communication links failure and during normal station telecommunication link, the embodiment of the invention provides a kind of three class control center The method flow diagram communicated with one-level control centre by secondary control centre, as shown in Figure 4.
401st, when the optic communication links failure and station telecommunication between certain secondary control centre and three class control center When link is normal, by the secondary quick the whole network broadcast hello packet of control centre so that the network equipment quickly deletes described three The neighbor information of level control centre.
Specifically, because the bandwidth in radio station is narrow, therefore OSPF messages can not be transmitted by radio station.When three class control center After detecting optical fiber link failure, the failure notification is soon given the secondary control centre being attached thereto using radio station.This time After level 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 with the first special identifier, so that after other neighbor routers receive the message, can be timely Delete the connection with the three class control center.Wherein, first special identifier is used to identify the transmitting terminal of the hello packet to be somebody's turn to do The last item information sent during transmitting terminal failure.
402nd, when the optic communication links between certain secondary control centre and three class control center recover, by described three The quick the whole network broadcast hello packet of level control centre so that OSPF quickly calculates route, realizes one-level 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 a quick transmission Hello The timer of message, the hello packet carries the second special identifier, and limits after default hello packet of transmission (preferably, Send 5 hello packet), auto-destruct.After other neighbor routers receive the message, a quick transmission is started immediately The timer of hello packet, after same restriction sends default message, auto-destruct, but the hello packet need not carry second Special identifier.Wherein, second special identifier is used to identify when router receives the hello packet for carrying second mark When, quickly to send, and then cause that OSPF quickly calculates route.
Method provided in an embodiment of the present invention, when Link State changes, quickly the whole network broadcast Hello can report Text, meets OSPF and quickly calculates route, and then realize the communication between one-level control centre and three class control center.
A kind of Fig. 5 structural representations of the link communication safeguards system based on ospf protocol provided in an embodiment of the present invention. The system includes one-level control centre, several secondary control centres, several three class control centers and wireless base station, wherein, The one-level control centre is communicated by wire link with secondary control centre, and the wireless base station passes through Radio Link and one-level Control centre and secondary control centre's communication, in the one-level control centre, the sectional center and the three class control The heart includes:Election module 51, acquisition module 52 and trigger module 53.
Election module 51 is used under Open Shortest Path First ospf protocol, election one-level control centre be specified circuit by Device, secondary control centre and three class control center are neighbor router;
Acquisition module 52 is used to obtain the neighbours that Designated Router described in hello packet and the neighbor router are carried Number;
Trigger module 53 is used for neighbours number of neighbours' number less than certain neighbor router carried when Designated Router When, judging communication link fails between one-level control centre and secondary control centre, triggering re-elects Designated Router so that Recover to communicate between one-level control centre and secondary control centre.
Alternatively, the trigger module 53 is additionally operable to obtain the priority of the neighbor router and Designated Router, root According to election mechanism, Designated Router is re-elected;When multiple Designated Routers are elected, further by comparing router id Conduct an election so that whole autonomous system only one of which Designated Router.
Alternatively, the trigger module 53 is additionally operable to obtain the priority of the neighbor router and Designated Router, root According to election mechanism, Designated Router is re-elected;When multiple Designated Routers are elected, if the multiple Designated Router Comprising BDR, then it is new Designated Router to elect the BDR.
Alternatively, three class control communicates centrally through secondary control centre with one-level control centre, three class control center with Link communication between secondary control centre includes a station telecommunication and a fiber optic communication, the one-level control centre, institute Stating sectional center and the three class control center also includes:Convergence module, for when certain secondary control centre and three Optic communication links failure between level control centre and during 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.
Alternatively, the one-level control centre, the sectional center and the three class control center also include:It is extensive Multiple module, for when the optic communication links between certain secondary control centre and three class control center recover, by described three The quick the whole network broadcast hello packet of level control centre so that OSPF quickly calculates route, realizes one-level 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, judges Between one-level control centre and secondary control centre communication link whether failure, when the neighbours' number for detecting Designated Router carrying When mesh is less than neighbours' number of certain neighbor router, communication link event between one-level control centre and secondary control centre is judged Barrier, triggering re-elects Designated Router so that recover to communicate between one-level control centre and secondary control centre, it is ensured that set The reliability of standby transmission data procedures link.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together with based on teaching in this.As described above, construct required by this kind of system Structure be obvious.Additionally, the present invention is not also directed to any certain programmed language.It is understood that, it is possible to use it is various Programming language realizes the content of invention described herein, and the description done to language-specific above is to disclose this hair Bright preferred forms.
In specification mentioned herein, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be put into practice in the case of without these details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify one or more that the disclosure and helping understands in each inventive aspect, exist Above to the description of exemplary embodiment of the invention in, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such 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, and wherein each claim is in itself All as separate embodiments of the invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Unit or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, can use any Combine to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit is required, summary and accompanying drawing) disclosed in each feature can the alternative features of or similar purpose identical, equivalent by offer carry out generation Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection is appointed One of meaning mode can be used in any combination.
All parts embodiment of the invention can be realized with hardware, or be run with one or more processor Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) are according to embodiments of the present invention by obtaining equipment room Topology connection to realize The some or all functions of some or all parts in the apparatus and system of relation, terminal device and system.The present invention Be also implemented as perform method as described herein some or all equipment or program of device (for example, Computer program and computer program product).It is such to realize that program of the invention be stored on a computer-readable medium, Or can have the form of one or more signal.Such signal can be downloaded from internet website and obtained, or There is provided on carrier signal, or provided in any other form.
It should be noted that above-described embodiment the present invention will be described rather than limiting the invention, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol being located between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not Element listed in the claims or step.Word "a" or "an" before element is not excluded the presence of as multiple Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.
Obviously, those skilled in the art can carry out various changes and modification without deviating from essence of the invention to the present invention God and scope.So, if these modifications of the invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising these changes and modification.

Claims (10)

1. a kind of link communication support method based on ospf protocol, it is characterised in that the implementation method is applied to include The communication system of level control centre, several secondary control centres, several three class control centers and wireless base station, wherein, it is described One-level control centre is communicated by wire link with secondary control centre, and the wireless base station is controlled by Radio Link with one-level Center and secondary control centre's communication, methods described include:
Under Open Shortest Path First ospf protocol, election one-level 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 are carried;
When neighbours number of the neighbours' number that Designated Router is carried less than certain neighbor router, one-level control centre is judged The communication link fails between secondary control centre, triggering re-elects Designated Router so that one-level control centre and secondary Recover communication between control centre.
2. method according to claim 1, it is characterised in that the triggering re-elects Designated Router to be included:
The priority of the neighbor router and Designated Router is obtained, according to election mechanism, Designated Router is re-elected;
When multiple Designated Routers are elected, further conducted an election by comparing router id so that whole autonomous system Only one of which Designated Router.
3. method according to claim 1, it is characterised in that the triggering re-elects Designated Router to be included:
The priority of the neighbor router and Designated Router is obtained, according to election mechanism, Designated Router is re-elected;
When multiple Designated Routers are elected, if the multiple Designated Router includes BDR, elect The BDR is new Designated Router.
4. method according to claim 1, it is characterised in that the three class control is centrally through secondary control centre and Level control centre communication, the link communication between three class control center and secondary control centre includes a station telecommunication and one Fiber optic communication, methods described also includes:
When the optic communication links failure between certain secondary control centre and three class control center and station telecommunication link is normal When, by the secondary quick the whole network broadcast hello packet of control centre so that the three-level control is quickly deleted by control centres at different levels The neighbor information at center processed.
5. method according to claim 4, it is characterised in that methods described also includes:
When the optic communication links between certain secondary control centre and three class control center recover, by the three class control The heart quick the whole network broadcast hello packet so that OSPF quickly calculates route, realize one-level control centre and three class control center it Between communication.
6. a kind of link communication safeguards system based on ospf protocol, it is characterised in that the system include one-level control centre, Several secondary control centres, several three class control centers and wireless base station, wherein, the one-level control centre passes through wired chain Road is communicated with secondary control centre, and the wireless base station is led to by Radio Link with one-level control centre and secondary control centre Letter, the one-level control centre, the sectional center and the three class control center include:
Election module, under Open Shortest Path First ospf protocol, election one-level control centre to be Designated Router, secondary Level control centre and three class control center are neighbor router;
Acquisition module, for obtaining neighbours' number that Designated Router described in hello packet and the neighbor router are carried;
Trigger module, during for neighbours' number that certain neighbor router is less than when neighbours' number that Designated Router is carried, sentences Determine communication link fails between one-level control centre and secondary control centre, triggering re-elects Designated Router so that one-level Recover to communicate between control centre and secondary control centre.
7. system according to claim 6, it is characterised in that the trigger module is additionally operable to obtain the neighbor router With the priority of Designated Router, according to election mechanism, Designated Router is re-elected;When electing multiple Designated Routers When, further conducted an election by comparing router id so that whole autonomous system only one of which Designated Router.
8. system according to claim 6, it is characterised in that the trigger module is additionally operable to obtain the neighbor router With the priority of Designated Router, according to election mechanism, Designated Router is re-elected;When electing multiple Designated Routers When, if the multiple Designated Router includes BDR, it is new finger to elect the BDR Determine router.
9. system according to claim 6, it is characterised in that three class control is centrally through secondary control centre and one-level control Center to center communications processed, the link communication between three class control center and secondary control centre includes a station telecommunication and an optical fiber Communication, the one-level control centre, the sectional center and the three class control center also include:
Convergence module, for when the optic communication links failure between certain secondary control centre and three class control center and radio station When communication link is normal, by the secondary quick the whole network broadcast hello packet of control centre so that control centres at different levels quickly delete Except the neighbor information at the three class control center.
10. system according to claim 8, it is characterised in that the one-level control centre, the sectional center and The three class control center also includes:
Recovery module, for when between certain secondary control centre and three class control center optic communication links recover when, by The quick the whole network broadcast hello packet in the three class control center so that OSPF quickly calculates route, realize one-level control centre and Communication between three class control center.
CN201611220810.3A 2016-12-26 2016-12-26 Link communication support method and system based on ospf protocol Active CN106789623B (en)

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 true CN106789623A (en) 2017-05-31
CN106789623B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
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
CN110838977A (en) * 2019-11-13 2020-02-25 北京连山时代科技有限公司 Multi-path concurrent transmission method and system based on OSPF protocol
CN113179212A (en) * 2021-03-11 2021-07-27 新华三信息安全技术有限公司 Message processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100149994A1 (en) * 2008-12-15 2010-06-17 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
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100149994A1 (en) * 2008-12-15 2010-06-17 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
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

Cited By (4)

* Cited by examiner, † Cited by third party
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
CN110838977A (en) * 2019-11-13 2020-02-25 北京连山时代科技有限公司 Multi-path concurrent transmission method and system based on OSPF protocol
CN113179212A (en) * 2021-03-11 2021-07-27 新华三信息安全技术有限公司 Message processing method and device
CN113179212B (en) * 2021-03-11 2022-05-27 新华三信息安全技术有限公司 Message processing method and device

Also Published As

Publication number Publication date
CN106789623B (en) 2019-12-03

Similar Documents

Publication Publication Date Title
CN105915400A (en) Data stream switching method and system
CN101826989A (en) Method and device for treating fault
CN101588303B (en) Link status notice information interaction method and OSPF device
CN102413031B (en) A kind of RPR fault protecting method and equipment thereof
CN103916275A (en) BFD detection device and method
CN101427499A (en) System and method of multi-nodal APS control protocol signalling
CN102780635A (en) Method for realizing protection switching based on TRILL (transparent interconnection of lots of link) network, TOR (top of rack) switchboard and system
CN106789623B (en) Link communication support method and system based on ospf protocol
CN101645810A (en) Method and equipment for detecting pseudo wire (PW)
CN103634134B (en) Cross-domain protection intercommunication method and system
US7564780B2 (en) Time constrained failure recovery in communication networks
CN104734868A (en) Service processing method and device among service nodes
CN110417564A (en) Link protection method, device, equipment and the storage medium of full mesh
CN104160666A (en) Technique for bundling in link aggregation
CN101909006B (en) BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof
CN101617240B (en) Traffic routing
EP2693706B1 (en) Method and device for implementing multi-protection overlapped protection groups
CN106487696A (en) Link failure detection method and device
CN103138957A (en) Method, device and system for business path failback
Huynh et al. RRR: Rapid ring recovery submillisecond decentralized recovery for ethernet ring
EP2981025A1 (en) Method, network and system for protection switching
EP2573977A1 (en) Subnet protection method and device for transport multi-protocol label switching (tmpls) network
EP3232617B1 (en) Protection switching method and system, and nodes
CN103840965B (en) Method for enhancing quick fault convergence in RSTP
CN104486223B (en) A kind of G/R method and system based on ospf protocol

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