需求模型的建立案例_第1页
需求模型的建立案例_第2页
需求模型的建立案例_第3页
需求模型的建立案例_第4页
需求模型的建立案例_第5页
已阅读5页,还剩15页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、软件工程:需求工程* |A|M CarfridiH Min viiM 以内ognm Fi5,111Vh.nr L5|l3WT5UtrilnEiLnqpi|心I彳|由 aaaaiaainji anIoa/*! 4RJ旦i 西口 快苦电立晒旦i 戛i。ftflHfi *45- Z*Ti 工n 牍d-J|-1*3| * * 7闻* Fj u a X小潦总45乂0三印1.9Mg。EGnAR.KHWHFwdMMl aProject Description of Target SystemThe CbflrFrkbe proper is bouse Umci 匚立hw乐vtskn nd idmkiI rv

2、ilnu in rmir 工 irrGirrri and 产 nicdvr rdrimiirE 工心Uy tiiu iLA Luki fftwht- auuid ihc【Efe雨3皿a, ml i CjitraFrailt u-mtkl itaxw Ebe jmzci liT ipedfiL of iklcl (ti. QnKlr, llivu eft) *hcL lieScenario DescriptionsLhScenario 1Am Hju had a hmiik* day Ota h: vsy Id wnk 4r 刘-rxE0 x n l:iSr and 匕 M 口工白配鼠 UJi

3、xudc la Ul*ui M aijptfUsI nMcj讪 A dW pefipecir hL Tha Jbrc-ed ber id tHnd-ildar. iaod e wekk! Uce sbe hm flk liiw E ;wn? nwc&m4r4jbm ivJ =f ihd 由扭 T-cmj fcje ii H KFC 叩e 心 sir 7faUfiJ Be- krrkdT 良1曲md舐亡hid pnMMdu&ed占ww喘中郎4球汇通 X CaRA审部也 fee jis tbts* typ of sflinaif Sb?曲叩 ber kixba 钞w 占 小山,nd uwaI hr

4、r hnnii* EFrprc md v.fvthfl ix an Hv Etraq rwrrlrd J thrw icKb w-ziE h ba IdLkbcL Nuv ihc cuuU.jjrcpiF a ufjpiu.liL and 眄 LfacLm图1需求模型建立夕M心|独跑I的|闵迎田 片后|国Fteoupenwl Link田 Mairk view. 回 Seenario / Requlrefnent 邕 Sccnarx? / Lire casePl-1 J Requirements; 1 Pruject OeiGnpfcn of Target System 由 .工 Scenari

5、o Mcrp4Jon8E - V 3 RynctignaJ RequircmcJih由 . 4. Ncsn-Rjnati&nal Requirerantg 5和4 Target PlatfflnTiS 6.国 nkMaMmLJ RiM:旬 cyberRidgBitf3 Fypc加Z RgMTernerlgFood IlnvenLoiy.1 User 船厂Mmequaled From in”AddLian 帖 ImEnfemy3l1.* R&mcive frominenlmyStZRecig D&aba 总巴3工1 口亡曰口七3亡ref322 Category m9 ? | ir | a 3 3

6、i a 1 i m IC3C2 叫除 _a q总国q l ,=/据Cunent cetf pioperlieLink EppeM OmISe tiaccabiky Irik ISiMceg or V)l52 本地 | poiit&rjr图2需求模型建立K| 口由砧WE曲,巨际0匚明* RnwarDnigrwr - fRQM C-;fbarFridga Secmrw f (lAmi -emmi - lOShogrum RIhi!,awvrDaiignvr LSEKWaikyfa*rFridB.rqE|修它解!M 或用 W&JMi 前揖皆的隹事期量看西 SJ*uEi由率f) JJfcT! K fi

7、E 生贴 i j u i m| 勺*x |neiaa叫/值m0,一I a 3 i a 也 q1ymMm图3需求模型建立好 PcwerDesigner - RQM CybflfFridge, Main viw* - DProgram File5 (xS6)SybasePciwrDesigneF 15.EKample5CybeffFridge.Fqm修直仲百皿图嗯圜M 要求独 =|) 保喇fi) SfiiVi 如相加蚀 IfiiTi xa fiC 赴四宁 du叫* j| m 01axi 芍-IblmllJiiBLjaiaaia | 国口 q/和工信生间 dj 0 Ccrfhdgc * 区Dwumm

8、W!心 - ManvKw回 SffSniW / AKUHtferi; 烈 S&wiw / Usa eaa*_j R*c|uiwnefri5 1. PrwI Dftscftxcn of Target Sy磷则 ;白- WMnwDnG业 性2 1 Scenano 1 Z2 Been ata?- 23 女荷ai口 U 3 ASenflJ Rhwwnffil?F J.1 Food hMertwy 12 Reope EahaseLl 3? Reapc ScQiFT- 3.& Rem ole 闻gw 三I - 从 Nm-Ftnctiafiai RetrurEfnerts 41 UMrfnen Maw 4

9、2Siwd匕-学曰导学 * lw叁W,叫普修G日附aldHTMLIjb旧1.B 2. lffilial aB Illi与小闻卦匚直丁RIDwaiijyfliiI Piiodlw辿I用?kPoject Description of Target SystemThe CybtrFridge project k E us已 litfemet CMnctn.,itj,l ”营的 abd meduRc皿 5ysterns to cieaLe an intelligent and productht refrigerator.Many of our daily tasks renokne aroufid

10、the refrigerator, and a CyberFride wotiH akw the auftoiTuitHHi of many of these rovtinr taslu. Ow projecl ii a spedfijc subset of thk area wiikh will allow you to use a recipe sye5tem to drtcniiine whaft you wotid like to fix. and lief y&u know if the items to Enakr it reside in your kjtehea Spedfic

11、Edhr known as C.A.R.A. ( Cliffbrd Autom3Jsed Recpe Agent) the itce agent wH piimarily sm!e thr puqxise cf ebectronkaly nukkig a dDopptag加d teteig to its user the items which are显庇g ibf a ceitaifi 工改争己 and those items which mr支rtdy reside in 收 fridge. CARA vnU thefefore cross mdex the current invent

12、cay erf the ftidge and a reaps database bt order to suggest what meafe to mak and what in自edi仃必 are to be bon曲t( ie. our groctry list). The rece daiaJbase 时ill essHiHafr haxp recipes of spedfic types cf dishes (ex. Chiftese. Italian, etc.) which theScenario DescriptionsLow LowSiJPirl tepoiiScenario

13、1Ano has had a horrible day. On the way to work she ot caught in trzffijc and her 国r oerheated. That tnade her latC an. importanft 侬ethg 的曲 君 曜w perspectht dknt. This forced her to behind all. day, and it sc-nned like iie wouJctat have Che ti献 to cota4detcmuch needed shopping- 印 pEa meal for that ni

14、ght. Locks like its KFC aain.1 she gTUEubled to hjersdf. Bui waft,She had ju$t purchased a,耻w cyt旗前dge 以油 the CARA program for just these typ 台 of situ ad oils. She- logged into ber kitchen mw the web and saw 疝的vo*已 recipes, and wh虐由er or trot flue ire晔 need&d -for 由surecces were in her Jatchcn. N-o

15、w she Cd pr可aru a shopping list and get the11图4需求模型建立仁 fecpfi-rtertWLb? Coh rcsDcaScrs布 I Powr designer - OOM CybsrFridgw, Scenario 1 - DA Program Fl (j(BSybaMc!wrDEiignEr 15ExBmplCybeFFindge.ocm|-1 %旬 cyberfrtdgprtf 性酬B恒 Soenano 1为国 Scsnano 3三3.,ttora-1 Mn一具 Jdn契 Si WEJ-S: 5uiUtee CasHhgmWUhrenlcpy

16、 叩E: PiMdwe jeflRk#Recpe by categcHiiRtclpt fm 小川H3.6 MA白 U Fin里berFfdije rtf*fcCj4wrFndgt-=S Somans 1豆 SwirioS生 5 30.Alien:3的-i Jchn*触!- 5ubU / UstCasH曰MWL0 hwwSEfy agenl口 FWwtAgQ Hb0 A00rt0 Re* Raiavirt#Q Rec碎 Lri:0 Hbdpe viewer口 Web AraSS Manager 目Lke Case 1sfisocrfKTfi二玷 如调5_1/2.beB0tMT_2总 AwnrM

17、1cn_l图6场景2模型耳堪 2 Lfpgaa tBryd4l PowTr&esigner - OOM CyberFndcje, Scenario 3 - Program Files. kB6/yiM5ePowi口Tgnpr lEMample-tSCybe-rFridge.Dom:文件 有 is圈 模更凶 舟与 雷 报告 合理 :W3 文岫 交用1 口0 IM 般助V。金,| 4川立力工|号rI 回二三叫知国卫二 2国国口| /小4|-2 4*12d; RM AmM4!各 Qi %色J 印wrFrtdgertfid嗑CM描,Soerano 10条中加金1 -Ft- Swnaw 3三 ij Ad

18、ore1生ML-1 J*n1 SiL-i 5us? 7 U Cases& hgHKW-0 hrerfDqf aged:Q PirchaM- RecpebycafceiDDfyURk* LrS * Hb-ue iKWB-PMAtXMtMarf- Ji Uw Qh 1sMH3aUw,值 AuKUiw JL-11 Aagoatan J*- _J ZiependencwsI Deperdencr_1ta ?B 区冲出1到手DfMfxStncy J% Depordsncy_3DflMTdHKTS% Depert*ncy_10一4 Dcperctn(ni _l I图7场景3模型I Requirements

19、 detailsModel level requirementsRequirement 1. Project Description of Target SystemTitle ID TextPriorityWorkload1.1The CyberFridge project is to use Internet connectivity, vision and mechanical systems to create an intelligent and productive refrigerator.Many of our daily tasks revolve around the re

20、frigerator, and a CyberFridge would allow the automation of many of these routine tasks. Our project is a specific subset of this area which will allow you to use a recipe system to determine what recipe you would like to fix, and let you know if the items to make it reside in your kitchen. Specific

21、ally known as C.A.R.A. ( Clifford Automated Recipe Agent) the recipe agent will primarily serve the purpose of electronically making a shopping list and telling to its user the items which are lacking for a certain recipe and those items which currently reside in the fridge. CARA will therefore cros

22、s index the current inventory of the fridge and a recipe database in order to suggest what meals to make and what ingredients are to be bought( i.e. our grocery list). The recipe database will essentially have recipes of specific types of dishes (ex. Chinese, Italian, etc.) which the family living i

23、n the home would like to eat. The database will also record the more popular dishes selected previously, which are determined by the number of times a certain dish is requested in relation to other dishes. Our database can also be updated to add new recipes at the users discretion.Requirement 2. Sce

24、nario DescriptionsTitle ID Text Priority Workload2.10I.1.2.1 Requirement 2.1 Scenario 1Title ID TextPriorityWorkload2.11Ann has had a horrible day. On the way to work she got caught in traffic and her car overheated.That made her late for an important meeting with a new perspective client. This forc

25、ed her to behind all day, and it seemed like she wouldnt have the time to complete some much needed shopping, or even plan a meal for that night. Looks like its KFC again. she grumbled to herself. But wait! She had just purchased a new cyberfridge with the CARA program for just these types of situat

26、ions. She logged into her kitchen over the web , and saw all her favorite recipes, and whether or not the items needed for these recipes were in her kitchen. Now she could prepare a shopping list and get the good food that would keep her healthy, instead of having to scarf down more of that yucky fa

27、st food. Thanks CARA, and cyberfridge!I.1.2.2 Requirement 2.2 Scenario 2Title ID Text Priority Workload2.21John, who is a member of a local charity organization, agreed to make five desserts for a fund raising event which was two days away. He knew there was no way he could pick the five desserts, f

28、igure out what ingredients he already had vs. those to buy, and cook them all. After talking with his friend, Jeff, they realized the option of using CARA, a recipe agent on Jeffs parents new cyberfridge. Utilizing CARAs inventory list of desserts, they picked out five good recipes. The recipe agent

29、 then listed the ingredients needed and those which they already had, and told them how long each would take to cook. They were able to work efficiently using the new recipe agent, CARA, on the cyberfridge to prepare all five desserts in time.I.1.2.3 Requirement 2.3 Scenario 3Title ID Text Priority

30、Workload2.31Aunt Sues sister was getting married and going to come by her home in North Carolina on the way to there honeymoon. Sue heard that Shervin, Sues soon to be brother-in-law, was a vegetarian. Well, Sue wanted to fix something for them when they arrived because they would be tired and hungr

31、y, but she did not know any vegetarian meals or snacks to fix. Sue noticed that CARA, the recipe agent on her new cyberfridge, had categories of different types of food. After using CARAs user-friendly menu, she was able find a variety of vegetable plates. The recipe agent even listed the foods whic

32、h needed to bought at the store, and directions for preparing the food.Requirement 3. Functional RequirementsTitle ID Text3.Priority1Workload54Goto: Food Inventory , Recipe Database , Recipe Search , Remote Access I.1.3.1 Requirement 3.1 Food InventoryTitle ID Text Priority Workload3.1115CARA will k

33、eep track of what food items are currently in the kitchen, and will keep track of vital information about each item - how much is on hand, the expiration date, etc. In particular, CARA shall be able to perform the following actions:I.1.3.1.1 Requirement 3.1.1 User listTitle ID TextPriorityWorkload3.

34、1.122The CyberFridge shall give the user a list of all food items currently in its inventory. CARA shall order this list according to criteria set by the user. These criteria shall include, but will not be limited to: food categories, alphabetical list, and time remaining before the items should be

35、removed from the inventory.Requirement 3.1.2 Item requested from inventoryTitle ID Text Priority Workload3.1.213CARA shall return information about any item requested by the user. This information shall include, but will not be limited to: whether the item is currently on hand, the quantity remainin

36、g, and time remaining before the item should be removed from the inventory.Requirement 3.1.3 Addition to InventoryTitle ID TextPriorityWorkload3.1.315CARA shall track additions to the current inventory. This may be accomplished via a bar code scanner or by other means. Any food added to the kitchen

37、stores shall be added to the inventory maintained by the CyberFridge.Requirement 3.1.4 Remove from inventoryTitle ID Text3.1.4Priority1Workload5CARA shall track removals from the current inventory. This may be accomplished via a bar code scanner or by other means. The quantity of food used or remove

38、d shall be tracked as well. Any quantity of food removed from the kitchen stores shall be removed from the inventory maintained by the CyberFridge.Requirement 3.2 Recipe DatabaseTitle ID TextPriorityWorkload3.2120CARA will keep a database of all recipes which the user wishes to use. In particular, t

39、he CyberFridge shall be able to perform the following actions:Requirement 3.2.1 Recipe viewerTitle ID Text3.2.1Priority2Workload5CARA shall allow the user to view recipes by categories defined by the user.Requirement 3.2.2 Category managementTitle ID TextPriorityWorkload3.2.233CARA shall allow the u

40、ser to create new categories or to modify existing categories. This shall include the ability to modify the list of recipes belonging to each category.Requirement 3.2.3 New recipeTitle ID TextPriorityWorkload3.2.314CARA shall allow the user to add new recipes to the database, and to place new recipe

41、s into existing categories.Requirement 3.2.4 Change recipeTitle ID Text Priority Workload3.2.414CARA shall allow the user to modify or delete recipes from the database.Requirement 3.2.5 Dowload recipeTitle ID Text Priority Workload3.2.514CARA shall allow the user to download recipes remotely from ou

42、tside servers connected through the Internet.Requirement 3.3 Recipe SearchTitle ID TextPriorityWorkload3.3114CARA will use the recipe database to recommend recipes to the user and to recommend food items for the user to purchase. In particular, the CyberFridge shall be able to perform the following

43、actions:Requirement 3.3.1 Possible recipeTitle ID Text Priority Workload3.3.125CARA shall be able to give to the user a list of recipes which can be prepared using the food currently in inventory.Requirement 3.3.2 Prepare purchaseTitle ID Text Priority Workload3.3.223CARA shall be able to give to th

44、e user a list of food items which need to be purchased in order to prepare a particular recipe or group of recipes.Requirement 3.3.3 Frequently used recipesTitle ID TextPriorityWorkload3.3.323CARA shall keep track of recipes which are frequently prepared by the user, in order that these recipes may

45、be suggested to the user again at future times.Requirement 3.3.4 SuggestionTitle ID Text3.3.4Priority3Workload3CARA shall give to the user a list of suggested recipes according to criteria set by the user. These criteria shall include, but will not be limited to: recipes for special occasions, recip

46、es using or not using certain food items or groups of items, and recipes which utilize food which will otherwise need to be disposed of in the near future. In addition, these recipes shall be ordered according to criteria set by the user. These criteria shall include, but will not be limited to: fav

47、orite recipes, recipes which have not been used recently, or recipes ordered by preparation time.Requirement 3.4 Remote AccessTitle ID Text3.4Priority1Workload5CARA will allow the user to access its abilities from outside of the kitchen through the use of the Internet. In particular, CARA shall be a

48、ble to perform the following actions:Requirement 3.4.1 Internet accessTitle ID TextPriorityWorkload3.4.135CARA shall allow the user to perform all recipe database actions and recipe search actions using an Internet-accessible interface. This interface will allow the user to access the capabilities o

49、f the CyberFridge through the World Wide Web.I.1.4 Requirement 4. Non-Functional RequirementsTitle ID Text4.Priority1Workload0I.1.4.1 Requirement 4.1 User friendly InterfaceTitle ID TextPriorityWorkload4.11The interface should be intuitive and easy to understand so anyone can use it. To check this w

50、e will pick 3 management or other non-CS majors and have them attempt to find a specific recipe, their favorite recipe and to add a new recipe to the database.I.1.4.2 Requirement 4.2 SpeedTitle ID Text Priority Workload4.21We will be building the system to run on Netscape 3.x running on P133 under W

51、indows 95. Due to the nature of the web and Java, we will deem the system to have sufficient speed if it loads in under 2 minutes on Netscape 3.x on a T3 connection.I.1.4.3 Requirement 4.3 Starting RecipesTitle ID TextPriorityWorkload4.31The systems database will come with 13 recipes divided into 3

52、categories which we will pick from cookbooks or off the web as needed.I.1.5 Requirement 5. Development and Target PlatformsTitle ID Text Priority Workload5.1A TCP/IP connection to access the Internet needs to be present.Since much of the project will be written in Java and since it it is platform-in

53、dependent, the code developed on our platform should run on most any target platform without modification, but specifically it will be modeled to run on the Windows 95 platform and tested there.There are two vehicle platforms that CARA Sparcstations running Solaris equipped with Windows 95.will be d

54、eveloped on. It will be developed on Sun the Java Development Kit 1.0 and the JDK forA Pentium class windows 95 running netscape 2.xx or higher.Hard-disk for minimal storage of operating system and NavigatorAny user of the CARA agent of CyberFridge must have a password to be allowed access to the re

55、cipe-agent system, for example.I.1.6 Requirement 6. Risk AnalysisTitle ID Text Priority Workload6.1Loss of Personnel Due to the small size of our team, the loss of one of our members would be very detrimental. If the Architect dropped the course or became very ill, the project should still be able t

56、o function. However, it would result in some problems. To handle them, the Architect and all other group members will update the entire group on a weekly basis to ensure good continuity for completing the project in the alloted time by all remaining members. Good communication is therefore is essent

57、ial. As a precautionary measure, each member in our group will learn other roles as well as the one to which he is designated with by actively participating throughout the entire software life cycle. This would considerably minimize the training overhead which would be incurred at any point in time

58、when a replacement is necessary.Applet/Internet Security Restrictions Due to the security restrictions and concerns in Netscape, a client side refresh will have to be used to trigger any database accesses or display events.Vehicle Platform Crash In order to keep intact all completed versions, multip

59、le copies of all necessary data and code are being saved. We are currently using the CoC machines to do most of our development for the CyberFridge. The vehicle machines have all the necessary tools to do the programming and is accessible to each member of the group. Losing access to these tools cou

60、ld make the software development process much slower. Further, other potential platforms dont make access as easy - workstations are individualized, and ACME has ownership restrictions to get around.Learning of the Programming Language/Environment If the programmers and architects do not efficiently

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论