Path control apparatus and table updating method
First Claim
1. A path control apparatus that controls a communication path by relaying a frame including a transmission-source address and a transmission-destination address, the path control apparatus comprising:
- a receiving unit that includes a plurality of ports, and receives the frame from any one of the ports;
a storage unit that stores therein a management table that includesa correspondence relation between the transmission-source address of the frame and a port through which the frame is received in each entry, anda generation-management bit string in which an indicator bit is arranged at a position corresponding to a time elapsed since the entry is updated for each entry;
a determining unit that determines whether there is an entry to which the correspondence relation for the transmission-source address of the received frame can be registered;
a selecting unit that, when the determining unit determines that there is no entry to which the correspondence relation can be registered, detects the indicator bit located at a position indicating a longest time elapsed in a bit string obtained by rearranging the generation-management bit strings of all entries according to the time elapsed, and selects an entry corresponding to the detected indicator bit as an overwriting target entry to be overwritten; and
an updating unit that updates the management table in the storage unit by registering the correspondence relation between the transmission-source address of the frame and the port through which the frame is received to the selected overwriting target entry.
1 Assignment
0 Petitions
Accused Products
Abstract
A receiving unit receives a frame from any one of a plurality of ports. When it is determined that there is no entry to which a correspondence relation for a transmission-source address of the received frame can be registered in a management table, a selecting unit detects an indicator bit located at an oldest generation in a bit string obtained by rearranging generation-management bit strings of all entries of the management table, and selects an entry corresponding to the detected indicator bit as an overwriting target entry. An updating unit registers the correspondence relation to the selected overwriting target entry.
19 Citations
20 Claims
-
1. A path control apparatus that controls a communication path by relaying a frame including a transmission-source address and a transmission-destination address, the path control apparatus comprising:
-
a receiving unit that includes a plurality of ports, and receives the frame from any one of the ports; a storage unit that stores therein a management table that includes a correspondence relation between the transmission-source address of the frame and a port through which the frame is received in each entry, and a generation-management bit string in which an indicator bit is arranged at a position corresponding to a time elapsed since the entry is updated for each entry; a determining unit that determines whether there is an entry to which the correspondence relation for the transmission-source address of the received frame can be registered; a selecting unit that, when the determining unit determines that there is no entry to which the correspondence relation can be registered, detects the indicator bit located at a position indicating a longest time elapsed in a bit string obtained by rearranging the generation-management bit strings of all entries according to the time elapsed, and selects an entry corresponding to the detected indicator bit as an overwriting target entry to be overwritten; and an updating unit that updates the management table in the storage unit by registering the correspondence relation between the transmission-source address of the frame and the port through which the frame is received to the selected overwriting target entry. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A table updating method for a path control apparatus that controls a communication path by relaying a frame including a transmission-source address and a transmission-destination address, the table updating method comprising:
-
receiving the frame from any one of a plurality of ports; determining whether there is an entry to which a correspondence relation for the transmission-source address of the frame can be registered in a management table that stores the correspondence relation between the transmission-source address of the frame and a port through which the frame is received in each entry, and holds a generation-management bit string in which an indicator bit is arranged at a position corresponding to a time elapsed since the entry is updated for each entry; detecting, when it is determined that there is no entry to which the correspondence relation can be registered at the determining, the indicator bit located at a position indicating a longest time elapsed in a bit string obtained by rearranging the generation-management bit strings of all entries according to the time elapsed; selecting an entry corresponding to the detected indicator bit as an overwriting target entry to be overwritten; and updating the management table by registering the correspondence relation between the transmission-source address of the received frame and the port through which the frame is received to the selected overwriting target entry. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification