基于配置文件映射的数据解析方案  被引量:2

A Scheme of Data Analysis Based on Configuration Mapping

在线阅读下载全文

作  者:薛琳[1] 夏小玲[1] 

机构地区:[1]东华大学计算机科学与技术学院,上海201620

出  处:《计算机与现代化》2014年第6期27-31,共5页Computer and Modernization

摘  要:针对移动设备应用中日益复杂的数据解析过程,本文提出一种基于配置文件映射的数据解析方案。该方案结合主流的LibXML2解析器以及Mac OSX下的Plist文件,通过key-value键值对的简单配置实现在移动设备端对网络请求数据的解析。实验结果表明,该方案不仅可以有效减少代码的冗余,降低模块间的耦合度,并且便于交互数据的维护和更新。For the increasingly complex data types in mobile device, this paper presents a new scheme that based on mapping in data-analysis. In this scheme, analysis of the request data can be more easily though the configuration of key-value pairs, combi- ning the mainstream XML parser of LibXML2 and the Plist file in Mac operating system. This scheme can effectively reduce the redundant code, lowers the coupling degree between modules and be more easily to maintain the interactive data.

关 键 词:移动设备 映射 数据解析 Plist 代码冗余 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象