-
公开(公告)号:US10057392B2
公开(公告)日:2018-08-21
申请号:US15054265
申请日:2016-02-26
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Pengcheng Tang , Yan Wang , Wei Zhou , Hui Ni
IPC: H04L12/28 , H04L29/06 , H04L12/721
Abstract: Embodiments of the present invention provide a packet processing method, device and system. The method includes: receiving, by a switching device, a packet, where there is a correspondence in the switching device between a prefix and a generic flow entry, where the correspondence is created by using the prefix as an index, and a match field of the generic flow entry corresponding to the prefix includes the prefix; acquiring, by the switching device according to the prefix, a bit field that is in the packet and that is used for matching; and performing matching, by the switching device, between a value of the bit field and a data parameter of the match field of the generic flow entry corresponding to the prefix. The embodiments of the present invention can reduce a quantity of times of generic field extraction from a packet and improve processing efficiency.