Incremental compiling method and system based on heterogeneous device

    公开(公告)号:US12204880B1

    公开(公告)日:2025-01-21

    申请号:US18795102

    申请日:2024-08-05

    Applicant: ZHEJIANG LAB

    Abstract: An incremental compiling method and an incremental compiling system based on a heterogeneous device. The method comprises: a user using P4 to develop a network program, checking the syntax and semantics of the network program and converting into an intermediate representation; allocating intermediate representation files according to constraints such as the functions and resources of the heterogeneous device; then, transforming the network program into different rule expressions of the heterogeneous device according to the constraints of the heterogeneous device, flow table entries and the like, and loading the on different rule expressions to a target device; when the user needs to deploy network functions incrementally, the user only needs to write new network programs and regenerate rule expressions; by comparing and analyzing the old and new rule expressions, a rule expression that can be loaded on heterogeneous device is formed, and the incremental deployment of network functions is realized.

Patent Agency Ranking