期刊文献+

基于面向对象设计模式的仓储系统设计与实现 被引量:2

Designing the inventory management system with object-oriented design pattern
下载PDF
导出
摘要 针对杂志库存管理问题,基于面向对象思想,运用设计模式设计了一个库存管理系统。通过问题域部件设计,将系统划分为人员管理、物资管理和收益管理三部分,并设计了相关表单;通过任务管理部件设计,运用单例模式实现了并发审核,运用观察者模式保证了数据查询的准确和实时,运用状态模式实现了库存的调取,运用装饰器模式实现了收益统计,运用策略模式评估了来年印数与保留库存数;通过数据管理部件和人机交互部件设计,运用抽象工厂结合简单工厂的模式实现了多数据源访问支持;最后设计了用例进行测试。测试结果表明,该系统可以满足杂志库存管理的使用需求。 Aiming at the problem of inventory control of magazine,the object-oriented design pattern was used to design the inventory management system.In the design process of the problem domain components,the system was divided into 3 parts:personnel management,material management and earnings management,and business related forms were designed.In the design process of task management components,the singleton pattern was used to realize concurrent audit,the observer pattern was used to guarantee the accuracy and real-time of data query,the state pattern was used to realize inventory control,the decorator pattern was used to statistics of revenue and expenditure,the strategy pattern was used to evaluate the number of next year's printing and storage quantity.And in the design process of data management components and human interaction components,the abstract factory was used with the combination of the simple factory pattern to achieve the multiple data source access support.Finally,the use cases were designed and tested,and the results show that the system meets the needs of inventory management of magazine.
作者 周昱晨 罗向阳 张豪 Zhou Yuchen;Luo Xiangyang;Zhang Hao(Journal of Mechanical and Electrical Engineering,Hangzhou,Zhejiang 310009,China)
出处 《计算机时代》 2018年第9期33-36,共4页 Computer Era
关键词 面向对象设计 问题域部件 任务管理部件 数据管理部件 人机交互部件 设计模式 object-oriented design problem domain components task management components data management components human interaction components design pattern
  • 相关文献

参考文献8

二级参考文献33

  • 1黎永良,崔杜武.MVC设计模式的改进与应用[J].计算机工程,2005,31(9):96-97. 被引量:71
  • 2费翔林,张帆.面向对象分析方法综述[J].小型微型计算机系统,1995,16(9):14-20. 被引量:21
  • 3马亚玲.浅谈面向对象的分析和设计方法的发展趋势[J].信息系统工程,1995,8(2):51-55. 被引量:2
  • 4李光志.对象分析与设计方法比较[M].北京:电子工业出版社,1996,7..
  • 5ERICH GAMMA,RICHARD HELM,RALPH JOHNSON,and others.设计模式:可复用面向对象软件的基础(英文版)[M].北京:机械工业出版社,2002.
  • 6BOB TARR.Some Object-oriented design principles[EB/OL].2004-02-16.http://www.research.umbc.edu/~tarr/dp/spr05/cs446.html.
  • 7ROBERT C MARTIN.Design Principles and Design Patterns[EB/OL].2000-08-03.http://www.objectmentor.com.
  • 8Brooks N, Baldwin T, Brinson T, a al. Analysis of fuel cell based power systems using EMTDC electri- cal power simulator [C] // The 36th Southeastern Symposium on System Theory. Atlanta, USA: 2004.
  • 9李鹏(LiPeng).分布式发电供能微网系统暂态仿真方法研究(Research on the Transient Simulation Methodology of Micro-grid Powered by Distributed Energy Resources) [D].天津:天津大学电气与自动化工程学院(Tianjin: School of Electrical Engineering and Automation, Tianjin University), 2010.
  • 10Bob T. Some object-oriented design principles [EB/ OLd. http://userpages, umbc. edu/-tarr/dp/lec- tures/OOPrinciples, pdf, 2010.

共引文献28

同被引文献12

引证文献2

二级引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部