期刊文献+

一种基于单件模式的主控软件资源冲突问题解决方案 被引量:1

A Solution Based on Singleton of Resource Access Conflict for Main Control Software
下载PDF
导出
摘要 为解决主控软件资源冲突问题,提高软件可靠性,本文以某主控软件多线程访问同一资源导致软件异常的具体问题为例,提出单件模式解决问题的思路并给出具体解决方案,讨论了传统设计方法与单件模式方式的区别,总结单件模式的优势。进一步分析主控软件重用框架对资源唯一性的要求,给出3个非功能要求的单件模式设计方法。事实表明,单件模式应用在主控软件设计上,可以提高设计效率,还可以提高软件可靠性和维护性。 Aiming at solving the problem of main control software resource conflict and improving the soft- ware reliability, the specific issues of same resources accessed by the multiple threads that lead to software malfunction are taken as examples. The singleton pattern is proposed to solve the problem and the specific solutions are given. Firstly, the difference of traditional design method and the singleton pattern is discussed in this paper, then the advantages of singleton pattern are summarized. Furthermore, the requirement of resource uniqueness is analyzed in the reuse of framework of the main control software and the singleton pattern method of three non-functional requirements is given. The result shows that the singleton pattern can improve the design efficiency and improve the reliability and maintainability of the software.
出处 《航天控制》 CSCD 北大核心 2018年第1期75-79,91,共6页 Aerospace Control
关键词 单件模式 主控软件 资源冲突 Singleton pattern Main control software Resource access conflict
  • 相关文献

参考文献2

二级参考文献12

  • 1李明雨,杨萍,毕义明.常规导弹作战批量测试优化研究[J].火力与指挥控制,2006,31(12):16-18. 被引量:2
  • 2侯世明等.导弹总体设计与试验[M].北京:宇航出版社,1996.
  • 3Gamma E.设计模式:可复用面向对象软件的基础[M].李英军,译.北京:机械工业出版社,2000.
  • 4Stephen D Huston, et al. The ACE Programmer's Guide: Practical Design Patterns for Net- work and Systems Programming[ M]. MA Weida. Trans- late. China Electric Power Press, 2004.
  • 5Douglas C Schmidt, Stephen D Huston. C + + Network Programming, Volume 1 : Mastering Complexity with ACEand Patterns[ M ]. Addison-wesley, 2002.
  • 6Douglas C Schmidt, Stephen D Huston. C + + Network Programming, Volume 2: Mastering Complexity with ACE and Patterns[ M ]. Addison-wesley, 2003.
  • 7Fayad M, Schmidt D, Johnson R. Building Application Frameworks: Object - - Oriented Foundations of Frame- work Design[ M]. New York: John Wiley&Sons, 1999.
  • 8任江涛,蔡远文,同江.运载火箭测试发射流程构建与评估方法[J].导弹与航天运载技术,2008(6):4-7. 被引量:9
  • 9孙海峰,陈迪,解月江,邹军,安占新.基于数据库和面向对象的运载火箭地面测发控软件复用[J].航天控制,2010,28(2):79-83. 被引量:5
  • 10夏克寒,牟建华,暴飞虎,胡斌.导弹测试流程优化系统设计与实现[J].导弹与航天运载技术,2012(2):43-46. 被引量:12

共引文献12

同被引文献9

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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