-
公开(公告)号:US11882039B1
公开(公告)日:2024-01-23
申请号:US18252179
申请日:2023-02-21
Applicant: ZHEJIANG LAB
Inventor: Donghui Lu , Linlin Yan , Tao Zou
IPC: H04L47/122 , H04L47/2441 , H04L47/20
CPC classification number: H04L47/122 , H04L47/20 , H04L47/2441
Abstract: The present disclosure discloses a UDF-based traffic offloading method and a system, the method includes: step 1, performing P4 language programming: performing P4 language programming description on a protocol packet format of the target traffic in a network and a corresponding flow table description on a protocol packet format of the target packet and parsing, matching and offloading rules of the target packet; step 2: compiling and mapping the P4 program by UDF-oriented compilation and mapping method, to an ASIC chip; step 3: in the ASIC chip, matching a traffic offloading rule according to the UDF rule, and executing a traffic offloading action according to the traffic offloading rule, where the traffic offloading action includes offloading the target packet to a corresponding processing node or discarding the target packet.