WO2017167126A1 - Window display method, information exchange method and system - Google Patents

Window display method, information exchange method and system Download PDF

Info

Publication number
WO2017167126A1
WO2017167126A1 PCT/CN2017/078040 CN2017078040W WO2017167126A1 WO 2017167126 A1 WO2017167126 A1 WO 2017167126A1 CN 2017078040 W CN2017078040 W CN 2017078040W WO 2017167126 A1 WO2017167126 A1 WO 2017167126A1
Authority
WO
WIPO (PCT)
Prior art keywords
subsystem
window
management module
control information
module
Prior art date
Application number
PCT/CN2017/078040
Other languages
French (fr)
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
Application filed by 阿里巴巴集团控股有限公司, 王政华 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2017167126A1 publication Critical patent/WO2017167126A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Definitions

  • the second subsystem is a Host subsystem
  • the first subsystem is a Guest subsystem.
  • An information interaction system provided by the embodiment of the present application includes: a first connection service module and an application management module in the first subsystem, a second connection module and an application management module in the second subsystem;
  • the system framework includes two subsystems: Host and Guest.
  • YunOS is the Host subsystem
  • Android is the Guest subsystem
  • the two subsystems are isolated by the container technology.
  • the Hardware Abstraction Layer (HAL) within the framework provides interfaces and driver services for graphical display and other aspects.
  • ActivityManagerService Active Management Service: It is mainly responsible for managing application components, which may include components that manage the life cycle of the application process and components of the application process, such as Activity, Service, Broadcast, and Provider;
  • the Page (Host Page) in the Host subsystem enters the Running state from the Start state, and the corresponding window of the Host Page is displayed; the Host Page can start the Activity in the Guest subsystem ( Guest Activity); The Guest Activity that is started can return the Host Page. The Guest Activity can also be called by the launched Guest Activity. The Host Page can also launch other Host Pages or return to the previous Host Page. Similarly, the Guest Activity can also launch other Guest Activity or return to the previous Guest Activity.
  • the window type and/or the window layout can be obtained according to the window information, according to the window type and/or the window layout and the window position. Set the rules to determine the window position and display the window.
  • FIG. 6 is a schematic structural diagram of a window display system according to an embodiment of the present disclosure, where the system may include:

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed are a window display method, a control information exchange method and a system. An application management module (74) in a second subsystem sends control information to a first connection service component (71) in a first subsystem via a second connection service component (72) in the second subsystem, and sends the same control information to an application management module (73) in the first subsystem, enabling exchange of control information across operating systems. At the same time a window management module (61) in a second subsystem sends window information to a second graphics compositor (62) in the subsystem, the second graphics compositor (62) sends the window information to a first graphics compositor (63) in a first subsystem, the first graphics compositor (63) displays a window according to the window information received from the second graphics compositor (62) and window information in the first subsystem, enabling window-level merging of different operating systems.

Description

一种窗口显示方法、信息交互方法及系统Window display method, information interaction method and system 技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种窗口显示方法、信息交互方法及其系统。The present application relates to the field of communications technologies, and in particular, to a window display method, an information interaction method, and a system thereof.
背景技术Background technique
云操作系统又称云OS,是以云计算、云存储技术作为支撑的操作系统。云操作系统因其能够整合海量的计算能力并能够提供强大的资源调配能力,未来将得到更广泛的应用。The cloud operating system, also known as cloud OS, is an operating system supported by cloud computing and cloud storage technologies. The cloud operating system will be widely used in the future because it can integrate massive computing power and provide powerful resource allocation capabilities.
云操作系统既可以用于传统的桌面系统设备(如PC)又适用于移动设备。基于云操作系统的应用或服务,以及基于传统操作系统的应用或服务,将会在云操作系统框架内运行,这就要求云操作系统框架能够将基于不同操作系统的应用或服务进行融合。Cloud operating systems can be used for both traditional desktop systems (such as PCs) and mobile devices. Applications or services based on cloud operating systems, as well as applications or services based on traditional operating systems, will operate within the framework of the cloud operating system, which requires the cloud operating system framework to integrate applications or services based on different operating systems.
目前,针对在一种操作系统框架内,基于不同操作系统的应用或服务如何在窗口层面融合或者在控制层面融合,目前尚未有相应的解决方案。At present, there is no corresponding solution for how to integrate applications or services based on different operating systems at the window level or at the control level within an operating system framework.
申请内容Application content
本申请实施例提供了一种窗口显示方法及系统,用以将基于不同操作系统的应用程序窗口进行显示。The embodiment of the present application provides a window display method and system for displaying an application window based on different operating systems.
本申请实施例提供的一种窗口显示方法,包括:A window display method provided by an embodiment of the present application includes:
第二图形合成器接收第二子系统的窗口管理模块发送的窗口信息,所述第二图形合成器为第二子系统中的图形合成器;The second graphics synthesizer receives window information sent by the window management module of the second subsystem, and the second graphics synthesizer is a graphics synthesizer in the second subsystem;
所述第二图形合成器将所述窗口信息发送给第一图形合成器,所述第一图形合成器为第一子系统中的图形合成器;The second graphics synthesizer sends the window information to a first graphics synthesizer, the first graphics synthesizer being a graphics synthesizer in the first subsystem;
所述第一图形合成器根据从第二图形合成器接收到的窗口信息以及第 一子系统中的窗口管理模块发送的窗口信息,进行窗口显示。The first graphics synthesizer according to the window information received from the second graphics synthesizer and the The window information sent by the window management module in a subsystem is displayed.
优选地,所述第一图形合成器按照窗口显示规则,根据从第二图形合成器接收到的窗口信息以及第一子系统中的窗口管理模块发送的窗口信息,进行窗口显示。Preferably, the first graphics synthesizer performs window display according to window display rules, according to window information received from the second graphics synthesizer and window information sent by the window management module in the first subsystem.
其中,所述窗口显示规则包括以下规则中的一种或任意组合:The window display rule includes one or any combination of the following rules:
窗口焦点设置规则;Window focus setting rules;
窗口位置设置规则;Window position setting rules;
窗口Z序排列规则。Window Z ordering rules.
其中,所述窗口焦点设置规则中包括以下规则:各种窗口类型所对应的焦点设置优先级。The window focus setting rule includes the following rules: a focus setting priority corresponding to each window type.
优选地,根据窗口位置设置规则进行窗口显示时,包括:Preferably, when the window display is performed according to the window position setting rule, the method includes:
根据所述窗口信息获取窗口类型和/或窗口布局;Obtaining a window type and/or a window layout according to the window information;
根据窗口类型和/或窗口布局以及窗口位置设置规则进行窗口显示。The window is displayed according to the window type and/or window layout and window position setting rules.
优选地,所述窗口Z序排列规则中包括以下规则:各种窗口类型所对应的Z序排列顺序。Preferably, the window Z-ordering rule includes the following rules: a Z-ordering order corresponding to the various window types.
优选地,所述窗口信息包括以下之一或任意组合:Preferably, the window information comprises one or any combination of the following:
窗口类型信息;Window type information;
窗口状态信息;Window status information;
窗口布局信息;Window layout information;
窗口显示属性信息。The window displays the attribute information.
优选地,所述第一子系统为Host子系统,所述第二子系统为Guest子系统。Preferably, the first subsystem is a Host subsystem, and the second subsystem is a Guest subsystem.
本申请实施例提供的一种窗口显示系统,包括:A window display system provided by an embodiment of the present application includes:
第二图形合成器,用于接收第二子系统的窗口管理模块发送的窗口信息,所述第二图形合成器为第二子系统中的图形合成器,将所述窗口信息 发送给第一图形合成器,所述第一图形合成器为第一子系统中的图形合成器;a second graphics synthesizer, configured to receive window information sent by a window management module of the second subsystem, where the second graphics synthesizer is a graphics synthesizer in the second subsystem, and the window information is Sending to a first graphics synthesizer, the first graphics synthesizer being a graphics synthesizer in the first subsystem;
第一图形合成器,用于根据从第二图形合成器接收到的窗口信息以及第一子系统中的窗口管理模块发送的窗口信息,进行窗口显示。And a first graphics synthesizer configured to perform window display according to the window information received from the second graphics synthesizer and the window information sent by the window management module in the first subsystem.
优选地,所述第一图形合成器具体用于:Preferably, the first graphic synthesizer is specifically configured to:
按照窗口显示规则,根据从第二图形合成器接收到的窗口信息以及第一子系统中的窗口管理模块发送的窗口信息,进行窗口显示。According to the window display rule, the window display is performed according to the window information received from the second graphic synthesizer and the window information sent by the window management module in the first subsystem.
其中,所述窗口显示规则包括以下规则中的一种或任意组合:The window display rule includes one or any combination of the following rules:
窗口焦点设置规则;Window focus setting rules;
窗口位置设置规则;Window position setting rules;
窗口Z序排列规则。Window Z ordering rules.
其中,所述窗口焦点设置规则中包括以下规则:各种窗口类型所对应的焦点设置优先级。The window focus setting rule includes the following rules: a focus setting priority corresponding to each window type.
其中,所述第一图形合成器具体用于:The first graphics synthesizer is specifically configured to:
根据窗口位置设置规则进行窗口显示时执行:根据所述窗口信息获取窗口类型和/或窗口布局,根据窗口类型和/或窗口布局以及窗口位置设置规则进行窗口显示。Execution when window display is performed according to the window position setting rule: according to the window information, the window type and/or the window layout are acquired, and the window display is performed according to the window type and/or the window layout and the window position setting rule.
其中,所述窗口Z序排列规则中包括以下规则:各种窗口类型所对应的Z序排列顺序。The window Z-ordering rule includes the following rules: a Z-ordering order corresponding to each window type.
优选地,所述窗口信息包括以下之一或任意组合:Preferably, the window information comprises one or any combination of the following:
窗口类型信息;Window type information;
窗口状态信息;Window status information;
窗口布局信息;Window layout information;
窗口显示属性信息。The window displays the attribute information.
优选地,所述第一子系统为Host子系统,所述第二子系统为Guest子 系统。Preferably, the first subsystem is a Host subsystem, and the second subsystem is a Guest system.
本申请实施例提供的另一种窗口显示方法,包括:Another window display method provided by the embodiment of the present application includes:
第一图形合成器接收第二图形合成器发送的窗口信息;其中,所述第一图形合成器为第一子系统中的图形合成器,所述第二图形合成器为第二子系统中的图形合成器;The first graphics synthesizer receives window information sent by the second graphics synthesizer; wherein the first graphics synthesizer is a graphics synthesizer in the first subsystem, and the second graphics synthesizer is in the second subsystem Graphic synthesizer
所述第一图形合成器根据从第二图形合成器接收到的窗口信息以及第一子系统中的窗口管理模块发送的窗口信息,进行窗口显示。The first graphics synthesizer performs window display according to window information received from the second graphics synthesizer and window information sent by the window management module in the first subsystem.
优选地,第一图形合成器接收第二图形合成器发送的窗口信息之前,还包括:Preferably, before the first graphics synthesizer receives the window information sent by the second graphics synthesizer, the method further includes:
第二图形合成器接收第二子系统的窗口管理模块发送的窗口信息;The second graphics synthesizer receives the window information sent by the window management module of the second subsystem;
所述第二图形合成器将所述窗口信息发送给第一图形合成器。The second graphics synthesizer transmits the window information to the first graphics synthesizer.
优选地,所述第一图形合成器按照窗口显示规则,根据从第二图形合成器接收到的窗口信息以及第一子系统中的窗口管理模块发送的窗口信息,进行窗口显示。Preferably, the first graphics synthesizer performs window display according to window display rules, according to window information received from the second graphics synthesizer and window information sent by the window management module in the first subsystem.
其中,所述窗口显示规则包括以下规则中的一种或任意组合:The window display rule includes one or any combination of the following rules:
窗口焦点设置规则;Window focus setting rules;
窗口位置设置规则;Window position setting rules;
窗口Z序排列规则。Window Z ordering rules.
其中,所述窗口焦点设置规则中包括以下规则:各种窗口类型所对应的焦点设置优先级。The window focus setting rule includes the following rules: a focus setting priority corresponding to each window type.
其中,根据窗口位置设置规则进行窗口显示时,包括:Among them, when the window is displayed according to the window position setting rule, it includes:
根据所述窗口信息获取窗口类型和/或窗口布局;Obtaining a window type and/or a window layout according to the window information;
根据窗口类型和/或窗口布局以及窗口位置设置规则进行窗口显示。The window is displayed according to the window type and/or window layout and window position setting rules.
优选地,所述窗口Z序排列规则中包括以下规则:各种窗口类型所对应的Z序排列顺序。 Preferably, the window Z-ordering rule includes the following rules: a Z-ordering order corresponding to the various window types.
优选地,所述窗口信息包括以下之一或任意组合:Preferably, the window information comprises one or any combination of the following:
窗口类型信息;Window type information;
窗口状态信息;Window status information;
窗口布局信息;Window layout information;
窗口显示属性信息。The window displays the attribute information.
优选地,所述第一子系统为Host子系统,所述第二子系统为Guest子系统。Preferably, the first subsystem is a Host subsystem, and the second subsystem is a Guest subsystem.
本申请的上述实施例中,第二子系统的窗口管理模块发送窗口信息给该子系统中的图形合成器(第二图形合成器),第二图形合成器将该窗口信息发送给第一子系统中的图形合成器(第一图形合成器),第一图形合成器根据从第二图形合成器接收到的窗口信息以及第一子系统中的窗口管理模块发送的窗口信息,进行窗口显示。可以看出,在一种操作系统框架内的第一子系统和第二子系统中,窗口显示的处理操作由第一子系统中的图形合成器执行,第一图形合成器可以将第一子系统的窗口以及第二子系统的窗口进行显示,实现了针对基于不同操作系统在窗口级进行融合。In the above embodiment of the present application, the window management module of the second subsystem sends the window information to the graphics synthesizer (second graphics synthesizer) in the subsystem, and the second graphics synthesizer sends the window information to the first sub- A graphics synthesizer (first graphics synthesizer) in the system, the first graphics synthesizer performs window display based on the window information received from the second graphics synthesizer and the window information sent by the window management module in the first subsystem. It can be seen that in the first subsystem and the second subsystem within an operating system framework, the processing operation of the window display is performed by the graphics synthesizer in the first subsystem, and the first graphics synthesizer can The window of the system and the window of the second subsystem are displayed, and the fusion is performed at the window level based on different operating systems.
本申请实施例提供了一种信息交互方法及系统,用于实现跨操作系统应用或服务的控制和管理。The embodiment of the present application provides an information interaction method and system for implementing control and management of an application or service across operating systems.
本申请实施例提供的信息交互方法,包括:The information interaction method provided by the embodiment of the present application includes:
第二子系统中的第二连接服务模块接收第二子系统中的应用管理模块发送的控制信息;The second connection service module in the second subsystem receives the control information sent by the application management module in the second subsystem;
所述第二连接服务模块将所述控制信息发送给第一子系统中的第一连接服务模块;The second connection service module sends the control information to a first connection service module in the first subsystem;
所述第一连接服务模块将所述控制信息发送给第一子系统中的应用管理模块。 The first connection service module sends the control information to an application management module in the first subsystem.
优选地,还包括:Preferably, the method further comprises:
所述第一连接服务模块接收第一子系统中的应用管理模块根据所述控制信息返回的响应信息;The first connection service module receives response information returned by the application management module in the first subsystem according to the control information;
所述第一连接服务模块将所述响应信息发送给所述第二连接服务模块;The first connection service module sends the response information to the second connection service module;
所述第二连接服务模块将所述响应信息发送给第二子系统中的应用管理模块。The second connection service module sends the response information to an application management module in the second subsystem.
优选地,所述应用管理模块包括以下模块中的一种或多种:Preferably, the application management module comprises one or more of the following modules:
组件管理模块,用于对应用程序组件或服务组件进行管理;a component management module for managing application components or service components;
窗口管理模块,用于对应用程序窗口进行管理;a window management module for managing an application window;
安装包管理模块,用于对应用程序安装包进行管理。The installation package management module is used to manage the application installation package.
优选地,发送所述控制信息的第二子系统中的应用管理模块包括:活动管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:动态服务组件管理服务DPMS;或者,Preferably, the application management module in the second subsystem that sends the control information includes: an activity management module; the application management module in the first subsystem that receives the control information includes: a dynamic service component management service DPMS; or
发送所述控制信息的第二子系统中的应用管理模块包括:窗口管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:窗口管理模块;或者,The application management module in the second subsystem that sends the control information includes: a window management module; and the application management module in the first subsystem that receives the control information includes: a window management module; or
发送所述控制信息的第二子系统中的应用管理模块包括:安装包管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:静态服务组件管理模块。The application management module in the second subsystem that sends the control information includes: an installation package management module; and an application management module in the first subsystem that receives the control information includes: a static service component management module.
优选地,发送所述控制信息的第二子系统中的应用管理模块包括:DPMS;接收所述控制信息的第一子系统中的应用管理模块包括:活动管理模块;或者,Preferably, the application management module in the second subsystem that sends the control information includes: a DPMS; the application management module in the first subsystem that receives the control information includes: an activity management module; or
发送所述控制信息的第二子系统中的应用管理模块包括:窗口管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:窗口管理模 块;或者,The application management module in the second subsystem that sends the control information includes: a window management module; and the application management module in the first subsystem that receives the control information includes: a window management module Block; or,
发送所述控制信息的第二子系统中的应用管理模块包括:静态服务组件管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:安装包管理模块。The application management module in the second subsystem that sends the control information includes: a static service component management module; and an application management module in the first subsystem that receives the control information includes: an installation package management module.
优选地,第二子系统中的应用管理模块接收到子系统切换相关事件后,根据接收到的事件,向所述第二连接服务模块发送控制信息。Preferably, after receiving the subsystem switching related event, the application management module in the second subsystem sends control information to the second connection service module according to the received event.
优选地,所述第一子系统为Host子系统,所述第二子系统为Guest子系统;或者,Preferably, the first subsystem is a Host subsystem, and the second subsystem is a Guest subsystem; or
所述第二子系统为Host子系统,所述第一子系统为Guest子系统。The second subsystem is a Host subsystem, and the first subsystem is a Guest subsystem.
本申请实施例提供的一种信息交互系统,包括:第一子系统中的第一连接服务模块和应用管理模块,第二子系统中的第二连接模块和应用管理模块;An information interaction system provided by the embodiment of the present application includes: a first connection service module and an application management module in the first subsystem, a second connection module and an application management module in the second subsystem;
所述第二子系统中的第二连接服务模块,用于接收第二子系统中的应用管理模块发送的控制信息;以及,将所述控制信息发送给第一子系统中的第一连接服务模块;a second connection service module in the second subsystem, configured to receive control information sent by an application management module in the second subsystem; and send the control information to the first connection service in the first subsystem Module
所述第一连接服务模块,用于将所述控制信息发送给第一子系统中的应用管理模块。The first connection service module is configured to send the control information to an application management module in the first subsystem.
优选地,所述第一连接服务模块还用于:Preferably, the first connection service module is further configured to:
接收第一子系统中的应用管理模块根据所述控制信息返回的响应信息,将所述响应信息发送给所述第二连接服务模块;Receiving, by the application management module in the first subsystem, the response information, according to the response information returned by the control information, to the second connection service module;
所述第二连接服务模块还用于:The second connection service module is further configured to:
将所述响应信息发送给第二子系统中的应用管理模块。Sending the response information to an application management module in the second subsystem.
优选地,所述应用管理模块包括以下模块中的一种或多种:Preferably, the application management module comprises one or more of the following modules:
组件管理模块,用于对应用程序组件或服务组件进行管理;a component management module for managing application components or service components;
窗口管理模块,用于对应用程序窗口进行管理; a window management module for managing an application window;
安装包管理模块,用于对应用程序安装包进行管理。The installation package management module is used to manage the application installation package.
优选地,发送所述控制信息的第二子系统中的应用管理模块包括:活动管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:动态服务组件管理服务DPMS;或者,Preferably, the application management module in the second subsystem that sends the control information includes: an activity management module; the application management module in the first subsystem that receives the control information includes: a dynamic service component management service DPMS; or
发送所述控制信息的第二子系统中的应用管理模块包括:窗口管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:窗口管理模块;或者,The application management module in the second subsystem that sends the control information includes: a window management module; and the application management module in the first subsystem that receives the control information includes: a window management module; or
发送所述控制信息的第二子系统中的应用管理模块包括:安装包管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:静态服务组件管理模块。The application management module in the second subsystem that sends the control information includes: an installation package management module; and an application management module in the first subsystem that receives the control information includes: a static service component management module.
优选地,发送所述控制信息的第二子系统中的应用管理模块包括:DPMS;接收所述控制信息的第一子系统中的应用管理模块包括:活动管理模块;或者,Preferably, the application management module in the second subsystem that sends the control information includes: a DPMS; the application management module in the first subsystem that receives the control information includes: an activity management module; or
发送所述控制信息的第二子系统中的应用管理模块包括:窗口管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:窗口管理模块;或者,The application management module in the second subsystem that sends the control information includes: a window management module; and the application management module in the first subsystem that receives the control information includes: a window management module; or
发送所述控制信息的第二子系统中的应用管理模块包括:静态服务组件管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:安装包管理模块。The application management module in the second subsystem that sends the control information includes: a static service component management module; and an application management module in the first subsystem that receives the control information includes: an installation package management module.
优选地,所述第二子系统中的应用管理模块具体用于:Preferably, the application management module in the second subsystem is specifically configured to:
接收到子系统切换相关事件后,根据接收到的事件,向所述第二连接服务模块发送控制信息。After receiving the subsystem switching related event, sending control information to the second connection service module according to the received event.
优选地,所述第一子系统为Host子系统,所述第二子系统为Guest子系统;或者,Preferably, the first subsystem is a Host subsystem, and the second subsystem is a Guest subsystem; or
所述第二子系统为Host子系统,所述第一子系统为Guest子系统。 The second subsystem is a Host subsystem, and the first subsystem is a Guest subsystem.
本申请实施例提供的另一种信息交互方法,包括:Another information interaction method provided by the embodiment of the present application includes:
第一子系统中的第一连接服务模块接收第二子系统中的第二连接服务模块发送的控制信息;The first connection service module in the first subsystem receives the control information sent by the second connection service module in the second subsystem;
所述第一连接服务模块将所述控制信息发送给第一子系统中的应用管理模块。The first connection service module sends the control information to an application management module in the first subsystem.
优选地,第一子系统中的第一连接服务模块接收第二子系统中的第二连接服务模块发送的控制信息之前,还包括:Preferably, before the first connection service module in the first subsystem receives the control information sent by the second connection service module in the second subsystem, the method further includes:
第二子系统中的第二连接服务模块接收第二子系统中的应用管理模块发送的控制信息;The second connection service module in the second subsystem receives the control information sent by the application management module in the second subsystem;
所述第二连接服务模块将所述控制信息发送给第一子系统中的第一连接服务模块。The second connection service module sends the control information to a first connection service module in the first subsystem.
优选地,还包括:Preferably, the method further comprises:
所述第一连接服务模块接收第一子系统中的应用管理模块根据所述控制信息返回的响应信息;The first connection service module receives response information returned by the application management module in the first subsystem according to the control information;
所述第一连接服务模块将所述响应信息发送给所述第二连接服务模块,以使所述第二连接服务模块将所述响应信息发送给第二子系统中的应用管理模块。The first connection service module sends the response information to the second connection service module, so that the second connection service module sends the response information to an application management module in the second subsystem.
优选地,所述应用管理模块包括以下模块中的一种或多种:Preferably, the application management module comprises one or more of the following modules:
组件管理模块,用于对应用程序组件或服务组件进行管理;a component management module for managing application components or service components;
窗口管理模块,用于对应用程序窗口进行管理;a window management module for managing an application window;
安装包管理模块,用于对应用程序安装包进行管理。The installation package management module is used to manage the application installation package.
优选地,发送所述控制信息的第二子系统中的应用管理模块包括:活动管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:动态服务组件管理服务DPMS;或者,Preferably, the application management module in the second subsystem that sends the control information includes: an activity management module; the application management module in the first subsystem that receives the control information includes: a dynamic service component management service DPMS; or
发送所述控制信息的第二子系统中的应用管理模块包括:窗口管理模 块;接收所述控制信息的第一子系统中的应用管理模块包括:窗口管理模块;或者,The application management module in the second subsystem that sends the control information includes: a window management module The application management module in the first subsystem that receives the control information includes: a window management module; or
发送所述控制信息的第二子系统中的应用管理模块包括:安装包管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:静态服务组件管理模块。The application management module in the second subsystem that sends the control information includes: an installation package management module; and an application management module in the first subsystem that receives the control information includes: a static service component management module.
优选地,所述第一子系统为Host子系统,所述第二子系统为Guest子系统。Preferably, the first subsystem is a Host subsystem, and the second subsystem is a Guest subsystem.
本申请实例提供的另一种信息交互方法,包括:Another method of information interaction provided by the example of the present application includes:
第一子系统中的第一连接服务模块接收第一子系统中的第一连接服务模块发送的控制信息;The first connection service module in the first subsystem receives the control information sent by the first connection service module in the first subsystem;
所述第一连接服务模块将所述控制信息发送给第二子系统中的第二连接服务模块。The first connection service module sends the control information to a second connection service module in the second subsystem.
优选地,所述第一连接服务模块将所述控制信息发送给第二子系统中的第二连接服务模块之后,还包括:Preferably, after the first connection service module sends the control information to the second connection service module in the second subsystem, the method further includes:
第二子系统中的第二连接服务模块将从所述第一连接服务模块接收到的控制信息发送给第二子系统中的应用管理模块。The second connection service module in the second subsystem sends the control information received from the first connection service module to the application management module in the second subsystem.
优选地,还包括:Preferably, the method further comprises:
所述第一连接服务模块接收第二子系统中的第二连接服务模块发送的响应信息,所述响应信息是第二子系统中的应用管理模块根据接收到的控制信息得到的;The first connection service module receives response information sent by the second connection service module in the second subsystem, where the response information is obtained by the application management module in the second subsystem according to the received control information;
所述第一连接服务模块将所述响应信息发送给所述第一子系统中的应用管理模块。The first connection service module sends the response information to an application management module in the first subsystem.
优选地,所述应用管理模块包括以下模块中的一种或多种:Preferably, the application management module comprises one or more of the following modules:
组件管理模块,用于对应用程序组件或服务组件进行管理;a component management module for managing application components or service components;
窗口管理模块,用于对应用程序窗口进行管理; a window management module for managing an application window;
安装包管理模块,用于对应用程序安装包进行管理。The installation package management module is used to manage the application installation package.
优选地,发送所述控制信息的第一子系统中的应用管理模块包括:DPMS;接收所述控制信息的第二子系统中的应用管理模块包括:活动管理模块;或者,Preferably, the application management module in the first subsystem that sends the control information includes: a DPMS; the application management module in the second subsystem that receives the control information includes: an activity management module; or
发送所述控制信息的第一子系统中的应用管理模块包括:窗口管理模块;接收所述控制信息的第二子系统中的应用管理模块包括:窗口管理模块;或者,The application management module in the first subsystem that sends the control information includes: a window management module; and the application management module in the second subsystem that receives the control information includes: a window management module; or
发送所述控制信息的第一子系统中的应用管理模块包括:静态服务组件管理模块;接收所述控制信息的第二子系统中的应用管理模块包括:安装包管理模块。The application management module in the first subsystem that sends the control information includes: a static service component management module; and the application management module in the second subsystem that receives the control information includes: an installation package management module.
优选地,所述第一子系统为Host子系统,所述第二子系统为Guest子系统。Preferably, the first subsystem is a Host subsystem, and the second subsystem is a Guest subsystem.
本申请的上述实施例中,第二子系统中的应用管理模块将控制信息通过第二子系统中的第二连接服务模块发送给第一子系统的第一连接服务模块,由所述第一连接服务模块将所述控制信息发送给第一子系统中的应用管理模块,实现了跨操作系统的控制信息交互。尤其在将上述实施例应用于不同子系统的应用间切换时,可实现跨操作系统的应用管理。In the foregoing embodiment of the present application, the application management module in the second subsystem sends the control information to the first connection service module of the first subsystem by using the second connection service module in the second subsystem, by the first The connection service module sends the control information to the application management module in the first subsystem, and implements control information interaction across the operating system. Especially when the above embodiments are applied to inter-application switching of different subsystems, application management across operating systems can be realized.
附图说明DRAWINGS
图1为本申请实施例所适用的操作系统框架示意图;1 is a schematic diagram of an operating system framework applicable to an embodiment of the present application;
图2a和图2b分别为Host子系统中的Page与Guest子系统中的Actibity之间切换的示意图;2a and 2b are schematic diagrams of switching between Page in the Host subsystem and Actibity in the Guest subsystem, respectively;
图3为本申请实施例提供的Host子系统和Guest子系统的控制信息交互的架构示意图;3 is a schematic structural diagram of interaction of control information between a Host subsystem and a Guest subsystem according to an embodiment of the present application;
图4为本申请实施例提供的Host子系统和Guest子系统在窗口级混合显示的架构示意图; 4 is a schematic structural diagram of a hybrid display of a Host subsystem and a Guest subsystem at a window level according to an embodiment of the present application;
图5为本申请实施例的一个应用场景下的窗口融合显示示意图;FIG. 5 is a schematic diagram of window fusion display in an application scenario according to an embodiment of the present application;
图6为本申请实施例提供的窗口显示系统的结构示意图;FIG. 6 is a schematic structural diagram of a window display system according to an embodiment of the present application;
图7为本申请实施例提供的控制信息交互系统的结构示意图。FIG. 7 is a schematic structural diagram of a control information interaction system according to an embodiment of the present application.
具体实施方式detailed description
为了针对基于不同操作系统的应用程序在同一操作系统框架内并行运行的情况,在窗口级和/或控制层面实现融合,为用户提供无缝的双系统用户体验,本申请实施例提供了解决方案。In order to provide a seamless dual-system user experience for the user to provide a seamless dual-system user experience, the solution is provided in the embodiment of the present application. .
其中,不同操作系统包括第一操作系统和第二操作系统。具体地,第一操作系统可以是云操作系统,第二操作系统可以是传统的操作系统。更具体地,第一操作系统可以是YunOS,第二操作系统可以是Android。The different operating systems include a first operating system and a second operating system. Specifically, the first operating system may be a cloud operating system, and the second operating system may be a traditional operating system. More specifically, the first operating system may be YunOS and the second operating system may be Android.
下面结合附图对本申请实施例进行详细描述。The embodiments of the present application are described in detail below with reference to the accompanying drawings.
参见图1,为本申请实施例适用的操作系统框架示意图。以YunOS作为第一操作系统,Android为第二操作系统为例,图1示出了在YunOS框架内的双系统兼容架构。FIG. 1 is a schematic diagram of an operating system framework applicable to an embodiment of the present application. Taking YunOS as the first operating system and Android as the second operating system as an example, FIG. 1 shows a dual system compatible architecture within the YunOS framework.
如图1所示,系统框架中包括Host与Guest两个子系统,其中,YunOS即为Host子系统,Android即为Guest子系统,两个子系统通过container(容器)技术隔离。该框架内的硬件抽象层(Hardware Abstraction Layer,HAL)提供了图形显示等方面的接口和驱动服务。As shown in Figure 1, the system framework includes two subsystems: Host and Guest. Among them, YunOS is the Host subsystem, Android is the Guest subsystem, and the two subsystems are isolated by the container technology. The Hardware Abstraction Layer (HAL) within the framework provides interfaces and driver services for graphical display and other aspects.
Host子系统中的Glibc,即C运行库,是linux中最底层的API(Application Programming Interface,应用程序编程接口)。Guest子系统中的Bioric,是Android的linux内核库。Glibc in the Host subsystem, the C runtime library, is the lowest API (Application Programming Interface) in Linux. Bioric in the Guest subsystem is the Linux kernel library for Android.
Libhybris为兼容层,能够使基于Glibc的操作系统重用现有的Android的驱动(driver)服务;在图形(Graphics)处理方面,libhybris还实现了EGL platform。EGL platform这是一套后台(backend)无关的遵循EGL接口的图形平台,以及多个后台(backend)实现。 Libhybris is a compatibility layer that enables Glibc-based operating systems to reuse existing Android driver services; in graphics processing, libhybris also implements the EGL platform. EGL platform This is a backend-independent graphical platform that follows the EGL interface and multiple backend implementations.
Gralloc模块位于硬件抽象层中,封装了对帧缓冲区的所有访问操作。The Gralloc module is located in the hardware abstraction layer and encapsulates all access operations to the framebuffer.
Guest子系统中的InputManagerService(输入管理服务)主要用于对输入事件进行监控和管理。The InputManagerService (input management service) in the Guest subsystem is mainly used to monitor and manage input events.
SurfaceFlinger是Guest子系统的图形合成器;Wayland Compositor(或Weston)是Host子系统的图形合成器,其中,Weston是Wayland Compositor的参考实现。SurfaceFlinger is the graphics synthesizer of the Guest subsystem; Wayland Compositor (or Weston) is the graphics synthesizer of the Host subsystem, where Weston is the reference implementation of the Wayland Compositor.
本申请实施例中,Guest子系统的图形合成器与Host子系统的图形合成器之间可采用Wayland协议进行通信。Wayland协议定义了如何与内核通信,如何与客户端(client)通信;Wayland复用了所有Linux内核的图形、输入输出技术。In the embodiment of the present application, the Wayland protocol can be used for communication between the graphics synthesizer of the Guest subsystem and the graphics synthesizer of the Host subsystem. The Wayland protocol defines how to communicate with the kernel and how to communicate with the client; Wayland reuses the graphics, input and output technologies of all Linux kernels.
上述架构中,本申请实施例中Andriod的图形合成器与YunOS的图形合成器之间可采用Wayland协议进行通信,使得Android中的图形系统架空,并桥接到YunOS的图形系统,实现了双系统的统一合成渲染,从而提供了较好地双系统兼容性,又实现了双系统的无缝用户体验。In the above architecture, the Wayland protocol can be communicated between the graphic synthesizer of Andriod and the graphic synthesizer of YunOS in the embodiment of the present application, so that the graphics system in Android is overhead and bridged to the graphic system of YunOS, realizing the dual system. Uniform synthetic rendering provides better dual system compatibility and a seamless user experience with dual systems.
需要说明的是,上述系统架构仅以YunOS和Andriod为例进行说明,对于其他类型的操作系统,也可基于上述原理实现双系统在窗口层面以及控制层面的兼容以及有效融合。It should be noted that the above system architecture is only illustrated by YunOS and Andriod. For other types of operating systems, the compatibility and effective integration of dual systems at the window level and the control level can also be realized based on the above principles.
基于上述框架,本申请实施例提供了在以下两个层面上的双系统兼容:Based on the above framework, the embodiments of the present application provide dual system compatibility on the following two levels:
(一)控制层面的双系统兼容方案(1) Dual-system compatibility scheme at the control level
(二)窗口层面的双系统兼容方案(2) Dual system compatibility scheme at the window level
在实际应用场景中,上述两种双系统兼容方案可能独立使用,也可能结合使用。In the actual application scenario, the above two dual system compatibility schemes may be used independently or in combination.
下面以第一子系统为Host子系统、第二子系统为Guest子系统为例,分别对这两种双系统兼容方案进行描述。其中,Host子系统为YunOS,Guest子系统为Android。 The following takes the first subsystem as the Host subsystem and the second subsystem as the Guest subsystem as an example to describe the two dual system compatibility schemes. Among them, the Host subsystem is YunOS, and the Guest subsystem is Android.
(一)控制层面的双系统兼容方案(1) Dual-system compatibility scheme at the control level
1、Host子系统(YunOS)框架说明1. Host subsystem (YunOS) framework description
在Host子系统(YunOS)框架内,Page称为服务组件,是对本地服务和远程服务的抽象,也即服务的基本单元,通过对数据和方法的封装,可以提供各种服务。一个服务场景可以包括多个Page。举例来说,一个Page可以是UI(用户界面)、拍照等服务,也可以是后台服务,如账户认证。Within the framework of the Host subsystem (YunOS), Page is called a service component, which is an abstraction of local services and remote services, that is, the basic unit of services. By encapsulating data and methods, various services can be provided. A service scene can include multiple Pages. For example, a Page can be a UI (user interface), a photo or other service, or a background service, such as account authentication.
运行态Page称为Page实例,是本地服务或远程服务的运行载体,可由DPMS(Dynamic Page Manager Service,动态Page管理服务)创建、调度、管理,DPMS可维护Page实例的生命周期。每个Page可以在YunOS中使用URI(Uniform Resource Identifier,唯一资源标识符)进行标识。The running state Page is called the Page instance. It is the running carrier of the local service or the remote service. It can be created, scheduled, and managed by the DPMS (Dynamic Page Manager Service). The DPMS can maintain the life cycle of the Page instance. Each Page can be identified in YuOS using a URI (Uniform Resource Identifier).
PageLink是Page之间流转的信息实体,可以在Page间传递信息。PageLink is an information entity that flows between Pages and can pass information between Pages.
在Host子系统(YunOS)框架内,主要提供了以下几种系统服务:Within the framework of the Host Subsystem (YunOS), the following system services are mainly provided:
DPMS:DPMS可以被看作是服务组件管理实体。DPMS可以管理Page生命周期以及运行时调度,Page从创建到销毁的生命周期管理,以及Page间经PageLink的交互都可以通过DPMS实现;DPMS: DPMS can be seen as a service component management entity. DPMS can manage Page life cycle and runtime scheduling, Page lifecycle management from creation to destruction, and PageLink interaction between Pages can be achieved through DPMS;
Weston:Weston中主要包括窗口管理(shell)、合成器(compositor)和输入管理几个部分。从大体的流程上来看,输入管理模块接受用户输入,然后一方面shell作出相应的窗口管理操作(如窗口堆栈的改变、focus(焦点)的变化等),另一方面将该输入事件(input event)传给之前注册了相应输入事件的客户端(client)。client收到后会在处理机(handler)中做相应动作,如调整视图然后重绘。如有重绘发生,则新的图形缓存(buffer)渲染完成后client将buffer的handle(句柄)传给服务器端(server),接着server端生成z-order序的窗口列表,之后compositor使用渲染器(renderer)进行合成,最后输出(比如输出到framebuffer)。Weston: Weston mainly includes window management, compositor and input management. From the general flow point of view, the input management module accepts user input, and then the shell makes corresponding window management operations (such as window stack changes, focus changes, etc.), and on the other hand, the input event (input event) ) Passed to the client (client) that previously registered the corresponding input event. After the client receives it, it will do the corresponding actions in the handler, such as adjusting the view and then redrawing. If redrawing occurs, the new graphics buffer (buffer) is completed, the client passes the handle of the buffer to the server, and then the server generates a list of windows in the z-order order. Then the compositor uses the renderer. (renderer) performs composition and finally outputs (such as output to framebuffer).
StaticPageService:主要负责管理系统的安装包(Package),包括Package 的安装、卸载,以及信息查询等。StaticPageService: Mainly responsible for managing the system's installation package (Package), including Package Installation, uninstallation, and information inquiry.
本申请实施例中,将上述DPMS、Weston和StaticPageService以及其他可用于实现应用程序相关管理功能的模块,统称为应用管理模块。In the embodiment of the present application, the above-mentioned DPMS, Weston, and StaticPageService and other modules that can be used to implement application-related management functions are collectively referred to as an application management module.
2、Guest子系统(Android)框架说明2, Guest subsystem (Android) framework description
在Guest子系统(Android)框架内,Activity是应用程序(Application)的组件,是实现应用程序的主体,它承担了大量的显示和交互工作,一个应用程序通常包含多个Activity。一个Activity可提供一个独立的可视UI(User Interface,用户界面),用户可以通过Activity所提供的UI完成某项任务,例如拨号、拍照、发送电子邮件、搜索等。In the Guest subsystem (Android) framework, Activity is a component of the application, is the main body of the implementation of the application, it undertakes a lot of display and interaction work, an application usually contains multiple activities. An Activity can provide a separate visual UI (User Interface). Users can complete tasks such as dialing, taking photos, sending emails, searching, etc. through the UI provided by the Activity.
Activity的管理采用堆栈机制,其遵循先进后出的原则,系统总是显示位于ActivityStack栈顶的Activity。The management of the Activity uses a stacking mechanism, which follows the principle of advanced and outgoing, and the system always displays the Activity at the top of the ActivityStack stack.
Task是指将相关的Activity组合到一起,以ActivityStack方式进行管理。一个Task是可以由一个或多个应用程序组成。例如:如果需要在发送短信时,拍一张照并作为彩信发出去,这时用户可首先停留在短信应用程序的Acitivity上,然后跳转到Camera应用程序的Activity上,当完成拍照功能后,再返回到短信应用程序的Activity。Task refers to the combination of related activities, managed by ActivityStack. A Task can be composed of one or more applications. For example, if you need to take a photo and send it as a multimedia message when sending a text message, the user can first stop at the Acitivity of the SMS application and then jump to the Activity of the Camera application. When the camera function is completed, Then return to the Activity of the SMS application.
在Guest子系统(Android)框架内,主要提供了以下几种系统服务:Within the framework of the Guest subsystem (Android), the following system services are mainly provided:
ActivityManagerService(活动管理服务):其主要负责管理应用程序组件,具体可包括管理应用进程的生命周期以及应用进程的组件,如,Activity、Service、Broadcast和Provider等组件;ActivityManagerService (Active Management Service): It is mainly responsible for managing application components, which may include components that manage the life cycle of the application process and components of the application process, such as Activity, Service, Broadcast, and Provider;
WindowManagerService(窗口管理服务):主要负责系统中的窗口管理,比如可包括窗口堆栈的管理,focus(焦点)管理等;WindowManagerService (window management service): mainly responsible for window management in the system, such as management of window stack, focus (focus) management, etc.;
PackageManagerService(安装包管理服务):主要负责对系统的APK(AndroidPackage,Android安装包)进行管理,比如APK的安装、卸载、删除等管理。更具体地,是指管理其中的组件等,如Activiey、Service(服 务)等,从APK中解析其中的组件,保存到相关结构中。PackageManagerService (installation package management service): mainly responsible for the management of the system APK (AndroidPackage, Android installation package), such as the installation, uninstallation, deletion and other management of the APK. More specifically, it refers to the management of components, such as Activie, Service (service) Etc., etc., parsing the components from the APK and saving them to the relevant structure.
本申请实施例中,将上述ActivityManagerService、WindowManagerService和PackageManagerService以及其他可用于实现应用程序相关管理功能的模块,统称为应用管理模块。In the embodiment of the present application, the above-mentioned ActivityManagerService, WindowManagerService, and PackageManagerService, and other modules that can be used to implement application-related management functions are collectively referred to as an application management module.
可以看出,YunOS中的DPMS和Android中的ActivityManagerService在功能上对等,均用用于对应用程序组件或服务组件进行管理;YunOS中的Weston中的窗口管理模块和Android中的WindowManagerService在功能上对等,均用于进行窗口管理;YunOS中的StaticPageService和Android中的PackageManagerService在功能上对等,均用于进行应用程序安装包管理。It can be seen that the DPMS in YunOS and the ActivityManagerService in Android are functionally equivalent, both for managing application components or service components; the window management module in Weston in YunOS and the WindowManagerService in Android are functionally Peer-to-peer is used for window management; the StaticPageService in YunOS and the PackageManagerService in Android are functionally equivalent, and are used for application installation package management.
图2a和图2b分别示出了Host子系统中的Page与Guest子系统中的Actibity之间切换的示意图。2a and 2b show schematic diagrams of switching between Page in the Host subsystem and Actibity in the Guest subsystem, respectively.
如图2a所示,Host子系统中的Page(Host Page)从Start(开始)状态进入Running(运行)状态,该Host Page对应的窗口被显示;该Host Page可启动Guest子系统中的Activity(Guest Activity);被启动的Guest Activity可返回该Host Page。被启动的Guest Activity也可以调用Host Page。Host Page还可以启动其他Host Page,或者返回前一个Host Page。同理,Guest Activity也可以启动其他Guest Activity,或者返回前一个Guest Activity。As shown in Figure 2a, the Page (Host Page) in the Host subsystem enters the Running state from the Start state, and the corresponding window of the Host Page is displayed; the Host Page can start the Activity in the Guest subsystem ( Guest Activity); The Guest Activity that is started can return the Host Page. The Guest Activity can also be called by the launched Guest Activity. The Host Page can also launch other Host Pages or return to the previous Host Page. Similarly, the Guest Activity can also launch other Guest Activity or return to the previous Guest Activity.
图2b所示的Host Page与Guest Activity间的切换情况与图2a所示的类似,只是该切换过程是闭环的,并非无限循环,比如,不允许Host Page启动其他Host Page;Host Page启动Guest Activity后,不允许该Guest Activity返回该Host Page。The switching between the Host Page and the Guest Activity shown in Figure 2b is similar to that shown in Figure 2a, except that the switching process is closed-loop, not an infinite loop. For example, the Host Page is not allowed to start other Host Pages; the Host Page starts the Guest Activity. After that, the Guest Activity is not allowed to return the Host Page.
基于上述两个子系统的架构,为了实现不同子系统间在控制层面的交互,本申请实施例中,通过YunOS Bridge Service在两个子系统之间进行控制信息的交互,YunOS Bridge Service是一种系统服务,可以是系统常驻 服务,用于实现两个子系统之间交互控制信息。YunOS Bridge Service在Host子系统和Guest子系统中分别建立进程(为了进行区分,可将在Host子系统中建立的进程称为第一连接服务模块,将在Guest子系统中建立的进程称为第二连接服务模块,反之亦然),YunOS Bridge Service在两个子系统中的进程之间,可采用Binder机制进行信息交互。Based on the architecture of the above two subsystems, in order to realize the interaction between different subsystems at the control level, in the embodiment of the present application, the Yunas Bridge Service is used to exchange control information between two subsystems, and the YunOS Bridge Service is a system service. Can be system resident Service, used to implement interactive control information between two subsystems. The YunOS Bridge Service establishes processes in the Host subsystem and the Guest subsystem respectively (for the purpose of distinguishing, the process established in the Host subsystem can be referred to as the first connection service module, and the process established in the Guest subsystem is called the first process. The second connection service module, and vice versa, the YunOS Bridge Service can use the Binder mechanism for information interaction between processes in the two subsystems.
基于该架构,Guest子系统中的第二连接服务模块接收到Guest子系统中的应用管理模块发送的控制信息后,可将该控制信息发送给Host子系统中的第一连接服务模块,该第一连接服务模块可将该控制信息发送给Host子系统中的应用管理模块进行处理。Based on the architecture, after receiving the control information sent by the application management module in the guest subsystem, the second connection service module in the guest subsystem may send the control information to the first connection service module in the Host subsystem. A connection service module can send the control information to an application management module in the Host subsystem for processing.
其中,所述控制信息包括与子系统间切换相关的控制信息,比如子系统间的切换操作可包括:不同子系统中的应用组件之间进行切换,不同子系统中的应用程序窗口间进行切换,不同子系统中的应用程序安装包之间进行调用或切换等。The control information includes control information related to switching between subsystems. For example, the switching operation between subsystems may include: switching between application components in different subsystems, and switching between application windows in different subsystems. Calls or switches between application installation packages in different subsystems.
在一些实施例中,Guest子系统中的应用管理模块可在接收到子系统间切换相关事件后,根据接收到的事件,向Guest子系统中的第二连接服务模块发送控制信息。In some embodiments, the application management module in the Guest subsystem may send control information to the second connection service module in the Guest subsystem according to the received event after receiving the inter-subsystem handover related event.
结合Host子系统所提供的系统服务以及Guest子系统所提供的系统服务,如图3所示,上述控制信息交互过程可包括以下几种情况:In combination with the system service provided by the Host subsystem and the system service provided by the Guest subsystem, as shown in FIG. 3, the foregoing control information interaction process may include the following situations:
情况1:Situation 1:
Guest子系统中的ActivityManagerService向Guest子系统中的YunOS Bridge Service(图中的第二连接服务模块)发送的控制信息,Guest子系统中的YunOS Bridge Service将该控制信息发送给Host子系统中的YunOS Bridge Service(图中的第一连接服务模块),Host子系统中的YunOS Bridge Service将该控制信息发送给Host子系统中的DPMS。The ActivityManagerService in the Guest subsystem sends control information to the YunOS Bridge Service (the second connection service module in the figure) in the Guest subsystem. The YunOS Bridge Service in the Guest subsystem sends the control information to the YunOS in the Host subsystem. The Bridge Service (the first connection service module in the figure), the YunOS Bridge Service in the Host subsystem sends the control information to the DPMS in the Host subsystem.
在一些实施例中,ActivityManagerService可在接收到用于表明从 Activity切换到Host子系统中的Page的事件后,向Guest子系统中的YunOS Bridge Service发送控制信息,该控制信息具体可以是该事件,也可以是根据该事件生成的应用组件切换相关的控制信息。进一步地,ActivityManagerService收到该事件后,也会根据该事件对本子系统的相应Activity进行管理。In some embodiments, the ActivityManagerService can be received to indicate from After the activity is switched to the event of the Page in the Host subsystem, the control information is sent to the YunOS Bridge Service in the Guest subsystem, and the control information may be the event or the control information related to the application component switch generated according to the event. . Further, after receiving the event, the ActivityManagerService also manages the corresponding Activity of the subsystem according to the event.
举例来说,用于表明从Activity切换到Host子系统中的Page的事件,可以包括以下事件中的一种:For example, an event that indicates a switch from an Activity to a Page in the Host subsystem can include one of the following events:
-Guest子系统中的Activity启动Host子系统中的Page;- The Activity in the Guest subsystem starts the Page in the Host subsystem;
-Guest子系统中的Activity返回到Host子系统中的前一个Page。The Activity in the -Guest subsystem returns to the previous Page in the Host subsystem.
进一步地,Host子系统中的DPMS接收到来自于Guest子系统的控制信息后,根据该控制信息进行相应处理。比如,针对启动Page的操作,对该Page进行生命周期的管理;再比如,针对返回Page的操作,更新该Page的状态等。Further, after receiving the control information from the guest subsystem, the DPMS in the Host subsystem performs corresponding processing according to the control information. For example, for the operation of starting the Page, the life cycle of the Page is managed; for example, for the operation of returning the Page, the status of the Page is updated.
进一步地,Host子系统中的DPMS还可以将针对该控制信息的处理结果作为响应信息发送给Host子系统中的YunOS Bridge Service,Host子系统中的YunOS Bridge Service将该响应信息发送给Guest子系统中的ActivityManagerService。Further, the DPMS in the Host subsystem may also send the processing result for the control information as a response message to the YunOS Bridge Service in the Host subsystem, and the YunOS Bridge Service in the Host subsystem sends the response information to the Guest subsystem. ActivityManagerService.
进一步地,如果Guest子系统中的Activity启动本子系统中的其他Activity或者返回到本子系统中的其他Activity,则由Guest子系统中的ActivityManagerService针对上述Activity的切换操作进行管理,比如包括Activity的管理、ActivityStack的管理、task的管理等。Further, if the Activity in the Guest subsystem starts other activities in the subsystem or returns to other activities in the subsystem, the ActivityManagerService in the Guest subsystem manages the switching operations of the Activity, including, for example, the management of the Activity. ActivityStack management, task management, etc.
情况2:Case 2:
Host子系统中的DPMS向Guest子系统中的YunOS Bridge Service发送的控制信息,Host子系统中的YunOS Bridge Service将该控制信息发送给Guest子系统中的YunOS Bridge Service,Guest子系统中的YunOS Bridge  Service将该控制信息发送给Guest子系统中的ActivityManagerService。The control information sent by the DPMS in the Host subsystem to the YunOS Bridge Service in the Guest subsystem, the YunOS Bridge Service in the Host subsystem sends the control information to the YunOS Bridge Service in the Guest subsystem, and the YunOS Bridge in the Guest subsystem. The Service sends the control information to the ActivityManagerService in the Guest subsystem.
在一些实施例中,DPMS可在接收到用于表明从Page切换到Guest子系统中的Activity的事件后,向Host子系统中的YunOS Bridge Service发送控制信息,该控制信息具体可以是该事件,也可以是根据该事件生成的应用组件切换相关的控制信息。进一步地,DPMS收到该事件后,也会根据该事件对本子系统的相应Page进行管理。In some embodiments, the DPMS may send control information to the YunOS Bridge Service in the Host subsystem after receiving an event indicating that the activity is switched from the Page to the Guest subsystem, and the control information may specifically be the event. It may also be control information related to application component switching generated according to the event. Further, after receiving the event, the DPMS also manages the corresponding page of the subsystem according to the event.
举例来说,用于表明从Page切换到Guest子系统中的Activity的事件,可以包括以下事件中的一种:For example, an event that indicates switching from Page to an Activity in the Guest subsystem can include one of the following events:
-Host子系统中的Page启动Guest子系统中的Activity;- The Page in the Host subsystem starts the Activity in the Guest subsystem;
-Host子系统中的Page返回到Guest子系统中的前一个Activity。The Page in the -Host subsystem returns to the previous Activity in the Guest subsystem.
进一步地,Guest子系统中的ActivityManagerService接收到来自于Host子系统的控制信息后,根据该控制信息进行相应处理。比如,针对启动Activity的操作,将该Activity放入ActivityStack中;再比如,针对返回Activity的操作,将该Activity从ActivityStack中取出等。Further, after receiving the control information from the Host subsystem, the ActivityManagerService in the Guest subsystem performs corresponding processing according to the control information. For example, for the operation of starting the Activity, the Activity is placed in the ActivityStack; for example, for the operation of returning the Activity, the Activity is taken out from the ActivityStack.
进一步地,Guest子系统中的ActivityManagerService还可以将针对该控制信息的处理结果作为响应信息发送给Guest子系统中的YunOS Bridge Service,Host子系统中的YunOS Bridge Service将该响应信息发送给Host子系统中的DPMS。Further, the ActivityManagerService in the Guest subsystem may also send the processing result for the control information as a response message to the YunOS Bridge Service in the Guest subsystem, and the YunOS Bridge Service in the Host subsystem sends the response information to the Host subsystem. In the DPMS.
进一步地,如果Host子系统中的Page启动本子系统中的其他Page或者返回到本子系统中的其他Page,则由Host子系统中的DPMS针对上述Page的切换操作进行管理。Further, if the Page in the Host subsystem starts other pages in the subsystem or returns to other pages in the subsystem, the DPMS in the Host subsystem manages the switching operation of the Page.
情况3:Case 3:
Guest子系统中的WindowManagerService向Guest子系统中的YunOS Bridge Service发送的控制信息,Guest子系统中的YunOS Bridge Service将该控制信息发送给Host子系统中的YunOS Bridge Service,Host子系统 中的YunOS Bridge Service将该控制信息发送给Host子系统中的Weston,更具体地,是发送给Weston中的窗口管理模块。The control information sent by the WindowManagerService in the Guest subsystem to the YunOS Bridge Service in the Guest subsystem, and the YunOS Bridge Service in the Guest subsystem sends the control information to the YunOS Bridge Service in the Host subsystem, the Host subsystem. The YunOS Bridge Service in the control sends the control information to Weston in the Host subsystem, and more specifically to the window management module in Weston.
在一些实施例中,WindowManagerService可在接收到用于表明从Activity窗口(或UI)切换到Host子系统中的Page窗口(或UI)的事件后,向Guest子系统中的YunOS Bridge Service发送控制信息,该控制信息具体可以是该事件,也可以是根据该事件生成的窗口切换相关的控制信息。进一步地,WindowManagerService收到该事件后,也会根据该事件对本子系统的相应应用程序窗口进行管理。In some embodiments, the WindowManagerService may send control information to the YunOS Bridge Service in the Guest subsystem upon receiving an event indicating that the Activity window (or UI) is switched to the Page window (or UI) in the Host subsystem. The control information may specifically be the event, or may be control information related to window switching generated according to the event. Further, after the WindowManagerService receives the event, the corresponding application window of the subsystem is also managed according to the event.
举例来说,用于表明从Activity UI切换到Page UI的事件,可以包括以下事件中的一种:For example, an event that indicates switching from the Activity UI to the Page UI can include one of the following events:
-Guest子系统中的Activity启动Host子系统中的Page,该Page的UI被创建;- The Activity in the Guest subsystem starts the Page in the Host subsystem, and the UI of the Page is created;
-Guest子系统中的Activity返回到Host子系统中的前一个Page,该Page的UI被重绘。The Activity in the -Guest subsystem returns to the previous Page in the Host subsystem, and the UI of the Page is redrawn.
进一步地,Host子系统中Weston中的窗口管理模块接收到来自于Guest子系统的控制信息后,根据该控制信息进行相应处理。比如,针对启动Page的操作,创建该Page的UI;再比如,针对返回Page的操作,重绘该Page的UI等。Further, after receiving the control information from the Guest subsystem, the window management module in the Weston of the Host subsystem performs corresponding processing according to the control information. For example, for the operation of starting the Page, the UI of the Page is created; for example, for the operation of returning the Page, the UI of the Page is redrawed.
进一步地,Host子系统中的DPMS还可以将针对该控制信息的处理结果作为响应信息发送给Host子系统中的YunOS Bridge Service,Host子系统中的YunOS Bridge Service将该响应信息发送给Guest子系统中的ActivityManagerService。Further, the DPMS in the Host subsystem may also send the processing result for the control information as a response message to the YunOS Bridge Service in the Host subsystem, and the YunOS Bridge Service in the Host subsystem sends the response information to the Guest subsystem. ActivityManagerService.
进一步地,如果Guest子系统中的Activity启动本子系统中的其他Activity或者返回到本子系统中的其他Activity,则由Guest子系统中的WindowManagerService针对上述Activity切换操作所导致的窗口切换进行 管理,比如更新窗口状态、设置焦点等。Further, if the Activity in the Guest subsystem starts other activities in the subsystem or returns to other activities in the subsystem, the window switch caused by the Activity switching operation is performed by the WindowManagerService in the Guest subsystem. Management, such as updating window status, setting focus, and more.
情况4:Situation 4:
Host子系统中Weston中的窗口管理模块向Guest子系统中的YunOS Bridge Service发送的控制信息,Host子系统中的YunOS Bridge Service将该控制信息发送给Guest子系统中的YunOS Bridge Service,Guest子系统中的YunOS Bridge Service将该控制信息发送给Guest子系统中的WindowManagerService。The control information sent by the window management module in Weston of the Host subsystem to the YunOS Bridge Service in the Guest subsystem, and the YunOS Bridge Service in the Host subsystem sends the control information to the YunOS Bridge Service in the Guest subsystem, the Guest subsystem. The YunOS Bridge Service in the middle sends the control information to the WindowManagerService in the Guest subsystem.
在一些实施例中,Weston中的窗口管理模块可在接收到用于表明从Page窗口(或UI)切换到Guest子系统中的Activity(或UI)的事件后,向Host子系统中的YunOS Bridge Service发送控制信息,该控制信息具体可以是该事件,也可以是根据该事件生成的窗口切换相关的控制信息。进一步地,Weston中的窗口管理模块收到该事件后,也会根据该事件对本子系统的相应应用程序窗口进行管理。In some embodiments, the window management module in Weston may, after receiving an event indicating that the activity (or UI) in the Guest subsystem is switched from the Page window (or UI), to the YunOS Bridge in the Host subsystem. The service sends control information, which may be the event, or may be control information related to window switching generated according to the event. Further, after receiving the event, the window management module in Weston also manages the corresponding application window of the subsystem according to the event.
举例来说,用于表明从Page UI切换到Activity UI的事件,可以包括以下事件中的一种:For example, an event that indicates switching from the Page UI to the Activity UI can include one of the following events:
-Host子系统中的Page启动Guest子系统中的Activity,该Activity的UI被创建;- The Page in the Host subsystem starts the Activity in the Guest subsystem, and the UI of the Activity is created;
-Host子系统中的Page返回到Guest子系统中的前一个Activity,该Activity的UI被重绘。The Page in the -Host subsystem returns to the previous Activity in the Guest subsystem, and the UI of the Activity is redrawn.
进一步地,Guest子系统中的WindowManagerService接收到来自于Host子系统的控制信息后,根据该控制信息进行相应处理。比如,针对启动Activity的操作,创建该Activity的UI;再比如,针对返回Activity的操作,重绘该Activity的UI等。Further, after receiving the control information from the Host subsystem, the WindowManagerService in the Guest subsystem performs corresponding processing according to the control information. For example, for the operation of starting the Activity, create the UI of the Activity; for example, for the operation of returning the Activity, redraw the UI of the Activity.
进一步地,Guest子系统中的WindowManagerService还可以将针对该控制信息的处理结果作为响应信息发送给Guest子系统中的YunOS Bridge  Service,Host子系统中的YunOS Bridge Service将该响应信息发送给Host子系统中Weston中的窗口管理模块。Further, the WindowManagerService in the Guest subsystem may also send the processing result for the control information as a response message to the YunOS Bridge in the Guest subsystem. Service, the YunOS Bridge Service in the Host subsystem sends the response information to the window management module in Weston in the Host subsystem.
进一步地,如果Host子系统中的Page启动本子系统中的其他Page或者返回到本子系统中的其他Page,则由Host子系统中Weston中的窗口管理模块针对上述Page切换操作所导致的窗口切换进行管理,比如更新窗口状态、设置焦点等。Further, if the Page in the Host subsystem starts other pages in the subsystem or returns to other pages in the subsystem, the window management module in the Weston of the Host subsystem performs the window switching caused by the Page switching operation. Management, such as updating window status, setting focus, and more.
情况5:Case 5:
Guest子系统中的PackageManagerService向Guest子系统中的YunOS Bridge Service发送的控制信息,Guest子系统中的YunOS Bridge Service将该控制信息发送给Host子系统中的YunOS Bridge Service,Host子系统中的YunOS Bridge Service将该控制信息发送给Host子系统中的StaticPageService。The control information sent by the PackageManagerService in the Guest subsystem to the YunOS Bridge Service in the Guest subsystem, the YunOS Bridge Service in the Guest subsystem sends the control information to the YunOS Bridge Service in the Host subsystem, and the YunOS Bridge in the Host subsystem. The Service sends the control information to the StaticPageService in the Host subsystem.
在一些实施例中,PackageManagerService可在接收到用于表明从调用Host子系统中的应用程序安装包的事件后,向Guest子系统中的YunOS Bridge Service发送控制信息,该控制信息具体可以是该事件,也可以是根据该事件生成的应用程序安装包调用相关的控制信息。In some embodiments, the PackageManagerService may send control information to the YunOS Bridge Service in the Guest subsystem after receiving an event indicating that the application installation package in the Host subsystem is invoked, the control information may specifically be the event. It can also be related to the control information generated by the application installation package generated by the event.
进一步地,Host子系统中的StaticPageService接收到来自于Guest子系统的控制信息后,根据该控制信息进行相应处理。Further, after receiving the control information from the Guest subsystem, the StaticPageService in the Host subsystem performs corresponding processing according to the control information.
进一步地,Host子系统中的StaticPageService还可以将针对该控制信息的处理结果作为响应信息发送给Host子系统中的YunOS Bridge Service,Host子系统中的YunOS Bridge Service将该响应信息发送给Guest子系统中的PackageManagerService。Further, the StaticPageService in the Host subsystem may also send the processing result for the control information as a response message to the YunOS Bridge Service in the Host subsystem, and the YunOS Bridge Service in the Host subsystem sends the response information to the Guest subsystem. The PackageManagerService in .
进一步地,如果Guest子系统中的应用程序安装包被调用,则由Guest子系统中的PackageManagerService进行管理。Further, if the application installation package in the Guest subsystem is invoked, it is managed by the PackageManagerService in the Guest subsystem.
情况6: Case 6:
Host子系统中的StaticPageService向Host子系统中的YunOS Bridge Service发送的控制信息,Host子系统中的YunOS Bridge Service将该控制信息发送给Guest子系统中的YunOS Bridge Service,Guest子系统中的YunOS Bridge Service将该控制信息发送给Guest子系统中的PackageManagerService。The control information sent by the StaticPageService in the Host subsystem to the YunOS Bridge Service in the Host subsystem, the YunOS Bridge Service in the Host subsystem sends the control information to the YunOS Bridge Service in the Guest subsystem, and the YunOS Bridge in the Guest subsystem. The Service sends the control information to the PackageManagerService in the Guest subsystem.
在一些实施例中,StaticPageService可在接收到用于表明从调用Guest子系统中的应用程序安装包的事件后,向Host子系统中的YunOS Bridge Service发送控制信息,该控制信息具体可以是该事件,也可以是根据该事件生成的应用程序安装包调用相关的控制信息。In some embodiments, the StaticPageService may send control information to the YunOS Bridge Service in the Host subsystem after receiving an event indicating that the application installation package in the Guest subsystem is invoked, the control information may specifically be the event. It can also be related to the control information generated by the application installation package generated by the event.
进一步地,Guest子系统中的PackageManagerService接收到来自于Host子系统的控制信息后,根据该控制信息进行相应处理。Further, after receiving the control information from the Host subsystem, the PackageManagerService in the Guest subsystem performs corresponding processing according to the control information.
进一步地,Guest子系统中的PackageManagerService还可以将针对该控制信息的处理结果作为响应信息发送给Guest子系统中的YunOS Bridge Service,Guest子系统中的YunOS Bridge Service将该响应信息发送给Host子系统中的StaticPageService。Further, the PackageManagerService in the Guest subsystem may also send the processing result for the control information as a response message to the YunOS Bridge Service in the Guest subsystem, and the YunOS Bridge Service in the Guest subsystem sends the response information to the Host subsystem. In the StaticPageService.
进一步地,如果Host子系统中的应用程序安装包被调用,则由Host子系统中的StaticPageService进行管理。Further, if the application installation package in the Host subsystem is called, it is managed by the StaticPageService in the Host subsystem.
在实际应用场景中,当发生子系统间切换时,上述多种情况可能同时发生,也可能仅发生其中的一种。比如当从Activity切换到Page时,上述情况1和情况3可能同时发生。In actual application scenarios, when inter-subsystem switching occurs, the above various situations may occur simultaneously, or only one of them may occur. For example, when switching from Activity to Page, Case 1 and Case 3 above may occur at the same time.
通过以上描述可以看出,在上述YunOS系统框架内,YunOS(Host子系统)应用与Android(Guest子系统)应用可以基于各自的子系统独立运行,但存在应用之间切换的情况下,可通过上述方法通知切换目标所在的子系统进行管理,使得原本两个系统的应用在生命周期上有着互相启动互相返回的融合,用户体验上有着一致的应用启动和返回方式,从而将 Android应用融合到了YunOS的应用中。As can be seen from the above description, within the above-mentioned YunOS system framework, the YunOS (Host Subsystem) application and the Android (Guest Subsystem) application can operate independently based on their respective subsystems, but in the case of switching between applications, The above method notifies the subsystem in which the handover target is located for management, so that the applications of the two systems have mutual integration and mutual return on the life cycle, and the user experience has a consistent application startup and return mode, thereby Android applications are integrated into the YunOS application.
(二)窗口层面的双系统兼容方案(2) Dual system compatibility scheme at the window level
本申请实施例中,Guest子系统中的WindowManagerService可向SurfaceFlinger发送窗口信息,SurfaceFlinger将该窗口信息发送给Host子系统中的Weston,Weston可根据从SurfaceFlinger接收到的窗口信息以及Weston中的窗口信息,进行窗口显示。In the embodiment of the present application, the WindowManagerService in the Guest subsystem may send the window information to the SurfaceFlinger, and the SurfaceFlinger sends the window information to the Weston in the Host subsystem, and the Weston may according to the window information received from the SurfaceFlinger and the window information in the Weston. The window is displayed.
其中,上述过程中涉及的窗口可包括应用程序窗口和/或操作系统窗口,或者其他类型的窗口,本申请实施例对此不作限制。The window involved in the foregoing process may include an application window and/or an operating system window, or other types of windows, which are not limited in this embodiment of the present application.
优选地,Weston可按照窗口显示规则,根据从SurfaceFlinger接收到的窗口信息以及Weston中的窗口信息,进行窗口显示。Preferably, Weston can display the window according to the window display rule, based on the window information received from SurfaceFlinger and the window information in Weston.
其中,窗口信息可包括以下之一或任意组合:Wherein, the window information may include one or any combination of the following:
-窗口类型信息- window type information
可以从多种角度对窗口类型进行划分,比如系统级窗口(比如操作系统提供的UI)和应用级窗口(比如应用程序提供的UI);再比如,浮动UI和非浮动UI;再比如,可交互类窗口(比如能够提供与用户交互功能,接收和响应用户操作)和不可交互类窗口等等。Window types can be divided from a variety of perspectives, such as system-level windows (such as the UI provided by the operating system) and application-level windows (such as the UI provided by the application); for example, floating UI and non-floating UI; for example, Interactive class windows (such as the ability to provide interaction with the user, receive and respond to user actions) and non-interactive class windows, and so on.
-窗口状态信息- window status information
窗口状态可包括可见、非可见等等。Window states can include visible, non-visible, and the like.
-窗口布局信息- window layout information
窗口布局可包括全屏显示还是半屏显示等。The window layout can include full screen display or half screen display.
-窗口显示属性信息- window display attribute information
窗口显示属性信息可包括显示颜色、透明度等多种属性参数中的一种或多种。The window display attribute information may include one or more of a plurality of attribute parameters such as display color, transparency, and the like.
上述方案可应用于在YunOS架构下,不同子系统的应用程序同时开启的场景。通过上述方法,可由Host子系统的图形合成器(Weston)对不同 子系统的窗口进行统一管理,从而可以使不同子系统的窗口进行合理显示。The above solution can be applied to scenarios in which applications of different subsystems are simultaneously opened under the YunOS architecture. Through the above method, it can be different by the graphics synthesizer (Weston) of the Host subsystem. The subsystem's windows are managed in a unified manner, so that the windows of different subsystems can be displayed reasonably.
在一些实施例中,为了合理布局和管理不同子系统的窗口,可在Host子系统的图形合成器中预先设置窗口显示规则,举例来说,窗口显示规则可包括以下规则中的一种或多种:In some embodiments, in order to properly layout and manage windows of different subsystems, window display rules may be preset in a graphics synthesizer of the Host subsystem. For example, the window display rules may include one or more of the following rules. Kind:
-窗口焦点设置规则- window focus setting rules
Weston可根据窗口焦点设置规则确定焦点所在的窗口并进行窗口焦点设置。优选地,窗口焦点设置规则中可包括以下规则:各种窗口类型所对应的焦点设置优先级。比如,应用级窗口的优先级可高于系统级窗口的优先级,这样可方便用户使用应用程序;再比如,系统级窗口中,系统主界面的优先级可高于其他系统级窗口。Weston can determine the window in focus and set the window focus according to the window focus setting rules. Preferably, the following rules may be included in the window focus setting rule: the focus setting priority corresponding to the various window types. For example, the priority of the application-level window can be higher than the priority of the system-level window, which is convenient for the user to use the application; for example, in the system-level window, the priority of the system main interface can be higher than other system-level windows.
更优地,远程交互类窗口所对应的焦点设置优先级,可高于其他类型窗口所对应的焦点设置优先级,比如对于可接收遥控器控制信号的窗口,其获得焦点的优先级高于无法接收遥控器控制信号的窗口(比如状态条窗口),这样比较符合用户操作习惯(使用遥控器进行控制的操作的可能性通常大于针对状态条进行操作的可能性),方便用户操作。Preferably, the focus corresponding to the remote interaction class window is set to a priority, which may be higher than the focus setting corresponding to other types of windows. For example, for a window that can receive the remote control signal, the priority of obtaining the focus is higher than the priority. A window that receives the remote control signal (such as a status bar window), which is more in line with the user's operating habits (the possibility of using the remote control to control the operation is usually greater than the possibility of operating the status bar), which is convenient for the user to operate.
针对当前有N个需要显示的场景,在具体实施时,Weston可根据这N个窗口信息获取这N个窗口的窗口类型,并根据窗口焦点设置规则以及这N个窗口的窗口类型,确定这N个窗口中焦点所在的窗口。For the current scenes that need to be displayed, in the specific implementation, Weston can obtain the window types of the N windows according to the N window information, and determine the N according to the window focus setting rules and the window types of the N windows. The window in which the focus is in the window.
-窗口位置设置规则- Window position setting rules
Weston可根据窗口位置设置规则确定窗口所在的位置。具体地,窗口所在的位置可与窗口类型和/或窗口布局相关。例如,如果状态条窗口和视频窗口当前被开启,则可将状态条窗口设置在视频窗口上边缘位置。Weston can determine where the window is located based on the window location setting rules. In particular, the location of the window can be related to the window type and/or window layout. For example, if the status bar window and the video window are currently open, the status bar window can be set to the upper edge position of the video window.
相应地,在根据窗口位置设置规则进行窗口显示时,可根据窗口信息获取窗口类型和/或窗口布局,根据窗口类型和/或窗口布局以及窗口位置 设置规则确定窗口位置并进行窗口显示。Correspondingly, when the window is displayed according to the window position setting rule, the window type and/or the window layout can be obtained according to the window information, according to the window type and/or the window layout and the window position. Set the rules to determine the window position and display the window.
-窗口Z序(z-order)排列规则- window z-order (z-order) arrangement rules
Weston可根据窗口z-order设置规则确定窗口的z-order。优选地,窗口Z序排列规则中可包括以下规则:各种窗口类型所对应的Z序排列顺序。优选地,浮动UI通常在最上层。Weston can determine the z-order of the window based on the window z-order setting rules. Preferably, the window Z-ordering rule may include the following rules: a Z-ordering order corresponding to the various window types. Preferably, the floating UI is usually at the top.
针对当前有N个窗口需要显示的场景,在具体实施时,在根据窗口Z序排列规则进行窗口显示时,Weston可根据这N个窗口的窗口信息获取这N个窗口的窗口类型,并根据窗口Z序排列规则以及这N个窗口的窗口类型,确定这N个窗口的Z序排列顺序。For the scene where there are currently N windows to be displayed, in the specific implementation, when the window is displayed according to the window Z-ordering rules, Weston can obtain the window types of the N windows according to the window information of the N windows, and according to the window The Z-ordering rules and the window types of the N windows determine the Z-ordering order of the N windows.
图4示出了两个子系统在窗口级混合显示的架构示意图。如图所示,Guest子系统中的WindowManagerService将其所管理的窗口对象的窗口信息,比如窗口状态(WindowState)或surface(表面)等通过作为client的ComposerService发送给Guest子系统中的SurfaceFlinger,更具体地是发送给SurfaceFlinger中的layer。SurfaceFlinger将该窗口信息发送给Host子系统的Weston,具体可通过Waland协议进行交互。Weston一方面接收SurfaceFlinger发送来的窗口信息,另一方面接收本子系统的窗口信息(如图中的PageWindow传递来的窗口信息),Weston可根据窗口显示规则,对两个子系统的窗口进行统一管理。Figure 4 shows a schematic diagram of the architecture of two subsystems mixed at the window level. As shown in the figure, the WindowManagerService in the Guest subsystem sends the window information of the window object it manages, such as the window state (WindowState) or surface (surface), to the SurfaceFlinger in the Guest subsystem through the ComposerService as the client, which is more specific. The ground is sent to the layer in SurfaceFlinger. SurfaceFlinger sends the window information to Weston of the Host subsystem, which can be interacted through the Waland protocol. On the one hand, Weston receives the window information sent by SurfaceFlinger, and on the other hand receives the window information of the subsystem (such as the window information transmitted by PageWindow in the figure). Weston can manage the windows of the two subsystems according to the window display rules.
可以看出,Host子系统中的窗口管理模块控制与调度Host子系统的窗口显示,以及Guest子系统的窗口显示,协调与管理着两个系统中各个窗口创建、销毁、屏幕布局、窗口z-order、焦点设置等。It can be seen that the window management module in the Host subsystem controls and displays the window display of the Host subsystem, and the window display of the Guest subsystem, coordinates and manages the creation, destruction, screen layout, and window z- of each of the two systems. Order, focus settings, etc.
作为一个例子,Guest子系统中有2个应用开启,分别打开窗口A和窗口B;Host子系统中有1个应用开启,对应的窗口为窗口C。这种情况下,Guest子系统中的WindowManagerService中管理以下信息:窗口A和窗口B的类型(系统级,应用级)、窗口状态、窗口布局(全屏/半屏)等 信息,通过上述机制这些窗口信息被发送给YunOS的Weston中的窗口管理模块WindowManager;YunOS的WindowManager基于窗口显示规则确定窗口A、窗口B和窗口C的显示方式(包括窗口位置,Z-order,焦点所在窗口等),从而由YunOS的图形合成器进行显示。从用户使用角度来看,用户无法感知此刻屏幕上到底哪些窗口是YunOS系统的哪些是Android系统的,从而视觉上和操控上呈现一致性的融合效果,提升用户体验。As an example, there are 2 applications in the Guest subsystem, which open window A and window B respectively; one application in the Host subsystem is opened, and the corresponding window is window C. In this case, the WindowManagerService in the Guest subsystem manages the following information: Window A and Window B types (system level, application level), window status, window layout (full screen / half screen), etc. Information, through the above mechanism, these window information is sent to the window management module WindowManager in Yunon's Weston; YunOS's WindowManager determines the display mode of window A, window B and window C based on the window display rules (including window position, Z-order, focus) The window, etc.), which is displayed by the YunOS graphics synthesizer. From the user's point of view, the user can't perceive which windows on the screen are the Android system of the YunOS system at the moment, so that the visual and control effects are consistent and enhance the user experience.
图5示例性地示出了基于本申请实施例提供的窗口层面的双系统兼容方案,在屏幕上显示多个应用程序的窗口的示例。FIG. 5 exemplarily shows an example of displaying a window of a plurality of applications on a screen based on a dual-system compatibility scheme of a window level provided by an embodiment of the present application.
如图5所示,设备100的屏幕上可显示多个应用程序的窗口,在本例子中这些应用程序窗口可包括:As shown in FIG. 5, windows of a plurality of applications may be displayed on the screen of the device 100. In this example, the application windows may include:
状态条(Host Status Bar)501,是为Host子系统中的系统级窗口,用于显示系统状态信息;The Status Status Bar 501 is a system level window in the Host subsystem for displaying system status information.
音量控制窗口(Android Volume Control)502,是Guest子系统中的系统级窗口,用于调节音量;The Volume Control window (Android Volume Control) 502 is a system level window in the Guest subsystem for adjusting the volume;
悬浮UI(Android Floating UI)503,是Guest子系统中的应用级窗口,被触发时用于实现系统性能优化服务;The floating UI (Android Floating UI) 503 is an application-level window in the Guest subsystem, and is used to implement system performance optimization services when triggered.
焦点(focus)可远程控制的播放UI(Host Player UI with remote)504,是Host子系统中的应用级窗口,可接收遥控器200发送的控制信号并进行响应,实现视频播放控制功能;A remotely controlled playback UI (Host Player UI with remote) 504 is an application-level window in the Host subsystem, and can receive a control signal sent by the remote controller 200 and respond to implement a video playback control function.
视频表面(Host Video Surface)505,是Host子系统中的应用级窗口,用于显示视频。The Host Video Surface 505 is an application-level window in the Host subsystem for displaying video.
在一种场景中,设备100上,当前显示有状态条(Host Status Bar)501、音量控制窗口(Android Volume Control)502、焦点(focus)可远程控制的播放UI(Host Player UI with remote)504、视频表面(Host Video Surface)505,视频表面(Host Video Surface)505正在播放一个视频。 In a scenario, on the device 100, a status bar (501), a volume control window (502), and a remotely controllable UI (Host Player UI with remote) 504 are currently displayed. , Video Video Surface 505, Host Video Surface 505 is playing a video.
此时用户触发音量控制窗口502调节了音量,并试图快进视频内容,此时后台资源开销较大,因此悬浮UI(Android Floating UI)503显示在屏幕上,供用户选择进行系统性能优化。此时,设备100的桌面上显示有多种应用的窗口,且其中有些窗口是Host子系统中的窗口,有些窗口是Guest子系统中的窗口,这些窗口的Z-order和布局,可Host子系统中的图形合成器基于设置的窗口显示规则来确定。在这个例子中,上述各窗口的Z-order顺序以及窗口布局可参见图5。At this time, the user triggers the volume control window 502 to adjust the volume and attempts to fast forward the video content. At this time, the background resource overhead is large, so the floating UI (Android Floating UI) 503 is displayed on the screen for the user to select for system performance optimization. At this time, the window of the application 100 is displayed on the desktop of the device 100, and some of the windows are windows in the Host subsystem, and some of the windows are windows in the Guest subsystem. The Z-order and layout of the windows can be Host. The graphics synthesizer in the system is determined based on the set window display rules. In this example, the Z-order order and window layout of each of the above windows can be seen in FIG.
从用户角度来说,无法感知此刻桌面上哪些窗口是Host子系统的窗口,哪些窗口是Guest子系统的窗口,从而视觉上和操控上呈现一致性的融合效果,提升用户体验。From the user's point of view, it is impossible to perceive which windows on the desktop are the windows of the Host subsystem, and which windows are the windows of the Guest subsystem, thereby providing a consistent fusion effect visually and manipulated to enhance the user experience.
基于相同的技术构思,本申请实施例提供了一种窗口显示系统,该系统可实现前述实施例提供的窗口显示方法。Based on the same technical concept, the embodiment of the present application provides a window display system, which can implement the window display method provided by the foregoing embodiment.
参见图6,为本申请实施例提供的窗口显示系统的结构示意图,该系统可包括:FIG. 6 is a schematic structural diagram of a window display system according to an embodiment of the present disclosure, where the system may include:
第二图形合成器62,用于接收第二子系统的窗口管理模块61发送的窗口信息,将所述窗口信息发送给第一图形合成器;第一图形合成器63为第一子系统中的图形合成器,第二图形合成器62为第二子系统中的图形合成器;a second graphics synthesizer 62, configured to receive window information sent by the window management module 61 of the second subsystem, and send the window information to the first graphics synthesizer; the first graphics synthesizer 63 is in the first subsystem a graphics synthesizer, the second graphics synthesizer 62 is a graphics synthesizer in the second subsystem;
第一图形合成器63,用于根据从第二图形合成器62接收到的窗口信息以及第一子系统中的窗口管理模块(未在图中示出)发送的窗口信息,进行窗口显示。The first graphics synthesizer 63 is configured to perform window display according to the window information received from the second graphics synthesizer 62 and the window information sent by the window management module (not shown in the figure) in the first subsystem.
优选地,第一图形合成器63具体用于:按照窗口显示规则,根据从第二图形合成器接收到的窗口信息以及第一子系统中的窗口管理模块发送的窗口信息,进行窗口显示。Preferably, the first graphics synthesizer 63 is specifically configured to: according to the window display rule, perform window display according to the window information received from the second graphics synthesizer and the window information sent by the window management module in the first subsystem.
其中,所述窗口显示规则包括以下规则中的一种或任意组合: The window display rule includes one or any combination of the following rules:
窗口焦点设置规则;Window focus setting rules;
窗口位置设置规则;Window position setting rules;
窗口Z序排列规则。Window Z ordering rules.
其中,所述窗口焦点设置规则中包括以下规则:各种窗口类型所对应的焦点设置优先级。The window focus setting rule includes the following rules: a focus setting priority corresponding to each window type.
其中,第一图形合成器63具体用于:根据窗口位置设置规则进行窗口显示时执行:根据所述窗口信息获取窗口类型和/或窗口布局,根据窗口类型和/或窗口布局以及窗口位置设置规则进行窗口显示。The first graphics synthesizer 63 is specifically configured to: perform window display according to the window position setting rule: obtain a window type and/or a window layout according to the window information, and set a rule according to the window type and/or the window layout and the window position. The window is displayed.
其中,所述窗口Z序排列规则中包括以下规则:各种窗口类型所对应的Z序排列顺序。The window Z-ordering rule includes the following rules: a Z-ordering order corresponding to each window type.
优选地,所述窗口信息包括以下之一或任意组合:Preferably, the window information comprises one or any combination of the following:
窗口类型信息;Window type information;
窗口状态信息;Window status information;
窗口布局信息;Window layout information;
窗口显示属性信息。The window displays the attribute information.
优选地,所述第一子系统为Host子系统,所述第二子系统为Guest子系统。Preferably, the first subsystem is a Host subsystem, and the second subsystem is a Guest subsystem.
基于相同的技术构思,本申请实施例提供了一种信息交互系统,该系统可实现前述实施例提供的信息交互流程。Based on the same technical concept, the embodiment of the present application provides an information interaction system, which can implement the information interaction process provided by the foregoing embodiment.
参见图7,为本申请实施例提供的信息交互系统的结构示意图,该系统可包括:第一子系统中的第一连接服务模块71和应用管理模块73,第二子系统中的第二连接模块72和应用管理模块74,其中:FIG. 7 is a schematic structural diagram of an information interaction system according to an embodiment of the present application. The system may include: a first connection service module 71 and an application management module 73 in the first subsystem, and a second connection in the second subsystem. Module 72 and application management module 74, wherein:
第二连接服务模块72,用于接收第二子系统中的应用管理模块74发送的控制信息;以及,将所述控制信息发送给第一子系统中的第一连接服务模块71; The second connection service module 72 is configured to receive the control information sent by the application management module 74 in the second subsystem; and send the control information to the first connection service module 71 in the first subsystem;
第一连接服务模块71,用于将所述控制信息发送给第一子系统中的应用管理模块73。The first connection service module 71 is configured to send the control information to the application management module 73 in the first subsystem.
优选地,第一连接服务模块71还用于:接收第一子系统中的应用管理模块73根据所述控制信息返回的响应信息,将所述响应信息发送给所述第二连接服务模块72;Preferably, the first connection service module 71 is further configured to: receive the response information returned by the application management module 73 in the first subsystem according to the control information, and send the response information to the second connection service module 72;
第二连接服务模块72还用于:将所述响应信息发送给第二子系统中的应用管理模块74。The second connection service module 72 is further configured to: send the response information to the application management module 74 in the second subsystem.
优选地,所述应用管理模块包括以下模块中的一种或多种:Preferably, the application management module comprises one or more of the following modules:
组件管理模块,用于对应用程序组件或服务组件进行管理;a component management module for managing application components or service components;
窗口管理模块,用于对应用程序窗口进行管理;a window management module for managing an application window;
安装包管理模块,用于对应用程序安装包进行管理。The installation package management module is used to manage the application installation package.
优选地,发送所述控制信息的第二子系统中的应用管理模块包括:活动管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:动态服务组件管理服务DPMS;或者,Preferably, the application management module in the second subsystem that sends the control information includes: an activity management module; the application management module in the first subsystem that receives the control information includes: a dynamic service component management service DPMS; or
发送所述控制信息的第二子系统中的应用管理模块包括:窗口管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:窗口管理模块;或者,The application management module in the second subsystem that sends the control information includes: a window management module; and the application management module in the first subsystem that receives the control information includes: a window management module; or
发送所述控制信息的第二子系统中的应用管理模块包括:安装包管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:静态服务组件管理模块。The application management module in the second subsystem that sends the control information includes: an installation package management module; and an application management module in the first subsystem that receives the control information includes: a static service component management module.
优选地,发送所述控制信息的第二子系统中的应用管理模块包括:DPMS;接收所述控制信息的第一子系统中的应用管理模块包括:活动管理模块;或者,Preferably, the application management module in the second subsystem that sends the control information includes: a DPMS; the application management module in the first subsystem that receives the control information includes: an activity management module; or
发送所述控制信息的第二子系统中的应用管理模块包括:窗口管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:窗口管理模 块;或者,The application management module in the second subsystem that sends the control information includes: a window management module; and the application management module in the first subsystem that receives the control information includes: a window management module Block; or,
发送所述控制信息的第二子系统中的应用管理模块包括:静态服务组件管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:安装包管理模块。The application management module in the second subsystem that sends the control information includes: a static service component management module; and an application management module in the first subsystem that receives the control information includes: an installation package management module.
优选地,第二子系统中的应用管理模块74具体用于:接收到子系统切换相关事件后,根据接收到的事件,向所述第二连接服务模块发送控制信息。Preferably, the application management module 74 in the second subsystem is specifically configured to: after receiving the subsystem switching related event, send control information to the second connection service module according to the received event.
优选地,所述第一子系统为Host子系统,所述第二子系统为Guest子系统;或者,所述第二子系统为Host子系统,所述第一子系统为Guest子系统。Preferably, the first subsystem is a Host subsystem, and the second subsystem is a Guest subsystem; or the second subsystem is a Host subsystem, and the first subsystem is a Guest subsystem.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. Instructions are provided for implementation The steps of a function specified in a block or blocks of a flow or a flow and/or a block diagram of a flow chart.
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。While the preferred embodiment of the present application has been described, it will be apparent that those skilled in the art can make further changes and modifications to the embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。 It will be apparent to those skilled in the art that various modifications and changes can be made in the present application without departing from the spirit and scope of the application. Thus, it is intended that the present invention cover the modifications and variations of the present invention.

Claims (51)

  1. 一种窗口显示方法,其特征在于,包括:A window display method, comprising:
    第二图形合成器接收第二子系统的窗口管理模块发送的窗口信息,所述第二图形合成器为第二子系统中的图形合成器;The second graphics synthesizer receives window information sent by the window management module of the second subsystem, and the second graphics synthesizer is a graphics synthesizer in the second subsystem;
    所述第二图形合成器将所述窗口信息发送给第一图形合成器,所述第一图形合成器为第一子系统中的图形合成器;The second graphics synthesizer sends the window information to a first graphics synthesizer, the first graphics synthesizer being a graphics synthesizer in the first subsystem;
    所述第一图形合成器根据从第二图形合成器接收到的窗口信息以及第一子系统中的窗口管理模块发送的窗口信息,进行窗口显示。The first graphics synthesizer performs window display according to window information received from the second graphics synthesizer and window information sent by the window management module in the first subsystem.
  2. 如权利要求1所述的方法,其特征在于,所述第一图形合成器按照窗口显示规则,根据从第二图形合成器接收到的窗口信息以及第一子系统中的窗口管理模块发送的窗口信息,进行窗口显示。The method according to claim 1, wherein said first graphics synthesizer according to a window display rule, based on window information received from said second graphics synthesizer and a window sent by a window management module in said first subsystem Information, window display.
  3. 如权利要求2所述的方法,其特征在于,所述窗口显示规则包括以下规则中的一种或任意组合:The method of claim 2 wherein said window display rule comprises one or any combination of the following rules:
    窗口焦点设置规则;Window focus setting rules;
    窗口位置设置规则;Window position setting rules;
    窗口Z序排列规则。Window Z ordering rules.
  4. 如权利要求3所述的方法,其特征在于,所述窗口焦点设置规则中包括以下规则:各种窗口类型所对应的焦点设置优先级。The method according to claim 3, wherein the window focus setting rule includes the following rules: a focus setting priority corresponding to each window type.
  5. 如权利要求3所述的方法,其特征在于,根据窗口位置设置规则进行窗口显示时,包括:The method according to claim 3, wherein when the window is displayed according to the window position setting rule, the method comprises:
    根据所述窗口信息获取窗口类型和/或窗口布局;Obtaining a window type and/or a window layout according to the window information;
    根据窗口类型和/或窗口布局以及窗口位置设置规则进行窗口显示。The window is displayed according to the window type and/or window layout and window position setting rules.
  6. 如权利要求3所述的方法,其特征在于,所述窗口Z序排列规则中包括以下规则:各种窗口类型所对应的Z序排列顺序。The method according to claim 3, wherein the window Z-ordering rule includes the following rules: a Z-ordering order corresponding to the various window types.
  7. 如权利要求1所述的方法,其特征在于,所述窗口信息包括以下之一或任意组合:The method of claim 1 wherein said window information comprises one or any combination of the following:
    窗口类型信息; Window type information;
    窗口状态信息;Window status information;
    窗口布局信息;Window layout information;
    窗口显示属性信息。The window displays the attribute information.
  8. 如权利要求1至7中任一项所述的方法,其特征在于,所述第一子系统为Host子系统,所述第二子系统为Guest子系统。The method according to any one of claims 1 to 7, wherein the first subsystem is a Host subsystem and the second subsystem is a Guest subsystem.
  9. 一种信息交互方法,其特征在于,包括:An information interaction method, comprising:
    第二子系统中的第二连接服务模块接收第二子系统中的应用管理模块发送的控制信息;The second connection service module in the second subsystem receives the control information sent by the application management module in the second subsystem;
    所述第二连接服务模块将所述控制信息发送给第一子系统中的第一连接服务模块;The second connection service module sends the control information to a first connection service module in the first subsystem;
    所述第一连接服务模块将所述控制信息发送给第一子系统中的应用管理模块。The first connection service module sends the control information to an application management module in the first subsystem.
  10. 如权利要求9所述的方法,其特征在于,还包括:The method of claim 9 further comprising:
    所述第一连接服务模块接收第一子系统中的应用管理模块根据所述控制信息返回的响应信息;The first connection service module receives response information returned by the application management module in the first subsystem according to the control information;
    所述第一连接服务模块将所述响应信息发送给所述第二连接服务模块;The first connection service module sends the response information to the second connection service module;
    所述第二连接服务模块将所述响应信息发送给第二子系统中的应用管理模块。The second connection service module sends the response information to an application management module in the second subsystem.
  11. 如权利要求9所述的方法,其特征在于,所述应用管理模块包括以下模块中的一种或多种:The method of claim 9 wherein said application management module comprises one or more of the following modules:
    组件管理模块,用于对应用程序组件或服务组件进行管理;a component management module for managing application components or service components;
    窗口管理模块,用于对应用程序窗口进行管理;a window management module for managing an application window;
    安装包管理模块,用于对应用程序安装包进行管理。The installation package management module is used to manage the application installation package.
  12. 如权利要求9所述的方法,其特征在于,The method of claim 9 wherein:
    发送所述控制信息的第二子系统中的应用管理模块包括:活动管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:动态服务组 件管理服务DPMS;或者,The application management module in the second subsystem that sends the control information includes: an activity management module; and the application management module in the first subsystem that receives the control information includes: a dynamic service group Piece management service DPMS; or,
    发送所述控制信息的第二子系统中的应用管理模块包括:窗口管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:窗口管理模块;或者,The application management module in the second subsystem that sends the control information includes: a window management module; and the application management module in the first subsystem that receives the control information includes: a window management module; or
    发送所述控制信息的第二子系统中的应用管理模块包括:安装包管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:静态服务组件管理模块。The application management module in the second subsystem that sends the control information includes: an installation package management module; and an application management module in the first subsystem that receives the control information includes: a static service component management module.
  13. 如权利要求9所述的方法,其特征在于,The method of claim 9 wherein:
    发送所述控制信息的第二子系统中的应用管理模块包括:DPMS;接收所述控制信息的第一子系统中的应用管理模块包括:活动管理模块;或者,The application management module in the second subsystem that sends the control information includes: a DPMS; the application management module in the first subsystem that receives the control information includes: an activity management module; or
    发送所述控制信息的第二子系统中的应用管理模块包括:窗口管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:窗口管理模块;或者,The application management module in the second subsystem that sends the control information includes: a window management module; and the application management module in the first subsystem that receives the control information includes: a window management module; or
    发送所述控制信息的第二子系统中的应用管理模块包括:静态服务组件管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:安装包管理模块。The application management module in the second subsystem that sends the control information includes: a static service component management module; and an application management module in the first subsystem that receives the control information includes: an installation package management module.
  14. 如权利要求9所述的方法,其特征在于,第二子系统中的应用管理模块接收到子系统切换相关事件后,根据接收到的事件,向所述第二连接服务模块发送控制信息。The method of claim 9, wherein the application management module in the second subsystem sends the control information to the second connection service module according to the received event after receiving the subsystem switching related event.
  15. 如权利要求9至14中任一项所述的方法,其特征在于,所述第一子系统为Host子系统,所述第二子系统为Guest子系统;或者,The method according to any one of claims 9 to 14, wherein the first subsystem is a Host subsystem and the second subsystem is a Guest subsystem; or
    所述第二子系统为Host子系统,所述第一子系统为Guest子系统。The second subsystem is a Host subsystem, and the first subsystem is a Guest subsystem.
  16. 一种窗口显示系统,其特征在于,包括:A window display system, comprising:
    第二图形合成器,用于接收第二子系统的窗口管理模块发送的窗口信息,所述第二图形合成器为第二子系统中的图形合成器,将所述窗口信息发送给第一图形合成器,所述第一图形合成器为第一子系统中的图形合 成器;a second graphics synthesizer, configured to receive window information sent by a window management module of the second subsystem, where the second graphics synthesizer is a graphics synthesizer in the second subsystem, and send the window information to the first graphics a synthesizer, the first graphics synthesizer is a graphics combination in the first subsystem Generator
    第一图形合成器,用于根据从第二图形合成器接收到的窗口信息以及第一子系统中的窗口管理模块发送的窗口信息,进行窗口显示。And a first graphics synthesizer configured to perform window display according to the window information received from the second graphics synthesizer and the window information sent by the window management module in the first subsystem.
  17. 如权利要求16所述的系统,其特征在于,所述第一图形合成器具体用于:按照窗口显示规则,根据从第二图形合成器接收到的窗口信息以及第一子系统中的窗口管理模块发送的窗口信息,进行窗口显示。The system according to claim 16, wherein said first graphics synthesizer is specifically configured to: according to a window display rule, according to window information received from the second graphics synthesizer and window management in the first subsystem The window information sent by the module is displayed in the window.
  18. 如权利要求17所述的系统,其特征在于,所述窗口显示规则包括以下规则中的一种或任意组合:The system of claim 17 wherein said window display rule comprises one or any combination of the following rules:
    窗口焦点设置规则;Window focus setting rules;
    窗口位置设置规则;Window position setting rules;
    窗口Z序排列规则。Window Z ordering rules.
  19. 如权利要求18所述的系统,其特征在于,所述窗口焦点设置规则中包括以下规则:各种窗口类型所对应的焦点设置优先级。The system according to claim 18, wherein said window focus setting rule includes the following rules: a focus setting priority corresponding to each window type.
  20. 如权利要求18所述的系统,其特征在于,所述第一图形合成器具体用于:根据窗口位置设置规则进行窗口显示时执行:根据所述窗口信息获取窗口类型和/或窗口布局,根据窗口类型和/或窗口布局以及窗口位置设置规则进行窗口显示。The system according to claim 18, wherein the first graphics synthesizer is specifically configured to: perform window display according to a window position setting rule: acquiring a window type and/or a window layout according to the window information, according to The window type and/or window layout and window position setting rules are displayed in the window.
  21. 如权利要求18所述的系统,其特征在于,所述窗口Z序排列规则中包括以下规则:各种窗口类型所对应的Z序排列顺序。The system according to claim 18, wherein said window Z-ordering rule includes the following rules: a Z-ordering order corresponding to the various window types.
  22. 如权利要求16所述的系统,其特征在于,所述窗口信息包括以下之一或任意组合:The system of claim 16 wherein said window information comprises one or any combination of the following:
    窗口类型信息;Window type information;
    窗口状态信息;Window status information;
    窗口布局信息;Window layout information;
    窗口显示属性信息。The window displays the attribute information.
  23. 如权利要求16至21中任一项所述的系统,其特征在于,所述第一子系统为Host子系统,所述第二子系统为Guest子系统。 The system of any of claims 16 to 21, wherein the first subsystem is a Host subsystem and the second subsystem is a Guest subsystem.
  24. 一种信息交互系统,其特征在于,包括:第一子系统中的第一连接服务模块和应用管理模块,第二子系统中的第二连接模块和应用管理模块;An information interaction system, comprising: a first connection service module and an application management module in the first subsystem, a second connection module and an application management module in the second subsystem;
    所述第二子系统中的第二连接服务模块,用于接收第二子系统中的应用管理模块发送的控制信息;以及,将所述控制信息发送给第一子系统中的第一连接服务模块;a second connection service module in the second subsystem, configured to receive control information sent by an application management module in the second subsystem; and send the control information to the first connection service in the first subsystem Module
    所述第一连接服务模块,用于将所述控制信息发送给第一子系统中的应用管理模块。The first connection service module is configured to send the control information to an application management module in the first subsystem.
  25. 如权利要求24所述的系统,其特征在于,所述第一连接服务模块还用于:接收第一子系统中的应用管理模块根据所述控制信息返回的响应信息,将所述响应信息发送给所述第二连接服务模块;The system of claim 24, wherein the first connection service module is further configured to: receive, by the application management module in the first subsystem, the response information according to the control information, and send the response information Giving the second connection service module;
    所述第二连接服务模块还用于:将所述响应信息发送给第二子系统中的应用管理模块。The second connection service module is further configured to: send the response information to an application management module in the second subsystem.
  26. 如权利要求24所述的系统,其特征在于,所述应用管理模块包括以下模块中的一种或多种:The system of claim 24 wherein said application management module comprises one or more of the following modules:
    组件管理模块,用于对应用程序组件或服务组件进行管理;a component management module for managing application components or service components;
    窗口管理模块,用于对应用程序窗口进行管理;a window management module for managing an application window;
    安装包管理模块,用于对应用程序安装包进行管理。The installation package management module is used to manage the application installation package.
  27. 如权利要求24所述的系统,其特征在于,The system of claim 24 wherein:
    发送所述控制信息的第二子系统中的应用管理模块包括:活动管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:动态服务组件管理服务DPMS;或者,The application management module in the second subsystem that sends the control information includes: an activity management module; the application management module in the first subsystem that receives the control information includes: a dynamic service component management service DPMS; or
    发送所述控制信息的第二子系统中的应用管理模块包括:窗口管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:窗口管理模块;或者,The application management module in the second subsystem that sends the control information includes: a window management module; and the application management module in the first subsystem that receives the control information includes: a window management module; or
    发送所述控制信息的第二子系统中的应用管理模块包括:安装包管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:静态服务 组件管理模块。The application management module in the second subsystem that sends the control information includes: an installation package management module; and an application management module in the first subsystem that receives the control information includes: a static service Component management module.
  28. 如权利要求24所述的系统,其特征在于,The system of claim 24 wherein:
    发送所述控制信息的第二子系统中的应用管理模块包括:DPMS;接收所述控制信息的第一子系统中的应用管理模块包括:活动管理模块;或者,The application management module in the second subsystem that sends the control information includes: a DPMS; the application management module in the first subsystem that receives the control information includes: an activity management module; or
    发送所述控制信息的第二子系统中的应用管理模块包括:窗口管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:窗口管理模块;或者,The application management module in the second subsystem that sends the control information includes: a window management module; and the application management module in the first subsystem that receives the control information includes: a window management module; or
    发送所述控制信息的第二子系统中的应用管理模块包括:静态服务组件管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:安装包管理模块。The application management module in the second subsystem that sends the control information includes: a static service component management module; and an application management module in the first subsystem that receives the control information includes: an installation package management module.
  29. 如权利要求24所述的系统,其特征在于,所述第二子系统中的应用管理模块具体用于:接收到子系统切换相关事件后,根据接收到的事件,向所述第二连接服务模块发送控制信息。The system according to claim 24, wherein the application management module in the second subsystem is specifically configured to: after receiving the subsystem switching related event, serve the second connection according to the received event The module sends control information.
  30. 如权利要求24至29中任一项所述的系统,其特征在于,所述第一子系统为Host子系统,所述第二子系统为Guest子系统;或者,The system according to any one of claims 24 to 29, wherein the first subsystem is a Host subsystem and the second subsystem is a Guest subsystem; or
    所述第二子系统为Host子系统,所述第一子系统为Guest子系统。The second subsystem is a Host subsystem, and the first subsystem is a Guest subsystem.
  31. 一种窗口显示方法,其特征在于,包括:A window display method, comprising:
    第一图形合成器接收第二图形合成器发送的窗口信息;其中,所述第一图形合成器为第一子系统中的图形合成器,所述第二图形合成器为第二子系统中的图形合成器;The first graphics synthesizer receives window information sent by the second graphics synthesizer; wherein the first graphics synthesizer is a graphics synthesizer in the first subsystem, and the second graphics synthesizer is in the second subsystem Graphic synthesizer
    所述第一图形合成器根据从第二图形合成器接收到的窗口信息以及第一子系统中的窗口管理模块发送的窗口信息,进行窗口显示。The first graphics synthesizer performs window display according to window information received from the second graphics synthesizer and window information sent by the window management module in the first subsystem.
  32. 如权利要求31所述的方法,其特征在于,第一图形合成器接收第二图形合成器发送的窗口信息之前,还包括:The method of claim 31, wherein before the first graphics synthesizer receives the window information sent by the second graphics synthesizer, the method further includes:
    第二图形合成器接收第二子系统的窗口管理模块发送的窗口信息;The second graphics synthesizer receives the window information sent by the window management module of the second subsystem;
    所述第二图形合成器将所述窗口信息发送给第一图形合成器。 The second graphics synthesizer transmits the window information to the first graphics synthesizer.
  33. 如权利要求31所述的方法,其特征在于,所述第一图形合成器按照窗口显示规则,根据从第二图形合成器接收到的窗口信息以及第一子系统中的窗口管理模块发送的窗口信息,进行窗口显示。The method according to claim 31, wherein said first graphics synthesizer according to window display rules, based on window information received from said second graphics synthesizer and a window sent by said window management module in said first subsystem Information, window display.
  34. 如权利要求33所述的方法,其特征在于,所述窗口显示规则包括以下规则中的一种或任意组合:The method of claim 33, wherein the window display rule comprises one or any combination of the following rules:
    窗口焦点设置规则;Window focus setting rules;
    窗口位置设置规则;Window position setting rules;
    窗口Z序排列规则。Window Z ordering rules.
  35. 如权利要求34所述的方法,其特征在于,所述窗口焦点设置规则中包括以下规则:各种窗口类型所对应的焦点设置优先级。The method according to claim 34, wherein the window focus setting rule includes the following rules: a focus setting priority corresponding to each window type.
  36. 如权利要求34所述的方法,其特征在于,根据窗口位置设置规则进行窗口显示时,包括:The method according to claim 34, wherein when the window is displayed according to the window position setting rule, the method comprises:
    根据所述窗口信息获取窗口类型和/或窗口布局;Obtaining a window type and/or a window layout according to the window information;
    根据窗口类型和/或窗口布局以及窗口位置设置规则进行窗口显示。The window is displayed according to the window type and/or window layout and window position setting rules.
  37. 如权利要求34所述的方法,其特征在于,所述窗口Z序排列规则中包括以下规则:各种窗口类型所对应的Z序排列顺序。The method according to claim 34, wherein the window Z-ordering rule includes the following rules: a Z-ordering order corresponding to the various window types.
  38. 如权利要求31所述的方法,其特征在于,所述窗口信息包括以下之一或任意组合:The method of claim 31, wherein the window information comprises one or any combination of the following:
    窗口类型信息;Window type information;
    窗口状态信息;Window status information;
    窗口布局信息;Window layout information;
    窗口显示属性信息。The window displays the attribute information.
  39. 如权利要求31至38中任一项所述的方法,其特征在于,所述第一子系统为Host子系统,所述第二子系统为Guest子系统。The method according to any one of claims 31 to 38, wherein the first subsystem is a Host subsystem and the second subsystem is a Guest subsystem.
  40. 一种信息交互方法,其特征在于,包括:An information interaction method, comprising:
    第一子系统中的第一连接服务模块接收第二子系统中的第二连接服务模块发送的控制信息; The first connection service module in the first subsystem receives the control information sent by the second connection service module in the second subsystem;
    所述第一连接服务模块将所述控制信息发送给第一子系统中的应用管理模块。The first connection service module sends the control information to an application management module in the first subsystem.
  41. 如权利要求40所述的方法,其特征在于,第一子系统中的第一连接服务模块接收第二子系统中的第二连接服务模块发送的控制信息之前,还包括:The method of claim 40, wherein before the first connection service module in the first subsystem receives the control information sent by the second connection service module in the second subsystem, the method further includes:
    第二子系统中的第二连接服务模块接收第二子系统中的应用管理模块发送的控制信息;The second connection service module in the second subsystem receives the control information sent by the application management module in the second subsystem;
    所述第二连接服务模块将所述控制信息发送给第一子系统中的第一连接服务模块。The second connection service module sends the control information to a first connection service module in the first subsystem.
  42. 如权利要求40所述的方法,其特征在于,还包括:The method of claim 40, further comprising:
    所述第一连接服务模块接收第一子系统中的应用管理模块根据所述控制信息返回的响应信息;The first connection service module receives response information returned by the application management module in the first subsystem according to the control information;
    所述第一连接服务模块将所述响应信息发送给所述第二连接服务模块,以使所述第二连接服务模块将所述响应信息发送给第二子系统中的应用管理模块。The first connection service module sends the response information to the second connection service module, so that the second connection service module sends the response information to an application management module in the second subsystem.
  43. 如权利要求40所述的方法,其特征在于,所述应用管理模块包括以下模块中的一种或多种:The method of claim 40, wherein the application management module comprises one or more of the following modules:
    组件管理模块,用于对应用程序组件或服务组件进行管理;a component management module for managing application components or service components;
    窗口管理模块,用于对应用程序窗口进行管理;a window management module for managing an application window;
    安装包管理模块,用于对应用程序安装包进行管理。The installation package management module is used to manage the application installation package.
  44. 如权利要求40所述的方法,其特征在于,The method of claim 40 wherein:
    发送所述控制信息的第二子系统中的应用管理模块包括:活动管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:动态服务组件管理服务DPMS;或者,The application management module in the second subsystem that sends the control information includes: an activity management module; the application management module in the first subsystem that receives the control information includes: a dynamic service component management service DPMS; or
    发送所述控制信息的第二子系统中的应用管理模块包括:窗口管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:窗口管理模块;或者, The application management module in the second subsystem that sends the control information includes: a window management module; and the application management module in the first subsystem that receives the control information includes: a window management module; or
    发送所述控制信息的第二子系统中的应用管理模块包括:安装包管理模块;接收所述控制信息的第一子系统中的应用管理模块包括:静态服务组件管理模块。The application management module in the second subsystem that sends the control information includes: an installation package management module; and an application management module in the first subsystem that receives the control information includes: a static service component management module.
  45. 如权利要求40至44中任一项所述的方法,其特征在于,所述第一子系统为Host子系统,所述第二子系统为Guest子系统。The method according to any one of claims 40 to 44, wherein the first subsystem is a Host subsystem and the second subsystem is a Guest subsystem.
  46. 一种信息交互方法,其特征在于,包括:An information interaction method, comprising:
    第一子系统中的第一连接服务模块接收第一子系统中的第一连接服务模块发送的控制信息;The first connection service module in the first subsystem receives the control information sent by the first connection service module in the first subsystem;
    所述第一连接服务模块将所述控制信息发送给第二子系统中的第二连接服务模块。The first connection service module sends the control information to a second connection service module in the second subsystem.
  47. 如权利要求46所述的方法,其特征在于,所述第一连接服务模块将所述控制信息发送给第二子系统中的第二连接服务模块之后,还包括:The method of claim 46, wherein after the first connection service module sends the control information to the second connection service module of the second subsystem, the method further includes:
    第二子系统中的第二连接服务模块将从所述第一连接服务模块接收到的控制信息发送给第二子系统中的应用管理模块。The second connection service module in the second subsystem sends the control information received from the first connection service module to the application management module in the second subsystem.
  48. 如权利要求47所述的方法,其特征在于,还包括:The method of claim 47, further comprising:
    所述第一连接服务模块接收第二子系统中的第二连接服务模块发送的响应信息,所述响应信息是第二子系统中的应用管理模块根据接收到的控制信息得到的;The first connection service module receives response information sent by the second connection service module in the second subsystem, where the response information is obtained by the application management module in the second subsystem according to the received control information;
    所述第一连接服务模块将所述响应信息发送给所述第一子系统中的应用管理模块。The first connection service module sends the response information to an application management module in the first subsystem.
  49. 如权利要求46所述的方法,其特征在于,所述应用管理模块包括以下模块中的一种或多种:The method of claim 46, wherein the application management module comprises one or more of the following modules:
    组件管理模块,用于对应用程序组件或服务组件进行管理;a component management module for managing application components or service components;
    窗口管理模块,用于对应用程序窗口进行管理;a window management module for managing an application window;
    安装包管理模块,用于对应用程序安装包进行管理。The installation package management module is used to manage the application installation package.
  50. 如权利要求46所述的方法,其特征在于,The method of claim 46, wherein
    发送所述控制信息的第一子系统中的应用管理模块包括:DPMS;接 收所述控制信息的第二子系统中的应用管理模块包括:活动管理模块;或者,The application management module in the first subsystem that sends the control information includes: DPMS; The application management module in the second subsystem that receives the control information includes: an activity management module; or
    发送所述控制信息的第一子系统中的应用管理模块包括:窗口管理模块;接收所述控制信息的第二子系统中的应用管理模块包括:窗口管理模块;或者,The application management module in the first subsystem that sends the control information includes: a window management module; and the application management module in the second subsystem that receives the control information includes: a window management module; or
    发送所述控制信息的第一子系统中的应用管理模块包括:静态服务组件管理模块;接收所述控制信息的第二子系统中的应用管理模块包括:安装包管理模块。The application management module in the first subsystem that sends the control information includes: a static service component management module; and the application management module in the second subsystem that receives the control information includes: an installation package management module.
  51. 如权利要求46至50中任一项所述的方法,其特征在于,所述第一子系统为Host子系统,所述第二子系统为Guest子系统。 The method according to any one of claims 46 to 50, wherein the first subsystem is a Host subsystem and the second subsystem is a Guest subsystem.
PCT/CN2017/078040 2016-03-31 2017-03-24 Window display method, information exchange method and system WO2017167126A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610201693.X 2016-03-31
CN201610201693.XA CN107291319A (en) 2016-03-31 2016-03-31 A kind of window display method, information interacting method and system

Publications (1)

Publication Number Publication Date
WO2017167126A1 true WO2017167126A1 (en) 2017-10-05

Family

ID=59963442

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/078040 WO2017167126A1 (en) 2016-03-31 2017-03-24 Window display method, information exchange method and system

Country Status (2)

Country Link
CN (1) CN107291319A (en)
WO (1) WO2017167126A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110866247A (en) * 2018-11-23 2020-03-06 北京安天网络安全技术有限公司 Security defense method and device, electronic equipment and storage medium
TWI690174B (en) * 2019-04-09 2020-04-01 聚騰科技股份有限公司 Data transmission and reception method
KR102678121B1 (en) 2021-11-30 2024-06-26 주식회사 드림에이스 Electronic device and method for container screen mirroring

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073812B (en) * 2019-06-10 2022-08-19 聚好看科技股份有限公司 Application management method on smart television and display device
CN111327761B (en) * 2020-01-19 2022-04-26 深圳市智多互动科技有限公司 Method for operating virtual android system on android mobile phone
CN112114916B (en) * 2020-08-31 2021-06-08 北京技德系统技术有限公司 Method and device for compatibly running Android application on Linux operating system
CN112363783B (en) * 2020-10-26 2022-04-08 广州视源电子科技股份有限公司 Window switching method, device, medium and interactive panel
CN113050899B (en) * 2021-02-07 2022-09-27 厦门亿联网络技术股份有限公司 Method and system for directly displaying video and UI drm based on Wayland protocol
CN113407293B (en) * 2021-08-19 2021-11-09 北京鲸鲮信息系统技术有限公司 Window management method, device, equipment and storage medium
CN114896002A (en) * 2022-04-13 2022-08-12 北京智象信息技术有限公司 Browser application window level switching method and device based on Wayland protocol

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040128569A1 (en) * 2002-12-31 2004-07-01 Wyatt David A. Robust computer subsystem power management with or without explicit operating system support
CN1731347A (en) * 2004-08-06 2006-02-08 梁肇新 Linux-based Windows software compatible layer architecture
CN101052040A (en) * 2007-05-14 2007-10-10 华中科技大学 Network interoperation system based on virtual layer and plug-in part technology
CN101171564A (en) * 2005-05-11 2008-04-30 英特尔公司 Seamless transition of operating environments in mobile systems for power optimization
CN101364940A (en) * 2008-09-09 2009-02-11 中兴通讯股份有限公司 Internal communication method for router and routing device
CN104572315A (en) * 2013-10-23 2015-04-29 华为技术有限公司 Inter-subsystem communication method, communication entities and distributed communication system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102053871B (en) * 2009-10-28 2013-03-13 中国移动通信集团公司 Application program image display method and device
US9354900B2 (en) * 2011-04-28 2016-05-31 Google Technology Holdings LLC Method and apparatus for presenting a window in a system having two operating system environments
CN102810040B (en) * 2011-05-31 2016-03-30 联想(北京)有限公司 A kind of display processing method, device and computer system
CN102981894B (en) * 2011-09-05 2016-07-06 联想(北京)有限公司 Display packing and electronic equipment
CN104077016B (en) * 2013-03-29 2018-07-24 中兴通讯股份有限公司 A kind of windows display and switching method and device
CN105320502A (en) * 2014-06-24 2016-02-10 中兴通讯股份有限公司 Terminal and multi-window displaying method for terminal
CN104360900B (en) * 2014-11-03 2020-05-12 上海迈微软件科技有限公司 Method for operating multiple operating systems, corresponding system and mobile device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040128569A1 (en) * 2002-12-31 2004-07-01 Wyatt David A. Robust computer subsystem power management with or without explicit operating system support
CN1731347A (en) * 2004-08-06 2006-02-08 梁肇新 Linux-based Windows software compatible layer architecture
CN101171564A (en) * 2005-05-11 2008-04-30 英特尔公司 Seamless transition of operating environments in mobile systems for power optimization
CN101052040A (en) * 2007-05-14 2007-10-10 华中科技大学 Network interoperation system based on virtual layer and plug-in part technology
CN101364940A (en) * 2008-09-09 2009-02-11 中兴通讯股份有限公司 Internal communication method for router and routing device
CN104572315A (en) * 2013-10-23 2015-04-29 华为技术有限公司 Inter-subsystem communication method, communication entities and distributed communication system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110866247A (en) * 2018-11-23 2020-03-06 北京安天网络安全技术有限公司 Security defense method and device, electronic equipment and storage medium
TWI690174B (en) * 2019-04-09 2020-04-01 聚騰科技股份有限公司 Data transmission and reception method
KR102678121B1 (en) 2021-11-30 2024-06-26 주식회사 드림에이스 Electronic device and method for container screen mirroring

Also Published As

Publication number Publication date
CN107291319A (en) 2017-10-24

Similar Documents

Publication Publication Date Title
WO2017167126A1 (en) Window display method, information exchange method and system
US11164280B2 (en) Graphics layer processing in a multiple operating systems framework
US11895184B2 (en) Peer to peer remote application discovery
CN108351772B (en) Identifiers across application instances
US10976981B2 (en) Remote desktop exporting
CN110300328B (en) Video playing control method and device and readable storage medium
US9323562B2 (en) Providing seamless copy-paste operations in a virtual machine environment
CN107291456B (en) Multi-screen display control method and system
US20160006803A1 (en) Providing remote access to applications through interface hooks
US11954515B1 (en) Managing signals from multiple virtual machines and controlling hardware directly or through an API by a host operating system
US11256400B2 (en) Terminal, split-screen display method for screen thereof, and storage device
US10698705B2 (en) Method and device for managing virtual desktops virtualized by a host server and allocated to terminal users, and virtual desktop server
US20240086231A1 (en) Task migration system and method
CN102298491B (en) Embedded graphical interface system and image generation method thereof
WO2016150325A1 (en) Application screen-splitting running method and device
TW201826102A (en) Execution of multiple applications on a device
CN105022627A (en) Communication method among Views in Android system
WO2015117445A1 (en) Method and device for processing task window
KR102230266B1 (en) Method and electronic device for sharing applications among a plurality of electronic devices
CN107291561B (en) Graph synthesis method, information interaction method and system
CN115640100A (en) Virtual machine information synchronization method and computer readable medium
EP2782010A1 (en) Hierarchical resource management
WO2024078337A1 (en) Display-screen selection method, and electronic device
US20240195770A1 (en) Image transmission
WO2023173896A1 (en) Communication method, electronic device and readable storage medium

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17773156

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17773156

Country of ref document: EP

Kind code of ref document: A1