![formal method in software engineering:軟件工程中的形式化方法_第1頁](http://file4.renrendoc.com/view12/M02/26/2B/wKhkGWbdIziAXxzyAABbAS_uD_w395.jpg)
![formal method in software engineering:軟件工程中的形式化方法_第2頁](http://file4.renrendoc.com/view12/M02/26/2B/wKhkGWbdIziAXxzyAABbAS_uD_w3952.jpg)
![formal method in software engineering:軟件工程中的形式化方法_第3頁](http://file4.renrendoc.com/view12/M02/26/2B/wKhkGWbdIziAXxzyAABbAS_uD_w3953.jpg)
![formal method in software engineering:軟件工程中的形式化方法_第4頁](http://file4.renrendoc.com/view12/M02/26/2B/wKhkGWbdIziAXxzyAABbAS_uD_w3954.jpg)
![formal method in software engineering:軟件工程中的形式化方法_第5頁](http://file4.renrendoc.com/view12/M02/26/2B/wKhkGWbdIziAXxzyAABbAS_uD_w3955.jpg)
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
SE561SoftwareSystemRequirementsFormalMethodsSoftwareEngineeringandFormalMethodsEverysoftwareengineeringmethodologyisbasedonarecommendeddevelopmentprocessproceedingthroughseveralphases:Requirements,Specification,DesignCoding,UnitTestingIntegrationandSystemTesting,MaintenanceFormalmethodscanBeafoundationfordesigningsafetycriticalsystemsBeafoundationfordescribingcomplexsystemsProvidesupportforprogramdevelopment
WhatareFormalMethods?
TechniquesandtoolsbasedonmathematicsandformallogicCanassumevariousformsandlevelsofrigorInformalLowMediumHigh
WhyConsiderFormalMethods?
ThedevelopmentofaformalspecificationprovidesinsightsandanunderstandingofthesoftwarerequirementsandsoftwaredesignClarifycustomers’requirementsRevealandremoveambiguity,inconsistencyandincompletenessFacilitatecommunicationofrequirementordesignProvidesabasisforanelegantsoftwaredesignTraceabilitySystem-levelrequirementsshouldbetraceabletosubsystemsorcomponentsFormalMethodsConceptsFormalSpecificationMethodsFormalspecificationFormalProofsModelcheckingAbstractionFormalSpecificationThetranslationofnon-mathematicaldescription(diagrams,table,naturallanguage)intoaformalspecificationlanguageItrepresentsaconcisedescriptionofhigh-levelbehaviorandpropertiesofasystemWell-definedlanguagesemanticssupportformaldeductionaboutthespecificationTypeofFormalSpecificationsModelOriented:Constructamodelofthesystembehaviorusingmathematicalobjectslikesets,sequencesetc.Statecharts,SCR,VDM,ZPetriNets,CCS,CSP,AutomatatheoreticmodelsPropertyOriented:Useasetofnecessarypropertiestodescribesystembehavior,suchasaxioms,rulesetc.AlgebraicsemanticsTemporallogicmodels.FormalProofsProofisanessentialpartofspecificationProofsareconstructedasaseriesofsmallsteps,eachofwhichisjustifiedusingasmallsetofrulesProofscanbedonemanually,butusuallyconstructedwithsomeautomatedassistanceModelCheckingAtechniquereliesonbuildingafinitemodelofasystemandcheckingthatadesiredpropertyholdsinthatmodelTwogeneralapproachestemporalmodelcheckingautomatonmodelcheckingUsemodelcheckersSMVAbstractionRepresentationoftheprogramusingasmallermodelAllowsyoutofocusonthemostimportantcentralpropertiesandcharacteristicsGettingtherightlevelofabstractionisveryimportantinaspecification.
MathematicalModels
AbstractrepresentationsofasystemusingmathematicalentitiesandconceptsModelshouldcapturestheessentialcharacteristicsofthesystemwhileignoringirrelevantdetailsModelcanbeanalyzedusingmathematicalreasoningtoprovesystempropertiesorderivenewbehaviors.TwotypesContinuousmodelsDiscretemodelsFormalSpecificationProcessModelClarifyrequirementsandhighleveldesignArticulateimplicitassumptionsIdentifyundocumentedorunexpectedassumptionsExposedefectsIdentifyexceptionsEvaluatetestcoverageCleanroomsoftwaredevelopmentSpendalotofeffort"up-front"topreventdefectsFormalspecificationIncrementaldevelopmentStatisticalmethodstoensurereliabilityCleanroomProcessFormalspecificationusingastatetransitionmodelStructuredprogramming-limitedcontrolandabstractionconstructsareusedProgramresemblesstatemachineStaticverificationusingrigorousinspectionsMathematicalargumentsStatisticaltestingofthesystemreliability
CleanroomProcessCleanroomProcessIncrementaldevelopmentAllowsfreezingofrequirements,soformalworkcanproceedWorkoncriticalfunctionalityinearlyrevisions,soitreceivesthemosttestingCleanroomProcessSpecificationteam.DevelopandmaintainsystemspecificationDevelopmentteam.Developandverify(mathematically)thesoftware.ThesoftwareisnotexecutedorevencompiledduringthisprocessCertificationteam.Developsetofstatisticalteststoexercisethesoftwareafterdevelopment.ReliabilitygrowthmodelsusedtodeterminewhenreliabilityisacceptableTestResultsSuccessfulinthefieldFewerrorsNotmoreexpensivethanotherprocessesGenerallyworkableHigherqualitycoderesulted
BenefitsofFormalSpecifications
HigherlevelofrigorleadstobetterproblemunderstandingDefectsareuncoveredthatwouldbemissedusingtraditionalspecificationmethodsAllowsearlierdefectidentificationFormalspecificationlanguagesemanticsallowchecksforself-consistencyEnablestheuseofformalproofstoestablishfundamentalsystempropertiesandinvariantsLimitationstoFormalMethodsRequiresasoundmathematicalknowledgeofthedeveloperDifferentaspectsofadesignmayberepresentedbydifferentformalspecificationmethodsUsefulforconsistencychecks,butformalmethodscannotguaranteethecompletenessofaspecificationsForthemajorityofsystemsDoesnotoffersignificantcostorqualityadvantagesoverothersReviewWhatWelearned…FundamentalrequirementsengineeringconceptsRequirementsengineeringprocessesRequirementsengineeringtechniquesRequirementsEngineeringConceptsRequirements–definewhatasystemisrequiredtodoandtheconstraintsunderwhichitisrequiredtooperateRequirementsengineering–allactivitiesinvolvedindiscovering,documenting,andmaintainingasetofrequirementsforacomputer-basedsystemThetermengineeringimpliesthatsystematicandrepeatabletechniques(basedonBestPractices)shouldbeusedThefirststepinsystemdevelopmentIncludeFunctionalrequirementsNon-functionalrequirementsStakeholdersSoftwareengineers,systemend-users,managersofsystemend-users,externalregulators,domainexpertsRequirementsEngineeringProcessesRequirementsEngineeringProcessesIBMRationalRequisitProforrequirementsdocumentationandmanagementSRStemplateforfinalspecificationRequirementsEngineeringTechniquesProcessofrequirementsengineering(RE)isusuallyguidedbyarequirementsmethodRequirementmethodsaresystematicwaysofproducingsystemmodelsSystemmodelsareimportantbridgesbetweentheanalysisandthedesignprocessTypesStructuredanalysisObject-orientedanalysisRequirementsEngineeringTechniquesDataflowmodelingOneofthemostpopularstructuredmethodsDFDprovidesadescriptionofasystembasedonmodelingthetransformationalprocessesofasystem,thecollections(stores)ofdatathatthesystemmanipulates,andtheflowsofdatabetweentheprocesses,storesandtheoutsideworld.TheDFDdescribesthefunctionalviewpointofthesysteme.g.itdescribesthesystemintermsofitsoperation(tasks).Conductedhierarchically.RequirementsEngineeringTechniquesObject-orientedapproachintegratedataandf
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 二零二五年度新型城鎮(zhèn)化土地使用權(quán)出讓合同
- 2025年度環(huán)保型家用天然氣熱水器防爆安裝及節(jié)能改造合同
- 二零二五版變壓器租賃與電力節(jié)能減排合同2篇
- 2025年跨境電商平臺居間服務(wù)及傭金分配合同
- 文教用品運(yùn)輸保險(xiǎn)合同
- 能源環(huán)保技術(shù)專利轉(zhuǎn)讓合同
- 港口裝卸合同
- 智能家居設(shè)備研發(fā)合同
- 物流速遞服務(wù)合同
- 精準(zhǔn)農(nóng)業(yè)技術(shù)應(yīng)用推廣合同
- 駕駛證學(xué)法減分(學(xué)法免分)試題和答案(50題完整版)1650
- 人教版2024新版七年級上冊數(shù)學(xué)第六章幾何圖形初步學(xué)業(yè)質(zhì)量測試卷(含答案)
- 小學(xué)數(shù)學(xué)五年級上冊奧數(shù)應(yīng)用題100道(含答案)
- 工業(yè)機(jī)器人編程語言:Epson RC+ 基本指令集教程
- 2023.05.06-廣東省建筑施工安全生產(chǎn)隱患識別圖集(高處作業(yè)吊籃工程部分)
- 2023年漢中市人民政府國有資產(chǎn)監(jiān)督管理委員會(huì)公務(wù)員考試《行政職業(yè)能力測驗(yàn)》歷年真題及詳解
- JTG 3362-2018公路鋼筋混凝土及預(yù)應(yīng)力混凝土橋涵設(shè)計(jì)規(guī)范
- 八年級下冊歷史思維導(dǎo)圖
- 電動(dòng)汽車用驅(qū)動(dòng)電機(jī)系統(tǒng)-編制說明
- 江蘇卷2024年高三3月份模擬考試化學(xué)試題含解析
- (正式版)JTT 1497-2024 公路橋梁塔柱施工平臺及通道安全技術(shù)要求
評論
0/150
提交評論