您好,欢迎访问三七文档
Safety-CriticalSystems,FormalMethodsandStandardsJonathanBowenOxfordUniversityComputingLaboratoryProgrammingResearchGroup11KebleRoad,OxfordOX13QD,UKTel:+44-865-273838(272574direct)Fax:+44-865-273839Email:Jonathan.Bowen@comlab.ox.ac.uk&VictoriaStavridouDepartmentofComputerScienceRoyalHollowayandBedfordNewCollegeUniversityofLondonEghamHill,Egham,SurreyTW200EX,UKTel:+44-784-434455(443429direct)Fax:+44-784-443420Email:victoria@cs.rhbnc.ac.ukRevisedDecember1992.ToappearintheSoftwareEngineeringJournal.Safety-CriticalSystems,FormalMethodsandStandardsJonathanBowenVictoriaStavridouAbstractStandardsconcernedwiththedevelopmentofsafety-criticalsystems,andthesoftwareinsuchsystemsinparticular,aboundtodayasthesoftwarecrisisincreasinglya ectstheworldofembeddedcomputer-basedsystems.Theuseofformalmethodsisoftenadvocatedasawayofincreasingcon denceinsuchsystems.Thispaperexaminestheindustrialuseofthesetechniques,therecommendationsconcerningformalmethodsinanumberofcurrentanddraftstandards,andcommentsontheapplicabilityandproblemsofusingformalmethodsforthedevelopmentofsafety-criticalsystemsofanindustrialscale.Somepossiblefuturedirectionsaresuggested.1ABriefHistoricalPerspectiveLiveshavedependedonmathematicalcalculationsforcenturies.Inthe19thcentury,thescienti ccommunitywasfacingthe‘tablescrisis’[144]duetotheproblemoferrorsinnumericaltablessuchaslogarithmsandnavigationtables,calculatedbyhuman‘computers’.Itwasrumouredthatshipshadbeenwreckedasaresultofsucherrors.CharlesBabbagewassoconcernedthathedecidedtotrytoalleviatethesituationbyattemptingtomechanizetheprocessofgeneratingsuchtablesusing‘di erenceengines’andlatermoreversatileandprogrammable‘analyticalengines’,theforerunnersofmoderncomputers.The rsttrue‘real-time’computertobedevelopedwasontheWhirlwindprojectatMIT[5].Startedin1944,theprojectproducedanembryonic(military)airtra ccontrolsystemin1951.Theshortlifetimeofthelargenumberofvacuumtubesusedinthecomputerwasaconsiderableproblem.Initially,themeantimebetweenfailureswasabout20minutes.Fault-tolerancewasachievedbydetectingweaktubesbeforetheyfailedandredirectingsignalstoothercomponents,thusenablingcontinuedoperationevenintheeventofpartialhardwarefailure[149].Atthistime,suchfailureswereadominantfeatureofthesystem.Computer-basedindustrialprocesscontrolfollowedbythelate1950s.Theproblemsofsoft-waredevelopmentandrevisionbecamerecognized,butthesolutionsremainedadhocandunre-liable[134].Eveninthemid1950s,thecostofproducingsoftwarehadalreadyoutstrippedthatofthecomputersthemselves.Thephysicalhardwarebecameincreasinglyreliable.Theproblemoffrequentbreakdowns,bulkinessandhighpowerconsumptionofvacuumtubeswasalleviatedbytheinventionofthetransistor.Despiteconsiderableimprovement,theconnectionsbetweencomponents(e.g.,‘dryjoints’betweensolderedwires)remainedaserioussourceoffailure.Theadventofintegratedcircuitsin1959,whilehelpingwiththisproblem,wasinitiallynotcost-e ective.HowevertheUSspaceprogrammedemandedlow-weightandhigh-reliabilitycomponents{almostirrespectiveofcost{forthe(safety-critical)computerrequiredonboardthespacecraft.ThisenabledtheUStogaintheleadinthemicroelectronicsworldatthetime;subsequentlythepriceofintegratedcircuitsdroppedandthenumberoftransistorsperchipincreaseddramaticallyyearbyyear.1Similaradvanceswerenotforthcomingforsoftwarethatalsobecamemorecomplexbutlessreliable.Ascomputersbecamephysicallysmaller,itwasmoreandmorefeasibletoembedthemwithinthesystemsthattheycontrolled.In1971,Intelannouncedthe rstcompletemicroprocessoronasinglechip,littlerealisingwhatanenormousimpactsuchanideawouldhaveontheworldofcomputing.Atthebeginningofthe1980s,embeddedsoftwarehadstillnotreallybeenconsideredseriouslybytheoreticalcomputerscienceresearchers(butsee[156]),despitethefactthatitiscapableofin ictingphysicaldamage[14].Howeverinthelastdecade,suchsystemshavecomeundermoreandmorescrutinyascomputerspervadeallareasofourlives,especiallyinembeddedapplications.Thesoftwarecurrentlyusedincomputershasitselfbecomesocomplexthatitisnottrust-worthyandhascausedhumaninjuryanddeathasaresult.[108]providesalistofincidentsthatisupdatedannually.Upuntilrelativelyrecentlyithasnotbeenconsideredfeasibletouseformaltechniquestoverifysuchsoftwareinanindustrialsetting[61].Nowthatsomecasestudiesandexamplesofrealuseareavailable,formalmethodsarebecomingmoreacceptableinindustrialcircles.Evenpopulistaccountsofthecomputingindustryarementioningtheproblemsofsoft-wareerrorsinrelationtocriticalsystemsandthepossibilityofapplyingmathematicaltechniquestoreducesucherrorsinawidevarietyofforums[90,106,112,141].Thispaperbrie ydiscussessafety-criticalsystems,examinestheuseofformalmethodsasapossibletechniqueforincreasingsafetyandreliability,andsurveyssomestandardsinthisarea.Theobjectiveofthepaperistoprovideinformationonthecurrentsafetyissues,particularlywithregardtosoftware,asre ectedbyanumberofcurrentandemergingstandardsandtoexaminewaysinwhichformalmethodstechnologycanandhasbeenusedtoimprovesystemsafety.Itshouldbenotedthatformalmethodsareonlyoneofagamutofimportanttechniques,includingmanyclassicalsafetyan
本文标题:Safety-critical systems, formal methods and standa
链接地址:https://www.777doc.com/doc-3294770 .html