2004-1-1 22:53
carol
这两天在学习这方面的东西,顺便贴点资料上来~~ <!--emo&:P--><img src='style_emoticons/default/tongue.gif' border='0' style='vertical-align:middle' alt='tongue.gif' /><!--endemo--> <br /><br />另外也想听听大家的意见~ <br /><br /><span style='color:blue'>通常意义上,UML 是应用在比较复杂,大型的软件系统上的,<br /><br />对于中型的嵌入式系统(10人左右团队,两年左右的开发周期)的开发,有没有什么特别的好处呢~ </span>
2004-1-1 23:08
sky-walker
晕,怎么统筹硬件部的工作?
2004-1-1 23:10
carol
<span style='color:purple'><span style='font-size:14pt;line-height:100%'><b>数码声音记录器</b></span></span><br /><br /><b>:用UML设计嵌入式系统的案例--叙述全过程,该系统用GNU g++实现。</b><br /><br /><span style='color:purple'><span style='font-size:14pt;line-height:100%'>Digital Sound Recorder: A case study on designing embedded systems using the UML notation.</span></span><br /><br />Ivan Porres Paltor<br />&Aring;bo Akademi University, Department of Computer Science,<br />Lemmink&auml;isenkatu 14, FIN-20520 Turku, Finland<br />email: Ivan.Porres@abo.fi<br /><br />Johan Lilius<br />&Aring;bo Akademi University, Department of Computer Science,<br />Lemmink&auml;isenkatu 14, FIN-20520 Turku, Finland<br />email: Johan.Lilius@abo.fi<br /><br /><b><span style='font-size:14pt;line-height:100%'>Abstract</span></b><br /><br />This document is an example of the object-oriented analysis and design of<br />an embedded system using the Unified Modelling Language (UML). The<br />analysed system is a digital sound recorder, or Dictaphone. The design has<br />been implemented using an embedded processor and the C++ programming<br />language.<br /><br /><b>Keywords</b>: object-oriented design, UML, embedded systems.<br /><br /><br /><span style='font-size:14pt;line-height:100%'><b>1 Introduction</b></span><br />The Unified Modelling Language [BJR1, BJR2], provides a standardised notation to<br />express object-oriented software analysis and design [CY90, MO92, SS95]. UML<br />diagrams are able to model complex software systems including real-time embedded<br />systems.<br />However, UML is not a software process. UML does not specify the different stages of<br />the development of a software project. The UML standard specifies a notation for<br />several different diagrams, but it does not describe how to create and apply each<br />diagram. [Dou98] presents a methodology for building embedded systems using the<br />UML notation and object-oriented analysis and design techniques.<br />This document describes the object-oriented design and implementation of a digital<br />sound recorder, or Dictaphone, using the UML notation and the method described by<br />Douglass.<br />There are several digital sound recorders commercially available in the market. The<br />model described here has been designed following the specifications of a commercial<br />product from a well know manufacturer. These requirements are described in the second<br />section of this document.<br />The third section discusses the object model of the system and presents the main class<br />diagram. The fourth section continues the object-oriented analysis but focusing in th<br />internal behaviour of each object.<br />The fifth section deals with the architectural design. We show the hardware architectur<br />of the sound recorder and the concurrency model, where we assign each object to an<br />execution thread.<br />The design continues defining the collaborations between the different objects. This is<br />done in section number six, where design patterns [GHJV95] are used to glue together<br />the classes defined in the analysis phase. The most specific design issues are discussed<br />in the section number seven.<br />Finally, The eighth section discusses the implementation. We have implemented th<br />software in the C++ programming language and built the hardware platform to run the<br />code using a 32 bits RISC embedded processor.
2004-1-1 23:14
carol
<!--QuoteBegin-sky-walker+2004-01-01 23:08:12--><div class='quotetop'>QUOTE(sky-walker @ 2004-01-01 23:08:12)</div><div class='quotemain'><!--QuoteEBegin--> 晕,怎么统筹硬件部的工作? <!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />这个案例里有一小部分,还是谈到了硬件的配置,但是没有具体展开,毕竟UML是对软件部分的建模吧~~ <br /><br />偶今天上午看的这个案例,非常简单的一个录音系统,可是看它的UML,各种类型的图还是一大堆阿~~ 非常详细~对偶初步学习UML很有帮助~ <!--emo&:wub:--><img src='style_emoticons/default/wub.gif' border='0' style='vertical-align:middle' alt='wub.gif' /><!--endemo-->
2004-1-1 23:27
sky-walker
哈哈,咋这么眼熟的设计哩 <!--emo&:grin:--><img src='style_emoticons/default/grin.gif' border='0' style='vertical-align:middle' alt='grin.gif' /><!--endemo--> <br /><br />carol怎么现在才学UML?是不是整天想着远方的*而荒废了时间 <!--emo&:unsure:--><img src='style_emoticons/default/unsure.gif' border='0' style='vertical-align:middle' alt='unsure.gif' /><!--endemo--> <!--emo&:unsure:--><img src='style_emoticons/default/unsure.gif' border='0' style='vertical-align:middle' alt='unsure.gif' /><!--endemo-->
2004-1-1 23:32
carol
<!--QuoteBegin-sky-walker+2004-01-01 23:27:55--><div class='quotetop'>QUOTE(sky-walker @ 2004-01-01 23:27:55)</div><div class='quotemain'><!--QuoteEBegin--> 哈哈,咋这么眼熟的设计哩 <!--emo&:grin:--><img src='style_emoticons/default/grin.gif' border='0' style='vertical-align:middle' alt='grin.gif' /><!--endemo--> <br /><br />carol怎么现在才学UML?是不是整天想着远方的*而荒废了时间 <!--emo&:unsure:--><img src='style_emoticons/default/unsure.gif' border='0' style='vertical-align:middle' alt='unsure.gif' /><!--endemo--> <!--emo&:unsure:--><img src='style_emoticons/default/unsure.gif' border='0' style='vertical-align:middle' alt='unsure.gif' /><!--endemo--> <!--QuoteEnd--></div><!--QuoteEEnd--><br /><!--emo&:blush:--><img src='style_emoticons/default/blush.gif' border='0' style='vertical-align:middle' alt='blush.gif' /><!--endemo--> 偶这不是在努力补课嘛~~ 不要笑话偶,要不偶不敢说话啦~~ <br /><br />偶知道你做嵌入式很有经验,给点意见吧~~ 明天要答复偶老大的 <!--emo&:redface:--><img src='style_emoticons/default/icon_redface.gif' border='0' style='vertical-align:middle' alt='icon_redface.gif' /><!--endemo--> <br />不能一问三不知阿 <!--emo&:rose:--><img src='style_emoticons/default/rose.gif' border='0' style='vertical-align:middle' alt='rose.gif' /><!--endemo--> <!--emo&:rose:--><img src='style_emoticons/default/rose.gif' border='0' style='vertical-align:middle' alt='rose.gif' /><!--endemo--> <!--emo&:rose:--><img src='style_emoticons/default/rose.gif' border='0' style='vertical-align:middle' alt='rose.gif' /><!--endemo-->
2004-1-2 00:02
sky-walker
小声的问一下,你怎么知道偶的经验这么少..... <!--emo&(00)--><img src='style_emoticons/default/ninja.gif' border='0' style='vertical-align:middle' alt='ninja.gif' /><!--endemo--> <!--emo&(00)--><img src='style_emoticons/default/ninja.gif' border='0' style='vertical-align:middle' alt='ninja.gif' /><!--endemo--> <br />好了不水你的帖子了,<br />嵌入式平台很多,之间设计相似的地方又因为硬件的不同而弱化.....至少按偶现在的水平,去理解其它平台的开发,很困难
2004-1-2 00:11
carol
偶觉得和平台、语言的关系都不大阿~ 偶想至少可以借用UML中一些概念,如 用例图,交互图,活动图,未必要完全照搬UML的全部<br /><br />现在我们在uCLinux平台上,用C语言~,用C++问题也不大吧~ <br />UML 是不是只针对C++而不针对C呢? 面向对象的原因?
2004-1-2 00:43
sky-walker
就设计模式而言,差别是不大<br />但就同样的UML设计方案,换了个平台实现就大相径廷......至少这是偶的感觉<br />虽然说C语言易于移植,但这是相对的,有时硬件平台的移植简直就是在作苦力<br />比如基于堆栈的和基于寄存器的MPU,面向它们编程时,甚至要改变一些编程习惯.<br />如果碰上实时性高,转换速度苛刻的项目,再碰到不熟习的MPU,偶就只能帮偶这里的老大们端端水了 <!--emo&:redface:--><img src='style_emoticons/default/icon_redface.gif' border='0' style='vertical-align:middle' alt='icon_redface.gif' /><!--endemo--> <!--emo&:(--><img src='style_emoticons/default/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' /><!--endemo--> <br />C++的嵌入式应用偶还没怎么接触哩,其实也就是作GUI,比如MiniGUI <!--emo&:redface:--><img src='style_emoticons/default/icon_redface.gif' border='0' style='vertical-align:middle' alt='icon_redface.gif' /><!--endemo-->用JAVA作前端可以满足需求了,而且对懒人实在周到 <!--emo&:grin:--><img src='style_emoticons/default/grin.gif' border='0' style='vertical-align:middle' alt='grin.gif' /><!--endemo--> <br /><br />不过,每个公司都有自己的固定用户,特别像你所在的大公司,需求相对浮动小,,硬件平台变化要少一点..而对于一些小公司,为了拿单子,就是另一个样子了.<br /><br />好了,写完以上拙见,偶要吃夜宵了.........
2004-1-2 00:47
carol
<!--emo&:D--><img src='style_emoticons/default/laugh.gif' border='0' style='vertical-align:middle' alt='laugh.gif' /><!--endemo--> 谢谢 sky 咯~~ 偶等你这个贴子,等的眼睛都红咯~~~ <br /><br />好地~ 偶去睡猪觉咯~~ 明日讨论继续~~ <!--emo&:D--><img src='style_emoticons/default/laugh.gif' border='0' style='vertical-align:middle' alt='laugh.gif' /><!--endemo--> <!--emo&:D--><img src='style_emoticons/default/laugh.gif' border='0' style='vertical-align:middle' alt='laugh.gif' /><!--endemo--> <!--emo&:D--><img src='style_emoticons/default/laugh.gif' border='0' style='vertical-align:middle' alt='laugh.gif' /><!--endemo-->
2004-1-5 20:52
whoami
你们公司老板要知道你这么晚了还在干活,真要感动死了. <!--emo&:wub:--><img src='style_emoticons/default/wub.gif' border='0' style='vertical-align:middle' alt='wub.gif' /><!--endemo-->
2007-9-16 16:51
yanglei5382
hao zi liao
2007-9-16 16:57
yanglei5382
ttttewerwe
页:
[1]
Powered by Discuz! Archiver 5.5.0
© 2001-2006 Comsenz Inc.