This invention discloses a method for displaying Linux container applications on the HarmonyOS platform based on virtual
compositing nodes. Using HarmonyOS as the host and Linux as the container, the host-side Vulkan
resource management hub pre-checks GPU characteristics, allocates shared Vulkan resources, creates rendering channels, and initializes global timeline semaphores to build a unified
resource pool. After the container starts, it requests resources from the host to import shared
video memory objects, and the container compositor registers virtual nodes. During the rendering phase, the application uses shared resources to complete
parallel rendering and sends notifications to the container compositor. The container compositor, based on the global display state, uses Vulkan instructions to perform window blending, transformation, and other
processing, encapsulates global
compositing units, and submits them to the HarmonyOS global
compositing scheduler. The scheduler reads the global compositing units and, when the timeline
semaphore meets the on-screen conditions, completes the global compositing of the container application window and the host's native window, driving the display service to output the screen.