Patent ID: 11882061
Assignee: NIPPON TELEGRAPH AND TELEPHONE CORPORATION
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 11:
12. A data sequence correction device that temporarily saves data with sequence information in a ring buffer and performs sequence correction, the ring buffer comprising a predetermined number of storage regions corresponding to the sequence information, a monitoring section having a plurality of continuous sequence numbers including a start sequence number and an end sequence number, and an acceptance section having a selected sequence number of the monitoring section as a start sequence number and having a sequence number immediately preceding the start sequence number of the monitoring section as an end sequence number, the data sequence correction device comprising:
an acceptability determiner configured to determine whether a value determined based on a remainder obtained by dividing a sequence number of received data by the number of storage regions of the ring buffer is inside the acceptance section;
a ring-buffer writer configured to, in response to the value determined based on the remainder obtained by dividing the sequence number of the received data by the number of storage regions of the ring buffer being inside the acceptance section, write the received data in a position of the storage region corresponding to the determined value;
a ring-buffer reader configured to, in response to the received data being written in an entirety of the monitoring section, read out all the received data in the monitoring section; and
a monitoring section/acceptance section manager configured to, in response to all the received data in the monitoring section being read out, update the start sequence number and the end sequence number of each of the monitoring section and the acceptance section to immediately following sequence numbers, respectively.