CN116760460A - Fault link switching method, device and system - Google Patents

Fault link switching method, device and system Download PDF

Info

Publication number
CN116760460A
CN116760460A CN202310821374.9A CN202310821374A CN116760460A CN 116760460 A CN116760460 A CN 116760460A CN 202310821374 A CN202310821374 A CN 202310821374A CN 116760460 A CN116760460 A CN 116760460A
Authority
CN
China
Prior art keywords
link
network manager
splitter
optical fiber
switching
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.)
Pending
Application number
CN202310821374.9A
Other languages
Chinese (zh)
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.)
China Telecom Technology Innovation Center
China Telecom Corp Ltd
Original Assignee
China Telecom Technology Innovation Center
China Telecom Corp Ltd
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 China Telecom Technology Innovation Center, China Telecom Corp Ltd filed Critical China Telecom Technology Innovation Center
Priority to CN202310821374.9A priority Critical patent/CN116760460A/en
Publication of CN116760460A publication Critical patent/CN116760460A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/03Arrangements for fault recovery
    • H04B10/038Arrangements for fault recovery using bypasses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0791Fault location on the transmission path

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)

Abstract

The application relates to a method, a device and a system for switching a fault link. The method comprises the following steps: responding to the received abnormal link alarm transmitted by the back-end equipment, and outputting a link switching request; the link switching request is used for indicating the network manager of the branching unit to output a switching command; the switching command is used for indicating the light splitting equipment to switch from a fault link corresponding to the link abnormality alarm in the at least two optical fiber links to a normal link in the at least two optical fiber links. In the application, if the back-end equipment detects the abnormal link, the application system network manager can inform the splitter of the abnormal link, and then the splitter network manager issues a command to switch to the normal link, so that the normal link can be automatically switched when the link fails, further the full-automatic switching of the failed link of the back-end equipment is realized, the switching time delay is optimized from the minute level to the millisecond level, and the switching efficiency and the reliability of an important data link acquisition system are improved.

Description

Fault link switching method, device and system
Technical Field
The present application relates to the field of network security technologies, and in particular, to a method, an apparatus, and a system for switching a failed link.
Background
An optical power splitter is an optical device that can achieve splitting of input light into multiple optical outputs. Current DPI (Deep Packet Inspection ) systems typically utilize an optical power splitter to replicate multiple copies of a data link for distribution to back-end applications (e.g., a convergence splitter, a DPI acquisition server, etc.).
However, at present, after a link between the optical power splitter and the back-end application system fails, the failure recovery can only be realized through manual switching, and the traditional scheme at least has the problem of low switching efficiency.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, apparatus, and system for switching a failed link that can improve switching efficiency.
In a first aspect, the present application provides a method for switching a failed link, which is applied to an application system network manager, where the application system network manager is connected to a splitter network manager, and at least two optical fiber links exist between a splitter device managed by the splitter network manager and a backend device managed by the application system network manager; the method comprises the following steps:
responding to the received abnormal link alarm transmitted by the back-end equipment, and outputting a link switching request;
the link switching request is used for indicating the network manager of the branching unit to output a switching command; the switching command is used for indicating the light splitting equipment to switch from a fault link corresponding to the link abnormality alarm in the at least two optical fiber links to a normal link in the at least two optical fiber links.
In one embodiment, the application system network manager is connected with the splitter network manager through the linkage interface; the output link switching request includes:
based on the linkage interface, transmitting a link switching request to a network manager of the branching unit; the linkage interface comprises at least one of a remote procedure call protocol (RPC) interface, a hypertext transfer protocol (HTTP) interface, a webservice interface and a presentation layer state conversion interface.
In one embodiment, the at least two fiber links include one primary fiber link and at least one backup fiber link;
the link abnormality alarm is used for representing that the main optical fiber link has abnormal light receiving; the normal link is a spare fiber link.
In one embodiment, the switching command carries a port identifier corresponding to the primary optical fiber link and a port identifier corresponding to the standby optical fiber link;
the switching command is used for indicating the optical splitting equipment to close the port corresponding to the main optical fiber link and open the port corresponding to the standby optical fiber link.
In a second aspect, the present application further provides a method for switching a faulty link, where the faulty link is applied to a splitter network manager, where the splitter network manager is connected to an application system network manager, and at least two optical fiber links exist between a splitter device managed by the splitter network manager and a backend device managed by the application system network manager; the method comprises the following steps:
Responding to a received link switching request transmitted by an application system network manager, and outputting a switching command; the link switching request is obtained by processing a link abnormality alarm transmitted by the back-end equipment through an application system network manager;
the switching command is used for indicating the light splitting equipment to switch from a fault link corresponding to the link abnormality alarm in the at least two optical fiber links to a normal link in the at least two optical fiber links.
In one embodiment, the method further comprises:
and responding to the received port abnormality alarm transmitted by the optical splitting equipment, and outputting a switching command.
In one embodiment, the at least two fiber links include one primary fiber link and at least one backup fiber link; the method further comprises the steps of:
determining disaster recovery backup port group information of each output port of the light splitting device; the disaster recovery backup port group information comprises port identifiers of output ports corresponding to the main optical fiber links and port identifiers of output ports corresponding to the standby optical fiber links one by one respectively.
In a third aspect, the present application further provides a device for switching a faulty link, which is applied to an application system network manager, where the application system network manager is connected to a splitter network manager, and at least two optical fiber links exist between a splitter device managed by the splitter network manager and a back-end device managed by the application system network manager; the device comprises:
The switching request module is used for responding to the received link abnormality alarm transmitted by the back-end equipment and outputting a link switching request;
the link switching request is used for indicating the network manager of the branching unit to output a switching command; the switching command is used for indicating the light splitting equipment to switch from a fault link corresponding to the link abnormality alarm in the at least two optical fiber links to a normal link in the at least two optical fiber links.
In a fourth aspect, the present application further provides a fault link switching device, which is applied to a splitter network manager, where the splitter network manager is connected to an application system network manager, and at least two optical fiber links exist between a splitter device managed by the splitter network manager and a back-end device managed by the application system network manager; the device comprises:
the switching command module is used for responding to the received link switching request transmitted by the application system network manager and outputting a switching command; the link switching request is obtained by processing a link abnormality alarm transmitted by the back-end equipment through an application system network manager;
the switching command is used for indicating the light splitting equipment to switch from a fault link corresponding to the link abnormality alarm in the at least two optical fiber links to a normal link in the at least two optical fiber links.
In a fifth aspect, the present application further provides a system for switching a failed link, including an application system network manager, and a splitter network manager connected to the application system network manager; at least two optical fiber links exist between the optical splitting equipment managed by the splitter network manager and the back-end equipment managed by the application system network manager; wherein:
The application system network manager is used for realizing the steps of the fault link switching method implemented from the application system network manager;
the splitter network manager is used for realizing the steps of the fault link switching method implemented from the splitter network manager.
In one embodiment, the back-end equipment comprises at least one of a converging splitter and a DPI acquisition server; the optical splitting device comprises an optical power splitter.
In one embodiment, the back-end device is configured to monitor a received light intensity signal of the port, and send out a link abnormality alarm according to the received light intensity signal and a received light threshold.
In one embodiment, the spectroscopic device is configured to monitor a light emission intensity signal of the port, and send out an abnormal port alarm according to the light emission intensity signal and a light emission threshold;
the splitter network manager is used for responding to the received port abnormality alarm and outputting a switching command.
In a sixth aspect, the present application also provides a computer device comprising a memory storing a computer program and a processor implementing the steps of the method described above when the processor executes the computer program.
In a seventh aspect, the present application also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method described above.
In an eighth aspect, the application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the method described above.
According to the method, the device and the system for switching the fault link, the network management of the application system responds to the received abnormal link alarm transmitted by the back-end equipment and outputs the link switching request, the link switching request is used for indicating the network management of the splitter to output the switching command, and the switching command is further used for indicating the optical splitting equipment to switch to the normal link in the at least two optical fiber links from the fault link corresponding to the abnormal link alarm in the at least two optical fiber links. In the application, if the back-end equipment detects the abnormal link, the application system network manager can inform the splitter of the abnormal link, and then the splitter network manager issues a command to switch to the normal link, so that the normal link can be automatically switched when the link fails, further the full-automatic switching of the failed link of the back-end equipment is realized, the switching time delay is optimized from the minute level to the millisecond level, and the switching efficiency and the reliability of an important data link acquisition system are improved.
Drawings
FIG. 1 is an application environment diagram of a failed link handoff method in one embodiment;
FIG. 2 is a flow diagram of a method of failover in one embodiment;
FIG. 3 is a flow chart of a method of failover in another embodiment;
FIG. 4 is a block diagram of a failed link switching device in one embodiment;
FIG. 5 is a block diagram of a failed link switching apparatus in another embodiment;
FIG. 6 is an internal block diagram of a computer device in one embodiment;
fig. 7 is an internal structural view of a computer device in another embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
It will be appreciated that terms such as "first," "second," and the like, are used herein merely to distinguish between similar objects and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated.
It is to be understood that in the following embodiments, "connected" is understood to mean "electrically connected", "communicatively connected", etc., if the connected circuits, modules, units, etc., have electrical or data transfer between them.
It is understood that "at least one" means one or more and "a plurality" means two or more.
As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," and/or the like, specify the presence of stated features, integers, steps, operations, elements, components, or groups thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or groups thereof. Also, the term "and/or" as used in this specification includes any and all combinations of the associated listed items.
With the use of large data travel cards and the like, there is currently a higher demand for the reliability of DPI systems. When the intelligent optical power splitter and the optical link of the back-end application system fail, the traditional technology can only be switched manually, and has the defects of long switching time, high risk of data loss and the like. Taking the port 1 and the port 2 of the optical power splitter to which the application system 1 is connected as an example, the current manual switching flow after the optical fiber link fails includes: (1) when the link 1 fails, the application system 1 will receive abnormal light and alarm to the network manager of the application system. (2) After receiving the warning of the network management of the application system, the relevant personnel of the network management of the application system informs the network management personnel of the optical power splitter of carrying out link switching. (3) The optical power divider network manager issues a command through the optical power divider network manager to open the port 2 and close the port 1. (4) The application system 1 receives the light emission of the port 2 and the fault is recovered.
The fault recovery can be realized only through manual switching after the link between the optical power splitter and the back-end application system fails, and an automatic means is not available, so that the defects of low switching efficiency, data loss caused by untimely switching and the like exist.
The method for switching the fault link provided by the embodiment of the application can be applied to an application environment shown in figure 1. Wherein, a linkage interface is added between the splitter network manager 102 and the application system network manager 104, the splitter network manager 102 communicates with the application system network manager 104 through the linkage interface, and at least two optical fiber links exist between the optical splitting device managed by the splitter network manager and the back-end device managed by the application system network manager.
As shown in fig. 1, taking an optical splitter as an example, an application system 1 connects a port 1 and a port 2 of the optical power splitter to form two optical fiber links; further, the application system 2 is connected to the port 3 of the optical power splitter, and the application system 3 is connected to the port 4 of the optical power splitter. Illustratively, if the back-end application system detects that the link receives the light abnormally, the application system network manager 104 informs the splitter network manager 102 of the link abnormally through the linkage interface, and then the splitter network manager 102 issues a command to switch to the normal link.
Alternatively, the linkage interface may include at least one of an RPC (Remote Procedure Call, remote procedure call protocol) interface, an HTTP (Hyper Text Transfer Protocol ) interface, a webservice interface, and a RESTful (Representational State Transfer, representational layer transition) interface.
Illustratively, the splitter network manager 102 may refer to software, hardware, and a platform for managing optical splitting devices in a communication network; the application network manager 104 may refer to software, hardware, and a platform in a communication network for managing backend application devices. Wherein the optical splitting device may comprise an optical power splitter; the backend application system device may refer to a backend device; optionally, the backend device may include at least one of a converging splitter, a DPI acquisition server.
Alternatively, as shown in fig. 1, the back-end application systems may refer to the application systems 1 to 3, respectively, and it should be noted that the number of the back-end application systems may be plural, which is not limited in this aspect of the application. Further, the backend application system may refer to backend devices such as a convergence splitter, a DPI acquisition server, and the like, that is, the backend device in the embodiment of the present application may refer to the backend application system.
The embodiment of the application can realize full-automatic switching of the fault link of the optical power splitter; the embodiment of the application can be applied to the disaster recovery capability improvement of a 5G (5 th Generation Mobile Communication Technology, fifth-generation mobile communication technology)/solid-network DPI system, and can provide annual lossless guarantee service for flow acquisition users and clients, thereby improving the industrial competitiveness.
In one embodiment, as shown in fig. 2, a method for switching a failed link is provided, and the method is applied to the application system network management in fig. 1 for illustration, and includes the following steps:
step 202, responding to the received link abnormality alarm transmitted by the back-end equipment, and outputting a link switching request;
the link switching request is used for indicating the network manager of the branching unit to output a switching command; the switching command is used for indicating the light splitting equipment to switch from a fault link corresponding to the link abnormality alarm in the at least two optical fiber links to a normal link in the at least two optical fiber links.
Specifically, the application system network manager outputs a link switching request to the splitter network manager under the condition of receiving the link abnormality alarm transmitted by the back-end equipment, and informs the splitter network manager that the optical fiber link is abnormal currently, so that the switching time delay can be remarkably reduced. The link abnormality alarm may be output by the backend device when the optical fiber link fails. For example, when one optical fiber link fails, the port of the back-end device may generate an abnormal light receiving phenomenon, so that the back-end device may alert the network manager of the application system.
Under the condition that the phenomenon of abnormal light receiving occurs, the back-end equipment can give an alarm to the network management of the application system.
Optionally, when the splitter network manager receives the link switching request, the splitter network manager can respond to the link switching request and automatically issue a switching command to the optical splitter device, and the optical splitter device switches to a normal link in at least two optical fiber links from a fault link corresponding to a link abnormality alarm in the at least two optical fiber links according to the received switching command, so that the normal link (for example, a standby link) can be automatically switched when the link fails, full-automatic switching of a fault link of the back-end device is realized, switching delay is optimized from a minute level to a millisecond level, and switching efficiency and reliability of an important data link acquisition system are improved.
Illustratively, the failed link may be a primary fiber link of the at least two fiber links and the normal link may be a backup fiber link of the at least two fiber links. Alternatively, the primary optical fiber link and the standby optical fiber link may be obtained by marking each output port of the optical splitter through a splitter network manager.
In one embodiment, the application system network manager is connected with the splitter network manager through the linkage interface; the output link switch request may include:
Based on the linkage interface, transmitting a link switching request to a network manager of the branching unit; the linkage interface comprises at least one of a remote procedure call protocol (RPC) interface, a hypertext transfer protocol (HTTP) interface, a webservice interface and a presentation layer state conversion interface.
Specifically, in the embodiment of the application, a linkage interface is added between the application system network manager and the splitter network manager, so that the application system network manager can automatically initiate a link switching request through the linkage interface under the condition of receiving the link abnormality alarm transmitted by the back-end equipment, and the splitter network manager automatically issues a command to switch to a normal link (for example, a standby link) after receiving the link switching request, so that the fault is automatically recovered.
For example, the linkage interface may be RPC, HTTP, webservice, restful, etc., and the type of linkage interface is not limited in the embodiments of the present application. Based on the linkage interface, the embodiment of the application can realize the automatic switching flow after the optical fiber link fails.
In one embodiment, the at least two fiber links include one primary fiber link and at least one backup fiber link;
the link abnormality alarm is used for representing that the main optical fiber link has abnormal light receiving; the normal link is a spare fiber link.
Specifically, at least two optical fiber links exist between the optical splitting device managed by the splitter network manager and the back-end device managed by the application system network manager, and the at least two optical fiber links comprise a main optical fiber link and at least one standby optical fiber link. By way of example, one of the at least two optical fiber links may be designated as a primary link (primary optical fiber link) and the remaining links as backup links (backup optical fiber links).
The link abnormality alarm is used for representing that the main optical fiber link is abnormal in light receiving, and when the main optical fiber link is in fault, the back-end equipment can generate the phenomenon of abnormal light receiving, so as to alarm the network management of the application system. Optionally, the normal link is a spare optical fiber link, and the embodiment of the application can realize full-automatic switching of the intelligent optical power splitter fault link, and can automatically switch to the spare link when the link is ensured to be faulty.
In one embodiment, the switching command carries a port identifier corresponding to the primary optical fiber link and a port identifier corresponding to the standby optical fiber link;
the switching command is used for indicating the optical splitting equipment to close the port corresponding to the main optical fiber link and open the port corresponding to the standby optical fiber link.
Specifically, the splitter network manager automatically issues a switching command after receiving a link switching request, where the switching command may carry a port identifier corresponding to the primary optical fiber link and a port identifier corresponding to the standby optical fiber link, and further, the splitter device may open a certain port and/or close a certain port according to the switching command, so as to implement link switching.
The fault link switching method can realize full-automatic switching of the fault link of the intelligent optical power splitter, optimize switching time delay from minute level to millisecond level, and improve switching efficiency and reliability of an important data link acquisition system.
In one embodiment, as shown in fig. 3, a method for switching a failed link is provided, and the method is applied to the splitter network management in fig. 1 for illustration, and includes the following steps:
step 302, a switching command is output in response to receiving a link switching request transmitted by an application system network manager; the link switching request is obtained by processing a link abnormality alarm transmitted by the back-end equipment through an application system network manager;
the switching command is used for indicating the light splitting equipment to switch from a fault link corresponding to the link abnormality alarm in the at least two optical fiber links to a normal link in the at least two optical fiber links.
Specifically, when the splitter network manager receives a link switching request transmitted by the application system network manager, a switching command is issued to the optical splitting device in response to the link switching request, and the optical splitting device can switch from a fault link corresponding to a link abnormality alarm in at least two optical fiber links to a normal link in at least two optical fiber links.
The back-end device sends a link abnormality alarm to the application system network manager, and the application system network manager outputs a link switching request. Optionally, the splitter network manager may receive a link switching request transmitted by the application system network manager through a linkage interface, where the linkage interface may include at least one of a remote procedure call protocol RPC interface, a hypertext transfer protocol HTTP interface, a webservice interface, and a performance layer transition interface.
The embodiment of the application adds a linkage interface between the network manager of the splitter and the network manager of the application system. If the back-end application system detects that the link receives light abnormally, the back-end application system network manager informs the splitter of the link abnormality of the splitter network manager through the linkage interface, and then the splitter network manager issues a command to switch to a normal link (such as a standby link), so that the switching time delay is optimized from a minute level to a millisecond level, and the full-automatic switching of the fault link of the optical power splitter is realized.
In one embodiment, the method further comprises:
and responding to the received port abnormality alarm transmitted by the optical splitting equipment, and outputting a switching command.
Specifically, when the splitter network manager receives the port abnormality alarm transmitted by the optical splitter device, it can be confirmed that the optical splitter device detects that the light emitting intensity of the port is too low (for example, the light emitting intensity signal is lower than the light emitting threshold), and then a switching command is output, so that the optical splitter device is switched to a normal link. The light emission intensity signal may refer to light emission power, and the light emission threshold may be a set value, which is not limited in the embodiment of the present application.
Taking the optical splitter as an optical power splitter for example, the splitter network manager can also switch when detecting that the light emitting power of the main interface of the optical power splitter is too low (for example, lower than a set value). The main interface may refer to a port of the main optical fiber link at the optical power splitter side; in the embodiment of the application, the network manager of the splitter can acquire the light emitting condition of the port of the light splitting equipment side and the light receiving condition of the back-end equipment side, so that the normal link can be automatically switched when the link fails, further the full-automatic switching of the failure link of the back-end equipment is realized, the switching time delay is optimized from the minute level to the millisecond level, and the switching efficiency and the reliability of an important data link acquisition system are improved.
In one embodiment, the at least two fiber links include one primary fiber link and at least one backup fiber link; the method may further comprise:
determining disaster recovery backup port group information of each output port of the light splitting device; the disaster recovery backup port group information comprises port identifiers of output ports corresponding to the main optical fiber links and port identifiers of output ports corresponding to the standby optical fiber links one by one respectively.
Specifically, at least two optical fiber links exist between the optical splitting device managed by the splitter network manager and the back-end device managed by the application system network manager, wherein one optical link of the at least two optical fiber links can be designated as a main link (a main optical fiber link), and the other links are designated as standby links (standby optical fiber links).
For example, the splitter network manager may set a disaster recovery backup port group for the optical splitter device, where a certain optical fiber link in the port group is designated as a primary optical fiber link, and the remaining links are designated as backup optical fiber links. Optionally, taking the optical splitting device as an optical power splitter as an example, a disaster recovery backup port group can be set for the optical power splitter, a certain optical link in the port group is designated as a main link, and the rest links are designated as backup links.
Further, the network manager of the splitter can determine disaster recovery backup port group information of each output port of the splitter; the disaster recovery backup port group information is used for indicating the primary optical fiber link and the backup optical fiber link. The disaster recovery backup port group information may include port identifiers of output ports corresponding to the primary optical fiber links, and port identifiers of output ports corresponding to the backup optical fiber links one by one, respectively.
Taking the optical splitter as an optical power splitter for example, the splitter network manager may set the port 1 and the port 2 of the optical power splitter as disaster-tolerant backup port groups, where the optical power splitter network manager may perform port marking on the port 1 and the port 2 respectively, for example, the port 1 is a main port, and the port 2 is a backup port.
In the above, the embodiment of the application can intelligently set the disaster recovery backup port group for the optical power splitter, a certain optical link in the port group is designated as a main link, and other links are designated as standby links, so that the full-automatic switching of the fault link of the optical power splitter (for example, switching to the standby link when the link is abnormal) is realized, the switching time delay is optimized from a minute level to a millisecond level, and the switching efficiency and the reliability of an important data link acquisition system are improved.
It should be noted that, for the specific limitation in the above-mentioned failover method implemented from the point of view of the splitter network management, reference may be made to the limitation in the above-mentioned failover method implemented from the point of view of the application system network management, which is not described herein again.
In one embodiment, the backend device may include at least one of a converging splitter, a DPI acquisition server; the optical splitting device comprises an optical power splitter.
In particular, the optical splitting device managed by the splitter network manager may be an optical power splitter. The back-end equipment managed by the application system network manager can be a convergence splitter, a DPI acquisition server and the like. The embodiment of the present application is not limited thereto.
In one embodiment, the back-end device is configured to monitor a received light intensity signal of the port, and send out a link abnormality alarm according to the received light intensity signal and a received light threshold.
Specifically, when a link fails, the back-end device generates a light receiving abnormity phenomenon, and the back-end device alarms to an application system network manager. The back-end equipment can monitor the received light intensity signal of the port so as to send out a link abnormality alarm according to the received light intensity signal and the received light threshold value. Illustratively, the light receiving threshold may refer to a certain set value. Alternatively, the received-light intensity signal may refer to received-light power.
Taking the back-end equipment as an application system as an example, an optical module management module of the application system can monitor the light receiving and light emitting conditions of the optical module in real time, and when the light receiving is lower than a certain set value, the optical module management module can judge that the optical module is abnormal.
In one embodiment, the spectroscopic device is configured to monitor a light emission intensity signal of the port, and send out an abnormal port alarm according to the light emission intensity signal and a light emission threshold;
the splitter network manager is used for responding to the received port abnormality alarm and outputting a switching command.
Specifically, when the light-emitting abnormal phenomenon occurs at the light-splitting equipment side, an abnormal port alarm is output, and then the network manager of the splitter can confirm that the link fails and output a switching command.
Taking the optical splitter as an optical power splitter for example, when the splitter network manager detects that the light emitting power of the main interface of the optical power splitter is too low (for example, lower than a set value), the splitter network manager can trigger switching. The primary interface may refer to a port of the primary optical fiber link on the optical power splitter side. In the embodiment of the application, the network manager of the splitter can acquire the light emitting condition of the port of the light splitting equipment side and the light receiving condition of the back-end equipment side, so that the normal link can be automatically switched when the link fails.
Therefore, the embodiment of the application can realize full-automatic switching of the fault link of the optical power splitter, optimize the switching time delay from the minute level to the millisecond level, and improve the switching efficiency and the reliability of an important data link acquisition system.
In order to further explain the scheme of the embodiment of the present application, a specific example is described below, in which a back-end device is an application system, a light splitting device is an optical power splitter, the application system 1 is connected to a port 1 and a port 2 of the optical power splitter, a network manager of the splitter sets the port 1 and the port 2 to be disaster-tolerant backup port groups, the port 1 is a primary port, and the port 2 is a backup port. The automatic switching process after the optical fiber link failure can comprise: (1) when the link 1 fails, the application system 1 will receive abnormal light and alarm to the network manager of the application system. (2) After receiving the alarm, the network manager of the application system automatically initiates a link switching request through the linkage interface. (3) After receiving the link switching request, the network manager of the branching unit automatically issues a command to open the port 2 and close the port 1. (4) The application system 1 receives the light emission of the port 2, and the fault is automatically recovered.
In the above method for switching a faulty link, the optical power splitter sets a disaster recovery backup port group, and a certain optical link in the port group is designated as a main link, and the rest links are designated as backup links. And if the back-end application system detects that the link receives light abnormally, the back-end application system network manager informs the optical power splitter of the link abnormality of the network manager through the linkage interface, and then the optical power splitter network manager issues a command to switch to a standby link, so that the full-automatic switching of the intelligent optical power splitter fault link is realized, the switching time delay is optimized from a minute level to a millisecond level, and the switching efficiency and the reliability of an important data link acquisition system are improved.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a fault link switching device for realizing the above-mentioned fault link switching method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of one or more fail-over devices provided below may be referred to the limitation of the fail-over method hereinabove, and will not be repeated here.
In one embodiment, as shown in fig. 4, a fault link switching device 400 is provided, and is applied to an application system network manager, where the application system network manager is connected to a splitter network manager, and at least two optical fiber links exist between a splitter device managed by the splitter network manager and a back-end device managed by the application system network manager; the apparatus 400 comprises:
a switching request module 401, configured to output a link switching request in response to receiving a link abnormality alarm transmitted by the back-end device;
the link switching request is used for indicating the network manager of the branching unit to output a switching command; the switching command is used for indicating the light splitting equipment to switch from a fault link corresponding to the link abnormality alarm in the at least two optical fiber links to a normal link in the at least two optical fiber links.
In one embodiment, the application system network manager is connected with the splitter network manager through the linkage interface;
a switching request module 401, configured to transmit a link switching request to a network manager of the splitter based on the linkage interface; the linkage interface comprises at least one of a remote procedure call protocol (RPC) interface, a hypertext transfer protocol (HTTP) interface, a webservice interface and a presentation layer state conversion interface.
In one embodiment, the at least two fiber links include one primary fiber link and at least one backup fiber link;
The link abnormality alarm is used for representing that the main optical fiber link has abnormal light receiving; the normal link is a spare fiber link.
In one embodiment, the switching command carries a port identifier corresponding to the primary optical fiber link and a port identifier corresponding to the standby optical fiber link;
the switching command is used for indicating the optical splitting equipment to close the port corresponding to the main optical fiber link and open the port corresponding to the standby optical fiber link.
In one embodiment, as shown in fig. 5, a fault link switching device is provided and applied to a splitter network manager, where the splitter network manager is connected with an application system network manager, and at least two optical fiber links exist between a splitter device managed by the splitter network manager and a back-end device managed by the application system network manager; the device comprises:
a switching command module 501, configured to output a switching command in response to receiving a link switching request transmitted by an application system network manager; the link switching request is obtained by processing a link abnormality alarm transmitted by the back-end equipment through an application system network manager;
the switching command is used for indicating the light splitting equipment to switch from a fault link corresponding to the link abnormality alarm in the at least two optical fiber links to a normal link in the at least two optical fiber links.
In one embodiment, the at least two fiber links include one primary fiber link and at least one backup fiber link; the apparatus may further include:
the port determining module is used for determining disaster recovery backup port group information of each output port of the light splitting device; the disaster recovery backup port group information comprises port identifiers of output ports corresponding to the main optical fiber links and port identifiers of output ports corresponding to the standby optical fiber links one by one respectively.
The various modules in the above-described fail-over device may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a failover system is provided, including an application system network manager, and a splitter network manager connecting the application system network manager; at least two optical fiber links exist between the optical splitting equipment managed by the splitter network manager and the back-end equipment managed by the application system network manager; wherein:
the application system network manager is used for realizing the steps of the fault link switching method implemented from the application system network manager;
The splitter network manager is used for realizing the steps of the fault link switching method implemented from the splitter network manager.
In one embodiment, the backend device may include at least one of a converging splitter, a DPI acquisition server; the optical splitting device comprises an optical power splitter.
In one embodiment, the back-end device is configured to monitor a received light intensity signal of the port, and send out a link abnormality alarm according to the received light intensity signal and a received light threshold.
In one embodiment, the spectroscopic device is configured to monitor a light emission intensity signal of the port, and send out an abnormal port alarm according to the light emission intensity signal and a light emission threshold;
the splitter network manager is used for responding to the received port abnormality alarm and outputting a switching command.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, an Input/Output interface (I/O) and a communication interface. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer equipment is used for storing disaster recovery backup port group information data. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by a processor implements a method of failover.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program when executed by a processor implements a method of failover. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by persons skilled in the art that the structures shown in fig. 6 and 7 are block diagrams of only portions of structures associated with the present application and are not intended to limit the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided that includes a memory having a computer program stored therein and a processor that when executing the computer program performs the steps of the above-described failover method.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, implements the steps of the above-described failover method.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, implements the steps of the above-described fail-over method.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric RandomAccess Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (16)

1. The fault link switching method is characterized by being applied to an application system network manager, wherein the application system network manager is connected with a splitter network manager, and at least two optical fiber links exist between optical splitting equipment managed by the splitter network manager and back-end equipment managed by the application system network manager; the method comprises the following steps:
responding to the received abnormal link alarm transmitted by the back-end equipment, and outputting a link switching request;
The link switching request is used for indicating the network manager of the branching unit to output a switching command; the switching command is used for indicating the optical splitter to switch from the fault link corresponding to the link abnormality alarm in the at least two optical fiber links to the normal link in the at least two optical fiber links.
2. The method of claim 1, wherein the application system network manager connects to the splitter network manager through a linkage interface; the output link switching request includes:
transmitting the link switching request to the splitter network manager based on the linkage interface; the linkage interface comprises at least one of a remote procedure call protocol (RPC) interface, a hypertext transfer protocol (HTTP) interface, a webservice interface and a presentation layer state conversion interface.
3. The method according to claim 1 or 2, wherein the at least two optical fiber links comprise one primary optical fiber link and at least one backup optical fiber link;
the link abnormality alarm is used for representing that the main optical fiber link has abnormal light receiving; the normal link is one of the backup fiber links.
4. The method of claim 3, wherein the switch command carries a port identifier corresponding to the primary fiber link and a port identifier corresponding to the backup fiber link;
The switching command is used for indicating the optical splitting device to close the port corresponding to the main optical fiber link and open the port corresponding to the standby optical fiber link.
5. The fault link switching method is characterized by being applied to a splitter network manager, wherein the splitter network manager is connected with an application system network manager, and at least two optical fiber links exist between optical splitting equipment managed by the splitter network manager and back-end equipment managed by the application system network manager; the method comprises the following steps:
responding to a received link switching request transmitted by the application system network manager, and outputting a switching command; the link switching request is obtained by processing a link abnormality alarm transmitted by the back-end equipment through the application system network management;
the switching command is used for indicating the optical splitter to switch from the fault link corresponding to the link abnormality alarm in the at least two optical fiber links to the normal link in the at least two optical fiber links.
6. The method of claim 5, wherein the method further comprises:
and responding to the port abnormality alarm transmitted by the light splitting equipment, and outputting the switching command.
7. The method of claim 5 or 6, wherein the at least two fiber links comprise one primary fiber link and at least one backup fiber link; the method further comprises the steps of:
determining disaster recovery backup port group information of each output port of the light splitting device; the disaster recovery backup port group information comprises port identifiers of the output ports corresponding to the main optical fiber links and the port identifiers of the output ports corresponding to the standby optical fiber links one by one respectively.
8. The fault link switching device is characterized by being applied to an application system network manager, wherein the application system network manager is connected with a splitter network manager, and at least two optical fiber links exist between optical splitting equipment managed by the splitter network manager and back-end equipment managed by the application system network manager; the device comprises:
the switching request module is used for responding to the received link abnormality alarm transmitted by the back-end equipment and outputting a link switching request;
the link switching request is used for indicating the network manager of the branching unit to output a switching command; the switching command is used for indicating the optical splitter to switch from the fault link corresponding to the link abnormality alarm in the at least two optical fiber links to the normal link in the at least two optical fiber links.
9. The fault link switching device is characterized by being applied to a splitter network manager, wherein the splitter network manager is connected with an application system network manager, and at least two optical fiber links exist between optical splitting equipment managed by the splitter network manager and back-end equipment managed by the application system network manager; the device comprises:
the switching command module is used for responding to the received link switching request transmitted by the application system network manager and outputting a switching command; the link switching request is obtained by processing a link abnormality alarm transmitted by the back-end equipment through the application system network management;
the switching command is used for indicating the optical splitter to switch from the fault link corresponding to the link abnormality alarm in the at least two optical fiber links to the normal link in the at least two optical fiber links.
10. The fault link switching system is characterized by comprising an application system network manager and a splitter network manager connected with the application system network manager; at least two optical fiber links exist between the optical splitting equipment managed by the splitter network manager and the back-end equipment managed by the application system network manager; wherein:
the application system network manager is configured to implement the steps of the method of any one of claims 1 to 4;
The splitter network manager is adapted to implement the steps of the method of any of claims 5 to 7.
11. The fail-over system of claim 10, wherein the back-end device comprises at least one of a converging splitter, a DPI acquisition server; the optical splitting device comprises an optical power splitter.
12. The fail-over system of claim 10 or 11, wherein,
the back-end equipment is used for monitoring a received light intensity signal of a port and sending out the link abnormality alarm according to the received light intensity signal and the received light threshold value.
13. The fail-over system of claim 10 or 11, wherein,
the light splitting equipment is used for monitoring the luminous intensity signal of the port and sending out port abnormality alarm according to the luminous intensity signal and the luminous threshold value;
the splitter network manager is used for responding to the received port abnormality alarm and outputting the switching command.
14. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
15. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
16. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202310821374.9A 2023-07-05 2023-07-05 Fault link switching method, device and system Pending CN116760460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310821374.9A CN116760460A (en) 2023-07-05 2023-07-05 Fault link switching method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310821374.9A CN116760460A (en) 2023-07-05 2023-07-05 Fault link switching method, device and system

Publications (1)

Publication Number Publication Date
CN116760460A true CN116760460A (en) 2023-09-15

Family

ID=87949608

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310821374.9A Pending CN116760460A (en) 2023-07-05 2023-07-05 Fault link switching method, device and system

Country Status (1)

Country Link
CN (1) CN116760460A (en)

Similar Documents

Publication Publication Date Title
US8843789B2 (en) Storage array network path impact analysis server for path selection in a host-based I/O multi-path system
CN112181660A (en) High-availability method based on server cluster
CN103795553A (en) Switching of main and standby servers on the basis of monitoring
CN104798349A (en) Failover in response to failure of a port
CN102467508A (en) Method for providing database service and database system
US9417939B2 (en) Dynamic escalation of service conditions
JP4596889B2 (en) Storage system management method
CN103856357A (en) Stack system fault processing method and stack system
CN102333206A (en) Monitoring storage system and method for improving reliability of monitoring storage
CN112527567A (en) System disaster tolerance method, device, equipment and storage medium
CN113535480A (en) Data disaster recovery system and method
CN107071189B (en) Connection method of communication equipment physical interface
CN106027313B (en) Network link disaster tolerance system and method
CN117076196A (en) Database disaster recovery management and control method and device
CN116760460A (en) Fault link switching method, device and system
CN106534262A (en) Network information system fault switching method
CN105550065A (en) Database server communication management method and device
CN111309515A (en) Disaster recovery control method, device and system
CN110675614A (en) Transmission method of power monitoring data
CN115550287B (en) Method for establishing remote copy relationship and related device
CN117608919A (en) Disaster recovery method, disaster recovery device, computer equipment and storage medium
CN217037201U (en) Management network device for storing products and storage system
CN117155767A (en) Method, apparatus, device, storage medium, and program product for managing server
CN117096817B (en) Relay, relay repair method, device and computer equipment
CN115333044B (en) Instant standby method and system based on intelligent substation chip protection device

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