嵌入式混合型实时事务并发控制研究
Research on embedded hybrid real-time transaction concurrency control
-
摘要: 针对嵌入式混合型实时事务并发控制新特点,引入替代和补偿,提出一种混合型并发控制算法,即无冲突混合并发控制MCC-CCCP算法.该算法将冲突分为类内和类间两种,利用ET-CCCP和CCCP协议分别解决硬实时事务类内和软实时事务类内的冲突;设计的LC-CCCP算法通过比较选出冲突数量最少的替代参与到并发控制中,同时采取一定的补偿措施降低冲突数量,以解决不同类间冲突.模拟实验表明,该混合型算法降低了事务重启率和错失率,具有一定的优越性.Abstract: Based on new characters of embedded hybrid real-time transaction concurrency control,a hybrid concurrency control algorithm,namely mixed concurrency control-CCCP(MCC-CCCP),was proposed by adding substitution and compensation.Conflict was divided into the intra-class and inter-class in the algorithm.ET-CCCP protocol solved the intra-class conflict of hard real-time transaction,while CCCP protocol solved the intra-class conflict of soft real-time transaction.The LC-CCCP algorithm was designed to resolve the inter-class conflicts by comparing to select the least number of alternative involved in the concurrency control and taking some compensation measures to reduce the number of conflicts.Simulation experiments showed that the hybrid algorithm decreased the rate of restart and transaction miss, which had certain advantages.
-
-
[1]
Lam K Y,Kuo T W,S H Lee T.Strategies for resolving inter-class data conflicts in mixed real-time database systems[J].Journal of Systems and Software,2002,61(1):1.
-
[2]
李刚,魏涛,李蔚,等.嵌入式数据库嵌套实时事务模型研究[J].郑州轻工业学院学报:自然科学版,2009,24(5):59.
-
[3]
梁平,张晓龙,陈和平,等.基于实时日志的故障恢复策略[J].武汉大学学报:理学版,2014,60(2):160.
-
[4]
Lee V C S,Lam K W,Hung S L.Concurrency control for mixed transactions in real-time databases[J].IEEE Transactions on Computers,2002,51(7):821.
-
[5]
Sha L,Rajkumar R,Son S H,et al.A real-time locking protocol[J].IEEE Transactions on Computers,1991,40(7):793.
-
[6]
Lam K Y,Kuo T W,Tsang W H,et al.The reduced ceiling protocol for concurrency control in real-time databases with mixed transactions[J].Computer Journal,2000,43(1):65.
-
[7]
王强,王宏安,金宏,等.一种面向混合实时事务调度的并发控制协议[J].计算机研究与发展,2005,42(1):18.
-
[8]
夏家莉.嵌入式实时数据库系统中无冲突并发控制协议CCCP[J].计算机研究与发展,2004,41(11):1936.
-
[9]
夏家莉,韩增波,陈辉.基于功能替代模型的无冲突并发控制协议[J].计算机工程,2010,36(15):57.
-
[1]
计量
- PDF下载量: 20
- 文章访问数: 969
- 引证文献数: 0