首页 | 本学科首页   官方微博 | 高级检索  
     检索      

网络虚拟实验中二进制数据的XML传输方法
引用本文:戴铮,何岭松.网络虚拟实验中二进制数据的XML传输方法[J].实验室研究与探索,2011,30(11):52-55.
作者姓名:戴铮  何岭松
作者单位:华中科技大学机械科学与工程学院,湖北武汉,430074
基金项目:“十一五”国家科技支撑计划项目(2008BAH29B00); 国家863计划项目(2008AA04Z133)
摘    要:网络虚拟实验中二进制数据的XML直接传输方法存在节点数目多,解析困难,不利于网络传输等问题.针对上述情况,采用XML的CDATA域封装的方法对二进制数据进行传输.为了解决由ASCII字符引起的语法错误以及CDATA域的异常结束问题,通过Base 64编码技术对二进制数据进行处理.通过一个虚实结合的球杆系统网络虚拟实验对上述方法进行了验证.

关 键 词:网络虚拟实验  二进制数据  XML  CDATA  Base  64

A Method for Binary Data Transmission in Web-based Virtual Experiments Using XML
DM Zheng , HE Ling-song.A Method for Binary Data Transmission in Web-based Virtual Experiments Using XML[J].Laboratory Research and Exploration,2011,30(11):52-55.
Authors:DM Zheng  HE Ling-song
Institution:DAI Zheng,HE Ling-song(School of Mechanical Science and Engineering,Huazhong University of Science and Technology,Wuhan 430074,China)
Abstract:There exsit many problems in the XML transmission method for binary data in web-based virtual experiments,such as the large number of the nodes,the complexity of the XML parsing and the burden of web transmission.This paper introduces a solution which uses the CDATA session to transfer the binary data.A Base 64 coding technique is adopted to avoid the syntax errors or unexpected endings caused by some ASCII characters,when using the CDATA session.A web-based virtual experiment for ball & beam controlling sy...
Keywords:net-based virtual experiments  binary data  XML  CDATA  Base 64  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号