计算机与现代化
計算機與現代化
계산궤여현대화
COMPUTER AND MODERNIZATION
2014年
6期
102-105
,共4页
插件%信息分发%条件匹配%过滤
插件%信息分髮%條件匹配%過濾
삽건%신식분발%조건필배%과려
Plug-in%dispensing information%condition matching%filter
针对现有信息分发软件中条件匹配过滤功能模块与主程序紧密耦合,导致其可扩展性与灵活性较差的问题,提出一种基于插件的条件匹配过滤方法。首先定义插件接口、订阅条件,然后通过设计的调用规范将插件集成于信息分发软件中。该方法利用软件功能模块的解耦,可以有效提高信息分发软件的灵活性和功能可扩展性,从而增强其健壮性。
針對現有信息分髮軟件中條件匹配過濾功能模塊與主程序緊密耦閤,導緻其可擴展性與靈活性較差的問題,提齣一種基于插件的條件匹配過濾方法。首先定義插件接口、訂閱條件,然後通過設計的調用規範將插件集成于信息分髮軟件中。該方法利用軟件功能模塊的解耦,可以有效提高信息分髮軟件的靈活性和功能可擴展性,從而增彊其健壯性。
침대현유신식분발연건중조건필배과려공능모괴여주정서긴밀우합,도치기가확전성여령활성교차적문제,제출일충기우삽건적조건필배과려방법。수선정의삽건접구、정열조건,연후통과설계적조용규범장삽건집성우신식분발연건중。해방법이용연건공능모괴적해우,가이유효제고신식분발연건적령활성화공능가확전성,종이증강기건장성。
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 .