簡易檢索 / 詳目顯示

研究生: 蘇惠明
Su, Hui-Ming
論文名稱: 框架導向之嵌入式即時系統開發
Using Framework for Embedded Real-Time System Development
指導教授: 陳 敬
Chen, Jing
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 電機工程學系
Department of Electrical Engineering
論文出版年: 2002
畢業學年度: 90
語文別: 中文
論文頁數: 39
中文關鍵詞: 包裹元件類別框架
外文關鍵詞: package, class, framework, component
相關次數: 點閱:70下載:1
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 嵌入式即時系統的開發是一件十分複雜的工作,不僅要面對與設計一般系統相同的問題如使用者需求難以掌握等等,還必須克服即時系統所面對的時間限制問題。要解決這些問題,快速地開發出新的系統,並降低開發的成本,一個很重要的捷徑就是使用重用技術。本文中我們使用物件導向的重用技術,針對嵌入式即時系統的開發,提出一個框架(framework)的構想;框架是一個可重用之設計,包括一組類別(class)集合及其之間的互動關係。框架可由其互動關係及靜態結構兩個層面來展現。就互動關係之觀點,可將視框架為由五個元件(component)之組合,這些元件各司其不同之功能,由這些元件共同合作,以幫助設計者有效地開發嵌入式即時系統。構成框架的五個元件如下,分別是分析器(Analyzer),任務器(Task Composer),排程器(Scheduler),作業系統管理器(OS Manager)及程式產生器(Code Generator)。就靜態結構來看,可將構成框架之所有基礎類別歸納成三個包裹(package),表達嵌入式即時系統之抽象結構,其名稱如下,應用包裏(UsrApp)、即時作業包裏(RTService)及作業系統包裏(OSWrap)。設計者藉由繼承基礎類別之結構及關係,衍生適當之子類別,以符合應用之需求,而基礎類別間己定義完善之互動關係,將使實體化自子類別之物件,其互動關係有穩健之基礎。使用框架來開發嵌入式即時系統,不僅降低開發時間,縮短系統開發流程,更可提高產品品質,減少維護費用,讓產品更具競爭力。

    The development of an embedded real-time system is a complicated task. Not only facing the same difficulty in general purpose system but also the stringent timing constraints on critical tasks. Using Reusing technique for system development is a shortcut. In this paper, a framework-oriented approach is presented to help efficiently design embedded real-time systems. The approach is based on an object-oriented framework, which is a reusable design expressed as a set of abstract classes and the way their instances collaborate. We presented our framework construct in two levels: collaboration and structures. At the collaboration level, the framework consists of five components, namely Analyzer, Task Composer, Scheduler, OS Manager and Code Generator. At the structure level, the framework is divided into three packages: UsrApp, RTService and OSWrap. The designer inherited the framework to customize their application. The structures of application objects derived from the subclasses inherited from the superclasses in the framework were well-defined. The robust relationships between application objects inherit of the relationships between superclasses in the framework. Using framework in embedded real-time system development can shorten the product development cycle and reduce the cost of maintenance thereby reduce the time-to-market of products.

    第一章 簡介及背景知識 1 第二章 相關研究 5 第三章 框架之架構 9 3.1 簡介 9 3.2 設計者之工作 9 3.3 框架之構想 11 3.3.1 元件觀點 12 3.3.1.1 分析器 12 3.3.1.2 任務器 12 3.3.1.3 排程器 14 3.3.1.4 作業系統管理器 14 3.3.1.5 程式產生器 15 3.3.2 類別觀點 16 3.3.2.1 應用物件 17 3.3.2.2 排程物件 18 3.3.2.3 作業系統物件 18 3.3.2.4 主程式物件 19 3.4 開發程序 19 第四章 實現框架導向之開發工具 21 4.1基本概念 21 4.2實現框架 21 4.2.1分析器之實現 23 4.2.2任務器之實現 23 4.2.3排程器之實現 24 4.2.4作業系統管理器之實現 24 4.2.5程式產生器之實現 26 4.3開發流程及產出成品 26 第五章 框架之應用研究:AICC專案 28 5.1系統需求描述 28 5.2 塑模 29 5.3 框架之產出 36 第六章 總結與後續研究 39 參考文獻 40

    [audl93] N. Audsley, A. Burns, M. Richardson, K. Tindell, A. Wellings, Applying New Scheduling Theory to Static Priority Pre-emptive Scheduling, Software Engineering Journal , Volume: 8 Issue: 5, pp. 284-292 , Sept. 1993.

    [auds93] N.C. Audsley, A. Burns , A.J. Wellings, Deadline Monotonic Scheduling Theory and Application, Control Engineering Practice, Vol. 1(1), pp. 71-78 ,1993.

    [booc99] G. Booch, J Rumbaugh, and I. Jacobson, The Unified Modeling Language User Guide, Addison-Wesley Longman, 1999. ISBN 0-201-57168-4.

    [doug98] B. P. Douglas: Designing real-time systems with UML, parts 1,2 and 3, Embedded Systems Programming, March-May 1998.

    [doug99] B. P. Douglass, Doing hard-time: developing real-time systems with UML, objects, frameworks, and patterns, Addison-Wesley, 1999, ISBN 0-201-49837-5.

    [doug00] Douglass, B.P. Real-Time Design Patterns. White Paper, I-Logix. http://www.ilogix.com. July 2000.

    [dous99] B. P. Douglass, REAL-TIME UML: Developing Efficient Objects For Embedded Systems Secondary Edition , Addison-Wesley Longman, 1999, ISBN 0-201-65784-8.

    [eded98] G. Eddon, H.Eddon, Inside Distributed COM. Microsoft Press, 1998, ISBN 1-57231-849-X.

    [engl97] R. Englander, Developing Java Beans. O’Reilly, Sebastopol, 1997, ISBN 1-56592-289-1.

    [faya97] M. Fayad and D.C. Schmidt. Object-oriented application frameworks, Communications of the ACM, Special Issue on Object-Oriented Application Frameworks, 40(10), October 1997.

    [fema01] L.Femando. Friedrich, J. Stankovic, Marty Humphrey, M..Marley, And J. Haskins Jr., A Survey of Configurable, Component-Based Operating Systems for Embedded Applications, IEEE Micro, Vol. 21, No. 3, May/June 2001.

    [fkon00] F. Kon and R.H. Campbell, Dependence Management in Component-Based Distributed Systems, IEEE Concurrency, January/March 2000(Vol. 8, No. 1), pp 26-36.

    [fowl97] M. Fowler, UML Distilled: Applying the Standard Object Modeling Language, Addison-Wesley Longman, 1997, ISBN 0-201-32563-2.

    [gran99] Grant Martin, Luciano Lavagno, Jean Louis-Guerin, Embedded UML: a merger of real-time UML and co-design.

    [hsiu98] P.A. Hsiung, RTFrame: An Object-Oriented Application Framework for Real-time Application, Proceedings of the 1998 IEEE, Technology of Object-Oriented Languages, pp. 138-147, 1998.

    [ishi90] Y. Ishikawa, H. Tokuda, and C. W. Mercer. Object-oriented real-time language design: Constructs for timing constraints. ACM SIGPLAN Notices, ECOOP/OOPSLA’90 Proceedings, 25(10): 289–298, October 1990.

    [ioan93] P. A. Ioannou, C. C. Chen. Autonomous Intelligent Cruise Control, IEEE Transactions on Vehicular Technology, 42(4) 657-72, 1993.

    [jaco92] I. Jacobson, M. Christerson, P. Jonsson, and G. Overgaard, Object-Oriented Software Engineering: A Use Case Driven Approach, Addison-Wesley Longman, Inc. USA, 1992. ISBN: 0-201-54435-0.

    [jaco99] I. Jacobson, G. Booch, J. Rumbaugh: The unified software development process, Addison-Wesley, 1999, ISBN 0-201-57169-2.

    [jean99] Jean J. Labrosse, MicroC/OS-II THE REAL-TIME KERNEL, Miller Freeman, Inc., 1999, ISBN: 0-87930-543-6.

    [john88] R. Johnson and B. Foote, Designing reusable classes. Journal of Object-Oriented Programming, Vol. 1 No. 22, June 1988.

    [lave96]Lavender, R. and Schmidt, D. Active Object: An Object Behavioral Pattern for Concurrent Programming, in Pattern Languages of Program Design 2, eds. Vlissides, J., Coplien, D. and Kerth, M., Addison-Wesley, 1996.

    [lehm00] M.M Lehman and J.F Ramil Software evolution in the age of component-based software engineering, IEE Proc. -Softw., Vol. 147, No. 6, December 2000.

    [liu73] C.L. Liu and J.W. Layland. Scheduling algorithms for multiprogramming in a hard-real time environment, Journal of the Association for Computing Machinery, 20(1): 46–61, January 1973.

    [mart99] Martin Fowler and Kendall Scott, UML Distilled Second Edition, Addison-Wesley ISBN: 0-201-65783-X, 1999.

    [mich98] Michael J. McLaughlin and Alan, Real-Time Extension to UML, Dr. Dobb’s Journal, December 1998.

    [pree94] Wolfgang Pree, Design Patterns for Object-Oriented Software Development, Addison-Wesley, Reading, MA, 1994.

    [rumb91] J. Rumbaugh, M. Blaha, W. Premerlani, F. Eddy, and W. Lorensen, Object-Oriented Modeling and Design, Prentice-Hall International, Inc New Jersey, 1991. ISBN 0-13-629841-9.

    [schu97] S. Schulz, J. Rozenblit, and K. Buchenrieder, Towards Model-Based Codesign: An Intelligent, Autonomous Cruise Controller Application, Proc. Conf. and Work-shop Eng. Computer-Based Systems, IEEE CS Press, Los Alamitos, Calif., 1997, pp. 73-80.

    [schu98] S. Schulz, J.W. Rozenblit, M. Mrva, and K. Buchenrieder, Model-Based Codesign, IEEE Computer, 31(8), August 1998.

    [schz98] S. Schulz, J.W. Rozenblit, K. Buchenrieder, and M. Mrva,., A Prototyping Environment for Model-Based Codesign, Proc. Conf, and Workshop Eng. Computer-Based Systems, IEEE CS Press, 1998, pp. 145-150.

    [sha90] L. Sha, R. Rajkumar, and J.P. Lehoczky, priority Inheritance Protocols, An Approach to Real-Time Synchronization, IEEE Transactions on Computers, Vol. 39, NO. 9, September 1990, pp.1175-1185.

    [stan00] J. Stankovic, VEST: A Toolset For Constructing and Analyzing Component Based Operating Systems for Embedded and Real-Time Systems, University of Virginia TR CS-2000-19, July 2000.

    [step98] Stephan Schulz, Jerry W. Rozenblit, Michael Mrva, and Klaus Buchernieder, Model-Based Codesign, Computer, Vol. 31, No. 8, Aug. 1998, pp. 120.

    [terr00] Terry Quatrani, Visual Modeling with Rational Rose 2000 and UML, Addison-Wesley.1999 ISBN 0-201-69961-3.

    [engl97] R. Englander, Developing Java Beans. O’Reilly, Sebastopol, 1997

    [palm93] U. Palmquist. Intelligent Cruise Control and Roadside Information, IEEE micro, 13(1), 20-8, 1993.

    [zeig84] B. Zeigler, Multifacetted Modelling and Discrete Event Simulation, Academic Press, London, 1984.

    下載圖示 校內:立即公開
    校外:2002-09-02公開
    QR CODE