摘要 |
An apparatus for copying data to another apparatus including a receiving buffer, includes: a transmitting buffer including a plurality of areas for temporary storing data of the copying; and a processor for executing a process, including: receiving information indicative of an instantaneous vacant area of the receiving buffer of the another apparatus, the vacant area being capable of temporarily storing data that could be transmitted from the transmitting buffer, determining an area of the transmitting buffer that stores data to be transmitted subsequently in reference to the information of the vacant area, and transmitting data stored in the determined area of the transmitting buffer to the receiving buffer of the another apparatus. |
主权项 |
1. An apparatus for copying data to another apparatus including a receiving buffer, comprising:
a transmitting buffer having a first buffer identifier corresponding to an area to temporarily store data; a first memory; a second memory; and a processor to execute a process, the process including:
receiving information having a second buffer identifier corresponding to a vacant area of the receiving buffer of the another apparatus,storing the information of the vacant area in the first memory,determining an area of the transmitting buffer that stores the data to be transmitted subsequently in reference to the information of the vacant area,storing the data in the area of the transmitting buffer,storing, in the second memory, information of a buffer set including only the first buffer identifier corresponding to the area of the transmitting buffer in which the data is stored,determining whether the number of the second buffer identifier in the first memory is assignable to the first buffer identifier corresponding to the area of the transmitting buffer in which the data is stored,transmitting, when the number of the second buffer identifier in the first memory is assignable to the first buffer identifier corresponding to the area of the transmitting buffer in which the data is stored, to the receiving buffer of the another apparatus, data stored in the determined area of the transmitting buffer, the information of the buffer set related to the first buffer identifier and the second buffer identifier in the second memory, and information indicative of a buffer index table for storing indexes assigned to the data to be transmitted, andsuspending, when the number of the second buffer identifier in the first memory is not assignable to the first buffer identifier corresponding to the area of the transmitting buffer in which the data is stored, the transmitting until the number of the second buffer identifier in the first memory becomes assignable to the first buffer identifier corresponding to the area of the transmitting buffer in which the data is stored. |