1. Field of the Invention
The present invention relates to a frame communication method and device, and in particular to a method and device for communicating data of a frame format in a SONET/SDH or the like.
2. Description of the Related Art
Encapsulation processing is performed to relatively low-speed transmission frames SF (see
On the receiving side, the high-speed multiplexed frame MF from the transmitting side is received by a demultiplexer 13 in the communication device 3 to be demultiplexed into frames of “n” channels. The capsules are removed from “n” channels of frames in decapsulating portions 14_1-14_n (hereinafter, occasionally represented by a reference numeral “14”) to be transferred to the subscriber device 4 in the form of low-speed transferring frames TF (see
Also, in a digital multiplexing transmission device which multiplexes a plurality of digital streams into transmission slots of a multiplexed frame to be transmitted per digital stream, a time when inputted digital data reach a data amount transmitted by a single transmission slot is detected, slot assigning information of the digital stream for which the time is detected is generated, the digital streams are multiplexed according to the generated slot assigning information, the slot assigning information is added to the multiplexed frame to be transmitted to the receiving side (see e.g. patent document 1).
Also, there is a multiple ring-shaped optical network for a burst communication, in which frames transmitted on a multiplexed ring-shaped optical network include burst data composed of data of numerous packets and header data indicating a destination of the burst data (see e.g. patent document 2).
[Patent document 1] Japanese Patent No. 34347695
[Patent document 2] Japanese Patent Application Laid-open No. 2004-140831
Since the prior art example as shown in
Thus, the frames reproduced are to burst and fluctuate, so that deviation occurs in a transfer rate from the receiving side communication device 3 to the subscriber device 4. In order to absorb such deviation, it has been required to provide the buffer 5 in the individual subscriber device 4.
Also, in order to prevent such a buffer from overflowing, a flow control is required, resulting in a problem that together with the flow control, a circuit becomes complicated and its scale becomes extremely large.
It is accordingly an object of the present invention to provide a frame communication method and device which can accurately reproduce a received frame without being influenced by fluctuations of frame intervals associated with inter-channel multiplexing on a transmitting side.
In order to achieve the above-mentioned object, a frame communication method and device according to the present invention in one preferred mode comprise: a first step or means of detecting a frame interval from transmission frames; and a second step or means of adding information of the frame interval to the transmission frames and of multiplexing the transmission frames to be transmitted.
Also, a frame communication method and device according to the present invention in one preferred mode comprise: a third step or means of extracting information of a frame interval from received frames demultiplexed; and a fourth step or means of spacing the received frames by the frame interval to be transferred.
Namely, on the transmitting side of the frame communication method according to the present invention, as shown in operation time charts of
In the multiplexer 12, as shown by (2) of
On the receiving side, a demultiplexer 13 in the communication device 3 demultiplexes the multiplexed frames MF shown by (2) of
Accordingly, even if fluctuations due to buffering of the frames occur in the multiplexer 12 on the transmitting side, the frames reproduced on the receiving side can reproduce the frame intervals on the transmitting side unchanged since the fluctuations are relative ones. Thus, the buffer 5 as shown in
When the frame interval exceeds a maximum frame interval determined by a bit number of the information of the frame interval, the above-mentioned second step or means may include a step or means of transmitting only information of the maximum frame interval, and a step or means of adding information of subsequent remaining frame intervals to the transmission frames to be transmitted.
Also, the above-mentioned third step or means may include a step or means of extracting information of a maximum frame interval determined by a bit number of the information of the frame interval and information of subsequent remaining frame intervals from the received frames, and the fourth step or means may include a step or means of spacing the received frames by the frame interval adding the information of the remaining frame intervals to the information of the maximum frame interval.
Namely, this is for countering a case where the frame interval exceeds a maximum frame interval determined by a bit number of the information of the frame interval. Within this interval, the transmission frame can not appear in such a case, so that only the frame interval information of the maximum value is transmitted. As for the information of subsequent remaining frame intervals, the transmission frame can appear, so that the information is added to the transmission frame.
On the receiving side, the information of the maximum frame interval and the information of the subsequent remaining frame intervals are extracted from the received frames, wherein the received frames are spaced by the frame interval to which both of the frame information are added, thereby enabling accurate frame intervals to be kept for the frame transmission of a long period.
It is to be noted that the above-mentioned second step or means may include a step or means of multiplexing the information of the frame interval per channel.
Also, the above-mentioned second step or means may include a step or means of multiplexing the information of the frame interval over a plurality of channels.
Furthermore, the above-mentioned second step or means may further include a step or means of assigning the information of the frame interval to a free bit of a predetermined frame format.
According to the present invention, it becomes possible to keep the frame interval on the receiving side the same as that of the transmitting side. Also, the buffer becomes unnecessary for the subscriber device, and a flow control becomes unnecessary. As a result, it becomes possible to simplify a circuit and to reduce a circuit scale, which can eventually realize a cost reduction of the subscriber device.
The above and other objects and advantages of the invention will be apparent upon consideration of the following detailed description, taken in conjunction with the accompanying drawings, in which the reference numerals refer to like parts throughout and in which:
In the embodiment of the arrangement shown in
Also, the multiplexer 12 is composed of a SONET/SDH mapping buffer 31 for writing the encapsulated frame from the capsuling portion 27 in the encapsulating portion 11 based on the control signal from the buffer write controller 20, a buffer read controller 32 for reading frames from the mapping buffer 31, a timing generator 33 for providing a timing signal to the buffer read controller 32, an SOH/POH generator 34 for generating an SOH (Section Over Head) and a POH (Path Over Head) as header information, a pointer generator 35 for generating a pointer for pointing a position of payload data, and a MUX portion 36 for multiplexing output signals from the SOH/POH generator 34 and the pointer generator 35 and a frame (6) per channel from the mapping buffer 31 based on the timing signal from the timing generator 33 and outputting the multiplexed frame MF to the receiving side.
Operation Embodiment (1) (Transmitting Side):
The operation of the transmitting side communication device 2 will now be described referring to an operation embodiment (1) shown in
Firstly, when the transmission frame SF shown in
On the other hand, the transmission frame SF (1) is provided to the selector 25 as the frame (3) delayed by the fixed processing delay DLY through the delay portion 24.
Accordingly, the selector 25 firstly selects the frame interval information FII that is the count based on the timing signal from the timing generator 23, and selects corresponding transmission frames d1, d2, d3, . . . at the subsequent timing signal. Therefore, the selected output frame (4) has the frame interval information FII and the transmission frames d1, d2, d3, . . . multiplexed within the same channel. This corresponds to a frame F2=frame interval information FII+Ethernet (registered trademark) frame F1 in the frame format in
The capsuling portion 27 having received the output frame (4) from the selector 25 adds a protocol PRL (16 bits) and a frame separation FS (combination of FCS (Frame Check Sequence: 16 bits) and a frame separation code SC (8 bits)) to the frame F2, and performs tunneling PPP encapsulation to generate a frame F3 (frame (5)).
When the encapsulated frame (5) is transmitted to the mapping buffer 31 in the multiplexer 12, the mapping buffer 31 writes the frame (5) under the control of the buffer write controller 26 receiving the timing signal from the timing generator 23. In the multiplexer 12, the timing generator 33 generates the timing signal, and the buffer read controller 32 reads the written frame from the mapping buffer 31 based on the timing signal.
As a result, a frame (6) read from the mapping buffer 31 is a frame (multiplexed frame) obtained by sequentially reading the encapsulated transmission frames d1, d2, and d3 shown in
By providing the header from the SOH/POH generator 34 in the frame period FP and the pointer from the pointer generator 35 to the MUX portion 36, the multiplexed frame MF is generated and transmitted to the receiving side.
Thus, the information of the frame interval detected from the transmission frames is added to the transmission frames to be multiplexed, and then the multiplexed frame is transmitted to the receiving side.
In this embodiment, the demultiplexer 13 is composed of a DEMUX portion 41 for inputting the multiplexed frame MF to be demultiplexed into a frame DF (1), an SOH/POH extractor 42 for extracting the SOH and POH by header information from the DEMUX portion 41, a pointer controller 43 for extracting a pointer from the header information similarly, a buffer write controller 44 for performing a buffer write control based on the pointer controller 43, a timing generator 45 for providing a timing signal to the buffer write controller 44 and the DEMUX portion 41, and a demapping buffer 46 for writing the demultiplexed frame DF (1) from the DEMUX portion 41 by the buffer write controller 44.
Also, decapsulating portion 14 is composed of a buffer read controller 51 for performing a read control of the frame from the demapping buffer 46 in the demultiplexer 13, a frame detector 52 for performing a frame detection according to the frame separation code (see
Operation Embodiment (1) (Receiving Side):
Hereinafter, an operation embodiment (1) of the receiving side communication device 3 will be described referring to
Firstly, the DEMUX portion 41 in the demultiplexer 13 having received the multiplexed frame MF outputted from the MUX portion 36 in the multiplexer 12 shown in
The frame DF (1) demultiplexed from the DEMUX portion 41 is written in the demapping buffer 46. At this time, by the timing signal generated by the timing generator 45 based on the header information extracted by the SOH/POH extractor 42 and the pointer of the header information extracted by the pointer controller 43, the buffer write controller 44 controls writing.
The frame (2) is read from the demapping buffer 46 based on the control of the buffer read controller 51. This is firstly performed at the timing initially set in the frame detector 52.
The decapsuling portion 54 having received the frame (2), in case of e.g. the frame d1 shown in
The frame interval information FII (4) demultiplexed by the demultiplexer 55 is loaded to the frame interval counter 53, and a carry-over value of the frame interval counter 53 is set. Accordingly, the frame interval counter 53 starts the operation when the frame detector 52 detects the frame by the frame separation code FS, and makes the buffer read controller 51 an enable state, by being loaded with the frame interval information FII, until the value of the frame interval information FII=count. Therefore, the buffer read controller 51 keeps on reading the frame (2) from the demapping buffer 46. At the time of the information FII=count, the read of the frame (2) is stopped (at step S1). Thus, as shown in
Thus, the frame intervals are extracted from the received frames, and the received frames are transferred after being spaced by the frame intervals.
Various operation embodiments in the following can be performed by using the transmitting side communication device 2 shown in
Operation Embodiment (2) (Transmitting Side):
Therefore, the frame interval counter 22 starts its operation in the encapsulating portion 11 shown in
After the carry-over, the frame interval counter 22 restarts counting from 0. Since counting is stopped when the head of the subsequent frame d2 is detected, the output (4) of the selector 25 at the time of the count stop assumes the frame interval FII+frame d2. Thus, the output (4) assumes “FII+d1”, “FIImax”, “FII+d2”,
Thus, the frame (5) outputted from the capsuling portion 27 assumes, in the example of
Accordingly, a frame (6) outputted from the mapping buffer 31, as shown in
Other operations are the same as those described in
Operation Embodiment (2) (Receiving Side):
Such a frame DF (1) is written in the demapping buffer 46 in the same way as the above, and is read by the buffer read controller 51 in the decapsulating portion 14. At the time when the frame detector 52 detects the frame by the frame separation code, the buffer read controller 51 starts reading. Therefore, the frame is read, as shown in
The decapsuling portion 54 provides a frame from which the frame separation FS, the frame protocol PRL and the frame separation FS are removed as shown in
The demultiplexer 55 demultiplexes the frame into the frame interval information FII and the frame d1, and loads the frame interval information FII to the frame interval counter 53. Accordingly, the frame interval counter 53 counts from the detection of the head of the present frame d1 to the frame interval information FII presently loaded, and the frames are read from the buffer 46.
Since the content read from the buffer 46 is not the frame but the frame interval information FII, as shown in
Thus, the frames d1 and d2 having a long period, which are the same as those on the transmitting side, are outputted as transferring frames TF, as shown in
Operation Embodiment (3) (Transmitting/Receiving Side):
Accordingly, when the frame intervals are reproduced on the receiving side, they are respectively divided as shown in
Operation Embodiment (4) (Transmitting/Receiving Side):
Namely, in the presence of the frames of a channel CH1 in
In this example, three frames D1, D2, and D3 of the channel CH1 and three frames d1, d2, and d3 of the channel CH2 are compiled into the encapsulated portion CP.
In a receiving side communication device having received such frames, as shown in
Operation Embodiment (5) (Transmitting/Receiving Side):
Accordingly, in the receiving side communication device having received such a multiplexed frame, the frame interval information FII stored in the unused byte in the SOH is taken out, so that the frames can be transferred with frame intervals of the frames D1, D2, and D3.
Number | Date | Country | Kind |
---|---|---|---|
2005-088706 | Mar 2005 | JP | national |