基于RIA的远程实验系统的设计与实现.pdf
文本预览下载声明
图 像 ·编 码 与 软 件 a叶技2016年第29卷第5期
ElectronicSci.&Tech./May.15.2016
doi:10.16180/j.cnki.issnl007—7820.2016.05.048
基于 RIA的远程实验系统的设计与实现
张好好,肖铁军,赵 蕙
(江苏大学 计算机科学与通信工程学院,江苏 镇江 212013)
摘 要 针对现代教育对远程实验的需求,采用基于RIA相关技术设计,开发了以《计算机组成原理》课程实验为
背景的远程实验 系统 ,实现传统C/S、B/S两种架构的结合。客户端通过 Ajax的XMLHttpRequest对象实现与服务器
端的相互通信,提 出了信息流最值动画算法,并利用HTML5的Canvas标签完成该算法的动画显示;服务器端利用
ASP.NET完成服务器端与硬件设备的数据交互。该系统具有交互性高、实时性强、可跨浏览器等特点,能够动态地
显示CPU数据通路中信息流的执行过程,满足了学生随时随地进行远程实验的需求,达到 了与真实实验一样的效果,
降低了学校硬件设备的成本,提高了实验资源的利用率。
关键词 RIA;远程实验 ;XMLHttpRequest对象;信息流最值动画算法;Canvas标签;ASP.NET技术
中图分类号 TP393 文献标识码 A 文章编号 1007—7820(2016)05—178—05
DesignandImplementationofRemoteExperimentSystem BasedonRIA
ZHANGHaohao,XIAOTiejun,ZHAOHui
(SchoolofComputerScienceandCommunicationEngineering,JiangsuUniversity,Zhenjiang212013,China)
Abstract Inview oftheneedsofmodem educationforremoteexperimentandtheproblemsofC/SandB/Sin
theremoteexperimentsystem ,theremoteexperimentsystem basedontheRIA technologyisadoptedtodesignand
developtheexperimentalsystem whichisusedtodotheexperimentof”PrinciplesofComputerComposition”.The
XMLHttpRequestobjectofAjaxisusedtoachievethecommunicationbetweentheserverandtheclient.Themaxi—
mum andminimum animationalgorithm ofrinformationflow isputforwardbytheclient,andcompletedbytheCan—
vastagofHTMI_5.ASP.NETisusedtocompletetheinteractionbetweentheserverandhardware.Thissystem has
thecharacteristicsofhighinteraction,realtimeoperationandcrossbrowser.Itcandynamicallydisplaytheexecu-
tionprocessoftheinfomr ationflow intheCPUdatapath.Thesystem allowsstudentstodoremoteexperimentsatany
timeandanywherewhileofferingthesameeffectasrealexperiment.Thissystem alsoreducesthecostofthehard—
显示全部