Patent ID: 8675684

Claim:
A frame generating apparatus that accommodates a client signal in an optical data transfer unit frame with a higher bit rate than the client signal, the frame generating apparatus comprising: a deserializer that deserializes the client signal into M parallel signals where M is corresponding to the number of tributary slots used in the optical data transfer unit frame; M generic mapping procedure circuits that inserts data and stuff into a frame accommodating portion of the optical data transfer unit frame based on a difference in the bit rate between the client signal and the optical data transfer unit frame; and a serializer that serializes the M parallel signals output from M generic mapping procedure circuits, wherein M generic mapping procedure circuits that in accordance with an address inserts data into the frame accommodating portion of the optical data transfer unit frame when a first expression (N×Cn) mod Tb<Cn is satisfied, and inserts stuff into the frame accommodating portion of the optical data transfer unit frame when a second expression (N×Cn) mod Tb≧Cn is satisfied, “N” representing the address assigned to the frame accommodating portion of the optical data transfer unit frame, “Cn” representing (a bit rate of the client signal)÷(a bit rate of the optical data transfer unit frame)×(the total number of bytes in the frame accommodating portion of the optical data transfer unit frame),“Tb” representing the total number of bytes in a signal accommodating portion, and “mod” representing a remainder operator.