[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2024001228A1 - Network protection method and apparatus, and node, system and storage medium - Google Patents

Network protection method and apparatus, and node, system and storage medium Download PDF

Info

Publication number
WO2024001228A1
WO2024001228A1 PCT/CN2023/077281 CN2023077281W WO2024001228A1 WO 2024001228 A1 WO2024001228 A1 WO 2024001228A1 CN 2023077281 W CN2023077281 W CN 2023077281W WO 2024001228 A1 WO2024001228 A1 WO 2024001228A1
Authority
WO
WIPO (PCT)
Prior art keywords
channel
defect
protection
current node
working channel
Prior art date
Application number
PCT/CN2023/077281
Other languages
French (fr)
Chinese (zh)
Inventor
杨三威
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2024001228A1 publication Critical patent/WO2024001228A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/03Arrangements for fault recovery
    • H04B10/032Arrangements for fault recovery using working and protection systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Definitions

  • This application relates to the field of network management, such as network protection methods, devices, nodes, systems and storage media.
  • SNCP Sub-network Connection Protection
  • the traditional network protection method may have the following technical problems: when a defect occurs in the network, the corresponding communication node will perform channel switching, and the switching of the communication node channel may trigger the switching of downstream nodes, causing a defect Multiple switching occurs, which makes the switching time longer and cannot meet customer needs.
  • This application provides network protection methods, devices, nodes, systems and storage media.
  • this application provides a network protection method, which is applied to a current node.
  • the current node includes at least two nodes before it.
  • the current node is connected to the last node among the at least two nodes through a working channel and a protection channel.
  • the methods include:
  • the current node obtains the defect processing time corresponding to the working channel and the protection channel respectively; processes the defects in the corresponding channel according to the defect processing time, so that the working channel of the current node does not generate the defect earlier than the protection channel, and the current node The node's protection channel disappears from the defect no earlier than the working channel.
  • this application provides a network protection device integrated in a current node, which includes at least two nodes before the current node, and is connected to the last node among the at least two nodes through a working channel and a protection channel,
  • the device includes:
  • the acquisition module is configured to obtain the defect processing time corresponding to the working channel and the protection channel respectively; the processing module is configured to process the defects in the corresponding channel according to the defect processing time, so that the working channel of the current node is not earlier than the protection channel The defect occurs, and the protection channel of the current node disappears the defect no earlier than the working channel.
  • this application provides a network node, including a memory and a processor, where the memory A computer program is stored, and when the processor executes the computer program, the above network protection method is implemented.
  • this application provides a network protection system, including a current node and at least two nodes located before the current node, and the current node is connected to the last node among the at least two nodes through a working channel and a protection channel;
  • the current node is set to obtain the defect processing time corresponding to the working channel and the protection channel respectively;
  • the current node is also set to process the defects in the corresponding channel according to the defect processing time, so that the working channel of the current node is not early
  • the defect occurs in the protection channel, and the protection channel of the current node disappears the defect no earlier than the working channel.
  • the present application provides a storage medium that stores a computer program.
  • the computer program is executed by a processor, the above-mentioned network protection method is implemented.
  • Figure 1 is a system architecture diagram applicable to a network protection method provided by an embodiment of the present application
  • Figure 2 is a schematic structural diagram of a network provided by an embodiment of the present application.
  • Figure 3 is a schematic flow chart of a network protection method provided by an embodiment of the present application.
  • Figure 4 is a schematic structural diagram of another network provided by an embodiment of the present application.
  • Figure 5 is a schematic diagram of the principle of a network protection method provided by an embodiment of the present application.
  • Figure 6 is a schematic structural diagram of another network provided by an embodiment of the present application.
  • Figure 7 is a schematic principle diagram of another network protection method provided by an embodiment of the present application.
  • Figure 8 is a schematic structural diagram of another network provided by an embodiment of the present application.
  • Figure 9 is a schematic diagram of the principle of yet another network protection method provided by an embodiment of the present application.
  • Figure 10 is a schematic structural diagram of a network protection device provided by an embodiment of the present application.
  • Figure 11 is a schematic structural diagram of a network node provided by an embodiment of the present application.
  • Figure 1 is a system architecture diagram applicable to a network protection method provided by an embodiment of the present application.
  • the system may include a current node 101, which includes at least two nodes 102 before the current node 101.
  • the current node 101 is connected to the last node of the at least two nodes 102 through a working channel and a protection channel.
  • at least two nodes 102 can also be connected through a working channel and a protection channel.
  • the working channel and the protection channel are used for the transmission of protected normal service signals, that is, when the working channel is defective, the service is switched from the working channel. to the protection channel to achieve normal transmission of business signals.
  • the different channels of each node Depending on the status of the software and hardware, the order in which defects are detected and processed by the working channel and protection channel of the current node 101 may be different.
  • the channel switching between the two upstream nodes 102 may trigger the channel switching of the current node 101. Switching services from the working channel to the protection channel causes the switching of the upstream protection group to cause the switching of the downstream protection group in the network.
  • the network may include head node a, intermediate node 1, intermediate node 2, intermediate node 3 and tail node z.
  • intermediate node 1, intermediate node 3 and tail node z Configured to use non-intrusively monitored Subnetwork Connection protection (SNC/N), which can detect defects in the first, second and third working channels or protection channels in the network respectively To protect.
  • SNC/N Subnetwork Connection protection
  • the working channel at the second location is defective, the working channel and protection channel of intermediate node 3 will be switched. That is, intermediate node 3 switches the service at the second location from the working channel to the protection channel.
  • the working channel and protection channel of tail node z detect the occurrence and disappearance of defects first and then, so the intermediate node
  • the channel switching of 3 may also cause the working channel and protection channel of tail node z to be switched.
  • the channel switching of intermediate node 1 may also trigger the channel switching of intermediate node 3 and the tail node.
  • upstream protection group switching may cause downstream protection groups to also switch, making the switching time longer and unable to meet customer needs.
  • the embodiments of the present application aim to solve the above-mentioned technical problems and prevent the upstream protection group switching from causing the downstream protection group to also switch, thereby shortening the overall channel switching time.
  • the execution subject of the following method embodiments may be a network protection device, and the device may be implemented as the above-mentioned current node through software, hardware, or a combination of software and hardware.
  • the following method embodiments are described by taking the execution subject being the current node as an example (that is, the following method embodiments are applied to the current node).
  • Figure 3 is a schematic flowchart of a network protection method provided by an embodiment of the present application.
  • the method may include:
  • the current node obtains the defect processing time corresponding to the working channel and the protection channel respectively.
  • the working channel and protection channel of the current node can be considered as the downstream protection group.
  • the working channel and the protection channel are respectively configured with corresponding defect processing times.
  • a defect is detected in both the working channel and the protection channel of the current node.
  • the defects in the working channel are processed through the defect processing time configured in advance for the working channel, so that the working channel of the current node does not produce the above defects earlier than the protection channel, even if the working channel and protection channel of the current node detect the defects.
  • the time is basically consistent, and the defects in the protection channel are processed through the defect processing time configured in advance for the protection channel, so that the protection channel of the current node disappears no earlier than the working channel, even if the working channel and protection channel of the current node detect
  • the time when the defect disappears is basically consistent, which can avoid the downstream protection group switching caused by the upstream protection group switching. In other words, for defects in the network, only the protection group where the defect is located will be switched to avoid the downstream protection group switching due to the same Defects are switched and the switching time is shortened.
  • the above defects can be signal degradation (Signal Degrade, SD) or signal failure (Signal Failure, SF).
  • the current node can be configured as SNC/N, Inherently monitored Subnetwork Connection Crotection (SNC/I), or SNCP with Sublayer monitoring (SNC/S). This embodiment There is no restriction on the implementation method of defect status monitoring of the current node.
  • the above defect processing time supports the configuration function, that is, the above defect processing time can be configured through the following process:
  • the channel configuration interface includes a first configuration item and a second configuration item.
  • the first configuration item is used to configure the defect processing time for processing on the working channel
  • the second configuration item is used to configure the defect processing time for the working channel.
  • Configure the defect processing time for protection channel processing configure the defect processing time corresponding to the working channel and the protection channel through the channel configuration interface.
  • the defect processing time corresponding to the working channel and the protection channel can be pre-configured through the channel configuration interface.
  • the defect processing time corresponding to the working channel can be determined based on the transmission delay characteristics. For example, you can refer to the delay characteristics of the optical fiber (100km transmission The allowable delay is 5ms).
  • the defect processing time corresponding to the working channel also needs to consider the channel switching performance triggered by the defects of the current node itself.
  • the defect processing time corresponding to the protection channel can be determined based on the transmission delay characteristics and the preset redundancy, that is, it can be longer than the actual transmission delay.
  • the network protection method provided by the embodiment of this application is to deal with defects in the working channel and protection channel of the current node based on the defect processing time corresponding to the working channel, and to protect the defect based on the defect processing time corresponding to the protection channel.
  • the defects in the channel are processed so that the working channel of the current node does not produce the above defects earlier than the protection channel and the protection channel of the current node disappears the above defects not earlier than the working channel, thereby preventing the upstream protection group switching from triggering the downstream protection group switching and shortening the overall time. channel switching time to improve switching efficiency.
  • the above S302 may include:
  • the working channel of the current node After the working channel of the current node detects a defect earlier than the protection channel, ignore the defect generated in the working channel within the first defect processing time, so that the working channel of the current node does not generate the defect earlier than the protection channel. Describe the defects.
  • the working channel of the current node (for example, the tail node z in Figure 4) is a short path
  • the protection channel is a long path
  • the defect of the working channel at the second location causes intermediate node 3
  • the working channel of the current node detects defects earlier than the protection channel. If corresponding measures are not taken, it will The channel switching of intermediate node 3 triggers the current node to switch services from the working channel to the protection channel, causing the same defect to cause multiple channel switchings, greatly increasing the channel switching time.
  • the working channel and the protection channel are pre-configured with corresponding defect processing time.
  • the current node processes the first defect in Defects generated in the working channel are ignored within the time (ie, the defect ignoring time of the working channel shown in Figure 5), so that the working channel of the current node does not generate defects earlier than the protection channel.
  • the time when the current node's working channel and the protection channel generate defects can be basically consistent, so that the channel switching at the intermediate node 3 will not cause the channel switching at the tail node z, realizing the upstream
  • the purpose of avoiding downstream protection group switching is to shorten the overall channel switching time and improve switching efficiency.
  • the protection channel of the current node since the working channel of the current node is a short path and the protection channel is a long path, the protection channel of the current node detects that the defect disappears later than the working channel. This situation will not trigger channel switching of the current node. Therefore, in In this scenario, only the defects in the working channel of the current node are processed through the first defect processing time, and there is no need to process the protection channel of the current node.
  • the current node's upstream protection group undergoes channel switching due to a defect in the channel, and the current node's working channel and protection channel are not synchronized to produce the above-mentioned defect, the current node's working channel is detected earlier than the protection channel. After detecting the above defects, the defects generated in the working channel are ignored within the first defect processing time, so that the working channel of the current node does not detect the defect earlier than the protection channel, thereby avoiding the failure of the downstream protection group that may be caused by the switching of the upstream protection group. Switch.
  • the above S302 may include:
  • the protection channel of the current node detects that the defect disappears earlier than the working channel, in the second defect
  • the defect generated by the protection channel is continued to be maintained during the trap processing time, so that the protection channel of the current node disappears the defect no earlier than the working channel.
  • the working channel of the current node (for example, the tail node z in Figure 6) is a long path, and the protection channel is a short path.
  • the defect of the working channel at the second location causes intermediate node 3
  • the protection channel of the current node detects the defect disappears earlier than the protection channel. If corresponding measures are not taken, then It will trigger the current node to switch the service from the working channel to the protection channel, causing the same defect to cause multiple channel switching, greatly increasing the channel switching time.
  • the working channel and the protection channel are pre-configured with corresponding defect processing times.
  • the protection channel of the current node detects that the defect disappears earlier than the working channel
  • the current node detects the defect in the second defect processing time.
  • the defects generated in the protection channel are continued to be maintained within the processing time (that is, the defect extension time of the protection channel shown in Figure 7), so that the protection channel of the current node disappears the above-mentioned defects no earlier than the working channel.
  • the time when the defects of the working channel and the protection channel of the current node disappear can be basically the same, so that the channel switching at the intermediate node 3 will not cause the channel switching at the tail node z, realizing the In the case of upstream protection group switching, the purpose of avoiding downstream protection group switching is to shorten the overall channel switching time and improve switching efficiency.
  • the working channel of the current node since the working channel of the current node is a long path and the protection channel is a short path, the working channel of the current node detects a defect later than the protection channel. This situation will not trigger channel switching of the current node. Therefore, in this In this scenario, it is only necessary to process the defects in the protection channel through the second defect processing time after the protection channel detects the defect disappears earlier than the working channel. There is no need to process the working channel of the current node.
  • the protection channel of the current node is detected earlier than the working channel.
  • the above defects generated in the protection channel continue to be maintained during the second defect processing time, so that the protection channel of the current node disappears the above defects no earlier than the working channel, thereby avoiding the downstream protection group that may be caused by the switching of the upstream protection group. switching.
  • the above S302 may include:
  • the defect generated in the working channel is ignored within the first defect processing time; and the protection channel of the current node detects the defect earlier than the working channel. After disappearing, continue to maintain the defect generated by the protection channel during the second defect processing time, so that the working channel of the current node does not generate the defect earlier than the protection channel, and the protection channel of the current node does not generate the defect earlier.
  • the said defects disappear in the working channel.
  • the first defect processing time is determined based on the transmission delay characteristics
  • the second defect processing time is determined based on the transmission delay characteristics and the preset redundancy.
  • the working channel of the current node (for example, the tail node z in Figure 8) is a short path, the protection channel is a long path, and the working channel service is extended when the service is restored.
  • the working channel of the current node detects the defect earlier than the protection channel. If not, If corresponding measures are taken, the channel switching of intermediate node 3 will trigger the current node to switch the service from the working channel to the protection channel.
  • the protection channel of the current node is detected earlier than the working channel.
  • the defect disappears if corresponding measures are not taken, channel switching will be triggered again and the service will be switched back to the working channel, causing the same defect to trigger multiple channel switching, greatly increasing the channel switching time.
  • the working channel and the protection channel are pre-configured with corresponding defect processing times.
  • the current node processes the first defect in The defects generated in the working channel are ignored within the time (i.e., the defect ignoring time of the working channel shown in Figure 9), and, after the protection channel of the current node detects that the defect disappears earlier than the working channel, in the second defect processing time (i.e., The defects generated in the protection channel are continued to be maintained within the defect extension time of the protection channel shown in Figure 9, so that the working channel of the current node does not produce the above defects earlier than the protection channel and the protection channel of the current node disappears not earlier than the working channel.
  • the above embodiment only takes the current node as the tail node as an example for introduction.
  • the current node may also be the intermediate node 3 in Figure 2. This embodiment does not limit the direction of the current node.
  • the working channel of the current node is detected earlier than the protection channel.
  • the defects generated in the working channel are ignored within the first defect time, so that the working channel of the current node does not detect the defect earlier than the protection channel, thereby avoiding the channel switching of the current node that may be caused by the upstream protection group switching.
  • the protection channel of the current node detects the disappearance of the above defect earlier than the working channel. After that, the above defects generated in the protection channel are continued to be maintained during the second defect processing time, so that the protection channel of the current node disappears the above defects no earlier than the working channel, thereby avoiding the channel switching of the current node that may be caused by the switching of the upstream protection group. This allows a defect to only trigger the protection group where the defect is located, without triggering downstream protection group switching, shortening channel switching time and improving service switching efficiency.
  • the working channel and the protection channel are relative concepts, that is, two defect processing times are set for the current node.
  • the first defect processing time is used to process the working channel
  • the second defect processing time is used to process the protection channel.
  • the new working channel can still be processed according to the first defect processing time, and the new protection channel can be processed according to the second defect processing time, so that the new working channel of the current node will not generate defects earlier than the new protection channel, and the new working channel of the current node will not be defective earlier than the new protection channel.
  • the new protection channel disappears the defect no earlier than the new working channel.
  • Figure 10 is a schematic structural diagram of a network protection device provided by an embodiment of the present application.
  • the device is integrated into the current node. There are at least two nodes before the current node. The current node and the last node among the at least two nodes pass through the working channel. Connected to the protection channel.
  • the device may include: an acquisition module 1001 and a processing module 1002.
  • the acquisition module 1001 is configured to acquire the defect processing time corresponding to the working channel and the protection channel respectively; the processing module 1002 is configured to process the defects in the corresponding channel according to the defect processing time, so that the working channel of the current node is no earlier than the protection channel. The defect occurs, and the protection channel of the current node disappears the defect no earlier than the working channel.
  • the network protection device processes defects in the working channel and the protection channel of the current node based on the defect processing time corresponding to the working channel, and processes the protection based on the defect processing time corresponding to the protection channel.
  • the defects in the channel are processed so that the working channel of the current node does not produce the above defects earlier than the protection channel and the protection channel of the current node disappears the above defects not earlier than the working channel, thereby preventing the upstream protection group switching from triggering the downstream protection group switching and shortening the overall time. channel switching time to improve switching efficiency.
  • the processing module 1002 is configured to ignore the defects generated in the working channel within the first defect processing time after the working channel of the current node detects a defect earlier than the protection channel, so that all The working channel of the current node produces the defect no earlier than the protection channel.
  • the processing module 1002 is configured to continue to maintain the defects generated by the protection channel during the second defect processing time after the protection channel of the current node detects that the defect disappears earlier than the working channel, So that the protection channel of the current node disappears the defect no earlier than the working channel.
  • the processing module 1002 is configured to ignore the defect generated in the working channel within the first defect processing time after the working channel of the current node detects a defect earlier than the protection channel; and in the current node After the protection channel of the node detects that the defect disappears earlier than the working channel, it continues to maintain the defect generated by the protection channel during the second defect processing time, so that the working channel of the current node does not occur earlier than the protection channel.
  • the defect is that the protection channel of the current node is not early The said defects disappear in the working channel.
  • the first defect processing time is determined based on transmission delay characteristics.
  • the second defect processing time is determined based on the transmission delay characteristics and the preset redundancy amount.
  • the defect processing time is configured through the following process:
  • the channel configuration interface includes a first configuration item corresponding to the working channel and a second configuration item corresponding to the protection channel, and the first configuration item is used to configure the defect processing time for processing the working channel,
  • the second configuration item is used to configure the defect processing time for protection channel processing; configure the defect processing time corresponding to the working channel and the protection channel through the channel configuration interface.
  • a current node is provided, and its internal structure diagram can be shown in Figure 11.
  • the current node includes a processor, memory, network interface, and database connected through a system bus.
  • the processor of the current node is configured to provide computing and control capabilities.
  • the memory of the current node includes non-volatile storage media and internal memory.
  • the non-volatile storage medium stores operating systems, computer programs and databases. This internal memory provides an environment for the execution of operating systems and computer programs in non-volatile storage media.
  • the database of the current node is used to store data generated during the network protection process.
  • the network interface of the current node is set to communicate with an external terminal through a network connection.
  • the computer program when executed by the processor, implements a network protection method.
  • the structure shown in Figure 11 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the current node on which the solution of the present application is applied.
  • the current node may include more or more than those shown in the figure. Have fewer parts, or combine some parts, or have different parts arrangements.
  • a network node including a memory and a processor.
  • a computer program is stored in the memory.
  • the processor executes the computer program, it implements the following steps:
  • the current node obtains the defect processing time corresponding to the working channel and the protection channel respectively; processes the defects in the corresponding channel according to the defect processing time, so that the working channel of the current node does not generate the defect earlier than the protection channel, and the current node The node's protection channel disappears from the defect no earlier than the working channel.
  • a network protection system as shown in Figure 1 is provided.
  • the system includes a current node 101 and at least two nodes 102 located before the current node 101.
  • the current node 101 is connected to at least two nodes 102.
  • the last node in the node 102 is connected through the working channel and the protection channel;
  • the current node 101 is configured to obtain the defect processing time corresponding to the working channel and the protection channel respectively;
  • the current node 101 is also configured to process the corresponding defect processing time according to the defect processing time. Defects in the channel, so that the working channel of the current node 101 does not produce the defect earlier than the protection channel, and the protection channel of the current node 101 disappears the defect not earlier than the working channel.
  • a storage medium stores a computer program, and when the computer program is executed by a processor, the following is achieved:
  • the current node obtains the defect processing time corresponding to the working channel and the protection channel respectively; processes the defects in the corresponding channel according to the defect processing time, so that the working channel of the current node does not generate the defect earlier than the protection channel, and the current node The node's protection channel disappears from the defect no earlier than the working channel.
  • the network protection devices, nodes, systems and storage media provided in the above embodiments can execute the network protection method provided by any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method.
  • the network protection method provided by any embodiment of this application.
  • the various embodiments of the present application may be implemented in hardware or special purpose circuitry, software, logic, or any combination thereof.
  • some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor, or other computing device, although the application is not limited thereto.
  • Embodiments of the present application may be implemented by a data processor of the mobile device executing computer program instructions, for example in a processor entity, or by hardware, or by a combination of software and hardware.
  • Computer program instructions may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or written in any combination of one or more programming languages source code or object code.
  • ISA Instruction Set Architecture
  • Any block diagram of a logic flow in the figures of this application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions.
  • Computer programs can be stored on memory.
  • the memory may be of any type suitable for the local technical environment and may be implemented using any suitable data storage technology, such as but not limited to Read-Only Memory (ROM), Random Access Memory (RAM), optical Storage devices and systems (Digital Video Disc (DVD) or Compact Disc (CD)), etc.
  • Computer-readable media may include non-transitory storage media.
  • the data processor can be any type suitable for the local technical environment, such as but not limited to a general-purpose computer, a special-purpose computer, a microprocessor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC) ), programmable logic devices (Field Programmable Gate Array, FGPA) and processors based on multi-core processor architecture.
  • a general-purpose computer such as but not limited to a general-purpose computer, a special-purpose computer, a microprocessor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC) ), programmable logic devices (Field Programmable Gate Array, FGPA) and processors based on multi-core processor architecture.
  • DSP Digital Signal Processor
  • ASIC Application Specific Integrated Circuit
  • FGPA Field Programmable Gate Array

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Provided in the present application are a network protection method and apparatus, and a node, a system and a storage medium. The method is applied to the current node, wherein there are at least two nodes before the current node, and the current node is connected to the last node among the at least two nodes by means of an operation channel and a protection channel. The method comprises: the current node acquiring defect processing times respectively corresponding to an operation channel and a protection channel; and processing defects in the corresponding channels according to the defect processing times, so that the defect is not generated in the operation channel of the current node earlier than in the protection channel, and the defect does not disappear from the protection channel of the current node earlier than from the operation channel.

Description

网络保护方法、装置、节点、系统和存储介质Network protection method, device, node, system and storage medium 技术领域Technical field
本申请涉及网络管理领域,例如涉及网络保护方法、装置、节点、系统和存储介质。This application relates to the field of network management, such as network protection methods, devices, nodes, systems and storage media.
背景技术Background technique
随着网络业务量的快速增长,对网络的生存性要求越来越高,网络保护是在网络出现缺陷时,能够快速实现网络生存性的方式之一。子网连接保护(Sub-network Connection Protection,SNCP)正是在这个背景下发展起来的,SNCP是一种专用的保护机制,可以使用SNCP进行级联保护,实现业务在多点缺陷情况下的恢复。但是,传统的网络保护方式可能会存在下面的技术问题:网络中出现一处缺陷时,对应的通信节点会进行通道的倒换,而该通信节点通道的倒换可能会触发下游节点倒换,导致一个缺陷出现多次倒换的现象,使得倒换时间较长,无法满足客户需求。With the rapid growth of network traffic, the requirements for network survivability are getting higher and higher. Network protection is one of the ways to quickly achieve network survivability when network defects occur. Sub-network Connection Protection (SNCP) was developed under this background. SNCP is a dedicated protection mechanism that can use SNCP for cascading protection to achieve business recovery in the event of multiple defects. . However, the traditional network protection method may have the following technical problems: when a defect occurs in the network, the corresponding communication node will perform channel switching, and the switching of the communication node channel may trigger the switching of downstream nodes, causing a defect Multiple switching occurs, which makes the switching time longer and cannot meet customer needs.
发明内容Contents of the invention
本申请提供网络保护方法、装置、节点、系统和存储介质。This application provides network protection methods, devices, nodes, systems and storage media.
第一方面,本申请提供一种网络保护方法,应用于当前节点,所述当前节点之前包括至少两个节点,所述当前节点与至少两个节点中的最后节点通过工作通道和保护通道相连,所述方法包括:In a first aspect, this application provides a network protection method, which is applied to a current node. The current node includes at least two nodes before it. The current node is connected to the last node among the at least two nodes through a working channel and a protection channel. The methods include:
当前节点获取工作通道和保护通道分别对应的缺陷处理时间;根据所述缺陷处理时间处理对应通道中的缺陷,以使所述当前节点的工作通道不早于保护通道产生所述缺陷,所述当前节点的保护通道不早于工作通道消失所述缺陷。The current node obtains the defect processing time corresponding to the working channel and the protection channel respectively; processes the defects in the corresponding channel according to the defect processing time, so that the working channel of the current node does not generate the defect earlier than the protection channel, and the current node The node's protection channel disappears from the defect no earlier than the working channel.
第二方面,本申请提供一种网络保护装置,集成于当前节点,所述当前节点之前包括至少两个节点,所述当前节点与至少两个节点中的最后节点通过工作通道和保护通道相连,所述装置包括:In a second aspect, this application provides a network protection device integrated in a current node, which includes at least two nodes before the current node, and is connected to the last node among the at least two nodes through a working channel and a protection channel, The device includes:
获取模块,设置为获取工作通道和保护通道分别对应的缺陷处理时间;处理模块,设置为根据所述缺陷处理时间处理对应通道中的缺陷,以使所述当前节点的工作通道不早于保护通道产生所述缺陷,所述当前节点的保护通道不早于工作通道消失所述缺陷。The acquisition module is configured to obtain the defect processing time corresponding to the working channel and the protection channel respectively; the processing module is configured to process the defects in the corresponding channel according to the defect processing time, so that the working channel of the current node is not earlier than the protection channel The defect occurs, and the protection channel of the current node disappears the defect no earlier than the working channel.
第三方面,本申请提供一种网络节点,包括存储器和处理器,所述存储器 存储有计算机程序,所述处理器执行所述计算机程序时实现上述的网络保护方法。In a third aspect, this application provides a network node, including a memory and a processor, where the memory A computer program is stored, and when the processor executes the computer program, the above network protection method is implemented.
第四方面,本申请提供一种网络保护系统,包括当前节点和位于所述当前节点之前的至少两个节点,所述当前节点与至少两个节点中的最后节点通过工作通道和保护通道相连;所述当前节点设置为获取工作通道和保护通道分别对应的缺陷处理时间;所述当前节点还设置为根据所述缺陷处理时间处理对应通道中的缺陷,以使所述当前节点的工作通道不早于保护通道产生所述缺陷,所述当前节点的保护通道不早于工作通道消失所述缺陷。In a fourth aspect, this application provides a network protection system, including a current node and at least two nodes located before the current node, and the current node is connected to the last node among the at least two nodes through a working channel and a protection channel; The current node is set to obtain the defect processing time corresponding to the working channel and the protection channel respectively; the current node is also set to process the defects in the corresponding channel according to the defect processing time, so that the working channel of the current node is not early The defect occurs in the protection channel, and the protection channel of the current node disappears the defect no earlier than the working channel.
第五方面,本申请提供一种存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述的网络保护方法。In a fifth aspect, the present application provides a storage medium that stores a computer program. When the computer program is executed by a processor, the above-mentioned network protection method is implemented.
附图说明Description of drawings
图1为本申请实施例提供的一种网络保护方法所适用的系统架构图;Figure 1 is a system architecture diagram applicable to a network protection method provided by an embodiment of the present application;
图2为本申请实施例提供的一种网络的结构示意图;Figure 2 is a schematic structural diagram of a network provided by an embodiment of the present application;
图3为本申请实施例提供的一种网络保护方法的流程示意图;Figure 3 is a schematic flow chart of a network protection method provided by an embodiment of the present application;
图4为本申请实施例提供的另一种网络的结构示意图;Figure 4 is a schematic structural diagram of another network provided by an embodiment of the present application;
图5为本申请实施例提供的一种网络保护方法的原理示意图;Figure 5 is a schematic diagram of the principle of a network protection method provided by an embodiment of the present application;
图6为本申请实施例提供的又一种网络的结构示意图;Figure 6 is a schematic structural diagram of another network provided by an embodiment of the present application;
图7为本申请实施例提供的另一种网络保护方法的原理示意图;Figure 7 is a schematic principle diagram of another network protection method provided by an embodiment of the present application;
图8为本申请实施例提供的又一种网络的结构示意图;Figure 8 is a schematic structural diagram of another network provided by an embodiment of the present application;
图9为本申请实施例提供的又一种网络保护方法的原理示意图;Figure 9 is a schematic diagram of the principle of yet another network protection method provided by an embodiment of the present application;
图10为本申请实施例提供的一种网络保护装置的结构示意图;Figure 10 is a schematic structural diagram of a network protection device provided by an embodiment of the present application;
图11为本申请实施例提供的一种网络节点的结构示意图。Figure 11 is a schematic structural diagram of a network node provided by an embodiment of the present application.
具体实施方式Detailed ways
图1为本申请实施例提供的一种网络保护方法所适用的系统架构图。如图1所示,该系统可以包括当前节点101、当前节点101之前包括至少两个节点102,当前节点101与至少两个节点102中的最后节点通过工作通道和保护通道相连。其中,至少两个节点102之间也可以通过工作通道和保护通道相连,工作通道和保护通道用于被保护的正常业务信号的传输,即在工作通道存在缺陷时,通过将业务从工作通道倒换到保护通道,实现业务信号的正常传输。 Figure 1 is a system architecture diagram applicable to a network protection method provided by an embodiment of the present application. As shown in Figure 1, the system may include a current node 101, which includes at least two nodes 102 before the current node 101. The current node 101 is connected to the last node of the at least two nodes 102 through a working channel and a protection channel. Among them, at least two nodes 102 can also be connected through a working channel and a protection channel. The working channel and the protection channel are used for the transmission of protected normal service signals, that is, when the working channel is defective, the service is switched from the working channel. to the protection channel to achieve normal transmission of business signals.
在对传统技术的研究和实践过程中,当当前节点101的上游两个节点102之间的通道存在缺陷发生通道倒换时,因为工作通道和保护通道的光纤长度的不同,每个节点的不同通道的软硬件状态的不同,当前节点101的工作通道和保护通道检测到缺陷并进行处理的先后顺序有可能不同,上游两个节点102之间的通道倒换有可能会触发当前节点101进行通道倒换,将业务从工作通道倒换到保护通道,导致网络中存在上游保护组的倒换引起下游保护组也进行倒换的现象。如图2所示,网络中可以包括首节点a、中间节点1、中间节点2、中间节点3和尾节点z,在多个保护连接的情况下,中间节点1,中间节点3和尾节点z被配置为使用非介入式监视的子网连接保护(Non-intrusively monitored Subnetwork Connection protection,SNC/N),可以分别对网络中第一处、第二处以及第三处工作通道或者保护通道的缺陷进行保护。对于图2所示的场景,如果第二处的工作通道存在缺陷,此时会引发中间节点3的工作通道和保护通道发生倒换,即中间节点3将第二处的业务从工作通道倒换到保护通道,由于尾节点z的工作通道和保护通道的光纤长度以及软硬件处理时序通常不会严格一致,尾节点z的工作通道和保护通道检测到缺陷产生以及缺陷消失有先有后,因此中间节点3的通道倒换还可能会导致尾节点z的工作通道和保护通道发生倒换。同理,对于图2所示的场景,如果第一处的通道存在缺陷,那么中间节点1的通道倒换还可能触发中间节点3和尾节点的通道倒换。总之,随着网络级联保护个数增多,上游保护组倒换可能会导致下游保护组也进行倒换,使得倒换时间较长,无法满足客户需求。为此,本申请实施例旨在解决上述存在的技术问题,防止上游保护组倒换导致下游保护组也进行倒换,从而整体缩短通道倒换时间。In the process of research and practice of traditional technology, when there is a defect in the channel between the two nodes 102 upstream of the current node 101 and channel switching occurs, due to the different lengths of the optical fibers of the working channel and the protection channel, the different channels of each node Depending on the status of the software and hardware, the order in which defects are detected and processed by the working channel and protection channel of the current node 101 may be different. The channel switching between the two upstream nodes 102 may trigger the channel switching of the current node 101. Switching services from the working channel to the protection channel causes the switching of the upstream protection group to cause the switching of the downstream protection group in the network. As shown in Figure 2, the network may include head node a, intermediate node 1, intermediate node 2, intermediate node 3 and tail node z. In the case of multiple protection connections, intermediate node 1, intermediate node 3 and tail node z Configured to use non-intrusively monitored Subnetwork Connection protection (SNC/N), which can detect defects in the first, second and third working channels or protection channels in the network respectively To protect. For the scenario shown in Figure 2, if the working channel at the second location is defective, the working channel and protection channel of intermediate node 3 will be switched. That is, intermediate node 3 switches the service at the second location from the working channel to the protection channel. channel, since the fiber lengths and software and hardware processing timings of the working channel and protection channel of tail node z are usually not strictly consistent, the working channel and protection channel of tail node z detect the occurrence and disappearance of defects first and then, so the intermediate node The channel switching of 3 may also cause the working channel and protection channel of tail node z to be switched. Similarly, for the scenario shown in Figure 2, if the first channel is defective, the channel switching of intermediate node 1 may also trigger the channel switching of intermediate node 3 and the tail node. In short, as the number of network cascade protection increases, upstream protection group switching may cause downstream protection groups to also switch, making the switching time longer and unable to meet customer needs. To this end, the embodiments of the present application aim to solve the above-mentioned technical problems and prevent the upstream protection group switching from causing the downstream protection group to also switch, thereby shortening the overall channel switching time.
下文中将结合附图对本申请的实施例进行说明。The embodiments of the present application will be described below in conjunction with the accompanying drawings.
下述方法实施例的执行主体可以是网络保护装置,该装置可以通过软件、硬件或者软硬件结合的方式实现成为上述当前节点。下述方法实施例以执行主体是当前节点为例进行说明(即下述方法实施例应用于当前节点)。The execution subject of the following method embodiments may be a network protection device, and the device may be implemented as the above-mentioned current node through software, hardware, or a combination of software and hardware. The following method embodiments are described by taking the execution subject being the current node as an example (that is, the following method embodiments are applied to the current node).
图3为本申请实施例提供的一种网络保护方法的流程示意图,该方法可以包括:Figure 3 is a schematic flowchart of a network protection method provided by an embodiment of the present application. The method may include:
S301、当前节点获取工作通道和保护通道分别对应的缺陷处理时间。S301. The current node obtains the defect processing time corresponding to the working channel and the protection channel respectively.
S302、根据所述缺陷处理时间处理对应通道中的缺陷,以使所述当前节点的工作通道不早于保护通道产生所述缺陷,所述当前节点的保护通道不早于工作通道消失所述缺陷。S302. Process the defects in the corresponding channel according to the defect processing time, so that the working channel of the current node does not generate the defect earlier than the protection channel, and the protection channel of the current node disappears the defect not earlier than the working channel. .
针对上游保护组而言,当前节点的工作通道和保护通道可认为是下游保护组。在本实施例中,工作通道和保护通道分别配置有对应的缺陷处理时间,在当前节点的上游保护组倒换,引起当前节点的工作通道和保护通道都检测到缺 陷的场景下,通过预先为工作通道配置的缺陷处理时间处理工作通道中的缺陷,使得当前节点的工作通道不早于保护通道产生上述缺陷,即使当前节点的工作通道和保护通道检测到缺陷产生的时间基本保持一致,以及通过预先为保护通道配置的缺陷处理时间处理保护通道中的缺陷,使得当前节点的保护通道不早于工作通道消失上述缺陷,即使当前节点的工作通道和保护通道检测到缺陷消失的时间基本保持一致,可避免上游保护组倒换而导致的下游保护组倒换,也就是说,针对网络中的缺陷,仅会让该缺陷所在的保护组进行倒换,避免下游保护组因同一缺陷进行倒换,缩短了倒换时间。For the upstream protection group, the working channel and protection channel of the current node can be considered as the downstream protection group. In this embodiment, the working channel and the protection channel are respectively configured with corresponding defect processing times. When the upstream protection group of the current node is switched, a defect is detected in both the working channel and the protection channel of the current node. In the trap scenario, the defects in the working channel are processed through the defect processing time configured in advance for the working channel, so that the working channel of the current node does not produce the above defects earlier than the protection channel, even if the working channel and protection channel of the current node detect the defects. The time is basically consistent, and the defects in the protection channel are processed through the defect processing time configured in advance for the protection channel, so that the protection channel of the current node disappears no earlier than the working channel, even if the working channel and protection channel of the current node detect The time when the defect disappears is basically consistent, which can avoid the downstream protection group switching caused by the upstream protection group switching. In other words, for defects in the network, only the protection group where the defect is located will be switched to avoid the downstream protection group switching due to the same Defects are switched and the switching time is shortened.
以图2所示的场景为例,在网络中第二处的工作通道存在缺陷,通过S301-S302的处理,仅会触发中间节点3的通道倒换,并不会触发下游保护组如尾节点z的通道倒换。同理,在网络中第一处的工作通道存在缺陷,通过S301-S302的处理,仅会触发中间节点1的通道倒换,并不会触发下游保护组如中间节点3和尾节点z的通道倒换。Taking the scenario shown in Figure 2 as an example, there is a defect in the second working channel in the network. Through the processing of S301-S302, only the channel switching of intermediate node 3 will be triggered, and the downstream protection group such as tail node z will not be triggered. channel switching. Similarly, there is a defect in the first working channel in the network. Through the processing of S301-S302, only the channel switching of intermediate node 1 will be triggered, and the channel switching of downstream protection groups such as intermediate node 3 and tail node z will not be triggered. .
上述缺陷可以为信号劣化(Signal Degrade,SD)或者信号失效(Signal Failure,SF)。The above defects can be signal degradation (Signal Degrade, SD) or signal failure (Signal Failure, SF).
当前节点可被配置为SNC/N、使用固有监视的子网连接保护(Inherently monitored Subnetwork Connection Crotection,SNC/I)或者使用子层监视的SNCP(SNCP with Sublayer monitoring,SNC/S),本实施例对当前节点的缺陷状态监视的实现方式不做限定。The current node can be configured as SNC/N, Inherently monitored Subnetwork Connection Crotection (SNC/I), or SNCP with Sublayer monitoring (SNC/S). This embodiment There is no restriction on the implementation method of defect status monitoring of the current node.
上述缺陷处理时间支持配置功能,即上述缺陷处理时间可以通过下述过程进行配置:The above defect processing time supports the configuration function, that is, the above defect processing time can be configured through the following process:
展示通道配置界面;其中,所述通道配置界面包括第一配置项以及第二配置项,所述第一配置项用于配置针对工作通道进行处理的缺陷处理时间,所述第二配置项用于配置针对保护通道处理的缺陷处理时间;通过所述通道配置界面配置工作通道和保护通道分别对应的缺陷处理时间。Display the channel configuration interface; wherein the channel configuration interface includes a first configuration item and a second configuration item. The first configuration item is used to configure the defect processing time for processing on the working channel, and the second configuration item is used to configure the defect processing time for the working channel. Configure the defect processing time for protection channel processing; configure the defect processing time corresponding to the working channel and the protection channel through the channel configuration interface.
也就是说,工作通道以及保护通道分别对应的缺陷处理时间可通过通道配置界面进行预先配置,工作通道对应的缺陷处理时间可基于传输时延特性确定,例如可参考光纤的时延特性(传输100km可允许时延5ms),同时,工作通道对应的缺陷处理时间还需要考虑当前节点本身的缺陷所触发的通道倒换性能。在配置保护通道对应的缺陷处理时间时,无需考虑当前节点本身的倒换性能,因此保护通道对应的缺陷处理时间可以基于传输时延特性及预设冗余量确定,即可以比实际传输时延多预留一些冗余量。本申请实施例提供的网络保护方法,针对当前节点的工作通道和保护通道中的缺陷,基于工作通道对应的缺陷处理时间对工作通道中的缺陷进行处理,基于保护通道对应的缺陷处理时间对保护 通道中的缺陷进行处理,使得当前节点的工作通道不早于保护通道产生上述缺陷以及当前节点的保护通道不早于工作通道消失上述缺陷,从而避免上游保护组倒换触发下游保护组倒换,整体缩短通道倒换时间,提高倒换效率。That is to say, the defect processing time corresponding to the working channel and the protection channel can be pre-configured through the channel configuration interface. The defect processing time corresponding to the working channel can be determined based on the transmission delay characteristics. For example, you can refer to the delay characteristics of the optical fiber (100km transmission The allowable delay is 5ms). At the same time, the defect processing time corresponding to the working channel also needs to consider the channel switching performance triggered by the defects of the current node itself. When configuring the defect processing time corresponding to the protection channel, there is no need to consider the switching performance of the current node itself. Therefore, the defect processing time corresponding to the protection channel can be determined based on the transmission delay characteristics and the preset redundancy, that is, it can be longer than the actual transmission delay. Leave some redundancy. The network protection method provided by the embodiment of this application is to deal with defects in the working channel and protection channel of the current node based on the defect processing time corresponding to the working channel, and to protect the defect based on the defect processing time corresponding to the protection channel. The defects in the channel are processed so that the working channel of the current node does not produce the above defects earlier than the protection channel and the protection channel of the current node disappears the above defects not earlier than the working channel, thereby preventing the upstream protection group switching from triggering the downstream protection group switching and shortening the overall time. channel switching time to improve switching efficiency.
在一个实施例中,上述S302可以包括:In one embodiment, the above S302 may include:
在当前节点的工作通道早于保护通道检测到缺陷之后,在第一缺陷处理时间内忽略所述工作通道中产生的所述缺陷,以使所述当前节点的工作通道不早于保护通道产生所述缺陷。After the working channel of the current node detects a defect earlier than the protection channel, ignore the defect generated in the working channel within the first defect processing time, so that the working channel of the current node does not generate the defect earlier than the protection channel. Describe the defects.
以图4所示的场景为例进行介绍,当前节点(例如,图4中的尾节点z)的工作通道为短路径,保护通道为长路径,在第二处工作通道的缺陷引发中间节点3发生通道倒换时,由于当前节点的工作通道和保护通道的光纤长度以及软硬件处理时序通常不会严格一致,当前节点的工作通道早于保护通道检测到缺陷,如果不采用相应的措施,则会出现中间节点3的通道倒换触发当前节点将业务从工作通道倒换到保护通道,导致同一缺陷引发多处通道倒换,大大增加通道倒换时间。Taking the scenario shown in Figure 4 as an example, the working channel of the current node (for example, the tail node z in Figure 4) is a short path, the protection channel is a long path, and the defect of the working channel at the second location causes intermediate node 3 When channel switching occurs, since the fiber lengths of the current node's working channel and protection channel and the processing timing of software and hardware are usually not strictly consistent, the working channel of the current node detects defects earlier than the protection channel. If corresponding measures are not taken, it will The channel switching of intermediate node 3 triggers the current node to switch services from the working channel to the protection channel, causing the same defect to cause multiple channel switchings, greatly increasing the channel switching time.
为此,本实施例中,工作通道和保护通道预先配置有对应的缺陷处理时间,如图5所示,在当前节点的工作通道早于保护通道检测到缺陷之后,当前节点在第一缺陷处理时间(即图5中所示的工作通道的缺陷忽略时间)内忽略工作通道中产生的缺陷,以使当前节点的工作通道不早于保护通道产生缺陷。这样,在中间节点3发生通道倒换时,当前节点的工作通道和保护通道产生缺陷的时间基本可达到一致,使得中间节点3发生通道倒换并不会引起尾节点z发生通道倒换,实现了在上游保护组倒换的情况下,避免下游保护组倒换的目的,整体缩短通道倒换时间,提高倒换效率。For this reason, in this embodiment, the working channel and the protection channel are pre-configured with corresponding defect processing time. As shown in Figure 5, after the working channel of the current node detects a defect earlier than the protection channel, the current node processes the first defect in Defects generated in the working channel are ignored within the time (ie, the defect ignoring time of the working channel shown in Figure 5), so that the working channel of the current node does not generate defects earlier than the protection channel. In this way, when the channel switching occurs at the intermediate node 3, the time when the current node's working channel and the protection channel generate defects can be basically consistent, so that the channel switching at the intermediate node 3 will not cause the channel switching at the tail node z, realizing the upstream In the case of protection group switching, the purpose of avoiding downstream protection group switching is to shorten the overall channel switching time and improve switching efficiency.
在本实施例中,由于当前节点的工作通道为短路径,保护通道为长路径,因此当前节点的保护通道晚于工作通道检测到缺陷消失,该情况不会触发当前节点的通道倒换,因此在该场景下仅通过第一缺陷处理时间对当前节点的工作通道中的缺陷进行处理,无需对当前节点的保护通道进行处理。In this embodiment, since the working channel of the current node is a short path and the protection channel is a long path, the protection channel of the current node detects that the defect disappears later than the working channel. This situation will not trigger channel switching of the current node. Therefore, in In this scenario, only the defects in the working channel of the current node are processed through the first defect processing time, and there is no need to process the protection channel of the current node.
在本实施例中,在当前节点的上游保护组因通道中存在缺陷发生通道倒换,当前节点的工作通道和保护通道不同步产生上述缺陷的情况下,在当前节点的工作通道早于保护通道检测到上述缺陷之后,在第一缺陷处理时间内忽略工作通道中产生的缺陷,使得当前节点的工作通道不早于保护通道检测到该缺陷,从而避免了上游保护组倒换可能导致的下游保护组的倒换。In this embodiment, when the current node's upstream protection group undergoes channel switching due to a defect in the channel, and the current node's working channel and protection channel are not synchronized to produce the above-mentioned defect, the current node's working channel is detected earlier than the protection channel. After detecting the above defects, the defects generated in the working channel are ignored within the first defect processing time, so that the working channel of the current node does not detect the defect earlier than the protection channel, thereby avoiding the failure of the downstream protection group that may be caused by the switching of the upstream protection group. Switch.
在一个实施例中,上述S302可以包括:In one embodiment, the above S302 may include:
在当前节点的保护通道早于工作通道检测到所述缺陷消失之后,在第二缺 陷处理时间内继续保持所述保护通道产生的所述缺陷,以使所述当前节点的保护通道不早于工作通道消失所述缺陷。After the protection channel of the current node detects that the defect disappears earlier than the working channel, in the second defect The defect generated by the protection channel is continued to be maintained during the trap processing time, so that the protection channel of the current node disappears the defect no earlier than the working channel.
以图6所示的场景为例进行介绍,当前节点(例如,图6中的尾节点z)的工作通道为长路径,保护通道为短路径,在第二处工作通道的缺陷引发中间节点3发生通道倒换时,由于当前节点的工作通道和保护通道的光纤长度以及软硬件处理时序通常不会严格一致,当前节点的保护通道早于保护通道检测到缺陷消失,如果不采用相应的措施,则会触发当前节点将业务从工作通道倒换到保护通道,导致同一缺陷引发多处通道倒换,大大增加通道倒换时间。Taking the scenario shown in Figure 6 as an example, the working channel of the current node (for example, the tail node z in Figure 6) is a long path, and the protection channel is a short path. The defect of the working channel at the second location causes intermediate node 3 When a channel switching occurs, since the fiber lengths of the working channel and protection channel of the current node and the processing timing of software and hardware are usually not strictly consistent, the protection channel of the current node detects the defect disappears earlier than the protection channel. If corresponding measures are not taken, then It will trigger the current node to switch the service from the working channel to the protection channel, causing the same defect to cause multiple channel switching, greatly increasing the channel switching time.
为此,本实施例中,工作通道和保护通道预先配置有对应的缺陷处理时间,如图7所示,在当前节点的保护通道早于工作通道检测到缺陷消失之后,当前节点在第二缺陷处理时间(即图7中所示的保护通道的缺陷延长时间)内继续保持保护通道中产生的缺陷,以使当前节点的保护通道不早于工作通道消失上述缺陷。这样,在中间节点3发生通道倒换时,当前节点的工作通道和保护通道的缺陷消失的时间基本可达到一致,使得中间节点3发生通道倒换时不会引起尾节点z发生通道倒换,实现了在上游保护组倒换的情况下,避免下游保护组倒换的目的,整体缩短通道倒换时间,提高倒换效率。For this reason, in this embodiment, the working channel and the protection channel are pre-configured with corresponding defect processing times. As shown in Figure 7, after the protection channel of the current node detects that the defect disappears earlier than the working channel, the current node detects the defect in the second defect processing time. The defects generated in the protection channel are continued to be maintained within the processing time (that is, the defect extension time of the protection channel shown in Figure 7), so that the protection channel of the current node disappears the above-mentioned defects no earlier than the working channel. In this way, when the channel switching occurs at the intermediate node 3, the time when the defects of the working channel and the protection channel of the current node disappear can be basically the same, so that the channel switching at the intermediate node 3 will not cause the channel switching at the tail node z, realizing the In the case of upstream protection group switching, the purpose of avoiding downstream protection group switching is to shorten the overall channel switching time and improve switching efficiency.
在本实施例中,由于当前节点的工作通道为长路径,保护通道为短路径,因此当前节点的工作通道晚于保护通道检测到缺陷,此情况不会触发当前节点的通道倒换,因此在该场景下仅需要在保护通道早于工作通道检测到缺陷消失后,通过第二缺陷处理时间对保护通道中的缺陷进行处理,无需对当前节点的工作通道进行处理。In this embodiment, since the working channel of the current node is a long path and the protection channel is a short path, the working channel of the current node detects a defect later than the protection channel. This situation will not trigger channel switching of the current node. Therefore, in this In this scenario, it is only necessary to process the defects in the protection channel through the second defect processing time after the protection channel detects the defect disappears earlier than the working channel. There is no need to process the working channel of the current node.
在本实施例中,在当前节点的上游保护组因通道中存在缺陷发生倒换,当前节点的工作通道和保护通道不同步消失上述缺陷的情况下,在当前节点的保护通道早于工作通道检测到上述缺陷消失之后,在第二缺陷处理时间内继续保持保护通道中产生的上述缺陷,使得当前节点的保护通道不早于工作通道消失上述缺陷,从而避免了上游保护组倒换可能导致的下游保护组的倒换。In this embodiment, when the upstream protection group of the current node is switched due to a defect in the channel, and the working channel and protection channel of the current node disappear out of synchronization, the protection channel of the current node is detected earlier than the working channel. After the above defects disappear, the above defects generated in the protection channel continue to be maintained during the second defect processing time, so that the protection channel of the current node disappears the above defects no earlier than the working channel, thereby avoiding the downstream protection group that may be caused by the switching of the upstream protection group. switching.
在一个实施例中,上述S302可以包括:In one embodiment, the above S302 may include:
在当前节点的工作通道早于保护通道检测到缺陷之后,在第一缺陷处理时间内忽略所述工作通道中产生的所述缺陷;以及在当前节点的保护通道早于工作通道检测到所述缺陷消失之后,在第二缺陷处理时间内继续保持所述保护通道产生的所述缺陷,以使所述当前节点的工作通道不早于保护通道产生所述缺陷,所述当前节点的保护通道不早于工作通道消失所述缺陷。其中,第一缺陷处理时间基于传输时延特性确定,第二缺陷处理时间基于传输时延特性及预设冗余量确定。 After the working channel of the current node detects the defect earlier than the protection channel, the defect generated in the working channel is ignored within the first defect processing time; and the protection channel of the current node detects the defect earlier than the working channel. After disappearing, continue to maintain the defect generated by the protection channel during the second defect processing time, so that the working channel of the current node does not generate the defect earlier than the protection channel, and the protection channel of the current node does not generate the defect earlier. The said defects disappear in the working channel. The first defect processing time is determined based on the transmission delay characteristics, and the second defect processing time is determined based on the transmission delay characteristics and the preset redundancy.
以图8所示的场景为例进行介绍,当前节点(例如,图8中的尾节点z)的工作通道为短路径,保护通道为长路径,且工作通道业务恢复时延长,在第二处工作通道的缺陷引发中间节点3发生倒换时,由于当前节点的工作通道和保护通道的光纤长度以及软硬件处理时序通常不会严格一致,当前节点的工作通道早于保护通道检测到缺陷,如果不采取相应的措施,则会出现中间节点3的通道倒换触发当前节点将业务从工作通道倒换到保护通道,同时,由于当前节点的工作通道业务恢复时延长,当前节点的保护通道早于工作通道检测到缺陷消失,如果不采取相应的措施,则会再次触发通道倒换,将业务重新倒换回工作通道,导致同一缺陷引发多处通道倒换,大大增加通道倒换时间。Taking the scenario shown in Figure 8 as an example, the working channel of the current node (for example, the tail node z in Figure 8) is a short path, the protection channel is a long path, and the working channel service is extended when the service is restored. At the second point When a defect in the working channel causes switching of intermediate node 3, since the fiber lengths of the current node's working channel and protection channel and the processing timing of software and hardware are usually not strictly consistent, the working channel of the current node detects the defect earlier than the protection channel. If not, If corresponding measures are taken, the channel switching of intermediate node 3 will trigger the current node to switch the service from the working channel to the protection channel. At the same time, due to the prolonged recovery time of the working channel service of the current node, the protection channel of the current node is detected earlier than the working channel. When the defect disappears, if corresponding measures are not taken, channel switching will be triggered again and the service will be switched back to the working channel, causing the same defect to trigger multiple channel switching, greatly increasing the channel switching time.
为此,本实施例中,工作通道和保护通道预先配置有对应的缺陷处理时间,如图9所示,在当前节点的工作通道早于保护通道检测到缺陷之后,当前节点在第一缺陷处理时间(即图9所示的工作通道的缺陷忽略时间)内忽略工作通道中产生的缺陷,并且,在当前节点的保护通道早于工作通道检测到缺陷消失之后,在第二缺陷处理时间(即图9所示的保护通道的缺陷延长时间)内继续保持保护通道中产生的缺陷,以使当前节点的工作通道不早于保护通道产生上述缺陷以及当前节点的保护通道不早于工作通道消失上述缺陷。这样,在中间节点3发生通道倒换时,当前节点的工作通道和保护通道产生缺陷的时间以及缺陷消失的时间基本可达到一致,使得中间节点3发生通道倒换时不会引起尾节点z反复发生通道倒换,实现了在上游保护组倒换的情况下,避免下游保护组倒换的目的,整体缩短通道倒换时间,提高倒换效率。For this reason, in this embodiment, the working channel and the protection channel are pre-configured with corresponding defect processing times. As shown in Figure 9, after the working channel of the current node detects a defect earlier than the protection channel, the current node processes the first defect in The defects generated in the working channel are ignored within the time (i.e., the defect ignoring time of the working channel shown in Figure 9), and, after the protection channel of the current node detects that the defect disappears earlier than the working channel, in the second defect processing time (i.e., The defects generated in the protection channel are continued to be maintained within the defect extension time of the protection channel shown in Figure 9, so that the working channel of the current node does not produce the above defects earlier than the protection channel and the protection channel of the current node disappears not earlier than the working channel. defect. In this way, when a channel switching occurs at the intermediate node 3, the time when the defects occur and the time when the defects disappear in the working channel and the protection channel of the current node can be basically consistent, so that when the channel switching occurs at the intermediate node 3, it will not cause repeated channel failures at the tail node z. Switching achieves the purpose of avoiding downstream protection group switching when the upstream protection group switches, shortens the overall channel switching time, and improves switching efficiency.
上述实施例仅以当前节点为尾节点为例进行介绍,当前节点也可以是图2中的中间节点3,本实施例并没有限定当前节点的指向。The above embodiment only takes the current node as the tail node as an example for introduction. The current node may also be the intermediate node 3 in Figure 2. This embodiment does not limit the direction of the current node.
在本实施例中,在当前节点的上游保护组因通道中存在缺陷发生倒换,且当前节点的工作通道和保护通道不同步产生上述缺陷的情况下,在当前节点的工作通道早于保护通道检测到上述缺陷之后,在第一缺陷时间内忽略工作通道中产生的缺陷,使得当前节点的工作通道不早于保护通道检测到该缺陷,从而避免了上游保护组倒换可能导致的当前节点的通道倒换。并且,在当前节点的上游保护组因通道中存在缺陷发生倒换,且当前节点的工作通道和保护通道不同步消失上述缺陷的情况下,在当前节点的保护通道早于工作通道检测到上述缺陷消失之后,在第二缺陷处理时间内继续保持保护通道中产生的上述缺陷,使得当前节点的保护通道不早于工作通道消失上述缺陷,从而避免了上游保护组倒换可能导致的当前节点的通道倒换,使得一处缺陷仅触发缺陷所在的保护组进行导致,不会引发下游保护组倒换,缩短了通道倒换时间,提高了业务倒换效率。 In this embodiment, when the upstream protection group of the current node is switched due to a defect in the channel, and the working channel and protection channel of the current node are not synchronized to produce the above defect, the working channel of the current node is detected earlier than the protection channel. After the above defects are detected, the defects generated in the working channel are ignored within the first defect time, so that the working channel of the current node does not detect the defect earlier than the protection channel, thereby avoiding the channel switching of the current node that may be caused by the upstream protection group switching. . Moreover, when the upstream protection group of the current node is switched due to a defect in the channel, and the working channel and protection channel of the current node disappear out of synchronization, the protection channel of the current node detects the disappearance of the above defect earlier than the working channel. After that, the above defects generated in the protection channel are continued to be maintained during the second defect processing time, so that the protection channel of the current node disappears the above defects no earlier than the working channel, thereby avoiding the channel switching of the current node that may be caused by the switching of the upstream protection group. This allows a defect to only trigger the protection group where the defect is located, without triggering downstream protection group switching, shortening channel switching time and improving service switching efficiency.
工作通道和保护通道是相对的概念,即对当前节点设置两个缺陷处理时间,第一缺陷处理时间用于对工作通道进行处理,第二缺陷处理时间用于对保护通道进行处理。在当前节点因本身通道缺陷触发通道倒换后,即原先的工作通道变为保护通道,原先的保护通道变为工作通道,在上游保护组倒换后,当前节点倒换后的通道都可以检测到缺陷,此时仍可依据第一缺陷处理时间对新工作通道进行处理,依据第二缺陷处理时间对新保护通道进行处理,使得当前节点的新工作通道不早于新保护通道产生缺陷,以及当前节点的新保护通道不早于新工作通道消失缺陷。The working channel and the protection channel are relative concepts, that is, two defect processing times are set for the current node. The first defect processing time is used to process the working channel, and the second defect processing time is used to process the protection channel. After the current node triggers channel switching due to its own channel defect, that is, the original working channel becomes a protection channel, and the original protection channel becomes a working channel. After the upstream protection group is switched, defects can be detected in the switched channels of the current node. At this time, the new working channel can still be processed according to the first defect processing time, and the new protection channel can be processed according to the second defect processing time, so that the new working channel of the current node will not generate defects earlier than the new protection channel, and the new working channel of the current node will not be defective earlier than the new protection channel. The new protection channel disappears the defect no earlier than the new working channel.
图10为本申请实施例提供的一种网络保护装置的结构示意图,该装置集成于当前节点,当前节点之前包括至少两个节点,所述当前节点与至少两个节点中的最后节点通过工作通道和保护通道相连。如图10所示,该装置可以包括:获取模块1001和处理模块1002。Figure 10 is a schematic structural diagram of a network protection device provided by an embodiment of the present application. The device is integrated into the current node. There are at least two nodes before the current node. The current node and the last node among the at least two nodes pass through the working channel. Connected to the protection channel. As shown in Figure 10, the device may include: an acquisition module 1001 and a processing module 1002.
获取模块1001设置为获取工作通道和保护通道分别对应的缺陷处理时间;处理模块1002设置为根据所述缺陷处理时间处理对应通道中的缺陷,以使所述当前节点的工作通道不早于保护通道产生所述缺陷,所述当前节点的保护通道不早于工作通道消失所述缺陷。The acquisition module 1001 is configured to acquire the defect processing time corresponding to the working channel and the protection channel respectively; the processing module 1002 is configured to process the defects in the corresponding channel according to the defect processing time, so that the working channel of the current node is no earlier than the protection channel. The defect occurs, and the protection channel of the current node disappears the defect no earlier than the working channel.
本申请实施例提供的网络保护装置,针对当前节点的工作通道和保护通道中的缺陷,基于工作通道对应的缺陷处理时间对工作通道中的缺陷进行处理,基于保护通道对应的缺陷处理时间对保护通道中的缺陷进行处理,使得当前节点的工作通道不早于保护通道产生上述缺陷以及当前节点的保护通道不早于工作通道消失上述缺陷,从而避免上游保护组倒换触发下游保护组倒换,整体缩短通道倒换时间,提高倒换效率。The network protection device provided by the embodiment of the present application processes defects in the working channel and the protection channel of the current node based on the defect processing time corresponding to the working channel, and processes the protection based on the defect processing time corresponding to the protection channel. The defects in the channel are processed so that the working channel of the current node does not produce the above defects earlier than the protection channel and the protection channel of the current node disappears the above defects not earlier than the working channel, thereby preventing the upstream protection group switching from triggering the downstream protection group switching and shortening the overall time. channel switching time to improve switching efficiency.
在上述实施例的基础上,处理模块1002设置为在当前节点的工作通道早于保护通道检测到缺陷之后,在第一缺陷处理时间内忽略所述工作通道中产生的所述缺陷,以使所述当前节点的工作通道不早于保护通道产生所述缺陷。Based on the above embodiment, the processing module 1002 is configured to ignore the defects generated in the working channel within the first defect processing time after the working channel of the current node detects a defect earlier than the protection channel, so that all The working channel of the current node produces the defect no earlier than the protection channel.
在上述实施例的基础上,处理模块1002设置为在当前节点的保护通道早于工作通道检测到所述缺陷消失之后,在第二缺陷处理时间内继续保持所述保护通道产生的所述缺陷,以使所述当前节点的保护通道不早于工作通道消失所述缺陷。Based on the above embodiment, the processing module 1002 is configured to continue to maintain the defects generated by the protection channel during the second defect processing time after the protection channel of the current node detects that the defect disappears earlier than the working channel, So that the protection channel of the current node disappears the defect no earlier than the working channel.
在上述实施例的基础上,处理模块1002设置为在当前节点的工作通道早于保护通道检测到缺陷之后,在第一缺陷处理时间内忽略所述工作通道中产生的所述缺陷;以及在当前节点的保护通道早于工作通道检测到所述缺陷消失之后,在第二缺陷处理时间内继续保持所述保护通道产生的所述缺陷,以使所述当前节点的工作通道不早于保护通道产生所述缺陷,所述当前节点的保护通道不早 于工作通道消失所述缺陷。Based on the above embodiment, the processing module 1002 is configured to ignore the defect generated in the working channel within the first defect processing time after the working channel of the current node detects a defect earlier than the protection channel; and in the current node After the protection channel of the node detects that the defect disappears earlier than the working channel, it continues to maintain the defect generated by the protection channel during the second defect processing time, so that the working channel of the current node does not occur earlier than the protection channel. The defect is that the protection channel of the current node is not early The said defects disappear in the working channel.
在上述实施例的基础上,所述第一缺陷处理时间基于传输时延特性确定。Based on the above embodiment, the first defect processing time is determined based on transmission delay characteristics.
在上述实施例的基础上,所述第二缺陷处理时间基于传输时延特性及预设冗余量确定。Based on the above embodiment, the second defect processing time is determined based on the transmission delay characteristics and the preset redundancy amount.
在上述实施例的基础上,所述缺陷处理时间通过下述过程进行配置:Based on the above embodiment, the defect processing time is configured through the following process:
展示通道配置界面;其中,所述通道配置界面包括工作通道对应的第一配置项以及保护通道对应的第二配置项,所述第一配置项用于配置针对工作通道进行处理的缺陷处理时间,所述第二配置项用于配置针对保护通道处理的缺陷处理时间;通过所述通道配置界面配置所述工作通道和保护通道分别对应的缺陷处理时间。Display the channel configuration interface; wherein the channel configuration interface includes a first configuration item corresponding to the working channel and a second configuration item corresponding to the protection channel, and the first configuration item is used to configure the defect processing time for processing the working channel, The second configuration item is used to configure the defect processing time for protection channel processing; configure the defect processing time corresponding to the working channel and the protection channel through the channel configuration interface.
在一个实施例中,提供了一种当前节点,其内部结构图可以如图11所示。该当前节点包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该当前节点的处理器设置为提供计算和控制能力。该当前节点的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该当前节点的数据库用于存储网络保护过程中产生的数据。该当前节点的网络接口设置为与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种网络保护方法。In one embodiment, a current node is provided, and its internal structure diagram can be shown in Figure 11. The current node includes a processor, memory, network interface, and database connected through a system bus. Wherein, the processor of the current node is configured to provide computing and control capabilities. The memory of the current node includes non-volatile storage media and internal memory. The non-volatile storage medium stores operating systems, computer programs and databases. This internal memory provides an environment for the execution of operating systems and computer programs in non-volatile storage media. The database of the current node is used to store data generated during the network protection process. The network interface of the current node is set to communicate with an external terminal through a network connection. The computer program, when executed by the processor, implements a network protection method.
图11中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的当前节点的限定,当前节点可以包括比图中所示更多或更少的部件,或者组合一些部件,或者具有不同的部件布置。The structure shown in Figure 11 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the current node on which the solution of the present application is applied. The current node may include more or more than those shown in the figure. Have fewer parts, or combine some parts, or have different parts arrangements.
在一个实施例中,提供了一种网络节点,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现以下步骤:In one embodiment, a network node is provided, including a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, it implements the following steps:
当前节点获取工作通道和保护通道分别对应的缺陷处理时间;根据所述缺陷处理时间处理对应通道中的缺陷,以使所述当前节点的工作通道不早于保护通道产生所述缺陷,所述当前节点的保护通道不早于工作通道消失所述缺陷。The current node obtains the defect processing time corresponding to the working channel and the protection channel respectively; processes the defects in the corresponding channel according to the defect processing time, so that the working channel of the current node does not generate the defect earlier than the protection channel, and the current node The node's protection channel disappears from the defect no earlier than the working channel.
在一个实施例中,提供了一种如图1所示的网络保护系统,该系统包括当前节点101和位于所述当前节点101之前的至少两个节点102,所述当前节点101与至少两个节点102中的最后节点通过工作通道和保护通道相连;所述当前节点101设置为获取工作通道和保护通道分别对应的缺陷处理时间;所述当前节点101还设置为根据所述缺陷处理时间处理对应通道中的缺陷,以使所述当前节点101的工作通道不早于保护通道产生所述缺陷,所述当前节点101的保护通道不早于工作通道消失所述缺陷。 In one embodiment, a network protection system as shown in Figure 1 is provided. The system includes a current node 101 and at least two nodes 102 located before the current node 101. The current node 101 is connected to at least two nodes 102. The last node in the node 102 is connected through the working channel and the protection channel; the current node 101 is configured to obtain the defect processing time corresponding to the working channel and the protection channel respectively; the current node 101 is also configured to process the corresponding defect processing time according to the defect processing time. Defects in the channel, so that the working channel of the current node 101 does not produce the defect earlier than the protection channel, and the protection channel of the current node 101 disappears the defect not earlier than the working channel.
在一个实施例中,提供了一种存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现以下:In one embodiment, a storage medium is provided, the storage medium stores a computer program, and when the computer program is executed by a processor, the following is achieved:
当前节点获取工作通道和保护通道分别对应的缺陷处理时间;根据所述缺陷处理时间处理对应通道中的缺陷,以使所述当前节点的工作通道不早于保护通道产生所述缺陷,所述当前节点的保护通道不早于工作通道消失所述缺陷。The current node obtains the defect processing time corresponding to the working channel and the protection channel respectively; processes the defects in the corresponding channel according to the defect processing time, so that the working channel of the current node does not generate the defect earlier than the protection channel, and the current node The node's protection channel disappears from the defect no earlier than the working channel.
上述实施例中提供的网络保护装置、节点、系统以及存储介质可执行本申请任意实施例所提供的网络保护方法,具备执行该方法相应的功能模块和有益效果。未在上述实施例中详尽描述的技术细节,可参见本申请任意实施例所提供的网络保护方法。The network protection devices, nodes, systems and storage media provided in the above embodiments can execute the network protection method provided by any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. For technical details that are not described in detail in the above embodiments, please refer to the network protection method provided by any embodiment of this application.
以上所述,仅为本申请的示例性实施例而已。The above are only exemplary embodiments of the present application.
一般来说,本申请的多种实施例可以在硬件或专用电路、软件、逻辑或其任何组合中实现。例如,一些方面可以被实现在硬件中,而其它方面可以被实现在可以被控制器、微处理器或其它计算装置执行的固件或软件中,尽管本申请不限于此。Generally speaking, the various embodiments of the present application may be implemented in hardware or special purpose circuitry, software, logic, or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor, or other computing device, although the application is not limited thereto.
本申请的实施例可以通过移动装置的数据处理器执行计算机程序指令来实现,例如在处理器实体中,或者通过硬件,或者通过软件和硬件的组合。计算机程序指令可以是汇编指令、指令集架构(Instrucion Set Architecture,ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码。Embodiments of the present application may be implemented by a data processor of the mobile device executing computer program instructions, for example in a processor entity, or by hardware, or by a combination of software and hardware. Computer program instructions may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or written in any combination of one or more programming languages source code or object code.
本申请附图中的任何逻辑流程的框图可以表示程序步骤,或者可以表示相互连接的逻辑电路、模块和功能,或者可以表示程序步骤与逻辑电路、模块和功能的组合。计算机程序可以存储在存储器上。存储器可以具有任何适合于本地技术环境的类型并且可以使用任何适合的数据存储技术实现,例如但不限于只读存储器(Read-Only Memory,ROM)、随机访问存储器(Random Access Memory,RAM)、光存储器装置和系统(数码多功能光碟(Digital Video Disc,DVD)或光盘(Compact Disc,CD))等。计算机可读介质可以包括非瞬时性存储介质。数据处理器可以是任何适合于本地技术环境的类型,例如但不限于通用计算机、专用计算机、微处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑器件(Field Programmable Gate Array,FGPA)以及基于多核处理器架构的处理器。 Any block diagram of a logic flow in the figures of this application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions. Computer programs can be stored on memory. The memory may be of any type suitable for the local technical environment and may be implemented using any suitable data storage technology, such as but not limited to Read-Only Memory (ROM), Random Access Memory (RAM), optical Storage devices and systems (Digital Video Disc (DVD) or Compact Disc (CD)), etc. Computer-readable media may include non-transitory storage media. The data processor can be any type suitable for the local technical environment, such as but not limited to a general-purpose computer, a special-purpose computer, a microprocessor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC) ), programmable logic devices (Field Programmable Gate Array, FGPA) and processors based on multi-core processor architecture.

Claims (11)

  1. 一种网络保护方法,应用于当前节点,所述当前节点之前包括至少两个节点,所述当前节点与所述至少两个节点中的最后节点通过工作通道和保护通道相连,所述方法包括:A network protection method, applied to a current node, which includes at least two nodes before it, and the current node is connected to the last node among the at least two nodes through a working channel and a protection channel, the method includes:
    所述当前节点获取所述工作通道和所述保护通道分别对应的缺陷处理时间;The current node obtains the defect processing time corresponding to the working channel and the protection channel respectively;
    根据所述缺陷处理时间处理对应通道中的缺陷,以使所述当前节点的所述工作通道不早于所述保护通道产生所述缺陷,所述当前节点的所述保护通道不早于所述工作通道消失所述缺陷。The defects in the corresponding channels are processed according to the defect processing time, so that the working channel of the current node does not generate the defect earlier than the protection channel, and the protection channel of the current node does not generate the defect earlier than the protection channel. The working channel disappears the said defects.
  2. 根据权利要求1所述的方法,其中,所述根据所述缺陷处理时间处理对应通道中的缺陷,以使所述当前节点的所述工作通道不早于所述保护通道产生所述缺陷,包括:The method according to claim 1, wherein processing defects in corresponding channels according to the defect processing time so that the working channel of the current node does not generate the defect earlier than the protection channel includes: :
    在所述当前节点的所述工作通道早于所述保护通道检测到缺陷之后,在第一缺陷处理时间内忽略所述工作通道中产生的所述缺陷,以使所述当前节点的所述工作通道不早于所述保护通道产生所述缺陷。After the working channel of the current node detects a defect earlier than the protection channel, ignore the defect generated in the working channel within the first defect processing time, so that the working channel of the current node The channel does not produce the defect earlier than the guard channel.
  3. 根据权利要求1所述的方法,其中,所述根据所述缺陷处理时间处理对应通道中的缺陷,以使所述当前节点的所述保护通道不早于所述工作通道消失所述缺陷,包括:The method according to claim 1, wherein the defect in the corresponding channel is processed according to the defect processing time so that the protection channel of the current node disappears the defect no earlier than the working channel, including :
    在所述当前节点的所述保护通道早于所述工作通道检测到所述缺陷消失之后,在第二缺陷处理时间内继续保持所述保护通道产生的所述缺陷,以使所述所述当前节点的所述保护通道不早于所述工作通道消失所述缺陷。After the protection channel of the current node detects that the defect disappears earlier than the working channel, continue to maintain the defect generated by the protection channel during the second defect processing time, so that the current node The protection channel of the node disappears the defect no earlier than the working channel.
  4. 根据权利要求1所述的方法,其中,所述根据所述缺陷处理时间处理对应通道中的缺陷,以使所述当前节点的所述工作通道不早于所述保护通道产生所述缺陷,所述当前节点的所述保护通道不早于所述工作通道消失所述缺陷,包括:The method according to claim 1, wherein the defect in the corresponding channel is processed according to the defect processing time so that the working channel of the current node does not generate the defect earlier than the protection channel, so The protection channel of the current node disappears the defect no earlier than the working channel, including:
    在所述当前节点的所述工作通道早于所述保护通道检测到缺陷之后,在第一缺陷处理时间内忽略所述工作通道中产生的所述缺陷;以及在所述当前节点的所述保护通道早于所述工作通道检测到所述缺陷消失之后,在第二缺陷处理时间内继续保持所述保护通道产生的所述缺陷,以使所述当前节点的所述工作通道不早于所述保护通道产生所述缺陷,所述当前节点的所述保护通道不早于工作通道消失所述缺陷。After the working channel of the current node detects a defect earlier than the protection channel, ignore the defect generated in the working channel within the first defect processing time; and the protection of the current node After the channel detects that the defect disappears earlier than the working channel, the defect generated by the protection channel continues to be maintained during the second defect processing time, so that the working channel of the current node is not earlier than the The protection channel generates the defect, and the protection channel of the current node disappears the defect no earlier than the working channel.
  5. 根据权利要求2或4所述的方法,其中,所述第一缺陷处理时间基于传输时延特性确定。The method according to claim 2 or 4, wherein the first defect processing time is determined based on transmission delay characteristics.
  6. 根据权利要求3或4所述的方法,其中,所述第二缺陷处理时间基于传 输时延特性及预设冗余量确定。The method of claim 3 or 4, wherein the second defect processing time is based on transmission The transmission delay characteristics and preset redundancy are determined.
  7. 根据权利要求1所述的方法,其中,所述缺陷处理时间通过下述过程进行配置:The method according to claim 1, wherein the defect processing time is configured through the following process:
    展示通道配置界面;其中,所述通道配置界面包括第一配置项以及第二配置项,所述第一配置项用于配置针对所述工作通道进行处理的缺陷处理时间,所述第二配置项用于配置针对所述保护通道处理的缺陷处理时间;Display a channel configuration interface; wherein the channel configuration interface includes a first configuration item and a second configuration item. The first configuration item is used to configure the defect processing time for processing the working channel, and the second configuration item Used to configure the defect processing time for the protection channel processing;
    通过所述通道配置界面配置所述工作通道和所述保护通道分别对应的缺陷处理时间。The defect processing time corresponding to the working channel and the protection channel is configured through the channel configuration interface.
  8. 一种网络保护装置,集成于当前节点,所述当前节点之前包括至少两个节点,所述当前节点与所述至少两个节点中的最后节点通过工作通道和保护通道相连,所述装置包括:A network protection device integrated in a current node, which includes at least two nodes before the current node. The current node is connected to the last node among the at least two nodes through a working channel and a protection channel. The device includes:
    获取模块,设置为获取所述工作通道和所述保护通道分别对应的缺陷处理时间;An acquisition module configured to acquire the defect processing time corresponding to the working channel and the protection channel respectively;
    处理模块,设置为根据所述缺陷处理时间处理对应通道中的缺陷,以使所述当前节点的所述工作通道不早于所述保护通道产生所述缺陷,所述当前节点的所述保护通道不早于所述工作通道消失所述缺陷。A processing module configured to process defects in the corresponding channel according to the defect processing time, so that the working channel of the current node does not generate the defect earlier than the protection channel, and the protection channel of the current node The defect disappears no earlier than the working channel.
  9. 一种网络节点,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现权利要求1-7中任一项所述方法。A network node includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the method of any one of claims 1-7 is implemented.
  10. 一种网络保护系统,包括当前节点和位于所述当前节点之前的至少两个节点,所述当前节点与所述至少两个节点中的最后节点通过工作通道和保护通道相连;A network protection system includes a current node and at least two nodes located before the current node, and the current node is connected to the last node among the at least two nodes through a working channel and a protection channel;
    所述当前节点设置为获取所述工作通道和所述保护通道分别对应的缺陷处理时间;The current node is configured to obtain the defect processing time corresponding to the working channel and the protection channel respectively;
    所述当前节点还设置为根据所述缺陷处理时间处理对应通道中的缺陷,以使所述当前节点的所述工作通道不早于所述保护通道产生所述缺陷,所述当前节点的所述保护通道不早于所述工作通道消失所述缺陷。The current node is also configured to process defects in the corresponding channel according to the defect processing time, so that the working channel of the current node does not generate the defect earlier than the protection channel, and the defect of the current node is The guard channel disappears the defect no earlier than the working channel.
  11. 一种存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-7中任一项所述方法。 A storage medium, the storage medium stores a computer program, and when the computer program is executed by a processor, the method of any one of claims 1-7 is implemented.
PCT/CN2023/077281 2022-06-30 2023-02-21 Network protection method and apparatus, and node, system and storage medium WO2024001228A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210767961.X 2022-06-30
CN202210767961.XA CN117376098A (en) 2022-06-30 2022-06-30 Network protection method, device, node, system and storage medium

Publications (1)

Publication Number Publication Date
WO2024001228A1 true WO2024001228A1 (en) 2024-01-04

Family

ID=89383896

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/077281 WO2024001228A1 (en) 2022-06-30 2023-02-21 Network protection method and apparatus, and node, system and storage medium

Country Status (2)

Country Link
CN (1) CN117376098A (en)
WO (1) WO2024001228A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101374070A (en) * 2007-08-23 2009-02-25 中国移动通信集团公司 Multi-section cascaded transmission network protection method, system and protection control device
CN101610166A (en) * 2008-06-20 2009-12-23 华为技术有限公司 A kind of intermediate node, cascade protection system and cascade protection method
CN104025476B (en) * 2012-12-04 2016-10-05 华为技术有限公司 Optical transport network controls processing method and the protection device of pretection switch scope
US20170366255A1 (en) * 2016-06-17 2017-12-21 Ciena Corporation Systems and methods for path protection switching due to client protection switching

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101374070A (en) * 2007-08-23 2009-02-25 中国移动通信集团公司 Multi-section cascaded transmission network protection method, system and protection control device
CN101610166A (en) * 2008-06-20 2009-12-23 华为技术有限公司 A kind of intermediate node, cascade protection system and cascade protection method
CN104025476B (en) * 2012-12-04 2016-10-05 华为技术有限公司 Optical transport network controls processing method and the protection device of pretection switch scope
US20170366255A1 (en) * 2016-06-17 2017-12-21 Ciena Corporation Systems and methods for path protection switching due to client protection switching

Also Published As

Publication number Publication date
CN117376098A (en) 2024-01-09

Similar Documents

Publication Publication Date Title
US11924024B2 (en) Switching method and apparatus, device, and storage medium
WO2016086582A1 (en) Signal detection method and device
JPH0529171B2 (en)
WO2024001228A1 (en) Network protection method and apparatus, and node, system and storage medium
WO2022217786A1 (en) Cross-network communicaton method, apparatus, and system for multi-bus network, and storage medium
JP3547215B2 (en) Transmission fault handling device
CN108388228B (en) Synchronous debugging method and device for multi-channel embedded control system
CN110545198B (en) ERPS loop breaking method and master node
US6526020B1 (en) Ring network system, protection method therefor
US20230281092A1 (en) Glitch suppression apparatus and method
US20230096052A1 (en) Alarm Processing Method and Apparatus
CN115021803B (en) Optical channel protection method, device and system
CN113037421B (en) Method, communication device, communication system, and storage medium for clock synchronization
CN108616461B (en) Policy switching method and device
CN101902369A (en) Fault location method and device for backplane crossover system
CN115459838A (en) Protection method, device, equipment and storage medium for optical transmission network
EP4482109A1 (en) Dual-homed protection method, device, and computer readable medium
EP4361817A1 (en) 2*2oo2 security system based on cloud platform
KR100792207B1 (en) Multilayer Recovery Apparatus and Method Applied LCAS Adaptively
JP4559497B2 (en) Function distributed packet transfer system and control method thereof
US8762597B2 (en) Method and apparatus for switching the main/standby single board
CN107070763A (en) One kind processing nonsynchronous method and system of dual CAN bus sequential
CN103684834A (en) Single board switching method and device
JPH02216931A (en) Fault information reporting system
WO2024217072A1 (en) Network state monitoring method, electronic device, and computer readable medium

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: 23829421

Country of ref document: EP

Kind code of ref document: A1