WO2008086641A1 - A protection method of the speakers of the interdomain protocol in the optical network - Google Patents

A protection method of the speakers of the interdomain protocol in the optical network Download PDF

Info

Publication number
WO2008086641A1
WO2008086641A1 PCT/CN2007/000014 CN2007000014W WO2008086641A1 WO 2008086641 A1 WO2008086641 A1 WO 2008086641A1 CN 2007000014 W CN2007000014 W CN 2007000014W WO 2008086641 A1 WO2008086641 A1 WO 2008086641A1
Authority
WO
WIPO (PCT)
Prior art keywords
point
endorsement
backup
primary
speaker
Prior art date
Application number
PCT/CN2007/000014
Other languages
French (fr)
Chinese (zh)
Inventor
Desheng Sun
Zhe Wang
Original Assignee
Zte Corporation
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 Zte Corporation filed Critical Zte Corporation
Priority to PCT/CN2007/000014 priority Critical patent/WO2008086641A1/en
Priority to CN2007800143304A priority patent/CN101427531B/en
Publication of WO2008086641A1 publication Critical patent/WO2008086641A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0073Provisions for forwarding or routing, e.g. lookup tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0081Fault tolerance; Redundancy; Recovery; Reconfigurability

Definitions

  • I speak point optical network protection and backup protection method relates to optical network protocol endorsement BACKGROUND point of the present invention in particular relates to a method of protecting ⁇ stay between optical network domain protocol for a point 4 or between words.
  • BACKGROUND OF THE INVENTION Optical networks, such as OTN (Optical Transmission Network), WDM (Wavelength-division multiplexing), SDH (Synchronous Digital Hierarchy), or SONET (Synchronous Optical Network)
  • OTN Optical Transmission Network
  • WDM Widelength-division multiplexing
  • SDH Sesynchronous Digital Hierarchy
  • SONET Synchronous Optical Network
  • the transmission network has been widely used in the field of telecommunications.
  • Automatic switched optical network ASON refers to a new generation optical network that performs automatic switching under the control of routing and signaling. It is a research hotspot in the field of optical networks in recent years.
  • ASON ASON-based network network interface
  • I-NI internal network network interface
  • OSPF open shortest path first
  • ITU-T G.7715 and OIF2003.259.00/2002.023.10 specify the ASON network inter-domain routing protocol (Domain to ⁇ Domain Routing Protocol (DDRP) architecture, which summarizes and summarizes the routing information by layering and abstracting the routing domain, and introduces the endorsement point (SPEAKER) to solve the problem, which is conducive to network expansion.
  • DDRP Domain to ⁇ Domain Routing Protocol
  • SPEAKER endorsement point
  • SPEAKER aggregates the node information and routing information of the routing domain, and notifies the SPEAKER of the previous layer or the next layer. In this way, different layers of SPEAKER can get the node reachable information of the whole network, which solves the problem that OSPF cannot cross domain.
  • a primary object of the present invention is to provide a method for protecting an inter-domain protocol end point of an optical network, which is used to solve the SPEAKER protection problem in the existing DDRP protocol.
  • the present invention provides a protection method for an inter-domain protocol end point of an optical network.
  • the protection method includes the following steps: Step S102: Elect the primary endorsement point and the backup endorsement point in the domain, and the primary endorsement point and the backup endorsement point respectively aggregate node information and routing information of the domain, and perform inter-layer communication; Step S104, A communication connection is established between the primary endorsement point and the backup endorsement point, and is used for entering the key data backup and the state backup of the routing information. Step S106, the primary endorsement point and the backup endorsement point mutually detect each living state through the communication connection.
  • step S106 If the backup endorsement point detects that the primary endorsement point is faulty, the backup endorsement point becomes the new primary endorsement point, elects a new backup endorsement point, and returns to step S104, if the primary endorsement point detects that the backup endorsement point appears If the fault occurs, a new backup endorsement point is elected, and the process returns to step S104. If no fault is detected, step S106 is repeatedly executed.
  • step S102 electing the primary endorsement point and the backup endorsement point may include the following steps: Step a, configuring the candidate qualifications of each node, including being eligible to become the primary endorsement point, qualifying as a backup endorsement point, or not qualified; step b, after establishing a two-way communication connection between the node and the node, each node is separately listed All the nodes that may become the primary endorsement point and the backup endorsement point, and then each node declares that it is the primary endorsement point, or the backup endorsement point, or does not speak according to the candidate qualification, if no node declares itself as the main To use the endorsement point or backup endorsement point, go to step e; Step c, in the list of nodes that are eligible to become the primary endorsement point, create a subset that has not been declared to be the primary endorsement point; If multiple nodes declare that they are the primary endorsement points, then the node with the highest priority becomes the primary endorsement point.
  • Step e select the node with the highest priority as the primary endorsement point, if the priority is equal, compare the other attributes to determine the final primary generation Point; step f, in the list of nodes in all eligible to be the backup endorsement point, create a subset that has not been declared as a backup endorsement point; step g, if one or more nodes declare that they are backup endorsement points, then The node with the highest priority becomes the backup end point. If the priorities are equal, the final backup end point is determined by comparing other attributes, and the process ends. Step h, select the node with the highest priority as the backup end point, if the priorities are equal Compare the other attributes to determine the final backup endorsement point.
  • step S106 the primary endorsement point and the backup endorsement point detect each other's survival state by the following steps: Step P1, the primary endorsement point starts the first timer, and is used for the tracking detection to issue a status query.
  • the interval of the message, backup ⁇ (the rumor point starts the second timer, used to detect whether there is a query or command from the main 4 rumor point when the rule is specified; Step , 2, if the first timer arrives first , then go to step ,3, if the second timer When the first time arrives, the process proceeds to step P6; in step P3, the primary endorsement point sends a message to the backup endorsement point, queries the status of the backup endorsement point, and starts a third timer for querying whether the response time of the backup endorsement point times out, and The first timer is suspended; in step P4, if the backup end point receives the query information of the primary endorsement point, the backup end point sends a response, and the second timer is reset, indicating that the query message has been received within the specified time.
  • the primary endorsement point if the primary endorsement point receives the response message of the backup endorsement point before the third timer expires, the primary endorsement point closes the third timer, indicating that the response message is received at the specified time, and if the message is represented If the status of the backup endorsement point is normal, the primary endorsement point resets the first timer, indicating that the backup endorsement point is normal, and returns to step P1. If the third timer expires, the response has not been received or the received response indicates that the backup is performed. If the endorsement point is wrong, the main endorsement point does not restore the first timer, and it is judged that the main endorsement point is faulty, the detection is suspended, and the execution is suspended.
  • the backup endorsement point sends a message to query the status of the primary endorsement point, suspends the second timer, and starts a fourth timer to monitor the response of the primary endorsement point; step P7, if at the fourth timing Before the device arrives, the backup endorsement point receives the response message of the main endorsement point, and the message shows that the main use ⁇ is all normal, then the backup endorsement point closes the fourth timer, restores and restarts the second timer, returns to Step P1, otherwise it is determined that the backup endorsement point is faulty, the detection is suspended, and the switching is performed.
  • step S106 the backup endorsement point becomes a new primary endorsement point
  • the election of the new backup endorsement point may include the following steps: Step T1, the backup endorsement point first checks the database of the primary backup endorsement point of the local backup; Step T2, if the backup If the database in the endorsement point is valid, the backup endorsement point sends a message stating that it is the endorsement point to the existing node, and waits for the reply of the other node, if it is invalid, proceeds to step S102; Step ,3, receives a reply from the other network node In the future, the backup endorsement point changes its state and sets its own state as the new primary endorsement point; 07 000014 Step T4, the new primary endorsement point sends an update message to other nodes in the network, waiting for the database update; Step ⁇ 5, the new primary endorsement point issues a backup endorsement node election message, and re-schedules the election of 4 rumors .
  • Electing a new backup endorsement point can include the following steps: In a list of nodes that are eligible to be a backup endorsement point, create a subset that has not been declared a backup endorsement point; if one or more nodes declare themselves to be backup endorsements Point, then the node with the highest priority becomes the backup end point. If the priorities are equal, the final backup end point is determined by comparing other attributes, and the process ends; select the node with the highest priority as the backup end point, if the priorities are equal Compare the other attributes to determine the final backup endorsement point.
  • the above other attributes can be used to identify and IP addresses.
  • the optical network described above includes, but is not limited to, an automatically switched optical network.
  • the above inter-domain protocols include, but are not limited to, inter-domain routing protocols.
  • the present invention can implement the effective protection of the SPEAKER in the DDRP protocol, and the switching is fast, which can effectively reduce the probability of interruption of the service of the entire domain due to the failure of the SPEAKER node alone, and is compatible with the standard DDRP protocol, and the algorithm complexity is small. It has the advantages of simplicity and reliability.
  • FIG. 1 is a flow chart of a method for protecting an inter-domain protocol end point of an optical network according to the present invention
  • FIG. 2 is a schematic diagram of a network organization structure according to an embodiment of the present invention
  • FIG. 3 is a hierarchical network according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a network situation when SPEAKER and backup SPEAKER are faulty according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a network after performing a switching according to an embodiment of the present invention
  • 6 is a schematic diagram of an update process of information interaction between the active and standby SPEAKERs in the domain according to an embodiment of the present invention
  • FIG. 7 is a schematic flowchart of operations performed by the primary SPEAKER node according to an embodiment of the present invention. Schematic diagram of the action flow performed by the primary SPEAKER node after the failure of the backup SPEAKER;
  • FIG. 9 is a flowchart of the entire technical solution according to an embodiment of the present invention.
  • the protection method for the inter-domain protocol end point of the optical network includes the following steps: Step S102: Elect the primary endorsement point and the backup end point in the domain, and the primary endorsement point and the backup endorsement point respectively converge the domain Node information and routing information, and perform inter-layer communication; Step S104, establishing a communication connection between the primary endorsement point and the backup endorsement point, for performing routing data key data backup and state backup; Step Silver S106, main use The point and the backup endorsement point mutually detect each other's living state through the communication connection.
  • step S104 if the sub-secret point detects that the main endorsement point has failed, the backup endorsement point becomes the new primary endorsement point, and a new backup endorsement point is elected. Returning to step S104, if the main endorsement If the point detection fails, the new backup endorsement point is elected, and the process returns to step S104. If no failure is detected, then step S106 is repeatedly executed.
  • the election of the primary endorsement point and the backup endorsement point may include the following steps: Step a: Configuring the qualification qualification of each network element, including being eligible to become the primary endorsement point, qualifying as a backup endorsement point, or not qualified Step b, after establishing a two-way communication connection between the node and the node, each node lists a list of all the network elements that may become the primary endorsement point and the backup endorsement point, and then each network element declares itself according to the qualification of the candidate. Use the endorsement point, or backup endorsement point, or do not speak.
  • step c all qualified to become the main endorsement In the list of network elements in the point, create a subset that has not been declared to be the primary endorsement point; Step d, if one or more network elements declare that they are the primary use, the network with the highest priority The element becomes the primary endorsement point. If the priorities are equal, the final primary endorsement point is determined by comparing other attributes, proceeding to step f; step e, selecting the highest priority The network element is used as the main control point. If the priorities are equal, the other attributes are compared with other attributes to determine the final primary endorsement point.
  • Step f in the list of all the NEs eligible to be the backup endorsement point, create a backup that has not been declared as a backup. a subset of the endorsement points; Step g, if one or more network elements declare that they are backup endorsement points, then the network element with the highest priority becomes the backup endorsement point, and if the priority is equal, the final backup is determined by comparing other attributes. Endorsement point, the process ends; Step h, select the network element with the highest priority as the backup endorsement point, if the priority is equal, compare the other attributes to determine the final backup endorsement point.
  • the other attributes mentioned above may include a node identifier and an IP address.
  • step S106 detecting the respective living states between the primary endorsement point and the backup endorsement point may include the following steps: •
  • step PI the primary endorsement point starts a first timer, which is used to track the time interval for detecting the status inquiry message, and the backup end point starts a second timer for detecting whether there is a query or a command from the primary endorsement within a specified time.
  • Step P2 if the first timer first arrives, then proceeds to step P3, if the second timer first arrives, then proceeds to step 3 to gather P6; step P3, the primary endorsement point sends a message to the backup endorsement point, Querying the status of the backup endorsement point, and starting a third timer, for querying whether the response time of the backup endorsement point times out, and suspending the first timer; Step P4, if the backup endorsement point receives the query information of the primary endorsement point, Then, the backup end point sends a response, and the second timer is reset, indicating that the query message has been received internally within the specified time; Step P5, if the third end of the timer expires, the primary endorsement point receives the response of the backup endorsement point.
  • the primary endorsement point closes the third timer, indicating that the response message is received at the specified time, and if the message indicates a backup generation If the point status is normal, the primary endorsement point resets the first timer, indicating that the backup endorsement point is all normal, and returns to step P1. If the third timer expires, the response has not been received or the received response indicates the backup endorsement point. If the error occurs, the main endorsement point does not restore the first timer, it is judged that the main endorsement point is faulty, the detection is suspended, and the switching is performed; Step P6, the backup endorsement point issues a message to query the status of the main endorsement point, and the second timer is suspended.
  • Step P7 if the backup end point receives the response message of the primary endorsement point before the fourth timer expires, and the message displays the primary endorsement message If everything is normal, the backup 4 will close the fourth timer, resume and restart the second timer, and return to step P1. Otherwise, it is judged that the backup end point is faulty, pause the test, and perform the switching.
  • step S106 the backup endorsement point becomes a new primary endorsement point, and the election of the new backup endorsement point may include the following steps: Step T1, the backup endorsement point first checks the database of the primary backup endorsement point of the local backup; Step T2, if the backup If the database in the endorsement point is valid, the backup endorsement point sends a message stating that it is the endorsement point to the existing node, and waits for the reply of other nodes. If invalid, then T/CN2007/000014
  • Step T3 after receiving the reply from the other network node, the backup end point changes its state, and sets its own state as the new primary endorsement point;
  • Step T4 the new primary endorsement point Other nodes in the network issue update messages, waiting for the database to be updated;
  • Step T5 the new primary endorsement point issues a backup endorsement point node election message, and re-schedules the election of the 4 rum.
  • Electing a new backup endorsement point may include the following steps: In a list of all NEs eligible to be a backup endorsement point, create a subset that has not been declared a backup endorsement point; if one or more network elements declare themselves to be Back up the endorsement point, then the network element with the highest priority becomes the backup end point.
  • the final backup 4 point is determined by comparing other attributes, and the process ends; select the network element with the highest priority as the backup end point. If the priorities are equal, compare the other attributes to determine the final backup endorsement point.
  • Other attributes described above may include, but are not limited to, a node identification and an IP address.
  • the optical network described above includes, but is not limited to, an automatically switched optical network.
  • the above inter-domain protocols include, but are not limited to, inter-domain routing protocols.
  • the present invention relates to the field of optical networks, and particularly relates to an active/standby protection method for an endorsement point in an inter-domain protocol of an ASON network, and is also applicable to an inter-domain protocol end point protection of a data network.
  • Figure 2 illustrates the situation of the network node and the network structure. For the two ASON network domains and nodes, the number in the node identifier is the ID number, as is the ID of the other figures.
  • the main and standby SPEAKER node elections in Figure 3 have been completed, the square is SPEAKER, and the second diamond PT/CN2007/000014 is the alternate SPEAKER.
  • the SPEAKER active/standby protection technical solution of the present invention mainly comprises the following parts, including the election of SPEAKER in the domain, the information exchange between the active and standby SPEAKER, the protection switching of the active and standby SPEAKER, and the new backup SPEAKER election.
  • the technical solution of the present invention includes the following technical steps:
  • the first step the DDRP protocol is started, and the election of the SPEAKER is completed while completing the main SPEAKER election in the domain.
  • the primary and backup SPEAKER respectively perform routing information summarization of the routing domain in which it is located, and the inter-layer communication function (feed up and feed down) of the corresponding routing i or.
  • the third step is to establish a communication link between the active and standby SPEAKER.
  • the active and standby SPEAKERs communicate with each other through this communication to perform routing information key data and status backup.
  • the active and standby SPEAKERs communicate with each other to detect their respective living states.
  • the test result shows that if the main SPEAKER fails, it goes to the fifth step; if the standby SPEAKER fails, it goes to the sixth step; otherwise, it continues to ⁇ .
  • the fifth step after the backup SPEAKER detects the failure of the main SPEAKER, the backup SPEAKER starts and executes the related functions of the main SPEAKER. Prepare SPEAKER as the new main SPEAKER ⁇ Step 6.
  • the first step re-elect SPEAKER in this domain. The process moves to the fourth step in the four protocols.
  • the first step in the technical solution regarding the election scheme of the primary SPEAKER and the standby SPEAKER further includes the following steps: Step 1.
  • Step 2 After establishing a two-way communication connection between the node and the node, each node lists all the AS ON NEs that may become SPEAKER and backup SPEAKER, and then each ASON NE is configured according to step 1. In the qualification situation, declare that you are the main SPEAKER or SPEAKER or do not speak. If no ASON NE declares itself as the primary or backup SPEAKER, go to step 5, otherwise 4 will proceed to the next step. Step 3.
  • Step 4 If one or more ASON network elements declare that they are the primary SPEAKER, the ASON network element with the highest priority becomes the primary SPEAKER network element. If the priorities are equal, the final primary SPEAKER network element is determined by comparing other attributes. The process ends.
  • Step 5 Select the ASON network element with the highest priority as SPEAKER. If the priorities are equal, determine the final SPEAKER network element according to the other attributes described in step 4. The process ends.
  • other attributes described in step 4 include an identifier of an ASON node, an IP address, or other related parameters.
  • step 1 It can be configured in advance as a strategy in step 1.
  • the election of SPEAKER can be completed.
  • the primary SPEAKER performs layer-to-layer communication of information and summarizes related routing information as described in the second step of the technical solution.
  • FIG. 6 illustrates the process of querying each other's status between the active and standby SPEAKERs in the domain, and the operation flow of switching when the backup speaker fails.
  • Figure 6 shows the information exchange update process between the active and standby SPEAKERs in the domain.
  • the fourth step in the technical solution includes the mutual detection between the active and standby SPEAKER and the corresponding processing flow.
  • the fourth step in the technical solution about the main SPEAKER and the standby SPEAKER mutual detection of the respective survival state scheme includes the following specific steps: Step 1, the main SPEAKER starts a specific timer (a "set to timer 1") Traces the interval at which status messages are sent. 4 Step 2, synchronized with step 1, the standby SPEAKER start timer in step 2 (assumed to be timer 2) is responsible for detecting whether there is a query or command from the main SPEAKER within the specified time. In this position, if the timer 1 of the primary SPEAKER first arrives, the process proceeds to step 3. If the timer 2 of the backup SPEAKER first arrives, the process proceeds to step 6.
  • Step 3 According to the timer of step 1, if the primary SPEAKER timer expires, the primary SPEAKER sends a message to the backup SPEAKER to query the status of the backup SPEAKER, and the primary SPEAKER starts a timer (timer 3) ) responsible for querying whether the response time of the backup SPEAKER is timed out. Timer 1 is also suspended.
  • Step 4 According to step 3, if the backup SPEAKER receives the query information of the primary SPEAKER, the backup SPEAKER sends a response, and at the same time resets the timer 2, indicating that the query has been received internally within the specified time.
  • Step 5 According to step 4, before the timer 3 expires, the primary SPEAKER receives the response message of the backup SPEAKER, then the primary SPEAKER closes the timer 3, indicating that the response message is received at the specified time, and if the message is represented If the backup SPEAKER status is normal, the primary SPEAKER resets the timer 1 to indicate that the backup SPEAKER is normal. In this case, return to step 1 if the timer 3 expires. Have not received or received. The response should indicate a backup SPEAKER error. At this time, the primary SPEAKER does not resume the timer 1 timer. According to the second step in the technical solution, it is necessary to enter the sixth step of the technical solution.
  • Step 2 If the backup SPEAKER timer expires. When the timer 2 expires, the backup SPEAKER issues a message to query the status of the primary SPEAKER, and the timer 2 is paused to start the timer (assumed to be timer 4) to monitor the response of the primary SPEAKER. Step 7. According to step 6, if the backup SPEAKER receives the response message of the primary SPEAKER before the timer 4 expires, and the message shows that the primary SPEAKER is normal, the backup SPEAKER closes the timer 4, restores and restarts the timer. 2.
  • Step 1 The backup SPEAKER first checks the database of the primary SPEAKER of the local backup.
  • Step 2. According to the result of step 1, if the database in the backup SPEAKER is valid, the backup SPEAKER will send a message stating that it is SPEAKER to the existing node. And wait for a reply from other nodes. Go to the processing of step 3. If it is invalid, return to the first step in the technical solution and re-elect SPEAKER. Step 3. After receiving the reply from other network nodes according to the result of step 2, back up
  • step 3 the specific implementation scheme of the first step of electing the active and standby SPEAKER in the technical solution is described in detail by taking the election of the main SPEAKER as an example:
  • First step according to step 1 of the first step of the technical solution
  • Two domains, CD1 and CD2, are formed.
  • the network diagram is shown in Figure 2.
  • each network element is powered on, and each network element in CD1 and CD2 claims to be the primary SPEAKER - the second step, the nodes establish a two-way connection by sending data packets, each node establishes a database, and the database contains all the declarations.
  • the third step create a subset that has not yet declared SPEAKER, the subset is empty.
  • the fourth step in this step, it is assumed that the node ID number has the lowest priority, so the node Nl 1 in CD1 and the node N21 in CD2 become the main SPEAKER of the respective domains.
  • N12 and N22 is the backup SPEAKER inside the respective domain.
  • the election of the SPEAKER node in the network is completed. The figure of the election is shown in Figure 3. 4 Example 2: In conjunction with FIG. 3 and FIG.
  • the detection procedure of the backup SPEAKER Nl 2 has been selected by taking the main SPEAKER ⁇ 1 ⁇ in the domain CD1 of the embodiment 1 as an example, and the mutual detection of the SPEAKER in the technical solution is specifically described:
  • the Nil NE starts timer 1, and the N12 NE starts timer 2.
  • the Nil timer expires, the timer 1 is paused and the next step is taken.
  • the Nil network element sends a status query message to N12.
  • the Nil NE starts timer 3.
  • the Nil network element receives the N12 response successfully, and the Nil network element turns off the timer 3.
  • the Nil network element resets the timer 1 and restarts the next round of timing.
  • the main step of using SPEAKER to detect the backup SPEAKER has been completed. Go to the next step.
  • the sixth step continue, when the N12 network element timer 2 expires, the timer 2 is suspended, the Nil state is queried, and the timer 4 is started.
  • the N12 network element receives the normal status response message of the Nil network element, and turns off the timer 4.
  • the Nil network element resets the timer 2 and re-times. At this point, the step of backing up SPEAKER to detect the primary SPEAKER node has been completed.
  • Embodiment 3 In conjunction with FIG. 3, FIG. 4 and FIG. 8, the main SPEAKER N21 and the backup SPEAKER N22 have been elected in the domain CD2 in the embodiment 1, and the switching action triggered by the SPEAKER fault in the technical solution is specifically described. The steps are as follows: In the first step, the power of the N22 is manually turned off, as shown in i or CD2 in Figure 4. 07 000014 In the second step, after the timer of N21 expires, the N22 status is queried. Because N22 is faulty, the query fails.
  • the third step N21 issued a re-election back to SPEAKER's 4 essays. Re-elect backup SPEAKER.
  • domain CD2 internally performs the relevant steps in Embodiment 1 to re-elect the backup.
  • Embodiment 4 With reference to FIG. 3 and FIG. 7 , the main SPEAKER Ni l and the backup SPEAKER N12 have been elected in the embodiment 1 domain CD1 as an example, and the switching action triggered by the main SPEAKER fault in the technical solution is specifically described: Manually turn off the power of the Ni l.
  • the N21 status query fails due to the Ni l failure.
  • the third step N22 check the backup database, because the original SPEAKER database synchronization operation, so the database query is successful.
  • N22 sends a statement to the other nodes inside the domain that it is the primary SPEAKER.
  • N22 receives the response of i into each internal node.
  • the N22 changes state to SPEAKER.
  • the N22 initiates the election backup SPEAKER, and elects the backup SPEAKER N23 in the domain.
  • the network diagram is shown in the domain CD1 in FIG.
  • data synchronization is performed between N22 and N23.
  • the N22 initiates an intra-domain network information update operation. 07 000014 At this point, the active/standby switching action caused by the main SPEAKER error has been completed.
  • Embodiment 5 With reference to FIG. 3, FIG. 4, FIG. 5, FIG. 6, FIG. 7 and FIG.
  • the detection procedure of the backup SPEAKER N12 is selected by the main SPEAKER Ni1 in the domain CD1 of the embodiment 1 as an example, and respectively appears in different domains.
  • the switching action of the active and standby SPEAKER fault bows is specifically described: In the first step, as shown in Figure 2, two domains CD1 and CD2 are set up, and the NEs in the domain are powered on and transferred to the next step.
  • the second step is to perform the SPEAKER election in the domain.
  • the domain CD1 election completes the SPEAKER Ni l and the backup SPEAKER N12.
  • the domain CD2 elects the SPEAKER N21 and the backup SPEAKER N22.
  • the election result is shown in Figure 3.
  • the data synchronization between the active and standby SPEAKERs in the domain CD1 and the domain CD2 is completed.
  • artificially causing Ni1 to fail in domain CD1, backup N22 in domain CD2 fails.
  • the schematic is shown in Figure 4.
  • the fourth step the SPEAKER timer in each domain expires, so the domain CD 1 backup SPEAKER N12 fails to query the Ni l state, the domain CD2 primary SPEAKR N21 query backup SPEAKER N22 state fails, so the domains CD1 and CD2 are independent of each other. Active/standby switching action. See Example 3 and Example 4 for specific steps.
  • the active and standby SPEAKER switches in each domain are completed, the SPEAEKR in the domain CD1 is N12, and the primary SPEAEKR in the domain CD2 is N22.
  • SPEAKER N12 and N22 in each domain initiate re-election backup respectively.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

There is a protection method used in the speakers of the interdomain protocol in the optical netwrok. In the step S102, a master speaker and a backup speaker in the domain are chosen, each of which gathers the node information and routing information in the domain and performs inter-layer communication. In the step S104, the master speaker establishes communication with the backup speaker, and performs routing information critical data backup and status backup. In the step S106, the master speaker and the backup speaker check the living status of each other. If the backup speaker detects the fault of the master speaker, it becomes into the new master speaker and a new backup speaker is chosen, then return to the step S104. If the master speaker detects the fault of the backup speaker, a new backup speaker is chosen, then return to the step S104. If fault doesn't appear in both speakers, then repeat the step S106. The speakers can be efficiently protected, rapidly switched. And the algorithm is less complicated, compact and reliable.

Description

光网络 i或间协议代言点的保护方法 技术领域 本发明涉及光网络的代言点备份和保护,尤其涉及一种用于光网络域间 协议^ 1言点的 4呆护方法。 背景技术 光网络, 例如 OTN ( Optical transmission network, 光传送网络)、 WDM ( Wavelength-division multiplexing, 波分复用 )、 SDH ( Synchronous digital hierarchy , 同步数字系 ) 或 SONET ( Synchronous optical network, 同步光 网络) 传送网, 在电信领域已经得到广泛应用。 自动交换光网络 ( Automatic switched optical network, 筒称 ASON ) -是 指在选路和信令控制之下完成自动交换功能的新一代光网络, 是近年来光网 络领域的研究热点。 ASON技术的引入可增强网络业务的快速配置能力, 提 高业务的生存性,有效抵抗网络多点故障, 并能够灵活提供不同的业务等级, 满足目前迅速发展的差异化服务的需要。 ITU- T G.8080 以及 G.771X系列建 议提出了 ASON的概念和实现构架。 随着 ASON 网络的逐步部署, 不同运营商、 不同设备供应商的网络将 通过夕卜 网络接口 ( external network network interface, 简 尔 E-NNI ) 互联。 E-NNI互联的这些网络都将作为独立的路由域。 一方面从应用的角度看, 光 网络中的连接是相对固定的, 而不需要频繁的建立和删除, 因此不一定在每 个网络节点设备上都需要路由信息, 特别是域间路由信息。 另外, 出于管理 和安全的考虑, 运营商一般会在域间应用相关策略来控制路由信息的交换。 但对于同一个运营商或同一设备供应商的网络,虽然所有设备都通过内 网络接口 ( internal network network interface, 简^ I- NI ) 互联。 在同一 个 i或内 , ASON网络采用开放式最短路径优先( open shortest path first, 简称 OSPF ) 协议进行节点路由维护。 但考虑到效率、 路由管理和维护的复杂度, 往往需要划分为几个子路由域。 这样对于多个路由域, 如何协同工作, 从全 网 角度完戍路由计算和维护, 显得非常重要。 ITU-T G.7715 和 OIF2003.259.00/2002.023.10则规定了 ASON网络域间路由协议 (Domain to ― Domain Routing Protocol , 简称 DDRP )构架, 通过将路由域分层和抽象对路 由信息进行摘要和汇总, 引入代言点 (简称 SPEAKER ) 解决了该问题, 有 利于网络的扩展。 I speak point optical network protection and backup protection method relates to optical network protocol endorsement BACKGROUND point of the present invention in particular relates to a method of protecting ^ stay between optical network domain protocol for a point 4 or between words. BACKGROUND OF THE INVENTION Optical networks, such as OTN (Optical Transmission Network), WDM (Wavelength-division multiplexing), SDH (Synchronous Digital Hierarchy), or SONET (Synchronous Optical Network) The transmission network has been widely used in the field of telecommunications. Automatic switched optical network (ASON) refers to a new generation optical network that performs automatic switching under the control of routing and signaling. It is a research hotspot in the field of optical networks in recent years. The introduction of ASON technology can enhance the rapid configuration capability of network services, improve the survivability of services, effectively resist multiple network faults, and flexibly provide different service levels to meet the needs of rapidly developing differentiated services. The ITU-T G.8080 and G.771X series recommendations propose the concept and implementation architecture of ASON. With the gradual deployment of ASON networks, networks of different operators and different equipment vendors will be interconnected through an external network network interface (Jean E-NNI). These networks interconnected by E-NNI will act as independent routing domains. On the one hand, from the application point of view, the connection in the optical network is relatively fixed, and does not need to be frequently established and deleted, so routing information, especially inter-domain routing information, is not necessarily required on each network node device. In addition, for management and security reasons, operators generally apply related policies between domains to control the exchange of routing information. However, for the same carrier or the same equipment provider's network, all devices are interconnected through an internal network network interface (I-NI). In the same i or in, the ASON network uses the open shortest path first (OSPF) protocol for node routing maintenance. However, considering the complexity of efficiency, route management and maintenance, it is often necessary to divide into several sub-routing domains. In this way, how to work together for multiple routing domains and complete routing calculation and maintenance from the perspective of the entire network is very important. ITU-T G.7715 and OIF2003.259.00/2002.023.10 specify the ASON network inter-domain routing protocol (Domain to ― Domain Routing Protocol (DDRP) architecture, which summarizes and summarizes the routing information by layering and abstracting the routing domain, and introduces the endorsement point (SPEAKER) to solve the problem, which is conducive to network expansion.
SPEAKER汇聚所在路由域的节点信息和路由信息, 并且通知上一层或 者下一层的 SPEAKER。 如此, 不同层的 SPEAKER就能得到全网的节点可 达信息, 解决了 OSPF不能跨域的问题。 SPEAKER aggregates the node information and routing information of the routing domain, and notifies the SPEAKER of the previous layer or the next layer. In this way, different layers of SPEAKER can get the node reachable information of the whole network, which solves the problem that OSPF cannot cross domain.
SPEAKER的地位非常重要。 如果一个域内只有一个 SPEAKER, —旦 该 SPEAKER出现故障,则层间的路由查询功能和信息交互完全中断, DDRP 协议需要重新选举 SPEAKER, 并且进行相关信息泛洪等一系列维护操作, 时间长, 效率^ ^。 此时, 如果需要通过路由协议完成连接恢复会导致业务恢 复时间大大延长。 因此, 需要一种技术方案, 能够进行完善的 SPEAKER保护。 发明内容 本发明的主要目的在于提供一种用于光网络域间协议代言点的保护方 法, 用于解决现有 DDRP协议中 SPEAKER的保护问题。 为了实现上迷目的,本发明提供了一种用于光网络域间协议代言点的保 护方法。 该保护方法包括以下步骤: 步骤 S102 , 选举域内主用代言点和备份代言点, 主用代言点和备份代 言点分别汇聚所在域的节点信息和路由信息, 并执行层间通信; 步骤 S 104, 主用代言点与备份代言点之间建立通信连接, 用于进 4亍路 由信息关键数据备份和状态备份; 步骤 S106, 主用代言点与备份代言点之间通过通信连接相互检测各自 的生存状态, 如果备份代言点检测出主用代言点出现故障, 则备份代言点成 为新的主用代言点, 选举新的备份代言点, 返回至步骤 S104, 如杲主用代言 点检测出备份代言点出现故障, 则选举新的备份代言点, 返回至步骤 S 104, 如果均未检测出出现故障, 则重复执行步骤 S 106。 在步骤 S102中, 选举主用代言点和备份代言点可以包括以下步骤: 步驟 a, 配置各节点的侯选资格, 包括有资格成为主用代言点、 有资格 成为备份代言点、 或者没有资格; 步骤 b, 在节点与节点之间建立双向通信连接以后, 各节点分别列出全 部的可能成为主用代言点和备份代言点的节点的列表, 然后各节点根据侯选 资格, 宣称自己为主用代言点、 或备份代言点、 或不发言, 如果没有节点声 明自己为主用代言点或备份代言点, 则转入步骤 e; 步骤 c, 在全部有资格成为主用代言点中的节点列表中, 创建一个还没 有宣告成为主用代言点的子集; 步骤 如果一个或者多个节点都声明自己是主用代言点, 那么具有最 高优先级的节点成为主用代言点, 如果优先级相等则通过比较其他属性确定 最终的主用代言点, 进 4亍至步 -骤 f; 步骤 e, 选择具有最高优先级的节点为主用代言点, 如果优先级相等则 比较其他属性确定最终主用代言点; 步骤 f , 在全部有资格成为备份代言点中的节点列表中, 创建一个还没 有宣告成为备份代言点的子集; 步骤 g, 如果一个或者多个节点都声明自己是备份代言点, 那么具有最 高优先级的节点成为备份代言点, 如果优先级相等则通过比较其他属性确定 最终的备份代言点, 流程结束; 步骤 h , 选择具有最高优先级的节点为备份代言点, 如果优先级相等则 比较其他属性确定最终备份代言点。 上述其他属性可以包括节点标识和 IP地址。 在步骤 S106中, 主用代言点与备份代言点之间相互检测各自的生存状 态可以包 4舌以下步聚: 步骤 P1 , 主用代言点启动第一定时器, 用于 艮踪检测发出状态查询消 息的时间间隔, 备份^ (弋言点启动第二定时器, 用于检测规定时 ί司内是否有查 询或者命令从主用 4弋言点发出; 步骤 Ρ2 , 如果第一定时器首先到时, 则进入步驟 Ρ3, 如果第二定时器 首先到时, 则进入步骤 P6; 步骤 P3 , 主用代言点发消息给备份代言点, 查询备份代言点的状态, 并启动第三定时器, 用于查询是否备份代言点的响应时间超时, 并暂停第一 定时器; 步骤 P4, 如果备份代言点接收到主用代言点的查询信息, 则备份代言 点发出响应, 同时复位第二定时器, 表明已经在规定时间内部接收到查询报 文 ^ 步骤 P5 , 如果在第三定时器到时以前, 主用代言点接收到备份代言点 的响应报文, 则主用代言点关闭第三定时器, 表示在规定时间接收到响应消 息, 并且如果消息表示备份代言点状态正常, 则主用代言点重置第一定时器, 表明备份代言点一切正常, 返回至步骤 Pl, 如果在第三定时器到时还没有收 到响应或者接收到的响应表示备份代言点错误 , 则主用代言点不恢复第一定 时器, 判断出主用代言点出现故障, 暂停检测, 执行倒换; - 步骤 P6, 备份代言点发出消息查询主用代言点的状态, 暂停第二定时 器, 并启动第四定时器来对主用代言点的响应进行监控; 步骤 P7, 如果在第四定时器到时以前, 备份代言点接收到主用代言点 的响应消息, 并且消息显示主用^ <言点一切正常, 则备份代言点关闭第四定 时器, 恢复并且重启第二定时器, 返回至步骤 P1 , 否则判断出备份代言点出 现故障, 暂停检测, 执行倒换。 在步 S106中, 备份代言点成为新的主用代言点, 选举新的备份代言 点可以包括以下步骤: 步骤 T1 , 备份代言点首先检查本地备份的主用代言点的数据库; 步骤 T2, 如果备份代言点内的数据库有效, 则备份代言点向存在的节 点发送声明自己为代言点的消息, 并且等待其他节点的回复, 如果无效, 则 进行至步骤 S102; 步骤 Τ3 , 接收到其他网络节点的回复以后, 备份代言点更改本身的状 态, 把自己的状态设置为新的主用代言点; 07 000014 步骤 T4 , 新的主用代言点向网络内的其他节点发出更新消息, 等待数 据库更新; 步骤 Τ5 , 新的主代言点发出备份代言点节点选举消息, 重新进行备份 4弋言点的选举。 选举新的备份代言点可以包括以下步骤: 在全部有资格成为备份代言点中的节点列表中,创建一个还没有宣告成 为备份代言点的子集; 如果一个或者多个节点都声明自己是备份代言点,那么具有最高优先级 的节点成为备份代言点, 如果优先级相等则通过比较其他属性确定最终的备 份代言点, 流程结束; 选择具有最高优先级的节点为备份代言点,如果优先级相等则比较其他 属性确定最终备份代言点。 . 上述其他属性可以包 4舌但不限于节点才示识和 IP地址。 上述光网络包括但不限于自动交换光网络。 上述域间协议包括但不限于域间路由协议。 当不同域内分别出现主用代言点或备份代言点故障时,在不同域内分别 独立地进行主备代言点倒换保护。 通过上述技术方案, 本发明能够实现 DDRP协议中 SPEAKER的有效 保护, 切换快速, 能够有效减少因为单独 SPEAKER节点故障可能导致整个 域的业务出现中断概率, 同时与标准 DDRP协议兼容, 算法复杂度小, 具有 简洁、 可靠的优点。 附图说明 此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1是根据本发明的用于光网络域间协议代言点的保护方法的流程图; 图 2是根据本发明实施例的网络组织结构示意图; 图 3是根据本发明实施例的分层网络中的 DD P SPEAKER节点示意 图; 图 4是根据本发明实施例的当 SPEAKER以及备份 SPEAKER出现故障 时^^的网络情况示意图; 图 5是根据本发明实施例的执行完倒换以后的网络情况示意图; 图 6是根据本发明实施例的域内主备 SPEAKER之间的信息交互的更新 过程示意图; 图 7是根据本发明实施例的主用 SPEAKER节点执行的动作流程示意 图; · 图 8 是根据本发明实施例的备份 SPEAKER 出现故障以后, 主用 SPEAKER节点执行的动作流程示意图; 以及 图 9是根据本发明实施例的整个技术方案工作流程图。 具体实施方式 下面将参考附图详细说明本发明。 参照图 ί , 根据本发明的用于光网络域间协议代言点的保护方法包括以 下步骤: 步骤 S102, 选举域内主用代言点和备份代言点, 主用代言点和备份代 言点分别汇聚所在域的节点信息和路由信息, 并执行层间通信; 步骤 S104, 主用代言点与备份代言点之间建立通信连接, 用于进行路 由信息关键数据备份和状态备份; 步银 S106, 主用^言点与备份代言点之间通过通信连接相互检测各自 的生存状态, 如果^分代言点检测出主用代言点出现故障, 则备份代言点成 为新的主用代言点, 选举新的备份代言点, 返回至步骤 S104, 如果主用代言 点检测出 ^分代言点出现故障, 则选举新的备份代言点, 返回至步骤 S 104 , 如果均未检测出出现故障, ―则重复执行步骤 S106。 在步骤 S102中, 选举主用代言点和备份代言点可以包括以下步骤: 步骤 a, 配置各网元的侯选资格, 包括有资格成为主用代言点、 有资格 成为备份代言点、 或者没有资格; 步骤 b, 在节点与节点之间建立双向通信连接以后, 各节点分别列出全 部的可能成为主用代言点和备份代言点的网元的列表, 然后各网元根据侯选 资格, 宣称自己为主用代言点、 或备份代言点、 或不发言, 如果没有网元声 明自己为主用代言点或备份代言点, 则转入步 -慷 e; 步骤 c, 在全部有资格成为主用代言点中的网元列表中, 创建一个还没 有宣告成为主用代言点的子集; 步骤 d, 如果一个或者多个网元都声明自己是主用^ <言点, 那么具有最 高优先级的网元成为主用代言点, 如果优先级相等则通过比较其他属性确定 最终的主用代言点, 进行至步骤 f; 步骤 e, 选择具有最高优先級的网元为主用^■言点, 如果优先级相等则 比较其他属性确定最终主用代言点; 步驟 f, 在全部有资格成为备份代言点中的网元列表中, 创建一个还没 有宣告成为备份代言点的子集; 步骤 g, 如果一个或者多个网元都声明自己是备份代言点, 那么具有最 高优先级的网元成为备份代言点, 如果优先级相等则通过比较其他属性确定 最终的备份代言点, 流程结束; 步骤 h, 选择具有最高优先级的网元为备份代言点, 如果优先级相等则 比较其他属性确定最终备份代言点。 上述其他属性可以包括节点标识和 IP地址。 在步骤 S106中, 主用代言点与备份代言点之间相互检测各自的生存状 态可以包括以下步 : • 步驟 PI , 主用代言点启动第一定时器, 用于跟踪检测发出状态查询消 息的时间间隔, 备份代言点启动第二定时器, 用于检测规定时间内是否有查 询或者命令从主用代言点发出; 步骤 P2, 如果第一定时器首先到时, 则进入步骤 P3 , 如果第二定时器 首先到时, 则进入步 3聚 P6; 步驟 P3, 主用代言点发消息给备份代言点, 查询备份代言点的状态, 并启动第三定时器, 用于查询是否备份代言点的响应时间超时, 并暂停第一 定时器; 步骤 P4, 如果备份代言点接收到主用代言点的查询信息, 则备份代言 点发出响应, 同时复位第二定时器, 表明已经在规定时间内部接收到查询报 文; 步骤 P5 , 如果在第三定时器到时以前, 主用代言点接收到备份代言点 的响应报文, 则主用代言点关闭第三定时器, 表示在规定时间接收到响应消 息, 并且如果消息表示备份代言点状态正常, 则主用代言点重置第一定时器, 表明备份代言点一切正常, 返回至步驟 P1 , 如果在第三定时器到时还没有收 到响应或者接收到的响应表示备份代言点错误, 则主用代言点不恢复第一定 时器, 判断出主用代言点出现故障, 暂停检测, 执行倒换; 步骤 P6 , 备份代言点发出消息查询主用代言点的状态, 暂停第二定时 器, 并启动第四定时器来对主用代言点的响应进行监控; 步骤 P7, 如果在第四定时器到时以前, 备份代言点接收到主用代言点 的响应消息, 并且消息显示主用代言点一切正常, 则备份 4 言点关闭第四定 时器, 恢复并且重启第二定时器, 返回至步骤 Pl, 否则判断出备份代言点出 现故障, 暂停^ ^测, 执行倒换。 在步骤 S106中, 备份代言点成为新的主用代言点, 选举新的备份代言 点可以包括以下步驟: 步骤 T1 , 备份代言点首先检查本地备份的主用代言点的数据库; 步骤 T2, 如果备份代言点内的数据库有效, 则备份代言点向存在的节 点发送声明自己为代言点的消息, 并且等待其他节点的回复, 如果无效, 则 T/CN2007/000014 The status of SPEAKER is very important. If there is only one SPEAKER in a domain, if the SPEAKER fails, the routing query function and information interaction between the layers are completely interrupted. The DDRP protocol needs to re-elect SPEAKER, and perform a series of maintenance operations such as flooding related information, which takes a long time and is efficient. ^ ^. At this time, if the connection recovery is completed through a routing protocol, the service recovery time is greatly extended. Therefore, a technical solution is needed to enable perfect SPEAKER protection. SUMMARY OF THE INVENTION A primary object of the present invention is to provide a method for protecting an inter-domain protocol end point of an optical network, which is used to solve the SPEAKER protection problem in the existing DDRP protocol. In order to achieve the above object, the present invention provides a protection method for an inter-domain protocol end point of an optical network. The protection method includes the following steps: Step S102: Elect the primary endorsement point and the backup endorsement point in the domain, and the primary endorsement point and the backup endorsement point respectively aggregate node information and routing information of the domain, and perform inter-layer communication; Step S104, A communication connection is established between the primary endorsement point and the backup endorsement point, and is used for entering the key data backup and the state backup of the routing information. Step S106, the primary endorsement point and the backup endorsement point mutually detect each living state through the communication connection. If the backup endorsement point detects that the primary endorsement point is faulty, the backup endorsement point becomes the new primary endorsement point, elects a new backup endorsement point, and returns to step S104, if the primary endorsement point detects that the backup endorsement point appears If the fault occurs, a new backup endorsement point is elected, and the process returns to step S104. If no fault is detected, step S106 is repeatedly executed. In step S102, electing the primary endorsement point and the backup endorsement point may include the following steps: Step a, configuring the candidate qualifications of each node, including being eligible to become the primary endorsement point, qualifying as a backup endorsement point, or not qualified; step b, after establishing a two-way communication connection between the node and the node, each node is separately listed All the nodes that may become the primary endorsement point and the backup endorsement point, and then each node declares that it is the primary endorsement point, or the backup endorsement point, or does not speak according to the candidate qualification, if no node declares itself as the main To use the endorsement point or backup endorsement point, go to step e; Step c, in the list of nodes that are eligible to become the primary endorsement point, create a subset that has not been declared to be the primary endorsement point; If multiple nodes declare that they are the primary endorsement points, then the node with the highest priority becomes the primary endorsement point. If the priorities are equal, the final primary endorsement point is determined by comparing other attributes. Step e, select the node with the highest priority as the primary endorsement point, if the priority is equal, compare the other attributes to determine the final primary generation Point; step f, in the list of nodes in all eligible to be the backup endorsement point, create a subset that has not been declared as a backup endorsement point; step g, if one or more nodes declare that they are backup endorsement points, then The node with the highest priority becomes the backup end point. If the priorities are equal, the final backup end point is determined by comparing other attributes, and the process ends. Step h, select the node with the highest priority as the backup end point, if the priorities are equal Compare the other attributes to determine the final backup endorsement point. The other attributes mentioned above may include a node identifier and an IP address. In step S106, the primary endorsement point and the backup endorsement point detect each other's survival state by the following steps: Step P1, the primary endorsement point starts the first timer, and is used for the tracking detection to issue a status query. The interval of the message, backup ^ (the rumor point starts the second timer, used to detect whether there is a query or command from the main 4 rumor point when the rule is specified; Step , 2, if the first timer arrives first , then go to step ,3, if the second timer When the first time arrives, the process proceeds to step P6; in step P3, the primary endorsement point sends a message to the backup endorsement point, queries the status of the backup endorsement point, and starts a third timer for querying whether the response time of the backup endorsement point times out, and The first timer is suspended; in step P4, if the backup end point receives the query information of the primary endorsement point, the backup end point sends a response, and the second timer is reset, indicating that the query message has been received within the specified time. P5, if the primary endorsement point receives the response message of the backup endorsement point before the third timer expires, the primary endorsement point closes the third timer, indicating that the response message is received at the specified time, and if the message is represented If the status of the backup endorsement point is normal, the primary endorsement point resets the first timer, indicating that the backup endorsement point is normal, and returns to step P1. If the third timer expires, the response has not been received or the received response indicates that the backup is performed. If the endorsement point is wrong, the main endorsement point does not restore the first timer, and it is judged that the main endorsement point is faulty, the detection is suspended, and the execution is suspended. Switching; - Step P6, the backup endorsement point sends a message to query the status of the primary endorsement point, suspends the second timer, and starts a fourth timer to monitor the response of the primary endorsement point; step P7, if at the fourth timing Before the device arrives, the backup endorsement point receives the response message of the main endorsement point, and the message shows that the main use ^ is all normal, then the backup endorsement point closes the fourth timer, restores and restarts the second timer, returns to Step P1, otherwise it is determined that the backup endorsement point is faulty, the detection is suspended, and the switching is performed. In step S106, the backup endorsement point becomes a new primary endorsement point, and the election of the new backup endorsement point may include the following steps: Step T1, the backup endorsement point first checks the database of the primary backup endorsement point of the local backup; Step T2, if the backup If the database in the endorsement point is valid, the backup endorsement point sends a message stating that it is the endorsement point to the existing node, and waits for the reply of the other node, if it is invalid, proceeds to step S102; Step ,3, receives a reply from the other network node In the future, the backup endorsement point changes its state and sets its own state as the new primary endorsement point; 07 000014 Step T4, the new primary endorsement point sends an update message to other nodes in the network, waiting for the database update; Step Τ5, the new primary endorsement point issues a backup endorsement node election message, and re-schedules the election of 4 rumors . Electing a new backup endorsement point can include the following steps: In a list of nodes that are eligible to be a backup endorsement point, create a subset that has not been declared a backup endorsement point; if one or more nodes declare themselves to be backup endorsements Point, then the node with the highest priority becomes the backup end point. If the priorities are equal, the final backup end point is determined by comparing other attributes, and the process ends; select the node with the highest priority as the backup end point, if the priorities are equal Compare the other attributes to determine the final backup endorsement point. The above other attributes can be used to identify and IP addresses. The optical network described above includes, but is not limited to, an automatically switched optical network. The above inter-domain protocols include, but are not limited to, inter-domain routing protocols. When the primary endorsement point or the backup endorsement point fails in different domains, the primary and secondary endorsement point switching protections are independently performed in different domains. Through the above technical solution, the present invention can implement the effective protection of the SPEAKER in the DDRP protocol, and the switching is fast, which can effectively reduce the probability of interruption of the service of the entire domain due to the failure of the SPEAKER node alone, and is compatible with the standard DDRP protocol, and the algorithm complexity is small. It has the advantages of simplicity and reliability. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawing: 1 is a flow chart of a method for protecting an inter-domain protocol end point of an optical network according to the present invention; FIG. 2 is a schematic diagram of a network organization structure according to an embodiment of the present invention; FIG. 3 is a hierarchical network according to an embodiment of the present invention. FIG. 4 is a schematic diagram of a network situation when SPEAKER and backup SPEAKER are faulty according to an embodiment of the present invention; FIG. 5 is a schematic diagram of a network after performing a switching according to an embodiment of the present invention; 6 is a schematic diagram of an update process of information interaction between the active and standby SPEAKERs in the domain according to an embodiment of the present invention; FIG. 7 is a schematic flowchart of operations performed by the primary SPEAKER node according to an embodiment of the present invention; Schematic diagram of the action flow performed by the primary SPEAKER node after the failure of the backup SPEAKER; and FIG. 9 is a flowchart of the entire technical solution according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION The present invention will be described in detail below with reference to the accompanying drawings. Referring to the figure, the protection method for the inter-domain protocol end point of the optical network according to the present invention includes the following steps: Step S102: Elect the primary endorsement point and the backup end point in the domain, and the primary endorsement point and the backup endorsement point respectively converge the domain Node information and routing information, and perform inter-layer communication; Step S104, establishing a communication connection between the primary endorsement point and the backup endorsement point, for performing routing data key data backup and state backup; Step Silver S106, main use The point and the backup endorsement point mutually detect each other's living state through the communication connection. If the sub-secret point detects that the main endorsement point has failed, the backup endorsement point becomes the new primary endorsement point, and a new backup endorsement point is elected. Returning to step S104, if the main endorsement If the point detection fails, the new backup endorsement point is elected, and the process returns to step S104. If no failure is detected, then step S106 is repeatedly executed. In step S102, the election of the primary endorsement point and the backup endorsement point may include the following steps: Step a: Configuring the qualification qualification of each network element, including being eligible to become the primary endorsement point, qualifying as a backup endorsement point, or not qualified Step b, after establishing a two-way communication connection between the node and the node, each node lists a list of all the network elements that may become the primary endorsement point and the backup endorsement point, and then each network element declares itself according to the qualification of the candidate. Use the endorsement point, or backup endorsement point, or do not speak. If there is no network element to declare its own endorsement point or backup endorsement point, then go to step-慷e; step c, all qualified to become the main endorsement In the list of network elements in the point, create a subset that has not been declared to be the primary endorsement point; Step d, if one or more network elements declare that they are the primary use, the network with the highest priority The element becomes the primary endorsement point. If the priorities are equal, the final primary endorsement point is determined by comparing other attributes, proceeding to step f; step e, selecting the highest priority The network element is used as the main control point. If the priorities are equal, the other attributes are compared with other attributes to determine the final primary endorsement point. Step f, in the list of all the NEs eligible to be the backup endorsement point, create a backup that has not been declared as a backup. a subset of the endorsement points; Step g, if one or more network elements declare that they are backup endorsement points, then the network element with the highest priority becomes the backup endorsement point, and if the priority is equal, the final backup is determined by comparing other attributes. Endorsement point, the process ends; Step h, select the network element with the highest priority as the backup endorsement point, if the priority is equal, compare the other attributes to determine the final backup endorsement point. The other attributes mentioned above may include a node identifier and an IP address. In step S106, detecting the respective living states between the primary endorsement point and the backup endorsement point may include the following steps: • In step PI, the primary endorsement point starts a first timer, which is used to track the time interval for detecting the status inquiry message, and the backup end point starts a second timer for detecting whether there is a query or a command from the primary endorsement within a specified time. Step P2, if the first timer first arrives, then proceeds to step P3, if the second timer first arrives, then proceeds to step 3 to gather P6; step P3, the primary endorsement point sends a message to the backup endorsement point, Querying the status of the backup endorsement point, and starting a third timer, for querying whether the response time of the backup endorsement point times out, and suspending the first timer; Step P4, if the backup endorsement point receives the query information of the primary endorsement point, Then, the backup end point sends a response, and the second timer is reset, indicating that the query message has been received internally within the specified time; Step P5, if the third end of the timer expires, the primary endorsement point receives the response of the backup endorsement point. In the message, the primary endorsement point closes the third timer, indicating that the response message is received at the specified time, and if the message indicates a backup generation If the point status is normal, the primary endorsement point resets the first timer, indicating that the backup endorsement point is all normal, and returns to step P1. If the third timer expires, the response has not been received or the received response indicates the backup endorsement point. If the error occurs, the main endorsement point does not restore the first timer, it is judged that the main endorsement point is faulty, the detection is suspended, and the switching is performed; Step P6, the backup endorsement point issues a message to query the status of the main endorsement point, and the second timer is suspended. And starting the fourth timer to monitor the response of the primary endorsement point; Step P7, if the backup end point receives the response message of the primary endorsement point before the fourth timer expires, and the message displays the primary endorsement message If everything is normal, the backup 4 will close the fourth timer, resume and restart the second timer, and return to step P1. Otherwise, it is judged that the backup end point is faulty, pause the test, and perform the switching. In step S106, the backup endorsement point becomes a new primary endorsement point, and the election of the new backup endorsement point may include the following steps: Step T1, the backup endorsement point first checks the database of the primary backup endorsement point of the local backup; Step T2, if the backup If the database in the endorsement point is valid, the backup endorsement point sends a message stating that it is the endorsement point to the existing node, and waits for the reply of other nodes. If invalid, then T/CN2007/000014
- 进^ 至步骤 S102; 步驟 T3 , 接收到其他网络节点的回复以后, 备份代言点更改本身的状 态, 把自己的状态设置为新的主用代言点; 步骤 T4, 新的主用代言点向网络内的其他节点发出更新消息, 等待数 据库更新; 步骤 T5 , 新的主代言点发出备份代言点节点选举消息, 重新进行备份 4弋言点的选举。 选举新的备份代言点可以包括以下步骤: 在全部有资格成为备份代言点中的网元列表中,创建一个还没有宣告成 为备份代言点的子集; 如果一个或者多个网元都声明自己是备份代言点,那么具有最高优先级 的网元成为备份代言点, 如果优先級相等则通过比较其他属性确定最终的备 份 4 言点, 流程结束; 选择具有最高优先级的网元为备份代言点,如果优先级相等则比较其他 属性确定最终备份代言点。 上述其他属性可以包括但不限于节点标识和 IP地址。 上述光网络包括但不限于自动交换光网络。 . 上述域间协议包括但不限于域间路由协议。 当不同域内分别出现主用代言点或备份代言点故障时,在不同域内分别 独立地进行主备代言点倒换保护。 本发明涉及光网络领域, 具体涉及一种 ASON 网络的域间协议中代言 点的主备保护方法, 同时也适用于数据网络的域间协议代言点保护。 图 2说明了网络节点的情况以及网路结构, 为两个 ASON网络域及节 点情况, 节点标识中的数字为 ID编号, 其他附图的 ID也是如此。 图 3的主备 SPEAKER节点选举已经完成, 方形为 SPEAKER, 二菱形 P T/CN2007/000014 为备用 SPEAKER。 图 4中的 CD1 内部 Ni l 出现故障, 导致主 SPEAKER无法正常工作, 而 CD2内部 N22出现故障,导致备份 SPEAKER无法正常工作。 CD1和 CD2 这两种故障的产生情况是完全独立的, 没有相互影响。 本发明的 SPEAKER主备保护技术方案主要由以下几部分构成,分别包 括域内 SPEAKER的选举、主备 SPEAKER之间的信息交互、主备 SPEAKER 的保护倒换、 以及新的备份 SPEAKER选举。 进一步, 本发明的技术方案包含如下技术步骤: 第一步, DDRP协议启动, 完成域内主 SPEAKER选举的同时, 完成备 份 SPEAKER的选举。 第二步, 主、 备 SPEAKER分别执行所在路由域的路由信息汇总, 以及 相应路由 i或的层间通信功能 (例 ^口, feed up and feed down )。 第三步, 主备 SPEAKER之间建立通信联系。 主备 SPEAKER相互之间 通过此通讯联系进行路由信息关键数据和状态备份。 第四步, 主备 SPEAKER通过通讯联系, 相互检测各自的生存状态。 检 测结果显示如果主 SPEAKER出现故障, 则转入第五步; 备 SPEAKER出现 故障, 则转入第六步; 否则, 继续 Φ 于本步骤。 第五步, 备份 SPEAKER检测到主 SPEAKER故障后, 备份 SPEAKER 启动并执行主 SPEAKER的相关功能。 备 SPEAKER成为新的主 SPEAKER^ 第六步, 按照第一步的方法, 在本域内重新选举备 SPEAKER。 流程转 入 4支术方案中的第四步。 特别地,技术方案中第一步中关于主 SPEAKER和备 SPEAKER的选举 方案进一步包含如下支术步骤: 步骤 1、 各节点上电启动, 节点上的 DDRP协议启动, 通过网管或其他 手段配置各 ASON网元的侯选资格, 包括有资格成为主 SPEAKER, 有资格 成为备份 SPEAKE 或者没有资格。 2007/000014 步骤 2、 在节点和节点之间建立双向通信连接以后, 各节点分别列出全 部的可能成为 SPEAKER和备份 SPEAKER的 AS ON 网元的列表, 然后各 ASON网元根据步骤 1配置的侯选资格情况, 宣称自己为主 SPEAKER或备 SPEAKER或者不发言。 如果没有 ASON网元声明自己为主或备 SPEAKER, 则转入步骤 5 , 否则 4令入下一步。 步骤 3、 在全部有资格成为主 SPEAKER中的 ASON网元列表中, 创建 一个还没有宣告成为 SPEAKER的子集。 步骤 4、 如果一个或者多个 ASON网元都声明自己是主 SPEAKER, 那 么具有最高优先级的 ASON网元成为主 SPEAKER网元, 如果优先级相等则 通过比较其他属性确定最终的主 SPEAKER网元。 流程结束。 步骤 5、 选择具有最高优先级的 ASON网元为 SPEAKER, 如果优先级 相等则按照步驟 4所述的比较其他属性确定最终 SPEAKER网元。流程结束。 特别地, 步骤 4所述的其他属性包括 ASON节点的标识, IP地址或其 他等相关参数。 可以作为一种策略在步慷 1提前配置。 特别地, 按照同样的方法, 通过重复上述技术步骤的步骤 3 ~ 5, 可以 完成备 SPEAKER的选举。 在主 SPEAKER和备份 SPEAKER选举完成以后,按照技术方案中第二 步所述, 主 SPEAKER进行信息的层间通信, 对相关的路由信息进行汇总。 - Go to step S102; Step T3, after receiving the reply from the other network node, the backup end point changes its state, and sets its own state as the new primary endorsement point; Step T4, the new primary endorsement point Other nodes in the network issue update messages, waiting for the database to be updated; Step T5, the new primary endorsement point issues a backup endorsement point node election message, and re-schedules the election of the 4 rumors. Electing a new backup endorsement point may include the following steps: In a list of all NEs eligible to be a backup endorsement point, create a subset that has not been declared a backup endorsement point; if one or more network elements declare themselves to be Back up the endorsement point, then the network element with the highest priority becomes the backup end point. If the priority is equal, the final backup 4 point is determined by comparing other attributes, and the process ends; select the network element with the highest priority as the backup end point. If the priorities are equal, compare the other attributes to determine the final backup endorsement point. Other attributes described above may include, but are not limited to, a node identification and an IP address. The optical network described above includes, but is not limited to, an automatically switched optical network. The above inter-domain protocols include, but are not limited to, inter-domain routing protocols. When the primary endorsement point or the backup endorsement point fails in different domains, the primary and secondary endorsement point switching protections are independently performed in different domains. The present invention relates to the field of optical networks, and particularly relates to an active/standby protection method for an endorsement point in an inter-domain protocol of an ASON network, and is also applicable to an inter-domain protocol end point protection of a data network. Figure 2 illustrates the situation of the network node and the network structure. For the two ASON network domains and nodes, the number in the node identifier is the ID number, as is the ID of the other figures. The main and standby SPEAKER node elections in Figure 3 have been completed, the square is SPEAKER, and the second diamond PT/CN2007/000014 is the alternate SPEAKER. The internal Ni l of CD1 in Figure 4 fails, causing the main SPEAKER to not work properly, and the internal N22 of CD2 fails, causing the backup SPEAKER to not work properly. The two faults of CD1 and CD2 are completely independent and have no interaction. The SPEAKER active/standby protection technical solution of the present invention mainly comprises the following parts, including the election of SPEAKER in the domain, the information exchange between the active and standby SPEAKER, the protection switching of the active and standby SPEAKER, and the new backup SPEAKER election. Further, the technical solution of the present invention includes the following technical steps: In the first step, the DDRP protocol is started, and the election of the SPEAKER is completed while completing the main SPEAKER election in the domain. In the second step, the primary and backup SPEAKER respectively perform routing information summarization of the routing domain in which it is located, and the inter-layer communication function (feed up and feed down) of the corresponding routing i or. The third step is to establish a communication link between the active and standby SPEAKER. The active and standby SPEAKERs communicate with each other through this communication to perform routing information key data and status backup. In the fourth step, the active and standby SPEAKERs communicate with each other to detect their respective living states. The test result shows that if the main SPEAKER fails, it goes to the fifth step; if the standby SPEAKER fails, it goes to the sixth step; otherwise, it continues to Φ. In the fifth step, after the backup SPEAKER detects the failure of the main SPEAKER, the backup SPEAKER starts and executes the related functions of the main SPEAKER. Prepare SPEAKER as the new main SPEAKER^ Step 6. In the first step, re-elect SPEAKER in this domain. The process moves to the fourth step in the four protocols. In particular, the first step in the technical solution regarding the election scheme of the primary SPEAKER and the standby SPEAKER further includes the following steps: Step 1. Each node is powered on, the DDRP protocol on the node is started, and each ASON is configured through a network management or other means. The qualification of the network element, including the qualification to become the main SPEAKER, is eligible to be a backup SPEAKE or not qualified. 2007/000014 Step 2: After establishing a two-way communication connection between the node and the node, each node lists all the AS ON NEs that may become SPEAKER and backup SPEAKER, and then each ASON NE is configured according to step 1. In the qualification situation, declare that you are the main SPEAKER or SPEAKER or do not speak. If no ASON NE declares itself as the primary or backup SPEAKER, go to step 5, otherwise 4 will proceed to the next step. Step 3. In the list of ASON NEs that are eligible to become the primary SPEAKER, create a subset that has not been declared SPEAKER. Step 4: If one or more ASON network elements declare that they are the primary SPEAKER, the ASON network element with the highest priority becomes the primary SPEAKER network element. If the priorities are equal, the final primary SPEAKER network element is determined by comparing other attributes. The process ends. Step 5: Select the ASON network element with the highest priority as SPEAKER. If the priorities are equal, determine the final SPEAKER network element according to the other attributes described in step 4. The process ends. Specifically, other attributes described in step 4 include an identifier of an ASON node, an IP address, or other related parameters. It can be configured in advance as a strategy in step 1. In particular, in the same manner, by repeating steps 3 to 5 of the above technical steps, the election of SPEAKER can be completed. After the main SPEAKER and backup SPEAKER elections are completed, the primary SPEAKER performs layer-to-layer communication of information and summarizes related routing information as described in the second step of the technical solution.
4支术方案中第三步所述的主备 SPEAKER 之间的通信和关键:数据备份 见图 6。 图 6说明了域内主备 SPEAKER之间互相查询状态的过程, 以及在 备份 speaker出现故障的时候进行倒换的操作流程, 同时, 图 6表示域内主 备 SPEAKER之间的信息交互更新过程。 技术方案中的第四步包含主备 SPEAKER之间的相互检测以及相应的 处理流程。 特别地, 技术方案中第四步关于主 SPEAKER和备 SPEAKER相 互检测各自的生存状态方案包含的具体步骤如下: 步骤 1、 主用 SPEAKER启动特定的定时器 (個―设为定时器 1 ) 负责艮 踪检测发出状态查询消息的时间间隔。 4 步骤 2、与步骤 1 同步进行的,步骤 2中备用 SPEAKER启动定时器(假 设为定时器 2 ) 负责检测规定时间内是否有查询或者命令从主用 SPEAKER 发出。 在此位置, 如果主用 SPEAKER的定时器 1首先到时, 则进入步骤 3, 如果是备份 SPEAKER的定时器 2首先到时, 则进入步骤 6。 步骤 3、 根据步骤 1的定时器, 如果首先主用 SPEAKER定时器时间到 时, 则主用 SPEAKER发消息给备份 SPEAKER, 查询备份 SPEAKER的状 态, 同时, 主用 SPEAKER启动一个定时器 (定时器 3 ) 负责查询是否备份 SPEAKER的响应时间超时。 同时暂停定时器 1。 步驟 4、 根据步骤 3 , 如果备份 SPEAKER接收到主用 SPEAKER的查 询信息, 则备份 SPEAKER发出响应, 同时复位定时器 2 , 表明已经在规定 时间内部接收到查询才-艮文。 . 步骤 5、 根据步骤 4, 在定时器 3到时以前, 主用 SPEAKER接收到备 份 SPEAKER的响应报文, 则主用 SPEAKER关闭定时器 3 , 表示在规定时 间接收到响应消息, 同时如果消息表示备份 SPEAKER 状态正常, 则主用 SPEAKER重置定时器 1 , 表明备份 SPEAKER—切正常, 在这种情况下, 重 新返回步骤 1 , 如果在定时器 3到时。 还没有收到 应或者接收到的。向应表 示备份 SPEAKER错误, 此时主用 SPEAKER不恢复定时器 1的计时。 根据 技术方案中的第二步所迷, 则需要进入技术方案的第六步。 该部分的详细流 程见图 8 步 ^聚 6、 步骤 2中如果备份 SPEAKER定时器到时。 则定时器 2到时的 情况下, 备份 SPEAKER发出消息查询主用 SPEAKER的状态, 暂停定时器 2同时启动定时器 (假设为定时器 4 ) 来对主用 SPEAKER的响应进行监控。 步骤 7、 根据步骤 6, 如果在定时器 4到时以前, 备份 SPEAKER接收 到主用 SPEAKER的响应消息, 并且消息显示主用 SPEAKER—切正常, 则 备份 SPEAKER关闭定时器 4, 恢复并且重启定时器 2。此时整个方案的状态 恢复到步骤 1, 否则进入技术方案的第五步。 具体流程见图 7。 图 7表示备 用 SPEAKER节点发现主用 SPEAKER故障的动作流程。 特别地, 根据技术方案中的第五步包含如下技术步骤: 步骤 1、 备份 SPEAKER首先检查本地备份的主 SPEAKER的数据库。 步骤 2、 根据步骤 1的结果, 如果备份 SPEAKER内的数据库有效, 则 备份 SPEAKER会向存在的节点发送声明自己为 SPEAKER的消息。 并且等 待其他节点的回复。 转入步骤 3的处理。 如果无效, 则退回到技术方案中的 第一步中, 重新进行 SPEAKER的选举。 步骤 3、 根据步骤 2 的结果接收到其他网络节点的回复以后, 备份The communication and key between the active and standby SPEAKER described in the third step of the four schemes: data backup is shown in Figure 6. Figure 6 illustrates the process of querying each other's status between the active and standby SPEAKERs in the domain, and the operation flow of switching when the backup speaker fails. At the same time, Figure 6 shows the information exchange update process between the active and standby SPEAKERs in the domain. The fourth step in the technical solution includes the mutual detection between the active and standby SPEAKER and the corresponding processing flow. In particular, the fourth step in the technical solution about the main SPEAKER and the standby SPEAKER mutual detection of the respective survival state scheme includes the following specific steps: Step 1, the main SPEAKER starts a specific timer (a "set to timer 1") Traces the interval at which status messages are sent. 4 Step 2, synchronized with step 1, the standby SPEAKER start timer in step 2 (assumed to be timer 2) is responsible for detecting whether there is a query or command from the main SPEAKER within the specified time. In this position, if the timer 1 of the primary SPEAKER first arrives, the process proceeds to step 3. If the timer 2 of the backup SPEAKER first arrives, the process proceeds to step 6. Step 3: According to the timer of step 1, if the primary SPEAKER timer expires, the primary SPEAKER sends a message to the backup SPEAKER to query the status of the backup SPEAKER, and the primary SPEAKER starts a timer (timer 3) ) Responsible for querying whether the response time of the backup SPEAKER is timed out. Timer 1 is also suspended. Step 4: According to step 3, if the backup SPEAKER receives the query information of the primary SPEAKER, the backup SPEAKER sends a response, and at the same time resets the timer 2, indicating that the query has been received internally within the specified time. Step 5: According to step 4, before the timer 3 expires, the primary SPEAKER receives the response message of the backup SPEAKER, then the primary SPEAKER closes the timer 3, indicating that the response message is received at the specified time, and if the message is represented If the backup SPEAKER status is normal, the primary SPEAKER resets the timer 1 to indicate that the backup SPEAKER is normal. In this case, return to step 1 if the timer 3 expires. Have not received or received. The response should indicate a backup SPEAKER error. At this time, the primary SPEAKER does not resume the timer 1 timer. According to the second step in the technical solution, it is necessary to enter the sixth step of the technical solution. The detailed process of this part is shown in Figure 8. Step 2, Step 2 If the backup SPEAKER timer expires. When the timer 2 expires, the backup SPEAKER issues a message to query the status of the primary SPEAKER, and the timer 2 is paused to start the timer (assumed to be timer 4) to monitor the response of the primary SPEAKER. Step 7. According to step 6, if the backup SPEAKER receives the response message of the primary SPEAKER before the timer 4 expires, and the message shows that the primary SPEAKER is normal, the backup SPEAKER closes the timer 4, restores and restarts the timer. 2. At this point, the state of the entire solution is restored to step 1, otherwise it enters the fifth step of the technical solution. The specific process is shown in Figure 7. Figure 7 shows the action flow of the standby SPEAKER node discovering the failure of the primary SPEAKER. In particular, according to the fifth step in the technical solution, the following technical steps are included: Step 1. The backup SPEAKER first checks the database of the primary SPEAKER of the local backup. Step 2. According to the result of step 1, if the database in the backup SPEAKER is valid, the backup SPEAKER will send a message stating that it is SPEAKER to the existing node. And wait for a reply from other nodes. Go to the processing of step 3. If it is invalid, return to the first step in the technical solution and re-elect SPEAKER. Step 3. After receiving the reply from other network nodes according to the result of step 2, back up
SPEAKER会更改本身的状态, 把自己的状态设置为主 SPEAKER。 步骤 4、 步骤 3完成以后, 该主 SPEAKER向网络内的其他节点发出更 新消息。 等待数据库更新。 步骤 5、 步骤 4完成以后, 该主 SPEAKER会发出备份 SPEAKER节点 选举消息, 重新进行备份 SPEAKER的选举, 步骤 6、 见技术方案中的第一步中的备份 SPEAKER选举的详细步骤。 以上步骤见图 9。 实施例 1 : 结合图 2和图 3, 以选举主 SPEAKER为例对技术方案中的第一步选举 主备 SPEAKER的具体实施方案进行详细说明: 第一步, 根据技术方案第一步的步骤 1组建两个域 CD1和 CD2, 网络 示意图见图 2。 然后各网元上电, CD1 和 CD2 中的各网元都声称自己为主 SPEAKER- 第二步, 节点之间通过发送数据包建立双向连接,每一个节点均建立数 据库,数据库中包含所有的声明为自己为主 SPEAKER节点,根据图 2所示, 全部节点都声称自己为主 SPEAKER, 第三步, 创建一个还没有宣告成为 SPEAKER的子集, 该子集为空。 第四步, 在该步骤中, 假设节点 ID号码最小的具有最高优先级, 因此 CD1内的节点 Nl 1 , 和 CD2中的节点 N21分别成为各自域的主 SPEAKER. 按照同样方法, 选举出 N12和 N22为各自域内部的备份 SPEAKER。 网络中 SPEAKER节点选举完成。 选举完成的图见图 3。 4 实;^例 2: 结合图 3以及图 6,以实施例 1域 CD1 已经选举主 SPEAKER Ν1Γ对备 份 SPEAKER Nl 2的检测步骤为例, 对技术方案中主备 SPEAKER相互检测 进行具体说明: 第一步, Nil 网元启动定时器 1, N12网元启动定时器 2。 第二步, Nil定时器 1到时, 暂停定时器 1, 转入下一步。 第三步, Nil 网元发送状态查询消息给 N12。 同时 Nil 网元启动定时 器 3。 第四步, 定时器 3到时以前, Nil 网元接收 N12响应成功, Nil 网元 关闭定时器 3。 第五步, Nil 网元复位定时器 1, 重新进行下一轮计时。 至此主用 SPEAKER检测备份 SPEAKER的步骤已经完成。 转入下一步。 第六步, 继续, N12网元定时器 2到时, 暂停定时器 2, 查询 Nil状态, 并且启动定时器 4。 第七步, 定时器 4到时以前, N12 网元接收到 Nil 网元正常的状态响 应消息, 关闭定时器 4。 第八步, Nil 网元复位定时器 2, 重新计时。 至此, 备份 SPEAKER检 测主 SPEAKER节点的步骤已经完成。 至此,主用 SPEAKER检测备份 SPEAKER以及备份 SPEAKER检测主 用 SPEAKER的过程结束。 实施列 3: 结合图 3, 图 4以及图 8, 以实施例 1中域 CD2已经选举主 SPEAKER N21和备份 SPEAKER N22为例, 对技术方案中备 SPEAKER故障引发的倒 换动作进 4亍具体说明, 执 f步骤如下: 第一步, 人为关闭 N22的电源, 见图 4中的 i或 CD2。 07 000014 第二步, N21的定时器到时以后, 查询 N22状态, 因为 N22故障, 因 此查询失败。 第三步, N21 发出的重新选举备份 SPEAKER 的 4艮文。 重新选举备份 SPEAKER。 第四步, 域 CD2 内部执行实施例 1 内的相关步骤重新选举出备份SPEAKER will change its state and set its own state to be SPEAKER. After step 4 and step 3 are completed, the primary SPEAKER sends an update message to other nodes in the network. Waiting for a database update. After step 5 and step 4 are completed, the main SPEAKER will issue a backup SPEAKER node election message, and re-schedule the SPEAKER election. Step 6. See the detailed steps of the backup SPEAKER election in the first step of the technical solution. The above steps are shown in Figure 9. Embodiment 1 : In conjunction with FIG. 2 and FIG. 3, the specific implementation scheme of the first step of electing the active and standby SPEAKER in the technical solution is described in detail by taking the election of the main SPEAKER as an example: First step, according to step 1 of the first step of the technical solution Two domains, CD1 and CD2, are formed. The network diagram is shown in Figure 2. Then each network element is powered on, and each network element in CD1 and CD2 claims to be the primary SPEAKER - the second step, the nodes establish a two-way connection by sending data packets, each node establishes a database, and the database contains all the declarations. For the main SPEAKER node, according to Figure 2, all nodes claim to be the main SPEAKER, the third step, create a subset that has not yet declared SPEAKER, the subset is empty. In the fourth step, in this step, it is assumed that the node ID number has the lowest priority, so the node Nl 1 in CD1 and the node N21 in CD2 become the main SPEAKER of the respective domains. In the same way, N12 and N22 is the backup SPEAKER inside the respective domain. The election of the SPEAKER node in the network is completed. The figure of the election is shown in Figure 3. 4 Example 2: In conjunction with FIG. 3 and FIG. 6, the detection procedure of the backup SPEAKER Nl 2 has been selected by taking the main SPEAKER Ν1Γ in the domain CD1 of the embodiment 1 as an example, and the mutual detection of the SPEAKER in the technical solution is specifically described: In one step, the Nil NE starts timer 1, and the N12 NE starts timer 2. In the second step, when the Nil timer expires, the timer 1 is paused and the next step is taken. In the third step, the Nil network element sends a status query message to N12. At the same time, the Nil NE starts timer 3. In the fourth step, before the timer 3 expires, the Nil network element receives the N12 response successfully, and the Nil network element turns off the timer 3. In the fifth step, the Nil network element resets the timer 1 and restarts the next round of timing. At this point, the main step of using SPEAKER to detect the backup SPEAKER has been completed. Go to the next step. In the sixth step, continue, when the N12 network element timer 2 expires, the timer 2 is suspended, the Nil state is queried, and the timer 4 is started. In the seventh step, before the timer 4 expires, the N12 network element receives the normal status response message of the Nil network element, and turns off the timer 4. In the eighth step, the Nil network element resets the timer 2 and re-times. At this point, the step of backing up SPEAKER to detect the primary SPEAKER node has been completed. At this point, the process of using the SPEAKER to detect the backup SPEAKER and the backup SPEAKER to detect the primary SPEAKER is over. Embodiment 3: In conjunction with FIG. 3, FIG. 4 and FIG. 8, the main SPEAKER N21 and the backup SPEAKER N22 have been elected in the domain CD2 in the embodiment 1, and the switching action triggered by the SPEAKER fault in the technical solution is specifically described. The steps are as follows: In the first step, the power of the N22 is manually turned off, as shown in i or CD2 in Figure 4. 07 000014 In the second step, after the timer of N21 expires, the N22 status is queried. Because N22 is faulty, the query fails. The third step, N21 issued a re-election back to SPEAKER's 4 essays. Re-elect backup SPEAKER. In the fourth step, domain CD2 internally performs the relevant steps in Embodiment 1 to re-elect the backup.
SPEAKER N23。 第五步, N22和 N23之间数据同步, 同步 SPEAKER数据库。 至此, 备份 SPEAKER故障导致的倒换动作已经完成。 参见图 5中的域SPEAKER N23. In the fifth step, the data is synchronized between N22 and N23, and the SPEAKER database is synchronized. At this point, the backup action caused by the backup SPEAKER failure has been completed. See the domain in Figure 5
CD2。 实施例 4: 结合图 3以及图 7,以实施例 1域 CD1 已经选举主 SPEAKER Ni l和备 份 SPEAKER N12为例, 对技术方案中主用 SPEAKER故障引发的倒换动作 进行具体说明: 第一步, 人为关闭 Ni l的电源。 第二步, N22定时器 3到时以后, 由于 Ni l故障, N21状态查询失败。 第三步, N22检查备份数据库, 由于原来进行过 SPEAKER数据库同步 操作, 因此数据库查询成功。 第四步, N22向域内部的其他节点发出自己为主 SPEAKER的声明。 第五步, N22接收到 i成各内节点的响应。 第六步, N22更改状态为主用 SPEAKER。 第七步, N22发起选举备份 SPEAKER, 在域内部选举备份 SPEAKER N23 , 网络示意图见图 5中的域 CD1。 第八步, N22和 N23之间进行数据同步。 第九步, N22发起域内网络信息更新操作。 07 000014 至此, 主 SPEAKER错误导致的主备倒换动作已经完成。 实施例 5: 结合图 3、 图 4、 图 5、 图 6、 图 7以及图 8 , 以实施例 1域 CD1 已经 选举主 SPEAKER Ni l对备份 SPEAKER N12的检测步骤为例, 对不同域内 分别出现主备 SPEAKER故障弓 ]发的倒换动作进行具体说明: 第一步, 如图 2 , 组建两个域 CD1和 CD2, 域内各网元上电启动, 转 入下一步。 第二步, 执行域内 SPEAKER选举, 域 CD1选举完成 SPEAKER Ni l 和备份 SPEAKER N12 ,域 CD2内选举完成 SPEAKER N21和备份 SPEAKER N22 , 选举结果如图 3。 第三步, 域 CD1和域 CD2中主备 SPEAKER之间的数据同步完成。 第三步, 人为使域 CD1 中.使 Ni l 出现故障, 域 CD2中的备份 N22出 现故障。 示意图见图 4。 第四步, 各域内 SPEAKER的定时器到时, 因此域 CD 1备份 SPEAKER N12查询 Ni l状态失败,域 CD2主用 SPEAKR N21查询备份 SPEAKER N22 状态失败, 因此域 CD1和 CD2 内分别独立进 4亍主备倒换动作。 具体步骤见 实施例 3以及实施例 4。 第五步, 各域内的主备 SPEAKER倒换完成, 域 CD1 内的 SPEAEKR 为 N12 , 域 CD2内的主 SPEAEKR为 N22。 第六步, 各域内的 SPEAKER N12 和 N22 分別发起重新选举备份CD2. Embodiment 4: With reference to FIG. 3 and FIG. 7 , the main SPEAKER Ni l and the backup SPEAKER N12 have been elected in the embodiment 1 domain CD1 as an example, and the switching action triggered by the main SPEAKER fault in the technical solution is specifically described: Manually turn off the power of the Ni l. In the second step, after the N22 timer 3 expires, the N21 status query fails due to the Ni l failure. The third step, N22 check the backup database, because the original SPEAKER database synchronization operation, so the database query is successful. In the fourth step, N22 sends a statement to the other nodes inside the domain that it is the primary SPEAKER. In the fifth step, N22 receives the response of i into each internal node. In the sixth step, the N22 changes state to SPEAKER. In the seventh step, the N22 initiates the election backup SPEAKER, and elects the backup SPEAKER N23 in the domain. The network diagram is shown in the domain CD1 in FIG. In the eighth step, data synchronization is performed between N22 and N23. In the ninth step, the N22 initiates an intra-domain network information update operation. 07 000014 At this point, the active/standby switching action caused by the main SPEAKER error has been completed. Embodiment 5: With reference to FIG. 3, FIG. 4, FIG. 5, FIG. 6, FIG. 7 and FIG. 8, the detection procedure of the backup SPEAKER N12 is selected by the main SPEAKER Ni1 in the domain CD1 of the embodiment 1 as an example, and respectively appears in different domains. The switching action of the active and standby SPEAKER fault bows is specifically described: In the first step, as shown in Figure 2, two domains CD1 and CD2 are set up, and the NEs in the domain are powered on and transferred to the next step. The second step is to perform the SPEAKER election in the domain. The domain CD1 election completes the SPEAKER Ni l and the backup SPEAKER N12. The domain CD2 elects the SPEAKER N21 and the backup SPEAKER N22. The election result is shown in Figure 3. In the third step, the data synchronization between the active and standby SPEAKERs in the domain CD1 and the domain CD2 is completed. In the third step, artificially causing Ni1 to fail in domain CD1, backup N22 in domain CD2 fails. The schematic is shown in Figure 4. The fourth step, the SPEAKER timer in each domain expires, so the domain CD 1 backup SPEAKER N12 fails to query the Ni l state, the domain CD2 primary SPEAKR N21 query backup SPEAKER N22 state fails, so the domains CD1 and CD2 are independent of each other. Active/standby switching action. See Example 3 and Example 4 for specific steps. In the fifth step, the active and standby SPEAKER switches in each domain are completed, the SPEAEKR in the domain CD1 is N12, and the primary SPEAEKR in the domain CD2 is N22. In the sixth step, SPEAKER N12 and N22 in each domain initiate re-election backup respectively.
SPEAKER, 选举域 CD1 内 N13为备份 SPEAKER, 域 CD2 内 N23为备份 SPEAKER, 倒换完成以后的网络图见图 5。 第六步, 各域内的主备 SPEAKER进行数据同步和更新。 至此, 不同: t或内的主备 SPEAKER分别倒换动作已经完成。 根据以上实施例可知,本技术方案采用主备 SPEAKER相互备份的保护 机制, 具备快速恢复 SPEAKER功能、 倒换效率高的优点。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。 SPEAKER, N13 in the election domain CD1 is the backup SPEAKER, and N23 in the domain CD2 is the backup SPEAKER. The network diagram after the completion of the switching is shown in Figure 5. In the sixth step, the active and standby SPEAKERs in each domain perform data synchronization and update. At this point, the difference: t or the internal active and standby SPEAKER respectively, the switching action has been completed. According to the above embodiments, the technical solution adopts the mutual backup SPEAKER mutual backup protection mechanism, and has the advantages of quickly recovering the SPEAKER function and high switching efficiency. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 禾 ιΓ要 求 书 权禾Γ request
1 . —种用于光网络域间协议代言点的保护方法, 其特征在于, 包括以下 步骤: A protection method for an inter-domain protocol end point of an optical network, characterized in that the method comprises the following steps:
步骤 S 102 , 选举域内主用代言点和^ ^份代言点, 所述主用代言 点和所述备份代言点分别汇聚所在域的节点信息和路由信息, 并执行 层间通信;  Step S102: Elect the primary endorsement point and the ^^ endorsement point in the domain, and the primary endorsement point and the backup endorsement point respectively aggregate node information and routing information of the domain, and perform inter-layer communication;
步骤 S 104 , 所述主用代言点与所述备份代言点之间建立通信连 接, 用于进行路由信息关键数据备份和状态备份;  Step S104, establishing a communication connection between the primary endorsement point and the backup endorsement point, for performing key data backup and state backup of routing information;
步骤 S 106 , 所述主用代言点与所述备份代言点之间通过所述通 信连接相互检测各自的生存状态, 如果所述备份代言点检测出所述主 用代言点出现故障, 则所述备份代言点成为新的主用代言点, 选举新 的备份代言点, 返回至步驟 S104 , 如果所述主用代言点检测出所述备 份代言点出现故障, 则选举新的备份代言点, 返回至步骤 S 104 , 如果 均未检测出出现故障, 则重复执行步 ¾ S 106。  Step S106, the primary endorsement point and the backup endorsement point mutually detect each living state through the communication connection, and if the backup endorsement point detects that the primary endorsement point fails, the The backup endorsement point becomes a new primary endorsement point, and a new backup endorsement point is elected, and the process returns to step S104. If the primary endorsement point detects that the backup endorsement point is faulty, the new backup endorsement point is elected, and the process returns to Step S104, if no fault is detected, the step S106 is repeated.
2. 根据权利要求 1所述的保护方法, 其特征在于, 在步骤 S102中, 选举 所述主用«言点和所述备份代言点包括以下步骤:  The protection method according to claim 1, wherein in step S102, the election of the primary use point and the backup endorsement point comprises the following steps:
步骤 a, 配置各节点的侯选资格, 包括有资格成为主用代言点、 有资格成为备份代言点、 或者没有资格;  Step a, configure the candidate qualifications of each node, including being eligible to become the primary endorsement point, qualifying as a backup endorsement point, or not qualified;
步驟 b, 在节点与节点之间建立双向通信连接以后, 各节点分别 列出全部的可能成为主用代言点和备份代言点的节点的列表, 然后各 节点根据所述侯选资格, 宣称自己为主用代言点、 或备份代言点、 或 不发言, 如果没有节点声明自己为主用代言点或备份代言点, 则转入 步骤 e;  Step b, after establishing a two-way communication connection between the node and the node, each node lists a list of all nodes that may become the primary endorsement point and the backup endorsement point, and then each node declares itself as the candidate according to the candidate qualification Use the endorsement point, or backup endorsement point, or do not speak, if there is no node to declare its own endorsement point or backup endorsement point, then go to step e;
步骤 c, 在全部有資格成为主用代言点中的节点列表中, 创建一 个还没有宣告成为主用代言点的子集;  Step c, in the list of nodes that are all eligible to become the primary endorsement point, create a subset that has not been declared to be the primary endorsement point;
步骤 d, 如果一个或者多个节点都声明自己是主用代言点, 那么 具有最高优先级的节点成为主用代言点, 如果优先级相等则通过比较 其他属性确定最终的主用代言点, 进行至步骤 f; 步骤 e, 选择具有最高优先级的节点为主用代言点, 如果优先级 相等则比较所述其他属性确定最终主用代言点; Step d, if one or more nodes declare that they are the primary endorsement points, then the node with the highest priority becomes the primary endorsement point, and if the priorities are equal, the final primary endorsement point is determined by comparing other attributes to proceed to Step f; Step e, selecting the node with the highest priority as the primary endorsement point, and if the priorities are equal, comparing the other attributes to determine the final primary endorsement point;
步骤 f, 在全部有资格成为备份代言点中的节点列表中, 创建一 个还没有宣告成为备份代言点的子集;  Step f, in the list of nodes that are all eligible to be the backup endorsement point, create a subset that has not been declared as a backup endorsement point;
步骤 g, 如果一个或者多个节点都声明自己是备份代言点, 那么 具有最高优先级的节点成为备份代言点, 如果优先级相等则通过比较 所述其他属性确定最终的备份代言点, 流程结束;  Step g, if one or more nodes declare that they are backup endorsement points, the node with the highest priority becomes the backup endorsement point, and if the priorities are equal, the final backup endorsement point is determined by comparing the other attributes, and the process ends;
步骤 h, 选择具有最高优先级的节点为备份代言点, 如果优先级 相等则比较所述其他属性确定最终备份代言点。  Step h: Select the node with the highest priority as the backup end point. If the priorities are equal, compare the other attributes to determine the final backup end point.
3. 根据权利要求 2所述的保护方法, 其特征在于, 所述其他属性包括节 点标 F、和 IP地址。 The protection method according to claim 2, wherein the other attributes include a node F and an IP address.
4. 根据权利要求 1所述的保护方法, 其特征在于, 在步骤 S106中, 所述 主用代言点与所述备份代言点之间相互检测各自的生存状态包括以下 步骤: The protection method according to claim 1, wherein in step S106, detecting the respective living states of the primary endorsement point and the backup endorsement point comprises the following steps:
步骤 Pl, 所述主用代言点启动第一定时器, 用于跟踪检测发出 状态查询消息的时间间隔, 所述备份代言点启动第二定时器, 用于检 测规定时间内是否有查询或者命令从所述主用代言点发出;  Step P1, the primary endorsement point starts a first timer, and is used to track and detect a time interval for sending a status query message, where the backup endorsement point starts a second timer, and is used to detect whether there is a query or a command from the specified time. The primary endorsement point is issued;
步骤 P2 , 如果所述第一定时器首先到时, 则进入步骤 P3 , 如果 所述第二定时器首先到时, 则进入步骤 P6;  Step P2, if the first timer first arrives, then proceeds to step P3, and if the second timer first arrives, proceeds to step P6;
步骤 P3 , 所述主用代言点发消息给所迷备份代言点, 查询所述 备份代言点的状态, 并启动第三定时器, 用于查询是否所述备份代言 点的响应时间超时, 并暂停所述第一定时器;  Step P3, the primary endorsement point sends a message to the backup endorsement point, queries the status of the backup endorsement point, and starts a third timer, which is used to query whether the response time of the backup endorsement point times out, and pauses The first timer;
步骤 P4, 如果所述备份代言点接收到所述主用代言点的查询信 息, 则所述备份代言点发出响应, 同时复位所述第二定时器, 表明已 经在规定时间内部接收到查询报文;  Step P4, if the backup endorsement point receives the query information of the primary endorsement point, the backup endorsement point sends a response, and simultaneously resets the second timer, indicating that the query message has been received internally within a specified time. ;
步骤 P5 , 如果在所述第三定时器到时以前, 所述主用代言点接 收到所述备份代言点的响应报文, 则所述主用代言点关闭所述第三定 时器, 表示在规定时间接收到响应消息, 并且如果消息表示所述备份 代言点状态正常, 则所述主用代言点重置所述第一定时器,表明所述备 份代言点一切正常, 返回至步骤 P1 , 如果在所述第三定时器到时还没 有收到响应或者接收到的响应表示所述备份代言点错误, 则所述主用 代言点不恢复所述第一定时器, 判断出所述主用代言点出现故障, 暂 停检测 亍倒换; Step P5, if the primary endorsement point receives the response message of the backup endorsement point before the third timer expires, the primary endorsement point closes the third timer, indicating that Receiving a response message at a specified time, and if the message indicates that the backup endorsement point is in a normal state, the primary endorsement point resets the first timer, indicating that the backup endorsement point is all normal, and returns to step P1, if Not yet when the third timer expires If the response is received or the received response indicates that the backup endorsement point is wrong, the primary endorsement point does not restore the first timer, and it is determined that the primary endorsement point is faulty, and the detection is reversed;
步骤 P6 , 所述备份代言点发出消息查询所述主用代言点的状态, 暂停所述第二定时器, 并启动第四定时器来对所述主用代言点的响应 进行监控;  Step P6, the backup endorsement point sends a message to query the status of the primary endorsement point, suspend the second timer, and start a fourth timer to monitor the response of the primary endorsement point;
步骤 P7 , 如果在所述第四定时器到时以前, 所述备份代言点接 收到所述主用代言点的响应消息, 并且消息显示所述主用代言点一切 正常, 则所述备份代言点关闭所述第四定时器, 恢复并且重启所述第 二定时器, 返回至步骤 P1 , 否则判断出所述备份代言点出现故障, 暂 停检测, 执行倒换。 根椐权利要求 1所述的保护方法, 其特征在于, 在步骤 S 106中, 所述 备份代言点成为新的主用代言点,选举新的备份代言点包括以下步骤: 步骤 T1 , 所述备份代言点首先检查本地备份的主用代言点的数 据库; — 步骤 T2, 如果所述备份代言点内的数据库有效, 则备份代言点 向存在的节点发送声明自己为代言点的消息, 并且等待其他节点的回 复, 如杲无效, 则进行至步骤 S102;  Step P7, if the backup endorsement point receives the response message of the primary endorsement point before the fourth timer expires, and the message indicates that the primary endorsement point is all normal, the backup endorsement point The fourth timer is closed, the second timer is restored and restarted, and the process returns to step P1. Otherwise, it is determined that the backup end point fails, the detection is suspended, and the switching is performed. The protection method according to claim 1, wherein in step S106, the backup endorsement point becomes a new primary endorsement point, and the election of the new backup endorsement point comprises the following steps: Step T1, the backup The endorsement point first checks the database of the primary backup end point of the local backup; - Step T2, if the database in the backup endorsement point is valid, the backup endorsement point sends a message stating that it is the endorsement point to the existing node, and waits for other nodes Respond, if 杲 is invalid, proceed to step S102;
步骤 T3 , 接收到其他网络节点的回复以后, 所述备份代言点更 改本身的状态, 把自己的状态设置为新的主用代言点;  Step T3, after receiving a reply from another network node, the backup endorsement point changes its own state, and sets its own state as a new primary endorsement point;
― 步 T4, 所述新的主用代言点向网络内的其他节点发出更新消 息, 等待数据库更新;  ― Step T4, the new primary endorsement point sends an update message to other nodes in the network, waiting for the database to be updated;
步骤 T5 , 所述新的主代言点发出备份代言点节点选举消息, 重 新进行备份代言点的选举。 根据权利要求 1或 5所述的保护方法, 其特征在于, 选举新的备份代 言点包括以下步银:  Step T5, the new main endorsement point issues a backup end point node election message, and re-selects the backup end point. The protection method according to claim 1 or 5, characterized in that the election of the new backup speech point comprises the following steps:
在全部有资格成为备份代言点中的节点列表中, 创建一个还没有 宣告成为备份代言点的子集;  In the list of nodes that are eligible to be the backup endorsement point, create a subset that has not been declared a backup endorsement point;
如果一个或者多个节点都声明自己是备份代言点, 那么具有最高 优先级的节点成为备份代言点, 如果优先级相等则通过比较所述其他 属性确定最终的备份代言点, 流程结束; If one or more nodes declare themselves to be backup endorsement points, then have the highest The priority node becomes the backup endorsement point. If the priorities are equal, the final backup endorsement point is determined by comparing the other attributes, and the process ends;
选择具有最高优先级的节点为备份代言点, 如果优先级相等则比 较所述其他属性确定最终备份代言点。 根据权利要求 6所述的保护方法, 其特征在于, 所述其他属性包括节 点标识和 IP地址。 根据权利要求 1至 5 中任一项所述的保护方法, 其特征在于, 所述光 网络包括自动交换光网络。 根据权利要求 1至 5 中任一项所述的保护方法, 其特征在于, 所述域 间协议包括域间路由协议。 根据权利要求 1至 5 中任一项所述的保护方法, 其特征在于, 当不同 域内分別出现主用代言点或备份代言点故障时, 在所述不同域内分別 独立地进 4于主备 «言点倒换保护。  Select the node with the highest priority as the backup endorsement point, and if the priorities are equal, compare the other attributes to determine the final backup endorsement point. The protection method according to claim 6, wherein the other attributes include a node identifier and an IP address. The protection method according to any one of claims 1 to 5, characterized in that the optical network comprises an automatically switched optical network. The protection method according to any one of claims 1 to 5, wherein the inter-domain protocol comprises an inter-domain routing protocol. The protection method according to any one of claims 1 to 5, characterized in that, when the primary endorsement point or the backup endorsement point failure occurs in different domains, respectively, the main auxiliary equipment is independently entered in the different domains « Word change protection.
PCT/CN2007/000014 2007-01-04 2007-01-04 A protection method of the speakers of the interdomain protocol in the optical network WO2008086641A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2007/000014 WO2008086641A1 (en) 2007-01-04 2007-01-04 A protection method of the speakers of the interdomain protocol in the optical network
CN2007800143304A CN101427531B (en) 2007-01-04 2007-01-04 A protection method of the speakers of the interdomain protocol in the optical network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2007/000014 WO2008086641A1 (en) 2007-01-04 2007-01-04 A protection method of the speakers of the interdomain protocol in the optical network

Publications (1)

Publication Number Publication Date
WO2008086641A1 true WO2008086641A1 (en) 2008-07-24

Family

ID=39635623

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/000014 WO2008086641A1 (en) 2007-01-04 2007-01-04 A protection method of the speakers of the interdomain protocol in the optical network

Country Status (2)

Country Link
CN (1) CN101427531B (en)
WO (1) WO2008086641A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113472566A (en) * 2021-06-11 2021-10-01 北京市大数据中心 Status monitoring method of union block chain and master node status monitoring system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1006702A2 (en) * 1998-12-04 2000-06-07 Nortel Networks Corporation Method and apparatus providing for an improved VRRP (Virtual Router Redundancy Protocol)
CN1147803C (en) * 1999-12-29 2004-04-28 上海龙林通信技术有限公司 Thermal backup method of IP network equipment
CN1719831A (en) * 2005-07-15 2006-01-11 清华大学 High-available distributed boundary gateway protocol system based on cluster router structure

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100369419C (en) * 2005-07-14 2008-02-13 广东省电信有限公司研究院 Method for realizing connected reinforced main-apparatus protection in automatic exchange optical network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1006702A2 (en) * 1998-12-04 2000-06-07 Nortel Networks Corporation Method and apparatus providing for an improved VRRP (Virtual Router Redundancy Protocol)
CN1147803C (en) * 1999-12-29 2004-04-28 上海龙林通信技术有限公司 Thermal backup method of IP network equipment
CN1719831A (en) * 2005-07-15 2006-01-11 清华大学 High-available distributed boundary gateway protocol system based on cluster router structure

Also Published As

Publication number Publication date
CN101427531B (en) 2011-11-23
CN101427531A (en) 2009-05-06

Similar Documents

Publication Publication Date Title
JP5508289B2 (en) Network recovery system and method from multilink failure
CA2427285C (en) Method and system for implementing ospf redundancy
JP5941404B2 (en) Communication system, path switching method, and communication apparatus
JP2007282153A (en) Network system and communications apparatus
WO2007071189A1 (en) A method and device for recovering the share mesh network
US20070274224A1 (en) Path setting method, node device, and monitoring/control device
WO2011157151A2 (en) Method, device and system for realizing disaster-tolerant backup
WO2012088967A1 (en) Method and device for restoring network
WO2008046358A1 (en) A method and device to realize punch-through of point-to-multipoint network link status
JP2007258926A (en) Fault recovery method and node, and network
WO2008119294A1 (en) Method and equipment for restoring network business
WO2011076024A1 (en) Transmission multi-protocol label switching network system and link protection method
WO2023015897A1 (en) Intelligent control method, apparatus and system for optical network
WO2010121459A1 (en) Method and system for implementing protection and recovery in automatically switching optical network
WO2009055995A1 (en) Maintaining method for automatic switched optical network system when operation engenders alarm
CN101340377B (en) Method, apparatus and system for data transmission in double layer network
WO2010028560A1 (en) Method for realizing permanent ring network protection in mesh network
WO2010133065A1 (en) Protection system and method based on the passive optical network
WO2006131020A1 (en) Harmonizing method for protection restoration between middle-level network in automatic switched optical network
WO2014101125A1 (en) Aggregation group link negotiation method, device and system
WO2012068866A1 (en) Method and system for refreshing media access control in ethernet ring network
WO2012097571A1 (en) Method and node device for recovering ring network service
KR101614301B1 (en) Automatic recovering method and device for node resource state in dense wavelength division multiplexing based automatic switched optical network system
WO2008086641A1 (en) A protection method of the speakers of the interdomain protocol in the optical network
WO2013185583A1 (en) Method and device for recovering protection service in intelligent optical network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07701946

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 200780014330.4

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07701946

Country of ref document: EP

Kind code of ref document: A1