Container-Based Mobile Code Offloading System
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current mobile cloud computing solutions, particularly those using virtual machines for mobile code offloading, face inefficiencies such as high start costs, resource overhead, and prolonged response times due to the need for simulating a mobile operating system environment, which limits computing performance and resource utilization.
Innovation Solution
A container-based mobile code offloading system that includes a front-end processing layer, runtime layer, and back-end resource layer, utilizing a request distribution module, code caching module, monitoring and scheduling module, runtime module, resource sharing module, and extended kernel module to provide a lightweight execution environment that mimics the terminal environment, optimizing resource usage and reducing start times.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If virtual machines are used to provide mobile operating system environment at the cloud, then the terminal environment can be simulated, but the execution performance of the code inside the virtual machine is lowered due to additional virtual overhead
Solution Approach 1:
The patent uses container technology to create a lightweight copy of the mobile operating system environment at the cloud platform. Instead of full virtualization, containers share the host OS kernel and only isolate the application layer, providing the necessary terminal environment simulation while avoiding the performance overhead of complete virtual machine emulation.
Solution Approach 2:
The patent changes the virtualization parameter from hardware-level virtualization (virtual machines) to operating system-level virtualization (containers). This parameter change reduces the abstraction layer between the cloud platform and the mobile application code, thereby improving execution performance while maintaining environment simulation capability.
2Adaptability or versatility
If virtual machines are used for mobile code offloading, then the mobile operating system environment can be provided, but the start cost is large and the responding time is longer than local execution
Solution Approach 1:
The patent pre-configures container environments at the cloud platform with necessary mobile operating system components and interfaces before offloading requests arrive. This preliminary preparation eliminates the need for time-consuming virtual machine installation and startup processes, enabling rapid container initialization when offloading requests are received.
Solution Approach 2:
Containers provide a lightweight environment copy that can be rapidly instantiated compared to full virtual machines. The patent leverages this by using pre-configured container templates that can be quickly deployed, significantly reducing the startup time and responding time compared to traditional virtual machine-based approaches.
3Adaptability or versatility
If virtual machines are used to simulate terminal environment, then the mobile application can run at cloud, but the occupation of cloud resources is significant and the utilization rate of cloud resources is lowered
Solution Approach 1:
The patent merges multiple container instances to share the underlying cloud platform resources, particularly the host operating system kernel. By combining resource usage across multiple containers, the system achieves terminal environment simulation for multiple applications while significantly reducing total resource occupation compared to isolated virtual machines.
Solution Approach 2:
The patent changes the resource isolation parameter from complete virtualization (each VM having its own kernel) to operating system-level isolation (containers sharing the host kernel). This parameter change dramatically reduces memory and storage overhead, lowering cloud resource occupation while maintaining the ability to simulate terminal environments.
Data Source
AI summary
The present invention discloses a container-based mobile code offloading support system in a cloud environment and the offloading method thereof, comprising a front-end processing layer, a runtime layer and a back-end resource layer. The front-end processing layer is responsible for responding to an arrived request and managing a status of a container, which is realized by a request distribution module, a code caching module and a monitoring and scheduling module; the runtime layer provides the same execution environment as that of a terminal, which is realized by a runtime module consisted of a plurality of mobile cloud containers; and the back-end resource layer solves incompatibility of a cloud platform with an mobile terminal environment and provides underlying resource support for a runtime, which is realized by a resource sharing module and an extended kernel module within a host operating system. The present invention utilizes the built mobile cloud container as the runtime environment for offloading code, ensuring execution requirements of offloading tasks and improving the computing performance of a cloud; cooperation between respective modules makes a further optimization to the performance of the platform, guaranteeing an efficient operation for the system.


