摘要
针对现有信息分发软件中条件匹配过滤功能模块与主程序紧密耦合,导致其可扩展性与灵活性较差的问题,提出一种基于插件的条件匹配过滤方法。首先定义插件接口、订阅条件,然后通过设计的调用规范将插件集成于信息分发软件中。该方法利用软件功能模块的解耦,可以有效提高信息分发软件的灵活性和功能可扩展性,从而增强其健壮性。
For the restricted weakness of extensibility and flexibility caused by tight coupling between the existing module function of condition matching and the host program, this paper presents a filtrating information method based on Plug-in technology. Firstly, we make the definitions of Plug-in interfaces and conditioned subscriptions. Secondly, integrate the Plug-in with the host program by the designed criterion. By decoupling the module function of condition matching and the host program, this method can effectively improve the extensibility and flexibility in the dispensing information program, thus enhance the robustness of the program.
出处
《计算机与现代化》
2014年第6期102-105,共4页
Computer and Modernization
关键词
插件
信息分发
条件匹配
过滤
Plug-in
dispensing information
condition matching
filter