基于临界区划分的实时事务并发控制机制  

COR-based Concurrency Control Strategies in the Real-time Transaction Model Supporting Functional Alternatives

在线阅读下载全文

作  者:夏家莉[1] 王文乐[1] 朱文婷[2] 曹重华[1] 

机构地区:[1]江西财经大学软件与通信工程学院,南昌330032 [2]江西财经大学会计学院,南昌330013

出  处:《小型微型计算机系统》2013年第4期822-826,共5页Journal of Chinese Computer Systems

基  金:国家自然科学基金项目(60763002)资助;江西省自然科学基金项目(2008GZS0021)资助

摘  要:针对支持功能替代的实时事务模型,根据替代做处理的数据对象将替代划分为若干个临界区,提出了临界区动态相容检测方法,提出了基于临界区动态相容的并发控制策略COR-CCS:分区封锁策略、支持预释放的封锁策略、按序提交策略和级联回滚策略,并给出了相应的并发控制实现算法.当实时系统中存在资源冲突时,若高优先级替代未完成的临界区与低优先级替代动态相容,可令二者并发执行.实验仿真结果证明,COR-CCS策略有利减少低优先级替代等待时间、提高系统成功率和CPU有效利用率.In the real-time system model based on functional alternatives, we divided the alternatives into Critical Operation Regions (short for CORs) according to the data that they handled, and proposed the method to examine the dynamic compatibility between two CORs. Also, we present the strategies, named COR-CCS, that can improve the concurrence of the alternatives, such as: the strategy of locking each by COR, the strategy of pre-releasing lock, the strategy of orderly submitting and the strategy of cascaded roll-backing. After that we gave the algorithm of COR-based concurrency control. When scheduling the real-time system with data confliction, the alternatives can concurrently executed if the CORS in the alternative with higher priority is dynamic compatibility with the lower priority alternative. The experimental results showed that the COR-CCS is effect on reducing the waiting time of the lower priority alternatives, increasing the successful execution ratio of the transactions, and improving the CPU usage.

关 键 词:功能替代 并发控制 临界区 动态相容 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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