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

Claim 12:
13. A data sequence correction program stored in a non-transitory storage media for executing a data sequence correction method for temporarily saving data with sequence information in a ring buffer and performing 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 program configured to cause a computer to execute:
a step of, in response to 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 being inside the acceptance section, writing the received data in a position of the storage region corresponding to the determined value;
a step of, in response to the received data being written in an entirety of the monitoring section, reading out all the received data in the monitoring section; and
a step of, in response to reading out all the received data in the monitoring section, updating 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.