Path controls 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 for each entry including a plurality of generation bits indicating a plurality of generations, wherein one of the generation bits for an entry corresponds to a time elapsed since the entry was updated and is set as an indicator bit for the 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 an indicator bit located at a position indicating a longest time elapsed in a bit string that is obtained by coupling the generation bits for all entries by the generations, and selects an entry corresponding to the detected indicator bit as an overwriting target entry to be overwritten; and
an updating unit that registers 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 in the management table in the storage unit, and changes a position of the indicator bit in the generation-management bit strings of the selected overwriting target entry to a generation bit of a generation indicating a shortest time elapsed.
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.
15 Citations
18 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 for each entry including a plurality of generation bits indicating a plurality of generations, wherein one of the generation bits for an entry corresponds to a time elapsed since the entry was updated and is set as an indicator bit for the 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 an indicator bit located at a position indicating a longest time elapsed in a bit string that is obtained by coupling the generation bits for all entries by the generations, and selects an entry corresponding to the detected indicator bit as an overwriting target entry to be overwritten; and an updating unit that registers 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 in the management table in the storage unit, and changes a position of the indicator bit in the generation-management bit strings of the selected overwriting target entry to a generation bit of a generation indicating a shortest time elapsed. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. 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 for each entry including a plurality of generation bits indicating a plurality of generations, wherein one of the generation bits for an entry corresponds to a time elapsed since the entry was updated and is set as an indicator bit for the entry; detecting, when it is determined that there is no entry to which the correspondence relation can be registered at the determining, an indicator bit located at a position indicating a longest time elapsed in a bit string that is obtained by coupling the generation bits for all entries by the generations; selecting an entry corresponding to the detected indicator bit as an overwriting target entry to be overwritten; 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 in the management table; and changing a position of the indicator bit in the generation-management bit strings of the selected overwriting target entry to a generation bit of a generation indicating a shortest time elapsed. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
Specification