欢迎来到天天文库
浏览记录
ID:32512445
大小:5.22 MB
页数:65页
时间:2019-02-10
《可重构软件平台构建原理与的应用的研究》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、摘要随着信息时代软件产业的蓬勃发展,软件的开发过程逐渐显露出诸多问题——开发周期长、软件质量低、维护成本高,以及难以快速适应新的变化。为更好地解决上述问题,软件复用技术成为当今主流的解决方法。重构是实现软件复用的重要方式,它提供了一种提高软件生产效率和质量的可行途径,即致力于功能模块的拆分与组装。‘本文以可重构技术和平台/组件架构思想为理论支持,结合Lua脚本与动态链接库技术,以VC++为开发工具,基于wxWidgets构架库构建了一个通用的可重构软件平台。该平台自身设计为一主框架结构,可通过不同模块的组合实现软件界面、功能、算法等方面的重构
2、。论文主要内容如下:第一,分析了软件重构技术,依据可重构组件的概念,从总体上给出了可重构软件平台的总体结构和实现方法。第二,应用了框架模块化方法,构建并完成了可重构软件平台框架。解决了Lua脚本解释引擎嵌入软件平台时的兼容性问题。第三,提出了基于L岫脚本和动态链接库的可重构组件的开发模式,使软件平台实现多样性重构。第四,根据组件粒度对可重构组件进行了划分,并通过可重构软件平台完成了具体实例。第五,实现了对可重构组件的管理和Lua脚本的调试。基于上述研究工作,开发了可重构软件平台,以及一些可在该平台上运行实现任务需求的可重构组件。从应用的角度上
3、看,该平台同时具备了实用性与前瞻性,为用户快速定制业务组件实现具体需求提供了一条新的途径和方法。关键词:可重构组件,软件框架,LuaAbstractWithfastdevelopmentofsoftwareindustryintheInformationAge,thedevelopmentprocessofsoftwareisfarfrommature:slippedschedule,poorquality,highmaintenancecosts,anddifficulttOadapttonewchangesquickly.Inordert
4、osolvetheaboveproblembetter,softwarereusingbecomestobeamainstreamsolution.Refactoringisanimportanttechnologyofsoftwarereusing.Itprovidesafeasiblewaytoimproveproductivityandqualityofsoftware,whichisdevotedtosplitandassemblethefunctionalmodules.Inthispaper,ageneralreconfigura
5、blesoftwareplatformisproposed,whichusesreconstructiontechnologyandplatform/componentarchitectureasitstheoreticalsupport.ItusesL腿scriptlanguageanddynamiclinklibrary,andisbasedonthewxWidgetsframeworklibraryandVC++developmenttools.Theplatformisdesignedasamainframestructure.ItC
6、anbereconstructedinsoftwareinterface,functionsandalgorithmsbyassemblingdifferentmodules.Themaincontentsareasfollows:Firstly,thegeneralstructureandmethodofreconfigurablesoftwareplatformhasbeengiven,whichisbasedonanalyzingthesoftwarerefactoringtechnologyandtheconceptof“Reconf
7、igurableComponent”.Secondly,amodularmethodisanalyzedfortheframeworkofrecortfigurablesoftwareplatform,whichavoidsthecompatibilityproblemwhenembeddingL腿scriptengineinsoftwareplatform.Thirdly,adevelopmentmethodforreconfigurablecomponentsisproposed,whichusesLuascriptlanguageand
8、dynamiclinklibrary.ItCanreconstructthesoftwareplatformflexible.Fourthly,reconfigur
此文档下载收益归作者所有