Nan Jiang, Ping Lin, Yulong He, Zhuozhi Tan, Jin Hu
{"title":"一种基于FPGA的新型正则表达式匹配引擎设计","authors":"Nan Jiang, Ping Lin, Yulong He, Zhuozhi Tan, Jin Hu","doi":"10.1109/asid52932.2021.9651676","DOIUrl":null,"url":null,"abstract":"In order to solve the problem that the computing power of processors in the post-Moore era cannot keep up with the speed of daily data generation, improve the ability of data retrieval and replacement, and ensure practicability, we learn from previous research and switch from traditional software to hardware to achieve regular matching. Based on the regular expression of the road characteristic, a regular matching hardware engine architecture is proposed and designed. Using RAM characteristics in this circuit, through different input configurations, there is no need to re-modify the circuit in the FPGA, so that it can achieve different pattern matching functions. It solves part of the generality problems caused by the diversity of modes, and satisfies common scenarios that require dynamic update of matching rules. And all matching processes are completed by only one basic core, saving a lot of logic resources. The processing speed is roughly 1 clock and 1 cycle to process 1 byte, which is close to the processing limit of digital circuits for single-byte data streams. Finally, the circuit is analyzed and compared with the circuit performance of typical research in the past, and the research work in the future is prospected.","PeriodicalId":150884,"journal":{"name":"2021 IEEE 15th International Conference on Anti-counterfeiting, Security, and Identification (ASID)","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2021-10-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Design of A New Type of Regular Expression Matching Engine Based on FPGA\",\"authors\":\"Nan Jiang, Ping Lin, Yulong He, Zhuozhi Tan, Jin Hu\",\"doi\":\"10.1109/asid52932.2021.9651676\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In order to solve the problem that the computing power of processors in the post-Moore era cannot keep up with the speed of daily data generation, improve the ability of data retrieval and replacement, and ensure practicability, we learn from previous research and switch from traditional software to hardware to achieve regular matching. Based on the regular expression of the road characteristic, a regular matching hardware engine architecture is proposed and designed. Using RAM characteristics in this circuit, through different input configurations, there is no need to re-modify the circuit in the FPGA, so that it can achieve different pattern matching functions. It solves part of the generality problems caused by the diversity of modes, and satisfies common scenarios that require dynamic update of matching rules. And all matching processes are completed by only one basic core, saving a lot of logic resources. The processing speed is roughly 1 clock and 1 cycle to process 1 byte, which is close to the processing limit of digital circuits for single-byte data streams. Finally, the circuit is analyzed and compared with the circuit performance of typical research in the past, and the research work in the future is prospected.\",\"PeriodicalId\":150884,\"journal\":{\"name\":\"2021 IEEE 15th International Conference on Anti-counterfeiting, Security, and Identification (ASID)\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-10-29\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 IEEE 15th International Conference on Anti-counterfeiting, Security, and Identification (ASID)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/asid52932.2021.9651676\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE 15th International Conference on Anti-counterfeiting, Security, and Identification (ASID)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/asid52932.2021.9651676","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Design of A New Type of Regular Expression Matching Engine Based on FPGA
In order to solve the problem that the computing power of processors in the post-Moore era cannot keep up with the speed of daily data generation, improve the ability of data retrieval and replacement, and ensure practicability, we learn from previous research and switch from traditional software to hardware to achieve regular matching. Based on the regular expression of the road characteristic, a regular matching hardware engine architecture is proposed and designed. Using RAM characteristics in this circuit, through different input configurations, there is no need to re-modify the circuit in the FPGA, so that it can achieve different pattern matching functions. It solves part of the generality problems caused by the diversity of modes, and satisfies common scenarios that require dynamic update of matching rules. And all matching processes are completed by only one basic core, saving a lot of logic resources. The processing speed is roughly 1 clock and 1 cycle to process 1 byte, which is close to the processing limit of digital circuits for single-byte data streams. Finally, the circuit is analyzed and compared with the circuit performance of typical research in the past, and the research work in the future is prospected.