版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
軟件體系結(jié)構(gòu)—課程總結(jié)軟件體系結(jié)構(gòu)課程組本節(jié)內(nèi)容知識點串講1體系結(jié)構(gòu)設(shè)計案例講解22架構(gòu)師思維3體系結(jié)構(gòu)定義軟件體系結(jié)構(gòu)定義不存在一個統(tǒng)一的定義各個流派對軟件體系結(jié)構(gòu)的定義重點關(guān)注 GarlanandShaw的定義:
體系結(jié)構(gòu)=組件+連接件+約束
SoftwareArchitecture= Components+Connectors+Constrains體系結(jié)構(gòu)風(fēng)格軟件體系結(jié)構(gòu)風(fēng)格定義軟件體系結(jié)構(gòu)風(fēng)格的描述常見的軟件體系結(jié)構(gòu)風(fēng)格數(shù)據(jù)流順序的批處理管道過濾器控制環(huán)路調(diào)用/返回主程序/子程序面向?qū)ο髮哟谓Y(jié)構(gòu)客戶端/服務(wù)器體系結(jié)構(gòu)風(fēng)格以數(shù)據(jù)為中心(數(shù)據(jù)共享)數(shù)據(jù)存儲(編譯器的演化)黑板虛擬機解釋器基于規(guī)則的系統(tǒng)其它獨立組件通信進程事件(隱式調(diào)用)其它其它風(fēng)格C2HMBDSSA基于軟件體系結(jié)構(gòu)的開發(fā)過程軟件質(zhì)量屬性軟件質(zhì)量屬性定義軟件質(zhì)量屬性與功能、非功能性需求的關(guān)系軟件質(zhì)量屬性情景定義如何描述常見的質(zhì)量屬性可用性(Availability)可修改性(Modifiability)性能(Performance)安全性(Security)可測試性(Testability)易用性(Usability)其它質(zhì)量屬性體系結(jié)構(gòu)設(shè)計架構(gòu)模式的應(yīng)用常見質(zhì)量屬性的設(shè)計可用性(Availability)可修改性(Modifiability)性能(Performance)安全性(Security)可測試性(Testability)易用性(Usability)體系結(jié)構(gòu)評估常見的體系結(jié)構(gòu)評估方法重點掌握ATAMATAM的過程質(zhì)量屬性評估效用樹(UtilityTree)風(fēng)險/非風(fēng)險、敏感點和權(quán)衡點的理解與應(yīng)用案例講解Acompanywantstodevelopasoftwaresystemusedinitsintranet(局域網(wǎng)).ThefunctionofthissystemsissameasWeiboandTwitter.Eachdepartment(部門)canpublishinformationaboutthedepartmentusingthissystem,andEmployeesinthecompanycanfollow(關(guān)注)oneormoredepartmentstoreceiveinformationpublishedbythesedepartments.Whenonedepartmentpublishesapieceofnewinformation,thesystemwillsendtheinformationtoallthefollowers(關(guān)注者)ofthisdepartment.Afteroneemployeeunfollowsonedepartment,he/shewillnotreceiveinformationpublishedbythisdepartmentinfutureFollowingaresomedetailedrequirementsofthissystem.
案例講解Oneemployeecanfollowoneormoredepartments,andcanunfollowonedepartmentatanytime.Thetotalunavailabletimeofthesystemsshouldbelessthan10hoursinayear.Theaveragerecoverytimeofeachsystemfaultshouldbelessthanonehour.Thesystemcopiestheinterface(界面)ofWeibo,soit’seasytouse.Everyminorupdateofthissystemshouldbeaccomplishedby2developerwithin1days.AhardwarefirewallisusedtoseparatethesystemfromtheInternet.Oneemployeecansendprivatemessagestoanotheremployeeusingthissystem.Theloadingtimefromanemployee’slogintodisplayinghis/herhomepageshouldbelessthan0.1s.Thesystemprovidesspecialinterfacestodoautomated(自動的)testing.
案例講解Pleaseanalyzetherequirementsandcompletefollowing4questions:
a)Identifyandnametherelatedqualityattributesaccordingtothe
requirements.
b)Foreachqualityattribute,givethecorrespondingqualityattribute
scenario.
c)Foreachqualityattribute,listatleast2solutionsforarchivingthe
correspondingqualityattribute.
d)Accordingtotherequirements,whichsoftwarearchitecturestyle
isbetterforthissystem?Describethereasonandlisttheadvantages
anddisadvantagesofarchitecturestyleyouchooseforthesystem.第一步:去偽存真Oneemployeecanfollowoneormoredepartments,andcanunfollowonedepartmentatanytime.Thetotalunavailabletimeofthesystemsshouldbelessthan10hoursinayear.Theaveragerecoverytimeofeachsystemfaultshouldbelessthanonehour.Thesystemcopiestheinterface(界面)ofWeibo,soit’seasytouse.Everyminorupdateofthissystemshouldbeaccomplishedby2developerwithin1days.AhardwarefirewallisusedtoseparatethesystemfromtheInternet.Oneemployeecansendprivatemessagestoanotheremployeeusingthissystem.Theloadingtimefromanemployee’slogintodisplayinghis/herhomepageshouldbelessthan0.1s.Thesystemprovidesspecialinterfacestodoautomated(自動的)testing.第二步:歸類Thetotalunavailabletimeofthesystemsshouldbelessthan10hoursinayear.Theaveragerecoverytimeofeachsystemfaultshouldbelessthanonehour.(可用性)Thesystemcopiestheinterface(界面)ofWeibo,soit’seasytouse.(易用性)Everyminorupdateofthissystemshouldbeaccomplishedby2developerwithin1days.(可修改性)AhardwarefirewallisusedtoseparatethesystemfromtheInternet.(安全性)Theloadingtimefromanemployee’slogintodisplayinghis/herhomepageshouldbelessthan0.1s.(性能)Thesystemprovidesspecialinterfacestodoautomated(自動的)testing.(可測試性)第三步:六要素法描述質(zhì)量屬性場景Thetotalunavailabletimeofthesystemsshouldbelessthan10hoursinayear.Theaveragerecoverytimeofeachsystemfaultshouldbelessthanonehour.(可用性)Thesystemcopiestheinterface(界面)ofWeibo,soit’seasytouse.(易用性)Everyminorupdateofthissystemshouldbeaccomplishedby2developerwithin1days.(可修改性)AhardwarefirewallisusedtoseparatethesystemfromtheInternet.(安全性)Theloadingtimefromanemployee’slogintodisplayinghis/herhomepageshouldbelessthan0.1s.(性能)Thesystemprovidesspecialinterfacestodoautomated(自動的)testing.(可測試性)第三步:六要素法描述質(zhì)量屬性場景Everyminorupdateofthissystemshouldbeaccomplishedby2developerwithin1days.(可修改性)第四步:針對質(zhì)量屬性要求給出設(shè)計策略Thetotalunavailabletimeofthesystemsshouldbelessthan10hoursinayear.Theaveragerecoverytimeofeachsystemfaultshouldbelessthanonehour.(可用性)Thesystemcopiestheinterface(界面)ofWeibo,soit’seasytouse.(易用性)Everyminorupdateofthissystemshouldbeaccomplishedby2developerwithin1days.(可修改性)AhardwarefirewallisusedtoseparatethesystemfromtheInternet.(安全性)Theloadingtimefromanemployee’slogintodisplayinghis/herhomepageshouldbelessthan0.1s.(性能)Thesystemprovidesspecialinterfacestodoautomated(自動的)testing.(可測試性)可用性策略總結(jié)可修改性策略總結(jié)性能策略總結(jié)安全性策略總結(jié)可測試性策略總結(jié)易用性策略總結(jié)第四步:抓住主要矛盾,給出建議風(fēng)格Acompanywantstodevelopasoftwaresystemusedinitsintranet(局域網(wǎng)).ThefunctionofthissystemsissameasWeiboandTwitter.Eachdepartment(部門)canpublishinformationaboutthedepartmentusingthissystem,andEmployeesinthecompanycanfollow(關(guān)注)oneormoredepartmentstoreceiveinformationpublishedbythesedepartments.Whenonedepartmentpublishesapieceofnewinformation,thesystemwillsendtheinformationtoallthefollowers(關(guān)注者)ofthisdepartment.Afteroneemployeeunfollowsonedepartment,he/shewillnotreceiveinformationpublishedbythisdepartmentinfuture
第四步:抓住主要矛盾,給出建議風(fēng)格Acompanywantstodevelopasoftwaresystemusedinitsintranet(局域網(wǎng)).ThefunctionofthissystemsissameasWeiboandTwitter.
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 醫(yī)療設(shè)備碳足跡核算與減排目標(biāo)設(shè)定
- 2026年唐山市豐潤區(qū)浭盈勞務(wù)派遣有限公司為豐潤區(qū)人民法院、人民檢察院公開招聘勞務(wù)派遣人員的備考題庫完整答案詳解
- 2026年富川農(nóng)業(yè)綜合行政執(zhí)法大隊招聘6名工作人員備考題庫含答案詳解
- 2026年中國人壽保險股份有限公司安順分公司招聘備考題庫及一套答案詳解
- 2026年臨高武生單采血漿有限公司招聘備考題庫及答案詳解參考
- 2026年天津市靜海區(qū)所屬部分國有企業(yè)面向社會公開招聘工作人員備考題庫及一套答案詳解
- 2026年亞東縣水利局關(guān)于招聘水利工程質(zhì)量與安全監(jiān)督技術(shù)人員的備考題庫及1套參考答案詳解
- 2026年中電建(內(nèi)蒙古)勘測設(shè)計研究有限公司招聘備考題庫及答案詳解1套
- 2026年中國聯(lián)通廣西壯族自治區(qū)分公司社會招聘備考題庫及1套參考答案詳解
- 2026年山東黃河河務(wù)局山東黃河醫(yī)院公開招聘高校畢業(yè)生備考題庫附答案詳解
- DB45 1271-2015 地理標(biāo)志產(chǎn)品 浦北紅椎菌
- 2025年四川華油天然氣廣安有限公司招聘筆試參考題庫含答案解析
- 【MOOC】基礎(chǔ)會計-浙江財經(jīng)大學(xué) 中國大學(xué)慕課MOOC答案
- 桁架搭建施工方案
- 護士進修手冊
- 動物實驗方法與技術(shù)智慧樹知到期末考試答案章節(jié)答案2024年浙江中醫(yī)藥大學(xué)
- 肝病健康宣教內(nèi)容
- 大轉(zhuǎn)爐氧槍橡膠軟管和金屬軟管性能比較
- 四川省內(nèi)江市2023-2024學(xué)年高二上學(xué)期期末檢測生物試題
- 無線數(shù)據(jù)采集監(jiān)測系統(tǒng)及應(yīng)用解決方案
- 美學(xué)與藝術(shù)欣賞
評論
0/150
提交評論