发明名称 Method for Determining Storage Location of Table, Forwarding Device, and Controller
摘要 A method includes receiving, by a forwarding device, M pieces of description information that are sent by a controller and are in a one-to-one correspondence with M forwarding services. Each piece of description information includes preset performance of a corresponding forwarding service and an identifier of a table to be searched, and a set including preset performance of the M forwarding services includes Q elements. The method further includes generating Q pieces of simultaneous access information according to the M pieces of description information; and determining, according to the Q pieces of simultaneous access information, that N tables are to be stored in at least one memory of the forwarding device.
申请公布号 US2017012800(A1) 申请公布日期 2017.01.12
申请号 US201615274943 申请日期 2016.09.23
申请人 Huawei Technologies Co., Ltd. 发明人 Wang Xiaozhong;Gong Jun
分类号 H04L12/64;H04L12/751 主分类号 H04L12/64
代理机构 代理人
主权项 1. A method, comprising: receiving, by a forwarding device, M pieces of description information sent by a controller, wherein the M pieces of description information are in a one-to-one correspondence with M forwarding services, each piece of description information of the M pieces of description information comprising: a preset performance of a corresponding forwarding service; andan identifier of a table to be searched to execute the corresponding forwarding service, wherein N tables are to be searched to execute the M forwarding services, wherein a set comprising preset performance of the M forwarding services comprises Q elements, wherein the Q elements are a first element to a Qth element, and each element in the Q elements indicates one type of preset performance, and an rth element in the Q elements indicates that the preset performance is a Cr×line rate, wherein M, N, Q, and r are positive integers, wherein 2≦N, Q≦M, r≦Q, and 0≦Cr≦1; generating, by the forwarding device, Q pieces of simultaneous access information according to the M pieces of description information, wherein an rth piece of simultaneous access information in the Q pieces of simultaneous access information indicates whether every two tables in the N tables are to be accessed by a same forwarding service whose preset performance is the Cr×line rate; determining, by the forwarding device according to the Q pieces of simultaneous access information, that the N tables are to be stored in at least one memory of the forwarding device; and storing, by the forwarding device, the N tables in the at least one memory.
地址 Shenzhen CN