Patent ID: 8555280
Filing Date: 2013-10-08
Classification: G06F

Abstract:
1. A terminal device of a non-Android platform for executing Android applications, comprising: an application layer module having at least one Android application; a native platform layer module of the non-Android platform for operating hardware resources of the terminal device; and a middleware module for connecting the application layer module and the native platform layer module, wherein the middleware module comprises a class library layer module, a native library layer module, and a porting layer module, and wherein, the class library layer module comprises an application framework module including class libraries required for executing the Android application and a core class library module providing a Java API (Application Programming Interface), the porting layer module, configured to connect the native library layer module and the native platform layer module, includes hardware management modules including at least one of file system, memory allocation module, network module, basic libraries, timers, and device control module, wherein the hardware management module provides a Linux standard API for managing hardware of the terminal device using OS (Operating System) dependent codes, the native library layer module comprises VM (Virtual Machine) and a native library, wherein the VM utilizes the hardware through the Linux standard API provided by the porting layer module when executing the Android applications based on the class libraries and the Java API provided in the class library layer module, the VM is configured to execute the Android applications not through Linux but through the native platform layer module by using thread management module, dynamic library management module, foreign function interface, synchronization module, memory management module which are platform-independent modules included in the VM, and wherein the native library is used for implementing the class libraries of the application framework module.