Method and apparatus for transferring data
AssigneeFujitsu Limited
InventorsNina Arataki, Sadayuki Ohyama, Yukiaki Kokubo
Life of this patent
Estimating the term…
Abstract
A pointer comparing unit determines whether a value of a writing pointer is identical to a value of a reading pointer. When it is determined that the value of the writing pointer is different from the value of the reading pointer, an inter-memory transfer unit reads data stored in a location where a data transfer apparatus reads transmission data from a transmission ring buffer, transfers the data to a reception memory, and writes the data in a location designated by the reading pointer of a reception ring buffer. When the inter-memory transfer unit completes writing of the data in the reception ring buffer, a reading-pointer updating unit updates the reading pointer.
Claims20
A data transfer apparatus that transfers data from a transmission memory with which a transmission operation-processing-unit serving as an operation processing unit on a data transmission side performs reading and writing data to a reception memory with which a reception operation-processing-unit serving as an operation processing unit on a data reception side performs reading and writing data, the data transfer apparatus comprising:
- a writing-pointer storing unit that stores a writing pointer that designates a first location where the transmission operation-processing-unit writes transmission data in a transmission ring buffer that stores data to be transferred, using a relative value to a location of the transmission ring buffer, the writing pointer being updated upon the transmission operation-processing-unit writing the transmission data in the transmission ring buffer;
- a reading-pointer storing unit that stores a reading pointer that designates a second location where the data transfer apparatus reads the transmission data from the transmission ring buffer, using a relative value to the location of the transmission ring buffer;
- a pointer comparing unit that compares a first value with a second value to determine whether the first value is identical to the second value, the first value being a value of the writing pointer stored in the writing-pointer storing unit, the second value being a value of the reading pointer stored in the reading-pointer storing unit;
- an inter-memory transfer unit that, when the pointer comparing unit determines that the first value is different from the second value, reads data stored in the second location, transfers the data read to the reception memory, and writes the data in a third location designated by the reading pointer of a reception ring buffer that stores reception data;
- and
- a reading-pointer updating unit that, when the inter-memory transfer unit completes writing of the data in the reception ring buffer, updates the reading pointer stored in the reading-pointer storing unit.
A data transfer apparatus that transfers data from a transmission memory with which a transmission operation-processing-unit serving as an operation processing unit on a data transmission side performs reading and writing data to a reception memory with which a reception operation-processing-unit serving as an operation processing unit on a data reception side performs reading and writing data, the data transfer apparatus comprising:
- a writing-pointer storing unit that stores a writing pointer that designates a first location where the transmission operation-processing-unit writes a storage address of transmission data in a transmission ring buffer that stores a storage address of data to be transferred, using a relative value to a location of the transmission ring buffer, the writing pointer being updated upon the transmission operation-processing-unit writing the storage address of the transmission data in the transmission ring buffer;
- a reading-pointer storing unit that stores a reading pointer that designates a second location where the data transfer apparatus reads the storage address of the transmission data from the transmission ring buffer, using a relative value to the location of the transmission ring buffer;
- a pointer comparing unit that compares a first value with a second value to determine whether the first value is identical to the second value, the first value being a value of the writing pointer stored in the writing-pointer storing unit, the second value being a value of the reading pointer stored in the reading-pointer storing unit;
- an inter-memory transfer unit that, when the pointer comparing unit determines that the first value is different from the second value, reads data of which the storage address is stored in the second location, transfers the data read to the reception memory, and writes the data in a third location designated by the reading pointer of a reception ring buffer that stores reception data;
- and
- a reading-pointer updating unit that, when the inter-memory transfer unit completes writing of the data in the reception ring buffer, updates the reading pointer stored in the reading-pointer storing unit.
A data transfer apparatus that transfers data from a transmission memory with which a transmission operation-processing-unit serving as an operation processing unit on a data transmission side performs reading and writing data to a reception memory with which a reception operation-processing-unit serving as an operation processing unit on a data reception side performs reading and writing data, the data transfer apparatus comprising:
- a writing-pointer storing unit that stores a writing pointer that designates a first location where the transmission operation-processing-unit writes transmission data in a transmission ring buffer that stores data to be transferred, using a relative value to a location of the transmission ring buffer, the writing pointer being updated upon the transmission operation-processing-unit writing the transmission data in the transmission ring buffer;
- a reading-pointer storing unit that stores a reading pointer that designates a second location where the data transfer apparatus reads the transmission data from the transmission ring buffer, using a relative value to the location of the transmission ring buffer;
- a pointer comparing unit that compares a first value with a second value to determine whether the first value is identical to the second value, the first value being a value of the writing pointer stored in the writing-pointer storing unit, the second value being a value of the reading pointer stored in the reading-pointer storing unit;
- an inter-memory transfer unit that, when the pointer comparing unit determines that the first value is different from the second value, reads data stored in the second location, transfers the data read to the reception memory, and writes a transfer destination address in a third location designated by the reading pointer of a reception ring buffer that stores a storage address of reception data;
- and
- a reading-pointer updating unit that, when the inter-memory transfer unit completes writing of the transfer destination address in the reception ring buffer, updates the reading pointer stored in the reading-pointer storing unit.
A data transfer apparatus that transfers data from a transmission memory with which a transmission operation-processing-unit serving as an operation processing unit on a data transmission side performs reading and writing data to a reception memory with which a reception operation-processing-unit serving as an operation processing unit on a data reception side performs reading and writing data, the data transfer apparatus comprising:
- a writing-pointer storing unit that stores a writing pointer that designates a first location where the transmission operation-processing-unit writes a storage address of transmission data in a transmission ring buffer that stores a storage address of data to be transferred, using a relative value to a location of the transmission ring buffer, the writing pointer being updated upon the transmission operation-processing-unit writing the storage address of the transmission data in the transmission ring buffer;
- a reading-pointer storing unit that stores a reading pointer that designates a second location where the data transfer apparatus reads the storage address of the transmission data from the transmission ring buffer, using a relative value to the location of the transmission ring buffer;
- a pointer comparing unit that compares a first value with a second value to determine whether the first value is identical to the second value, the first value being a value of the writing pointer stored in the writing-pointer storing unit, the second value being a value of the reading pointer stored in the reading-pointer storing unit;
- an inter-memory transfer unit that, when the pointer comparing unit determines that the first value is different from the second value, reads data of which the storage address is stored in the second location, transfers the data read to the reception memory, and writes a transfer destination address in a third location designated by the reading pointer of a reception ring buffer that stores a storage address of reception data;
- and
- a reading-pointer updating unit that, when the inter-memory transfer unit completes writing of the transfer destination address in the reception ring buffer, updates the reading pointer stored in the reading-pointer storing unit.
A data transfer method for a data transfer apparatus that transfers data from a transmission memory with which a transmission operation-processing-unit serving as an operation processing unit on a data transmission side performs reading and writing data to a reception memory with which a reception operation-processing-unit serving as an operation processing unit on a data reception side performs reading and writing data, the data transfer method comprising:
- comparing a first value with a second value to determine whether the first value is identical to the second value, the first value being a value of a writing pointer that designates a first location where the transmission operation-processing-unit writes transmission data in a transmission ring buffer that stores data to be transferred, using a relative value to a location of the transmission ring buffer, the writing pointer being updated upon the transmission operation-processing-unit writing the transmission data in the transmission ring buffer, the second value being a value of a reading pointer that designates a second location where the data transfer apparatus reads the transmission data from the transmission ring buffer, using a relative value to the location of the transmission ring buffer;
- an inter-memory transfer including
- reading, when it is determined that the first value is different from the second value at the determining, data stored in the second location;
- transferring the data read to the reception memory;
- and
- writing the data in a third location designated by the reading pointer of a reception ring buffer that stores reception data;
- and
- updating, when writing of the data in the reception ring buffer is completed at the inter-memory transfer, the reading pointer.
A data transfer method for a data transfer apparatus that transfers data from a transmission memory with which a transmission operation-processing-unit serving as an operation processing unit on a data transmission side performs reading and writing data to a reception memory with which a reception operation-processing-unit serving as an operation processing unit on a data reception side performs reading and writing data, the data transfer method comprising:
- comparing a first value with a second value to determine whether the first value is identical to the second value, the first value being a value of a writing pointer that designates a first location where the transmission operation-processing-unit writes a storage address of transmission data in a transmission ring buffer that stores a storage address of data to be transferred, using a relative value to a location of the transmission ring buffer, the writing pointer being updated upon the transmission operation-processing-unit writing the storage address of the transmission data in the transmission ring buffer, the second value being a value of a reading pointer that designates a second location where the data transfer apparatus reads the storage address of the transmission data from the transmission ring buffer, using a relative value to the location of the transmission ring buffer;
- an inter-memory transfer including
- reading, when it is determined that the first value is different from the second value at the determining, data of which the storage address is stored in the second location;
- transferring the data read to the reception memory;
- and
- writing the data in a third location designated by the reading pointer of a reception ring buffer that stores reception data;
- and
- updating, when writing of the data in the reception ring buffer is completed at the inter-memory transfer, the reading pointer.
A data transfer method for a data transfer apparatus that transfers data from a transmission memory with which a transmission operation-processing-unit serving as an operation processing unit on a data transmission side performs reading and writing data to a reception memory with which a reception operation-processing-unit serving as an operation processing unit on a data reception side performs reading and writing data, the data transfer method comprising:
- comparing a first value with a second value to determine whether the first value is identical to the second value, the first value being a value of a writing pointer that designates a first location where the transmission operation-processing-unit writes transmission data in a transmission ring buffer that stores data to be transferred, using a relative value to a location of the transmission ring buffer, the writing pointer being updated upon the transmission operation-processing-unit writing the transmission data in the transmission ring buffer, the second value being a value of a reading pointer that designates a second location where the data transfer apparatus reads the transmission data from the transmission ring buffer, using a relative value to the location of the transmission ring buffer;
- an inter-memory transfer including
- reading, when it is determined that the first value is different from the second value at the determining, data stored in the second location;
- transferring the data read to the reception memory;
- and
- writing a transfer destination address in a third location designated by the reading pointer of a reception ring buffer that stores a storage address of reception data;
- and
- updating, when writing of the transfer destination address in the reception ring buffer is completed at the inter-memory transfer, the reading pointer.
A data transfer method for a data transfer apparatus that transfers data from a transmission memory with which a transmission operation-processing-unit serving as an operation processing unit on a data transmission side performs reading and writing data to a reception memory with which a reception operation-processing-unit serving as an operation processing unit on a data reception side performs reading and writing data, the data transfer method comprising:
- comparing a first value with a second value to determine whether the first value is identical to the second value, the first value being a value of a writing pointer that designates a first location where the transmission operation-processing-unit writes a storage address of transmission data in a transmission ring buffer that stores a storage address of data to be transferred, using a relative value to a location of the transmission ring buffer, the writing pointer being updated upon the transmission operation-processing-unit writing the storage address of the transmission data in the transmission ring buffer, the second value being a value of a reading pointer that designates a second location where the data transfer apparatus reads the storage address of the transmission data from the transmission ring buffer, using a relative value to the location of the transmission ring buffer;
- an inter-memory transfer including
- reading, when it is determined that the first value is different from the second value at the determining, data of which the storage address is stored in the second location,
- transferring the data read to the reception memory;
- and
- writing a transfer destination address in a third location designated by the reading pointer of a reception ring buffer that stores a storage address of reception data;
- and
- updating, when writing of the transfer destination address in the reception ring buffer is completed at the inter-memory transfer, the reading pointer.
Dependencies are inferred from the claim text.