设计模式描述了在软件开发过程中经常出现的问题及其解决方案,是软件复用的有效途径。在嵌入式系统软件开发中,设计模式的应用可以提高软件的质量。归纳了一个基于客户机/服务器结构的嵌入式通信软件设计模式,并进行了描述,然后给出了该设计模式的一个实现框架。最后通过一个实例表明该框架可以使嵌入式软件开发人员快速的构建许多不同的嵌入式通信软件。
Design pattern describes a problem which occurs once and again during the process of software development, and then the solution to that problem is described. Design pattern brings convenience to software reuse. In embedded communication software development, design pattern is applied to improve the quality of software. In addition to that, a bridge between embedded research and software development is established. A software design pattern which is widely used in embedded communication is brought forward. This pattern is described formally in detail, including its intent, motivation, applicability, structure and consequences, etc. Then an example is given to explain the consequences of this pattern.