Data processing apparatus and data transfer method
AssigneeNEC Access Technica, Ltd.
InventorTetsuya Kato
Life of this patent
Estimating the term…
Abstract
A data processing apparatus which can copy necessary data without imposing a burden on a CPU when broadcasting specific data is realized. A data processing apparatus includes a reception FIFO memory which temporarily stores received data sequentially; a buffer management unit which reads out the received data stored in the reception FIFO memory, discriminates whether or not a plurality of the same data are required for transferring the received data, and searches a plurality of buffer memory areas that are different from each other when the plurality of the same data are required; and a DMA (Direct Memory Access) control circuit which writes the received data read from the reception FIFO memory into each of buffer memory areas designated by the buffer management unit.
Claims7
A data processing apparatus having capability of copying data received from a Wide Area Network (WAN) side interface port for transmitting the received data to both of destinations of a wired Local Area Network (LAN) interface port and a wireless LAN interface port, comprising:
- a wired LAN controller which receives the data from the WAN side interface port, discriminates whether it is necessary to transmit the received data to both of destinations of the wired LAN interface port and the wireless LAN interface port based on header information of the received data, writes the received data into a received data buffer, and copies the received data and writes the copied data into a copied data buffer when it is necessary to transmit the received data to the wireless LAN interface port as well as the wired LAN interface port, wherein the wired LAN controller includes:
- a reception FIFO memory which temporarily stores received data sequentially,
- parameter table means for storing parameters relating to priority information of the received data and copy requirement information for the received data corresponding to each header information of the received data, wherein the copy requirement information is included when the destination of the received data is both of the wired LAN interface port and the wireless LAN interface port,
- a comparator for comparing the header information of the received data read from the reception FIFO memory and extracting the parameters set in the parameter table means,
- a buffer management unit for receiving the parameters extracted from the parameter table means, searching a write address of a received data buffer for the received data based on the priority information and outputting the write address of the received data buffer, searching a write address of a copied data buffer and outputting the write address of the copied data buffer when the copy requirement information is included in the parameters, and
- Direct Memory Access (DMA) control means for receiving the write address of the received data buffer and writing the received data read from the reception FIFO memory into the write address of the received data buffer, and when the write address of the copied data buffer is also received, copying the received data and writing the copied data into the write address of the copied data buffer;
- a Central Processing Unit (CPU) which converts each of formats of the received data written in the received data buffer and the copied data written in the copied data buffer into respective formats of transmission data corresponding to each of the wired LAN interface and the wireless LAN interface, and transmits the transmission data of the wireless LAN interface format to the wireless LAN interface port;
- and
- an L2 switch which connects with a plurality of wired LAN interface ports, and switches a destination of the transmission data of the wired LAN interface format to each wired LAN interface port according to a learned Media Access Control (MAC) address.
A data transfer method of a data processing apparatus having capability of copying data received from a Wide Area Network (WAN) side interface port for transmitting the received data to both of destinations of a wired Local Area Network (LAN) interface port and a wireless LAN interface port, comprising:
- a first step for receiving the data, at a wired LAN controller, from the WAN side interface port and discriminating whether it is necessary to transmit the received data to both of destinations of the wired LAN interface port and a wireless LAN interface port based on header information of the received data, wherein the first step includes,
- storing the received data sequentially in a reception FIFO memory,
- comparing header information of the received data read from the reception FIFO memory with parameter table means which store parameters relating to priority information of the received data and copy requirement information for the received data corresponding to each header information of the received data, wherein the copy requirement information is included in the parameters when the destination of the received data is both of the wired LAN interface port and the wireless LAN interface port, and
- obtaining the parameters corresponding to the header information of the received data read from the reception FIFO memory;
- a second step for writing the received data, at the wired LAN controller, into a received data buffer, and copying the received data and writing the copied data into a copied data buffer when it is necessary to transmit the received data to the wireless LAN interface port as well as the wired LAN interface port, wherein the second step includes,
- searching a write address of the received data buffer for the received data based on the priority information and outputting the write address of the received data buffer, and searching a write address of the copied data buffer and outputting the write address of the copied data buffer when the copy requirement information is included in the parameters;
- and
- writing, at Direct Memory Access (DMA) control means, the received data read from the reception FIFO memory into the write address of the received data buffer, and copying the received data and writing the copied data into the write address of the copied data buffer when the write address of the copied data buffer is included in the parameters;
- a third step for converting, at a Central Processing Unit (CPU), each of formats of the received data written in the received data buffer and the copied data written in the copied data buffer into respective formats of transmission data corresponding to each of the wired LAN interface and the wireless LAN interface, and transmitting the transmission data of the wireless LAN interface format to the wireless LAN interface port;
- and
- a fourth step for switching a destination of the transmission data of the wired LAN interface format, through an L2 switch which connects with a plurality of wired LAN interface ports, to each wired LAN interface port and switches according to a learned Media Access Control (MAC) address.
Dependencies are inferred from the claim text.