一种事务处理方法及装置制造方法及图纸

技术编号:18899570 阅读:30 留言:0更新日期:2018-09-08 14:26
一种事务处理方法及装置,网络设备从事务队列中获取多个互相之间不冲突的事务,并对这些不冲突的事务并行执行逆序浅复制生成多个个事务对应的多个临时树,由于多个事务之间不冲突,因此,对这些事务进行并行处理能够保证事务处理的准确性和合理性,且采用逆序浅复制方式生成临时树能够有效降低时间和内存消耗;进一步地,通过对多个临时树进行合并,完成对多个事务的处理,相对于现有技术中串行生成临时树并提交的方式,有效提高了事务的执行效率。

Transaction processing method and device

A transaction processing method and device in which a network device obtains multiple non-conflicting transactions from a transaction queue and performs a shallow reverse copy of these non-conflicting transactions in parallel to generate multiple temporary trees corresponding to multiple transactions. It can ensure the accuracy and rationality of transaction processing, and it can effectively reduce the time and memory consumption by using reverse order shallow replication method to generate temporary trees; furthermore, by merging multiple temporary trees, it can complete the processing of multiple transactions, which is more effective than the serial generation and submission of temporary trees in the existing technology. The efficiency of transaction execution is high.

【技术实现步骤摘要】
【国外来华专利技术】PCT国内申请,说明书已公开。

【技术保护点】
PCT国内申请,权利要求书已公开。

【技术特征摘要】
【国外来华专利技术】PCT国内申请,...

【专利技术属性】
技术研发人员:侯杰林程勇李岩戴龙飞董雯霞宋跃忠
申请(专利权)人:华为技术有限公司
类型:发明
国别省市:广东,44

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1