CN104268017A - Method for simultaneously running Android/Linux operating systems - Google Patents
Method for simultaneously running Android/Linux operating systems Download PDFInfo
- Publication number
- CN104268017A CN104268017A CN201410483020.9A CN201410483020A CN104268017A CN 104268017 A CN104268017 A CN 104268017A CN 201410483020 A CN201410483020 A CN 201410483020A CN 104268017 A CN104268017 A CN 104268017A
- Authority
- CN
- China
- Prior art keywords
- android
- linux
- running
- server
- run
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a method for simultaneously running Android/Linux operating systems. The two systems share the same Boot programs and the system kernel and utilize file systems which are installed in mutual independence inside memory devices; the working directories of the running Android system and the running Linux system can be isolated through a chroot mechanism, so that the Linux system can run in the Android system. When needing to run software under the Linux system in the Android system, a user does need to reboot equipment but simply runs a service process to execute chroot instructions to switch to the Linux system; when needing to run Android software at the moment, the user simply needs to stop the service process to convert operating system switching to application switching and accordingly to switch to the Android system. The method for simultaneously running the Android/Linux operating systems can achieve continuous and rapid switching for the user.
Description
[technical field]
The invention belongs to computer software technical field, specifically refer to a kind of method simultaneously running Android/Linux operating system.
[background technology]
Along with the development of science and technology, have the smart machine of Android operation system, as mobile phone, Set Top Box etc. are more and more subject to the favor of people, but, android system also has some limitations, and some important office application softwares can only use under Windows/Linux operating system.
As needed to run android system and Windows/Linux operating system simultaneously, current solution in Android device, distributes one piece of storage area install linux system, when user needs the application software used in (SuSE) Linux OS, first Android operation system is closed, then restart facility, enter Boot and guide menu, select to enter (SuSE) Linux OS, then run application software.This scheme obviously, also exist that operation steps is various, switching time length, the shortcoming such as poor user experience.
In view of this, the present inventor furthers investigate for the defect of prior art, then has this case to produce.
[summary of the invention]
Technical matters to be solved by this invention is to provide a kind of method simultaneously running Android/Linux operating system, when user needs the software under operation linux system in android system, does not need restarting equipment, realizes seamless, very fast switching.
The present invention is achieved in that
A kind of method simultaneously running Android/Linux operating system, Android and (SuSE) Linux OS share a Bootloader Bootloader and Kernel operating system nucleus, and the file system that two systems use separate is arranged in memory device, specifically comprises the steps:
First before running linux system desktop, first suspend display service system_server and the surfaceflinger process of Android, the FrameBuferr display driver resource of delivery system, now, the application program of android system does not exit, and continues at running background; Then file system or the mirror image of Linux is loaded from the assigned address of device storage, the X Server being started linux system by chroot mode shows service routine, now, whole display has switched to linux system desktop, whole linux system desktop is loaded with the FrameBuffer display driver of android system, is truly operate in Android device; When user needs to switch back android system, first terminate X Server and show service processes, and system_server and surfaceflinger of restoring running android system shows service processes, and display interface is switched back android system fast.
The invention has the advantages that: the present invention proposes a kind of method simultaneously running Android/Linux operating system, two operating systems use identical Boot Bootloader and system kernel, and the file system that two systems use separate is arranged in memory device, by chroot mechanism by run android system and linux system working directory mutually isolated, achieve run (SuSE) Linux OS simultaneously in Android operation system, when user needs the software under operation linux system in android system, do not need restarting equipment, only need operation service process to perform chroot order and just systematic evaluation can be become linux system, now, when user wants to run Android software, only need to terminate this service processes, the switch transition of operating system is become the switching of application program, just system can be switched to android system fast.For user, this switching be seamless, switch fast.
[accompanying drawing explanation]
The invention will be further described in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the execution FB(flow block) of background server process in the present invention.
Fig. 2 is implementing procedure block diagram of the present invention.
[embodiment]
In the present invention, Android and (SuSE) Linux OS share a Bootloader Bootloader and Kernel operating system nucleus.(SuSE) Linux OS is from system cloud gray model on Andoird main system, and therefore, the boot Bootloader that (SuSE) Linux OS uses and kernel Kernel is boot and the kernel of android system use.Boot and kernel is not reloaded when running (SuSE) Linux OS, but by the operation chroot machine-processed background service process realized, the work root directory of system is switched to the root directory of the linux system of isolating with android system, to reach the object directly running linux system on android system basis.
The file system of linux system desktop can exist in two ways, first kind of way is present in a subregion of Android physical storage device, the second way is under leaving the assigned catalogue of android system in the img image file form of the forms such as ext2/ext3/ext4, before running Liunx system, carry out the operation of mount carry.Carry file system operation, only performs when first time runs linux system.The linux system mirror image of carry is different from the system image of distribution version: file system compiles with the compiler of the CPU architecture of corresponding A ndroid equipment platform.File system needs to perform background service process under android system environment, travels through the hardware resource of adaptive Android device before running, so that can normally access relevant hardware devices as equipment such as framebuffer, USB when linux system runs.The execution FB(flow block) of background service process as shown in Figure 1.
Linux system desktop is run on aforementioned base.1. before first running linux system desktop, first suspend display service system_server and the surfaceflinger process of Android, the FrameBuferr display driver resource of delivery system, now, the application program of android system does not exit, and continues at running background.2. then load file system or the mirror image of Linux from the assigned address of device storage, the X Server being started linux system by chroot mode shows service routine.Now, whole display has switched to linux system desktop.Whole linux system desktop is loaded with the FrameBuffer display driver of android system, is truly operate in Android device.3., when user needs to switch back android system, first terminate X Server and show service processes, and system_server and surfaceflinger of restoring running android system shows service processes, and display interface is switched back android system fast.It implements FB(flow block) as shown in Figure 2.
The present invention proposes a kind of method simultaneously running Android/Linux operating system, two operating systems use identical Boot Bootloader and system kernel, and the file system that two systems use separate is arranged in memory device, by chroot method, achieve run (SuSE) Linux OS simultaneously in Android operation system, when user needs the software under operation linux system in android system, do not need restarting equipment, only need operation service process to perform chroot order and just systematic evaluation can be become linux system, now, when user wants to run Android software, only need to terminate this service processes, the switch transition of operating system is become the switching of application program, just system can be switched to android system fast.For user, this switching be seamless, switch fast.
The foregoing is only better enforcement use-case of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.
Claims (1)
1. one kind is run the method for Android/Linux operating system simultaneously, it is characterized in that: Android and (SuSE) Linux OS share a Bootloader Bootloader and Kernel operating system nucleus, and the file system that two systems use separate is arranged in memory device, specifically comprises the steps:
First before running linux system desktop, first suspend display service system_server and the surfaceflinger process of Android, the FrameBuferr display driver resource of delivery system, now, the application program of android system does not exit, and continues at running background; Then file system or the mirror image of Linux is loaded from the assigned address of device storage, the X Server being started linux system by chroot mode shows service routine, now, whole display has switched to linux system desktop, whole linux system desktop is loaded with the FrameBuffer display driver of android system, is truly operate in Android device; When user needs to switch back android system, first terminate X Server and show service processes, and system_server and surfaceflinger of restoring running android system shows service processes, and display interface is switched back android system fast.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410483020.9A CN104268017A (en) | 2014-09-19 | 2014-09-19 | Method for simultaneously running Android/Linux operating systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410483020.9A CN104268017A (en) | 2014-09-19 | 2014-09-19 | Method for simultaneously running Android/Linux operating systems |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104268017A true CN104268017A (en) | 2015-01-07 |
Family
ID=52159541
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410483020.9A Pending CN104268017A (en) | 2014-09-19 | 2014-09-19 | Method for simultaneously running Android/Linux operating systems |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104268017A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105653336A (en) * | 2015-12-30 | 2016-06-08 | 惠州市德赛西威汽车电子股份有限公司 | Method for integrating application under double operating systems |
CN105786424A (en) * | 2015-12-23 | 2016-07-20 | 南京富士通南大软件技术有限公司 | Method for solving rapid split screen display of single screen of embedded system |
WO2016119284A1 (en) * | 2015-01-30 | 2016-08-04 | 宇龙计算机通信科技(深圳)有限公司 | Method, device and terminal for maintaining application state in system switching |
CN106293861A (en) * | 2015-05-12 | 2017-01-04 | 龙芯中科技术有限公司 | Software source codes Compilation Method and device |
CN106469082A (en) * | 2016-09-29 | 2017-03-01 | 努比亚技术有限公司 | A kind of method and device of mobile terminal playing audio frequency |
CN106775934A (en) * | 2016-11-29 | 2017-05-31 | 北京元心科技有限公司 | Input and output method and device based on multiple systems |
CN107943606A (en) * | 2017-11-22 | 2018-04-20 | 上海博泰悦臻电子设备制造有限公司 | Fault handling method and device, memory and electronic equipment under dual operating systems |
CN109542524A (en) * | 2018-11-22 | 2019-03-29 | 铭软件股份有限公司 | A kind of Linux and the mutual fast switch over method of Android |
CN110704116A (en) * | 2019-09-17 | 2020-01-17 | 一汽解放汽车有限公司 | Method for realizing one-machine multi-screen system based on embedded processor |
CN111195919A (en) * | 2019-12-13 | 2020-05-26 | 实时侠智能控制技术有限公司 | Robot teaching platform and construction method thereof |
CN112306564A (en) * | 2020-11-05 | 2021-02-02 | 四川长虹教育科技有限公司 | Method for realizing quick startup of intelligent interactive large screen |
CN112379941A (en) * | 2020-11-13 | 2021-02-19 | 武汉蓝星科技股份有限公司 | Linux kernel-based dual-system setting item management system and management method thereof |
CN112988244A (en) * | 2019-12-17 | 2021-06-18 | 成都鼎桥通信技术有限公司 | Method and equipment for starting and stopping background operating system in intelligent terminal with double operating systems |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102934085A (en) * | 2009-07-20 | 2013-02-13 | 摩托罗拉移动公司 | System and method for switching between environments in multi-environment operating system |
US20130054951A1 (en) * | 2011-08-26 | 2013-02-28 | Novatek Microelectronics Corp. | Software execution method and electronic device using the same |
CN103391374A (en) * | 2013-08-08 | 2013-11-13 | 北京邮电大学 | Dual system terminal supporting seamless switching |
CN103533435A (en) * | 2013-10-15 | 2014-01-22 | 珠海迈科电子科技有限公司 | Set-top box with two systems and double-system communication method |
-
2014
- 2014-09-19 CN CN201410483020.9A patent/CN104268017A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102934085A (en) * | 2009-07-20 | 2013-02-13 | 摩托罗拉移动公司 | System and method for switching between environments in multi-environment operating system |
US20130054951A1 (en) * | 2011-08-26 | 2013-02-28 | Novatek Microelectronics Corp. | Software execution method and electronic device using the same |
CN103391374A (en) * | 2013-08-08 | 2013-11-13 | 北京邮电大学 | Dual system terminal supporting seamless switching |
CN103533435A (en) * | 2013-10-15 | 2014-01-22 | 珠海迈科电子科技有限公司 | Set-top box with two systems and double-system communication method |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016119284A1 (en) * | 2015-01-30 | 2016-08-04 | 宇龙计算机通信科技(深圳)有限公司 | Method, device and terminal for maintaining application state in system switching |
CN106293861A (en) * | 2015-05-12 | 2017-01-04 | 龙芯中科技术有限公司 | Software source codes Compilation Method and device |
CN105786424A (en) * | 2015-12-23 | 2016-07-20 | 南京富士通南大软件技术有限公司 | Method for solving rapid split screen display of single screen of embedded system |
CN105786424B (en) * | 2015-12-23 | 2018-11-16 | 南京富士通南大软件技术有限公司 | The method that the quick split screen display available of the single-screen of embedded system solves |
CN105653336A (en) * | 2015-12-30 | 2016-06-08 | 惠州市德赛西威汽车电子股份有限公司 | Method for integrating application under double operating systems |
CN106469082A (en) * | 2016-09-29 | 2017-03-01 | 努比亚技术有限公司 | A kind of method and device of mobile terminal playing audio frequency |
CN106775934A (en) * | 2016-11-29 | 2017-05-31 | 北京元心科技有限公司 | Input and output method and device based on multiple systems |
CN107943606B (en) * | 2017-11-22 | 2023-12-15 | 博泰车联网科技(上海)股份有限公司 | Fault processing method and device under double operating systems, memory and electronic equipment |
CN107943606A (en) * | 2017-11-22 | 2018-04-20 | 上海博泰悦臻电子设备制造有限公司 | Fault handling method and device, memory and electronic equipment under dual operating systems |
CN109542524A (en) * | 2018-11-22 | 2019-03-29 | 铭软件股份有限公司 | A kind of Linux and the mutual fast switch over method of Android |
CN109542524B (en) * | 2018-11-22 | 2022-08-05 | 一铭软件股份有限公司 | Linux and android mutual fast switching method |
CN110704116A (en) * | 2019-09-17 | 2020-01-17 | 一汽解放汽车有限公司 | Method for realizing one-machine multi-screen system based on embedded processor |
CN111195919A (en) * | 2019-12-13 | 2020-05-26 | 实时侠智能控制技术有限公司 | Robot teaching platform and construction method thereof |
CN111195919B (en) * | 2019-12-13 | 2021-06-01 | 上海捷勃特机器人有限公司 | Robot teaching platform and construction method thereof |
CN112988244A (en) * | 2019-12-17 | 2021-06-18 | 成都鼎桥通信技术有限公司 | Method and equipment for starting and stopping background operating system in intelligent terminal with double operating systems |
CN112306564A (en) * | 2020-11-05 | 2021-02-02 | 四川长虹教育科技有限公司 | Method for realizing quick startup of intelligent interactive large screen |
CN112306564B (en) * | 2020-11-05 | 2023-05-09 | 四川长虹教育科技有限公司 | Method for realizing intelligent interaction large screen quick start |
CN112379941A (en) * | 2020-11-13 | 2021-02-19 | 武汉蓝星科技股份有限公司 | Linux kernel-based dual-system setting item management system and management method thereof |
CN112379941B (en) * | 2020-11-13 | 2023-05-09 | 武汉蓝星科技股份有限公司 | Dual-system setting item management system based on Linux kernel and management method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104268017A (en) | Method for simultaneously running Android/Linux operating systems | |
CN106445576B (en) | Motherboard and its computer implemented method and the readable storage device of non-transient computer | |
US10067777B2 (en) | Supporting multiple operating system environments in computing device without contents conversion | |
US20150363180A1 (en) | Software deployment in a distributed virtual machine environment | |
CA2894094C (en) | Managing software suite component versions | |
KR100989613B1 (en) | Terminal device for executing android application based non-android flatform | |
US8914785B2 (en) | Providing virtual appliance system firmware images | |
KR102193404B1 (en) | Incrementally compiling software artifacts from an interactive development environment | |
KR101810536B1 (en) | Method for updating of library, apparatus and system for the same | |
CN105830017B (en) | Zero downtime deployment and rollback | |
KR20130085052A (en) | Pre-heated software installation | |
WO2016041118A1 (en) | Memory management in virtualized computing | |
KR101673299B1 (en) | Operating system recovery method and apparatus, and terminal device | |
KR102631745B1 (en) | Method for controlling the execution of different operating systems, electronic device and storage medium therefor | |
KR102586628B1 (en) | Electronic Device AND Memory Management Method Thereof | |
KR20130097555A (en) | Application management apparatus and method for mobile terminal for supporting different type guest operating system | |
US9766834B2 (en) | Live partition mobility using ordered memory migration | |
CN103473113A (en) | Universal virtual-machine adopting method | |
US20170199733A1 (en) | Method for terminal to update operating system, terminal and system | |
US20140380297A1 (en) | Hypervisor subpartition as concurrent upgrade | |
CN106293790B (en) | application program upgrading method and device based on Firefox operating system | |
CN106406978B (en) | Private cloud virtual machine template automatic manufacturing device and method | |
US10331433B2 (en) | Hybrid operating system for an in-vehicle apparatus | |
CN107077577B (en) | Application program starting method and device | |
Xu et al. | Condroid: a container-based virtualization solution adapted for android devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150107 |