CN110011819B - Method, device, equipment and system for generating SD (secure digital) alarm information - Google Patents

Method, device, equipment and system for generating SD (secure digital) alarm information Download PDF

Info

Publication number
CN110011819B
CN110011819B CN201810009069.9A CN201810009069A CN110011819B CN 110011819 B CN110011819 B CN 110011819B CN 201810009069 A CN201810009069 A CN 201810009069A CN 110011819 B CN110011819 B CN 110011819B
Authority
CN
China
Prior art keywords
message
alarm information
control end
working link
link
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201810009069.9A
Other languages
Chinese (zh)
Other versions
CN110011819A (en
Inventor
何道菊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201810009069.9A priority Critical patent/CN110011819B/en
Publication of CN110011819A publication Critical patent/CN110011819A/en
Application granted granted Critical
Publication of CN110011819B publication Critical patent/CN110011819B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • 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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data session or connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists

Abstract

The invention discloses a method for generating SD alarm information, which comprises the following steps: when the error rate of the messages on the port reaches a preset threshold, blocking specific messages passing through the port, wherein the specific messages comprise BFD detection messages; and generating SD alarm information and sending the SD alarm information to the control end, wherein the SD alarm information is used for indicating the control end to block the transmission of the specific message on the working link. The invention also discloses a device, equipment and a system for generating the SD warning information.

Description

Method, device, equipment and system for generating SD (secure digital) alarm information
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a system for generating Signal Degradation (SD) alarm information.
Background
With the trend of mobile communication becoming broadband and Internet Protocol (IP), a Multi-Service Transfer Platform (MSTP) based on Time Division Multiplexing (TDM) cannot meet the requirement of mobile backhaul in terms of capacity or technology, and it is imperative to build a novel packetized mobile backhaul network; in this context, an IP Radio Access Network (RAN) based on IP/Multi Protocol Label Switching (MPLS) networking becomes an important technology choice.
The IP RAN mainly bears related services such as wireless services, government and enterprise network services and the like, and the reliability of a telecommunication level of 50ms becomes a basic requirement in the industry; high reliability requirements of IP RAN are: the method comprises the steps of fault quick sensing, quick switching, quick recovery and forwarding architecture, and the technologies of Prefix Independent fusion (BGP-PIC) of a next-hop separation Border Gateway Protocol are realized.
The existing technologies utilized for IP RAN Fault Detection are mainly general Bidirectional end-to-end Detection technologies, such as Bidirectional Forwarding Detection (BFD), Connection Fault Management (CFM), and other Detection technologies; after a fault is detected on the working link, the control end can carry out on-off setting of the link and switch the working link into a protection link so as to meet the requirement of fault switching; however, when a link SD problem occurs in a certain span link in the device networking, but the control end does not detect SD alarm information on the entire working link, it is not enough to make the general bidirectional end-to-end detection method sense a fault scene, and it is not possible to perform fast switching on the link, and it is not possible to ensure that switching is completed within the millisecond level of telecommunications, thereby reducing reliability.
Disclosure of Invention
In view of this, embodiments of the present invention desirably provide a method, an apparatus, a device, and a system for generating SD alarm information, so as to ensure that switching is completed within millisecond level of telecommunications when a working link is switched to a protection link, improve protection switching efficiency and reliability, and reduce service loss time.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention provides a method for generating signal degradation SD alarm information, which comprises the following steps:
when the error rate of the messages on the port reaches a preset threshold, blocking specific messages passing through the port, wherein the specific messages comprise bidirectional forwarding BFD detection messages;
and generating SD (secure digital) alarm information after the specific message passing through the port is blocked, and sending the SD alarm information to a control end, wherein the SD alarm information is used for indicating the control end to block the transmission of the specific message on a working link.
In the foregoing solution, after the sending the SD alarm information to the control end, the method further includes:
when the transmission of the specific message on the working link is detected to be blocked, generating specific message alarm information;
and sending the specific message alarm information to the control end, wherein the specific message alarm information is used for indicating the control end to switch the working link into a protection link.
In the foregoing solution, after the sending the specific message alarm information to the control end, the method further includes:
when the transmission of the specific message on the working link is detected to be recovered to normal, generating normal notification information;
and sending the normal notification information to the control end, wherein the normal notification information is used for indicating the control end to switch the protection link into the working link.
In the above scheme, before the detecting that the bit error rate of the packet on the port reaches the preset threshold, the method further includes:
judging whether the flow value of the message in unit time on the working link is smaller than a preset threshold value or not;
and when the flow value of the message in unit time on the working link is smaller than the preset threshold value, adding a background flow message, and increasing the flow value of the message in unit time on the working link to the preset threshold value.
In the above scheme, before the detecting that the bit error rate of the packet on the port reaches the preset threshold, the method further includes:
receiving configuration information sent by the control terminal;
and configuring Label Switching Path (LSP) and hot standby HSB protection according to the configuration information.
The present invention also provides an apparatus for generating signal degradation SD alarm information, the apparatus comprising:
the device comprises a blocking module, a sending module and a receiving module, wherein the blocking module is used for blocking a specific message passing through a port when the error rate of the message on the port reaches a preset threshold, and the specific message comprises a bidirectional forwarding BFD detection message;
the first generation module is used for generating SD alarm information after a specific message passing through the port is blocked, and sending the SD alarm information to a control end, wherein the SD alarm information is used for indicating the control end to block the transmission of the specific message on a working link.
In the above scheme, the apparatus further comprises:
a second generating module, configured to generate specific message alarm information when the transmission of the specific message on the working link is detected to be blocked;
the second generating module is further configured to send the specific message alarm information to the control end, where the specific message alarm information is used to instruct the control end to switch the working link into a protection link.
In the above scheme, the apparatus further comprises:
a third generating module, configured to generate a normal notification message when it is detected that transmission of the specific packet on the working link is recovered to normal;
the third generating module is further configured to send the normal notification information to the control end, where the normal notification information is used to instruct the control end to switch the protection link to the working link.
In the above scheme, the apparatus further comprises:
the judging module is used for judging whether the flow value of the message in unit time on the working link is smaller than a preset threshold value or not;
and the adding module is used for adding a background flow message when the flow value of the message in unit time on the working link is smaller than the preset threshold value, and increasing the flow value of the message in unit time on the working link to the preset threshold value.
In the above scheme, the apparatus further comprises:
the receiving module is used for receiving the configuration information sent by the control terminal;
and the configuration module is used for configuring Label Switching Path (LSP) and hot standby HSB protection according to the configuration information.
The present invention also provides an apparatus for generating signal degradation SD alarm information, the apparatus comprising: the interface, the bus, the memory, and the processor, interface, memory and processor are connected through the bus, the memory is used for storing executable program, the processor is configured to run the executable program and realize the following steps:
when the error rate of the messages on the port reaches a preset threshold, blocking specific messages passing through the port, wherein the specific messages comprise bidirectional forwarding BFD detection messages;
and generating SD (secure digital) alarm information after the specific message passing through the port is blocked, and sending the SD alarm information to a control end, wherein the SD alarm information is used for indicating the control end to block the transmission of the specific message on a working link.
In the above solution, the processor is further configured to execute the executable program to implement the following steps:
when the transmission of the specific message on the working link is detected to be blocked, generating specific message alarm information;
and sending the specific message alarm information to the control end, wherein the specific message alarm information is used for indicating the control end to switch the working link into a protection link.
In the above solution, the processor is further configured to execute the executable program to implement the following steps:
when the transmission of the specific message on the working link is detected to be recovered to normal, generating normal notification information;
and sending the normal notification information to the control end, wherein the normal notification information is used for indicating the control end to switch the protection link into the working link.
In the above solution, the processor is further configured to execute the executable program to implement the following steps:
judging whether the flow value of the message in unit time on the working link is smaller than a preset threshold value or not;
and when the flow value of the message in unit time on the working link is smaller than the preset threshold value, adding a background flow message, and increasing the flow value of the message in unit time on the working link to the preset threshold value.
In the above solution, the processor is further configured to execute the executable program to implement the following steps:
receiving configuration information sent by the control terminal;
and configuring Label Switching Path (LSP) and hot standby HSB protection according to the configuration information.
The present invention also provides a system for generating signal degradation SD alarm information, the system comprising: the system comprises a working link, a protection link and a control end, wherein the working link and the protection link are composed of a plurality of devices for generating SD alarm information; wherein the content of the first and second substances,
the device for generating SD alarm information employs the device for generating signal degradation SD alarm information described above.
The present invention also provides a computer-readable storage medium storing a program executable by a processor to implement the step of generating signal deterioration SD warning information as described above.
According to the method, the device, the equipment and the system for generating the SD warning information, when the error rate of the message on the port reaches the preset threshold, the specific message passing through the port is blocked, wherein the specific message comprises a bidirectional forwarding BFD detection message; generating SD alarm information and sending the SD alarm information to a control end, wherein the SD alarm information is used for indicating the control end to block the transmission of a specific message on a working link, and after the transmission of the specific message is blocked, an alarm is detected by a general bidirectional end-to-end detection mode configured on the working link, so that the service is triggered to be rapidly switched; by utilizing the scheme, the control end can timely find the SD problem on the working link, so that when the SD problem occurs on a certain cross-section link, a general bidirectional end-to-end detection mode can timely sense a fault scene, the control end can quickly switch the link, the working link is switched into a protection link, the switching is guaranteed to be completed within the millisecond level of telecommunication, the protection switching efficiency and reliability are improved, and the service loss time is reduced.
Drawings
FIG. 1 is a flowchart of a first embodiment of a method for generating SD alarm information according to the present invention;
FIG. 2 is a flowchart of a second embodiment of a method for generating SD warning information according to the present invention;
FIG. 3 is a schematic view of a scenario of an embodiment of a method for generating SD warning information according to the present invention;
FIG. 4 is a schematic structural diagram of an embodiment of an apparatus for generating SD warning information according to the present invention;
FIG. 5 is a schematic structural diagram of an embodiment of an apparatus for generating SD warning information according to the present invention;
fig. 6 is a schematic structural diagram of a system for generating SD alarm information according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
Fig. 1 is a flowchart of a first embodiment of a method for generating SD alarm information according to the present invention, and as shown in fig. 1, the method for generating SD alarm information according to the present invention may be applied to a device (hereinafter referred to as a device) for generating SD alarm information, and the method may include:
step 101, when detecting that the error rate of the message on the port reaches a preset threshold, blocking the specific message passing through the port.
When the device detects that the error rate of the message passing through the port of the device reaches a preset threshold, the device blocks a specific message passing through the port, wherein the specific message comprises but is not limited to all messages except a network management message and a background flow message, or the specific message comprises but is not limited to a BFD detection message; the preset threshold may be set according to actual requirements, and is not limited herein.
The error rate of the message reaching the preset threshold can be understood as an SD overrun caused by SD, Cyclic Redundancy Check (CRC) problems and the like occurring on the link.
Step 102, SD alarm information is generated after a specific message passing through a port is blocked.
A device, after blocking a particular message passing through a port, may generate an SD alarm message indicating an SD problem at the device on the link.
And 103, sending SD alarm information to the control end.
The device sends SD alarm information to the control end; the SD alarm information is used for indicating the control end to block the transmission of a specific message on the working link; the specific Control end can block the transmission of a specific message on the working link through an Access Control List (ACL); wherein the working link is a link formed by connecting a plurality of identical devices in sequence.
After the transmission of a specific message on a working link is blocked, the control end can find the SD problem on the working link in time, so that when the SD problem occurs on a certain cross-section link, a general bidirectional end-to-end detection mode can sense a fault scene in time, and the control end can rapidly switch the link and switch the working link into a protection link.
In the method for generating SD alarm information provided in the embodiment of the present invention, when it is detected that the bit error rate of a message on a port reaches a preset threshold, a specific message passing through the port is blocked, where the specific message includes all messages except a network management message and a background flow message, or the specific message includes a bidirectional forwarding BFD detection message; generating SD alarm information and sending the SD alarm information to a control end, wherein the SD alarm information is used for indicating the control end to block the transmission of a specific message on a working link, and after the transmission of the specific message is blocked, an alarm is detected by a general bidirectional end-to-end detection mode configured on the working link, so that the service is triggered to be rapidly switched; by utilizing the scheme, the control end can timely find the SD problem on the working link, so that when the SD problem occurs on a certain cross-section link, a general bidirectional end-to-end detection mode can timely sense a fault scene, the control end can quickly switch the link, the working link is switched into a protection link, the switching is guaranteed to be completed within the millisecond level of telecommunication, the protection switching efficiency and reliability are improved, and the service loss time is reduced.
To further illustrate the object of the present invention, the above embodiments are further illustrated.
Fig. 2 is a flowchart of a second embodiment of the method for generating SD alarm information according to the present invention, in the embodiment of the present invention, a plurality of devices form a working link and a protection link, each device has the same function and function, as shown in fig. 2, the method may include the following steps:
step 201, each device receives configuration information sent by a control end.
Each device receives the configuration information sent by the control segment.
Step 202, each device configures label switched path LSP and hot standby HSB protection according to the configuration information.
Each device configures Label Switching Path (LSP) and Hot Standby (Hot-Standby, HSB) protection according to configuration information, and finally forms a working link and a protection link; each device can know the link where the device is located and the position of the device according to the configuration information.
Step 203, any device on the working link judges whether the flow value of the message in unit time on the working link is smaller than a preset threshold value.
Judging whether the flow value of the message in unit time on the working link is smaller than a preset threshold value by any device on the working link, and executing the step 204 if the flow value of the message in unit time is smaller than the preset threshold value; if the flow value of the message in the unit time is not less than the preset threshold, step 205 is executed.
The unit time and the preset threshold may be set according to actual requirements, and are not limited herein.
And step 204, adding a background flow message to any device on the working link, and increasing the flow value of the message in unit time on the working link to a preset threshold value.
Adding a background flow message to any device on the working link, and increasing the flow value of the message in unit time on the working link to a preset threshold value; therefore, the statistic value is enlarged, the special condition of the SD problem is reduced, and the task processing is more accurate.
After the flow value of the message per unit time on the working link is increased to the preset threshold, step 205 is executed.
Step 205, any device in the non-head-tail devices on the working link detects whether the error rate of the message on the port reaches a preset threshold.
Detecting whether the error rate of a message on a port of any device in the devices which are not from the head to the tail on the working link reaches a preset threshold or not; if the error rate of the message does not reach the preset threshold, step 206 is executed, and if the error rate of the message reaches the preset threshold, step 207 is executed.
And step 206, ending the current processing task.
The device in step 205 ends the current processing task and continues the task as it is.
Step 207, block the specific message passing through the port.
The device in step 205 blocks the specific message passing through its own port; in the embodiment of the invention, the specific message is a BFD detection message.
And step 208, generating SD alarm information.
After the device in step 205 blocks the BFD detection packet passing through its port, it generates SD alarm information, which indicates that an SD problem occurs at the device on the link.
And step 209, sending the SD alarm information to the control end.
The device in step 205 sends SD alarm information to the control end, where the SD alarm information is used to instruct the control end to block transmission of BFD detection messages on the working link; the specific control end can block the transmission of the BFD detection message on the working link through the ACL.
Step 210, when the head-end device on the working link detects that the transmission of the specific message on the working link is blocked, generating specific message alarm information.
And when the head-tail device on the working link detects that the transmission of the BFD detection message on the working link is blocked by using a BFD detection mode, generating BFD detection message alarm information.
And step 211, the head and tail devices on the working link send specific message alarm information to the control end.
The head and tail devices on the working link send BFD detection message warning information to the control end; the BFD detection message warning information is used for indicating the control end to convert the working link into the protection link so as to ensure that the service can be normally carried out.
The control end can find the SD problem on the working link in time according to the BFD detection message alarm information, thus when the SD problem occurs on a certain span link, the general bidirectional end-to-end detection mode can sense the fault scene in time, and the control end can carry out rapid switching on the link.
Step 212, when the head-end device on the working link detects that the transmission of the specific message on the working link is recovered to normal, generating normal notification information.
And the head and tail devices on the working link generate normal notification information when detecting that the transmission of the BFD detection message on the working link is recovered to normal by using a BFD detection mode.
And step 213, the head and tail devices on the working link send normal notification information to the control end.
The head and tail devices on the working link send normal notification information to the control end; the normal notification information is used to instruct the control end to switch the protection link into the working link.
The control end knows that the working link is restored to the normal state according to the normal informing information, and can continue to use the working link to carry out service, so that the control end switches the protection link into the working link.
In the method for generating the SD alarm information provided in the embodiment of the present invention, on a working link, each device receives configuration information sent by a control end; each device configures LSP and HSB protection according to the configuration information; when any device on the working link judges that the flow value of the message in unit time on the working link is smaller than a preset threshold value, adding a background flow message, and increasing the flow value of the message in unit time on the working link to the preset threshold value; when any device in the devices on the working link, which is not the head and the tail, detects that the error rate of the message on the port of the device reaches a preset threshold, the device blocks the specific message passing through the port; generating SD alarm information and sending the SD alarm information to a control end; when the head-tail device on the working link detects that the transmission of the specific message on the working link is blocked, generating specific message alarm information and sending the specific message alarm information to the control end; when the head-tail device on the working link detects that the transmission of the specific message on the working link is recovered to normal, generating normal notification information and sending the normal notification information to the control end; when any device on the working link detects that the error rate reaches a preset threshold (namely, SD is out of limit), a specific message passing through a self port is blocked; after the transmission of a specific message is blocked, a general bidirectional end-to-end detection mode configured on a working link detects an alarm, so that a service is triggered to be rapidly switched; when any device on the working link detects that the error rate does not reach a preset threshold (namely SD is out of limit), the blocking state of a self port is cancelled, the transmission of a specific message is recovered to be normally forwarded, and a path passing through the span can be normally established; by utilizing the scheme, the control end can timely find the SD problem on the working link, so that when the SD problem occurs on a certain cross-section link, a general bidirectional end-to-end detection mode can timely sense a fault scene, the control end can quickly switch the link, the working link is switched into a protection link, the switching is guaranteed to be completed within 50 milliseconds (ms) of telecommunication, the protection switching efficiency and reliability are improved, and the service loss time is reduced.
To further embody the purpose of the foregoing embodiments, a scenario embodiment is further illustrated on the basis of the foregoing embodiments.
Fig. 3 is a schematic view of a scenario of an embodiment of the method for generating SD alarm information according to the present invention, and as shown in fig. 3, the control end configures each device, configures a device a, a device B, a device C, and a device D, which are sequentially connected to form a working link, and configures a device a, a device E, and a device D, which are sequentially connected to form a protection link.
And starting an SD alarm function on the device B, namely detecting whether the error rate of the message on the port No. 1/1 reaches a preset threshold, and if the error rate of the message on the port No. 1/1 reaches the preset threshold, blocking the BFD detection message passing through the port No. 1/1, generating SD alarm information and sending the SD alarm information to the control end.
And the control end blocks the transmission of the BFD detection message on the working link according to the SD warning information, and when the device A and the device D detect that the transmission of the BFD detection message on the working link is blocked by using a BFD detection mode, the BFD detection message warning information is generated and sent to the control end.
The control end can find the SD problem on the working link in time according to the BFD detection message alarm information, can sense the fault scene in time, and switches the working link into the protection link, thus ensuring the normal operation of the service.
When the error rate of the message detected by the device B on the port No. 1/1 does not reach the preset threshold, the blocking state of the port No. 1/1 is cancelled, the transmission of the BFD detection message is returned to normal forwarding, namely the SD problem at the device B on the working link disappears, and the control end switches the service back to the working link to carry out normal work.
Fig. 4 is a schematic structural diagram of an apparatus for generating SD alarm information according to an embodiment of the present invention, and as shown in fig. 4, an apparatus 04 for generating SD alarm information according to an embodiment of the present invention includes:
a blocking module 41, configured to block a specific packet passing through a port when detecting that an error rate of a packet on the port reaches a preset threshold, where the specific packet includes a bidirectional forwarding BFD detection packet;
the first generating module 42 is configured to generate SD alarm information after a specific packet passing through the port is blocked, and send the SD alarm information to the control end, where the SD alarm information is used to instruct the control end to block transmission of the specific packet on a working link.
Further, the apparatus further comprises:
a second generating module 43, configured to generate specific message alarm information when detecting that transmission of the specific message on the working link is blocked;
the second generating module 43 is further configured to send the specific message alarm information to the control end, where the specific message alarm information is used to instruct the control end to switch the working link into a protection link.
Further, the apparatus further comprises:
a third generating module 44, configured to generate a normal notification message when it is detected that transmission of the specific packet on the working link is recovered to normal;
the third generating module 44 is further configured to send the normal notification information to the control end, where the normal notification information is used to instruct the control end to switch the protection link into the working link.
Further, the apparatus further comprises:
a judging module 45, configured to judge whether a flow value of the packet in unit time on the working link is smaller than a preset threshold;
an adding module 46, configured to add a background flow packet when the flow value of the packet in the unit time on the working link is smaller than the preset threshold, and increase the flow value of the packet in the unit time on the working link to the preset threshold.
Further, the apparatus further comprises:
a receiving module 47, configured to receive configuration information sent by the control end;
a configuration module 48, configured to configure label switched path LSP and hot standby HSB protection according to the configuration information.
The apparatus of this embodiment may be configured to implement the technical solutions of the above-described method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 5 is a schematic structural diagram of an embodiment of an apparatus for generating SD alarm information according to the present invention, and as shown in fig. 5, an apparatus 05 for generating SD alarm information according to the embodiment of the present invention includes: an interface 51, a bus 52, a memory 53, and a processor 54, wherein the interface 51, the memory 53, and the processor 54 are connected via the bus 52, the memory 53 is used for storing an executable program, and the processor 54 is configured to execute the executable program to implement the following steps:
when the error rate of the messages on the port reaches a preset threshold, blocking specific messages passing through the port, wherein the specific messages comprise bidirectional forwarding BFD detection messages;
and generating SD (secure digital) alarm information after the specific message passing through the port is blocked, and sending the SD alarm information to a control end, wherein the SD alarm information is used for indicating the control end to block the transmission of the specific message on a working link.
Further, the processor 54 is further configured to execute the executable program to implement the following steps:
when the transmission of the specific message on the working link is detected to be blocked, generating specific message alarm information;
and sending the specific message alarm information to the control end, wherein the specific message alarm information is used for indicating the control end to switch the working link into a protection link.
Further, the processor 54 is further configured to execute the executable program to implement the following steps:
when the transmission of the specific message on the working link is detected to be recovered to normal, generating normal notification information;
and sending the normal notification information to the control end, wherein the normal notification information is used for indicating the control end to switch the protection link into the working link.
Further, the processor 54 is further configured to execute the executable program to implement the following steps:
judging whether the flow value of the message in unit time on the working link is smaller than a preset threshold value or not;
and when the flow value of the message in unit time on the working link is smaller than the preset threshold value, adding a background flow message, and increasing the flow value of the message in unit time on the working link to the preset threshold value.
Further, the processor 54 is further configured to execute the executable program to implement the following steps:
receiving configuration information sent by the control terminal;
and configuring Label Switching Path (LSP) and hot standby HSB protection according to the configuration information.
As shown in fig. 5, the various components in the device 05 that generates SD alarm information are coupled together by a bus 52; it will be appreciated that the bus 52 is used to enable connective communication between these components, and that the bus 52 includes a power bus, a control bus, and a status signal bus in addition to a data bus, although the various buses are labeled as bus 52 in FIG. 5 for clarity of illustration.
The interface 51 may include a display, a keyboard, a mouse, a track ball, a click wheel, a key, a button, a touch pad, a touch screen, or the like.
It will be appreciated that the memory 53 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM, Double Data Synchronous Random Access Memory), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), Synchronous link Dynamic Random Access Memory (DRAM, Synchronous Dynamic Random Access Memory), Direct Memory (DRmb Random Access Memory); the memory 53 described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory 53 in the embodiment of the present invention is used to store various types of data to support the operation of the device 05 that generates SD alert information, examples of which include: any computer program for operating on the device 05 that generates SD alarm information, such as an operating system and an application program, etc., wherein the operating system contains various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks; the application programs may include various application programs such as a Media Player (Media Player), a Browser (Browser), etc. for implementing various application services, and the program implementing the method of the embodiment of the present invention may be included in the application programs.
The method disclosed in the above embodiments of the present invention may be applied to the processor 54, or implemented by the processor 54; the processor 54 may be an integrated circuit chip having signal processing capabilities; in the implementation process, the steps of the method may be implemented by an integrated logic circuit of hardware in the Processor 54 or instructions in the form of software, and the Processor 54 may be a general-purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or the like; processor 54 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention; a general purpose processor may be a microprocessor or any conventional processor or the like; the steps of the method disclosed by the embodiment of the invention can be directly embodied as the execution of a hardware decoding processor, or the combination of hardware and software modules in the decoding processor; the software modules may be located in a storage medium located in the memory 53 and the processor 54 reads the information in the memory 53 and in combination with its hardware performs the steps of the method described above.
In an exemplary embodiment, the apparatus 05 for generating signal degradation alarm information may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors (gpus), controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the foregoing methods.
The device of this embodiment may be configured to implement the technical solutions of the above-described method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 6 is a schematic structural diagram of a system for generating SD alarm information according to an embodiment of the present invention, and as shown in fig. 6, a system 06 for generating SD alarm information according to an embodiment of the present invention includes: a working link 61 and a protection link 62 which are composed of a plurality of devices for generating SD warning information, and a control end 63; wherein the content of the first and second substances,
the device for generating the SD alarm information adopts a device or apparatus for generating the SD alarm information as described in any of the above embodiments;
the control terminal 63 is the control terminal described in any of the above embodiments.
The system of this embodiment may be configured to implement the technical solutions of the above-described method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
The embodiment of the invention also provides a computer-readable storage medium, which can be a Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk or CD-ROM, and can also be various devices including one or any combination of the above memories; the computer-readable storage medium stores a program executable by a processor to implement the steps of:
when the error rate of the messages on the port reaches a preset threshold, blocking specific messages passing through the port, wherein the specific messages comprise bidirectional forwarding BFD detection messages;
and generating SD (secure digital) alarm information after the specific message passing through the port is blocked, and sending the SD alarm information to a control end, wherein the SD alarm information is used for indicating the control end to block the transmission of the specific message on a working link.
Further, the program is also executable by the processor to implement the steps of:
when the transmission of the specific message on the working link is detected to be blocked, generating specific message alarm information;
and sending the specific message alarm information to the control end, wherein the specific message alarm information is used for indicating the control end to switch the working link into a protection link.
Further, the program is also executable by the processor to implement the steps of:
when the transmission of the specific message on the working link is detected to be recovered to normal, generating normal notification information;
and sending the normal notification information to the control end, wherein the normal notification information is used for indicating the control end to switch the protection link into the working link.
Further, the program is also executable by the processor to implement the steps of:
judging whether the flow value of the message in unit time on the working link is smaller than a preset threshold value or not;
and when the flow value of the message in unit time on the working link is smaller than the preset threshold value, adding a background flow message, and increasing the flow value of the message in unit time on the working link to the preset threshold value.
Further, the program is also executable by the processor to implement the steps of:
receiving configuration information sent by the control terminal;
and configuring Label Switching Path (LSP) and hot standby HSB protection according to the configuration information.
The computer-readable storage medium of this embodiment may be used to implement the technical solutions of the above-mentioned method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (17)

1. A method of generating signal degradation SD alarm information, the method comprising:
when the error rate of the messages on the port reaches a preset threshold, blocking specific messages passing through the port, wherein the specific messages comprise bidirectional forwarding BFD detection messages;
and generating SD (secure digital) alarm information after the specific message passing through the port is blocked, and sending the SD alarm information to a control end, wherein the SD alarm information is used for indicating the control end to block the transmission of the specific message on a working link.
2. The method according to claim 1, wherein after said sending the SD alarm information to the control end, the method further comprises:
when the transmission of the specific message on the working link is detected to be blocked, generating specific message alarm information;
and sending the specific message alarm information to the control end, wherein the specific message alarm information is used for indicating the control end to switch the working link into a protection link.
3. The method according to claim 2, wherein after said sending said specific message alert information to said control end, said method further comprises:
when the transmission of the specific message on the working link is detected to be recovered to normal, generating normal notification information;
and sending the normal notification information to the control end, wherein the normal notification information is used for indicating the control end to switch the protection link into the working link.
4. The method according to claim 1, wherein before the detecting that the bit error rate of the packet on the port reaches the preset threshold, the method further comprises:
judging whether the flow value of the message in unit time on the working link is smaller than a preset threshold value or not;
and when the flow value of the message in unit time on the working link is smaller than the preset threshold value, adding a background flow message, and increasing the flow value of the message in unit time on the working link to the preset threshold value.
5. The method according to claim 1, wherein before the detecting that the bit error rate of the packet on the port reaches the preset threshold, the method further comprises:
receiving configuration information sent by the control terminal;
and configuring Label Switching Path (LSP) and hot standby HSB protection according to the configuration information.
6. An apparatus for generating signal degradation SD alarm information, the apparatus comprising:
the device comprises a blocking module, a sending module and a receiving module, wherein the blocking module is used for blocking a specific message passing through a port when the error rate of the message on the port reaches a preset threshold, and the specific message comprises a bidirectional forwarding BFD detection message;
a first generating module, configured to generate SD alarm information after a specific packet passing through the port is blocked, and send the SD alarm information to a control end, where the SD alarm information is used to instruct the control end to block transmission of the specific packet on a working link;
a second generating module, configured to generate specific message alarm information when the transmission of the specific message on the working link is detected to be blocked;
and the third generation module is used for generating normal notification information when the transmission of the specific message on the working link is detected to be normal.
7. The apparatus of claim 6, wherein the second generating module is further configured to send the specific packet alarm information to the control end, where the specific packet alarm information is used to instruct the control end to switch the working link into a protection link.
8. The apparatus of claim 7, wherein the third generating module is further configured to send the normal notification information to the control end, where the normal notification information is used to instruct the control end to switch the protection link to the working link.
9. The apparatus of claim 6, further comprising:
the judging module is used for judging whether the flow value of the message in unit time on the working link is smaller than a preset threshold value or not;
and the adding module is used for adding a background flow message when the flow value of the message in unit time on the working link is smaller than the preset threshold value, and increasing the flow value of the message in unit time on the working link to the preset threshold value.
10. The apparatus of claim 6, further comprising:
the receiving module is used for receiving the configuration information sent by the control terminal;
and the configuration module is used for configuring Label Switching Path (LSP) and hot standby HSB protection according to the configuration information.
11. An apparatus for generating signal degradation SD alarm information, characterized by comprising: the interface, the bus, the memory, and the processor, interface, memory and processor are connected through the bus, the memory is used for storing executable program, the processor is configured to run the executable program and realize the following steps:
when the error rate of the messages on the port reaches a preset threshold, blocking specific messages passing through the port, wherein the specific messages comprise bidirectional forwarding BFD detection messages;
and generating SD (secure digital) alarm information after the specific message passing through the port is blocked, and sending the SD alarm information to a control end, wherein the SD alarm information is used for indicating the control end to block the transmission of the specific message on a working link.
12. The device of claim 11, wherein the processor is further configured to execute the executable program to perform the steps of:
when the transmission of the specific message on the working link is detected to be blocked, generating specific message alarm information;
and sending the specific message alarm information to the control end, wherein the specific message alarm information is used for indicating the control end to switch the working link into a protection link.
13. The device of claim 12, wherein the processor is further configured to execute the executable program to perform the steps of:
when the transmission of the specific message on the working link is detected to be recovered to normal, generating normal notification information;
and sending the normal notification information to the control end, wherein the normal notification information is used for indicating the control end to switch the protection link into the working link.
14. The device of claim 11, wherein the processor is further configured to execute the executable program to perform the steps of:
judging whether the flow value of the message in unit time on the working link is smaller than a preset threshold value or not;
and when the flow value of the message in unit time on the working link is smaller than the preset threshold value, adding a background flow message, and increasing the flow value of the message in unit time on the working link to the preset threshold value.
15. The device of claim 11, wherein the processor is further configured to execute the executable program to perform the steps of:
receiving configuration information sent by the control terminal;
and configuring Label Switching Path (LSP) and hot standby HSB protection according to the configuration information.
16. A system for generating signal degradation SD alert information, the system comprising: the system comprises a working link, a protection link and a control end, wherein the working link and the protection link are composed of a plurality of devices for generating SD alarm information; wherein the content of the first and second substances,
the device for generating SD alarm information employs the device according to any one of claims 11 to 15.
17. A computer-readable storage medium characterized in that the computer-readable storage medium stores a program executable by a processor to implement the step of generating signal degradation SD warning information according to any one of claims 1 to 5.
CN201810009069.9A 2018-01-04 2018-01-04 Method, device, equipment and system for generating SD (secure digital) alarm information Active CN110011819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810009069.9A CN110011819B (en) 2018-01-04 2018-01-04 Method, device, equipment and system for generating SD (secure digital) alarm information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810009069.9A CN110011819B (en) 2018-01-04 2018-01-04 Method, device, equipment and system for generating SD (secure digital) alarm information

Publications (2)

Publication Number Publication Date
CN110011819A CN110011819A (en) 2019-07-12
CN110011819B true CN110011819B (en) 2022-04-19

Family

ID=67164418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810009069.9A Active CN110011819B (en) 2018-01-04 2018-01-04 Method, device, equipment and system for generating SD (secure digital) alarm information

Country Status (1)

Country Link
CN (1) CN110011819B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111865785B (en) * 2020-06-28 2022-04-29 烽火通信科技股份有限公司 SR-TP tunnel signal transmission method, device, server and storage medium

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007259233A (en) * 2006-03-24 2007-10-04 Fujitsu Ltd Ber monitoring circuit
CN101145871B (en) * 2006-09-12 2012-06-06 中兴通讯股份有限公司 Method for reducing erroneous alarm generation sequence in SDH service
CN101340346A (en) * 2008-08-11 2009-01-07 中兴通讯股份有限公司 Ring control method and apparatus of Ethernet looped network system
CN102035718B (en) * 2009-09-27 2013-10-30 中国移动通信集团公司 Method, device and system for protection switching of packet transport network
CN102546214A (en) * 2010-12-29 2012-07-04 中兴通讯股份有限公司 SD (Secure Digital) alarm detection method and system
CN102215127A (en) * 2011-06-08 2011-10-12 中兴通讯股份有限公司 Signal degrade processing method, device and node equipment
CN103580886B (en) * 2012-07-25 2017-10-27 中兴通讯股份有限公司 Grouping conveying network pretection switch apparatus and method
CN102984027B (en) * 2012-11-27 2015-04-29 华为技术有限公司 Method and device for message loop detection
CN105281931B (en) * 2014-06-18 2019-11-29 南京中兴新软件有限责任公司 Bit error detection method, the apparatus and system of POTN
CN106161232B (en) * 2015-04-21 2020-01-31 中兴通讯股份有限公司 tunnel protection switching method and device
US10193765B2 (en) * 2016-05-19 2019-01-29 Ciena Corporation Protection switching systems and methods in a packet network based on signal degrade
CN105897515A (en) * 2016-06-12 2016-08-24 烽火通信科技股份有限公司 Ethernet loop detecting and processing method based on IPRAN equipment

Also Published As

Publication number Publication date
CN110011819A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN102377607B (en) Data transmission method and data transmission device for special two-layer virtual network
CN102571492B (en) Method and device for detecting failure of routing equipment
CN110061914B (en) Message forwarding method and device
US9059899B2 (en) Method and system for interrupt throttling and prevention of frequent toggling of protection groups in a communication network
CN107294856B (en) Method, equipment and system for determining topology change
CN105281931A (en) Error code detection method, device and system of POTN
EP3029883B1 (en) Network protection method and apparatus, next-ring node, and system
CN112291160B (en) BUM message suppression method, device and medium
CN110011819B (en) Method, device, equipment and system for generating SD (secure digital) alarm information
CN105471736B (en) Tunnel signal degradation notification and switching method and device
CN109167700B (en) Detection method and device for Segment Routing (SR) tunnel
CN106330699B (en) Multicast link switching method and device and routing equipment
CN106161232B (en) tunnel protection switching method and device
CN104253745A (en) Routing canceling method and network equipment
CN108259082B (en) Protection switching method and control service board
EP2981025B1 (en) Method, network and system for protection switching
CN109347717B (en) VXLAN tunnel switching method and device
CN111585797A (en) Ethernet link switching method, device, equipment and computer readable storage medium
CN108933720B (en) Information processing method, device and system for ring system and storage medium
CN103795625A (en) Multi-protocol label switching network quick rerouting implementation method and device
CN111478845B (en) Protection switching method and provider network edge device
CN109218135B (en) BFD detection method and device
CN104734865A (en) Network protection method for PTN (Packet Transport Network), device and network element device
WO2021047483A1 (en) Protection switching method, node device and storage medium
CN112583650B (en) SR-BE tunnel link detection method and system in SPN

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant