Line protection method and system, terminal equipment and storage medium
By monitoring wavelength power abnormalities in the optical communication system and switching channels, the optical protection system fails to respond in a timely manner to the service failure caused by wavelength failure, and the service transmission stability in the case of failure is achieved.
Patent Information
- Application Number
- CN202310797588.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2043-06-30
AI Technical Summary
In an optical communication system, if only one or several wavelengths of the wavelength service fails in the upper road, the protection switching function of the light protection and switching unit may not be triggered, resulting in service failure.
The monitoring module monitors the wavelength and power abnormality of the target line channel, generates optical alarm information, and when receiving the service alarm information, switches the line channel from the first channel to the second channel, and continuously blocks the relevant alarm information within the preset time period. , to maintain service transmission and ensure that the channel switching state is maintained when the wavelength power is abnormal.
It effectively avoids business failure, ensures the stability of the line channel through shielding and monitoring within the preset time, prevents the switch back to the original channel when the alarm is not resolved, and ensures the normality of service transmission.
Smart Images

Figure CN119232249A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of optical communication technology, and specifically relates to a line protection method, system, terminal equipment and storage medium. Background Art
[0002] Reconfigurable Optical Add-Drop Multiplexer (ROADM) is a device or equipment used in dense wavelength division multiplexing (DWDM) system, which can dynamically add or drop service wavelengths through remote reconfiguration. It consists of wavelength-independent, direction-independent, and contention-independent (Colorless, Directionless, Contentionless, CDC) unit, optical protection and switching unit, optical amplification unit and service processing unit.
[0003] Since the CDC unit has no filtering function and the optical protection and switching unit does not have the function of monitoring wavelength power, if only one or several wavelength services in the upstream channel fail, it may not cause a drastic change in the optical power of the downstream port or the input port of the optical protection and switching unit, and will not trigger the protection switching function of the optical protection and switching unit, resulting in failure of the corresponding service. Summary of the invention
[0004] The present application aims to provide a line protection method, system, terminal equipment and storage medium, which at least solve the problem in the related art that only one or several wavelength services in the uplink fail, which will not trigger the protection switching function of the optical protection and switching unit, resulting in the failure of the corresponding service.
[0005] In a first aspect, an embodiment of the present application provides a line protection method, including:
[0006] In response to the service alarm information, the line channel is switched from the first channel to the second channel, and the alarm information related to the service is continuously shielded within a first preset time period;
[0007] When optical alarm information is received within the first preset time period, service transmission through the second channel is maintained, and the optical alarm information is generated when power of any wavelength in the first channel is abnormal.
[0008] In a second aspect, an embodiment of the present application provides a line protection system, including:
[0009] A monitoring module, used to monitor the power of the wavelength of the target line channel and generate optical alarm information when the power of any wavelength in the target line channel is abnormal;
[0010] A service processing module, used to generate service alarm information and report the service alarm information when a service failure occurs;
[0011] An optical protection and switching module is used to switch the line channel from the first channel to the second channel in response to the service alarm information, and continuously shield the alarm information related to the service within a first preset time period; and is used to maintain service transmission through the second channel when the optical alarm information is received within the first preset time period, and the optical alarm information is used to indicate that the power of any wavelength in the first channel is abnormal.
[0012] In a third aspect, an embodiment of the present application provides a terminal device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be executed on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0013] In a fourth aspect, a storage medium is provided, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0014] In a fifth aspect, a chip is provided, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the method described in the first aspect.
[0015] In a sixth aspect, a computer program / program product is provided, wherein the computer program / program product is stored in a storage medium and is executed by at least one processor to implement the steps of the method described in the first aspect.
[0016] In an embodiment of the present application, first, in response to the service alarm information, the line channel is switched from the first channel to the second channel, and the alarm information related to the service is continuously shielded within the first preset time period, and then, when the optical alarm information is received within the first preset time period, the service transmission is maintained through the second channel, and the optical alarm information is generated when the power of any wavelength in the first channel is abnormal. The embodiment of the present application triggers the switching of the line channel through the service alarm information, so that the protection switching control can be within the preset time, and then the shielding time is set to avoid the line channel switching back to the first channel without resolving the corresponding alarm. Finally, by monitoring the wavelength power in the channel, it is further determined whether the service is normal, and the channel switching state is maintained when the wavelength power is abnormal, so as to avoid the occurrence of service failure. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 is a flow chart of a line protection method provided by an embodiment of the present application;
[0018] Figure 2 It is a flow chart of a line protection method (switching) provided by an embodiment of the present application;
[0019] Figure 3 It is a flowchart of a line protection method (switching back) provided by an embodiment of the present application;
[0020] Figure 4 It is a schematic diagram of the structure of a terminal device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0021] The embodiments of the present application will be described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and should not be construed as limitations on the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0022] The term "first" or "second" in the specification and claims of this application may include one or more of the features explicitly or implicitly. In the description of this application, unless otherwise specified, "plurality" means two or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally means that the objects connected before and after are in an "or" relationship.
[0023] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0024] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0025] Combine the following Figures 1 to 4 , a line protection method, system, terminal device and storage medium provided by an embodiment of the present application are described in detail through specific embodiments and their application scenarios.
[0026] like Figure 1 As shown, the present application embodiment provides a flow chart of a line protection method. Figure 1 As shown, the line protection method may include the contents shown in S101 to S102.
[0027] In S101, in response to the service alarm information, the line channel is switched from the first channel to the second channel, and the alarm information related to the service is continuously shielded within a first preset time period.
[0028] Among them, the service alarm information is the alarm information monitored by the service processing module, and then the service alarm information is reported to the optical protection and switching module. After receiving the service alarm information, the optical protection and switching module can switch the line channel from the first channel to the second channel to ensure the normal sending and receiving of the service.
[0029] After the first channel is switched to the second channel, the alarm information related to the service will disappear, and the single wavelength abnormality cannot be perceived by the service, which will cause the optical protection and switching module to switch the line channel from the second channel back to the first channel. Therefore, it is necessary to continuously shield the alarm information related to the service within a first preset time period. The shielding of the first preset time period is to detect whether there is a single wavelength abnormality in the faulty channel (first channel) during this period.
[0030] In this embodiment, the line channel switching is triggered by the service alarm information, so that the protection switching can be controlled within the preset time, and the shielding time is set to avoid the line channel switching back to the first channel when the corresponding alarm is not resolved.
[0031] In S102, when the optical alarm information is received within the first preset time period, the service transmission through the second channel is maintained.
[0032] The optical alarm information is generated by the monitoring module when the power of any wavelength in the first channel is abnormal.
[0033] It is worth noting that the monitoring module can monitor the power of all wavelengths in the channel. When the power of one or several wavelengths is abnormal, the monitoring module can detect it and generate an optical alarm message and send it to the optical protection and switching module to enable the optical protection and switching module to maintain the switching state.
[0034] In the embodiment of the present application, firstly, in response to the service alarm information, the line channel is switched from the first channel to the second channel, and the alarm information related to the service is continuously shielded within the first preset time length, and then, when the optical alarm information is received within the first preset time length, the service transmission is maintained through the second channel, and the optical alarm information is generated when the power of any wavelength in the first channel is abnormal. The embodiment of the present application triggers the switching of the line channel through the service alarm information, so that the protection switching control can be within the preset time, and then the shielding time is set to avoid the line channel switching back to the first channel without resolving the corresponding alarm. Finally, by monitoring the wavelength power in the channel, it is further determined whether the service is normal, and the channel switching state is maintained when the wavelength power is abnormal, so as to avoid the occurrence of service failure.
[0035] In a possible implementation of the present application, continuously shielding service-related alarm information within a first preset duration may include: starting a first timer, the timing duration of the first timer being the first preset duration; and continuously shielding service-related alarm information before the timing of the first timer expires.
[0036] It is worth noting that after the line channel is switched from the first channel to the second channel, the service alarm information of the service processing module will disappear, and the service processing module will generate a service alarm disappearance information and report it to the optical protection and switching module. However, at this time, the service of the first channel has not yet returned to normal. If the optical protection and switching module receives the service alarm disappearance information, the line channel will be switched back. In order to avoid the line channel being switched back, a timer is set in this embodiment.
[0037] In this embodiment, a shielding timer, i.e., the first timer, is set to shield various types of alarm information reported by the service processing module, such as service alarm information, service alarm disappearance information, etc. During the timing duration of the timer, no information reported by the service processing module is processed, so that the optical protection and switching module maintains the switching state, thereby ensuring the normal transmission of the service.
[0038] like Figure 2 FIG. 1 is a flow chart of a line protection method (switching) provided by an embodiment of the present application. The detailed flow chart is as follows.
[0039] When the optical protection and switching module receives the service alarm information reported by the service processing module, the line channel is switched from the first channel to the second channel, and the channel state of the first channel can be adjusted to the service alarm reporting state (the initial state of the first channel is the no-alarm state). After the first channel is switched to the second channel, the service-related alarm information will disappear, and the single wavelength abnormality cannot be perceived by the service processing module, which will cause the optical protection and switching module to switch the line channel from the second channel back to the first channel. Therefore, it is necessary to continuously shield the service-related alarm information within a first preset time period. The shielding of the first preset time period is to detect whether there is a single wavelength abnormality in the faulty channel (first channel) during this period. Specifically, the first timer can be started to continuously shield the service-related alarm information within the first preset time period, that is, during this shielding period, the service-related alarm information can be continuously shielded. However, during this period, the optical alarm information generated when the power of any wavelength in the first channel is abnormal can be received from the monitoring module. If the above optical alarm information is received within the first preset time, the service transmission through the second channel is maintained. At this time, the state of the first channel can be adjusted to the service alarm reporting state and the optical alarm reporting state. After the first preset time, the shielding is canceled, that is, the first timer is turned off, and the service processing module is queried for service-related alarm information, and the target operation of the line channel is performed according to the service-related alarm information. For example, when the service-related alarm information is service alarm information, the service transmission through the second channel is maintained. For another example, when the service-related alarm information is service alarm disappearance information and the optical alarm disappearance information is received, after waiting for the second preset time, the service-related alarm information is continuously shielded within the third preset time. The optical alarm disappearance information is generated when the power of each wavelength in the first channel is not abnormal; within the third preset time, the line channel is switched back from the second channel to the first channel.
[0040] In a possible implementation manner of the present application, the line protection method may further include: after a first preset time period, querying alarm information related to the service; and performing a target operation on the line channel according to the alarm information related to the service.
[0041] That is, after the first timer expires, the optical protection and switching module queries the service processing module for service-related alarm information, and then performs a target operation on the line channel according to the service-related alarm information to determine whether to switch the line channel back.
[0042] Optionally, based on the alarm information related to the service, performing the target operation on the line channel may include: when the alarm information related to the service is service alarm information, maintaining service transmission through the second channel; when the alarm information related to the service is service alarm disappearance information and optical alarm disappearance information is received, after waiting for a second preset time, continuously shielding the alarm information related to the service for a third preset time, and the optical alarm disappearance information is generated when there is no abnormality in the power of each wavelength in the first channel; switching the line channel back from the second channel to the first channel within the third preset time.
[0043] That is to say, if the alarm information related to the service is the service alarm information, it means that the wavelength power in the first channel is still abnormal, and the service needs to continue to be transmitted through the second channel. If the alarm information related to the service is the service alarm disappearance information and the optical alarm disappearance information is received, it means that the wavelength power in the first channel is not abnormal, then after waiting for the second preset time, the alarm information related to the service is continuously shielded within the third preset time, and the line channel is switched back from the second channel to the first channel within the third preset time.
[0044] It is worth noting that the waiting time for the second preset duration is the waiting time for the protection switching function of the optical protection and switching module, and is a configuration of the optical protection and switching module itself. If the service alarm information of the service processing module disappears, the service processing module will generate a service alarm disappearance information and report it to the optical protection and switching module. If the optical alarm disappearance information reported by the monitoring module is received again, it means that the service of the first channel has returned to normal. At this time, the optical protection and switching module will switch the line channel back. However, in order to avoid receiving other service alarm messages reported by the service processing module during the process of switching back the line channel, which will cause the logic confusion of the optical protection and switching module, this embodiment continuously shields the alarm information related to the service within the third preset duration, and switches back the line channel within the third preset duration to ensure that the line channel is smoothly switched back.
[0045] In a possible implementation of the present application, continuously shielding service-related alarm information within a third preset duration may include: starting a second timer, the timing duration of the second timer being the third preset duration; and continuously shielding service-related alarm information before the timing of the second timer expires.
[0046] In this embodiment, a shielding timer, i.e., a second timer, is set to shield various types of alarm information reported by the service processing module, such as service alarm information. During the timing duration of the timer, no information reported by the service processing module is processed, so that the optical protection and switching module can switch the line channel from the second channel back to the first channel to ensure the normal transmission of the service.
[0047] In a possible implementation of the present application, the line protection method may further include: after a third preset time period, querying alarm information related to the service; when the alarm information related to the service is service alarm message information, maintaining service transmission through the first channel.
[0048] That is to say, after the timing of the second timer ends, the optical protection and switching module will query the service processing module for service-related alarm information. If the queried service-related alarm information is service alarm message information, it means that the first channel can transmit services normally and service transmission can continue to be carried out through the first channel.
[0049] like Figure 3 FIG. 1 is a flow chart of a line protection method (switching back) provided in one embodiment of the present application. The detailed flow chart is as follows.
[0050] When the optical protection and switching module receives the service alarm disappearance information reported by the service processing module and receives the optical alarm disappearance information reported by the monitoring module, after waiting for the protection time, that is, the second preset time length, the second timer is started, and the alarm information related to the service is continuously shielded within the third preset time length, that is, during this shielding period, the alarm information related to the service can be continuously shielded. Within the third preset time length, the line channel is switched back from the second channel to the first channel. After the third preset time length, the optical protection and switching module cancels the alarm shielding and queries the alarm information related to the service. If the service processing module reports the service alarm disappearance information, the service transmission is maintained through the first channel, and the state of the first channel can be adjusted to a no-alarm state at this time.
[0051] In a possible implementation manner of the present application, the line protection method may further include: adjusting the state of the first channel, and the adjustment includes the following.
[0052] In response to the service alarm information, the channel state of the first channel is adjusted to a service alarm reporting state.
[0053] In response to the optical alarm information, the channel state of the first channel is adjusted to an optical alarm reporting state.
[0054] In response to the service alarm disappearance information and the optical alarm message information, the channel state of the first channel is adjusted to a no-alarm state.
[0055] If both the service alarm information and the optical alarm information are received, the channel state of the first channel is adjusted to the service alarm reporting state and the optical alarm reporting state.
[0056] In this embodiment, the channel status of the first channel can be marked accordingly according to the corresponding alarm status, so that the optical protection and switching module can decide whether to switch the line channel from the first channel to the second channel, or switch from the second channel back to the first channel, or maintain the first channel for service transmission, or maintain the second channel for service transmission, according to the status of the first channel, to ensure that the service can be transmitted normally.
[0057] Correspondingly, when the line channel is the first channel and the state of the first channel is the service alarm reporting state and / or the optical alarm reporting state, the line channel is switched from the first channel to the second channel; when the line channel is the second channel and the state of the first channel is the service alarm reporting state and / or the optical alarm reporting state, the line channel is maintained as the second channel; when the line channel is the second channel and the state of the first channel is the no-alarm state, the line channel is switched back from the second channel to the first channel; when the line channel is the first channel and the state of the first channel is the no-alarm state, the line channel is maintained as the first channel.
[0058] The embodiment of the present application further provides a line protection system, which may include: an optical protection and switching module, a service processing module and a monitoring unit.
[0059] Among them, the monitoring module is used to monitor the power of the wavelength of the target line channel and generate optical alarm information when the power of any wavelength in the target line channel is abnormal; the service processing module is used to generate service alarm information and report the service alarm information when a service failure occurs; the optical protection and switching module is used to respond to the above-mentioned service alarm information, switch the line channel from the first channel to the second channel, and continuously shield the alarm information related to the service within a first preset time period; and when the optical alarm information is received within the first preset time period, maintain the service transmission through the second channel, and the optical alarm information is used to indicate that the power of any wavelength in the first channel is abnormal.
[0060] In an embodiment of the present application, a monitoring module is used to monitor the power of the wavelength of the target line channel and generate optical alarm information when the power of any wavelength in the target line channel is abnormal; a service processing module is used to generate service alarm information and report the service alarm information when a service failure occurs; an optical protection and switching module is used to switch the line channel from the first channel to the second channel in response to the above service alarm information, and continuously shield the alarm information related to the service within a first preset time; and is used to maintain service transmission through the second channel when the optical alarm information is received within the first preset time, and the optical alarm information is used to indicate that the power of any wavelength in the first channel is abnormal. The embodiment of the present application triggers the switching of the line channel through the service alarm information, so that the protection switching control can be within the preset time, and then the shielding time is set to avoid the line channel switching back to the first channel without solving the corresponding alarm. Finally, the wavelength power in the channel is monitored by the monitoring module to further determine whether the service is normal, and the channel switching state is maintained when the wavelength power is abnormal to avoid service failure.
[0061] In a possible implementation of the present application, the optical protection and switching module can be used to start a first timer, the timing duration of the first timer is a first preset duration; before the timing of the first timer ends, the alarm information related to the service is continuously shielded.
[0062] In a possible implementation of the present application, the optical protection and switching module may be used to query service-related alarm information after a first preset time period; and perform a target operation on the line channel according to the service-related alarm information.
[0063] In a possible implementation of the present application, the optical protection and switching module can be used to maintain service transmission through the second channel when the service-related alarm information is service alarm information; when the service-related alarm information is service alarm disappearance information and optical alarm disappearance information is received, after waiting for a second preset time, the service-related alarm information is continuously shielded for a third preset time, and the optical alarm disappearance information is generated when there is no abnormality in the power of each wavelength in the first channel; and the line channel is switched back from the second channel to the first channel within the third preset time.
[0064] In a possible implementation of the present application, the optical protection and switching module can be used to start a second timer, the timing duration of the second timer is a third preset duration; before the timing of the second timer ends, the alarm information related to the service is continuously shielded.
[0065] In a possible implementation of the present application, the optical protection and switching module can be used to query the alarm information related to the service after a third preset time period; when the alarm information related to the service is the service alarm disappearance information, maintain the service transmission through the first channel.
[0066] In a possible implementation of the present application, the optical protection and switching module can be used to adjust the channel status of the first channel to a business alarm reporting status in response to business alarm information; adjust the channel status of the first channel to an optical alarm reporting status in response to optical alarm information; and adjust the channel status of the first channel to a no alarm status in response to business alarm disappearance information and optical alarm disappearance information.
[0067] The line protection system provided by the embodiment of the application can achieve Figure 1-3 The various processes implemented in the method embodiment achieve the same technical effect and will not be described again here to avoid repetition.
[0068] Optional, such as Figure 4 As shown, an embodiment of the present application also provides a terminal device 400, including a processor 401, a memory 402, and a program or instruction stored in the memory 402 and executable on the processor 401. When the program or instruction is executed by the processor 401, each process of the above-mentioned line protection method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0069] The embodiment of the present application also provides a storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, each process of the line protection method embodiment provided in any of the above embodiments is implemented. And the same technical effect can be achieved, and to avoid repetition, it will not be repeated here.
[0070] The processor is the processor in the terminal device described in the above embodiment. The storage medium includes computer storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
[0071] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned line protection method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0072] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0073] The embodiment of the present application further provides a computer program / program product, which is stored in a storage medium. The computer program / program product is executed by at least one processor to implement the various processes of the above-mentioned line protection method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0074] The embodiment of the present application further provides a processing device, which is configured to execute the various processes of the above-mentioned line protection method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described here.
[0075] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0076] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0077] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A line protection method, characterized in that: include: In response to the service alarm information, the line channel is switched from the first channel to the second channel, and the alarm information related to the service is continuously shielded within a first preset time period; When optical alarm information is received within the first preset time period, service transmission through the second channel is maintained, and the optical alarm information is generated when power of any wavelength in the first channel is abnormal.
2. The line protection method according to claim 1, characterized in that: The continuously shielding the service-related alarm information within the first preset time period includes: Starting a first timer, wherein the timing duration of the first timer is the first preset duration; Before the first timer expires, the service-related alarm information is continuously shielded.
3. The line protection method according to claim 1, characterized in that: The method further comprises: After the first preset time period, querying the alarm information related to the service; According to the service-related alarm information, a target operation is performed on the line channel.
4. The line protection method according to claim 3, characterized in that: The performing a target operation on the line channel according to the alarm information related to the service includes: When the service-related alarm information is the service alarm information, maintaining service transmission through the second channel; When the service-related alarm information is service alarm disappearance information and optical alarm disappearance information is received, after waiting for a second preset time length, the service-related alarm information is continuously shielded for a third preset time length, and the optical alarm disappearance information is generated when no abnormality occurs in the power of each wavelength in the first channel; The line channel is switched back from the second channel to the first channel within the third preset time period.
5. The line protection method according to claim 4, characterized in that: The continuously shielding the service-related alarm information within the third preset time period includes: Starting a second timer, wherein the timing duration of the second timer is the third preset duration; Before the timing of the second timer expires, the service-related alarm information is continuously shielded.
6. The line protection method according to claim 4, characterized in that: The method further comprises: After the third preset time period, querying the service-related alarm information; In a case where the service-related alarm information is service alarm disappearance information, the service transmission through the first channel is maintained.
7. The line protection method according to claim 1, characterized in that: The method further includes: adjusting the channel state of the first channel, wherein the adjustment includes: In response to the service alarm information, adjusting the channel state of the first channel to a service alarm reporting state; In response to the optical alarm information, adjusting the channel state of the first channel to an optical alarm reporting state; In response to the service alarm disappearance information and the optical alarm disappearance information, the channel state of the first channel is adjusted to a no-alarm state.
8. A line protection system, characterized in that: include: A monitoring module, used to monitor the power of the wavelength of the target line channel and generate optical alarm information when the power of any wavelength in the target line channel is abnormal; A service processing module, used to generate service alarm information and report the service alarm information when a service failure occurs; An optical protection and switching module, configured to switch the line channel from the first channel to the second channel in response to the service alarm information, and continuously shield the alarm information related to the service within a first preset time period; And it is used to maintain service transmission through the second channel when the optical alarm information is received within the first preset time period, and the optical alarm information is used to indicate that the power of any wavelength in the first channel is abnormal.
9. A terminal device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the line protection method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores a program or an instruction, and when the program or the instruction is executed by the processor, the steps of the line protection method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Method for protection switching of optical network and device thereof
CN104065412A
Line protector for four-fiber bidirectional optical amplification section of WDM optical transmission system
CN1731228A
Optical fiber automatic switching device of dense wavelength division multiplexing system
CN202488457U
Service processing method and device
WO2017118425A1