{"title":"网络设备的可扩展命令解析方法","authors":"Ning Li, Lingcui Zhang, Qiaoduo Zhang, Fenghua Li","doi":"10.1109/CISIS.2016.62","DOIUrl":null,"url":null,"abstract":"Network functionality is growing increasingly complex, making the commands addition of network device a steadily growing challenge. In order to improve the efficiency of adding new commands to developing or developed network devices, we propose an extensible command parsing method (ECPM). With this method, we design the extensible command parsing system consisting of business-logic module and command-matching module. Business-logic module includes user-defined command rule files and a rule file parsing program. The grammar of user-defined command rule is concise and easy. The rule file parsing program parses rule files into command tree which is disposed in the memory. Command-matching module consists of user commands handling program and command tokens matching program. The former program divides user commands into command tokens. The latter program matches command tokens with command tree to locate the command handling function. We present the design of such a parser using ECPM and apply it to new network devices. The result shows that the ECPM improves the variability, extensibility and flexibility of network devices parsing system.","PeriodicalId":249236,"journal":{"name":"2016 10th International Conference on Complex, Intelligent, and Software Intensive Systems (CISIS)","volume":"49 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Extensible Command Parsing Method for Network Device\",\"authors\":\"Ning Li, Lingcui Zhang, Qiaoduo Zhang, Fenghua Li\",\"doi\":\"10.1109/CISIS.2016.62\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Network functionality is growing increasingly complex, making the commands addition of network device a steadily growing challenge. In order to improve the efficiency of adding new commands to developing or developed network devices, we propose an extensible command parsing method (ECPM). With this method, we design the extensible command parsing system consisting of business-logic module and command-matching module. Business-logic module includes user-defined command rule files and a rule file parsing program. The grammar of user-defined command rule is concise and easy. The rule file parsing program parses rule files into command tree which is disposed in the memory. Command-matching module consists of user commands handling program and command tokens matching program. The former program divides user commands into command tokens. The latter program matches command tokens with command tree to locate the command handling function. We present the design of such a parser using ECPM and apply it to new network devices. The result shows that the ECPM improves the variability, extensibility and flexibility of network devices parsing system.\",\"PeriodicalId\":249236,\"journal\":{\"name\":\"2016 10th International Conference on Complex, Intelligent, and Software Intensive Systems (CISIS)\",\"volume\":\"49 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2016-07-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2016 10th International Conference on Complex, Intelligent, and Software Intensive Systems (CISIS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/CISIS.2016.62\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 10th International Conference on Complex, Intelligent, and Software Intensive Systems (CISIS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CISIS.2016.62","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Extensible Command Parsing Method for Network Device
Network functionality is growing increasingly complex, making the commands addition of network device a steadily growing challenge. In order to improve the efficiency of adding new commands to developing or developed network devices, we propose an extensible command parsing method (ECPM). With this method, we design the extensible command parsing system consisting of business-logic module and command-matching module. Business-logic module includes user-defined command rule files and a rule file parsing program. The grammar of user-defined command rule is concise and easy. The rule file parsing program parses rule files into command tree which is disposed in the memory. Command-matching module consists of user commands handling program and command tokens matching program. The former program divides user commands into command tokens. The latter program matches command tokens with command tree to locate the command handling function. We present the design of such a parser using ECPM and apply it to new network devices. The result shows that the ECPM improves the variability, extensibility and flexibility of network devices parsing system.