Patent ID: 7900197

Claim:
An embedded system, comprising: a storage device storing an executable file, data files, and at least one dependency tag of an application which have been installed on the embedded system, wherein the dependency tag records a relationship between the application and a related data file which is required by the executed application; a main memory, comprising a status tag of the application; and an operating system (OS) coupled to the storage device and the main memory, comprising a module, wherein, when requested to execute the application, the module locates the related data file from the data files according to the dependency tag, loads the executable file and the related data file to the main memory, and executes the executable file; wherein the executable file and the related data file in the storage device have been compressed and are then decompressed by the module before execution of the executable file; wherein when requested to execute the application, the module determines whether the application has been running based on the status tag; wherein after executing the application, the module accordingly modifies the status tag to indicate that the application has been running; wherein when requested to terminate the application, the module removes the executable file and the related data file from the main memory and accordingly modifies the status tag to indicate that the application has been terminated.