Patent ID: 8630289

Claim:
A switching device of a dual-port Ethernet system, the switching device comprising: a media access controller configured for: controlling transmission and reception of frames via an Ethernet; determining whether to accept a received frame by comparing an Internet protocol (IP) address of the received frame to a preset IP address, and transmitting the frame to a data distributor; and a transceiver buffer connected to the upper layer device via buses and configured for: transmitting the frame to an upper layer device, receiving the frame from the upper layer device, and transmitting the frame received from the upper layer device to a data selector of another media controller, wherein the data distributor is configured for transferring the frame received from the media access controller to at least the transceiver buffer or a switch buffer, wherein the switch buffer is configured for receiving the frame transferred from the data distributor and determining whether to transmit the transferred frame to the data selector of the another media access controller, wherein the data selector of the another media access controller is configured for: transmitting the frame received from the transceiver buffer and the frame received from the switch buffer to the media access controller, selecting the frame received from the transceiver buffer or the frame received from the switch buffer by determining a priority of the received frames, and transferring the selected frame to the media access controller, wherein the data distributor is further configured for generating a first pointer for the frame received from the media access controller and generating a second pointer for the frame received from the switch buffer, wherein the switch buffer is further configured for outputting an error signal to the data selector when a value of the second pointer is greater than a value of the first pointer, and wherein the output error signal prevents the data selector from receiving the frame transmitted by the switch buffer.