资源描述:
《一个基于属性文法的分布式软件构架描述语言》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、一个基于属性文法的分布式软件构架描述语言贾晓琳覃征何坚虞(西安交通大学电子与信息工程学院西安710049)(xlinjia@mail・xjlu.cdti.on)ADistributedSoftwareArchitectureDescriptionLanguageBasedonAttributedGrammarJiaXiaolin,QinZheng,HeJian,andYuFan(SchoolojElectronicsandInformationEngineering,X/anJiaotongU/iive
2、rsily,Xi?an710049)AbstractMostoftheexistingsoftwarearchitecturedescriptionlanguages(ADL)arcbasedonfinitestatemachinesmodels>andwhentheyareusedtodescribethelargescalesystems,theproblemofstateexplosionisdifficulttoovercome•Inthedistributedsoftwaresystem,lo
3、tsofcomponentscommunicatewitheachotherwithcomplexrestrictions,sothespecificationsoftheinteractionamongthecomponentsneedtobedescribedbyusinganefficientmethod.Amodelfordescribingdistributedsystemspecificationsbasedonattributegrammar(AG)isdescribedinthispap
4、er.First>theAGisextendedtorefinethecharactersofdistributedsoftware,suchasparallelism,synchronizationandtiming,andadistributedsoftwarearchitecturedescriptionlanguage(DSADL)isintroduced,andthenaprototypeofintegratedenvironmentforsoftwarearchitecturedesigni
5、sproposedbasedontheAGanalyzerandtheAGattributecalculator,whichnotonlysupportstheconstructionofdistributedsoftwarearchitecturebyGUIandtheautomaticgenerationofADL,butalsoprovidestheverificationandtheanalysisofthesystem-ItsinitialapplicationshowsthatDSADLca
6、nhelptheprogrammerstoanalyzeanddesigndistributedsoftwareeffectively,sotheefficiencyofthedevelopmentcanbeimprovedgreatly.Keywordssoftwarearchitecture;attributedgrammar;distributedsoftware;architecturedescriptionlanguage摘要综合考虑当前各种软件构架描述方式的特点,结合分布式软件的特征,首先,
7、提出并建立了一个以属性文法AG(attributedgrammar)为基础的、基于构件的分布式软件构架描述语言I)SAI儿(distributedsoftwarearchitecturedescriptionlanguage)及其口动生成模型,通过対属性文法的扩充,实现了用其描述构件的并行、同步、时序等特性;其次,借助于AG分析器和属性计算器,开发了基于DSADL的分布式软件构架开发集成环境原型,支持对分布式软件体系结构的图形化建模和八DL的自动生成,可方便地进行系统验证和分析.初步使用表明,DSADL
8、能够有效辅助分布式软件设计人员在构架层次上对系统进行分析和设计,从而提高系统的开发效率.关键词软件构架;属性文法;分布式软件;体系结构描述语言中图法分类号TP311.52收稿日期:2004-0715;修回日期:2005()1-20基金项目:国家“九七三”重点基础研究发展规化基金项目(2()04CB7194()l)1引言软件体系结构描述语言ADL(architecturedescriptionlanguage)是为软件系统的体系结构提供具体的