The foregoing will be apparent from the following more particular description of example embodiments of the invention, as illustrated in the accompanying drawings in which like reference characters refer to the same parts throughout the different views. The drawings are not necessarily to scale, emphasis instead being placed upon illustrating embodiments of the present invention.
A description of example embodiments of the invention follows.
In optical Ethernet networks, methods to detect receiver side link loss on a transmit side of the network are complicated and expensive. Example embodiments of the present invention can accomplish informing a network node on the transmit side of a network link by disabling communications from a network node on a receive side of the network link to the network node on the transmit side of the communications link. The network node on the transmit side of the communications link detects the receiver side loss through this indirect technique and works within existing protocols of network nodes. Example embodiments of the invention can work on all optical Ethernet interfaces regardless of speed and is less expensive than employing more expensive optical transmitters.
In operation of this example embodiment, Ethernet switch A 205a transmits communications 220 from its Tx interface 215a on a first communications link 207 to be received by Ethernet switch B's 205b Rx interface 210b. Responsive to or independent from the communications 220, Ethernet switch B 205b transmits communications 225 from its Tx interface 215b on a second communications link 208 to be received by Ethernet switch A's 205a Rx interface 210a. The communications 220, 225 may continue for an unspecified length of time.
The communications 220, 225 may include voice, data, speech, or other information. The communications links 207, 208 may be an optical communications link, wired communications link, or wireless communications link, such as a radio frequency or infrared communication link. Also, although illustrated as two communications link 207, 208, it should be understood that a single communications link may be employed (e.g., fiber optic), and the Rx/Tx interfaces 210a, 210b, 215a, 215b may be combined into respective transceivers with communications being carried on different frequencies in the different directions or isolated in some other manner known in the art.
Communications between Ethernet switch A 205a and Ethernet switch 205b are referenced herein from a point of view of one of the switches 205a, 205b on a case-by-case basis. For instance, from the point of view of switch B 205b, “receive direction” communications are the communications 220, 250 on the first communications link 207 and “transmit direction” communications are communications 225, 245 on the second communications link 208.
In an event Ethernet switch B 205b determines the communications link 207 enters a fault state 235 (e.g., a loss of signal occurs due to a link cut, Tx 215a failure, or other fault, such as a communication protocol error), in an example embodiment, Ethernet switch B 205b disables communications 225, 230 from itself to Ethernet switch A 205a to inform Ethernet switch A 205a indirectly that a fault on the first communication link 207 has been detected. Ethernet switch A 205a may then assist in attempting to correct the fault state of communications from Ethernet switch A 205a to Ethernet switch B 205b.
A “disabled” indicator 240 may be a length of time during which communications between Ethernet switch A 205a and Ethernet switch B 205b are discontinued or otherwise prevented from being received at Ethernet switch B 205b. It may also be a length of time in which “idle” messages or other representations of disabled communications are sent.
After waiting a given length of time according to the disabled indicator 240 to provide Ethernet switch A 205a an opportunity to restore the communications link, Ethernet switch B 205b may then resume sending communications 245 to Ethernet switch A 205a. The given length of time may be a predefined length of time, a length of time of at least ten seconds, or a length of time determined in a dynamic manner based on network conditions, such as loading or other factors.
Ethernet switch B 205b may then identify the status of the communications link. The status of the communications link may be identified by Ethernet switch B 205b by detecting communications 250 in the receive direction of the communications link 207. Ethernet switch B 205b may attempt to determine the status of the communications link 207 multiple times after re-enabling transmission of communications 245 to Ethernet switch A 205a in the transmit direction.
If the communications link is in a non-fault state, such that Ethernet switch B 205b is receiving communications 250 from Ethernet switch A 205a, the switches 205a, 205b resume normal operations. However, if the link 207 continues to remain in a fault state, Ethernet switch B 205b may report a link fault. Reporting the link fault may include sending a Loss of Signal alarm indicator to a central office (not shown). Alternatively, the disabling, enabling, identifying, and reporting may be repeated at least until the status of the communications link 207 is a non-fault state 250.
In an event node B 305b detects a fault state, node B 305b disables 315 its transmissions to node A 305a. The resulting state 320 of data communications between node B 305b and node A 305a is such that node B 305b no longer transmits data to node A 305a while the transmission of data from node A 305a to node B 305b remains in a fault state. Data in this case means substantive data. Non-transmission of data or data representing an idle state or other non-substantive data may be communicated during the “no transmission” state in the transmit direction from node B 305b to node A 305a. Node B 305b then waits a length of time 325 so that node A 305a can detect 330 a loss of signal in its receiver and attempt to recover through autonegotiation 340 or other known recovery process. At this point, the state 350 of data communications between node B 305b and node A 305a remains such that node B 305b continues not to transmit data to node A 305a while the transmission of data from node A 305a to node B 305b remains in a fault state or data transmissions begin again.
After expiration of the amount of time to wait 325, node B 305b enables 355 its transmission to node A 305a. The state 360 of data communications between node B 305b and node A 305a becomes such that node B 305b transmits data to node A 305a while the transmission of data from node A 305a to node B 305b remains in a fault state or data from node A 305a to node B 305b is again active. Node B 305b may attempt to identify 365 the link operational state to determine the state of data communications from node A 305a to node B 305b. If the state 370 of data communications between node B 305b and node A 305a is such that the link is in a non-fault state (i.e., node B 305b transmits data to node A 305a and node A 305a once again transmits data to node B 305a successfully), the communications link can resume normal operations 375. However, if the state 380 of data communications between node B 305b and node A 305a is such that node B 305b transmits data to node A 305a but the transmission of data from node A 305a to node B 305b remains in a fault state, then node B 305b reports a link fault 385.
In operation, the detection unit 550 may detect a link fault in a receive direction of a communications link 508. The management unit 545 responsively causes node B 505b to disable communications in a transmit direction of a communications link 507, represented as a transition from state (a) 562a to state (b) 562b. The management unit 545 causes node B 505b to enable communications in the transmit direction of the communications link 507 after a given length of time, represented as a transition from state (b) 562b to state (c) 562c. The identification unit 555 identifies an operational state of the communications link 508 after the given length of time, T. The reporting unit 560 reports a link fault in an event the operational state of the communications link 508 is in a fault state.
In operation, the detection unit 550 may detect a link fault in a receive direction of a communications link 508. The management unit 545 responsively causes node B 505b to disable communications in a transmit direction of a communications link 507, represented as a transition from state (a) 563a to state (b) 563b. The management unit 545 causes node B 505b to enable communications in the transmit direction of the communications link 507 after a given length of time, represented as a transition from state (b) 563b to state (c) 563c. The identification unit 555 identifies an operational state of the communications link 508 after the given length of time, T. The reporting unit 560 reports a link fault in an event the operational state of the communications link 508 is in a fault state.
In operation, the detection unit 550 may detect a link fault in a receive direction of a communications link 508 by detecting a loss of the communications signal 585 at a first communications tap 570 or a high bit error rate or other typical fault indication. The management unit 545 responsively causes node B 505b to disable communications in a transmit direction of the communications link 507 by “breaking” the communications link 507 at a second communications tap 565, represented as a transition from state (a) 564a to state (b) 564b. The management unit 545 causes node B 505b to enable communications in the transmit direction of the communications link 507 after a given length of time by restoring the communications link 507 at the second communications tap 565, represented as a transition from state (b) 564b to state (c) 564c. The identification unit 555 identifies an operational state of the communications link 508 after the given length of time, T. The reporting unit 560 reports a link fault in an event the operational state of the communications link 508 is in a fault state.
The detection unit 650 communicates with the management unit 645. The management unit 645 sends a Rx signal state 647 to the detection unit 650 so that the detection unit 650 may detect a link fault in a receive direction of a communications link. Throughout its operation, the detection unit 650 sends a Rx status 652 that it has detected to the management unit 645.
If the detection unit 650 detects a link fault in a receive direction of the communications link and sends a Rx status 652 that it has detected to the management unit 645, the management unit 645, via the physical interface 635, responsively disables communications in a transmit direction of the communications link.
The identification unit 655 communicates with the management unit 645. The management unit 645 sends Tx and Rx signal states 664 to the identification unit 655 to identify an operational state of the communications link. The identification unit 655 sends the identified link state 657 to the management unit 645.
The reporting unit 660 communicates with the management unit 645. If a link state 657 identified by the identification unit 655 is in a fault state, the management unit 645 sends a link state 658 to the reporting unit 660. The reporting unit 660 sends a loss of signal or other alarm 612 to the central office 610. The reporting unit 660 then sends an alarm state 662 to the management unit 645. Alternatively, if the link state 657 identified by the identification unit 655 is in a non-fault state, the link fault has been eliminated and the communications link resumes its normal operations.
In this example, the delay period of the first delay loop 715 is ten to fifteen seconds 717, but other lengths of time may be used, depending on various factors, such as network requirements or congestion. Once the delay period 717 of the first delay loop 715 has expired, the flow diagram 700 may turn the transmit laser on 720 in node B to resume data transmission on Txb. Next, the flow diagram 700 tests whether Rxb is receiving data 725. If it is, the data link has been restored, and the link is known to be in a non-fault state 730. Otherwise, the flow diagram 700 enters a second delay loop 735, during which time there may be repeated checks to determine whether the data link has been restored. In this example, the delay period of the second delay loop 735 is two to five seconds 737, but other lengths of time may be used, again, depending on various factors. Once the delay period 737 of the second delay loop 735 has expired, the flow diagram 700 may repeat, starting by shutting off 710 the transmit laser.
While this invention has been particularly shown and described with references to example embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the invention encompassed by the appended claims.
For example., the processors of
It should be understood that the flow diagrams, such as