A site service takeover method

Through heartbeat message exchange, device-level protection is implemented between the central node device and the backup node device, which solves the problem of service failure after the failure of the central node device and realizes the protection of service continuity.

CN117376060BActive Publication Date: 2026-02-27WUHAN SHIP COMM RES INST (NO 722 RES INST OF CHINA STATE SHIPBUILDING CORP)
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311281033.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-07
Publication Date
2026-02-27
Estimated Expiration
2043-10-07

AI Technical Summary

Technical Problem

In existing technologies, when the central node device fails in a converged data service topology, it cannot effectively protect all converged services, resulting in service failure and failing to achieve device-level protection.

Method used

By exchanging heartbeat messages between the central node device and the backup node device, the device ID and operation time are determined, enabling device-level protection operations. This ensures that the backup node device can take over the role of the central node when it fails and complete the aggregation of data services.

Benefits of technology

It enhances the reliability of central node services and achieves device-level protection for data services in the event of central node equipment failure, ensuring business continuity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117376060B_ABST
    Figure CN117376060B_ABST
Patent Text Reader

Abstract

The application discloses a site service replacement method applied to a ring network, and comprises the following steps: center node equipment and backup node equipment exchange heartbeat messages; the heartbeat message at least comprises equipment ID and the time of the last operation action; after the center node equipment and the backup node equipment receive the heartbeat message, the heartbeat message is intercepted; it is judged whether the equipment ID in the heartbeat message is consistent with the ID of the receiving equipment; the receiving equipment is the center node equipment or the backup node equipment; if the equipment ID in the heartbeat message is not consistent with the ID of the receiving equipment, it is judged whether the time of the last operation action of the equipment ID in the heartbeat message is later than the time of the last operation action of the receiving equipment; if the time of the last operation action of the equipment ID in the heartbeat message is later than the time of the last operation action of the receiving equipment, the receiving equipment is modified into the backup node equipment, and the cross is set to full-through service. The application realizes the device-level protection operation aiming at the center node equipment convergence service through the heartbeat message, and enhances the reliability of the center node service.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of ring network communication, and more particularly to a station service takeover method. BACKGROUND

[0002] In some special application fields, especially in the application field of convergence type data service topology, the service reliability requirement of the central node device for completing all data service convergence is higher, and the use of channel protection and multiplex section protection can only protect the service channel. After the failure of the central node for all service convergence, all convergence services will fail, and the key central node device cannot be protected. Therefore, in the design of system service protection, for the application occasion with high requirement for service continuity, the backup node device on the SDH ring network can replace the data service convergence work of the central node device in the case of central node device failure, and the device level protection function of data service is realized. SUMMARY

[0003] In view of at least one defect or improvement requirement of the prior art, the present application provides a station service takeover method and a ring network. Through the heartbeat message between the central node device and the backup node device, the device level protection operation for the central node device convergence service is realized, and the reliability of the central node service is enhanced.

[0004] To achieve the above-mentioned purpose, according to the first aspect of the present application, a station service takeover method is provided, which is applied to a ring network composed of a central node device, a backup node device and at least two service node devices, comprising:

[0005] The central node device and the backup node device exchange heartbeat messages; the heartbeat message at least includes device ID and the time of the last operation action;

[0006] After receiving the heartbeat message, the central node device and the backup node device intercept the heartbeat message;

[0007] It is judged whether the device ID in the heartbeat message is consistent with the ID of the receiving device; the receiving device is the central node device or the backup node device;

[0008] If the device ID in the heartbeat message is not consistent with the ID of the receiving device, it is judged whether the time of the last operation action of the device ID in the heartbeat message is later than the time of the last operation action of the receiving device;

[0009] If it is later than the time of the last operation action of the receiving device, the receiving device is modified to the backup node device, and the cross is set to full pass-through service.

[0010] Furthermore, the above-mentioned methods for taking over site services also include:

[0011] If the time of the last operation on the device ID in the heartbeat message is earlier than the time information of this device, then this device will not perform an interleaved operation.

[0012] Furthermore, the above-mentioned methods for taking over site services also include:

[0013] If the device ID in the heartbeat message matches the ID of the receiving device, the heartbeat message is discarded.

[0014] Furthermore, the above-mentioned methods for taking over site services also include:

[0015] Before the site service handover process begins, the optical port of the backup node device's optical board connected to the ring network is configured for full pass-through service; uplink and downlink services are configured between the central node device and the service node device, and service channel protection is enabled; the pre-configuration mode of the backup node device is set to be consistent with the actual configuration of the central node device.

[0016] Furthermore, the above-mentioned methods for taking over site services also include:

[0017] If the backup node device does not receive the heartbeat message from the central node device within a certain period of time, the central node device is considered to have failed.

[0018] The backup node device completes the corresponding cross-operation according to the pre-configured information, and gathers all the data of the service node device to the backup node device to complete the corresponding takeover operation.

[0019] Furthermore, the above-mentioned methods for taking over site services also include:

[0020] After the backup node device completes the corresponding takeover action, if the central node device resumes exchanging heartbeat messages with the backup node device, then the backup node device resumes full pass-through service.

[0021] According to a second aspect of the present invention, a site service succession method is also provided, applied in a ring network consisting of a central node device, a backup node device, and at least two service node devices, comprising:

[0022] The network management system sends takeover commands to both the backup node device and the central node device.

[0023] After receiving the takeover instruction, the backup node performs the relevant crossover actions according to the pre-configuration information to ensure that the crossover configuration is consistent with the central node device, and modifies its own role to the new central node device.

[0024] When the central node device fails or cannot receive the takeover information, the central node device does not take action, and after the central node device recovers, the site service takeover method of any one of the above is executed.

[0025] According to a third aspect of the present application, there is also provided a ring network comprising:

[0026] The central node device and the backup node device are configured to transmit and receive heartbeat messages in the ring network, and the heartbeat messages are transmitted in the form of DCC channel bidirectional transmission.

[0027] When the central node device or the backup node device receives a message that does not belong to the ID of the device itself, the message is intercepted and judged.

[0028] When the site service takeover condition is met, the site service takeover method of any one of the above is executed.

[0029] The at least two service node devices are configured to forward the heartbeat message from one optical port to another optical port after receiving the heartbeat message from the one optical port.

[0030] According to a fourth aspect of the present application, there is also provided a site service takeover device comprising at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program which, when executed by the processing unit, causes the processing unit to execute the steps of the method of any one of claims 1-7.

[0031] According to a fifth aspect of the present application, there is also provided a storage medium storing a computer program executable by an access authentication device, which, when executed on the access authentication device, causes the access authentication device to execute the steps of the method of any one of the above.

[0032] Overall, the above technical solutions conceived by the present application can achieve the following beneficial effects compared with the prior art:

[0033] (1) The site service takeover method provided by the present application realizes device-level protection operation for the central node device aggregation service through the heartbeat messages between the central node device and the backup node device, and enhances the reliability of the central node service.

[0034] (2) The site service takeover method provided by the present application is improved on the basis of channel protection and multiplexing section protection of the SDH transmission network, which is conducive to the protection of data service for the key central node aggregation service. BRIEF DESCRIPTION OF DRAWINGS

[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiments. Obviously, the drawings described below only illustrate some of the embodiments of the present application, and for those skilled in the art, other drawings can be obtained based on these drawings without any creative effort.

[0036] Figure 1 A ring network service schematic diagram provided for the embodiments of the present application;

[0037] Figure 2 A schematic diagram of manually implementing backup node device to replace central node device provided for the embodiments of the present application;

[0038] Figure 3 A schematic diagram of manually implementing backup node device to replace central node device when the central node device fails provided for the embodiments of the present application;

[0039] Figure 4 A schematic diagram of manually implementing backup node device to replace central node device when the central node device cannot receive new replacement information provided for the embodiments of the present application;

[0040] Figure 5 A schematic diagram of backup node device replacing central node device state after the central node device and backup node connection part are restored provided for the embodiments of the present application;

[0041] Figure 6 A schematic diagram of backup node device automatically replacing when the central node device fails provided for the embodiments of the present application;

[0042] Figure 7 A schematic diagram of backup node device automatically replacing when the central node device two-end optical fiber fails provided for the embodiments of the present application;

[0043] Figure 8 A schematic diagram of backup node device automatically restoring full-through service state after the central node device and backup node connection part are restored provided for the embodiments of the present application;

[0044] Figure 9 A schematic diagram of central node device and backup node device receiving heartbeat packet processing flow provided for the embodiments of the present application. DETAILED DESCRIPTION

[0045] In order to make the objects, technical solutions and advantages of the present application more clear, the following will further describe the present application in combination with the drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not used to limit the present application. In addition, the technical features involved in the following described embodiments of the present application can be combined with each other as long as they do not conflict with each other.

[0046] The terms "first", "second", "third", and the like in the description and in the claims of the present application and above-described drawings are used for distinguishing between similar objects, not for describing a particular sequential order. The terms "comprises", "comprising", "includes", "including" and the like are to be construed open- ended, meaning that they include the listed steps or elements, but not excluding other steps or elements. For example, a process, method, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements, but can include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.

[0047] The SDH ring network is configured according to application requirements, and the networking environment is as shown in Figure 1 The center node device (device A), the backup node device (device C), and the service node device 1 / 2 (device B / D) form an SDH ring network with an optical interface bandwidth of 622 Mbps. After the service networking ring network, the center node device and the service node device 1 use the 1# / 2# VC4 in the optical interface to form a service, wherein the red solid line part represents the service transmission path currently adopted by the center node device and the service node device 1; the red dashed line part represents the protection path after the center node device and the service node device 1 open the channel protection; and the final service flow direction is the mutual communication between the network port 1 of the center node device and the network port 2 of the service node device 1. The center node device and the service node device 2 use the 3# / 4# VC4 in the optical interface to form a service, wherein the blue solid line part represents the service transmission path currently adopted by the center node device and the service node device 2; the blue dashed line part represents the protection path after the center node device and the service node device 2 open the channel protection; and the final service flow direction is the mutual communication between the network port 2 of the center node device and the network port 1 of the service node device 2.

[0048] Embodiment 1: The network management initiates manual setting of the backup node device to replace the center node device

[0049] When the network management initiates the operation of manually setting the backup node device to replace the center node device, the backup node device and the center node device are respectively initiated to replace the instruction, the backup node receives the replacement instruction, and performs the cross action according to the pre-configuration information, realizes the cross configuration consistent with the center node device, modifies the role into the new center node device (that is, the device C is modified into the center node device), and saves the time information contained in the replacement instruction issued by the network management.

[0050] The center node device realizes the corresponding trigger action according to different ring network states at that time.

[0051] The center node device (device A) is online and receives the takeover information. The center node device will cross modify to full pass-through mode, and modify its role to the new backup node device, and record the last operation information of the device modified to the new backup node device. At this time, the service state in the ring network switches to the state shown in Figure 2 .

[0052] When the center node device (device A) fails, it cannot receive the takeover information, so it does not act. However, the backup node device has already performed the cross action. At this time, the data of the service node device will be affected by the channel protection, and the cross will be switched to the new center node device (device C, the original backup node device). At this time, the service state in the ring network switches to the state shown in Figure 3 . When the center node device recovers, the original center node device (device A) and the new center node device (device C) recover the heartbeat packet. After comparing the heartbeat packet, it is found that the time in the last operation information of the new center node device (device C) is later than that of the original center node device. The original center node device (device A) actively switches its role to the backup node device, and configures the original cross to full pass-through service. The service state in the ring network switches to the state shown in Figure 2 .

[0053] When the center node device (device A) cannot receive new takeover information (the current simulation center node device has a light interface interruption at both ends), it cannot receive the takeover information, so it does not act. However, the backup node device has already performed the cross action. At this time, the data of the service node device will be affected by the channel protection, and the cross will be switched to the new center node device (device C, the original backup node device). At this time, the service state in the ring network switches to the state shown in Figure 4 . When the center node device (device A) recovers the light interface connection, the original center node device (device A) and the new center node device (device C) recover the heartbeat packet. After comparing the heartbeat packet, it is found that the time in the last operation information of the new center node device (device C) is later than that of the original center node device. The original center node device (device A) actively switches its role to the backup node device, and configures the original cross to full pass-through service. The service state in the ring network switches to the state shown in Figure 5 . When the ring network light interface is completely recovered, the service state in the ring network switches to the state shown in Figure 2 .

[0054] Embodiment 2: Backup node device automatically takes over center node device

[0055] The case of the backup node device automatically taking over the center node device is mainly that after the center node device fails in the ring network, the backup node device can automatically take over the center node device. When the center node device recovers, the backup node device automatically modifies to full pass-through service.

[0056] According to different states of the center node device in the ring network, the backup node device performs different operations.

[0057] The center node device (device A) fails, and since the backup node device cannot receive the heartbeat message within a certain time, the backup node device starts to take over the operation. The backup node device will complete the corresponding cross operation according to the pre-configuration information, and all the data of the service node device is converged to the backup node device to complete the corresponding takeover operation. When the backup node device automatically takes over the operation, the role of the backup node device is not modified, and the backup node device remains in the backup node state. The service state in the ring network is switched to the state shown in FIG. 4. Figure 6

[0058] The center node device (device A) fails, and since the backup node device cannot receive the heartbeat message within a certain time, the backup node device starts to take over the operation. The backup node device will complete the corresponding cross operation according to the pre-configuration information, and all the data of the service node device is converged to the backup node device to complete the corresponding takeover operation. When the backup node device automatically takes over the operation, the role of the backup node device is not modified, and the backup node device remains in the backup node state. The service state in the ring network is switched to the state shown in FIG. 4. Figure 7 Figure 8 Figure 1

[0059] Heartbeat message processing:

[0060] In the ring network, the devices are divided into three roles: center node device, backup node device and service node device.

[0061] The center node device and the backup node device both receive and send heartbeat messages in the ring network. When sending messages, the DCC channel is sent in both directions, that is, the same heartbeat message is sent from the optical port 1 and the optical port 2 of the device. When the center node device or the backup node device receives a message that does not belong to the device ID itself, the message will be intercepted and judged.

[0062] The service node device receives the heartbeat message from one optical port and sends it out from the other optical port.

[0063] The format of the heartbeat message is shown in Table 1.

[0064] Table 1 Heartbeat message format

[0065]

[0066] ​​​​Device ID: Used to identify the uniqueness of a device, usually represented by a string of numeric labels.

[0067] Role: Used to indicate whether the message was sent by the central node device or the backup node device.

[0068] Statistical count: Used to indicate the uniqueness of message sequence numbers.

[0069] The time of the last operation: expressed in standard time, including year, month, day, hour, minute, second, and millisecond, used to clearly indicate the execution time of the last takeover action. On the business group network, a central node device must be set up to maintain the normal operation of the takeover function. If the backup node device is being set up for the first time, the time of the last operation can be set to all zeros.

[0070] After receiving the heartbeat message, the software processing flow of the central node device and the backup node device is as follows: Figure 9 As shown.

[0071] The central node device and the backup node device will periodically check whether they have received heartbeat messages. If no message is received, and the statistical count has not reached the threshold, the heartbeat message will be received again after a delay. If the statistical count reaches the threshold, the central node device will not take any action, and the backup node device will complete the cross-configuration according to the pre-configuration information.

[0072] When the central node device and backup node device are able to receive heartbeat messages, they make corresponding judgments based on the device ID and the last operation time in the heartbeat message. When the device IDs are the same, it is a message for this device and is discarded without processing. When the device IDs are different, and the last operation in the heartbeat message is earlier than the last operation time of this device, it is discarded without processing. When the device IDs are different, and the last operation in the heartbeat message is later than the last operation time of this device, this device is modified into a backup node device, and this device is modified to full pass-through service.

[0073] The present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method. The computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, DVDs, CD-ROMs, microdrives, as well as magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.

[0074] Any technical features in the above-described embodiments can be combined in any manner, and for the sake of brevity, not all possible combinations are described, however, any combination of the technical features is considered to be within the scope of the present specification.

[0075] It is to be understood that the above description is intended to be illustrative and not restrictive. Many other embodiments will be apparent to those of skill in the art upon reading the above description. The scope of the application should, therefore, be determined not with reference to the above description, but should instead be determined with reference to the appended claims, along with their full scope of equivalents.

Claims

1. A site service takeover method, applied to an SDH ring network composed of a center node device, a backup node device and at least two service node devices, comprising: the center node device and the backup node device exchange heartbeat messages through a DCC channel of SDH; the heartbeat message comprises at least a device ID and a time of last operation action; after receiving the heartbeat message, the center node device and the backup node device intercept the heartbeat message; it is judged whether the device ID in the heartbeat message is consistent with the ID of the receiving device; the receiving device is the center node device or the backup node device; if the device ID in the heartbeat message is not consistent with the ID of the receiving device, it is judged whether the time of last operation action of the device ID in the heartbeat message is later than the time of last operation action of the receiving device; if it is later than the time of last operation action of the receiving device, the receiving device is modified to the backup node device, and cross setting is set to full pass-through service; before the site service takeover process starts, the optical board of the backup node device is connected to the optical port of the ring network, and the uplink and downlink services between the center node device and the service node devices are configured, and the service channel protection is started; the pre-configuration mode of the backup node device is set to be consistent with the actual configuration of the center node device; if the backup node device does not receive the heartbeat message of the center node device within a certain time, it is considered that the center node device is invalid; the backup node device completes corresponding cross action according to the pre-configuration information, and gathers all data of the service node devices to the backup node device, and completes corresponding takeover action.

2. The site service takeover method of claim 1, further comprising: if the time of last operation action of the device ID in the heartbeat message is earlier than the time information of the receiving device, the receiving device does not perform cross action.

3. The site service takeover method of claim 1, further comprising: if the device ID in the heartbeat message is consistent with the ID of the receiving device, the heartbeat message is discarded.

4. The site service takeover method of claim 1, further comprising: after the backup node device completes corresponding takeover action, if the center node device resumes to exchange heartbeat messages with the backup node device, the backup node device resumes full pass-through service.

5. A site service takeover method, applied to a ring network composed of a center node device, a backup node device and at least two service node devices, comprising: a network management device respectively sends a takeover instruction to the backup node device and the center node device; after receiving the takeover instruction, the backup node device performs related cross action according to pre-configuration information, realizes cross configuration consistent with the center node device, and modifies its own role to a new center node device; when the center node device is invalid or cannot receive the takeover information, the center node device does not perform action, and after the center node device recovers, the site service takeover method of any one of claims 1-4 is performed.

6. A ring network, comprising: a center node device and a backup node device, configured to transmit and receive heartbeat messages in the ring network, and configured to transmit the heartbeat messages in the form of DCC channel bidirectional transmission; when the center node device or the backup node device receives a message not belonging to its own device ID, the message is intercepted and judged; when a site service takeover condition is met, a site service takeover method according to any one of claims 1-5 is executed; at least two service node devices, configured to, after receiving a heartbeat message from one optical port, forward the heartbeat message from another optical port.

7. A site service takeover apparatus, characterized by comprising: a computer program product, comprising at least one processing unit and at least one memory unit, wherein the memory unit stores a computer program, and when the computer program is executed by the processing unit, the processing unit is caused to execute the steps of the method according to any one of claims 1-5.

8. A storage medium, characterized by a computer program product, comprising a computer program, and when the computer program is executed by an access authentication device, the access authentication device is caused to execute the steps of the method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Method and device for managing node devices in distributed system

    CN107528703A

  • Dual-computer hot standby system and method based on 1:1 heartbeat

    CN112698991A

  • A method of automatic primary standby equipment switching

    CN1567889A