1. Field of the Invention
The present invention relates to an optical transmission apparatus.
2. Description of the Related Art
In a redundant network configured according to a standard of optical transmission technology such as Synchronous Digital Hierarchy (SDH) or Synchronous Optical Network (SONET), a working line and a protection line are provided between two optical transmission apparatuses. Further, an Automatic Protection Switch (APS) function is provided for switching the working line to the protection line upon the occurrence of failure on the working line, so as to quickly respond to communication failure.
An example of such network configuration implementing the APS function is a network configuration called “1+1 APS” shown in
In the “1+1 APS” as shown in
In the “1+1 APS”, upon occurrence of communication failure on the working line, a selector of an optical transmission apparatus controls switching so as to receive an optical signal from a neighboring optical transmission apparatus over the protection line. Specifically, as shown in
After recovery from the communication failure, normal operation may be performed using the protection line as a working line and the recovered working line as a protection line as shown in
A network configuration so-called “1:1 APS” has also been known that performs switching control at both the receiving end and the sending end of an optical signal.
Another example of the network configuration implementing the APS function is a ring network as shown in
In the normal operation of the “BLSR”, an optical signal is communicated using only one way of a communication path as a working direction. When communication failure occurs, the path direction used in the normal operation is switched to the reverse direction (protection direction) so that the communication failure can be quickly responded. As shown in
In this state, when communication failure occurs between the node 4 and the node 3 as shown in
In the “1+1 APS” or the “BLSR”, an optical transmission apparatus performs switching control of the APS function by exchanging with a neighboring optical transmission apparatus APS bytes (K1/K2 bytes) stored in the overhead of an SDH or a SONET optical signal. For example, when an optical transmission apparatus at the receiving end detects a failure such as a signal failure (SF) or signal degradation (SD), the apparatus notifies information of the failure to a neighboring apparatus using APS bytes storing such information, and performs switching control.
The switching control is performed within 50 milliseconds as required by the GR253 standard.
An example of an architecture realizing the “1+1 APS” or the “BLSR” is a centralized CPU (central processing unit) architecture as shown in
As shown in
Each of the first LIU and the second LIU includes hardware units. The hardware receives APS bytes over the working and the protection lines, and notifies information of SF and SD to the CPU section. The hardware also performs switching in response to a command from the CPU section. Each of the first LIU and the second LIU has a plurality of ports corresponding to the working and the protection lines.
In the centralized CPU architecture, firmware operating in a CPU of the CPU section collects information of the APS bytes from the first LIU and the second LIU, so as to control switching.
For example, when the hardware of the first LIU serving as an interface for the working line detects SF as a switching factor, the hardware notifies the occurrence of the SF to the firmware of the CPU section (see (1) shown in
In the centralized CPU architecture, when a plurality of switching factors occur concurrently, the CPU section is congested with the APS determination process performed by the firmware, causing a problem that switching cannot be performed quickly for such a communication failure.
The problem is addressed with an architecture realizing a “1+1 APS” or a “BLSR”, such as a decentralized or distributed CPU architecture shown in
As with the centralized CPU architecture, the distributed CPU architecture includes a CPU section, and a first LIU and a second LIU each having an interface function for external lines corresponding to the working and the protection lines, as shown in
As in the centralized CPU architecture, a user of the optical transmission apparatus sets via the CPU section, for example, the first LIU to be an interface for the working line and the second LIU to be an interface for the protection line. The first LIU receives such setting information via firmware (user I/F unit) in a CPU of the CPU section, and sets itself to be an interface for the working line. Similarly, the second LIU sets itself to be an interface for the protection line.
In the “1+1 APS”, as required by the GR253 standard, a CPU in an LIU set as an interface for the protection line (the second LIU in
In the distributed CPU architecture, for example, when the hardware of the first LIU serving as an interface for the working line detects SF as a switching factor, it notifies the occurrence of the SF to the firmware in the CPU of the first LIU (see (1) shown in
The firmware of the second LIU provides a result of the APS determination process as a switching notification to the firmware of the first LIU by firmware communication (see (4) shown in
Japanese Examined Patent Application Publication No. H6-30002 discloses a programmable controller in which data is transferred by direct memory access (DMA) from a memory of a master CPU to a memory of a slave CPU, allowing the CPUs to share information Japanese Patent Application Laid-open No. H8-202672 discloses a distributed multiprocessing system that includes processor units (a single master unit and a plurality of slave units) each including a CPU and a memory, and that allows the CPUs to share information by transferring data from the master unit to the slave units via a VERSAmodule Eurocard (VME) bus.
In the conventional configuration, upon detection of a line failure in an LIU installed with a slave CPU, information of the failure needs to be notified to an LIU installed a master CPU, by firmware communication. Because it takes time to notify a large amount of information to the master CPU, switching cannot be performed quickly.
In the conventional configuration, upon occurrence of failure or removal of an LIU installed with a master CPU, a CPU in a neighboring LIU needs to perform the APS determination process as a master CPU. Because the CPU does not hold information of APS bytes having been collected by the master CPU before the occurrence of the failure or removal, switching cannot be performed properly.
In the related arts, upon recovery of an LIU installed with a CPU set as a master CPU, the CPU in the recovered LIU collects information of APS bytes from a CPU in a neighboring LIU. Because the CPU of the neighboring LIU does not hold information of APS bytes having been collected before the occurrence of the failure or removal, the collected information is incomplete. Thus, switching cannot be performed properly.
Such information of APS bytes is collected by firmware communication, thus taking time to collect the information and failing to perform quick switching. Particularly the “BLSR” having a ring network configuration communicates a larger amount of information compared with the “1+1 APS”, thus taking time to collect the information and failing to perform quick switching.
It is an object of the present invention to at least partially solve the problems in the conventional technology.
According to an aspect of the present invention, an optical transmission apparatus for transmitting an optical SDH/SONET signal in a ring network includes a first line card and a second line card, each including a hardware unit, a CPU, and an inter-hardware communicating unit. The hardware unit obtains failure information on the redundant line. The CPU determines switching control of the redundant line based on the failure information obtained by the hardware unit, and thereby the hardware unit switches the redundant line based on the switching control determined by the CPU. The inter-hardware communicating unit communicates, from the hardware unit of one of the first line card and the second line card to the hardware unit of the other of the first line card and the second line card, the failure information obtained by the hardware of the one of the first line card and the second line card.
The above and other objects, features, advantages and technical and industrial significance of this invention will be better understood by reading the following detailed description of presently preferred embodiments of the invention, when considered in connection with the accompanying drawings.
Exemplary embodiments of an optical transmission apparatus according to the present invention will now be described in detail referring to the accompanying drawings. The description starts from an overview and features of an optical transmission apparatus according to a first embodiment of the present invention, and moves to a configuration and a procedure of the optical transmission apparatus according to the first embodiment, advantages of the first embodiment, and finally another embodiment.
Referring to
In the optical transmission apparatus according to the first embodiment, a hardware unit mounted on a redundant LIU obtains failure information on redundant lines including working and protection lines. Based on the received failure information, a CPU mounted on the redundant LIU determines switching control of the redundant lines, and the hardware switches the redundant lines based on the switching control determined by the CPU. In this way, an SDH/SONET optical signal is transmitted. Specifically, in an optical transmission apparatus having a distributed CPU architecture shown in
The optical transmission apparatus according to the first embodiment has such a main feature as being capable of performing quick switching. The main feature is briefly described as follows. In the optical transmission apparatus according to the first embodiment, between pieces of hardware installed in redundant LIUs, hardware installed in one redundant LIU communicates obtained failure information to hardware installed in the other LIU.
Specifically, as shown in (1) in
In the optical transmission apparatus according to the first embodiment, hardware in each redundant LIU stores therein obtained failure information and failure information received from hardware in a neighboring LIU.
Specifically, as shown in (2) of
In the optical transmission apparatus according to the first embodiment, when a predetermined input section receives line setting information that each of the redundant LIUs is an interface for a working line or a protection line, a CPU in an LIU set as an interface for the protection line is determined to be a master CPU, and a CPU in an LIU set as an interface for the working line is determined to be a slave CPU.
Specifically, in the optical transmission apparatus according to the first embodiment, when a user I/F unit in the CPU receives from the user setting information that the second LIU is an interface for the protection line as shown in (3) in
In the optical transmission apparatus according to the first embodiment, the CPU set as the master CPU sets: hardware working under the master CPU to be master hardware; and hardware working under the slave CPU to be slave hardware.
Specifically, the CPU of the second LIU, determined to be the master CPU, sets the hardware working under the master CPU to be master hardware (see (7) in
In the optical transmission apparatus according to the first embodiment, the CPU determined to be the master CPU controls the hardware set as the master hardware to switch the redundant lines. Specifically, as shown in (9) in
In the optical transmission apparatus according to the first embodiment, upon occurrence of failure or removal of the LIU installed with the CPU determined to be the master CPU, the slave CPU is determined to be a new master CPU.
Specifically, upon occurrence of failure or removal of the second LIU installed with the CPU determined to be the master CPU in (4) in
The CPU of the first LIU, determined to be the new master CPU, sets the hardware (slave hardware) working under the CPU to be master hardware as shown in (3) in
In the optical transmission apparatus according to the first embodiment, when the LIU installed with the CPU determined to be the master CPU is recovered from failure or removal, the CPU is redetermined to be the master CPU.
Specifically, when the second LIU installed with the CPU determined to be the master CPU in (4) in
The CPU of the second LIU sets the hardware working under the CPU to be master hardware as shown in (7) in
As such, in the optical transmission apparatus according to the first embodiment, transmission of failure information stored in APS bytes can be realized at a higher speed, compared with a transmission between the CPUs (pieces of firmware) installed in the redundant LIUs. Thus, quick switching can be performed as described as the main feature.
Referring to
As shown in
The CPU 1 includes a user I/F unit 2. The user I/F unit 2 controls to transfer, from a user of the optical transmission apparatus 100 to the first LIU 3 and the second LIU 20, setting information such as “setting the first LIU to be an interface for a working line” or “setting the second LIU to be an interface for a protection line”.
The first LIU 3 includes firmware 4 and hardware 14. The firmware 4 operates in a CPU installed in the first LIU 3, and controls switching of the lines. The hardware 14 in the first LIU 3 detects failure information on the lines from a port group 200, or performs switching in response to the switching controlled by the firmware 4.
The firmware 4 includes a first I/F unit 5, an apparatus monitoring unit 6, a controlling unit 9, and an interruption receiving unit 13.
The first I/F unit 5 transfers information received from the user I/F unit 2 to a setting control receiving unit 11 described later.
The apparatus monitoring unit 6 includes an inter-firmware communicating unit 7, and a CPU master-slave determining unit 8. The inter-firmware communicating unit 7 communicates various kinds of information (e.g., setting information for line interface) with firmware 21 of the second LIU 20. The CPU master-slave determining unit 8 determines a CPU containing the firmware 4 to be a master CPU or a slave CPU, based on information received from the setting control receiving unit 11 (described later).
The controlling unit 9 includes a switch controlling unit 10, the setting control receiving unit 11, and a trigger detecting unit 12.
The setting control receiving unit 11 receives and stores therein setting information transferred from the first I/F unit 5, transfers setting information stored in the inter-firmware communicating unit 7 or the CPU master-slave determining unit 8, receives and stores therein setting information transferred from the inter-firmware communicating unit 7, or transfers a result of switching determination made by the trigger detecting unit 12 to the CPU master-slave determining unit 8.
The trigger detecting unit 12 receives failure information collected by the interruption receiving unit 13 (described later), determines switching, and notifies a result of the switching determination to the switch controlling unit 10 (described later).
The switch controlling unit 10 receives the result of the switching determination made by the trigger detecting unit 12, and commands a switching control register 15 (described later) to control switching.
The interruption receiving unit 13 receives an interruption notification from an interruption trigger detecting unit 18 (described later), and collects failure information stored in a failure monitoring unit 19 (described later). As shown in
The hardware 14 includes the switching control register 15, a hardware master-slave switching unit 16, an inter-hardware communicating unit 17, the interruption trigger detecting unit 18, and the failure monitoring unit 19.
The failure monitoring unit 19 receives and stores therein failure information stored in APS bytes and sent from the port group 200. Further, the failure monitoring unit 19 receives and stores therein failure information, received at hardware of a neighboring LIU (hardware 31 of the second LIU 20) and passed through the inter-hardware communicating unit 17 (described later). The failure monitoring unit 19 may be referred to as an “obtained failure information storing unit”.
The inter-hardware communicating unit 17 communicates failure information obtained by hardware in each redundant LIU to hardware in a neighboring line card.
Specifically, the inter-hardware communicating unit 17 sends to an inter-hardware communicating unit 34 of the second LIU 20 failure information stored in the failure monitoring unit 19 and an interruption notification detected by the interruption trigger detecting unit 18 (described later). Further, the inter-hardware communicating unit 17 receives from the inter-hardware communicating unit 34 failure information stored in the failure monitoring unit 36 of the second LIU 20, and an interruption notification detected by an interruption trigger detecting unit 35 (described later). As shown in
As with the failure monitoring unit 19, the interruption trigger detecting unit 18 receives failure information included in APS bytes from the port group 200, detects the failure information as an interruption notification, and sends the interruption notification to the interruption receiving unit 13. The interruption trigger detecting unit 18 sends the detected interruption notification to the second LIU 20 using the inter-hardware communicating unit 17.
The hardware master-slave switching unit 16 sets the hardware 14 to be either master hardware or slave hardware, based on a result determined by the CPU master-slave determining unit 8. The hardware master-slave switching unit 16 may be referred to as a “hardware master-slave setting unit”.
The switching control register 15 performs switching according to a command from the switch controlling unit 10. For example, the switching control register 15 performs switching according to a command from the switch controlling unit 10, so as to receive an optical signal over a protection line, not a working line.
As shown in
Specific operations of the components will be described below.
Referring to
When a user of the optical transmission apparatus 100 according to the first embodiment inputs to the CPU 1 a setting that the first LIU 3 is an interface for the working line (Step S501), the user I/F unit 2 transfers the received setting information to the first LIU 3 (Step S502), and the first I/F unit 5 of the first LIU 3 transfers the setting information to the setting control receiving unit 11 (Step S503).
Specifically, when the user inputs to the CPU 1 an APS availability setting command (LINESET=Work line) for setting the first LIU 3 to be an interface for the working line, the setting information is transferred to the setting control receiving unit 11 via the user I/F unit 2 and the first I/F unit 5.
The setting control receiving unit 11, when receiving the setting information (Step S504), stores therein the received setting information (Step S505) while commanding the inter-firmware communicating unit 7 to notify the received setting information to the second LIU 20 (Step S506). Accordingly, the inter-firmware communicating unit 7 notifies the setting information to an inter-firmware communicating unit 24 (Step S507).
The inter-firmware communicating unit 24, when receiving the setting information from the inter-firmware communicating unit 7, transfers the setting information to a setting control receiving unit 28 (Step S508). The setting control receiving unit 28 receives the setting information (Step S509), and stores therein the received setting information (Step S510).
In this way, the firmware 4 in the CPU of the first LIU 3 stores therein information that the first LIU 3 has been set as an interface for the working line. By firmware communication, the firmware 21 in the CPU of the second LIU 20 receives and stores therein the information that the first LIU 3 has been set as an interface for the working line.
When the user of the optical transmission apparatus 100 according to the first embodiment inputs to the CPU 1 a setting that the second LIU 20 is an interface for the protection line (Step S511), the user I/F unit 2 transfers the received setting information to the second LIU 20 (Step S512), and a second I/F unit 22 of the second LIU 20 transfers the setting information to the setting control receiving unit 28 (Step S513).
Specifically, when the user inputs to the CPU 1 an APS availability setting command (LINESET=Protection line) for setting the second LIU 20 to be an interface for the protection line, the setting information is transferred to the setting control receiving unit 28 via the user I/F unit 2 and the second I/F unit 22.
The setting control receiving unit 28, when receiving the setting information (Step S514), stores therein the received setting information (Step S515) while commanding the inter-firmware communicating unit 24 to notify the received setting information to the first LIU 3 (Step S516). Accordingly, the inter-firmware communicating unit 24 notifies the setting information to the inter-firmware communicating unit 7 (Step S517).
The inter-firmware communicating unit 7, when receiving the setting information from the inter-firmware communicating unit 24, transfers the setting information to the setting control receiving unit 11 (Step S518). The setting control receiving unit 11 receives the setting information (Step S519), and stores therein the received setting information (Step S520).
In this way, the firmware 21 in the CPU of the second LIU 20 receives and stores therein information that the second LIU 20 has been set as an interface for the protection line. By firmware communication, the firmware 4 in the CPU of the first LIU 3 receives and stores therein the information that the second LIU 20 has been set as an interface for the working line.
The setting control receiving unit 28, having received and stored therein the information that the second LIU 20 has been set as an interface for the protection line, sends the setting information to a CPU master-slave determining unit 25 (Step S521). The CPU master-slave determining unit 25 receives the information that the second LIU 20 has been set as an interface for the protection line (Step S522), and determines a master-slave relationship of the CPU containing the firmware 21, so as to perform switching (Step S523).
Specifically, because the second LIU 20 has been set as an interface for the protection line, the CPU master-slave determining unit 25 determines the CPU containing the firmware 21 to be a master CPU. Because the CPU in the LIU is initially set as a master CPU, no switching actually occurs.
The CPU master-slave determining unit 25 sends the determination result to a hardware master-slave switching unit 33 (Step S524). In response to the determination result, the hardware master-slave switching unit 33 performs switching of the hardware 31 (Step S525).
Specifically, because the CPU containing the firmware 21 has been determined to be a master CPU, the hardware master-slave switching unit 33 in the hardware 31 switches the hardware 31 to be master hardware.
The CPU master-slave determining unit 25, having determined the CPU containing the firmware 21 to be a master CPU, commands the inter-firmware communicating unit 24 to provide the first LIU 3 with a notification for switching a master-slave relationship (Step S526). The inter-firmware communicating unit 24 sends the switching notification to the inter-firmware communicating unit 7 (Step S527), and the inter-firmware communicating unit 7 transfers the received switching notification to the CPU master-slave determining unit 8 (Step S528).
The CPU master-slave determining unit 8 receives the switching notification based on the determination result made by the CPU master-slave determining unit 25, and performs switching (Step S529). Because the CPU containing the firmware 21 has been determined to be a master CPU, the CPU master-slave determining unit 8 switches the CPU containing the firmware 4 to be a slave CPU. Specifically, the CPU master-slave determining unit 8 shifts the setting of the CPU containing the firmware 4 from the initial master CPU to a slave CPU.
The hardware master-slave switching unit 16 receives the switching notification from the CPU master-slave determining unit 8, and performs switching of the hardware 14 (Step S530). Specifically, because the CPU containing the firmware 4 has been switched to be a slave CPU, the hardware master-slave switching unit 16 in the hardware 14 switches the hardware 14 to be slave hardware.
This process allows the firmware 21 to control the hardware 31 and the hardware 14, allowing the optical transmission apparatus 100 to be in normal operational state.
Assume that the process at Step S530 shown in
The inter-hardware communicating unit 34, when receiving the failure information transferred from the inter-hardware communicating unit 17 (Step S604), transfers the failure information to the failure monitoring unit 36 (Step S605). The failure monitoring unit 36 stores therein the failure information received from the first LIU 3 (Step S606).
For example, the failure monitoring unit 19 of the first LIU 3, which is the interface for the working line, when receiving APS information of signal failure (SF), stores therein the SF information while sending the SF information to the failure monitoring unit 36 of the second LIU 20 by inter-hardware communication. The second LIU 20 stores in the failure monitoring unit 36 the failure information received from the first LIU 3, and updates it. As a result, the same failure information is stored in the failure monitoring units 19 and 36.
Concurrently with the reception of the failure information at the failure monitoring unit 19 of the first LIU 3 at Step S601, the interruption trigger detecting unit 18 of the first LIU 3 detects from the ports the same information as the failure information received at and stored in the failure monitoring unit 19. The interruption trigger detecting unit 18 then sends to the interruption receiving unit 13 and the inter-hardware communicating unit 17 an interruption notification notifying that the failure information has been interrupted (Step S607).
The inter-hardware communicating unit 17 transfers the received interruption notification to the inter-hardware communicating unit 34 of the second LIU 20 equipped with a master CPU (Step S608). The inter-hardware communicating unit 34 receives the interruption notification (Step S609), and transfers it to the interruption trigger detecting unit 35 (Step S610).
The interruption trigger detecting unit 35 detects the interruption notification from the inter-hardware communicating unit 34, and sends it to an interruption receiving unit 30 (Step S611). In response to the interruption notification, the interruption receiving unit 30 collects the failure information at the fifth to the eighth ports from the failure monitoring unit 36 of the hardware 31 (Step S612). The interruption receiving unit 30 then notifies the collected failure information to a trigger detecting unit 29 and requests switching (Step S613).
The trigger detecting unit 29 receives the failure information collected by the interruption receiving unit 30, and determines switching based on the received failure information (Step S614). Specifically, the trigger detecting unit 29 determines to switch the working line to the protection line.
The trigger detecting unit 29 notifies the result of the switching determination to a switch controlling unit 27 (Step S615). The switch controlling unit 27, when receiving the result of the switching determination (Step S616), provides a command for controlling switching to a switching control register 32 (Step S617), and the switching control register 32 performs switching according to the command from the switch controlling unit 27 (Step S618). Specifically, the switching control register 32 performs switching at the fifth to the eighth ports according to the command from the switch controlling unit 27, so as to receive an optical signal over the protection line.
The interruption receiving unit 13, when receiving the interruption notification from the interruption trigger detecting unit 18, collects the failure information from the failure monitoring unit 19 of the hardware 14, as in the same way of the interruption receiving unit 30 (Step S619). The interruption receiving unit 13 then notifies the collected failure information to the trigger detecting unit 12 and requests switching (Step S620).
The trigger detecting unit 12 receives the failure information collected by the interruption receiving unit 13, determines switching based on the received failure information (Step S621), and notifies a result of the switching determination to the switch controlling unit 10 (Step S622). The switch controlling unit 10, when receiving the result of the switching determination (Step S623), provides the switching control register 15 with a command for controlling switching (Step S624), and the switching control register 15 performs switching according to the command from the switch controlling unit 10 (Step S625). However, no switching actually occurs on the hardware 14 of the first LIU 3 at Step S530 shown in
Assume that the process at Step S530 shown in
The failure monitoring unit 19 stores therein the received notification of the removal as failure information (Step S702). The interruption trigger detecting unit 18 detects the received notification of the removal as an interruption notification of the failure occurrence, and sends the interruption notification to the interruption receiving unit 13 (Step S703).
In response to the interruption notification, the interruption receiving unit 13 collects the failure information from the failure monitoring unit 19 (Step S704), and notifies the collected failure information to the trigger detecting unit 12 (Step S705).
The trigger detecting unit 12 determines switching based on the failure information received from the interruption receiving unit 13 (Step S706). Specifically, based on the information indicating the removal of the second LIU 20 installed with a master CPU, the trigger detecting unit 12 determines switching in the first LIU 3 installed with the slave CPU and the slave hardware. More specifically, the trigger detecting unit 12 shifts the slave CPU to be a master CPU, and the slave hardware to be master hardware.
The setting control receiving unit 11 receives the result of the switching determination from the trigger detecting unit 12, and notifies it to the CPU master-slave determining unit 8 (Step S707). Based on the received result of the switching determination, the CPU master-slave determining unit 8 switches the setting of the CPU containing the firmware 4 from a slave CPU to a master CPU (Step S708).
The CPU master-slave determining unit 8 sends the result of the switching determination to the hardware master-slave switching unit 16 (Step S709). Based on the received result of the switching determination, the hardware master-slave switching unit 16 switches the setting of the hardware 14 from slave hardware to master hardware.
Although the present embodiment describes the removal of the second LIU 20 installed with a master CPU, the similar processes are performed also in the occurrence of failure in the second LIU 20 installed with a master CPU.
Assume that the process at Step S710 shown in
The failure monitoring unit 19 stores therein the received removal recovery notification (Step S802). The interruption trigger detecting unit 18 detects the received removal recovery notification as an interruption notification, and sends the interruption notification to the interruption receiving unit 13 (Step S803), and the interruption receiving unit 13 receives the interruption notification (removal recovery information) (Step S804).
The failure monitoring unit 19 commands the inter-hardware communicating unit 17 to transfer all failure information stored in the failure monitoring unit 19 to the second LIU 20 (Step S805). The inter-hardware communicating unit 17 transfers the failure information stored in the failure monitoring unit 19 to the inter-hardware communicating unit 34 of the second LIU 20 (Step S806).
The inter-hardware communicating unit 34 receives all the failure information stored in the failure monitoring unit 19 of the first LIU 3 via the inter-hardware communicating unit 17 (Step S807), and sends it to the failure monitoring unit 36 (Step S808).
The failure monitoring unit 36 stores therein all the failure information received from the inter-hardware communicating unit 34 and having been stored in the failure monitoring unit 19 (Step S809).
When the user I/F unit 2 of the CPU 1 provides a command for resetting the setting stored in the CPU 1, i.e., the setting that the second LIU 20 is set as an interface for the protection line (Step S810), the second I/F unit 22 of the second LIU 20 transfers the setting information to the setting control receiving unit 28 (Step S811).
The setting control receiving unit 28, when receiving the setting information (Step S812), stores therein the received setting information, and collects failure information from the failure monitoring unit 36 (Step S813). In this way, all the failure information is recovered also in the firmware 21.
The setting control receiving unit 28 then commands the inter-firmware communicating unit 24 to provide the first LIU 3 with a recovery completion notification (Step S814). The inter-firmware communicating unit 24 transfers the recovery completion notification to the inter-firmware communicating unit 7 (Step S815).
The inter-firmware communicating unit 7 receives the recovery completion notification from the inter-firmware communicating unit 24, and transfers it to the setting control receiving unit 11 (Step S816). The setting control receiving unit 11 receives and stores therein the recovery completion notification (Step S817). Specifically, the setting control receiving unit 11 stores therein information that the second LIU 20 has been reset as an interface for the protection line, and that the failure information has been completely recovered.
The setting control receiving unit 28 provides the recovery completion notification at Step S814, and also sends to the CPU master-slave determining unit 25 the setting information that the second LIU 20 has been reset as an interface for the protection line (Step S818).
The CPU master-slave determining unit 25 receives the setting information (Step S819), and determines a master-slave relationship of the CPU containing the firmware 21, so as to perform switching (Step S820).
Specifically, because the second LIU 20 has been reset as an interface for the protection line, the CPU master-slave determining unit 25 determines the CPU containing the firmware 21 to be a master CPU. Because the CPU in the LIU is initially set as a master CPU, no switching actually occurs.
Further, the CPU master-slave determining unit 25 sends the determination result to the hardware master-slave switching unit 33 (Step S821). In response to the determination result, the hardware master-slave switching unit 33 performs switching of the hardware 31 (Step S822).
Specifically, because the CPU containing the firmware 21 has been determined to be a master CPU, the hardware master-slave switching unit 33 in the hardware 31 switches the hardware 31 to be master hardware.
The setting control receiving unit 11, when storing therein the recovery completion notification as shown in Step S817, sends to the CPU master-slave determining unit 8 the recovery completion notification including the setting information that the second LIU has been reset as an interface for the protection line (Step S823).
The CPU master-slave determining unit 8 receives the recovery completion notification including the setting information, and determines a master-slave relationship of the CPU containing the firmware 4, so as to perform switching (Step S824).
Specifically, because the second LIU 20 has been reset as an interface for the protection line, the CPU master-slave determining unit 8 determines the CPU containing the firmware 4 to be a slave CPU, and switches the setting of the CPU from a master CPU to a slave CPU.
The CPU master-slave determining unit 8 sends the determination result to the hardware master-slave switching unit 16 (Step S825). In response to the determination result, the hardware master-slave switching unit 16 performs switching of the hardware 14 (Step S826).
Specifically, because the CPU containing the firmware 4 has been determined to be a slave CPU, the hardware master-slave switching unit 16 in the hardware 14 switches the setting of the hardware 14 from master hardware to slave hardware. Accordingly, the normal operational state comes back, which corresponds to processes subsequent to Step S530 shown in
Although the present embodiment describes the processes performed in reinstallation of the removed second LIU 20 installed with a master CPU, the similar processes are performed also in recovery from failure in the second LIU 20 installed with a failed master CPU.
According to the first embodiment, between pieces of hardware installed in the redundant LIUs, hardware in one redundant LIU communicates obtained failure information to hardware in the other LIU. This arrangement allows high speed transmission of failure information (e.g., SF or SD) stored in APS bytes, compared with transmission between the CPUs (pieces of firmware) in the redundant LIUs. Thus, switching can be performed quickly.
According to the first embodiment, hardware installed in each of the redundant LIUs stores therein obtained failure information, and failure information received from hardware in a neighboring LIU. This arrangement allows sharing of failure information stored in APS bytes and held in a neighboring LIU, while updating the information to new failure information by faster inter-hardware communication. Thus, switching can be performed quickly and properly. Further, because failure information of a neighboring line card can be stored, switching can be performed quickly and properly even upon occurrence of failure or removal of the neighboring line card.
According to the first embodiment, when a predetermined input section receives line setting information that each of the redundant LIUs is an interface for the working line or the protection line, a CPU in an LIU set as an interface for the protection line is determined to be a master CPU, and a CPU in an LIU set as an interface for the working line is determined to be a slave CPU. The CPU determined to be the master CPU sets: hardware working under the master CPU to be master hardware, and hardware working under the slave CPU to be slave hardware. Further, the CPU determined to be the master CPU controls the hardware set as the master hardware to switch the redundant lines. This arrangement allows the master CPU to dominantly control switching. Thus, switching can be performed quickly and properly.
According to the first embodiment, upon occurrence of failure or removal of the LIU installed with the CPU determined to be the master CPU, the slave CPU is determined to be a new master CPU. This arrangement allows the new master CPU to control switching referring to failure information of a neighboring LIU, which is stored in the hardware working under the new master CPU. Thus, switching can be performed quickly and properly.
According to the first embodiment, upon recovery from failure or removal of the LIU installed with the CPU determined to be the master CPU, the CPU is redetermined to be the master CPU. This arrangement allows the CPU redetermined to be the master CPU to control switching referring to failure information completely recovered from failure information having been stored in the neighboring LIU and received by the hardware working under the master CPU. Thus, switching can be performed quickly and properly.
By inter-hardware communication, in the optical transmission apparatus according to the first embodiment, the processing time shown in
Although the foregoing describes the optical transmission apparatus according to the first embodiment, the present invention may be practiced in various forms other than the first embodiment. The following describes a different arrangement (1) of an optical transmission apparatus according to a second embodiment.
(1) System Configuration
As to the processes described in the first embodiment as being performed automatically, all of or part of the processes may be performed manually (not by receiving user setting information, but by previously setting, for example, an LIU to be an interface for the working line or the protection line depending on an installation position of the LIU). Alternatively, as to the processes described as being performed manually, all of or part of the processes may be performed automatically by known methods. In addition, the processing procedures, specific names, various types of data and parameters, and other kinds of information shown in the embodiment and the drawings may be changed in any way unless otherwise specified.
Further, constituting elements of each apparatus shown in the drawings indicate ideational functions, and their physical arrangements are not necessarily the same as those shown in the drawings. Thus, the arrangement of distributing and integrating the processing units and storing units is not limited to those specifically shown in the drawings (e.g., arrangement shown in
An optical transmission apparatus according to the embodiments of the present invention may be realized by implementing a prepared program on a computer or a workstation. The program may be distributed over a network such as the Internet. Further, the program may be implemented by being recorded to a computer-readable recording medium, such as a hard disk, a flexible disk (FD), a compact disk read only memory (CD-ROM), a magnet optical disk (MO), or a digital versatile disk (DVD), and then by being read out from such a recording medium with a computer.
According to the embodiment of the present invention, between pieces of hardware mounted on the redundant line cards, hardware in one redundant line card communicates obtained failure information to hardware in the other line card. This arrangement allows high speed transmission of failure information included in APS bytes, compared with transmission between CPUs (pieces of firmware) in the redundant line cards. Thus, switching can be performed quickly.
According to the embodiment of the present invention, hardware mounted on each of the redundant line cards stores therein obtained failure information, and failure information received from hardware in a neighboring line card. This arrangement allows sharing of failure information included in APS bytes and held in a neighboring line card, while updating the information to new failure information by faster inter-hardware communication. Thus, switching can be performed quickly. Moreover, upon occurrence of failure or removal of the neighboring line card, the failure information of the neighboring line card can be stored. Thus, switching can also be performed quickly and properly.
According to the embodiment of the present invention, when a predetermined input section receives line setting information that each of the redundant line cards is an interface for the working line or the protection line, a CPU installed in a line card set as an interface for the protection line is determined to be a master CPU, and a CPU installed in a line card set as an interface for the working line is determined to be a slave CPU. The CPU determined to be the master CPU sets: the hardware working under the master CPU to be master hardware; and the hardware working under the slave CPU to be slave hardware. Further, the CPU determined to be the master CPU controls the hardware set as the master hardware to switch the redundant lines. This arrangement allows the master CPU to dominantly control switching. Thus, switching can be performed quickly and properly.
According to the embodiment of the present invention, upon occurrence of failure or removal of the line card installed with the CPU determined to be the master CPU, the slave CPU is determined to be a new master CPU. This arrangement allows the new master CPU to control switching by referring to failure information of a neighboring line card, which is stored in the hardware working under the new master CPU. Thus, switching can be performed quickly and properly.
According to the embodiment of the present invention, upon recovery from failure or removal of the line card installed with the CPU determined to be the master CPU, the CPU is redetermined to be the master CPU. This arrangement allows the redetermined master CPU to control switching, referring to failure information completely recovered from failure information having been stored in the neighboring LIU and received by the hardware working under the master CPU. Thus, switching can be performed quickly and properly.
Although the invention has been described with respect to specific embodiments for a complete and clear disclosure, the appended claims are not to be thus limited but are to be construed as embodying all modifications and alternative constructions that may occur to one skilled in the art that fairly fall within the basic teaching herein set forth.
Number | Date | Country | Kind |
---|---|---|---|
2007-069509 | Mar 2007 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
6992978 | Humblet et al. | Jan 2006 | B1 |
20030043734 | Takeguchi | Mar 2003 | A1 |
Number | Date | Country |
---|---|---|
61-128302 | Jun 1986 | JP |
5-235912 | Sep 1993 | JP |
6-30002 | Apr 1994 | JP |
8-202672 | Aug 1996 | JP |
10-327215 | Dec 1998 | JP |
2000-49731 | Feb 2000 | JP |
2002-374229 | Dec 2002 | JP |
2004-112721 | Apr 2004 | JP |
2006-5611 | Jan 2006 | JP |
Number | Date | Country | |
---|---|---|---|
20080226304 A1 | Sep 2008 | US |