Patent ID: 7450594

Claim:
A message writing apparatus characterized by comprising: receiving means ( 21 b ) for receiving cells having path information, said cells being obtained by division of a variable-length message; message area allocating means ( 21 e ) for extracting said path information from the received cells received by said receiving means ( 21 b ) to allocate a memory area ( 22 ) corresponding to said path information, said memory area ( 22 ) being larger than a size of said variable-length message; writing ranking adding means ( 21 c ) for adding writing ranks to the received cells when the received cells are written in said memory area ( 22 ) allocated by said message area allocating means ( 21 e ); and storing means ( 25 ) for writing the received cells in said memory area ( 22 ) according to said writing ranks added by said writing rank adding means ( 21 c ), characterized in that said message area allocating means ( 21 e ) includes: address table setting means for setting, in said memory area ( 22 ), an address table area ( 23 ) in which a size of a writing area, a writing position of said variable-length message and the number of received cells, corresponding to said path information, are related to each other on the basis of cell numbers and message number of the received cells; and message storing area setting means for setting, in said memory area ( 22 ), a message storing area ( 24 ) which CPU reads out the received cells in message units.