针对网格环境中事务的特点,结合移动Agent技术,给出了一个网格事务处理模型,设计了模型中2种事务类型的协调协议.原子事务协调协议用于保证网格原子事务原子性和正确性,而聚合事务协调协议则用于网格聚合事务处理,降低长事务夭折的数量.最后给出了协议的正确性证明和实验结果分析.研究和实验结果表明,所提出的基于移动Agent的模型能够解决网格自治性问题,具有高协作性和高可靠性.模型中的2种事务协调协议可以减少事务处理过程中的实时连接和频繁交互次数,降低网络通信开销,大大提高了事务的执行效率和系统资源的利用率.
According to the characteristics of transactions in grid environment,a grid transaction processing model based on Agent is proposed,and two transaction coordinate protocols based on the model are designed.The atomic transaction coordinate protocol is used to guarantee the atomicity and correctness of grid atomic transactions,and the cohesion transaction coordinate protocol is appropriate for the grid cohesion transactions processing and decreases the number of long transaction affairs.Finally,atomicity and correctness of two protocols are proved and the analysis of experimental results is given.The research and experimental results show that the two transaction coordinate protocols can reduce the number of real-time links and frequent interactions in transaction processing.Thus,network communication overhead is decreased,and the execution efficiency of transaction and utilization efficiency of system resource are improved.