首页> 中文期刊>计算机系统应用 >设计模式在文件交换系统资源管理中的应用

设计模式在文件交换系统资源管理中的应用

     

摘要

This article analyses the deficiencies of scalability and maintainability of the traditional resource management system from the perspective of the business layer of the system, and to put forward this paper is to develop resource management system. In this paper, the complexity of the business layer is to be re-designed through the design pattern idea, the introduction of a proxy pattern, a simple factory pattern, visitor pattern, double dispatch pattern and strategy pattern makes file exchange system the indirect interactions of function module components and resources processing algorithms. Functional modules of the business layer through configuration information call the appropriate components to complete a business, so that each business is no longer a direct link between the components, so a business component of the change will not affect the other business group pieces. With this development approach is basically to achieve the open - Closed Principle (OCP), reducing the system's coupling to increase the reusability of the system modules, and to build a scalable, easy to maintain business systems.%从业务层的角度分析了传统资源管理系统在可扩展性和可维护性方面的不足,并借此提出了所要开发的资源管理系统.利用设计模式的思想,对复杂的业务层进行重新设计,引进了代理模式、简单工厂模式、访问者模式、双重分派和策略模式,使得文件交换系统功能模块组件和资源处理算法模块之间的交互关系间接化.业务层功能模块之间通过业务配置信息,调用相应的组件来完成一项业务,使每个业务组件之间不再发生直接联系,因此一个业务组件的更改不会影响到其它业务组件.采用这种开发方式基本上实现了开-闭原则(OCP),降低了系统的耦合度,增加了系统模块的可复用性,构建了一个扩展性强、易于维护的业务系统.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号