摘要
在移动端和服务器端之间,传统的数据传输方式基于HTTP协议,将数据流编码成由特殊符号分隔的键一值对,在移动端进行数据的分拣.这种传输方式使服务器检索变量速度加快,但不适用于复杂或嵌套的数据结构检索.由此,提出了一种基于XML的移动数据传输的架构,分析了在J2ME中进行XML解析的实现机制,并将其应用于移动车牌检索系统.应用表明,XML的移动数据传输具有可行性和适用性.
The traditional data transfer between mobile and server end is achieved through data stream based on HTTP protocol,which encodes the data stream into key value pairs separated by special characters,facilitating the data selection on the mobile end.With this method,to search variables is fast on server,but it is not applicable when dealing with complicated or nested data structure.To solve this problem,the architecture was developed for mobile data transfer based on XML.The mechanism to parse XML in J2ME was studied and applied in the vehicle license mobile query system.
出处
《大庆石油学院学报》
CAS
北大核心
2006年第5期122-124,共3页
Journal of Daqing Petroleum Institute
基金
大庆市重点科技攻关项目(SGG2005011)