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

GIS中长事务模型
引用本文:陈波,周顺平,万波,叶亚琴.GIS中长事务模型[J].地球科学,2006,31(5):605-608.
作者姓名:陈波  周顺平  万波  叶亚琴
作者单位:中国地质大学研究生院,湖北,武汉,430074;武汉中地数码科技有限公司,湖北,武汉,430074;中国地质大学信息工程学院,湖北,武汉,430074;武汉中地数码科技有限公司,湖北,武汉,430074
基金项目:国家高技术研究发展计划(863计划);湖北省武汉市重大科技产业化专项项目
摘    要:为了解决传统的使用基于关系型数据库管理系统(relational database management system, RDBMS) 存储数据的GIS软件平台在需要长事务并发的应用过程中出现问题, 从GIS对长事务需求和一般对事务的处理方式遇到的问题入手, 将GIS数据的编辑过程归结为数据库状态的不断演变, 通过增加存储表格的手段, 提出了一套切实可行的长事务解决方案, 并给出了相关问题的算法说明.传统的并发是在编辑之前对要素加锁, 在这个编辑过程中, 其他用户都不能编辑这个要素, 直到第一个用户完成编辑, 释放锁, 其他用户才能对这个要素进行修改.这样存在2个问题: 多个用户不能同时编辑一个要素; 后面的用户对数据的修改会覆盖掉前面用户的编辑结果.为了解决这些问题, 本方案用状态标识数据的改变, 通过对状态的控制较好地解决了长事务的并发问题, 使多个用户不仅可以同时访问相同的要素, 而且不同的用户的编辑结果可以分别保存, 互不影响.该方案已应用到实践中, 取得了良好的效果. 

关 键 词:GIS  长事务  并发控制
文章编号:1000-2383r2006)05-0605-04
收稿时间:2006-05-30
修稿时间:2006-05-30

Long Transactions in GIS
CHEN Bo,ZHOU Shun-ping,WAN Bo,YE Ya-qin.Long Transactions in GIS[J].Earth Science-Journal of China University of Geosciences,2006,31(5):605-608.
Authors:CHEN Bo  ZHOU Shun-ping  WAN Bo  YE Ya-qin
Institution:1. Graduate School, China University of Geosciences, Wuhan 430074, China; 2. Faculty of Information Engineering, China University of Geosciences, Wuhan 430074, China; 3. Wuhan Zondy Cyber-Tech Co. , Ltd. , Wuhan 430074, China
Abstract:This paper offers a solution to the application of a GIS system based on relational database management system (RDBMS) in a given circumstance which requires a long transaction. The traditional method to long transaction is to add locks on data in order to let someone edit it exclusively. That is to say, data can not be edited by more than one person at the same time with the traditional method. The paper starts from the requirement from GIS to long transaction and the questions which went on when people deal the long transaction with the traditional method. A feasible solution is offered which treats a data change as a statement and mark changes in data by state ids, then uses two algorithms to control the statements. With this solution not only data can be edited by few persons synchronously but also the different changes made by different people can be saved respectively.
Keywords:GIS  long transaction  concurrency control  
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《地球科学》浏览原始摘要信息
点击此处可从《地球科学》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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