基于JSON轻量级桥接架构的异构软件模块集成方法研究
DOI:
CSTR:
作者:
作者单位:

郑州航空工业管理学院 航空发动机学院

作者简介:

通讯作者:

中图分类号:

TP311.51

基金项目:


Research on the integration method of heterogeneous software modules based on the lightweight JSON bridging architecture
Author:
Affiliation:

Fund Project:

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

    针对传统中间件因高开销、复杂性导致异构软件模块难以集成的问题,提出了一种基于 JSON 的轻量级桥接架构(LJ-Bridge)。对架构所采用的异步文件 I/O 和预定义 JSON 数据格式的关键技术进行了研究,对结合原子性写入、轮询机制与时间戳校验实现异构模块松耦合通信进行了分析,技术创新体现在构建文件系统级轻量级通信范式、设计多重容错机制保障数据完整性、适配资源受限嵌入式场景需求;以树莓派 4B 平台无人机避障系统为案例,进行了桥接 Python 3 视觉模块与 Python 2 控制模块的实验,经仿真实验测试,与 TCP/IP 通信相比,该架构在内存效率、通信可靠性及延迟稳定性方面展现优势;实际应用验证表明,其满足了资源受限且鲁棒性要求高的嵌入式场景异构集成需求,为多编程语言、多运行时环境的软件模块集成提供了低开销解决方案。

    Abstract:

    Aiming at the problem that heterogeneous software modules are difficult to integrate due to high overhead and complexity of traditional middleware, a JSON-based lightweight bridging architecture (LJ-Bridge) is proposed. The key technologies adopted by the architecture, including asynchronous file I/O and predefined JSON data format, are studied, and the realization of loose-coupling communication of heterogeneous modules by combining atomic writing, polling mechanism and timestamp verification is analyzed. The technological innovations are reflected in constructing a file system-level lightweight communication paradigm, designing multiple fault-tolerant mechanisms to ensure data integrity, and adapting to the needs of resource-constrained embedded scenarios. With the UAV obstacle avoidance system on Raspberry Pi 4B platform as a case, experiments on bridging Python 3 vision module and Python 2 control module are carried out. Through simulation tests, compared with TCP/IP communication, the architecture shows advantages in memory efficiency, communication reliability and delay stability. Practical application verification indicates that it meets the heterogeneous integration needs of resource-constrained embedded scenarios with high robustness requirements, and provides a low-overhead solution for the integration of software modules with multiple programming languages and multiple runtime environments.

    参考文献
    相似文献
    引证文献
引用本文
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2025-11-27
  • 最后修改日期:2025-12-24
  • 录用日期:2025-12-25
  • 在线发布日期:
  • 出版日期:
文章二维码