高级检索

    面向智能终端的状态通道离线代理与容错恢复框架

    A State Channel Framework with Offline Proxy and Fault-Tolerant Recovery for Intelligent Terminals

    • 摘要: 状态通道通过将交易迁移至链外执行,为区块链扩展性提供了一种有效的解决方案。然而,现有方案通常假设参与者集合静态不变、节点持续在线且故障率极低,这些强假设难以适配智能终端场景,严重制约了其实际部署。为应对上述挑战,提出一种面向智能终端的状态通道离线代理与容错恢复框架,核心贡献包括3个方面:1)针对智能终端频繁加入或离开导致的通道重构开销,提出一种动态成员管理机制,基于联合组签名与对称凭证验证等技术,支持成员在不暴露真实身份的前提下完成权限变更,实现动态环境下的隐私保护与安全准入;2)针对智能终端间歇性连接导致的事务中断问题,设计一种可信执行环境(trusted execution environment,TEE)辅助的离线代理机制,参与者将交易签名和状态更新委托至本地部署的TEE阵列,在隔离环境中完成离线代理执行,保障异步动态场景下的区块链操作连续性;3)针对节点故障或状态丢失风险,提出一种基于低密度奇偶校验(low-density parity-check,LDPC)码的容错状态恢复机制,将参与方状态编码为稀疏分片并分散存储至TEE阵列,并利用稀疏奇偶校验解码实现高概率高效容错恢复。实验结果表明,与现有方法相比,所提出框架的交易成功率达到现有方法的1.36~1.51倍,延迟降低20%~30%,20%状态数据丢失的情况下,系统的可用性仍保持在95%以上,在智能终端动态环境与部分故障场景下展现出显著的性能优势。

       

      Abstract: State channels provide an effective solution for blockchain scalability by migrating transaction execution off-chain. However, existing approaches typically rely on strong assumptions, such as a static set of participants, continuously online nodes, and extremely low failure rates. These assumptions are difficult to satisfy in intelligent terminal environments and significantly hinder practical deployment. To address these challenges, this paper proposes a state channel framework with offline proxy and fault-tolerant recovery for intelligent terminals. The main contributions are summarized as follows: (1) To mitigate channel reconstruction overhead caused by frequent joining and leaving of intelligent terminals, a dynamic membership management mechanism is proposed. Based on joint group signatures and symmetric credential verification, it enables members to complete permission changes without exposing real identities, achieving privacy-preserving and secure admission in dynamic environments. (2) To address transaction interruption caused by intermittent connectivity of intelligent terminals, a trusted execution environment (TEE)-assisted offline proxy mechanism is designed. Participants delegate transaction signing and state updates to a locally deployed TEE array, where offline proxy execution is performed in an isolated environment, ensuring continuity of blockchain operations in asynchronous and dynamic scenarios. (3) To cope with node failures or state loss risks, a fault-tolerant state recovery mechanism based on low-density parity-check (LDPC) codes is proposed. Participant states are encoded into sparse fragments and distributed across the TEE array, and sparse parity-check decoding is exploited to achieve high-probability and efficient fault-tolerant recovery. Experimental results demonstrate that, compared with existing methods, the proposed framework improves transaction success rates by 1.36–1.51×, reduces latency by 20–30%, and maintains system availability above 95% even with 20% state data loss, exhibiting significant performance advantages in dynamic intelligent terminal environments and partial failure scenarios.

       

    /

    返回文章
    返回