The invention discloses a cross-container application fusion switching method of a swan monk
system, which comprises the following steps: a
system service layer deploys a container application management service, an
application framework layer realizes a proxy application manager, when a container application is started, a container side allocates a
shared memory and configures authority, the container manager collects
metadata to initiate registration, and the
application framework layer realizes a proxy application manager; the container application management service converts a memory
handle into a texture
handle, allocates a
unique identifier and triggers a proxy application manager to generate a proxy application, and the proxy application initializes a Vulkan rendering environment; the container side renders an application interface to a
shared memory, the proxy application imports texture and constructs a lightweight Vulkan rendering pipeline, and scaling sampling is carried out to generate a
thumbnail of the container application; and when the container application exits, the
shared memory is released, the container application management service cleans the shared memory reference, triggers and destroys the proxy application, and recycles the texture resources through the
reference counter, so that seamless fusion, low-
delay switching and efficient
resource utilization of the container application in a native application
thumbnail form are realized.