arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.02809cs.SEcs.CR
收藏

TREBLE:在全球分布式利益相关者构成的活跃软件生态系统中创造均衡以实现快速软件更新

TREBLE: Fast Software Updates by Creating an Equilibrium in an Active Software Ecosystem of Globally Distributed Stakeholders

Keun Soo Yim, Iliyan Malchev, Andrew Hsieh, Dave Burke

AI总结:

本文提出TREBLE架构,通过将Android核心框架与硬件相关供应商实现解耦,并借助版本化稳定接口和独立镜像更新机制,在生态系统中创造均衡,从而实现快速软件更新并支撑全球最大开放生态系统的进一步扩展。

摘要:

本文介绍了我们在TREBLE项目中的实践经验。TREBLE是一项为期两年的计划,旨在为Android构建模块化基础。Android是一个运行在Linux内核之上的基于Java的移动平台。我们的TREBLE架构将与硬件无关的核心框架(使用Java编写)与依赖硬件的供应商实现(例如用户空间设备驱动程序、供应商原生库以及使用C/C++编写的内核)分离开来。它们之间的跨层通信通过版本化、稳定的进程间通信接口完成,这些接口的向后兼容性通过两套API合规性测试套件进行验证。基于该架构,我们将那些在发布后遭受严重安全漏洞困扰的关键Android软件组件重新打包为独立的镜像。这不仅实现了独立的归属权,还使得感兴趣的生态系统实体能够对每个镜像进行独立更新。我们讨论了采用年度发布模式向芯片供应商和设备制造商交付TREBLE架构变更的经验。我们的实验和行业部署支持了我们的假设:赋予所有生态系统实体更多自由并创造一种均衡,是进一步扩展这个拥有超过二十亿活跃设备的全球最大开放生态系统所必需的变革。

英文摘要:

This paper presents our experience with TREBLE, a two-year initiative to build the modular base in Android, a Java-based mobile platform running on the Linux kernel. Our TREBLE architecture splits the hardware independent core framework written in Java from the hardware dependent vendor implementations (e.g., user space device drivers, vendor native libraries, and kernel written in C/C++). Cross-layer communications between them are done via versioned, stable inter-process communication interfaces whose backward compatibility is tested by using two API compliance suites. Based on this architecture, we repackage the key Android software components that suffered from crucial post-launch security bugs as separate images. That not only enables separate ownerships but also independent updates of each image by interested ecosystem entities. We discuss our experience of delivering TREBLE architectural changes to silicon vendors and device makers using a yearly release model. Our experiments and industry rollouts support our hypothesis that giving more freedom to all ecosystem entities and creating an equilibrium are a transformation necessary to further scale the world largest open ecosystem with over two billion active devices.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑