摘要
介绍了设计模式思想对提高嵌入式软件开发的稳定性、应变性和可维护性等方面的积极作用,在此基础上运用设计模式的面向接口编程原则、组合原则,以及策略模式、类厂模式等方法对嵌入式RAID磁盘阵列系统中传统的Cache模块代码进行重构。
This paper presents the importance of design pattern in embedded software including stability, flexible and maintainable. Three typical design pattern and principle such as program to interface, composite principle, strategy pattern and factory pattern are used to refectory the cache module of RAID.
出处
《微型电脑应用》
2011年第8期45-46,74,共3页
Microcomputer Applications