TDSM: 变更数据捕获驱动的数据库-区块链同步系统
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

国家自然科学基金(U22B2029)


TDSM: Database-blockchain Synchronization System Driven by Change Data Capture
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    随着区块链技术在金融科技、供应链管理等关键领域的应用不断深化, 兼具传统数据库高性能与区块链高可信性的混合式存储架构已成为研究热点. 然而, 现有方案普遍未能系统性地解决数据库与区块链之间的架构不兼容问题, 具体表现为事务模型差异、性能与成本矛盾以及数据生命周期管理困难这3大核心技术难点. 针对上述挑战, 提出并实现一种基于变更数据捕获(change data capture, CDC)的数据库-区块链同步系统TDSM, 用于在异构环境下实现高效、可信的数据同步. 首先, 设计集成可验证撤销证明的轻量级原子提交协议, 利用稀疏默克尔树为删除操作生成密码学证明, 在不引入重量级两阶段提交的前提下保障跨系统事务的原子性映射, 实现数据全生命周期的链上可信审计. 其次, 提出资源感知的自适应批处理算法, 通过实时监控链上交易成本并动态调整批处理策略, 有效解决数据库高通量与区块链高成本之间的矛盾. 实验结果表明, TDSM在保持较高吞吐量的同时显著降低了同步成本, 自适应批处理机制相比固定策略节省了显著的资源开销, 撤销证明机制在处理大量删除操作时仍保持高效, 原子性保障机制在各种故障场景下均能保证数据一致性.

    Abstract:

    With the increasing application of blockchain technology in critical domains such as financial technology and supply chain management, hybrid storage architectures that combine the high performance of traditional databases with the high trustworthiness of blockchains have become a research hotspot. However, existing solutions generally fail to systematically address the architectural incompatibilities between databases and blockchains, which manifest in three core technical challenges: transaction model differences, performance-cost contradictions, and data lifecycle management difficulties. To address these challenges, this study proposes and implements TDSM, a CDC-based database-blockchain synchronization system for achieving efficient and trustworthy data synchronization in heterogeneous environments. First, the study designs a lightweight atomic commit protocol integrated with verifiable revocation proofs and utilizes sparse Merkle trees to generate cryptographic proofs for deletion operations, ensuring the atomic mapping of cross-system transactions without introducing heavyweight two-phase commit, and thus achieving trusted on-chain auditing of the complete data lifecycle. Second, it proposes a resource-aware adaptive batching algorithm, which dynamically adjusts batching strategies by monitoring on-chain transaction costs in real time, effectively resolving the contradiction between the high throughput of databases and the high cost of blockchains. Experimental results demonstrate that TDSM maintains high throughput while significantly reducing synchronization costs. The adaptive batching mechanism achieves substantial resource savings compared to fixed strategies, the revocation proof mechanism remains efficient when processing large numbers of deletion operations, and the atomicity guarantee mechanism ensures data consistency across various failure scenarios.

    参考文献
    相似文献
    引证文献
引用本文

卿昱潇,高建彬,吴敏,夏琦,肖杨磊,夏虎,张劲松,罗锦涛. TDSM: 变更数据捕获驱动的数据库-区块链同步系统.软件学报,,():1-25

复制
相关视频

分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2025-11-18
  • 最后修改日期:2026-01-26
  • 录用日期:
  • 在线发布日期: 2026-07-08
  • 出版日期:
文章二维码
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京市海淀区中关村南四街4号,邮政编码:100190
电话:010-62562563 传真:010-62562533 Email:jos@iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号