Method of dynamically configuring FPGA and network security device
AssigneeHangzhou DPtech Technologies Co., Ltd.
InventorsXiangyu Meng, Daisheng Zhang
Life of this patent
Estimating the term…
Abstract
Provided are a method of dynamically configuring a FPGA and a network security device. The network security device includes a CPU and at least one FPGA coupled with the CPU. The CPU generates a configuration entry for a target FPGA in response to a user instruction. The configuration entry includes a classification number and a configuration content for the target FPGA. The CPU sends the configuration entry to each FPGA coupled with the CPU, Each FPGA obtains its own classification number, compares its own classification number with the classification number in the configuration entry, and stores the configuration content when the own classification number the same with the classification number in the configuration entry.
Claims18
A method of dynamically configuring a Field Programmable Gate Array (FPGA), the method applicable to a network security device, wherein the network security device comprises a Central Processing Unit (CPU) and at least one FPGA coupled with the CPU, and the method comprises:
- in response to a user instruction, generating, by the CPU, a configuration entry for a target FPGA, wherein the configuration entry comprises a first classification number, a classification identifier and a configuration content for the target FPGA, and the classification identifier indicates a type corresponding to the first classification number in the configuration entry;
- sending, by the CPU, the configuration entry to each of the at least one FPGA coupled with the CPU;
- and
- for each of the at least one FPGA,
- obtaining, by the FPGA, a second classification number corresponding to the type indicated by the classification identifier from a plurality of second classification numbers of the FPGA,
- comparing, by the FPGA, the second classification number of the FPGA with the first classification number in the configuration entry, and
- storing, by the FPGA, the configuration content when the second classification number of the FPGA is the same as the first classification number in the configuration entry, so as to dynamically configure the FPGA,
- wherein each of the at least one FPGA is coupled with a plurality of storage media, different storage media correspond to different entry types.
A network security device, comprising:
- a CPU;
- and
- at least one FPGA coupled with the CPU;
- wherein the CPU is configured to:
- in response to a user instruction, generate a configuration entry for a target FPGA, wherein the configuration entry comprises a first classification number, a classification identifier and a configuration content for the target FPGA, and the classification identifier indicates a type corresponding to the first classification number in the configuration entry, and
- send the configuration entry to each of the at least one FPGA coupled with the CPU;
- for each of the at least one FPGA coupled with the CPU, the FPGA is configured to:
- obtain a second classification number corresponding to the type indicated by the classification identifier from a plurality of second classification numbers of the FPGA,
- compare the second classification number of the FPGA with the first classification number in the configuration entry, and
- store the configuration content when the second classification number of the FPGA is the same as the first classification number in the configuration entry, so as to dynamically configure the FPGA, and
- wherein each of the at least one FPGA is coupled with a plurality of storage media, different storage media correspond to different entry types.
Dependencies are inferred from the claim text.