• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2011, Vol. 33 ›› Issue (1): 36-41.doi: 10.3969/j.issn.1007130X.2011.

• 论文 • 上一篇    下一篇

RIA环境下可离线Web技术的研究与实现

程国雄,胡世清   

  1. (深圳大学师范学院教育信息技术系, 广东 深圳 518060)
  • 收稿日期:2009-09-21 修回日期:2010-01-05 出版日期:2011-01-25 发布日期:2011-01-25
  • 通讯作者: 程国雄
  • 作者简介:程国雄(1971),男,湖北黄梅人,硕士生,讲师,研究方向为网络工程、软件工程。胡世清(1963),男,湖南双峰人,硕士,高级工程师,研究方向为计算机网络及应用。

Research and Implementation of OffLine  Web Technology in the RIA Environment

CHENG Guoxiong,HU Shiqing   

  1. (Department of Educational Technology,Normal School,Shenzhen University,Shenzhen 518060,China)
  • Received:2009-09-21 Revised:2010-01-05 Online:2011-01-25 Published:2011-01-25
  • About author:CHENG Guoxiong,born in 1971,MS candidate,lecturer,his research interests include network engineering,software engineering. HU Shiqing,born in 1963,MS,senior engineer,his research interests include computer network and applications.

摘要:

为解决RIA环境下Web离线使用问题,提高Web系统的性能。在分析了独立存储(Isolated Storage)的特点的基础上,本文提出了在Web商务系统中独立存储的应用方案。并运用Isolated Storage APIs,设计实现了本地小型数据库管理组件,解决了本地数据存储问题;提出和实现了增量更新的数据同步工作引擎,该引擎使用TCP Socket通信。通过设计实现Socket服务,实现客户端和服务器的时间同步,并采用推送的方法,将同步数据推送到客户端。实验表明,该系统在低带宽或网络故障状态下运行良好,可提高Web系统的可靠性。

关键词: 富互联网应用, 离线Web, 独立存储, 本地数据库, 数据同步, 增量更新

Abstract:

To improve the Web system performance, Web which works under the offline state is studied. Based on the features of Isolated Storage, the solution of using the Isolated Storage in a Web commercial system is presented. A local smallscale database management component is designed with the Isolated Storage APIs, and the management of the local data storage is solved. Meanwhile, the local data synchronized with the remote data is achieved based on the incremental updating of the data synchronization engine, which uses the TCP socket communications. The socket service is designed to achieve the clientserver time synchronization and push data to the client from the server. The experimental results show that, this system runs well in a low bandwidth or network fault state, and the reliability of the Web systems is improved.

Key words: RIA;offline Web;Isolated Storage;local database;data synchronization;incremental update