To detect and resolve automatically context conflicts occurring in the pervasive computing envi- ronment, an algorithm used to detect and resolve context conflicts is put forward based on the analysis of conflict causes. The algorithm classifies new arrival contexts according to semantics, supports the triggering model to detect context conflicts and resolve conflicts actively on the basis of relative priority of context. The test results prove that this algorithm can effectively detect and resolve context conflicts and improve the application performance.%为了能够检测普适计算环境中的上下文冲突并自动进行冲突消解,在对上下文冲突原因深入分析的基础上,提出了上下文冲突检测和消解算法.该算法根据语义对新到达上下文进行分类,定义冲突触发器来检测上下文冲突,并根据上下文的相对优先级主动进行冲突消解.实验结果表明,该算法能够有效地检测和消除上下文冲突,提高应用程序的性能.
展开▼