CN103927227A - Method and device for switching multiple operating systems and smart television - Google Patents

Method and device for switching multiple operating systems and smart television Download PDF

Info

Publication number
CN103927227A
CN103927227A CN 201410152678 CN201410152678A CN103927227A CN 103927227 A CN103927227 A CN 103927227A CN 201410152678 CN201410152678 CN 201410152678 CN 201410152678 A CN201410152678 A CN 201410152678A CN 103927227 A CN103927227 A CN 103927227A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
operating system
process
switching
different
handover
Prior art date
Application number
CN 201410152678
Other languages
Chinese (zh)
Inventor
周光迪
Original Assignee
乐视致新电子科技(天津)有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date

Links

Abstract

The invention discloses a method and device for switching multiple operating systems and a smart television. The method for switching the multiple operating systems includes the steps that at least two virtual machines are established, each virtual machine runs an operating system process, and different virtual machines run different operating system processes; a switching trigger event is acquired, and according to the switching trigger event, the currently-running operating system process is switched into a target operating system process. Due to the fact that each virtual machine can independently run one operating system process, when switching is needed, only the switching trigger event needs to be generated in the normal running process of the smart television, according to the switching trigger event, the currently-running operating system process can be switched into the target operating system process through a switching process, and therefore the problem that in the prior art, for the smart television with the multiple operating systems, in order to switch the systems, a user must repeatedly switch on and switch off the smart television so as to select the target operating system in a startup interface is solved.

Description

多操作系统的切换方法和装置、及智能电视 Multiple operating system switching method and apparatus, and smart TVs

技术领域 FIELD

[0001] 本申请涉及智能电视技术领域,尤其涉及一种多操作系统的切换方法和装置及智能电视。 [0001] The present application relates to the technical field of smart television, in particular, it relates to a method for handover of multiple operating systems and devices and smart TVs.

背景技术 Background technique

[0002] 传统电视和互联网的结合也造就了智能电视的产生。 [0002] combining traditional television and the Internet have created a generation of smart TV. 智能电视具有主控芯片和全开放式软件平台,搭载了操作系统,可以自行安装和卸载软件、游戏等第三方服务商提供的程序,通过此类程序来不断对电视的功能进行扩充,并可以通过网线、无线网络来实现上网冲浪,从而实现电视的“需求定制化”、“电视娱乐化”。 Smart TV has a master chip and full open software platform, equipped with the operating system, you can install and uninstall software, games and other third-party service provider to continue to function television augmented by such procedures, and can Internet surfing is achieved through the network cable, wireless network, enabling TV "demand customization", "TV entertainment."

[0003] 相比于传统电视,智能电视一方面由于具备了上网功能,实时接入互联网,可以在线网络游戏、在线音乐欣赏、适时天气查询、适时股票查询、新闻快报等;另外一方面,由于搭载了主控芯片、操作系统、存储功能等,可以实现回访重播、点播、在线录制等,而传统电视只能被动看节目,只能选择频道,不能点播内容;只能实时按序收看,不能回放重播;只能实时接收并播放内容,不能在线录制互动。 [0003] Compared to traditional TV, smart TV with one hand because of the Internet, real-time access to the Internet, online network games, online music appreciation, timely weather inquiries, timely stock inquiries, breaking news and other; on the other hand, due to the equipped with a master chip, operating system, storage and other functions, you can realize a return visit to the replay, on-demand, online recording, etc., but only passively watch traditional TV programs can only select channels, not on-demand content; sequentially in real time can only watch, not playback replay; can receive real-time and play the content can not be recorded online interaction.

[0004] 如前所述,由于智能电视具有主控芯片和全开放式的软件平台,并搭载了操作系统才保证其诸多功能的实现,而目前较为主流操作系统的则是安卓系统。 [0004] As mentioned above, due to the smart TV has a master chip and a full open software platform and operating system equipped only ensure the realization of its many features, while more mainstream operating system is Android. 目前不同厂家开发了基于安卓系统的不同的UI界面。 Currently different manufacturers developed different UI interface based on Android system.

[0005] 众所周知,智能电视的使用对象跟传统电视实质上并无差别,主要还是以家庭为单位,而家庭成员由于年龄和个体的个性化之间存在差别,因此在智能电视的人机交互界面的选择上有不同的定制需求。 [0005] As we all know, smart TV using an object with the traditional television is essentially no difference, mainly the family unit, and between family members due to the age and personality of the individual there is a difference, so the man-machine interface of the smart TV there are different demands on customization options. 比如,对于年龄较大的成员,更习惯传统电视的UI界面,在智能电视开机后直接显示电视频道。 For example, for the larger members of the age, more accustomed to traditional TV UI interface, and display TV channel directly after the smart TV is turned on. 而对于其他成员来说,由于使用偏好和使用习惯的影响,有的可能喜欢某一一款基于安卓系统的π比如乐视公司的letv UI,而有的可能喜欢另外一款完全不同的基于安卓系统的Π比如小米公司的ΜΙΠ U10同时,不同的家庭成员可以根据各自的偏好,进行个性化的设置比如UI界面、观看内容。 For other members, due to the impact of the use of preferences and habits, and some may prefer a certain Android-based π such as music, as the company's letv UI, while others may prefer the other, a completely different Android-based system the Π such as millet company ΜΙΠ U10 at the same time, different family members according to their preferences, such as setting personalized UI interface, to view the content.

[0006] 但是,现有技术中,存在如下技术缺陷: [0006] However, the prior art, there is a technical defects:

[0007] 如果在同一智能电视上装载了两套基于安卓系统的UI,每次切换系统都必须在开机界面中完成:关电视再开启电视一选择操作系统,导致系统的切换繁琐、便捷性较差。 [0007] If two loaded Andrews system based on the same smart TV UI, each switching system must be done in the boot interface: turn off the TV and then select a TV operating system, resulting in complicated switching system, more convenience difference.

发明内容 SUMMARY

[0008] 本申请所要解决的技术问题在于提供一种智能电视中多操作系统的切换方法的切换方法和装置、及智能电视,解决现有技术中必须重复开关机以在开机界面中选择目标操作系统才能完成操作系统的切换,简化了系统的切换过程,提高了切换的便捷性。 [0008] The present application technical problem to be solved is to provide a method and apparatus for switching method for switching an intelligent television in a multi-operating system, and the smart TV, the prior art must be solved repeatedly turning machine interface to select the target in the boot operation system to complete the switch operating systems, simplifying the process of switching systems, improved ease of switching.

[0009] 为了解决上述问题,本申请揭示了一种智能电视中多操作系统的切换方法,其包括: [0009] In order to solve the above problems, the present application discloses a method for intelligent switching TV multiple operating systems, comprising:

[0010] 创建至少两个虚拟机,每个所述虚拟机运行一操作系统进程,不同所述虚拟机运行不同的操作系统进程;[0011] 获取切换触发事件,根据所述切换触发事件,将当前运行的操作系统进程切换到目标操作系统进程。 [0010] create at least two virtual machines, each running a virtual machine operating system processes, the different virtual machines running different operating system processes; [0011] Gets handover trigger event, a trigger event based on the handover, the currently running operating system process to switch to the target operating system processes.

[0012] 优选地,在本发明的一实施例中,所述方法还包括: [0012] Preferably, in one embodiment of the present invention, the method further comprising:

[0013] 通过建立的驱动虚拟层,使不同的所述虚拟机共享同一内核,以使内核辨识切换前后的操作系统进程,以在切换的过程中完成对下层硬件资源的共享访问。 [0013] By driving the established virtual layer, so that the different virtual machines share the same core, so that the operating system kernel process before and after the switching identification to complete the handover process in the shared access to the underlying hardware resources.

[0014] 优选地,在本发明的一实施例中,所述方法还包括: [0014] Preferably, in one embodiment of the present invention, the method further comprising:

[0015] 通过建立的硬件虚拟层,使不同的所述虚拟机对应不同的内核,以在切换的过程中完成对下层硬件资源的共享访问。 [0015] established a virtual hardware layer, so that different corresponding to the different virtual machine kernel to complete the shared access to the underlying hardware resources during the handover.

[0016] 优选地,在本发明的一实施例中,所述创建至少两个虚拟机,每个所述虚拟机运行一操作系统进程包括: [0016] Preferably, in one embodiment of the present invention, the creating the at least two virtual machines, each virtual machine runs an operating system process comprising:

[0017] 利用轻量级虚拟技术创建至少两个虚拟机; [0017] the use of lightweight virtualization technology to create at least two virtual machines;

[0018] 将不同的所述操作系统分别加载到不同的所述虚拟机中,启动所述操作系统使对应的系统进程按照前台作业或者后台作业方式运行。 [0018] The different operating system are loaded into the virtual machine a different, activating the operating system corresponding to the process of the system according to the background or foreground job run job.

[0019] 优选地,在本发明的一实施例中,获取切换触发事件,根据所述切换触发事件,将当前运行的操作系统进程切换到另一操作系统进程包括: [0019] Preferably, in one embodiment of the present invention, the obtaining handover trigger event, the trigger event according to the handover, the handover process is currently running operating system to another operating system process comprising:

[0020] 建立一切换进程,当获取到所述切换触发事件后,通过所述切换进程终止当前运行的操作系统进程,释放目标操作系统进程。 [0020] establish a handover process, after obtaining the handover trigger event, the switching process is terminated by the operating system currently running processes, releasing the target operating system processes.

[0021] 优选地,在本发明的一实施例中,所述将当前运行的操作系统进程切换到目标操作系统进程包括: [0021] Preferably, in one embodiment of the present invention, the operating system currently running process to a target operating system process comprising:

[0022] 利用中断终止处理器中当前运行的操作系统进程,将目标操作系统释放到所述处理器中,以完成当前运行操作系统进程到目标操作系统进程的切换。 [0022] With the operating system interrupt handler terminates the process currently running, will release the target operating system to the processor to complete the currently running operating system processes the handover to the target operating system processes.

[0023] 为了解决上述问题,本申请揭示了一种智能电视中多操作系统的切换装置,其包括: [0023] In order to solve the above problems, the present application discloses a switching device in an intelligent television multiple operating systems, comprising:

[0024] 至少两个虚拟机,每个所述虚拟机运行一操作系统进程,不同所述虚拟机运行不同的操作系统进程; [0024] at least two virtual machines, each virtual machine runs an operating system processes, the different virtual machines running different operating system processes;

[0025] 切换模块,用于获取切换触发事件,根据所述切换触发事件,将当前运行的操作系统进程切换到目标操作系统进程。 [0025] switching module for acquiring handover trigger event, according to the handover trigger event, the switch operating systems currently running process to the target operating system processes.

[0026] 优选地,在本发明的一实施例中,所述装置还包括: [0026] Preferably, in one embodiment of the present invention, the apparatus further comprising:

[0027] 驱动虚拟层,用于使不同的所述虚拟机共享同一内核,以在切换的过程中完成对下层硬件资源的共享访问。 [0027] The driving dummy layer for different virtual machines share the same core, in order to complete the shared access to the underlying hardware resources during the handover.

[0028] 优选地,在本发明的一实施例中,所述装置还包括: [0028] Preferably, in one embodiment of the present invention, the apparatus further comprising:

[0029] 硬件虚拟层,用于使不同的所述虚拟机对应不同的内核,以在切换的过程中完成对下层硬件资源的共享访问。 [0029] hardware virtualization layer for the different virtual machines corresponding to different cores to complete the shared access to the underlying hardware resources during the handover.

[0030] 为了解决上述问题,本申请揭示了一种智能电视,其包括:至少两个虚拟机,每个所述虚拟机运行一操作系统进程,不同所述虚拟机运行不同的操作系统进程;处理器,用于获取切换触发事件,根据所述切换触发事件,将当前运行的操作系统进程切换到目标操作系统进程。 [0030] In order to solve the above problems, the present application discloses a smart TV, comprising: at least two virtual machines, each virtual machine runs an operating system processes, the different virtual machines running different operating system processes; the processor is configured to obtain handover trigger event, according to the handover trigger event, the switch operating systems currently running process to the target operating system processes.

[0031] 与现有技术相比,本申请可以获得包括以下技术效果: [0031] Compared with the prior art, the present application includes the following technical effects can be obtained:

[0032] 由于每个虚拟机中可以单独运行一操作系统进程,当需要切换时,在智能电视正常运行的过程中只要生成一切换触发事件,根据该切换触发事件,切换进程即可将当前运行的操作系统进程切换到目标操作系统进程,因此避免了现有技术中对于多操作系统的智能电视来说在实现系统切换时,必须重复开关机以在开机界面中选择目标操作系统,简化了系统的切换过程,提高了切换的便捷性。 [0032] Since each virtual machine can run a separate operating system process, when the need to switch, as long as the switch to generate a trigger event in the course of normal operation of the smart TV, the trigger event according to the handover, the process of switching to the currently running operating system process to a target operating system process, thus avoiding the prior art for multi-operating system for smart TV system switching when implemented, must be repeated switch to select the target operating system boot interface, simplifying the system the switching process, improving the convenience of switching.

附图说明 BRIEF DESCRIPTION

[0033] 此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。 [0033] The drawings described herein are provided for further understanding of the present disclosure, constitute part of this application, exemplary embodiments of the present disclosure used to explain the embodiment of the present application, without unduly limiting the present disclosure. 在附图中: In the drawings:

[0034] 图1为本申请实施例一智能电视中多操作系统的切换方法流程示意图; [0034] FIG. 1 is a schematic diagram of a method for switching a smart TV operating system, multi-flow embodiment of the present application;

[0035] 图2为本申请实施例二智能电视中多操作系统的切换方法流程示意图; [0035] FIG. 2 is a schematic diagram of two application smart TV operating system switching method of a multi-flow embodiments;

[0036] 图3为本申请实施例三智能电视中多操作系统的切换方法流程示意图; [0036] FIG. 3 a schematic diagram of three smart TV operating system switching method of a multi-flow embodiment of the present application;

[0037] 图4为本申请实施例四智能电视中多操作系统的切换装置结构框图; [0037] Figure 4 a block diagram showing the structure of a switching device according to a fourth multiple smart TV operating system embodiment of the present application;

[0038] 图5为本申请实施例五智能电视中多操作系统的切换装置结构框图; [0038] FIG. 5 a block diagram showing the structure of a switching device according to a fifth multiple smart TV operating system embodiment of the present application;

[0039] 图6为本申请实施例六智能电视中多操作系统的切换装置结构框图; [0039] FIG. 6 a block diagram showing the structure of a switching device according to a sixth multiple smart TV operating system embodiment of the present application;

[0040] 图7为本申请实施例七智能电视的功能模块示意图。 [0040] FIG. 7 is a schematic diagram of seven smart television function module embodiment of the present application.

具体实施方式 detailed description

[0041] 以下将配合附图及实施例来详细说明本申请的实施方式,藉此对本申请如何应用技术手段来解决技术问题并达成技术功效的实现过程能充分理解并据以实施。 [0041] The following will cooperate with drawings and embodiments are described in detail embodiments of the present application, whereby the application of how to apply this technology to solve technical problems and reach technical effects of the implementation process to fully understand and implement accordingly.

[0042] 如在说明书及权利要求当中使用了某些词汇来指称特定组件。 [0042] Certain terms as used in the specification and claims to refer to particular components. 本领域技术人员应可理解,硬件制造商可能会用不同名词来称呼同一个组件。 Those skilled in the art will appreciate, manufacturers may use different terms to refer to a component. 本说明书及权利要求并不以名称的差异来并保存为区分组件的方式,而是以组件在功能上的差异来并保存为区分的准贝U。 The present specification and claims is not to be differences in name and saved as a way to distinguish between components, but rather the difference in function to the components and saved as quasi-shell differentiate U. 如在通篇说明书及权利要求当中所提及的“包含”为一开放式用语,故应解释成“包含但不限定于”。 As mentioned throughout the specification and claims, "comprising" is an open-ended fashion, and thus should be interpreted to mean "including, but not limited to." “大致”是指在可接收的误差范围内,本领域技术人员能够在一定误差范围内解决所述技术问题,基本达到所述技术效果。 "Substantially" means within an error range is acceptable, those skilled in the art to solve the technical problem within a certain error range, to achieve the basic technical effect. 此外,“耦接” 一词在此包含任何直接及间接的电性耦接手段。 In addition, the "couple" is intended to mean any direct and indirect electrical coupling means. 因此,若文中描述一第一装置耦接于一第二装置,则代表所述第一装置可直接电性耦接于所述第二装置,或通过其他装置或耦接手段间接地电性耦接至所述第二装置。 Accordingly, described herein if a device is coupled to a second device, said first means represents may be directly electrically coupled to the second means, or by other means or indirectly electrically coupling means coupled connected to the second device. 说明书后续描述为实施本申请的较佳实施方式,然所述描述乃以说明本申请的一般原则为目的,并非用以限定本申请的范围。 Follow the instructions described embodiment is a preferred embodiment of the present disclosure, then the disclosure of the present description are based on the general principles described for the purpose, not for limiting the scope of the application. 本申请的保护范围当视所附权利要求所界定者为准。 When the scope of the present application the following claims and their equivalents.

[0043] 本申请的核心思想: [0043] The core idea of ​​this application:

[0044] 本申请下述实施例中提供了一种智能电视中多操作系统的切换方法,其包括:创建至少两个虚拟机,每个所述虚拟机运行一操作系统进程,不同所述虚拟机运行的操作系统进程;获取切换触发事件,根据所述切换触发事件,切换进程将当前运行的操作系统进程切换到目标操作系统进程。 [0044] The following examples of the present application provides a handover method in a smart TV multiple operating systems, comprising: creating at least two virtual machines, each virtual machine runs an operating system process, different from the virtual machine running an operating system process; acquiring handover trigger event, a trigger event according to the handover, the handover process to switch the operating system currently running process to the target operating system processes.

[0045] 与现有技术相比,本申请可以达到如下技术效果: [0045] Compared with the prior art, the present application can achieve the following technical effects:

[0046] 由于每个虚拟机中可以单独运行一操作系统进程,当需要切换时,在智能电视正常运行的过程中只要生成一切换触发事件,根据该切换触发事件,切换进程即可将当前运行的操作系统进程切换到目标操作系统进程,因此避免了现有技术中对于多操作系统的智能电视来说在实现系统切换时,必须重复开关机以在开机界面中选择目标操作系统,简化了系统的切换过程,提高了切换的便捷性。 [0046] Since each virtual machine can run a separate operating system process, when the need to switch, as long as the switch to generate a trigger event in the course of normal operation of the smart TV, the trigger event according to the handover, the process of switching to the currently running operating system process to a target operating system process, thus avoiding the prior art for multi-operating system for smart TV system switching when implemented, must be repeated switch to select the target operating system boot interface, simplifying the system the switching process, improving the convenience of switching.

[0047] 实施例一 [0047] Example a

[0048] 图1为本申请实施例一智能电视中多操作系统的切换方法流程示意图;如图1所示,其可以包括: [0048] FIG. 1 is a schematic diagram of a smart television application operating system handover multi flowchart of a method embodiment; FIG. 1, which may include:

[0049] S101、创建至少两个虚拟机,每个虚拟机运行一操作系统进程,不同虚拟机运行不同的操作系统进程; [0049] S101, create at least two virtual machines, each virtual machine running an operating system processes, different virtual machines running different operating system processes;

[0050] 本实施例中,在创建虚拟机时可以利用轻量级的虚拟化技术或者完全虚拟化技术来实现。 [0050] In the present embodiment, when creating the virtual machine can use lightweight virtualization technology or full virtualization technology. 轻量级的虚拟化技术可以具体采用Iinux容器技术(linux container,简称LXC)、或者Solaris zone技术、FreeBSD Jail等技术。 Lightweight concrete virtualization technology employed Iinux CONTAINER (linux container, referred LXC), or Solaris zone technology, FreeBSD Jail technology. 每个虚拟机中运行的操作系统进程相互之间独立、不可见。 Independent of each other operating system processes running in each virtual machine is not visible. Solaris zone技术中建立的区域zone、FreeBSD Jail技术中建立的jail分别类似于LXC技术中的container。 Area zone Solaris zone established in the art, FreeBSD Jail jail art established techniques are similar LXC container.

[0051] 以智能电视上装载不同安卓系统为例,由于安卓系统的内核是在对标准Iinux系统内核进行改进的基础上得到的,换句话说,安卓系统使用的内核实质上还是Iinux内核。 [0051] In the smart load different television system, for example Andrews, Andrew system because the kernel is the standard Iinux improved system kernel basis, in other words, substantially Andrews system kernel or the kernel Iinux. 由于LXC是直接针对Iinux系统内核开发的,因此针对Iinux系统中的LXC,同样适用于安卓系统,通过LXC技术可以便捷地创建虚拟机。 Since LXC is directed against Iinux system kernel development, so for Iinux system LXC, also applies to Android, you can easily create a virtual machine LXC technology. 因此,在此以LXC技术为例进行说明。 Therefore, in this order LXC technology as an example.

[0052] LXC是以建立虚拟机的工具软件,其提供了一系列的操作命令。 [0052] LXC is creating a virtual machine tools, it offers a range of operational command. 在此经引用可建立虚拟机的有关操作指令对本申请进行示意性说明。 Herein by reference may be established on the operation of the virtual machine instruction schematic illustration of the present application.

[0053] 使用lxc-create创建一个系统容器container即虚拟机,该指令的用法为:lxc-create-n name [-f config_file],-η后面跟要创建的容器名字,例如:_n foo_f后面跟容器配置文件的路径。 [0053] Using lxc-create a system to create a virtual machine container i.e. container, the use of the command is: lxc-create-n name [-f config_file], - the name of the vessel to be created with back η, for example: _n later with foo_f container configuration file path.

[0054] 使用lxc-attach在创建的系统容器中填充系统进程。 [0054] using lxc-attach system container filling system processes created.

[0055] 使用lxc-start在容器启动填充的系统进程。 [0055] Using lxc-start process to start the system in a container filled.

[0056] 使用lxc-stop停止容器中所有的进程。 [0056] using lxc-stop container all the process stops.

[0057] 完全虚拟化技术在硬件层之上,每一个虚拟机均配置有一个内核,相对于完全虚拟化技术实现复杂度、硬件支持均具有较高的需求,轻量级的虚拟化技术的所有虚拟机可以共享同一个内核,而这些内核在硬件层之上,因此,实现的复杂度较低,硬件要求容易实现。 [0057] full virtualization layer on top of the hardware, each virtual machine is configured with a core, with respect to implementation complexity full virtualization technology, hardware support has a high demand, lightweight virtualization all virtual machines can share the same cores, and these cores on the hardware layer, therefore, lower complexity of implementation, easy to implement hardware requirements.

[0058] S102、获取切换触发事件,根据切换触发事件,将当前运行的操作系统进程切换到目标操作系统进程。 [0058] S102, acquiring handover trigger event, a trigger event based on switch, the switch operating systems currently running process to the target operating system processes.

[0059] 本实施例中,可以通过给每个操作系统设置对应的APK (Android Package)图标,当侦测到对APK图标的操作时,即可生成切换触发事件,实现当前操作系统到目标操作系统的切换。 [0059] In this embodiment, the operating system may be provided corresponding to the APK (Android Package) through to each icon, when the detected operation of the APK icon switch to generate a trigger event, the current operating system to achieve a target operation switching systems. 或者,也可以单独设置一系统切换IC0N,当侦测到对系统切换ICON的操作时,即可生成切换触发事件,实现当前操作系统到目标操作系统的切换。 Alternatively, the system may also be provided a separate switch IC0N, when the system detects switch ICON operation of generating a handover triggering event can realize switching current operating system to the target operating system. 具体地,可以建立一切换进程,当获取到切换触发事件后,通过切换进程将当前运行的操作系统进程切换到目标操作系统进程。 Specifically, the establishment of a switching process, when the switch to get triggering event by switching process to switch the operating system currently running process to the target operating system processes.

[0060] 将当前运行的操作系统进程切换到目标操作系统进程还可以按照具体情形分为中止当前运行的操作系统进程,或者,将当前运行的操作系统进程切换到后台,而与此同时在前台运行目标操作系统进程,即当前运行的操作系统和目标操作系统进程是保持并行运行的状态,前者不可见,而后者可见。 [0060] The operating system currently running process to switch to the target operating system process can also be divided according to the specific circumstances abort the currently running operating system process, or to switch the operating system currently running process to the background, in the foreground while at the same time run target operating system process that is currently running the operating system and the target operating system is to keep the process running in parallel state, the former is not visible, while the latter is visible.

[0061] 本实施例只对当前运行的操作系统和目标操作系统进程是保持并行运行进行简要说明。 [0061] The present embodiment modifies the target operating system and the operating system currently running process is run in parallel to maintain a brief description. 有关终止当前运行的操作系统进程的实施例请参见下述实施例二。 Example related to the termination of the operating system currently running processes, see the following examples II.

[0062] 对于单CPU和多CPU的情况,下面将分别进行简要描述。 [0062] In the case of the single CPU and the multi-CPU, the following will be briefly described.

[0063] (I)对于单CPU的终端设备来说,并行运行需要依赖于并发技术,所有正在运行的系统进程轮流使用CPU,每个系统进程允许占用CPU的时间非常短。 [0063] (I) for the terminal device for a single CPU, parallel runs need to rely on complicated technologies, all systems running processes take turns using the CPU, each CPU occupies the system allows the process time is very short. 比如,当前一段时间内将处理器中的当前操作进程中止,把正在运行的进程存放在处理器的寄存器中的中间数据找个地方存起来,从而把处理器的寄存器腾出来让其他进程使用,即让目标操作系统进程来占用处理器,实质上是把存放在私有堆栈中的目标操作系统进程的寄存器的数据(前一次本进程被中止时的中间数据)再恢复到处理器的寄存器中去,并把目标操作系统进程的断点送入处理器的程序指针(program counter,简称PC),于是目标操作系统进程就开始被处理器运行了,也就是这个目标操作系统进程已经占有了处理器的使用权。 For example, the current period of operation of the processor in the current process aborted, the running process is stored in the processor's registers of intermediate data to find a place to save it in order to vacate to allow other processes that use the processor's registers, that let the target operating system processes to processor-intensive, in essence, (the middle of the previous data of this process is aborted) to register the data stored in the private stack target operating system processes and then restore the processor registers to and the breakpoint target operating system process into the processor's program counter (program counter, referred to as PC), then the target operating system process began to be running the processor, which is the target operating system process has occupied processor the right to use. 在下一段时间,针对当前操作系统执行上述动作。 The next period of time, for the current operating system to perform the above action. 在当前系统进程运行时,关闭当前操作系统在CPU上运行时的人机交互界面,对用户不可见,保持在后台运行。 In the current system processes are running, close man-machine interface of the current operating system running on the CPU when, invisible to the user, to keep running in the background.

[0064] (2)对于多CPU的终端来说,比如利用轻量级或者完全虚拟化技术虚拟出多个CPU,只要把当前操作系统分配给其中一虚拟出的CPU运行,关闭对应的人机交互界面;而把目标系统分配给另外虚拟出的一CPU运行,开启对应的人机交互界面,即可实现当前操作系统和目标操作系统的并行运行,而无须采用单CPU时的并发技术来实现。 [0064] (2) For a multi-terminal for the CPU, such as the use of lightweight or complete virtualization a plurality of virtual CPU, as long as the current operating system to allocate one of the virtual CPU operation, close the corresponding man-machine interface; the system assigns the object to another virtual CPU to run out of a, corresponding to the open man-machine interface, in parallel to achieve the current operating system and the target operating system, without the use of complicated techniques implemented at a single CPU .

[0065] 在上述并行运行时,可以通过进程间通讯实现系统进程之间的数据通讯,比如共享内存,从而可以对目标系统下运行的数据共享给当前运行的操作系统。 [0065] In the run in parallel, it is possible to achieve data communication between the communication system process between processes, such as shared memory, which can run on the data in the target system shared by the currently running operating system.

[0066] 上述并行运行可以具体运用于不同用户喜好不同的操作系统,比如家庭某成员喜好Ietv系统,而另外一成员喜欢mimu系统。 [0066] The parallel operation can be applied to various different particular operating system user preferences, such as a member of the family preferences Ietv system, while the other members like mimu system. 但这两个成员都喜欢共同的节目,所以当一成员在用LETV系统UI收看共同喜好的节目时,同时启动mimu系统,录制该共同喜好的节目,共享给另外一成员有空时再看。 But two members are like a common program, so when a member in the UI to watch favorite programs together with LETV system, and start mimu system, record the co-favorite programs, shareware to look when another member of the free. 其中LETV是目标操作系统,而mimu是当前运行的操作系统,应用情形是从mimu切换到LETV。 Wherein LETV is the target operating system, mimu is currently running operating system, the application to the case of a handover from mimu LETV.

[0067] 本实施例中,在切换进程完成后,可以保持切换前的操作系统进程以后台作业的方式继续运行,休眠人机交互的相关服务程序,不提供人机交互界面,而切换后的操作系统进程以前台作业的方式运行,提供人机交互界面。 [0067] In this embodiment, after the handover process is completed, the operating system can be maintained after the mode before the switching processes continue to run the job table, Sleep-related interactive program services, man-machine interface is not provided, and after the switching operating system processes previous way station run of a job, provide interactive interface.

[0068] 实施例二 [0068] Second Embodiment

[0069] 图2为本申请实施例二智能电视中多操作系统的切换方法流程示意图;如图2所示,其可以包括: [0069] FIG. 2 is a schematic flow application handover method according to a second smart TV embodiment multiple operating systems; 2, which may include:

[0070] S201、创建两个虚拟机,每个虚拟机运行一操作系统进程,不同虚拟机运行不同的操作系统进程; [0070] S201, create two virtual machines, each virtual machine running an operating system processes, different virtual machines running different operating system processes;

[0071] 本实施例中,以使用Ixc技术创建两个虚拟机为例进行说明,假如一虚拟机运行乐视公司的Ietv安卓系统进程,而另一虚拟机运行小米公司的MIMU安卓系统进程。 [0071] In this embodiment, using two Ixc technology to create a virtual machine as an example, if a virtual machine running music as Android's Ietv process, and another virtual machine running the MIMU Andrews millet system processes.

[0072] S202、通过建立的驱动虚拟层,使不同的虚拟机共享同一内核,以使内核辨识切换前后的操作系统进程,以在切换的过程中完成对下层硬件资源的共享访问; [0072] S202, driving by creating virtual layers, so that different virtual machines share the same core, so that the operating system kernel process before and after the switching identification to complete the handover process in the shared access to the underlying hardware resources;

[0073] 本实施例中,利用Ixc技术创建的虚拟机共享同一内核,以及同一套硬件资源,其为轻量级的虚拟技术或者称为不完全虚拟化技术,不需要较高的硬件支持,系统开销也较小。 [0073] In this embodiment, the use of virtual machines share the same technology to create Ixc core, and the same set of hardware resources, it is not entirely virtualization technology or called Virtual lightweight, does not require high hardware support, overhead is small. 由于所有的虚拟机共享同一内核,以及同一套硬件资源,另外由于不同虚拟机中加载的安卓系统进程相互之间完全独立。 Since all of the virtual machines share the same kernel and the same set of hardware resources, the other due to the different virtual machines loaded Android system processes are completely independent of each other. 因此,虚拟机中的安卓系统进程运行时,为了“假装”出硬件资源属于该安卓系统进程,在内核所在的逻辑层之上增加了虚拟层,该驱动虚拟层位于虚拟机层和内核层之间,用以提供上层的虚拟机运行操作系统进程的有关数据,使得下层的内核可以辨识出切换前后的操作系统进程,从而最终实现切换后的安卓系统进程对硬件资源的访问。 Therefore, Andrews system process virtual machine is running, in order to "pretend" the hardware resources that belong to the Android system process, increase the virtual layer on top of the core layer where logic, the virtual drive virtual machine layer and the layer is the core layer between the relevant data to provide top of the operating system process running virtual machine so that you can identify the underlying core operating system processes before and after the handover, and ultimately to achieve the Android system process after switching access to the hardware resources.

[0074] S203、获取切换触发事件,根据切换触发事件,将当前运行的操作系统进程切换到目标操作系统进程。 [0074] S203, acquiring handover trigger event, a trigger event based on switch, the switch operating systems currently running process to the target operating system processes.

[0075] 本实施例中,可以通过给每个操作系统设置对应的APK图标,当需要切换操作系统进程时,侦测是否有对APK图标的操作即可生成切换触发事件,如果侦测到,则切换,否则不切换。 [0075] In this embodiment, the operating system can be provided for each corresponding to the icon APK, when the need to switch the operating system process, to detect whether an operation to generate an icon APK handover triggering event, if detected, the switch or not to switch.

[0076] 需要说明的是,生成切换触发事件并不局限于APK图标或者系统切换ICON方式,也可以有其他方式。 [0076] It should be noted, is not limited to generating a handover triggering event or system switching APK icon ICON way, there are other ways.

[0077] 本实施例中,进程的切换实现了当前运行的操作系统终止,而单独运行目标操作系统,其实质上是将处理器中当前进程终止,实质上就是把正在运行的进程存放在处理器的寄存器中的中间数据找个地方存起来,从而把处理器的寄存器腾出来让其他进程使用,即让目标操作系统进程来占用处理器,实质上是把存放在私有堆栈中目标进程的寄存器的数据(前一次本进程被终止时的中间数据)再恢复到处理器的寄存器中去,并把目标操作系统进程的断点送入处理器的程序指针(program counter,简称PC),于是目标操作系统进程就开始被处理器运行了,也就是这个目标操作系统进程已经占有了处理器的使用权。 [0077] In this embodiment, the process of switching to achieve a currently running operating system is terminated, and the target operating system running alone, which is essentially the processor to terminate the current process, the process is essentially located in a running process intermediate data to find a place's register save up, thereby freed up to allow other processes to use that process to make the target operating system, processor-intensive processor registers, in essence, is to be stored in the target process private stack register data (data before the primary intermediate of the present process is terminated) and then restored to the register of the processor, and operating system process the breakpoint target processor into the program pointer (program counter, referred to as PC), then the target operating system process began to be running the processor, which is the target operating system process has possession of the right to use the processor.

[0078] 实施例三 [0078] Example three

[0079] 图3为本申请实施例三智能电视中多操作系统的切换方法流程示意图;如图3所示,其可以包括: [0079] FIG. 3 is a schematic diagram of three applications in a multi-operating system, a smart television handover method flow embodiments; shown in Figure 3, which may include:

[0080] S301、创建两个虚拟机,每个虚拟机运行一操作系统进程以及一内核,不同虚拟机运行不同的操作系统进程以及内核; [0080] S301, create two virtual machines, each virtual machine running an operating system kernel process and a different virtual machines running different operating system processes and kernel;

[0081] 本实施例中,以完全虚拟化技术比如hypervisor工具创建两个虚拟机为例进行说明,假如一虚拟机运行乐视公司的Ietv安卓系统进程以及Ietv安卓内核,而另一虚拟机运行小米公司的ΜΙΠ安卓系统进程以及ΜΙΠ安卓内核。 [0081] In this embodiment, in order to complete virtualization technology such as hypervisor tool to create two virtual machine as an example, if a virtual machine is running music as the company's processes and Ietv Ietv Android Android kernel, while the other virtual machines running millet the company's ΜΙΠ Android system processes as well as ΜΙΠ Android kernel.

[0082] S302、通过建立的硬件虚拟层,使不同的虚拟机对应不同的内核,以在切换的过程中完成对下层硬件资源的共享访问; [0082] S302, the establishment of virtual hardware layer, so that different corresponding to different virtual machine kernel to complete the shared access to the underlying hardware resources during handover;

[0083] 本实施例中,由于创建的虚拟机仅仅是共享同一套硬件资源,因此,虚拟机中的安卓系统进程运行时,为了“假装”出硬件资源属于该安卓系统进程,因此,在硬件所在的逻辑层之上增加了硬件虚拟层,用以提供虚拟机运行操作系统进程、内核的有关数据,使得硬件层可以辨识出切换前后的操作系统进程,从而最终实现切换后的安卓系统进程对硬件资源的访问。 [0083] In this embodiment, since the virtual machines created simply share the same set of hardware resources, therefore, Andrews process virtual machine is running, in order to "pretend" the hardware resources belonging to the Andrews process, therefore, the hardware where the logical layer increases over the hardware virtualization layer for providing virtual machines running operating system process, data relating to the kernel, the hardware layer may be such that the identified operating system process before and after switching, thereby ultimately Andrews after switching on process access to hardware resources.

[0084] S303、获取切换触发事件,根据切换触发事件,将当前运行的操作系统进程切换到目标操作系统进程。 [0084] S303, acquiring handover trigger event, a trigger event based on switch, the switch operating systems currently running process to the target operating system processes.

[0085] 需要说明的是,生成切换触发事件并不局限于APK图标或者系统切换ICON方式,也可以在智能电视的遥控器上设置一硬件形式的切换按键,通过按压该按键,产生无线信号如红外信号,由智能电视的处理器接收后,生成切换触发事件,发送给切换进程,触发当前运行的安卓系统进程到目标安卓系统进程的切换。 [0085] Incidentally, generating a handover triggering event is not limited APK ICON icon or the system switching mode, may be provided in a form of hardware smart TV remote control switch button, by pressing the button, a radio signal such as to generate infrared signal is received by the smart TV processor, generating a handover triggering event, sent to the switching process, triggered Android system is currently running process to switch targets Android system processes.

[0086] 需要说明的是,在步骤S303中将当前运行的操作系统进程切换到目标操作系统进程可以利用中断技术来实现,其过程简要如下: [0086] Incidentally, the operating system process in the step S303 to a target currently running operating system process can be implemented using the interrupt technique, the process is briefly as follows:

[0087] 当调度器获得了目标进程的控制块之后,用软中断指令来终止当前进程的运行,并保存当前操作系统进程的程序指针PC值和程序状态(Program Status Word,简称PSW)值。 [0087] When the scheduler is obtained a control block of the target process to terminate the current process with a soft interrupt instruction, and stores the current operating system processes a program counter (PC) value and the program status (Program Status Word, referred PSW) value.

[0088] 之后,使用压栈指令把处理器其他寄存器的值压入进程私有堆栈。 After [0088], using the push command value processor other registers onto the stack Process private. 接下来,就从目标操作系统进程的进程控制块中取出私有堆栈指针的值并存入处理器的寄存器SP,至此SP就指向了目标进程的私有堆栈,于是下面就自目标操作系统进程的私有堆栈中弹出上下文进入处理器。 Subsequently, they were removed from the process target operating system process control block private value stored in the register and the stack pointer SP processor, a private point SP points to a stack of the target process, then following on from the proprietary operating system process target pop the stack into the processor context.

[0089] 最后,利用中断返回指令来实现自目标进程的私有堆栈中弹出PSW值和从目标进程的私有堆栈中弹出PC值的功能。 [0089] Finally, the interrupt return instruction to achieve the target process from private stack pop (PSW) and pop-up PC value from proprietary stacks target process.

[0090] 实施例四 [0090] Fourth Embodiment

[0091] 图4为本申请实施例四智能电视中多操作系统的切换装置结构框图;如图4所示,其可以包括:至少两个第一虚拟机401以及第一切换模块402,第一虚拟机401与第一切换模块402连接,其中: [0091] Figure 4 a block diagram showing the structure of a switching device according to a fourth multiple smart TV operating system embodiment of the present application; FIG. 4, which may include: at least two first virtual machine 401 and the first switching module 402, a first virtual machine 401 is connected to the first switching module 402, wherein:

[0092] 每个第一虚拟机401运行一操作系统进程,不同虚拟机运行的操作系统进程。 Operating system processes [0092] Each of the first 401 virtual machines running an operating system process, different virtual machines running. 比如以智能电视上装载不同安卓系统为例,由于LXC是直接针对Iinux系统内核开发的,因此针对Iinux系统中的LXC,同样适用于安卓系统,通过LXC技术可以便捷地创建虚拟机。 For example, to load different smart TV Android system, for example, due to the LXC is directed against Iinux system kernel development, so for Iinux system LXC, also applies to Android, you can easily create a virtual machine LXC technology.

[0093] 第一切换模块402用于获取切换触发事件,根据切换触发事件,将当前运行的操作系统进程切换到目标操作系统进程。 [0093] The first switching module 402 for acquiring handover trigger event, a trigger event based on switch, the switch operating systems currently running process to the target operating system processes.

[0094] 如前所述,可以通过给每个操作系统设置对应的APK (Android Package)图标,并呈现在人机交互界面中,当侦测到对APK图标的操作时,即可生成切换触发事件,实现当前操作系统到目标操作系统的切换。 [0094] As described above, by setting the corresponding APK (Android Package) to each operating system icons, and presented in the man-machine interface, when the detected operation of the APK icon to generate a trigger switch event, switching to achieve target operating system to the current operating system. 或者,也可以单独设置一系统切换ICON,当侦测到对系统切换ICON的操作时,即可生成切换触发事件,实现操作系统的切换。 Alternatively, the system may also be provided a separate switch ICON, the system detects when the operation switch ICON, handover triggering event can be generated to achieve a switching operation of the system. 也可以在智能电视的遥控器上设置一硬件形式的切换按键,通过按压该按键,产生无线信号如红外信号,由智能电视的处理器接收后,生成切换触发事件,发送给切换进程,触发当前运行的安卓系统进程到目标安卓系统进程的切换。 May be provided on a smart TV remote control in the form of a hardware switch button, by pressing the button generates a wireless signal such as an infrared signal, is received by the processor of the smart TV, generating a handover triggering event, to the handover process, the trigger current Andrews system processes running to switch targets Android system processes.

[0095] 实施例五 [0095] Embodiment V

[0096] 图5为本申请实施例五智能电视中多操作系统的切换装置结构框图;如图5所示,其可以包括:两个第二虚拟机501以及第二切换模块502,第二虚拟机501与第二切换模块502连接,有关第二虚拟机501和第二切换模块502的作用分别与图4所示的第一虚拟机401以及第一切换模块402类似,在此不再赘述。 [0096] FIG. 5 shows the application block diagram showing the structure of a switching device according to a fifth multiple smart TV operating system embodiment; FIG. 5, which may include: two second virtual machine 501, and a second switching module 502, a second virtual 501 is connected to the second switching module 502, 402 and the like relating to a second function of the second switch and the virtual machine modules 501 and 502, respectively, a first virtual machine 4401 shown in FIG first switching module, are not repeated here.

[0097] 与上述图4不同的是,本实施例中,基于轻量级虚拟化技术或者不完全虚拟化技术,在每个第二虚拟机501中只加载了操作系统程序,所有第二虚拟机501共享同一第一内核504和第一硬件层505。 [0097] The above-described FIG. 4 is different from the present embodiment, based on the light or incomplete virtualization technology virtualization, in each of the second virtual machine 501, only the OS program is loaded, all the second virtual 501 share the same hardware a first core 504 and the first layer 505. 因此,本实施例中,在图4所示的基础上,增加了驱动虚拟层503,使不同的虚拟机共享同一第一内核504,以使内核辨识切换前后的操作系统进程,以在切换的过程中完成对下层第一硬件层505中资源的共享访问。 Accordingly, in this embodiment, on the basis of Figure 4, an increase of driving dummy layer 503, so that different virtual machines share the same first core 504, so that the operating system kernel process before and after the switching identification to the switching completed during shared access to the hardware resources layer of the first layer 505. [0098] 实施例六 [0098] Sixth Embodiment

[0099] 图6为本申请实施例六智能电视中多操作系统的切换装置结构框图;如图6所示,其可以包括:两个第三虚拟机601以及第三切换模块602,第三虚拟机601与第三切换模块602连接,有关第三虚拟机601和第三切换模块602的作用分别与图4所示的第一虚拟机401以及第一切换模块402类似,在此不再赘述。 [0099] FIG. 6 is a block diagram showing a switching means configuration application smart TV according to a sixth embodiment of multiple operating systems; shown in Figure 6, which may include: two third virtual machine module 601, and a third switch 602, a third virtual 601 and 602 connected to the third switching module, the third role of the virtual machine 601 and the third switching module 602 are shown in FIG. 4 of the first virtual machine 401 and the first switching module 402 similar, are not repeated here.

[0100] 与上述图4不同的是,本实施例中,基于完全虚拟化技术,在每个第三虚拟机601中加载了操作系统程序和对应的第二内核606,所有第三虚拟机601共享同一个硬件层。 [0100] different from the above-described FIG. 4, the embodiment of the present embodiment, based on the full virtualization, the second core 606 to load the operating system program and corresponding in each third virtual machine 601, all of the third virtual machine 601 share the same hardware layer. 因此,本实施例中,在图4所示的基础上,增加了硬件虚拟层603,使得硬件层可以辨识出切换前后的操作系统进程和对应的第二内核604,从而最终实现切换后的安卓系统进程对第二硬件层605资源的访问。 Accordingly, in this embodiment, on the basis of FIG. 4, an increase of hardware virtualization layer 603, so that the hardware layer 604 may identify a second operating system kernel process and a corresponding before and after switching to the handover ultimately Andrews system processes access to the second layer 605 hardware resources.

[0101] 实施例七 [0101] Seventh Embodiment

[0102]图7为本申请实施例七智能电视的功能模块示意图;如图7所示,本实施例中,其可以包括至少两个第四虚拟机701和处理器702,第四虚拟机701与处理器702连接,每个虚拟机701运行一操作系统进程,不同虚拟机运行不同的的操作系统进程;处理器702用于获取切换触发事件,根据切换触发事件,将当前运行的操作系统进程切换到目标操作系统进程。 [0102] Figure 7 is a schematic view of the application according to a seventh embodiment of the smart TV function module; FIG. 7, in this embodiment, it may comprise at least two processors 701 and a fourth virtual machine 702, virtual machine 701 of the fourth and 702 connected to the processor, each virtual machine running an operating system 701 different processes, different virtual machines running operating system processes; processor 702 to obtain the handover trigger event, a trigger event based on switch, the operating system currently running processes switch to the target operating system processes.

[0103] 还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的商品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种商品或者系统所固有的要素。 [0103] It is further noted that the term "comprising", "containing" or any other variation thereof are intended to cover a non-exclusive inclusion, such that those elements comprising a series of elements includes not only product or system, but no further comprising other factors explicitly listed, or further includes elements of the goods or inherent in the system. 在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的商品或者系统中还存在另外的相同要素。 Without more constraints, by the wording "include a ......" defined does not exclude the existence of additional identical elements in the element comprising goods or systems.

[0104]上述说明示出并描述了本申请的若干优选实施例,但如前所述,应当理解本申请并非局限于本文所披露的形式,不应看作是对其他实施例的排除,而可用于各种其他组合、修改和环境,并能够在本文所述发明构想范围内,通过上述教导或相关领域的技术或知识进行改动。 Some preferred [0104] The description illustrates and describes embodiments of the present application, as previously discussed, it should be understood that the present application is not limited to the form disclosed herein should not be considered as excluding other embodiments, the It may be used in various other combinations, modifications, and environments, and can be contemplated within the scope of the invention described herein, or make changes to the above teachings in skill or knowledge of the relevant art. 而本领域人员所进行的改动和变化不脱离本申请的精神和范围,则都应在本申请所附权利要求的保护范围内。 The modifications and variations carried out by the skilled person without departing from the spirit and scope of the disclosure shall fall within the scope of the appended claims of the present application.

Claims (10)

  1. 1.一种智能电视中多操作系统的切换方法,其特征在于,包括: 创建至少两个虚拟机,每个所述虚拟机运行一操作系统进程,不同所述虚拟机运行不同的操作系统进程; 获取切换触发事件,根据所述切换触发事件,将当前运行的操作系统进程切换到目标操作系统进程。 1. A method for switching multiple smart TV operating system, characterized by comprising: creating at least two virtual machines, each virtual machine runs an operating system processes, the different virtual machines running different operating system processes ; obtaining handover triggering event, according to the handover trigger event, the switch operating systems currently running process to the target operating system processes.
  2. 2.根据权利要求1所述的方法,其特征在于,还包括: 通过建立的驱动虚拟层,使不同的所述虚拟机共享同一内核,以使内核辨识切换前后的操作系统进程,以在切换的过程中完成对下层硬件资源的共享访问。 2. The method according to claim 1, characterized in that, further comprising: a virtual layer created by the drive, so that the different virtual machines share the same core, so that the operating system kernel process before and after the switching identification to the switching complete the process of shared access to the underlying hardware resources.
  3. 3.根据权利要求1所述的方法,其特征在于,还包括: 通过建立的硬件虚拟层,使不同的所述虚拟机对应不同的内核,以在切换的过程中完成对下层硬件资源的共享访问。 3. The method according to claim 1, characterized in that, further comprising: a virtual hardware layer established, so that different corresponding to the different virtual machine kernel to complete sharing of the underlying hardware resources during handover access.
  4. 4.根据权利要求1所述的方法,其特征在于,所述创建至少两个虚拟机,每个所述虚拟机运行一操作系统进程包括: 利用轻量级虚拟技术创建至少两个虚拟机; 将不同的所述操作系统分别加载到不同的所述虚拟机中,启动所述操作系统使对应的系统进程按照前台作业或者后台作业方式运行。 4. The method according to claim 1, wherein the creating the at least two virtual machines, each virtual machine runs an operating system process comprising: creating at least two virtual-machine-using lightweight virtualization technology; the different operating systems are loaded into the virtual machine a different, activating the operating system corresponding to the process of the system according to the background or foreground job run job.
  5. 5.根据权利要求1所述的方法,其特征在于,获取切换触发事件,根据所述切换触发事件,将当前运行的操作系统进程切换到另一操作系统进程包括: 建立一切换进程,当获取到所述切换触发事件后,通过所述切换进程终止当前运行的操作系统进程,释放目标操作系统进程。 5. The method according to claim 1, wherein the acquiring handover trigger event, according to the handover trigger event, the handover process currently running operating system to another operating system process comprising: establishing a handover process, when the acquired after switching to the trigger event, terminate the operating system currently running process through the switching process, the release of the target operating system processes.
  6. 6.根据权利要求4所述的方法,其特征在于,所述将当前运行的操作系统进程切换到目标操作系统进程包括: 利用中断终止处理器中当前运行的操作系统进程,将目标操作系统释放到所述处理器中,以完成当前运行操作系统进程到目标操作系统进程的切换。 6. The method according to claim 4, characterized in that the switching processes currently running operating system to the target operating system process comprising: using a processor interrupt process terminates the operating system currently running, the target operating system release to the processor in order to complete the currently running operating system process to the handover target operating system processes.
  7. 7.一种智能电视中多操作系统的切换装置,其特征在于,包括: 至少两个虚拟机,每个所述虚拟机运行一操作系统进程,不同所述虚拟机运行不同的操作系统进程; 切换模块,用于获取切换触发事件,根据所述切换触发事件,将当前运行的操作系统进程切换到目标操作系统进程。 An apparatus for switching multiple smart TV operating system, characterized by comprising: at least two virtual machines, each virtual machine runs an operating system processes, the different virtual machines running different operating system processes; switching module for acquiring handover trigger event, according to the handover trigger event, the switch operating systems currently running process to the target operating system processes.
  8. 8.根据权利要求7所述的装置,其特征在于,还包括: 驱动虚拟层,用于使不同的所述虚拟机共享同一内核,以在切换的过程中完成对下层硬件资源的共享访问。 8. The apparatus according to claim 7, characterized in that, further comprising: a driving dummy layer for different virtual machines share the same core, in order to complete the shared access to the underlying hardware resources during the handover.
  9. 9.根据权利要求7所述的装置,其特征在于,还包括: 硬件虚拟层,用于使不同的所述虚拟机对应不同的内核,以在切换的过程中完成对下层硬件资源的共享访问。 9. The apparatus according to claim 7, characterized in that, further comprising: a virtual hardware layer, different for different cores corresponding to the virtual machine to complete the shared access to the underlying hardware resources during handover .
  10. 10.一种智能电视,其特征在于,包括:至少两个虚拟机,每个所述虚拟机运行一操作系统进程,不同所述虚拟机运行不同的操作系统进程;处理器,用于获取切换触发事件,根据所述切换触发事件,将当前运行的操作系统进程切换到目标操作系统进程。 A smart TV, characterized by, comprising: at least two virtual machines, each virtual machine runs an operating system processes, the different virtual machines running different operating system processes; a processor configured to obtain handover trigger event, according to the handover trigger event, the switch operating systems currently running process to the target operating system processes.
CN 201410152678 2014-04-16 2014-04-16 Method and device for switching multiple operating systems and smart television CN103927227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201410152678 CN103927227A (en) 2014-04-16 2014-04-16 Method and device for switching multiple operating systems and smart television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201410152678 CN103927227A (en) 2014-04-16 2014-04-16 Method and device for switching multiple operating systems and smart television

Publications (1)

Publication Number Publication Date
CN103927227A true true CN103927227A (en) 2014-07-16

Family

ID=51145455

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201410152678 CN103927227A (en) 2014-04-16 2014-04-16 Method and device for switching multiple operating systems and smart television

Country Status (1)

Country Link
CN (1) CN103927227A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572488A (en) * 2015-02-13 2015-04-29 西安酷派软件科技有限公司 Memory management method, memory management device and terminal
CN104991811A (en) * 2015-08-07 2015-10-21 北京元心科技有限公司 Process running state adjusting method in isolation system switching period and intelligent terminal
CN104994427A (en) * 2015-07-06 2015-10-21 四川长虹电器股份有限公司 Method and system for configuring and managing self-start-up of smart television desktop
CN105045669A (en) * 2015-08-26 2015-11-11 北京元心科技有限公司 Management service method of container system, and intelligent terminal
CN105183551A (en) * 2015-09-10 2015-12-23 电子科技大学 Multi-Android-system switching method based on Linux container technology
CN105183558A (en) * 2015-08-26 2015-12-23 北京元心科技有限公司 Intelligent terminal and management method for container system thereof
CN105204932A (en) * 2015-08-26 2015-12-30 北京元心科技有限公司 Intelligent terminal and application program control method thereof
CN105204925A (en) * 2015-08-26 2015-12-30 北京元心科技有限公司 Method and device for managing audio/video equipment in multi-operation system
CN105511947A (en) * 2015-12-11 2016-04-20 北京元心科技有限公司 Method and device for processing event information in multiple systems
CN105511920A (en) * 2015-12-08 2016-04-20 北京元心科技有限公司 Container based mobile terminal operating system upgrading method and device
CN105573753A (en) * 2015-12-11 2016-05-11 北京元心科技有限公司 Multi-system switching method and apparatus
CN105677463A (en) * 2015-12-31 2016-06-15 北京元心科技有限公司 Method and device for achieving cooperation switching between systems
CN105677315A (en) * 2015-12-28 2016-06-15 北京元心科技有限公司 Interface display method of multiple operating systems, and intelligent terminal
CN107463402A (en) * 2017-07-31 2017-12-12 腾讯科技(深圳)有限公司 Running method and device of virtual operating systems

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101000566A (en) * 2006-01-12 2007-07-18 三星电子株式会社 Operating system switching device and operating system switching method
CN101051282A (en) * 2007-05-09 2007-10-10 浙江大学 Method for realizing multiple operation system synergistic working
US20080307254A1 (en) * 2007-06-06 2008-12-11 Yukihiro Shimmura Information-processing equipment and system therefor
CN101477476A (en) * 2008-01-02 2009-07-08 联想(北京)有限公司 Control method and computer system for switching display between multi-operating system
CN101685404A (en) * 2008-09-28 2010-03-31 联想(北京)有限公司 Computer and method for dynamically switching equipment in virtual environment
CN103425525A (en) * 2012-05-16 2013-12-04 联想(北京)有限公司 Switching method and electronic devices

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101000566A (en) * 2006-01-12 2007-07-18 三星电子株式会社 Operating system switching device and operating system switching method
CN101051282A (en) * 2007-05-09 2007-10-10 浙江大学 Method for realizing multiple operation system synergistic working
US20080307254A1 (en) * 2007-06-06 2008-12-11 Yukihiro Shimmura Information-processing equipment and system therefor
CN101477476A (en) * 2008-01-02 2009-07-08 联想(北京)有限公司 Control method and computer system for switching display between multi-operating system
CN101685404A (en) * 2008-09-28 2010-03-31 联想(北京)有限公司 Computer and method for dynamically switching equipment in virtual environment
CN103425525A (en) * 2012-05-16 2013-12-04 联想(北京)有限公司 Switching method and electronic devices

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572488B (en) * 2015-02-13 2017-11-17 西安酷派软件科技有限公司 Memory management, memory management means and the terminal
CN104572488A (en) * 2015-02-13 2015-04-29 西安酷派软件科技有限公司 Memory management method, memory management device and terminal
CN104994427A (en) * 2015-07-06 2015-10-21 四川长虹电器股份有限公司 Method and system for configuring and managing self-start-up of smart television desktop
CN104991811A (en) * 2015-08-07 2015-10-21 北京元心科技有限公司 Process running state adjusting method in isolation system switching period and intelligent terminal
CN105045669A (en) * 2015-08-26 2015-11-11 北京元心科技有限公司 Management service method of container system, and intelligent terminal
CN105183558A (en) * 2015-08-26 2015-12-23 北京元心科技有限公司 Intelligent terminal and management method for container system thereof
CN105204932A (en) * 2015-08-26 2015-12-30 北京元心科技有限公司 Intelligent terminal and application program control method thereof
CN105204925A (en) * 2015-08-26 2015-12-30 北京元心科技有限公司 Method and device for managing audio/video equipment in multi-operation system
CN105183551A (en) * 2015-09-10 2015-12-23 电子科技大学 Multi-Android-system switching method based on Linux container technology
CN105511920A (en) * 2015-12-08 2016-04-20 北京元心科技有限公司 Container based mobile terminal operating system upgrading method and device
CN105511947A (en) * 2015-12-11 2016-04-20 北京元心科技有限公司 Method and device for processing event information in multiple systems
CN105573753A (en) * 2015-12-11 2016-05-11 北京元心科技有限公司 Multi-system switching method and apparatus
CN105677315A (en) * 2015-12-28 2016-06-15 北京元心科技有限公司 Interface display method of multiple operating systems, and intelligent terminal
CN105677463A (en) * 2015-12-31 2016-06-15 北京元心科技有限公司 Method and device for achieving cooperation switching between systems
CN107463402A (en) * 2017-07-31 2017-12-12 腾讯科技(深圳)有限公司 Running method and device of virtual operating systems
CN107463402B (en) * 2017-07-31 2018-09-14 腾讯科技(深圳)有限公司 Operation method and apparatus for virtual operating systems

Similar Documents

Publication Publication Date Title
US20100146504A1 (en) Virtual mobile infrastructure and its base platform
US7441113B2 (en) Method and apparatus for virtualization of appliances
US20110093691A1 (en) Multi-environment operating system
US20120173986A1 (en) Background synchronization within a multi-environment operating system
US20060136912A1 (en) Method, apparatus and system for transparent unification of virtual machines
CN102360266A (en) Method and device for displaying on screen in area-dividing mode
US20110154328A1 (en) Virtualization Apparatus and Method
US20140149695A1 (en) Creating a virtual machine from a snapshot
US20150178108A1 (en) Fast Instantiation of Virtual Machines
Krishnan Programming Windows Azure: Programming the Microsoft Cloud
Heiser Hypervisors for consumer electronics
US20120246640A1 (en) Replication of Machine Instances in a Computing Environment
US20140149696A1 (en) Virtual machine backup using snapshots and current configuration
JP2006190281A (en) System and method for virtualizing graphic subsystem
US7814307B2 (en) Fast booting a computing device to a specialized experience
US20160371105A1 (en) Deployment and installation of updates in a virtual environment
US20140115285A1 (en) Reconfiguring a snapshot of a virtual machine
CN103316472A (en) Android device gas platform system based on Bluetooth handle and implementation method of Android device gas platform system
CN103412793A (en) Method, device and system for optimizing system resources
CN105224322A (en) Multi-tasking method for application program and terminal
US8239557B2 (en) Virtualization management using a centralized server
US20140006480A1 (en) Dynamic resolution of servers in a distributed environment
US20160112262A1 (en) Installation and configuration of connected devices
CN102439564A (en) Method and system for starting application program in linux container
CN102404633A (en) Monitoring module, intelligent television system and television

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
WD01