软件工程分析文档.docx

上传人:b****7 文档编号:11280564 上传时间:2023-02-26 格式:DOCX 页数:8 大小:120.03KB
下载 相关 举报
软件工程分析文档.docx_第1页
第1页 / 共8页
软件工程分析文档.docx_第2页
第2页 / 共8页
软件工程分析文档.docx_第3页
第3页 / 共8页
软件工程分析文档.docx_第4页
第4页 / 共8页
软件工程分析文档.docx_第5页
第5页 / 共8页
点击查看更多>>
下载资源
资源描述

软件工程分析文档.docx

《软件工程分析文档.docx》由会员分享,可在线阅读,更多相关《软件工程分析文档.docx(8页珍藏版)》请在冰豆网上搜索。

软件工程分析文档.docx

软件工程分析文档

1.Functionmodeling

1)Firstscenariooftheborrowusecase

Aborrowerhandsabookandcardtolibrarian.

1.ThelibrarianinputBinthecomputer,thenscanthebarcodesonthebookandthecard.

2.Thesystemtellusthatthisbookhasn’tkeptbyanotherborrow.

3.Thesystemupdatetherelevantbookdata.

Thelibrariansignthebookthenhandbookandcardtotheborrower.

2)Secondscenariooftheborrowusecase

Aborrowerhandsabookandcardtolibrarian.

1.ThelibrarianinputBinthecomputer,thenscanthebarcodesonthebookandthecard.

2.Thesystemtellusthatthisbookhasbeenkeptbyanotherborrower.

Librariancan’tlendthisbooktotheborrower,Thelibrarianreturnthecardtoborrower.

3)Thirdscenariooftheborrowusecase

Aborrowerhandsabookandcardtolibrarian.

1.ThelibrarianinputBinthecomputer,thenscanthebarcodesonthebookandthecard.

2.Thesystemtellusthatthisbookhasbeenkeptbythisborrower.

3.Thesystemclearthekept,updatetherelevantbookdata.

Thelibrarianstampsthebookthenreturnthebookandthecardtotheborrower.

4)Firstscenarioofthereturnusecase

Aborrowerhandsabooktothelibrarian.Thebookisnotkeptbyanotherborrower.

1.ThelibrarianinputRtothecomputer.Thenscansthebarcodeonthebook.

2.Thesystemupdatetherelevantbookdata.

Thelibrariansetthebookonthe‘returnbookstack’.

5)Secondscenarioofthereturnusecase

Aborrowerhandsabooktothelibrarian.Thebookiskeptbyanotherborrower.

1.ThelibrarianinputRtothecomputer.Thenscansthebarcodeonthebook.

2.Thesystemupdatetherelevantbookdata.

Librarianplacethebookonthespecialstacks.

5)Firstscenarioofthekeepusecase

Aborrowerhandsthelibrarianaformbearingthenumberofabook,togetherwithhiscard.

1.ThelibrarianinputKtothecomputer.Thentypeinthebooknumberandscanthebarcodeonthecard.

Thisbookisalreadykeptbyanotherborrower.

2.Thesystemtellusthismessage.

Librariantellthistotheborrower,returnthecard,andrefuselendingthebooktotheborrower.

6)Secondscenarioofthekeepusecase

Aborrowerhandsthelibrarianaformbearingthenumberofabook,togetherwithhiscard.

1.ThelibrarianinputKtothecomputer.Thentypeinthebooknumberandscanthebarcodeonthecard.

Thisbookisnotkeptbyanotherborrower.

2.Thesystemupdatetherelevantbookdata.

Thelibrarianreturnsthecardtotheborrower,andsetasidetheformforrecycling.

7)FirstscenariooftheLongestkeepingtimeusecase

Thekeepingtimeisnotlongerthanthelongestkeepingtime

1.Thesystemshowthat‘anythingisok’

8)SecondscenariooftheLongestkeepingtimeusecase

Thekeepingtimeislongerthanthelongestkeepingtime

1.Thesystemtellusthismessage,andsignthebookandthecardnumber.

2.Librarianphonetheborrowertellborrowerreturnthebook

9)Firstscenarioofthebookinformationusecase

1.AborrowerinputA=followedbyanauthor’sname.

2.Thesystemdisplaytherequestedinformation.

10)Secondscenarioofthebookinformationusecase

1.AborrowerinputT=followedbythetitleofabook

2.Thesystemdisplaytherequestedinformation.

11)Thirdscenarioofthebookinformationusecase

1.AborrowerinputS=followedbythesubjectarea

2.Thesystemdisplaytherequestedinformation.

12)FirstscenarioofModifusecase

1.Alibrarianinput+tocomputer,thenscansthebarcodeonanewbook.

2.Thesysteminserttherelevantbookdata.

Thelibrariansetthebookasidetobeplacedinthebookstacks.

13)SecondscenarioofModifusecase

1.Alibrarianinput-tocomputer,thenscansthebarcodeonabook.

2.Thesystemdeletetherelevantbookdata.

Thelibrariansetsthebookasidetobepulped.

2.Entityclassmodeling

UsingNounExtractiontechnology

Description:

Anautomatedlibrarycirculationsystemistobeconstructed.Eachbookinthelibrary.Aswellaseachborrower,canbeidentifiedbyabarcode.Abookcanbeborrowed.Provideditisnotbeingkeptbyanotherborrower,atmostoneborrowercanhaveakeeponabookborrowedbyanotherborrower.Aborrowerborrowabookitwillhasalongestkeepingtime,ifkeepingtimeislongerthanthelongestkeepingtime,systemwillshowthismessage.Whenabookisreturned,alibrarianchecksitin.Borrowersandlibrariansarepermittedtoqueryabookinformationcatalogoflibraryholdings.

Identifythenouns:

Anautomatedlibrarycirculationsystemistobeconstructed.Eachbookinthelibrary.Aswellaseachborrower,canbeidentifiedbyabarcode.Abookcanbeborrowed.Provideditisnotbeingkeptbyanotherborrower,atmostoneborrowercanhaveakeeponabookborrowedbyanotherborrower.Aborrowerborrowabookitwillhasalongestkeepingtime,ifkeepingtimeislongerthanthelongestkeepingtime,systemwillshowthismessage.Whenabookisreturned,alibrarianchecksitin.Borrowersandlibrariansarepermittedtoqueryabookinformationcatalogoflibraryholdings.

 

Withregardtothenounsinthepreviousparagraph,borrowerandlibrarianareactors,andbarcodeisanattributeofabookandofaborrower.Accordingly,thesenounscannotcorrespondtoclasses,Inaddition,Library,keep,keeping,longestkeepingtimeandsystemareabstractnouns.Finally,bookinformationcatalogisinformationthatrelatestobooks.ThisleavesBookClassasthesolecandidateclass.

CLASSDIAGRAM

 

3.DynamicModeling

Statediagram

 

Iteractivediagram

1)Usecaseborrowbook

 

2)UseCaseReturnBook

 

3)UseCaseKeepBook

 

4)UseCaseLongestKeepingTime

5)UseCaseBookInformation

 

6)UseCaseModif

 

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 高等教育 > 历史学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1