Network packet storage method and network packet transmitting apparatus using the same
First Claim
1. A network packet transmitting apparatus, comprising:
- a packet receiving module for receiving a packet and obtaining a packet content and a path control information from the packet;
an input packet control module coupled to the packet receiving module, for storing the packet content and determining a packet storage address of the packet content according to a predetermined storage rule, and for outputting a data block accumulated by all the stored packet contents when a size of the data block reaches a predetermined data block size, and further for aggregating the packet storage addresses and the path control information of the packet contents from the same output port into a control block according to the path control information, and outputting the control block when a size of the control block reaches a predetermined control block size, and providing an output trigger signal;
a control information queue unit for coupling the input packet control module with the packet output module, and storing the output trigger signals and sending them one by one;
a dynamic random access memory coupled to the input packet control module, for storing the data block and the control block in a dynamic random access memory; and
a packet output module coupled to the dynamic random access memory and the input packet control module, for obtaining the corresponding data for outputting from the dynamic random access memory according to the output trigger signal.
5 Assignments
0 Petitions
Accused Products
Abstract
A network packet storage method and network packet transmitting apparatus using the same is provided. A packet content and a path control information are obtained from a received packet, and a packet storage address of the packet content is determined according to a predetermined storage rule. The packet content is stored in a data block and packet storage addresses and path control information of packets output via the same output port are stored in a control block. The data block is output when its size reaches a predetermined data block size such that a dynamic random access memory receives the data block by using burst mode. Further, the control block is output when its size reaches a predetermined control block size.
-
Citations
8 Claims
-
1. A network packet transmitting apparatus, comprising:
-
a packet receiving module for receiving a packet and obtaining a packet content and a path control information from the packet; an input packet control module coupled to the packet receiving module, for storing the packet content and determining a packet storage address of the packet content according to a predetermined storage rule, and for outputting a data block accumulated by all the stored packet contents when a size of the data block reaches a predetermined data block size, and further for aggregating the packet storage addresses and the path control information of the packet contents from the same output port into a control block according to the path control information, and outputting the control block when a size of the control block reaches a predetermined control block size, and providing an output trigger signal; a control information queue unit for coupling the input packet control module with the packet output module, and storing the output trigger signals and sending them one by one; a dynamic random access memory coupled to the input packet control module, for storing the data block and the control block in a dynamic random access memory; and a packet output module coupled to the dynamic random access memory and the input packet control module, for obtaining the corresponding data for outputting from the dynamic random access memory according to the output trigger signal. - View Dependent Claims (2, 3)
-
-
4. A network packet storage method, comprising:
-
obtaining a packet content and a path control information from a received packet; determining a packet storage address of the packet content; storing the packet content in a data block; storing packet storage addresses and path control information of packets output via the same output port in a control block; outputting the data block when a size of the data block reaches a predetermined data block size, such that a dynamic random access memory receives the data block in burst mode; aggregating the packet storage addresses and the path control information of the packet contents from the same output port into a control block according to the path control information; outputting the control block when a size the control block reaches a predetermined control block size; providing an output trigger signal; storing the output trigger signals and sending them one by one; storing the data block and the control block in a dynamic random access memory; and obtaining the corresponding data for outputting from the dynamic random access memory according to the output trigger signal. - View Dependent Claims (5, 6, 7, 8)
-
Specification