摘要 |
PURPOSE: A network memory management method and a network drive device using the method are provided to efficiently manage network memories in a real time application where a plurality of tasks are connected to a time bound multiprocessing sequence by using a dictionary, and to prevent a waste of network resources caused by a resource blocking or fragmentation. CONSTITUTION: The network drive device comprises a storage memory, a dictionary and a processor. The storage memory includes various sized buffers for storing data packets to be transmitted via a network. The dictionary designates an address of a buffer within the storage memory according to a size of the packet data if the packet data is transmitted. The processor processes the packet data stored at the buffer. The network memory management method comprises steps of dividing a memory into buffers by the size used in a network communication(300), designating an address of a buffer according to the size of the packet data to be transmitted(310), and storing the packet data at the buffer of the designated address by using the dictionary(320). The dictionary includes address pointer information pointing an address of a buffer having an optimal size for storing the transmitted packet data.
|