This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2011-118444, filed on May 26, 2011, the entire contents of which are incorporated herein by reference.
The embodiments discussed herein are directed to a transmission apparatus and a transmission method.
An IP-based network, such as an Ethernet (registered trademark), accommodates a plurality of transmission apparatuses and has a maintenance function for checking continuity between the transmission apparatuses, identifying a fault part on the network, and the like. As a technology with the maintenance function, Ethernet OAM (Operation Administration Management) is known. The Ethernet OAM is standardized, for example, in IEEE (802.1ag), ITU-T (Y1731), and the like. The Ethernet OAM includes a continuity check (CC) function of transmitting and receiving a CCM (Continuity Check Messages) frame between transmission apparatuses on a regular basis thereby quickly detecting a fault, for example, mainly for the purpose of checking for continuity between the transmission apparatuses. Specifically, a transmission apparatus transmits a CCM frame to an opposite transmission apparatus on a regular basis. When the opposite transmission apparatus fails to receive the CCM frame on a regular basis, occurrence of a fault (loss of connectivity (LOC)) between the transmission apparatus and the opposite transmission apparatus is detected.
Furthermore, to check a fault, there is a loop back (LB) function of checking whether a CCM frame is properly returned from the opposite transmission apparatus in accordance with an instruction made by user operation, for example, mainly for the purpose of identifying a fault part and is a function. Moreover, there is a link trace (LT) function of transmitting a CCM frame and checking an acknowledgment of the CCM frame from a relaying transmission apparatus mainly for the purpose of narrowing down a fault part in the event of a fault and is a function.
At the management level “B1”, the transmission apparatus 101A, the transmission apparatus 101C, and the transmission apparatus 101E are set as an MEP, and the transmission apparatus 101B and the transmission apparatus 101D are set as an MIP. The MEP transmission apparatus 101A transmits a CCM frame to the MEP transmission apparatus 101C via the MIP transmission apparatus 101B (Step S103). Upon receipt of the CCM frame from the transmission apparatus 101A, the MEP transmission apparatus 101C transmits the CCM frame to the opposite MEP transmission apparatus 101E via the MIP transmission apparatus 101D (Step S103A). Upon receipt of the CCM frame from the transmission apparatus 101C, the MEP transmission apparatus 101E transmits the CCM frame to the MEP transmission apparatus 101C via the MIP transmission apparatus 101D (Step S104). Upon receipt of the CCM frame from the transmission apparatus 101E, the MEP transmission apparatus 101C transmits the CCM frame to the opposite MEP transmission apparatus 101A via the MIP transmission apparatus 101B (Step S104A). As a result, continuity between the MEP transmission apparatuses 101A, 101C, and 101E can be checked.
At the management level “C1”, the transmission apparatus 101A, the transmission apparatus 101B, the transmission apparatus 101C, the transmission apparatus 101D, and the transmission apparatus 101E are set as an MEP. The MEP transmission apparatus 101A transmits a CCM frame to the MEP transmission apparatus 101B (Step S105). Upon receipt of the CCM frame from the transmission apparatus 101A, the MEP transmission apparatus 101B transmits the CCM frame to the MEP transmission apparatus 101C (Step S105A). Upon receipt of the CCM frame from the transmission apparatus 101B, the MEP transmission apparatus 101C transmits the CCM frame to the MEP transmission apparatus 101D (Step S105B). Upon receipt of the CCM frame from the transmission apparatus 101C, the MEP transmission apparatus 101D transmits the CCM frame to the opposite MEP transmission apparatus 101E (Step S105C).
Upon receipt of the CCM frame from the transmission apparatus 101D, the MEP transmission apparatus 101E transmits the CCM frame to the MEP transmission apparatus 101D (Step S106). Upon receipt of the CCM frame from the transmission apparatus 101E, the MEP transmission apparatus 101D transmits the CCM frame to the MEP transmission apparatus 101C (Step S106A). Upon receipt of the CCM frame from the transmission apparatus 101D, the MEP transmission apparatus 101C transmits the CCM frame to the MEP transmission apparatus 101B (Step S106B). Upon receipt of the CCM frame from the transmission apparatus 101C, the MEP transmission apparatus 101B transmits the CCM frame to the MEP transmission apparatus 101A (Step S106C). As a result, continuity between the MEP transmission apparatuses 101A, 101B, 101C, 101D, and 101E can be checked.
[Patent document 1]: Japanese Laid-open Patent Publication No. 2008-236267
[Patent document 2]: Japanese Laid-open Patent Publication No. 2009-152727
However, transmission timing of a CCM frame transmitted from the MEP transmission apparatus 101 on a regular basis is the same at all the management levels. Therefore, a plurality of CCM frames are transmitted from the MEP transmission apparatus 101 at all the management levels at the same timing, so traffic is momentarily increased. Consequently, when respective timings for the opposite MEP transmission apparatus 101 to receive monitoring frames, such as the CCM frames at all the management levels, are the same timing or close to one another, the opposite MEP transmission apparatus 101 is congested with reception processing of the monitoring frames. As a result, the processing load on the MEP transmission apparatus 101 for the reception processing of the monitoring frames is increased, and therefore, hardware, such as a CPU or an L2 switch, has to be sophisticated to meet the maximum processing load.
According to an aspect of an embodiment of the invention, a transmission apparatus includes: a determining unit that determines whether reception processing of monitoring frames received from a plurality of transmission apparatuses is in a congestion state; a calculating unit that calculates an adjustment amount for adjusting transmission timing of each monitoring frame related to the transmission apparatus so as to decentralize reception processing of monitoring frames in case that the reception processing is in a congestion state; a transmitting unit that transmits the adjustment amount calculated by the calculating unit to a source transmission apparatus; and an adjusting unit that adjusts transmission timing of a monitoring frame to be transmitted to another transmission apparatus on the basis of an adjustment amount in case of receiving the adjustment amount from the another transmission apparatus.
The object and advantages of the embodiment will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the embodiment, as claimed.
Preferred embodiments of the present invention will be explained with reference to accompanying drawings. Incidentally, the present invention is not limited to the embodiments.
The CPU 16 controls the entire transmission apparatus 2, and reads out the CCM processing program stored in the ROM 15 and performs a CCM processing function. Incidentally, a determining unit, a calculating unit, and an adjusting unit in claims are implemented by the CPU 16. The CPU 16 receives a CCM frame via the input interface 11. The CPU 16 transmits a CCM frame via the output interface 12. The CPU 16 receives a CCM frame that the input interface 11 has received from another transmission apparatus 2. Furthermore, the CPU 16 analyzes a received CCM frame. Then, based on a result of the analysis, the CPU 16 determines whether there is warning information on the basis of RDI information included in the CCM frame. When there is warning information, the CPU 16 stores the warning information in the warning-information storage unit 14A.
Furthermore, the CPU 16 determines whether reception processing of the received CCM frame is in a congestion state on the basis of the result of the analysis. Incidentally, the congestion state is, for example, a state in which reception processing of a plurality of CCM frames at different management levels is congested upon reception of the CCM frames at the same timing or about the same timing within a transmission period defined in the CCM frames. When the reception processing is in a congestion state, the CPU 16 calculates an adjustment amount for adjusting the timing for the opposite MEP transmission apparatus 2 at each management level to transmit a CCM frame on the basis of the congestion state. Moreover, the CPU 16 determines whether an adjustment amount has been added into a particular area of the CCM frame received from the MEP transmission apparatus 2 on the basis of the result of the analysis. When an adjustment amount has been added into a particular area of the CCM frame, the CPU 16 detects the adjustment amount. Then, the CPU 16 stores the detected adjustment amount in the adjustment-amount storage unit 14C.
The CPU 16 generates a CCM frame to be transmitted to the opposite MEP transmission apparatus 2. Furthermore, when the CPU 16 has calculated an adjustment amount to be transmitted to the opposite MEP transmission apparatus 2, the CPU 16 adds the calculated adjustment amount into a particular area of the CCM frame to be transmitted to the opposite MEP transmission apparatus 2. Then, the CPU 16 transmits the generated CCM frame to the opposite MEP transmission apparatus 2. On the other hand, when the CPU 16 has detected an adjustment amount from a CCM frame, the CPU 16 adjusts transmission timing of the CCM frame to be transmitted to an opposite MEP transmission apparatus 2 on the basis of the adjustment amount. Then, the CPU 16 transmits the CCM frame to the opposite MEP transmission apparatus 2 on the basis of the adjusted transmission timing.
“DA” is an area in which a multicast or unicast destination address is stored. “SA” is an area in which a MAC address of the apparatus is stored. “VLAN header” is an area in which header is stored. “Ether Type” is an area in which OAM is stored as a type of Ethernet. “MEL” is an area in which an MEG (Maintenance Entity Group) level of a source MEP is stored. Incidentally, MEG is an aggregation of ME (Maintenance Entity) indicating one section subject to maintenance using a CCM frame. “Version” is an area in which data for identifying whether to abandon reception is stored. “Opcode” is an area in which an op code for identifying an instruction is stored. “RDI Bit” is an area in which RDI information of a bit string for identifying content of a fault is stored. “Period” is an area in which a transmission/reception interval used in transmission/reception of a CCM frame is stored. “TLV Offset” is an area in which respective offset values of Type, Length, and Value of a CCM frame are stored. “All “0x00”” is an area in which an unused state of a sequence number is stored. “MEP ID” is an area in which an ID for identifying a source MEP is stored. “MEG ID” is an area in which an ID for identifying an MEG of the source MEP is stored.
“TxFCf” is an area in which a local counter at the transmission of a CCM frame is stored. “RxFCb” is an area in which a local counter at the reception of the last CCM frame from an opposite MEP is stored. “TxFCb” is an area in which the last TxFCf value at the reception of a CCM frame from an opposite MEP is stored. “Reserved” is a reserved area. “TLV type” is an area in the reserved area in which a frame type is stored. “TLV length” is an area in the reserved area in which a frame size is stored. “Value” is an area in the reserved area in which a value is stored. “FCS” is an area for error detection using checksum for detecting an error. Incidentally, “All “0x00”” in
At the management level “C”, the MEP transmission apparatus 2A transmits a CCM frame to the MEP transmission apparatus 2B. Upon receipt of the CCM frame from the transmission apparatus 2A, the MEP transmission apparatus 2B transmits the CCM frame to the opposite MEP transmission apparatus 2C. Upon receipt of the CCM frame from the transmission apparatus 2B, the MEP transmission apparatus 2C transmits the CCM frame to the MEP transmission apparatus 2D. Upon receipt of the CCM frame from the transmission apparatus 2C, the MEP transmission apparatus 2D transmits the CCM frame to the opposite MEP transmission apparatus 2E. Upon receipt of the CCM frame from the transmission apparatus 2D, the MEP transmission apparatus 2E transmits the CCM frame to the MEP transmission apparatus 2D. Upon receipt of the CCM frame from the transmission apparatus 2E, the MEP transmission apparatus 2D transmits the CCM frame to the opposite MEP transmission apparatus 2C. Upon receipt of the CCM frame from the transmission apparatus 2D, the MEP transmission apparatus 2C transmits the CCM frame to the MEP transmission apparatus 2B. Upon receipt of the CCM frame from the transmission apparatus 2C, the MEP transmission apparatus 2B transmits the CCM frame to the opposite MEP transmission apparatus 2A. Incidentally, respective timings for the transmission apparatus 2E, the receiving end MEP, to receive CCM frames at the management levels “A”, “B”, and “C” are the same timing depending on circumstances.
Subsequently, operation of the transmission system 1 according to the present embodiment is explained.
When the reception processing is in a congestion state (YES at Step S11), the CPU 16 calculates an adjustment amount of transmission timing of a CCM frame at each management level on the basis of the congestion state (Step S12). Incidentally, the CPU 16 divides a normal CCM-frame transmission interval (for example, ten seconds) into predetermined units (for example, units of one second), and calculates the predetermined unit as an adjustment amount with respect to each management level. Namely, the CPU 16 delays the transmission timing of a CCM frame at each management level in increments of one second with increased management level. In the example illustrated in
When calculated an adjustment amount at each management level, the CPU 16 adds the adjustment amount at each management level into a particular area of a CCM frame to be transmitted to an opposite MEP transmission apparatus 2 at the management level (Step S13). For example, the CPU 16 adds the adjustment amount at the management level “A”, i.e., a 0-second delay into a particular area of a CCM frame to be transmitted to an opposite MEP transmission apparatus 2 at the management level “A”. Furthermore, the CPU 16 adds the adjustment amount at the management level “B”, i.e., a 1-second delay into a particular area of a CCM frame to be transmitted to an opposite MEP transmission apparatus 2 at the management level “B”. Moreover, the CPU 16 adds the adjustment amount at the management level “C”, i.e., a 2-second delay into a particular area of a CCM frame to be transmitted to an opposite MEP transmission apparatus 2 at the management level “C”.
The CPU 16 transmits the CCM frame with the adjustment amount added to the opposite MEP transmission apparatus 2 at each management level (Step S14), and ends the processing operation illustrated in
In the adjustment-amount specifying process illustrated in
The CPU 16 detects whether there is an adjustment amount added into a particular area of the CCM frame (Step S23). In the example illustrated in
When the CPU 16 has detected an adjustment amount added into a particular area of the CCM frame (YES at Step S23), the CPU 16 adjusts transmission timing of a CCM frame to be transmitted to the opposite MEP transmission apparatus 2 on the basis of the adjustment amount (Step S24). In the example illustrated in
Then, the CPU 16 transmits the CCM frame to the opposite MEP transmission apparatus 2 at each management level on the basis of the adjusted transmission timing (Step S25), and ends the processing operation illustrated in
Namely, one second after receiving the CCM frame at the management level “A”, the transmission apparatus 2E at the management levels “A”, “B”, and “C” receives the CCM frame at the management level “B”, and one second later, the transmission apparatus 2E receives the CCM frame at the management level “C”. As a result, the transmission apparatus 2E can sequentially perform reception processing of the CCM frame at each management level without congestion of reception processing of CCM frames. After that, in the example illustrated in
When a CCM frame has not been received from the opposite MEP transmission apparatus 2 (NO at Step S21), the CPU 16 ends the processing operation illustrated in
In the transmission-timing adjusting process illustrated in
In the first embodiment, when the receiving MEP transmission apparatus 2 is congested with reception processing, the MEP transmission apparatus 2 transmits an adjustment amount of transmission timing of a CCM frame at each management level to an opposite MEP transmission apparatus 2 at the management level. The opposite MEP transmission apparatus 2 adjusts transmission timing of a CCM frame to be transmitted to the MEP transmission apparatus 2 on the basis of the adjustment amount, and transmits the CCM frame at the adjusted transmission timing. Therefore, the MEP transmission apparatus 2 at each management level sequentially receives a CCM frame from an opposite MEP transmission apparatus 2 at the management level. As a result, the MEP transmission apparatus 2 is not congested with reception processing of the CCM frame, and therefore, the processing load on the MEP transmission apparatus 2 required for the reception processing can be reduced by the decentralized CCM-frame reception processing. In addition, the processing load required for reception processing is reduced, so an inexpensive, low-end CPU or L2 switch can be applied, resulting in reduction of component cost of the transmission apparatus 2.
The processes described in the first embodiment can be implemented by causing a computer to execute a program prepared in advance. As a variation of the first embodiment, an example of a computer that executes a program is explained below with reference to
As illustrated in
The transmission program, which fulfills the same functions as those described in the above embodiment, has been stored in the ROM 130 or the HDD 110 in advance. Incidentally, instead of storing the transmission program in the ROM 130 or the HDD 110, the transmission program can be recorded on a computer-readable recording medium that the computer 100 can read by putting it into a drive (not illustrated). The recording medium can be a portable recording medium, such as a CD-ROM, a DVD, or a USB memory, or a semiconductor memory such as a flash memory. As illustrated in
The CPU 140 reads out these programs 131 to 134 from the ROM 130 and executes the read programs 131 to 134. Then, the programs 131 to 134 function as a determining process 141, a calculating process 142, a transmitting process 143, and an adjusting process 144, respectively.
The CPU 140 determines whether reception processing of a monitoring frame received from an opposite MEP transmission apparatus is in a congestion state. When the reception processing is in a congestion state, the CPU 140 calculates an adjustment amount for adjusting transmission timing of a monitoring frame related to a source transmission apparatus so as to decentralize reception processing of monitoring frames. Then, the CPU 140 transmits the calculated adjustment amount to the source transmission apparatus. On the other hand, when received an adjustment amount from another transmission apparatus 2, the CPU 140 adjusts transmission timing of a monitoring frame to be transmitted to the transmission apparatus on the basis of the adjustment amount. As a result, the reception processing is not congested, and therefore, the processing load on the CPU 140 can be reduced by the decentralized CCM-frame reception processing.
Incidentally, in the first embodiment, the CPU 16 performs the CCM processing program; alternatively, a CCM processing circuit for performing CCM processing can be provided separately from the CPU 16 so as to reduce the load on the CPU 16. Such a configuration is explained below as a second embodiment.
The CCM processing circuit 18 includes a receiving circuit 18A and a transmitting circuit 18B. The receiving circuit 18A has an interface 21A, a memory 22A, and an FPGA 23A. A reception processing program related to a CCM frame has been stored in the memory 22A. The FPGA 23A reads out the reception processing program stored in the memory 22A and performs a reception processing function. The FPGA 23A receives a CCM frame, which the input interface 11 has received from another transmission apparatus 2X, via the interface 21A. The FPGA 23A analyzes the received CCM frame. Based on a result of the analysis, the FPGA 23A determines whether there is warning information on the basis of RDI information included in the CCM frame. When there is warning information, the FPGA 23A stores the warning information in the warning-information storage unit 14A.
Furthermore, the FPGA 23A determines whether reception processing of the received CCM frame is in a congestion state on the basis of the result of the analysis. Incidentally, the congestion state is, for example, a state in which reception processing of a plurality of CCM frames at different management levels is congested upon reception of the CCM frames at the same timing or about the same timing within a transmission period defined in the CCM frames. When the reception processing is in a congestion state, the FPGA 23A calculates an adjustment amount for adjusting the timing for an opposite MEP transmission apparatus 2X at each management level to transmit a CCM frame on the basis of the congestion state. Moreover, the FPGA 23A determines whether an adjustment amount has been added into a particular area of the CCM frame received from the MEP transmission apparatus 2X on the basis of the result of the analysis. When an adjustment amount has been added into a particular area of the CCM frame, the FPGA 23A detects the adjustment amount. Then, the FPGA 23A stores the detected adjustment amount in the adjustment-amount storage unit 14C.
The transmitting circuit 18B has an interface 21B, a memory 22B, and an FPGA 23B. A transmission processing program related to a CCM frame has been stored in the memory 22B. The FPGA 23B reads out the transmission processing program stored in the memory 22B and performs a transmission processing function. The FPGA 23B generates a CCM frame to be transmitted to an opposite MEP transmission apparatus 2X. Furthermore, when the FPGA 23B has calculated an adjustment amount to be transmitted to the opposite MEP transmission apparatus 2X, the FPGA 23B adds the calculated adjustment amount into a particular area of the CCM frame to be transmitted to the opposite MEP transmission apparatus 2X. Then, the FPGA 23B transmits the generated CCM frame to the opposite MEP transmission apparatus 2X. On the other hand, when the FPGA 23B has detected an adjustment amount from a CCM frame, the FPGA 23B adjusts transmission timing of the CCM frame to be transmitted to an opposite MEP transmission apparatus 2X on the basis of the adjustment amount. Then, the FPGA 23B transmits the CCM frame to the opposite MEP transmission apparatus 2X on the basis of the adjusted transmission timing.
The CCM processing circuit 18 performs the adjustment-amount specifying process illustrated in
Furthermore, the CCM processing circuit 18 performs the transmission-timing adjusting process illustrated in
In the second embodiment, when a receiving MEP transmission apparatus 2X is congested with reception processing, the CCM processing circuit 18 transmits an adjustment amount for adjusting the transmission timing of a CCM frame at each management level to an opposite MEP transmission apparatus 2X at the management level. The CCM processing circuit 18 of the opposite MEP transmission apparatus 2X adjusts the transmission timing of a CCM frame on the basis of the adjustment amount, and transmits the CCM frame at the adjusted transmission timing. The CCM processing circuit 18 of an MEP transmission apparatus 2X at each management level sequentially receives a CCM frame from an opposite MEP transmission apparatus 2X at the management level. As a result, the CCM processing circuit 18 of the MEP transmission apparatus 2X is not congested with reception processing of the CCM frame, and therefore, the processing load on the CCM processing circuit 18 required for reception processing can be reduced by the decentralized CCM-frame reception processing. Furthermore, the processing load required for reception processing is reduced, so an inexpensive, low-end CPU or L2 switch can be applied, resulting in reduction of component cost of the transmission apparatus 2X. In addition, the CCM processing circuit 18 performs the CCM processing, so the load on the CPU 16 can be reduced.
Incidentally, in the above embodiment, with respect to each management level, a receiving MEP transmission apparatus 2X notifies an opposite MEP transmission apparatus 2X of an adjustment amount of transmission timing of a CCM frame related to the opposite MEP transmission apparatus 2X. Alternatively, regardless of management level, each receiving MEP transmission apparatus 2X can calculate an adjustment amount of transmission timing of a CCM frame and notify an opposite MEP transmission apparatus 2X of the adjustment amount.
Furthermore, in the above embodiment, a normal transmission interval is divided into predetermined units, for example, units of one second, and the transmission timing of a CCM frame is adjusted to be delayed in increments of one second with increased management level. Alternatively, based on a normal transmission interval and the number of CCM frames at all management levels received in the normal transmission interval, an adjustment amount per CCM frame can be calculated by dividing the normal transmission interval by the number of CCM frames. For example, in a case where a normal transmission interval is ten seconds and the number of received CCM frames at the five management levels “A” to “E” is five, an adjustment amount per frame is two seconds (10÷5). An adjustment amount at the management level “A” is a “0-second delay”, an adjustment amount at the management level “B” is a “2-second delay” from the transmission timing at the management level “A”, an adjustment amount at the management level “C” is a “4-second delay” from the transmission timing at the management level “A”, an adjustment amount at the management level “D” is a “6-second delay” from the transmission timing at the management level “A”, and an adjustment amount at the management level “E” is an “8-second delay” from the transmission timing at the management level “A”.
Moreover, in the above embodiment, the transmission timing is adjusted to be delayed on the basis of an adjustment amount; alternatively, reception processing can be decentralized by adjusting the transmission timing to be pushed forward.
Furthermore, all or any part of the processing functions performed in each apparatus can be performed on the CPU (or a microcomputer, such as a micro processing unit (MPU) or a micro controller unit (MCU)). Moreover, needless to say, all or any part of the processing functions can be performed on a program that is analyzed and executed by the CPU (or a microcomputer, such as an MPU or an MCU) or hardware by wired logic.
The processing load can be reduced by decentralization of reception processing of monitoring frames.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2011-118444 | May 2011 | JP | national |