Alarm linkage method of 1 +1 redundancy protection network and related equipment

By obtaining the parallel alarm status in real time and performing redundant protection measures based on the alarm status, the redundant protection inconsistency problem of redundant protection when the alarm on the transmission side port in the 1+1 redundant protection network is solved to ensure business continuity.

CN119232544AInactive Publication Date: 2024-12-31HUBEI ANXIN SMART TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411378479.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2024-12-31
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the 1+1 redundant protection network, when the transmission side port generates an alarm and disappears, it is impossible to realize redundant protection switching and handoff on the user side of the access layer device through CSF messages, resulting in transmission between the access layer device and the network layer The side redundancy protection status is inconsistent, resulting in interruption of service packets.

Method used

By obtaining the alarm status of the first user side connected to the network layer in real time, and linking it to the second user side on the other side of the network layer, determining protection measures based on the alarm status, and performing redundant protection measures to realize service telecommunications level switching .

Benefits of technology

The service telecommunications-level handover is realized to ensure that the service is not interrupted, and the problem of the user-side redundant protection handover and handover cannot be achieved when the multi-port alarm and alarm disappear on the transmission side are gone.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119232544A_ABST
    Figure CN119232544A_ABST
Patent Text Reader

Abstract

The invention discloses an alarm linkage method of a 1 + 1 redundancy protection network and related equipment. The method comprises the following steps: acquiring an alarm state of a first user side connected with a network layer in real time; the alarm state is linked to a second user side which is located on the other side of the network layer and corresponds to the first user side; and determining a protection measure based on the alarm state, and executing the protection measure for the second user side to complete redundancy protection. According to the method and the device, the alarm state is linked from the first user side to the second user side, and redundancy protection is carried out, so that carrier-class switching of the service carrier is realized, the service is ensured not to be interrupted, and the problem that switching and back-switching of user side redundancy protection on the other side cannot be realized through the CSF message when multiple ports of the transmission side generate alarms and the alarms disappear is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network transmission technology, and in particular to an alarm linkage method and related equipment for a 1+1 redundant protection network. Background Art

[0002] In a 1+1 redundant protection network, network devices receive messages from the user side and then send them to the destination device user side. To ensure the stability and reliability of user service messages, 1+1 redundant protection is usually deployed on the user side of network devices and the network transmission side when the network is established. When the network link layer is unstable, the service message is switched at the telecommunications level.

[0003] When an alarm is generated or disappears on the user-side port of a network device, the destination remote device is notified to switch or switch back redundant protection by sending a client signal failure indication CSF (Client Signal Failure) message. However, when an alarm is generated or disappears on the network transmission side port, the switching or switching back of redundant protection on the user side of the access layer device cannot be achieved through the CSF message, resulting in inconsistent redundant protection status on the user side of the access layer device and the network layer transmission side, and interruption of user service messages. Summary of the invention

[0004] In order to solve the above problems, embodiments of the present application provide an alarm linkage method and device for a 1+1 redundant protection network, a 1+1 redundant protection network, an electronic device, a computer-readable storage medium, and a computer program product.

[0005] In a first aspect, in order to solve the above technical problems, the present application provides an alarm linkage method for a 1+1 redundant protection network, comprising:

[0006] Acquire the alarm status of the first user side connected to the network layer in real time;

[0007] Linking the alarm status to a second user side located at the other side of the network layer and corresponding to the first user side;

[0008] A protection measure is determined based on the alarm status, and the protection measure is executed for the second user side to complete redundant protection.

[0009] The beneficial effects are:

[0010] In the technical solution provided in the embodiment of the present application, the alarm status of the first user side is obtained in real time by detecting the connectivity between the first user side and the network layer; the alarm status is linked to the second user side corresponding to the first user side on the other side of the network layer; the protection measures are determined based on the alarm status, and the protection measures are executed for the second user side to complete the redundant protection. In this way, the telecommunication-level switching of services is realized to ensure that the services are not interrupted, and the problem that the redundant protection switching and switching back of the user side on the other side cannot be realized through the CSF message when the alarm is generated on multiple ports of the transmission side and the alarm disappears is solved.

[0011] In a second aspect, the present invention provides a 1+1 redundant protection network, comprising a network layer, a first user side and a second user side, wherein the first user side is connected to the network layer through a transmission side, and the second user side is connected to the network layer as a receiving side, so that the 1+1 redundant protection network applies the alarm linkage method of the 1+1 redundant protection network.

[0012] In a third aspect, the present invention provides an alarm linkage device for a 1+1 redundant protection network, comprising an acquisition unit, an alarm linkage unit and a protection unit;

[0013] An acquisition unit, used for acquiring in real time the alarm status of the first user side connected to the network layer;

[0014] An alarm linkage unit, used for linking the alarm state to a second user side located at the other side of the network layer and corresponding to the first user side;

[0015] A protection unit is used to determine a protection measure based on the alarm state, and execute the protection measure on the second user side to complete redundant protection.

[0016] In a fourth aspect, the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device implements the alarm linkage method of the 1+1 redundant protection network as described above.

[0017] In a fifth aspect, the present application also provides a computer-readable storage medium having computer-readable instructions stored thereon. When the computer-readable instructions are executed by a processor of a computer, the computer executes the alarm linkage method of the 1+1 redundant protection network as described above.

[0018] In a sixth aspect, the present application further provides a computer program product or a computer program, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the alarm linkage method for the 1+1 redundant protection network provided in the above-mentioned various optional embodiments.

[0019] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0021] Figure 1 It is a schematic diagram of an implementation environment involved in this application;

[0022] Figure 2 It is a flowchart of an alarm linkage method for implementing a 1+1 redundant protection network in an exemplary embodiment of the present application;

[0023] Figure 3 is a schematic diagram of a 1+1 redundant protection network shown in an exemplary embodiment of the present application;

[0024] Figure 4 It is a block diagram of an alarm linkage device for a 1+1 redundant protection network shown in an exemplary embodiment of the present application;

[0025] Figure 5 It is a structural diagram of a computer system suitable for implementing an electronic device of an embodiment of the present application. DETAILED DESCRIPTION

[0026] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.

[0027] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0028] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0029] The term "multiple" as used in this application refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.

[0030] In order to solve the problem that when alarms are generated on multiple ports on the transmission side or the alarms disappear, the switching and switching back of the redundant protection on the user side of the other side cannot be achieved through CSF messages, resulting in inconsistent redundant protection states between the user side of the access layer device and the transmission side of the network layer, and interruption of user service messages, the embodiments of the present application propose an alarm linkage method and device for a 1+1 redundant protection network, a 1+1 redundant protection network, an electronic device, and a computer-readable storage medium, which mainly relate to the alarm technology of the 1+1 redundant protection network included in the network transmission technology. These embodiments will be described in detail below.

[0031] First see Figure 1 , Figure 1 This is a flow chart of an alarm linkage method for a 1+1 redundant protection network shown in an exemplary embodiment of the present application. The method can be applied to a 1+1 redundant protection network and can be specifically executed by a server, which can be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms, etc., and is not limited here.

[0032] like Figure 1 As shown, in an exemplary embodiment, the alarm linkage method of the 1+1 redundant protection network may include steps S101 to S103, which are described in detail as follows:

[0033] Step S101, obtaining the alarm status of the first user side connected to the network layer in real time.

[0034] In this embodiment, the step of obtaining the alarm status of the first user side connected to the network layer in real time is implemented by detecting the connectivity between the first user side and the network layer, and the connectivity change between the first user side and the network layer is reflected as the alarm status of the first user side.

[0035] Step S102: Link the alarm status to a second user side located on the other side of the network layer and corresponding to the first user side.

[0036] Step S103: determine a protection measure based on the alarm status, and execute the protection measure for the second user side to complete redundant protection.

[0037] After obtaining the alarm status of the first user side, the second user side corresponding to the first user side on the other side of the network layer is determined, and then the alarm status is linked to the second user side, so that the second user side can execute the protection measures corresponding to the alarm status accordingly, complete the redundant protection, and ensure that the business messages between the first user side and the second user side are not interrupted.

[0038] As can be seen from the above, in the method provided in this embodiment, the alarm status of the first user side is obtained in real time by detecting the connectivity between the first user side and the network layer; the alarm status is linked to the second user side corresponding to the first user side on the other side of the network layer; the protection measures are determined based on the alarm status, and the protection measures are executed for the second user side to complete the redundant protection. In this way, the telecommunication-level switching of services is realized to ensure that the services are not interrupted, and the problem that the redundant protection switching and switching back of the user side on the other side cannot be realized through the CSF message when the alarm is generated on multiple ports on the transmission side and the alarm disappears is solved.

[0039] In an exemplary embodiment provided by the present application, the alarm state of the first user side needs to be determined by an alarm signal of an internal port of the first user side, which may specifically include:

[0040] Obtaining an alarm signal of a first user-side internal port connected to the network layer;

[0041] An alarm state of the first user side is determined based on the alarm signal.

[0042] In this embodiment, the alarm signal of each port of the first user side may be an alarm generation or an alarm disappearance. Therefore, the step of determining the alarm state of the first user side based on the alarm signal may specifically include:

[0043] If the alarm signal indicates that an alarm is generated on the internal port of the first user side, determining the alarm state of the first user side as an alarm generation state;

[0044] If the alarm signal indicates that the alarm of the internal port of the first user side disappears, it is determined that the alarm state of the first user side is an alarm disappearance state.

[0045] In the embodiment provided by the present application, in order to determine the alarm status of the first user side, the connectivity between all ports in the first user side and the network layer is detected in real time. If the link between the port and the network layer changes from connection to interruption, the alarm signal of the port is an alarm generation; if the link changes from interruption to connection, the alarm signal of the port is an alarm disappearance.

[0046] Therefore, when the alarm signal indicates that an alarm is generated at the internal port of the first user side, the alarm state of the first user side is determined to be the alarm generation state; when the alarm signal indicates that the alarm disappears at the internal port of the first user side, the alarm state of the first user side is determined to be the alarm disappearance state.

[0047] In another exemplary embodiment, the alarm linkage method of the 1+1 redundant protection network provided is further provided with a timeout processing mechanism to perform redundant protection in a timely manner, and the specific steps thereof may include:

[0048] After detecting that a port link is interrupted on the first user side, obtaining the interruption duration;

[0049] When the interruption duration reaches a duration threshold, it is determined that the alarm state of the first user layer is an alarm disappearance state.

[0050] Preferably, when it is detected that the port link between the port and the network layer is interrupted on the first user side, the interruption duration is recorded and compared with the duration threshold in real time. When the interruption duration reaches the duration threshold, the alarm state of the first user layer is directly determined to be the alarm disappeared state. When the interruption duration has not yet reached the duration threshold, it is necessary to detect the alarm signal in real time. When the alarm signal indicates that the port alarm on the first user side disappears, it is determined to be the alarm disappeared state and the interruption duration is cleared.

[0051] In this way, the present application determines the alarm state of the first user layer as the alarm disappearance state through the interruption duration when there is a port link interruption on the first user side of the above-mentioned embodiment. When the interruption duration reaches the duration threshold, the corresponding protection measures are executed in time after determining the specific content of the alarm state to avoid long-term link interruption and affect the service messages between the first user side and the second user side.

[0052] In an exemplary embodiment provided by the present application, a port mapping relationship between a first user side port and a second user side port is pre-stored, and a mapping relationship table is formed, so as to use the mapping relationship table to link the alarm state to the second user side. The specific steps may include:

[0053] Acquire service information of a first user side, and a mapping relationship table storing a port mapping relationship between the first user side and a second user side on the other side of the network layer;

[0054] Obtaining a target port in the second user side based on the mapping relationship table and the service information;

[0055] The alarm status is linked to the second user side through the target port.

[0056] When the network layer establishes the service between the first user side and the second user side, the port mapping relationship between the first user side port and the second user side port is formed, and a mapping relationship table is formed, so that different services are isolated through the mapping relationship table.

[0057] Therefore, after obtaining the alarm status of the first user side, this embodiment first obtains the current business information of the first user side, and a mapping relationship table storing the port mapping relationship between the first user side and the second user side on the other side of the network layer, and then selects the target port in the second user side that matches the first user side and the business information from the mapping relationship table according to the business information, thereby linking the alarm status to the second user side through the target port.

[0058] In this way, the present application isolates different services through the mapping relationship table through the above embodiments, and realizes alarm linkage between the receiving side multi-port and the transmitting side multi-port, that is, the second user side and the first user side.

[0059] In an exemplary embodiment provided by the present application, the alarm state may include an alarm generation state and an alarm disappearance state, so the step of the second user side executing the protection measures corresponding to the alarm state may specifically include:

[0060] When the alarm state is an alarm generation state, determining the protection measure to be switching, and performing switching of redundant protection for the second user side;

[0061] When the alarm state is the alarm disappearing state, the protection measure is determined to be reversal, and the reversal of the redundant protection is performed on the second user side.

[0062] See also Figure 2 , Figure 2 It is a flowchart of an alarm linkage method for implementing a 1+1 redundant protection network in an exemplary embodiment of the present application.

[0063] like Figure 2 As shown, after the alarm linkage method of the 1+1 redundant protection network is implemented, the alarm signal of the port of the first user side as the service transmission side is detected and acquired, the alarm status is obtained, and by analyzing the alarm status, it is determined whether an alarm is generated on the first user side.

[0064] If an alarm is generated on the port in the first user side, the alarm state of the first user side is determined to be an alarm generation state, and then the business information of the first user side and a mapping relationship table storing the port mapping relationship between the first user side and the second user side on the other side of the network layer are obtained; based on the mapping relationship table and the business information, the target port in the second user side as the receiving side is obtained; the alarm state is linked to the second user side through the target port, and after the linkage is completed, the protection measure is determined to be switching, and the redundant protection switching is performed for the second user side to end this redundant protection.

[0065] When a port link interruption begins to occur on the first user side, obtain the interruption duration, that is, the timeout period of the link interruption. If it is detected that the interruption duration reaches the duration threshold, then the alarm state of the first user layer is directly determined to be the alarm disappearance state; or when the interruption duration does not reach the duration threshold, it is detected that the alarm signal indicates that the port alarm on the first user side disappears, then the alarm state of the first user side is also determined to be the alarm disappearance state. Afterwards, according to the method of linking the alarm generation state to the second user side in the above-mentioned alarm generation state, the alarm disappearance state is linked to the second user side, and then the protection measure is determined to be reversal, and the redundant protection reversal is performed for the second user side to end this redundant protection.

[0066] Figure 3 is a schematic diagram of a 1+1 redundant protection network shown in an exemplary embodiment of the present application, such as Figure 3 As shown, the 1+1 redundant protection network includes a network layer, a first user side and a second user side. The first user side is connected to the network layer through the transmission side, and the second user side is connected to the network layer as a receiving side, so as to apply the alarm linkage method of the 1+1 redundant protection network provided in an embodiment of the present application.

[0067] It should be noted that when an alarm state occurs on the receiving side, the receiving side can use the traditional method to send a client signal fault indication CSF (Client Signal Failure) message to notify the transmission side to switch and switch back the redundant protection. The method provided in this application can also be used to achieve service telecommunications-level switching through alarm linkage. In other words, the alarm linkage method for the 1+1 redundant protection network provided in this application is also applicable to the redundant protection of the transmission side after an alarm on the receiving side.

[0068] Therefore, the 1+1 redundant protection network of this embodiment of the present application applies the alarm linkage method of the 1+1 redundant protection network, uploads the alarm status of the first user side, and after the alarm status is linked to the second user side corresponding to the first user side and located on the other side of the network layer, the redundant protection of the second user side is completed by executing protection measures determined based on the alarm status, thereby realizing telecommunication-level switching of services and ensuring uninterrupted services.

[0069] Figure 4 FIG. 4 is a block diagram of an alarm linkage device 400 for a 1+1 redundant protection network shown in an exemplary embodiment of the present application. Figure 4 As shown, the device comprises:

[0070] An acquisition unit 401 is used to acquire an alarm status of a first user side connected to the network layer in real time;

[0071] An alarm linkage unit 402, configured to link the alarm status to a second user side located at the other side of the network layer and corresponding to the first user side;

[0072] The protection unit 403 is used to determine a protection measure based on the alarm state, and execute the protection measure for the second user side to complete redundant protection.

[0073] The device applies the alarm linkage method of the 1+1 redundant protection network provided by the present application, and performs connectivity detection between the first user side and the network layer through the acquisition unit 401, and obtains the alarm status of the first user side in real time; the alarm linkage unit 402 links the alarm status to the second user side corresponding to the first user side on the other side of the network layer; the protection unit 403 determines the protection measures based on the alarm status, and executes the protection measures for the second user side to complete the redundant protection. In this way, the telecommunication-level switching of the service is realized, the service is not interrupted, and the problem that the redundant protection of the user side on the other side cannot be switched and switched back through the CSF message when the alarm is generated on the multiple ports of the transmission side and the alarm disappears is solved.

[0074] In another exemplary embodiment, the acquisition unit 401 is further configured to acquire an alarm signal of an internal port of the first user side connected to the network layer; and determine an alarm state of the first user side based on the alarm signal.

[0075] In another exemplary embodiment, the acquisition unit 401 is also used to determine that the alarm state of the first user side is an alarm generation state if the alarm signal indicates that an alarm is generated at the internal port of the first user side; if the alarm signal indicates that the alarms at all the internal ports of the first user side disappear, then determine that the alarm state of the first user side is an alarm disappearance state.

[0076] In another exemplary embodiment, the acquisition unit 401 is also used to obtain the interruption duration after detecting that there is a port link interruption on the first user side; when the interruption duration reaches a duration threshold, determine that the alarm state of the first user layer is the alarm disappearance state.

[0077] In another exemplary embodiment, the alarm linkage unit 402 is also used to obtain business information of the first user side, and a mapping relationship table storing the port mapping relationship between the first user side and the second user side on the other side of the network layer; obtain the target port in the second user side based on the mapping relationship table and the business information; and link the alarm status to the second user side through the target port.

[0078] In another exemplary embodiment, the alarm status includes an alarm generation status and an alarm disappearance status; the protection unit 403 is also used to determine that the protection measure is switching when the alarm status is the alarm generation status, and perform redundant protection switching for the second user side; when the alarm status is the alarm disappearance status, determine that the protection measure is switching back, and perform redundant protection switching back for the second user side.

[0079] It should be noted that the alarm linkage device of the 1+1 redundant protection network provided in the above embodiment and the alarm linkage method of the 1+1 redundant protection network provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment and will not be repeated here. In actual application, the alarm linkage device of the 1+1 redundant protection network provided in the above embodiment can distribute the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.

[0080] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by one or more processors, the electronic device implements the alarm linkage method of the 1+1 redundant protection network provided in the above-mentioned embodiments.

[0081] Figure 5 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 5 The computer system 500 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0082] like Figure 5As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 502 or the program loaded from the storage part 508 to the random access memory (RAM) 503, such as executing the method in the above embodiment. In the RAM 503, various programs and data required for system operation are also stored. The CPU 501, the ROM 502 and the RAM 503 are connected to each other through the bus 504. The input / output (I / O) interface 505 is also connected to the bus 504.

[0083] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed so that a computer program read therefrom is installed into the storage section 508 as needed.

[0084] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 509, and / or installed from a removable medium 511. When the computer program is executed by a central processing unit (CPU) 501, various functions defined in the system of the present application are executed.

[0085] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0086] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0087] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0088] Another aspect of the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the alarm linkage method for the 1+1 redundant protection network as described above. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.

[0089] Another aspect of the present application also provides a computer program product or a computer program, the computer program product or the computer program includes a computer instruction, the computer instruction is stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the alarm linkage method of the 1+1 redundant protection network provided in each of the above embodiments.

[0090] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions or improvements made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. An alarm linkage method for a 1+1 redundant protection network, characterized in that: The method comprises: Acquire the alarm status of the first user side connected to the network layer in real time; Linking the alarm status to a second user side located at the other side of the network layer and corresponding to the first user side; A protection measure is determined based on the alarm status, and the protection measure is executed for the second user side to complete redundant protection.

2. The method according to claim 1, characterized in that The real-time acquisition of the alarm status of the first user side connected to the network layer includes: Obtaining an alarm signal of a first user-side internal port connected to the network layer; An alarm status of the first user side is determined based on the alarm signal.

3. The method according to claim 2, characterized in that The determining the alarm state of the first user side based on the alarm signal includes: If the alarm signal indicates that an alarm is generated on the internal port of the first user side, determining that the alarm state of the first user side is an alarm generation state; If the alarm signal indicates that the alarm of the internal port of the first user side disappears, it is determined that the alarm state of the first user side is an alarm disappearance state.

4. The method according to claim 2, characterized in that: The determining the alarm state of the first user side based on the alarm signal includes: After detecting that a port link interruption exists on the first user side, obtaining the interruption duration; When the interruption duration reaches a duration threshold, it is determined that the alarm state of the first user layer is an alarm disappearance state.

5. The method according to claim 1, characterized in that The linking of the alarm status to a second user side located at the other side of the network layer and corresponding to the first user side includes: Acquire the service information of the first user side, and a mapping relationship table storing the port mapping relationship between the first user side and the second user side on the other side of the network layer; Obtaining a target port in the second user side based on the mapping relationship table and the service information; The alarm status is linked to the second user side through the target port.

6. The method according to claim 1, characterized in that The alarm status includes an alarm generation status and an alarm disappearance status; The determining of a protection measure based on the alarm state, and executing the protection measure on the second user side, includes: When the alarm state is an alarm generation state, determining that the protection measure is switching, and performing switching of redundant protection for the second user side; When the alarm state is the alarm disappearance state, the protection measure is determined to be reversal, and the reversal of redundant protection is performed for the second user side.

7. A 1+1 redundant protection network, characterized in that: It includes a network layer, a first user side and a second user side, the first user side is connected to the network layer through a transmission side, and the second user side is connected to the network layer as a receiving side, so that the 1+1 redundant protection network applies the alarm linkage method of the 1+1 redundant protection network described in any one of claims 1 to 6.

8. An alarm linkage device for a 1+1 redundant protection network, characterized in that: include: An acquisition unit, used for acquiring in real time the alarm status of the first user side connected to the network layer; An alarm linkage unit, used for linking the alarm state to a second user side located at the other side of the network layer and corresponding to the first user side; A protection unit is used to determine a protection measure based on the alarm state, and execute the protection measure on the second user side to complete redundant protection.

9. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the alarm linkage method of the 1+1 redundant protection network as described in any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the alarm linkage method for a 1+1 redundant protection network according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Processing method and apparatus of far-end fault of Ethernet

    CN102231674A

  • Fault processing method, device and system

    CN102857362A

  • Processing method and interaction support system of alarming

    CN103209085A

  • Network health monitoring method and device based on fault domain detection and medium

    CN115250225A