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

Windows Phone数据访问技术研究
引用本文:刘黎志,陈传波.Windows Phone数据访问技术研究[J].计算机工程与科学,2014,36(9):1829-1834.
作者姓名:刘黎志  陈传波
作者单位:1. 武汉工程大学智能机器人湖北省重点实验室,湖北武汉430205;武汉工程大学计算机科学与工程学院,湖北武汉430205
2. 华中科技大学软件学院,湖北武汉,430074
基金项目:武汉工程大学智能机器人湖北省重点实验室开放基金
摘    要:在移动互联网时代,必须有效解决智能终端设备如何访问关系数据库中的数据问题。Windows Phone 给出的解决方案是,首先利用对象关系映射技术为关系数据库建立实体对象模型;然后使用REST风格的WCF数据服务封装实体对象上下文,Windows Azure可作为发布该服务的载体;最后遵循开放式数据协议的规范查询及操作数据。对相关技术进行了较深入的研究,并使用MVVM模式给出了一个具体的实例,论证了该方案的可行性。由于智能终端可以通过开放数据协议访问和操作部署在Windows Azure中的WCF数据服务,结果以XML的形式返回,从而使得Windows Phone数据访问的模式可以扩展到使用其它操作系统的智能终端平台,如Android、IOS等。

关 键 词:Windows  Phone  WCF数据服务  表示状态转换  开放数据协议  MVVM模式  
收稿时间:2012-11-06
修稿时间:2014-09-25

Research of Windows Phone data access technology
LIU Li-zhi,CHEN Chuan-bo.Research of Windows Phone data access technology[J].Computer Engineering & Science,2014,36(9):1829-1834.
Authors:LIU Li-zhi  CHEN Chuan-bo
Affiliation:(1.Hubei Province Key Laboratory of Intelligent Robot,Wuhan Institute of Technology,Wuhan 430205; 2.School of Computer Science and Engineering,Wuhan Institute of Technology,Wuhan 430205; 3.School of Software Engineering,Huazhong University of Science and Technology,Wuhan 430074,China)
Abstract:The problem of how smart device can efficiently access data stored in relational data base must be solved in the era of mobile Internet. Windows Phone provides a solution. Firstly, an entity data model is constructed based on a corresponding relational database by using ORM technology. Secondly, the object context of the entity data model is encapsulated by a REST WCF Data Service, which is deployed by Windows Azure. Finally, data is queried and handled according to the specification of open data protocol. These technologies are discussed and an example is given by combining MVVM pattern, which proves the solution is feasible. Because smart device can access and manipulate WCF Data Service deployed in Windows Azure through Open Data Protocol and return results by XML, the Windows Phone data access pattern can be extend to other smart device platforms with different operating systems such as Android and IOS.
Keywords:Windows Phone  WCF data service  representational state transfer (REST)  open data protocol  MVVM(Model-View-View Model) pattern
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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