The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Jan. 01, 2019
Filed:
Nov. 30, 2016
Huawei Technologies Co., Ltd., Shenzhen, CN;
Nan Li, Beijing, CN;
Linchun Wang, Beijing, CN;
Huawei Technologies Co., Ltd., Shenzhen, CN;
Abstract
A packet edit processing method and a device are provided. In an embodiment, the method includes: generating an input packet template based on N to-be-edited protocol header fields of an input packet, and a preset protocol field mapping relationship, where the input packet template includes N protocol descriptors, and the protocol field mapping relationship is a mapping relationship between a protocol field included in a protocol descriptor and a protocol field included in a protocol header field; performing edit processing on the input packet template to obtain an output packet template; and converting, based on the preset protocol field mapping relationship, M protocol descriptors into M protocol header fields of an output packet, and replacing the N protocol header fields in the input packet with the M protocol header fields to obtain the output packet.