作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (19): 233-235,. doi: 10.3969/j.issn.1000-3428.2006.19.084

• 工程应用技术与实现 • 上一篇    下一篇

远程抄表系统中实现模式的研究

张祖平,肖 波   

  1. (中南大学信息科学与工程学院,长沙 410083)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2006-10-05 发布日期:2006-10-05

Research on Implementation Pattern of Telemeter Reading System

ZHANG Zuping, XIAO Bo   

  1. (School of Information Science and Engineering, Central South University, Changsha 410083)
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-10-05 Published:2006-10-05

摘要: 电力行业的远程抄表系统中涉及的表计规约众多,传统的设计模式与开发方法难以满足应用需求。论文在介绍创建性模式概念和相关技术的基础上,结合远程抄表系统中实际应用的需求,从面向对象的设计思想出发,着重分析了工厂模式、单例模式和建造模式的特点,并从扩展性、系统开销大小和封装继承等方面对多规约处理问题提出几种模式融合的解决方案。

关键词: 抽象工厂, 单例模式, 生成器模式, 规约, 软件重用

Abstract: Based on creation pattern and requirements of the telemeter reading system, characters of factory pattern, singleton pattern and builder pattern are analyzed, and the thinking of OOD is introduced. This paper proposes the novel solutions of multi protocol with system expansibility, spending and encapsulation. The problem of the long-distance telemeter reading is solved completely and efficiently.

Key words: Factory pattern, Singleton Pattern, Builder pattern, Protocol, Software reuse