Application Framework for OpenHarmony Distributed Trusted Execution Environment
摘要
OpenHarmony empowers numerous heterogeneous devices with the capability of intelligent connection and synergy. However, many of these devices lack TEE (Trusted Execution Environment) capabilities, making them incapable of handling various high-security scenarios. How to extend and share TEE capabilities in distributed environments is an urgent requirement and also introduces significant challenges. To address these, we propose DTee, the first general-purpose programming framework for OpenHarmony that simplifies the development and deployment of applications on a distributed TEE. DTee encapsulates the complexities of distributed TEE implementation and exposes user-friendly programming interfaces, enabling developers to build secure applications without deep expertise in TEE internals. DTee introduces a novel programming model that divides the development process into development and deployment stages, decoupling business logic from TEE-specific details and streamlining the development process. We also provide a suite of tools to significantly lower the barrier to entry for developers. Evaluations with real-world applications such as distributed face recognition and speech recognition demonstrate DTee ’s effectiveness in enhancing security, maintaining performance, and simplifying the development of distributed TEE applications.