首页 | 官方网站   微博 | 高级检索  
     

观察者设计模式在报警处理系统中的应用
引用本文:尚伟,刘志广,张沫.观察者设计模式在报警处理系统中的应用[J].无线电工程,2010,40(11):51-54.
作者姓名:尚伟  刘志广  张沫
作者单位:[1]中国电子科技集团公司第五十四研究所,河北石家庄050081 [2]河北文化信息资源共享中心,河北石家庄050011
摘    要:设计模式的出现和广泛应用为实现软件的高内聚和低耦合提供了有效的方法。观察者模式是一种能够有效降低软件模块间耦合度的设计模式,它的采用将有利于设计者敏捷的构建信息系统。介绍了观察者模式的原型及其实现方法。通过介绍其在报警处理系统软件设计中的应用实例,阐明了设计模式在改善软件的扩展性和适应性方面所发挥的积极作用,并对观察者模式在软件设计中应用的不足与优势做了进一步分析。

关 键 词:设计模式  内聚  耦合  观察者

Application of Observer Pattern in Alarm Processing System
SHANG Wei,LIU Zhi-guang,ZHANG Mo.Application of Observer Pattern in Alarm Processing System[J].Radio Engineering of China,2010,40(11):51-54.
Authors:SHANG Wei  LIU Zhi-guang  ZHANG Mo
Affiliation:1.The 54th Research Institute of CETC,Shijiazhuang Hebei 050081,China;2.Hebei Cultural Information Resources Sharing Center,Shijiazhuang Hebei 050011,China)
Abstract:The emergence and extensive application of design patterns provide an effective way to achieve high cohesion and low coupling of software modules.Observer pattern is a pattern that reduces the coupling of software modules.The application of Observer pattern may help to develop the information system agilely.The paper introduces the basic theory of Observer pattern as well as its implementation method,discusses the active role it plays in improving software expansibility and adaptability by describing the application of Observer pattern in the development of Alarm Processing System.At last,the application advantages and disadvantages of Observer pattern in software design are analyzed.
Keywords:design pattern  cohesion  coupling  observer
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号