Method and system for running Linux application on Android operating system and system

A technology of application programs and operating systems, applied in the direction of program control devices, program loading/starting, etc., can solve problems such as heavy workload, can only be used under the Linux operating system, and long development cycle, so as to achieve the effect of improving work efficiency

Inactive Publication Date: 2015-12-30
FUJIAN CENTM INFORMATION
View PDF2 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The openness of the Android operating system has attracted more and more software and hardware developers to participate, and the Android application market has also prospered. Various application software meet the needs of different users, but there are also certain limitations. Some important ones have been Mature applications can only be used under the Linux operating system. If you want to run these software under the Android operating system, the current solution is: according to the characteristics of the Android operating system, re-transplant, compile and develop the code. solution, which means that the application program needs to be redeveloped, and there are disadvantages such as heavy workload and long development cycle

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for running Linux application on Android operating system and system
  • Method and system for running Linux application on Android operating system and system
  • Method and system for running Linux application on Android operating system and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] see figure 1 and figure 2 Shown, a kind of method of running Linux application program on Android operating system of the present invention, described method comprises the steps:

[0032] Step 1. Transplant the LinuxContainer container tool on the Android operating system, and create the running container required to run the Linux application through the LinuxContainer container tool;

[0033] Transplanting the LinuxContainer container tool on the Android operating system in the step 1 is specifically: setting the kernel of the Andriod operating system on the Android operating system to support the Linuxnamespace mechanism and the cgroup mechanism required by the LinuxContainer container tool; and then compiling and transplanting the LinuxContainer container according to the characteristics of the Andriod platform tool to the Android operating system. The Linux namespace mechanism provides a resource isolation scheme; cgroup is the abbreviation of controlgroups, whic...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method for running a Linux application on an Android operating system. The method includes the following steps: 1, transplanting a Linux Container tool to the Android operating system, and creating a running container for running the Linux application through the Linux Container tool; 2, storing the resource files required by running the Linux application in the running container, wherein the resource files include a dependent library, a environment variable or configuration files, and the content stored in the running container is isolated from the Android operating system files; 3, after loading the running container by using the commands of the Linux Container tool, running the Linux application. The invention further provides a system for running the Linux application on the Android operating system. Smart devices with the Android operating system can directly run the Linux application.

Description

technical field [0001] The invention relates to the technical field of the Android operating system, in particular to a method and a system for running a Linux application program on the Android operating system. Background technique [0002] The openness of the Android operating system has attracted more and more software and hardware developers to participate, and the Android application market has also prospered. Various application software meet the needs of different users, but there are also certain limitations. Some important ones have been Mature applications can only be used under the Linux operating system. If you want to run these software under the Android operating system, the current solution is: according to the characteristics of the Android operating system, re-transplant, compile and develop the code. The solution means that the application program needs to be redeveloped, and there are disadvantages such as heavy workload and long development cycle. Cont...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445
Inventor 张辉方杰张伟
Owner FUJIAN CENTM INFORMATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products