摘要:
A method for a content router (CR1) in a network (NW) for forwarding a request (R) comprising a requested content name (RN) being a set of ordered components (COi), said content router (CR1) comprising a routing table (RT) and a first plurality of content names (Ni) and a plurality of forwarding interfaces (Fi), said routing table (RT) associating each content name (Ni) from the first plurality of content names (Ni) to at least one forwarding interface (Fi) from the plurality of forwarding interfaces (Fi), said method comprising the following initialization step performed by the content router (CR1): - initializing (601) a referencing array (RA) with signatures (Si) of the first plurality of content names (Ni), each signature (Si) being a representation of at least one content name (Ni), and said method comprising the following steps performed in real-time by the content router (CR1): - receiving (603) the request (R), - identifying (605) a first block (B1) from the referencing array (RA) according to a first signature (SG1) of a first subset (SS1) of ordered components (COi) from the requested content name (RN), - looking up (607) in the first block (B1) for a second signature (SG2i) of a second subset (SS2i) of ordered components (COi) from requested content name (RN), then, - if the second signature (SG2i) of the second subset (SS2i) is referenced (608) in the first block (B1), checking (609) if said second subset (SS2i) is matching a content name (Ni) from the routing table (RT), then, - if said second subset (SS2i) is matching (610) a content name (RNi) from the routing table (RT), forwarding (611) the request (R) through the forwarding interface (Fi) being associated with said matching content name (Ni).