WO2023138024A1 - Display device, split-screen display method and split-screen application switching method - Google Patents

Display device, split-screen display method and split-screen application switching method Download PDF

Info

Publication number
WO2023138024A1
WO2023138024A1 PCT/CN2022/109145 CN2022109145W WO2023138024A1 WO 2023138024 A1 WO2023138024 A1 WO 2023138024A1 CN 2022109145 W CN2022109145 W CN 2022109145W WO 2023138024 A1 WO2023138024 A1 WO 2023138024A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
split
application
display
interface
Prior art date
Application number
PCT/CN2022/109145
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
Priority claimed from CN202210067411.7A external-priority patent/CN114554299A/en
Priority claimed from CN202210068176.5A external-priority patent/CN114390332A/en
Application filed by 海信视像科技股份有限公司 filed Critical 海信视像科技股份有限公司
Publication of WO2023138024A1 publication Critical patent/WO2023138024A1/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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof

Landscapes

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

Abstract

The present application relates to the technical field of display, and in particular to a display device, a split-screen display method and a split-screen application switching method. The display device comprises: a user input interface, which is configured to receive an input of a user; a display, which is configured to display an image and/or an interface; and a controller, which is configured to draw, in response to a starting input and according to the size of a full-screen window during full-screen display, an interface of a first application that supports split-screen display, and control the display to display the interface of the first application in a full-screen manner; control the display to display a split-screen control on the interface of the first application; and in response to receiving a first input for the split-screen control by means of the user input interface, determine the size of a first split-screen window of a first split-screen area, re-draw the interface of the first application according to the size of the first split-screen window, determine the size of a second split-screen window of a second split-screen area, draw an application selection interface according to the size of the second split-screen window, and control the display to display the interface of the first application in the first split-screen area and display the application selection interface in the second split-screen area.

Description

一种显示设备、分屏显示及分屏应用切换方法A display device, split-screen display, and split-screen application switching method
相关申请的交叉引用Cross References to Related Applications
本申请要求在2022年01月20日提交、申请号为202210068176.5;在2022年01月20日提交、申请号为202210067411.7的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application submitted on January 20, 2022, with application number 202210068176.5; and submitted on January 20, 2022, with application number 202210067411.7, the entire contents of which are incorporated in this application by reference.
技术领域technical field
本申请涉及显示技术领域,尤其涉及一种显示设备、分屏显示及分屏应用切换方法。The present application relates to the field of display technology, and in particular to a display device, split-screen display and split-screen application switching method.
背景技术Background technique
目前在智能设备中,处于前台的应用程序(也称为应用)被限制为一个,在用户需要将两个应用程序同时在前台进行操作时,此场景给用户造成了一定不便之处。为了方便同时在前台针对两个应用程序进行操作,目前智能设备的软件系统支持分屏显示,但是智能设备上安装的一些应用程序并不支持分屏显示,而智能设备的软件系统无法获知应用程序是否支持分屏,因此直接对应用程序进行分屏显示时,可能无法正常显示应用程序的界面。At present, in smart devices, the application program (also referred to as application) in the foreground is limited to one. When the user needs to operate two application programs in the foreground at the same time, this scenario causes some inconvenience to the user. In order to facilitate the operation of two applications at the foreground at the same time, the software system of the smart device currently supports split-screen display, but some applications installed on the smart device do not support split-screen display, and the software system of the smart device cannot know whether the application supports split-screen display, so when the application is directly displayed in split-screen, the interface of the application may not be displayed normally.
发明内容Contents of the invention
本申请实施例提供一种显示设备,包括:用户输入接口,被配置为:接收用户的输入;显示器,被配置为:显示图像和/或界面;控制器,被配置为:响应于通过所述用户输入接口接收到针对第一应用的启动输入,根据全屏显示时的全屏窗口大小,绘制所述第一应用的界面,并控制所述显示器全屏显示所述第一应用的界面;控制所述显示器在所述第一应用的界面上层显示分屏控件,其中,所述第一应用支持分屏显示;响应于通过所述用户输入接口接收到针对所述分屏控件的第一输入,确定第一分屏区域对应的第一分屏窗口大小,根据所述第一分屏窗口大小,重新绘制所述第一应用的界面,以及确定第二分屏区域对应的第二分屏窗口大小,根据所述第二分屏窗口大小绘制应用选择界面,并控制所述显示器在所述第一分屏区域显示所述第一应用的界面,在所述第二分屏区域显示所述应用选择界面;其中,所述应用选择界面中包括至少一个标识,所述至少一个标识用于标识至少一个支持分屏显示的应用。The embodiment of this application provides a display device, including: user input interface, configured to receive the user's input; the display, configure: display image and/or interface; the controller is configured to respond to the startup input of the first application through the user input interface, draw the interface of the first application according to the full -screen window size when the full screen display, and control the full display of the display. The interface of the first application described in the screen is controlled; controlling the displayed screen control in the upper layer of the display interface in the first application, where the first application supports the division of the screen; in response to the first input of the first -screen screen by receiving the first input of the dividing screen control through the user input interface, determine the corresponding first -screen window size corresponding to the first sub -screen area. The interface of the application, and determining the size of the second -point screen window corresponding to the second -point screen area, draws the application selection interface according to the size of the second -sub -screen window, and controls the interface of the first application in the first sub -screen area, and the application selection interface displayed in the second -sub -screen area; where the application selection interface includes at least one logo, which is said to it until There is less logo for identification applications that support at least one -screen display.
本申请实施例提供一种用于显示设备的分屏显示方法,包括:响应于针对第一应用的启动输入,根据所述显示设备的显示器全屏显示时的全屏窗口大小,绘制所述第一应用的界面,并全屏显示所述第一应用的界面;在所述第一应用的界面上层显示分屏控件,其中,所述第一应用支持分屏显示;响应于针对所述分屏控件的第一输入,确定第一分屏区域对应的第一分屏窗口大小,根据所述第一分屏窗口大小,重新绘制所述第一应用的界面,以及确定第二分屏区域对应的第二分屏窗口大小,根据所述第二分屏窗口大小绘制应用选择界面,并在所述第一分屏区域显示所述第一应用的界面,在所述第二分屏区域显示所述应用选择界面;其中,所述应用选择界面中包括至少一个标识,所述至少一个标识用于标识至少一个支持分屏显示的应用。An embodiment of the present application provides a split-screen display method for a display device, including: in response to a start input for a first application, drawing an interface of the first application according to a full-screen window size when a display of the display device is displayed in full screen, and displaying the interface of the first application in full screen; displaying a split-screen control on an upper layer of the interface of the first application, wherein the first application supports split-screen display; in response to a first input for the split-screen control, determining a size of a first split-screen window corresponding to a first split-screen area, and redrawing the interface of the first application according to the size of the first split-screen window, And determining the size of the second split-screen window corresponding to the second split-screen area, drawing an application selection interface according to the size of the second split-screen window, displaying the interface of the first application in the first split-screen area, and displaying the application selection interface in the second split-screen area; wherein, the application selection interface includes at least one logo, and the at least one logo is used to identify at least one application that supports split-screen display.
本申请实施例提供一种用于显示设备的分屏应用切换方法,包括:响应于第一指令,以及获取分屏应用组合列表;其中,所述第一指令为所述显示器分屏显示下,所述显示设备接收到的切换分屏应用指令,所述分屏应用组合列表包括所有多个备选分屏应用组合,每一个备选分屏应用组合中包括一个主屏应用和一个副屏应用;将所述分屏应用组合列表呈现在所述显示器;响应于第一分屏应用组合选择指令,将选定分屏应用组合中的主屏应用呈现在所述显示器主屏区域,并将选定分屏应用组合中的副屏应用呈现在所述显示器副屏区域,其中,选定分屏应用组合为所述备选分屏应用组合中的一个,所述主屏区域与副屏区域不重叠。An embodiment of the present application provides a split-screen application switching method for a display device, including: responding to a first instruction, and acquiring a split-screen application combination list; wherein, the first instruction is an instruction for switching split-screen applications received by the display device under split-screen display on the display, and the split-screen application combination list includes all multiple candidate split-screen application combinations, and each candidate split-screen application combination includes a main screen application and a secondary screen application; presenting the split-screen application combination list on the display; The main screen application is presented in the main screen area of the display, and the secondary screen application in the selected split-screen application combination is presented in the display secondary screen area, wherein the selected split-screen application combination is one of the candidate split-screen application combinations, and the main screen area does not overlap with the secondary screen area.
附图说明Description of drawings
图1为根据本申请的一些实施例的场景示意图;FIG. 1 is a schematic diagram of a scene according to some embodiments of the present application;
图2为根据本申请的一些实施例的控制装置100的配置框图;FIG. 2 is a configuration block diagram of a control device 100 according to some embodiments of the present application;
图3为根据本申请的一些实施例的显示设备200的硬件配置框图;FIG. 3 is a block diagram of a hardware configuration of a display device 200 according to some embodiments of the present application;
图4为根据本申请的一些实施例的显示设备200中软件配置示意图;FIG. 4 is a schematic diagram of software configuration in the display device 200 according to some embodiments of the present application;
图5为根据本申请的一些实施例的显示设备200中应用程序的图标控件界面显示示意图;FIG. 5 is a schematic diagram of displaying an icon control interface of an application program in the display device 200 according to some embodiments of the present application;
图6为根据本申请的一些实施例的分屏显示方法的流程示意图;FIG. 6 is a schematic flowchart of a split-screen display method according to some embodiments of the present application;
图7为根据本申请的一些实施例的显示设备的界面示意图一;FIG. 7 is a first schematic diagram of an interface of a display device according to some embodiments of the present application;
图8为根据本申请的一些实施例的显示设备的界面示意图二;FIG. 8 is a second schematic diagram of an interface of a display device according to some embodiments of the present application;
图9为根据本申请的一些实施例的显示设备的界面示意图三;FIG. 9 is a third schematic diagram of an interface of a display device according to some embodiments of the present application;
图10为根据本申请的一些实施例的从全屏显示切换至分屏显示的实现方法流程图;Fig. 10 is a flowchart of a method for implementing switching from full-screen display to split-screen display according to some embodiments of the present application;
图11为根据本申请的一些实施例的显示设备的界面示意图四;FIG. 11 is a fourth schematic diagram of an interface of a display device according to some embodiments of the present application;
图12为根据本申请的一些实施例的显示设备的界面示意图五;FIG. 12 is a fifth schematic diagram of an interface of a display device according to some embodiments of the present application;
图13为根据本申请的一些实施例的从分屏显示切换至全屏显示的实现方法流程图;Fig. 13 is a flow chart of a method for switching from split-screen display to full-screen display according to some embodiments of the present application;
图14为根据本申请的一些实施例的分屏应用切换方法的流程图;FIG. 14 is a flowchart of a split-screen application switching method according to some embodiments of the present application;
图15为根据本申请的一些实施例的显示器在分屏模式下的交互界面示意图;Fig. 15 is a schematic diagram of an interactive interface of a display in a split-screen mode according to some embodiments of the present application;
图16为根据本申请的一些实施例的控制器建立分屏应用组合列表的方法流程图;Fig. 16 is a flowchart of a method for a controller to establish a split-screen application combination list according to some embodiments of the present application;
图17为根据本申请的一些实施例的控制器执行分屏应用切换方法流程图;Fig. 17 is a flow chart of a method for executing split-screen application switching by a controller according to some embodiments of the present application;
图18为根据本申请的一些实施例的控制器执行分屏应用切换方法流程图;Fig. 18 is a flowchart of a method for a controller to perform split-screen application switching according to some embodiments of the present application;
图19为根据本申请的一些实施例的显示器分屏模式下交互界面示意图;Fig. 19 is a schematic diagram of an interactive interface in a display split-screen mode according to some embodiments of the present application;
图20为根据本申请的一些实施例的显示器分屏模式下应用页面变动交互界面示意图;Fig. 20 is a schematic diagram of an application page change interactive interface in a display split-screen mode according to some embodiments of the present application;
图21为根据本申请的一些实施例的显示器应用页面变动前分屏应用列表交互界面示意图;Fig. 21 is a schematic diagram of a split-screen application list interactive interface before the display application page is changed according to some embodiments of the present application;
图22为根据本申请的一些实施例的显示器应用页面变动后分屏应用列表交互界面示意图;Fig. 22 is a schematic diagram of an interactive interface of a split-screen application list after a display application page change according to some embodiments of the present application;
图23为根据本申请的一些实施例的显示器应用跳转前交互界面示意图;Fig. 23 is a schematic diagram of an interactive interface before a display application jumps according to some embodiments of the present application;
图24为根据本申请的一些实施例的显示器应用跳转后交互界面示意图;Fig. 24 is a schematic diagram of an interactive interface after a display application jumps according to some embodiments of the present application;
图25为根据本申请的一些实施例的显示器应用跳转变动后分屏应用列表交互界面示意图;Fig. 25 is a schematic diagram of an interactive interface of a split-screen application list after a display application transition according to some embodiments of the present application;
图26为根据本申请的一些实施例的显示器应用页面变动前交互界面示意图;Fig. 26 is a schematic diagram of an interactive interface before a display application page is changed according to some embodiments of the present application;
图27为根据本申请的一些实施例的显示器退出分屏模式交互界面示意图。Fig. 27 is a schematic diagram of an interactive interface for exiting the split-screen mode of the display according to some embodiments of the present application.
具体实施方式Detailed ways
为了能够更清楚地理解本申请的上述目的、特征和优点,下面将对本申请的方案进行进一步描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。In order to better understand the above purpose, features and advantages of the present application, the solution of the present application will be further described below. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.
在下面的描述中阐述了很多具体细节以便于充分理解本申请,但本申请还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本申请的一部分实施例,而不是全部的实施例。In the following description, many specific details are set forth in order to fully understand the present application, but the present application can also be implemented in other ways than described here; obviously, the embodiments in the description are only some of the embodiments of the present application, not all of them.
本申请各实施例中使用的术语“遥控器”,是指电子设备(如本申请中公开的显示设备)的一个组件,该组件通常可在较短的距离范围内无线控制电子设备。该组件一般可以使用红外线和/或射频(Radio Frequency,RF)信号和/或蓝牙与电子设备连接,也可以包括WiFi、无线通用串行总线(Universal Serial Bus,USB)、蓝牙、动作传感器等功能模块。例如:手持式触摸遥控器,是以触摸屏中用户界面取代一般遥控装置中的大部分物理内置硬键。The term "remote controller" used in various embodiments of the present application refers to a component of an electronic device (such as the display device disclosed in this application), which can usually control the electronic device wirelessly within a relatively short distance. The component can generally use infrared and/or radio frequency (Radio Frequency, RF) signals and/or Bluetooth to connect with electronic devices, and can also include functional modules such as WiFi, wireless Universal Serial Bus (Universal Serial Bus, USB), Bluetooth, and motion sensors. For example: a hand-held touch remote controller replaces most of the physical built-in hard keys in a general remote control device with a user interface in a touch screen.
本申请实施例中,所涉及到的应用是指应用程序,该应用程序可以是指系统应用程序或者第三方应用程序。下面文中的应用和应用程序可以作相同理解。In this embodiment of the present application, the application referred to refers to an application program, and the application program may refer to a system application program or a third-party application program. The application and application program in the following text can be understood in the same way.
图1为一些实施例中的场景示意图。如图1所示,用户可通过智能设备300或控制装置100操作显示设备200,显示设备200与服务器400进行数据通信。Fig. 1 is a schematic diagram of a scene in some embodiments. As shown in FIG. 1 , the user can operate the display device 200 through the smart device 300 or the control device 100 , and the display device 200 performs data communication with the server 400 .
在一些实施例中,控制装置100可以是遥控器,遥控器和显示设备的通信包括红外协议通信或蓝牙协议通信,及其他短距离通信方式,通过无线或有线方式来控制显示设备200。用户可以通过遥控器上按键、语音输入、控制面板输入等输入用户指令,来控制显示设备200。In some embodiments, the control device 100 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication, Bluetooth protocol communication, and other short-distance communication methods, and the display device 200 is controlled wirelessly or wiredly. The user can control the display device 200 by inputting user commands through buttons on the remote control, voice input, control panel input, and the like.
在一些实施例中,也可以使用智能设备300(如移动终端、平板电脑、计算机、笔记本电脑、增强现实(Augmented Reality,AR)/虚拟现实(Virtual Reality,VR)设备等)以控制显示设备200。例如,使用在智能设备300上运行的应用程序控制显示设备200。In some embodiments, a smart device 300 (such as a mobile terminal, tablet computer, computer, notebook computer, augmented reality (Augmented Reality, AR)/virtual reality (Virtual Reality, VR) device, etc.) can also be used to control the display device 200. For example, the display device 200 is controlled using an application program running on the smart device 300 .
在一些实施例中,也可以使用智能设备300和显示设备200进行数据的通信。In some embodiments, the smart device 300 and the display device 200 may also be used for data communication.
在一些实施例中,显示设备200还可以不使用上述的智能设备300或控制装置100接收指令,而是通过触摸或者手势等接收用户的控制。In some embodiments, the display device 200 may not use the above-mentioned smart device 300 or the control device 100 to receive instructions, but receive user control through touch or gesture.
在一些实施例中,显示设备200还可以采用除了控制装置100和智能设备300之外的方式进行控制,例如,可以通过显示设备200设备内部配置的获取语音指令的模块直接接收用户的语音指令控制,也可以通过显示设备200设备外部设置的语音控制设备来接收用户的语音指令控制。In some embodiments, the display device 200 can also be controlled in a manner other than the control device 100 and the smart device 300. For example, the user's voice command control can be directly received through the module for acquiring voice commands configured inside the display device 200, or the user's voice command control can be received through the voice control device installed outside the display device 200.
在一些实施例中,可允许显示设备200通过局域网(Local Area Network,LAN)、无线局域网(Wireless Local Area Network,WLAN)和其他网络进行通信连接。服务器400可以向显示设备200提供各种内容和互动。服务器400可以是一个集群,也可以是多个集群,可以包括一类或多类服务器。In some embodiments, the display device 200 may be allowed to communicate via a local area network (Local Area Network, LAN), a wireless local area network (Wireless Local Area Network, WLAN) and other networks. The server 400 may provide various contents and interactions to the display device 200 . The server 400 may be one cluster, or multiple clusters, and may include one or more types of servers.
图2为根据一些实施例中控制装置100的配置框图。如图2所示,控制装置100包括控制器110、通信接口130、用户输入/输出接口140、存储器、供电电源。控制装置100可接收用户的输入操作指令,且将操作指令转换为显示设备200可识别和响应的指令,起用用户与显示设备200之间交互中介作用。通信接口130用于和外部通信,包含WIFI芯片,蓝牙模块,NFC或可替代模块中的至少一种。用户输入/输出接口140包含麦克风,触摸板,传感器,按键或可替代模块中的至少一种。Fig. 2 is a configuration block diagram of the control device 100 according to some embodiments. As shown in FIG. 2 , the control device 100 includes a controller 110 , a communication interface 130 , a user input/output interface 140 , a memory, and a power supply. The control device 100 can receive the user's input operation instruction, and convert the operation instruction into an instruction that the display device 200 can recognize and respond to, and play an intermediary role between the user and the display device 200 . The communication interface 130 is used for communicating with the outside, and includes at least one of a WIFI chip, a Bluetooth module, NFC or an alternative module. The user input/output interface 140 includes at least one of a microphone, a touch pad, a sensor, a key or an alternative module.
如图3所示,为一些实施例中的显示设备200的硬件配置框图,显示设备200包括调谐解调器210、通信器220、检测器230、外部装置接口240、控制器250、显示器260、音频输出接口270、用户输入接口280、以及存储器、供电电源中的至少一种,其中显示器260和音频输出接口270,均属于输出接口。As shown in FIG. 3 , it is a hardware configuration block diagram of a display device 200 in some embodiments. The display device 200 includes a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a user input interface 280, and at least one of a memory and a power supply, wherein the display 260 and the audio output interface 270 belong to the output interface.
在一些实施例中,调谐解调器210,通过有线或无线接收方式接收广播电视信号,以及从多个无线或有线广播电视信号中解调出音视频信号,如以及EPG数据信号。In some embodiments, the tuner demodulator 210 receives broadcast TV signals through wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from multiple wireless or cable broadcast TV signals.
通信器220,用于根据各种通信协议类型与外部设备或服务器进行通信的组件。例如:通信器220可以包括Wifi模块,蓝牙模块,有线以太网模块等其他网络通信协议芯片或近场通信协议芯片,以及红外接收器中的至少一种。显示设备200可以通过通信器220与外部控制装置100或服务器400建立控制信号和数据信号的发送和接收。The communicator 220 is a component for communicating with external devices or servers according to various types of communication protocols. For example: the communicator 220 may include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display device 200 may establish transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220 .
检测器230,用于采集外部环境或与外部交互的信号。例如,检测器230包括光接收器,用于采集环境光线强度的传感器;或者,检测器230包括图像采集器,如摄像头,可以用于采集外部环境场景、用户的属性或用户交互手势,再或者,检测器230包括声音采集器,如麦克风等,用于接收外部声音。The detector 230 is configured to collect signals of the external environment or interaction with the outside. For example, the detector 230 includes a light receiver, which is a sensor for collecting ambient light intensity; or, the detector 230 includes an image collector, such as a camera, which can be used to collect external environmental scenes, user attributes, or user interaction gestures; or, the detector 230 includes a sound collector, such as a microphone, for receiving external sound.
外部装置接口240可以包括但不限于如下:高清多媒体接口(High Definition Multimedia Interface,HDMI)、模拟或数据高清分量输入接口(分量)、复合视频输入接口(Composite Video Broadcast Signal,CVBS)、USB输入接口(USB)、红绿蓝(red green blue,RGB)端口等任一个或多个接口。也可以是上述多个接口形成的复合性的输入/输出接口。The external device interface 240 may include, but is not limited to, the following: any one or more interfaces such as a high-definition multimedia interface (High Definition Multimedia Interface, HDMI), an analog or data high-definition component input interface (component), a composite video input interface (Composite Video Broadcast Signal, CVBS), a USB input interface (USB), and a red green blue (red green blue, RGB) port. It may also be a composite input/output interface formed by the above-mentioned multiple interfaces.
在一些实施例中,控制器250包括处理器,视频处理器,音频处理器,图形处理器,随机存取存储器(Random Access Memory,RAM),只读存储器(Read-Only Memory,ROM),用于输入/输出的第一接口至第n接口。In some embodiments, the controller 250 includes a processor, a video processor, an audio processor, a graphics processor, a random access memory (Random Access Memory, RAM), a read-only memory (Read-Only Memory, ROM), and a first interface to an nth interface for input/output.
在一些实施例中,控制器250和调谐解调器210可以位于不同的分体设备中,即调谐解调器210也可在控制器250所在的主体设备的外置设备中,如外置机顶盒等。In some embodiments, the controller 250 and the tuner-demodulator 210 may be located in different split devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
控制器250,通过存储在存储器上各种软件控制程序,来控制显示设备的工作和响应用户的操作。控制器250控制显示设备200的整体操作。例如:响应于接收到用于选择在显示器260上显示UI对象的用户命令,控制器250便可以执行与由用户命令选择的对象有关的操作。The controller 250 controls the work of the display device and responds to user operations through various software control programs stored in the memory. The controller 250 controls the overall operations of the display device 200 . For example, in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.
在一些实施例中,控制器包括中央处理器(Central Processing Unit,CPU),视频处理器,音频处理器,图形处理器(Graphics Processing Unit,GPU),RAM,ROM,用于输入/输出的第一接口至第n接口,通信总线(Bus)等中的至少一种,其中,In some embodiments, the controller includes at least one of a central processing unit (Central Processing Unit, CPU), a video processor, an audio processor, a graphics processing unit (Graphics Processing Unit, GPU), a RAM, a ROM, a first interface to an nth interface for input/output, a communication bus (Bus), etc., wherein,
CPU处理器,用于执行存储在存储器中操作系统和应用程序指令,以及根据接收外部输入的各种交互指令,来执行各种应用程序、数据和内容,以便最终显示和播放各种音视频内容。CPU处理器,可以包括多个处理器。如,包括一个主处理器以及一个或多个子处理器;The CPU processor is used to execute the operating system and application program instructions stored in the memory, and to execute various application programs, data and content according to various interactive instructions received from the outside, so as to finally display and play various audio and video content. A CPU processor may include multiple processors. For example, including a main processor and one or more sub-processors;
显示器260包括用于呈现画面的显示屏组件,以及驱动图像显示的驱动组件,用于接收源自控制器输出的图像信号,进行显示视频内容、图像内容以及菜单操控界面的组件以及用户操控UI界面。显示器260可为液晶显示器、OLED显示器、以及投影显示器,还可以为一种投影装置和投影屏幕。The display 260 includes a display screen component for displaying images, and a drive component for driving image display, for receiving image signals output from the controller, components for displaying video content, image content, menu control interface, and user control UI interface. The display 260 can be a liquid crystal display, an OLED display, and a projection display, and can also be a projection device and a projection screen.
用户可在显示器260上显示的图形用户界面(Graphic User Interface,GUI)输入用户命令,则用户输入接口通过图形用户界面(GUI)接收用户输入命令。或者,用户可通过输入特定的声音或手势进行输入用户命令,则用户输入接口通过传感器识别出声音或手势,来接收用户输入命令。The user can input a user command on a graphical user interface (Graphic User Interface, GUI) displayed on the display 260, and the user input interface receives the user input command through the graphical user interface (GUI). Alternatively, the user may input a user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through a sensor to receive the user input command.
用户输入接口280,可用于接收用户通过控制装置100(如:显示设备本体上的实体按键,红外遥控器,或其他等)或触摸或者手势等输入的控制信号。The user input interface 280 can be used to receive control signals input by the user through the control device 100 (such as: physical buttons on the display device body, infrared remote controller, or others) or touch or gestures.
在一些实施例中,上述显示设备200可以为:电视机、手机、电脑、学习机等。In some embodiments, the above-mentioned display device 200 may be: a television, a mobile phone, a computer, a learning machine, and the like.
如图4所示,图4为根据本申请一个或多个实施例的显示设备200中软件配置示意图,如图4所示,将系统分为四层,从上至下分别为应用程序(Applications)层(简称“应用层”),应用程序框架(Application Framework)层(简称“框架层”),安卓运行时(Android runtime)和系统库层(简称“系统运行库层”),以及内核层。内核层至少包含以下驱动中的至少一种:音频驱动、显示驱动、蓝牙驱动、摄像头驱动、WIFI驱动、USB驱动、HDMI驱动、传感器驱动(如指纹传感器,温度传感器,压力传感器等)、以及电源驱动等。As shown in Figure 4, Figure 4 is a schematic diagram of the software configuration in the display device 200 according to one or more embodiments of the present application. As shown in Figure 4, the system is divided into four layers, from top to bottom are the Applications (Applications) layer (referred to as "the application layer"), the application framework (Application Framework) layer (referred to as the "framework layer"), the Android runtime (Android runtime) and the system library layer (referred to as the "system runtime layer"), and the kernel layer. The kernel layer includes at least one of the following drivers: audio driver, display driver, bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver.
在一些实施例中,如图5所示,应用程序层包含至少一个应用程序可以在显示器中显示对应的图标控件,如:直播电视应用程序图标控件、视频点播应用程序图标控件、媒体中心应用程序图标控件、应用程序中心图标控件、游戏应用图标控件等。In some embodiments, as shown in FIG. 5 , the application layer includes at least one application that can display corresponding icon controls on the display, such as: live TV application icon controls, video-on-demand application icon controls, media center application icon controls, application center icon controls, game application icon controls, and the like.
本申请实施例提供的分屏显示及分屏应用切换方法可以基于上述显示设备实现,或者基于该显示设备中可以实现该分屏显示及分屏应用切换方法的功能模块或者功能实体实现。The method for split-screen display and split-screen application switching provided in the embodiments of the present application may be implemented based on the above display device, or based on a functional module or functional entity in the display device that can implement the method for split-screen display and split-screen application switching.
下面首先来介绍本申请实施例中提供的一种显示设备及分屏显示方法。The following firstly introduces a display device and a split-screen display method provided in the embodiments of the present application.
由于目前在显示设备中,处于前台的应用程序被限制为一个,在用户需要将两个应用程序同时在前台进行操作时,这样的场景给用户造成了一定不便之处。Since currently in the display device, the application program in the foreground is limited to one, when the user needs to operate two application programs in the foreground at the same time, such a scenario causes some inconvenience to the user.
为了方便同时在前台针对两个应用程序进行操作,在一些实施例中,显示设备的软件系统支持分屏显示。但是一些情况下,显示设备上安装的一些应用程序并不支持分屏显示,而显示设备的软件系统无法获知应用程序是否支持分屏显示,在用户操作的触发下,显示设备的软件系统直接控制对应用程序进行分屏显示时,可能无法正常显示应用程序的界面。In order to facilitate simultaneous operations on two application programs in the foreground, in some embodiments, the software system of the display device supports split-screen display. However, in some cases, some applications installed on the display device do not support split-screen display, and the software system of the display device cannot know whether the application supports split-screen display. Triggered by user operations, when the software system of the display device directly controls the split-screen display of the application program, the interface of the application program may not be displayed normally.
在一些实施例中,本申请实施例中提供的分屏显示方法可以应用在手机、电视机等显示设备,本申请实施例中提供的分屏显示方法,与当前智能设备上所应用的分屏显示方法存在不同之处,例如,本申请实施例中提供的分屏显示方法,与目前手机进行分屏显示两个不同应用界面时会上下显示各自应用界面内容的一半的不同之处,主要可以包括但不限于以下几个方面:In some embodiments, the split-screen display method provided in the embodiment of the present application can be applied to display devices such as mobile phones and televisions. The split-screen display method provided in the embodiment of the present application is different from the split-screen display method currently used on smart devices. For example, the split-screen display method provided in the embodiment of the present application is different from the current mobile phone that displays two different application interfaces in a split-screen display. Half of the content of each application interface is displayed up and down, mainly including but not limited to the following aspects:
(1)目前手机中在触发分屏显示功能时,用户使用手机的分屏应用通常是通过手势触发进行分屏显示,但是电视机这类设备,通常用户不会直接触控屏幕,因此本申请实施例中,基于用户使用电视机这类显示设备的使用习惯,设置通过分屏应用呈现用于触发进行分屏显示的分屏控件,以及用于触发进行全屏显示的全屏控件,这样可以针对用户使用电视机这类显示设备的使用习惯,提供更加方便、人性化的控制方式。需要说明的是,本申请实施例中所说的分屏应用是指显示设备软件系统中的一种功能服务,并非一种应用程序,分屏应用可以设置在软件系统中的应用程序框架层中,并且在应用层可以设置对应的分屏应用的界面来呈现分频控件和全屏控件等界面显示控件。(1) At present, when triggering the split-screen display function in the mobile phone, the user uses the split-screen application of the mobile phone to trigger the split-screen display usually through gestures, but usually the user does not touch the screen directly on devices such as TVs. Therefore, in the embodiment of the present application, based on the user's usage habits of using display devices such as TVs, a split-screen control for triggering split-screen display and a full-screen control for triggering full-screen display are set to be presented through the split-screen application. It should be noted that the split-screen application mentioned in the embodiment of the present application refers to a functional service in the display device software system, not an application program. The split-screen application can be set in the application framework layer in the software system, and the corresponding interface of the split-screen application can be set in the application layer to present interface display controls such as frequency division controls and full-screen controls.
(2)目前手机中在将某一界面从全屏显示切换至分屏显示的过程中,仅仅是将屏幕区域分区显示,但是无需重新绘制该界面,仅仅是将该界面的部分内容进行显示,以平均分屏为两个显示区域为例,将某一界面从全屏显示切换至分屏显示的过程中,可以将该界面的一半显示在其中一个显示区域中。而本申请实施例中,将某一界面从全屏显示切换至分屏显示的过程中,需要重新基于分屏区域对应的分屏窗口大小绘制该界面之后,才在对应的分屏区域中去显示该界面。(2) At present, in the process of switching an interface from full-screen display to split-screen display in mobile phones, only the screen area is displayed in partitions, but there is no need to redraw the interface, only part of the content of the interface is displayed. Taking the average split screen as two display areas as an example, in the process of switching an interface from full-screen display to split-screen display, half of the interface can be displayed in one of the display areas. However, in the embodiment of the present application, in the process of switching an interface from full-screen display to split-screen display, it is necessary to redraw the interface based on the size of the split-screen window corresponding to the split-screen area before displaying the interface in the corresponding split-screen area.
(3)目前手机中从分屏显示两个不同应用的界面的分屏模式切换至全屏显示其中一个应用的界面的全屏模式的过程中,手机中需要先将一个应用退出,才能去触发将另一应用切换为全屏显示,而本申请实施例中,则可以通过相应显示区域中设置的全屏控件,控制该显示区域中对应的应用的界面直接全屏显示,交互方式更加简洁方便,人机交互性能更好。(3) At present, in the process of switching from the split-screen mode in which the interfaces of two different applications are displayed on a split screen to the full-screen mode in which one of the application interfaces is displayed in full screen, the mobile phone needs to exit one application before triggering another application to switch to full-screen display. However, in the embodiment of the present application, the full-screen control of the corresponding application interface in the display area can be controlled to directly display in full screen in the display area. The interaction method is more concise and convenient, and the human-computer interaction performance is better.
(4)本申请实施例中提供的分屏显示方法由于涉及到显示界面的重新绘制,在进行分屏显示之前,需要针对整个应用程序是否支持分屏来进行判断。但是对于目前手机支持的分屏显示来说,无需对应用进行判断,在进行分屏显示时,仅针对活动(activity)进行判断,也就是说仅支持当前界面是否支持分屏即可。(4) Since the split-screen display method provided in the embodiment of the present application involves redrawing of the display interface, it is necessary to judge whether the entire application program supports split-screen before performing split-screen display. However, for the current split-screen display supported by mobile phones, there is no need to judge the application. When split-screen display is performed, only the activity (activity) is judged, that is to say, only whether the current interface supports split-screen can be supported.
需要说明的是,上述手机、电视机均为示例性的说明,本申请实施例所提供的分屏显示方法可以应用在任意显示设备上。It should be noted that the above-mentioned mobile phones and televisions are exemplary descriptions, and the split-screen display method provided in the embodiment of the present application can be applied to any display device.
本申请实施例提供了一种显示设备。如图3所示,该显示设备200包括:用户输入接口280,被配置为:接收用户的输入;显示器260,被配置为:显示图像和/或界面;控制器250,被配置为:响应于通过用户输入接口接收到针对第一应用的启动输入,根据全屏显示时的全屏窗口大小,绘制第一应用的界面,并控制显示器260全屏显示第一应用的界面;并控制显示器206在第一应用的界面上层显示分屏控件,其中,第一应用支持分屏显示;响应于通过用户输入接口208接收到针对分屏控件的第一输入,确定第一分屏区域对应的第一分屏窗口大小,根据第一分屏窗口大小,重新绘制第一应用的界面,以及确定第二分屏区域对应的第二分屏窗口大小,根据第二分屏窗口大小绘制应用选择界面,并控制显示器260在第一分屏区域显示第一应用的界面,在第二分屏区域显示应用选择界面;其中,应用选择界面中包括至少一个标识,至少一个标识用于标识至少一个支持分屏显示的应用。An embodiment of the present application provides a display device. As shown in FIG. 3 , the display device 200 includes: a user input interface 280 configured to: receive user input; a display 260 configured to: display an image and/or interface; a controller 250 configured to: respond to receiving a start input for the first application through the user input interface, draw the interface of the first application according to the full-screen window size during full-screen display, and control the display 260 to display the interface of the first application in full screen; Split-screen display; in response to receiving the first input for the split-screen control through the user input interface 208, determine the size of the first split-screen window corresponding to the first split-screen area, redraw the interface of the first application according to the size of the first split-screen window, and determine the size of the second split-screen window corresponding to the second split-screen area, draw the application selection interface according to the size of the second split-screen window, and control the display 260 to display the interface of the first application in the first split-screen area, and display the application selection interface in the second split-screen area; Apps displayed.
本申请实施例提供一种用于显示设备的分屏显示方法,在全屏显示第一应用的界面之后,会在检测到第一应用支持分屏显示时,才会在该第一应用的界面的上层显示分屏控件这样用户在通过针对分屏控件的第一输入,触发对第一应用分屏显示时,由于已经提前检测过第一应用是支持分屏显示的,因此显示设备可以在分屏显示时,根据分屏显示时分屏区域对应的窗口大小,重新绘制分屏显示状态下第一应用的界面,以及应用选择界面,可 以保证正常的显示第一应用的界面。An embodiment of the present application provides a split-screen display method for a display device. After the interface of the first application is displayed in full screen, when it is detected that the first application supports split-screen display, the split-screen control will be displayed on the upper layer of the interface of the first application. In this way, when the user triggers the split-screen display of the first application through the first input for the split-screen control, since it has been detected in advance that the first application supports split-screen display, the display device can redraw the interface of the first application in the split-screen display state according to the window size corresponding to the split-screen area during the split-screen display during the split-screen display, and The application selection interface can ensure that the interface of the first application is normally displayed.
如图6所示,为本申请实施例提供的一种用于显示设备的分屏显示方法的流程示意图,该方法包括:As shown in FIG. 6, it is a schematic flowchart of a split-screen display method for a display device provided in an embodiment of the present application, and the method includes:
501、接收针对第一应用的启动输入。501. Receive a start input for a first application.
本申请实施例中,所涉及的各种输入(例如,启动输入、第一输入、第二输入、第三输入等),可以为用户针对第一应用的标识的点击输入,或者用户的语音输入等。In this embodiment of the present application, various inputs involved (for example, startup input, first input, second input, third input, etc.) may be the user's click input on the first application's logo, or the user's voice input.
其中,第一应用的标识可以为第一应用的图标、或者其他可以表征第一应用的控件。后文中所涉及的应用的标识也可做类似理解。Wherein, the identifier of the first application may be an icon of the first application, or other controls that may represent the first application. The identification of the application involved in the following can also be understood similarly.
本申请实施例中,点击输入可以包括单击输入或双击输入,点击输入可以为手指点击输入、也可以为通过鼠标的点击输入,还可以为通过遥控器或手机发出的点击输入。In the embodiment of the present application, the click input may include a single click input or a double click input, and the click input may be a finger click input, a mouse click input, or a click input sent by a remote control or a mobile phone.
502、响应于启动输入,根据显示设备的显示器全屏显示时的全屏窗口大小,绘制第一应用的界面,并全屏显示第一应用的界面。502. In response to the start input, draw the interface of the first application according to the full-screen window size when the display of the display device is in full-screen display, and display the interface of the first application in full screen.
示例性的,如图7所示,为本申请实施例提供的一种显示设备的界面示意图一,在用户通过启动输入启动应用1之后,显示应用1的界面61,图7中该应用1的界面61以全屏显示的方式显示。Exemplarily, as shown in FIG. 7 , it is a schematic diagram of an interface of a display device provided in the embodiment of the present application. After the user activates the application 1 by starting the input, an interface 61 of the application 1 is displayed. In FIG. 7 , the interface 61 of the application 1 is displayed in a full-screen display mode.
503、在检测到第一应用支持分屏显示时,在第一应用的界面上层显示分屏控件。503. When it is detected that the first application supports split-screen display, display a split-screen control on the upper layer of the interface of the first application.
可以理解的是,该分屏控件可以为在分屏应用的界面中的界面显示控件,第一应用的界面和该分屏应用的界面显示处于不同的图层中,其中,分屏应用的界面所在图层处于所述第一应用的界面所在图层之上。It can be understood that the split-screen control may be an interface display control in the interface of the split-screen application, and the interface of the first application and the interface display of the split-screen application are in different layers, wherein the layer where the interface of the split-screen application is located is above the layer where the interface of the first application is located.
在一些实施例中,在第一应用的界面当前以全屏显示的方式显示的情况下,分屏应用的界面中分屏控件可以响应输入,全屏控件无法响应输入。示例性的,该情况下分屏控件可以高亮显示,该全屏控件可以灰色显示。In some embodiments, when the interface of the first application is currently displayed in a full-screen manner, the split-screen control in the interface of the split-screen application can respond to input, and the full-screen control cannot respond to input. Exemplarily, in this case, the split-screen control can be highlighted, and the full-screen control can be grayed out.
在一些实施例中,在第一应用的界面当前以全屏显示的方式显示的情况下,分屏应用的界面中可以仅显示分屏控件,不显示全屏控件,以使得该情况下可以仅响应分屏控件对应的分屏功能。In some embodiments, when the interface of the first application is currently displayed in full-screen mode, only the split-screen control may be displayed in the interface of the split-screen application, and the full-screen control may not be displayed, so that in this case, only the split-screen function corresponding to the split-screen control may be responded.
示例性的,结合图7,如图8所示,为本申请实施例提供的一种显示设备的界面示意图二,在检测到应用1支持分屏显示时,如图8中所示,启动分屏应用的界面60,该分屏界面60中包括分屏控件62,该分屏界面60可以悬浮显示在应用1的界面61上层。本申请实施例中,检测应用是否支持分屏显示可以包括多种方式:Exemplarily, with reference to FIG. 7 , as shown in FIG. 8 , it is a second schematic diagram of an interface of a display device provided by the embodiment of the present application. When it is detected that the application 1 supports split-screen display, as shown in FIG. 8 , start the interface 60 of the split-screen application. In this embodiment of the application, detecting whether an application supports split-screen display may include multiple methods:
方式一,若目标白名单中包括有第一应用的标识,则确定第一应用支持分屏显示,并控制显示器在第一应用的界面上层显示分屏控件,其中,目标白名单用于存储支持分屏显示的所有应用的标识。 Method 1, if the target whitelist includes the identifier of the first application, then determine that the first application supports split-screen display, and control the display to display a split-screen control on the upper layer of the interface of the first application, wherein the target whitelist is used to store the identifiers of all applications that support split-screen display.
该实施例中,可以将支持分屏的所有应用的标识加入该目标白名单。当启动第一应用时遍历该目标白名单中的应用标识的列表,判断该启动的第一应用的标识是否在目标白名单列表中,如果该第一应用的标识在该目标白名单列表中,那么可以确定该第一应用是支持分屏显示的;如果该第一应用的标识不在该目标白名单列表中,那么可以确定该第一应用是不支持分屏显示的。In this embodiment, the identifiers of all applications that support split-screen can be added to the target whitelist. When the first application is started, the list of application identifiers in the target whitelist is traversed to determine whether the identifier of the started first application is in the target whitelist. If the identifier of the first application is in the target whitelist, it can be determined that the first application supports split-screen display; if the identifier of the first application is not in the target whitelist, it can be determined that the first application does not support split-screen display.
方式二,获取第一应用的属性信息;若第一应用的属性信息中包括目标属性值,则确定第一应用支持分屏显示,并控制显示器在第一应用的界面上层显示分屏控件,其中,目标属性值用于指示第一应用支持分屏显示。Method 2: Obtain the attribute information of the first application; if the attribute information of the first application includes a target attribute value, then determine that the first application supports split-screen display, and control the display to display a split-screen control on the upper layer of the interface of the first application, wherein the target attribute value is used to indicate that the first application supports split-screen display.
该实施例中,可以在每个应用中添加目标属性,目标属性用于描述应用是否支持分屏显示,可以通过在每个应用中添加目标属性的属性值,并且设置该目标属性的属性值为上述目标属性值时,用于指示第一应用支持分屏显示,其中,该目标属性值可以为真值。In this embodiment, a target attribute may be added to each application, and the target attribute is used to describe whether the application supports split-screen display. By adding an attribute value of the target attribute to each application, and setting the attribute value of the target attribute to the above-mentioned target attribute value, it is used to indicate that the first application supports split-screen display, wherein the target attribute value may be a true value.
504、接收第一输入,其中,第一输入为针对分屏控件的输入。504. Receive a first input, where the first input is an input for a split-screen control.
505、响应于第一输入,确定第一分屏区域对应的第一分屏窗口大小,根据第一分屏窗口大小,重新绘制第一应用的界面,以及确定第二分屏区域对应的第二分屏窗口大小, 根据第二分屏窗口大小绘制应用选择界面,并在第一分屏区域显示第一应用的界面,在第二分屏区域显示应用选择界面,其中,应用选择界面中包括至少一个标识,至少一个标识用于标识至少一个支持分屏显示的应用。505. In response to the first input, determine the size of the first split-screen window corresponding to the first split-screen area, redraw the interface of the first application according to the size of the first split-screen window, and determine the size of the second split-screen window corresponding to the second split-screen area, draw an application selection interface according to the size of the second split-screen window, display the interface of the first application in the first split-screen area, and display the application selection interface in the second split-screen area, wherein the application selection interface includes at least one identifier, and the at least one identifier is used to identify at least one application that supports split-screen display.
本申请实施例中,在响应于该第一输入之后,由于原本全屏显示的第一应用的界面,需要缩小显示范围,显示在第一分屏区域内,此时会根据第一分屏区域对应的第一分屏窗口大小,重新绘制第一应用的界面,将重新绘制的第一应用的界面显示在第一分屏区域内,相应的,可以基于第二分屏区域对应的第二分屏窗口大小,去绘制应用选择界面,这样就可以在第一分屏区域显示第一应用的界面,在第二分屏区域显示应用选择界面,从而实现分屏显示。In this embodiment of the present application, after responding to the first input, the interface of the first application originally displayed in full screen needs to be narrowed down and displayed in the first split-screen area. At this time, the interface of the first application will be redrawn according to the size of the first split-screen window corresponding to the first split-screen area, and the redrawn interface of the first application will be displayed in the first split-screen area. Correspondingly, the application selection interface can be drawn based on the size of the second split-screen window corresponding to the second split-screen area, so that the interface of the first application can be displayed in the first split-screen area, and the application selection interface can be displayed in the second split-screen area. , so as to achieve split-screen display.
如图9中所示,本申请实施例提供的一种显示设备的界面示意图三,在分屏控件62上进行点击输入之后,会显示图9所示的两个分屏区域,第一分屏区域63和第二分屏区域64,其中,第一分屏区域63中显示原来全屏显示的应用1的界面61,而第二分屏区域中显示应用选择界面65,该界面中包括3个应用的标识,分别为图9中的“应用2”、“应用3”和“应用4”。As shown in Figure 9, an interface diagram of the display device provided by the embodiments of this application. After clicking the input on the division control 62, the two division areas shown in Figure 9 will be displayed. The first sub -screen area 63 and the second sub -screen area 64. Among them, the interface 61 of the original full screen display application 1 is displayed in the first sub -screen area 63, and the application selection interface 65 is displayed in the second sub -screen area. This The interface includes the logo of 3 applications, which are "Application 2", "Application 3" and "Application 4" in Figure 9.
本申请实施例中,在全屏显示第一应用的界面之后,会在检测到第一应用支持分屏显示时,才会在该第一应用的界面的上层显示分屏控件这样用户在通过针对分屏控件的第一输入,触发对第一应用分屏显示时,由于已经提前检测过第一应用是支持分屏显示的,因此显示设备可以在分屏显示时,根据分屏显示时分屏区域对应的窗口大小,重新绘制分屏显示状态下第一应用的界面,以及应用选择界面,可以保证正常的显示第一应用的界面。In this embodiment of the application, after the interface of the first application is displayed in full screen, when it is detected that the first application supports split-screen display, the split-screen control will be displayed on the upper layer of the interface of the first application. In this way, when the user triggers the split-screen display of the first application through the first input for the split-screen control, since the first application has been detected in advance to support split-screen display, the display device can redraw the interface of the first application in the split-screen display state and the application selection interface according to the window size corresponding to the split-screen area during split-screen display during split-screen display, so as to ensure normal display. The interface of the first application.
在一些实施例中,在全屏显示第一应用的界面之后,会在检测到第一应用支持分屏显示,并且还存在其他支持分屏显示的应用时,才会在该第一应用的界面上显示分屏控件,这样用户在通过第一输入,触发对第一应用分屏显示时,可以在一个分屏区域中显示第一应用的界面,并且可以在另一个区域内选择其他支持分屏显示的应用进行显示,避免在显示设备中仅有第一应用支持分屏显示的情况下,存在分屏显示时,一个分屏区域内可能无法显示其他应用的界面的情况,进一步提高人机交互性能。In some embodiments, after the interface of the first application is displayed in full screen, the split-screen control will be displayed on the interface of the first application only when it is detected that the first application supports split-screen display, and there are other applications that support split-screen display. In this way, when the user triggers the split-screen display of the first application through the first input, the interface of the first application can be displayed in a split-screen area, and other applications that support split-screen display can be selected for display in another area, so as to avoid the situation where only the first application supports split-screen display in the display device. The interface of other applications may not be displayed in the screen area, further improving the performance of human-computer interaction.
在一些实施例中,可以在所述第一分屏区域与所述第二分屏区域之间显示边界控件,在接收到针对边界控件的拖动输入时,响应于拖动输入,重新确定第一分屏窗口大小,以及重新确定第二分屏窗口大小。In some embodiments, a border control may be displayed between the first split-screen area and the second split-screen area, and when a drag input for the border control is received, in response to the drag input, re-determine the size of the first split-screen window, and re-determine the size of the second split-screen window.
上述边界控件可以显示为分割线的形式,用户可以通过针对上述分割线的拖动输入控制拖动该分割线移动,以改变第一分屏区域和第二分屏区域的大小分配,在每次拖动分割线之后,需要重新确定分屏区域对应的窗口大小,并重新绘制界面。示例性的,如图9中的分割线81所示,对该分割线81进行拖动,可以触发改变第一分屏区域61和第二分屏区域65的大小。The above-mentioned boundary control can be displayed in the form of a dividing line. The user can control and drag the dividing line to move by dragging the above-mentioned dividing line to change the size distribution of the first split-screen area and the second split-screen area. After dragging the dividing line each time, it is necessary to re-determine the window size corresponding to the split-screen area and redraw the interface. Exemplarily, as shown by the dividing line 81 in FIG. 9 , dragging the dividing line 81 may trigger changing the sizes of the first split screen area 61 and the second split screen area 65 .
上述边界控件的设置方式,可以方便用户随机调节分屏显示时两个分屏区域的大小,使得分屏显示方式更加灵活。The above-mentioned setting method of the border control can facilitate the user to randomly adjust the size of the two split-screen regions during the split-screen display, making the split-screen display method more flexible.
本申请实施例中,如图10所示,为本申请实施例提供的一种从全屏显示切换至分屏显示的实现方法流程图,在响应于第一输入,在第一分屏区域显示第一应用的界面,在第二分屏区域显示应用选择界面的实现过程中可以包括步骤901至905:In the embodiment of the present application, as shown in FIG. 10 , it is a flow chart of an implementation method for switching from full-screen display to split-screen display provided in the embodiment of the present application. In response to the first input, the interface of the first application is displayed in the first split-screen area, and the implementation process of displaying the application selection interface in the second split-screen area may include steps 901 to 905:
901、响应于第一输入,将全屏堆栈切换为分屏堆栈。901. In response to a first input, switch a full-screen stack to a split-screen stack.
在响应第一输入的情况下,首先需要将全屏堆栈(全屏的Stack)切换到分屏堆栈(Docked Stack)上,并调用软件系统中的延迟画面布局函数通知窗口管理服务(WindowManagerService)暂停布局。In the case of responding to the first input, it is first necessary to switch the full-screen stack (full-screen Stack) to the split-screen stack (Docked Stack), and call the delay screen layout function in the software system to notify the window management service (WindowManagerService) to suspend the layout.
902、获取分屏堆栈对应设置的第一分屏窗口大小与第二分屏窗口大小。902. Acquire the size of the first split-screen window and the size of the second split-screen window correspondingly set by the split-screen stack.
903、获取第一输入对应的界面数据,并存入分屏堆栈对应的活动堆栈中,其中,界面数据包括:第一应用的界面的数据,以及应用选择界面的数据。903. Acquire interface data corresponding to the first input, and store it in an activity stack corresponding to the split-screen stack, where the interface data includes: data of the interface of the first application and data of the application selection interface.
本申请实施例中,可以通过软件系统中的活动管理服务(ActvivityManagerService)将 要分屏的任务记录(TaskRecord)放入分屏堆栈标识(DOCKED_STACK_ID)所在的活动堆栈(ActivityStack),也即将界面数据,存入分屏堆栈对应的活动堆栈中,其中,在显示设备的软件系统为安卓操作系统时,上述Docked Stack、ActvivityManagerService,以及ActivityStack均设置在如图4所示的框架层中。In the embodiment of the present application, the task record (TaskRecord) to be split-screen can be put into the activity stack (ActivityStack) where the split-screen stack identifier (DOCKED_STACK_ID) is located through the activity management service (ActvivityManagerService) in the software system, that is, the interface data is stored in the corresponding activity stack of the split-screen stack. They are all arranged in the frame layer as shown in FIG. 4 .
904、从活动堆栈中读取界面数据、并根据第一分屏窗口大小,绘制第一应用的界面,以及根据第二分屏窗口大小,绘制应用选择界面。904. Read interface data from the activity stack, draw the interface of the first application according to the size of the first split-screen window, and draw an application selection interface according to the size of the second split-screen window.
在获取分屏显示的第一分屏区域和第二分屏窗口大小后,可以确定第一分屏区域和第二分屏区域中界面的界面边界,并对应第一分屏区域重新绘制第一应用的界面,以及对应第二分屏区域绘制应用选择界面。After obtaining the size of the first split-screen area and the second split-screen window of the split-screen display, the interface boundary of the interface in the first split-screen area and the second split-screen area can be determined, and the interface of the first application is redrawn corresponding to the first split-screen area, and the application selection interface is drawn corresponding to the second split-screen area.
905、在第一分屏区域显示第一应用的界面,在第二分屏区域显示应用选择界面。905. Display the interface of the first application in the first split-screen area, and display the application selection interface in the second split-screen area.
506、接收第二输入,其中,第二输入为针对第二应用的标识的输入。506. Receive a second input, where the second input is an input for the identification of the second application.
507、响应于第二输入,将应用选择界面更新显示为第二应用的界面,其中,第二应用为至少一个支持分屏显示的应用中的一个应用。507. In response to the second input, update and display the application selection interface as an interface of a second application, where the second application is one of at least one application that supports split-screen display.
示例性的,如图11所示,显示屏上两个分屏区域,第一分屏区域63和第二分屏区域64,其中,第一分屏区域63中显示应用1的界面61,而第二分屏区域中显示应用选择界面65,该界面中包括3个应用的标识,分别为图9中的“应用2”、“应用3”和“应用4”。在接收到针对应用2的点击输入之后,可以将应用选择界面65更新显示为应用2的界面66。Exemplarily, as shown in FIG. 11 , there are two split-screen areas on the display screen, a first split-screen area 63 and a second split-screen area 64, wherein the first split-screen area 63 displays an interface 61 of application 1, and the second split-screen area displays an application selection interface 65, which includes 3 application identifiers, namely "application 2", "application 3" and "application 4" in Fig. 9 . After receiving a click input for application 2 , the application selection interface 65 may be updated and displayed as an interface 66 of application 2 .
本申请实施例中,在一个分屏区域显示一个应用的界面的情况下,进一步还可以将支持分屏显示的一个或多个应用的标识显示在另一分屏区域中,这样可以供用户选择其他可以支持分屏显示的应用显示在该另一个分屏区域,从而提高了人机交互性能。In the embodiment of the present application, when an application interface is displayed in a split-screen area, the identifiers of one or more applications that support split-screen display can be further displayed in another split-screen area, so that the user can select other applications that can support split-screen display to be displayed in the other split-screen area, thereby improving the performance of human-computer interaction.
508、在目标分屏区域上层显示全屏控件,其中,目标分屏区域为第一分屏区域或第二分屏区域。508. Display the full-screen control on the upper layer of the target split-screen area, where the target split-screen area is the first split-screen area or the second split-screen area.
509、接收第三输入。509. Receive a third input.
本申请实施例中,上述第三输入用于指示显示设备全屏显示目标界面。In the embodiment of the present application, the above third input is used to instruct the display device to display the target interface in full screen.
510、响应于第三输入,根据全屏窗口大小,重新绘制目标界面,并全屏显示重新绘制后的目标界面,其中,第三输入为针对全屏控件的输入,目标界面为目标分屏区域中显示的界面。510. In response to the third input, redraw the target interface according to the size of the full-screen window, and display the redrawn target interface in full screen, wherein the third input is an input for the full-screen control, and the target interface is an interface displayed in the target split-screen area.
本申请实施例中,在执行步骤510时,响应于第三输入,全屏显示目标界面,其中,该分屏应用的界面中,可以包括分屏控件和全屏控件。In the embodiment of the present application, when step 510 is executed, in response to the third input, the target interface is displayed in full screen, wherein the interface of the split-screen application may include a split-screen control and a full-screen control.
在一些实施例中,在当前以分屏显示的方式显示的情况下,每个分屏区域上层显示的分屏应用的界面中分屏控件无法响应输入,全屏控件可以响应输入。In some embodiments, when currently displayed in a split-screen display mode, the split-screen control in the interface of the split-screen application displayed on the upper layer of each split-screen area cannot respond to input, but the full-screen control can respond to input.
在另一些实施例中,在当前以分屏显示的方式显示的情况下,每个分屏区域上层显示的分屏应用的界面中仅包括全屏控件,不显示分屏控件,以使得该情况下仅针对全屏控件对应的全屏显示功能进行响应。In some other embodiments, in the case of current display in a split-screen display mode, the interface of the split-screen application displayed on the upper layer of each split-screen area only includes full-screen controls, and does not display the split-screen controls, so that in this case, only the full-screen display function corresponding to the full-screen controls is responded.
在分屏显示时,存在两个分屏区域,当接收到针对第一分屏区域上显示的全屏控件的输入时,可以取消显示第二分屏区域中显示的内容,并针对第一分屏区域内显示的界面,基于全屏显示时的窗口大小重新进行绘制,并将重新绘制的界面全屏显示。During split-screen display, there are two split-screen areas. When an input for the full-screen control displayed on the first split-screen area is received, the content displayed in the second split-screen area can be canceled, and the interface displayed in the first split-screen area can be redrawn based on the window size in full-screen display, and the redrawn interface can be displayed in full screen.
如图9所示的分屏显示界面中,假设接收到针对第一应用的界面61上层的分屏控件的输入之后,可以取消显示65,并重新基于全屏显示的窗口大小绘制第一应用的界面之后,全屏显示第一应用的界面。In the split-screen display interface as shown in FIG. 9 , it is assumed that after receiving the input of the split-screen control on the upper layer of the interface 61 of the first application, the display 65 can be canceled, and after the interface of the first application is redrawn based on the window size of the full-screen display, the interface of the first application can be displayed in full screen.
如图11所示,分屏显示第一应用和第二应用的情况,假设接收到针对第一应用的界面61上层的分屏控件的输入之后,可以取消显示66,并将应用2从前台切换至后台,在后台运行第二应用,并重新基于全屏显示的窗口大小绘制第一应用的界面之后,全屏显示第一应用的界面。As shown in FIG. 11 , when the first application and the second application are displayed on a split screen, it is assumed that after receiving the input of the split-screen control on the upper layer of the interface 61 of the first application, the display 66 can be canceled, the application 2 can be switched from the foreground to the background, the second application is run in the background, and the interface of the first application is redrawn based on the window size of the full-screen display, and the interface of the first application is displayed in full screen.
如图12所示,在应用1的界面61上显示分屏界面60,并且分屏界面60中有全屏控件67,在应用2的界面66上也显示有分屏界面60,并且分屏界面60中有全屏控件67, 那么在针对应用1的界面61上显示的全屏控件67进行点击输入之后,应用1的界面61可以切换为全屏显示。As shown in FIG. 12 , a split-screen interface 60 is displayed on the interface 61 of the application 1, and there is a full-screen control 67 in the split-screen interface 60, and a split-screen interface 60 is also displayed on the interface 66 of the application 2, and there is a full-screen control 67 in the split-screen interface 60. Then, after clicking and inputting the full-screen control 67 displayed on the interface 61 of the application 1, the interface 61 of the application 1 can be switched to a full-screen display.
在一些实施例中,在第一分屏区域和第二分屏区域内,均存在全屏控件的情况下,在第一分屏区域内若接收到针对全屏控件的点击输入,那么触发将第一分屏区域中显示的第一应用的界面进行全屏显示;相应的,在第二分屏区域内若接收到针对全屏控件的点击输入,那么触发将第二分屏区域中显示的第二应用的界面进行全屏显示。In some embodiments, if there are full-screen controls in both the first split-screen area and the second split-screen area, if a click input for the full-screen control is received in the first split-screen area, then trigger full-screen display of the interface of the first application displayed in the first split-screen area;
本申请实施例中,通过展示全屏控件和分屏控件,可以快捷方便的将界面进行全屏显示和分屏显示的切换,提高了人机交互性能。In the embodiment of the present application, by displaying the full-screen control and the split-screen control, the interface can be quickly and conveniently switched between full-screen display and split-screen display, thereby improving the performance of human-computer interaction.
本申请实施例中,如图13所示,为本申请实施例提供的一种从分屏显示切换至全屏显示的实现方法流程图,在响应于第三输入,全屏显示目标界面的实现过程中可以包括如下步骤1201至1204:In the embodiment of the present application, as shown in FIG. 13 , it is a flow chart of an implementation method for switching from split-screen display to full-screen display provided in the embodiment of the present application. In response to the third input, the implementation process of displaying the target interface in full screen may include the following steps 1201 to 1204:
1201、响应于第三输入,将分屏堆栈切换为全屏堆栈,以获取全屏堆栈对应设置的全屏窗口大小。1201. In response to a third input, switch the split-screen stack to a full-screen stack, so as to obtain a full-screen window size set corresponding to the full-screen stack.
1202、将第三输入所对应的目标界面的数据,并存入全屏堆栈对应的活动堆栈中。1202. Store the data of the target interface corresponding to the third input into the activity stack corresponding to the full screen stack.
1203、从活动堆栈中读取目标界面的数据,并根据全屏窗口大小,绘制目标界面。1203. Read the data of the target interface from the activity stack, and draw the target interface according to the size of the full-screen window.
1204、全屏显示目标界面。1204. Display the target interface in full screen.
当显示设备的软件系统在分屏显示过程中,需要切换到全屏显示时,首先会通过应用层发送携带最大化参数(primary_maximize)的广播消息给平台模块,在平台模块获知需要切换至全屏显示时,平台模块会根据携带的最大化参数,确定是将哪一个分屏区域中显示的界面最大化为全屏显示,并通过方法调用将对应的应用启动,并针对当前活动(activity)重新确定窗口大小,重新绘制全屏界面,其中,在显示设备的软件系统为安卓操作系统时,该平台模块设置在如图4所示的框架层中。When the software system of the display device needs to switch to full-screen display during the split-screen display process, it will first send a broadcast message carrying the maximum parameter (primary_maximize) to the platform module through the application layer. When the platform module learns that it needs to switch to full-screen display, the platform module will determine which interface displayed in the split-screen area is to be maximized for full-screen display according to the carried maximize parameter, and start the corresponding application through method calls, and re-determine the window size for the current activity (activity), and redraw the full-screen interface. When the software system is an Android operating system, the platform module is set in the frame layer as shown in FIG. 4 .
在介绍完上述分屏显示方法之后,本申请实施例提供的显示设备还可以执行分屏应用切换方法。在一些实施例中,为了方便同时在前台针对两个应用程序进行操作,显示设备可呈现多个应用的分屏画面,做到多任务同时展示以及处理的目的。用户可依次启动不同的应用在显示设备中的不同区域进行显示,此处把分屏显示的方式简称为进入分屏模式。After the above split-screen display method is introduced, the display device provided in the embodiment of the present application may also execute a split-screen application switching method. In some embodiments, in order to facilitate operations on two application programs in the foreground at the same time, the display device can present split-screen images of multiple applications, so as to achieve the purpose of simultaneously displaying and processing multiple tasks. The user can sequentially start different applications to be displayed in different areas of the display device, and the method of split-screen display is referred to as entering the split-screen mode for short.
本申请涉及显示设备控制器,还被配置为:响应于通过用户输入接口接收到针对第一应用的启动输入指令,根据全屏显示时的全屏窗口大小,绘制第一应用的界面,并控制显示器全屏显示第一应用的界面;以及控制显示器在所述第一应用的界面上层显示分屏控件,其中,第一应用支持分屏显示;响应于通过用户输入接口接收到针对分屏控件的第一输入,确定第一分屏区域对应的第一分屏窗口大小,根据第一分屏窗口大小,重新绘制第一应用的界面,以及确定第二分屏区域对应的第二分屏窗口大小,根据第二分屏窗口大小绘制应用选择界面,并控制显示器在第一分屏区域显示第一应用的界面,在第二分屏区域显示应用选择界面;其中,应用选择界面中包括至少一个标识,至少一个标识用于标识至少一个支持分屏显示的应用。The present application relates to a display device controller, which is further configured to: in response to receiving a startup input instruction for the first application through the user input interface, draw the interface of the first application according to the size of the full-screen window in full-screen display, and control the display to display the interface of the first application in full screen; and control the display to display a split-screen control on the upper layer of the interface of the first application, wherein the first application supports split-screen display; in response to receiving a first input for the split-screen control through the user input interface, determine the size of the first split-screen window corresponding to the first split-screen area, and redraw the first application according to the size of the first split-screen window The interface, and determining the size of the second split-screen window corresponding to the second split-screen area, drawing an application selection interface according to the size of the second split-screen window, and controlling the display to display the interface of the first application in the first split-screen area, and display the application selection interface in the second split-screen area; wherein, the application selection interface includes at least one logo, and the at least one logo is used to identify at least one application that supports split-screen display.
当需要对分屏模式的分屏应用进行切换时,通常将该区域中显示的应用退至后台,进入应用列表重新选择一个应用,使得重新选择的应用在对应区域显示,完成分屏应用切换,但是整个过程操作比较繁琐。在一些实施例中,通过在显示设备中配置快速切换分屏应用的功能,提升操作的便捷性。When it is necessary to switch the split-screen application in the split-screen mode, the application displayed in the area is usually retreated to the background, enter the application list and select an application again, so that the re-selected application is displayed in the corresponding area, and the split-screen application switching is completed, but the whole process is relatively cumbersome. In some embodiments, the convenience of operation is improved by configuring a function of quickly switching split-screen applications in the display device.
当显示设备中的快速切换分屏应用的功能启动后,在分屏模式下,如果用户想要对分屏模式中的某个或多个显示区域的分屏应用进行切换时,用户仅需调出预先建立的分屏应用列表,在分屏应用列表中选择想要切换的分屏应用,即可快速切换分屏应用。通过上述手段,用户无需将分屏模式下的应用退至后台以及进入应用列表中选择想要切换的应用即可完成分屏应用的切换,提升操作的便捷性以及提升用户体验。After the function of quickly switching split-screen applications in the display device is activated, in the split-screen mode, if the user wants to switch the split-screen applications in one or more display areas in the split-screen mode, the user only needs to call up the pre-established split-screen application list, select the split-screen application to be switched in the split-screen application list, and then quickly switch the split-screen application. Through the above means, the user can complete the switching of the split-screen application without returning the application in the split-screen mode to the background and entering the application list to select the application to be switched, which improves the convenience of operation and improves the user experience.
如图3所示,为了便于用户快速切换分屏应用,本申请实施例提供的一种显示设备200,包括显示器260和控制器250,其中控制器250与显示器260连接,被配置为执行分屏应 用切换的过程。显示器还被配置为:呈现显示界面,用户与显示设备进行交互时,所产生的交互界面均显示在显示器中;其中显示器包括不同的区域,进入分屏模式后,可以在不同的区域呈现不同显示界面。As shown in FIG. 3 , in order to facilitate users to quickly switch split-screen applications, a display device 200 provided in an embodiment of the present application includes a display 260 and a controller 250, wherein the controller 250 is connected to the display 260 and is configured to perform a process of switching split-screen applications. The display is also configured to: present a display interface. When the user interacts with the display device, the generated interactive interfaces are all displayed on the display; the display includes different areas, and after entering the split-screen mode, different display interfaces can be presented in different areas.
在一些实施例中,显示器包括主屏区域和副屏区域,用户可以将应用A的画面在主屏区域呈现,将应用B的画面在副屏区域呈现,其中主屏区域和副屏区域不重叠。如果无特殊说明,以下实施例中显示设备所执行的步骤均可以理解为由控制器250执行或者由控制器250或控制器250与显示设备200的其他组成部分配合执行。In some embodiments, the display includes a main screen area and a secondary screen area, and the user can present the screen of application A on the main screen area and the screen of application B on the secondary screen area, wherein the primary screen area and the secondary screen area do not overlap. Unless otherwise specified, the steps performed by the display device in the following embodiments can be understood as being performed by the controller 250 or by the controller 250 or by the controller 250 in cooperation with other components of the display device 200 .
在一些实施例中,在显示设备的分屏模式下即显示器分屏显示状态下,用户可以使用快速切换分屏应用功能执行分屏应用切换的操作。In some embodiments, in the split-screen mode of the display device, that is, in the split-screen display state of the display, the user can use the function of quickly switching split-screen applications to perform split-screen application switching operations.
本申请实施例提供的一种显示设备,由与显示器和控制装置连接的控制器执行分屏应用切换方法,图14为一些实施例的分屏应用切换方法的流程图;图15中为一些实施例的显示器在分屏模式下的交互界面示意图。如图6和图7所示,具体地,控制器还被配置为执行下述步骤:In a display device provided by an embodiment of the present application, a controller connected to the display and a control device executes a split-screen application switching method. FIG. 14 is a flowchart of a split-screen application switching method in some embodiments; FIG. 15 is a schematic diagram of an interactive interface of a display in a split-screen mode in some embodiments. As shown in Figures 6 and 7, specifically, the controller is further configured to perform the following steps:
1401、响应于第一指令,以及获取分屏应用组合列表。1401. Respond to a first instruction, and acquire a split-screen application combination list.
控制器250可以接收用户发送的第一指令,其中第一指令为显示器分屏显示下,显示设备接收到的切换分屏应用指令,控制器250可以直接通过显示设备200的用户输入/输出接口接受用户所输入的切换分屏应用指令,也可以接受用户通过其他设备(例如手机或遥控器)发送的切换分屏应用指令。The controller 250 may receive the first instruction sent by the user, wherein the first instruction is an instruction to switch the split-screen application received by the display device under split-screen display on the display, and the controller 250 may directly accept the instruction to switch the split-screen application input by the user through the user input/output interface of the display device 200, or may accept the instruction to switch the split-screen application sent by the user through other devices (such as a mobile phone or a remote controller).
本申请不对控制器250获取切换分屏应用指令的方式或途径进行限定。例如,用户可以通过按压遥控器指定的按键,由遥控器向显示设备发送相应的切换分屏应用指令;或者,用户可以向显示设备输出语音切换分屏应用指令,例如,用户可以向显示设备输出语音“切换分屏应用”等。The present application does not limit the manner or approach for the controller 250 to obtain the instruction to switch the split-screen application. For example, the user may press a key designated by the remote control, and the remote control may send a corresponding command to switch the split-screen application to the display device; or, the user may output a voice command to switch the split-screen application to the display device, for example, the user may output the voice "switch the split-screen application" to the display device.
用户需要对分屏模式下的分屏应用进行切换时,首先要启动快速切换分屏应用功能,快速切换分屏应用功能配置在显示设备的系统设置菜单中,支持手动设置和智能自动设置两种控制方式。When the user needs to switch the split-screen application in the split-screen mode, the user must first start the quick switching split-screen application function. The quick switching split-screen application function is configured in the system setting menu of the display device and supports two control methods: manual setting and intelligent automatic setting.
用户通过遥控器触发确认启动入口,会产生确认指令,表示用户要启动快速切换分屏应用功能。此时,控制器根据确认指令在显示器中取消显示功能效果展示界面,以及开启显示设备的快速切换分屏应用功能。The user triggers the confirmation start entry through the remote control, and a confirmation command will be generated, indicating that the user wants to start the fast switching split-screen application function. At this time, the controller cancels the display function effect display interface on the display according to the confirmation instruction, and enables the fast switching split-screen application function of the display device.
在一些实施例中,用户可通过触发控制装置中的选择按键,在系统设置菜单中查找快速切换分屏应用功能,通过系统界面上呈现的系统设置菜单,调用快速切换分屏应用的入口界面。In some embodiments, the user can search for the function of quickly switching split-screen applications in the system setting menu by triggering the selection button in the control device, and call the entry interface of quickly switching split-screen applications through the system setting menu presented on the system interface.
在一些实施例中,可在控制装置设置一键启动按键,将一键启动按键的键值与系统设置菜单中的快速切换分屏应用的入口进行映射关联,使得用户在触发一次一键启动按键时,可直接调出快速切换分屏应用的入口的界面。In some embodiments, a one-key start button can be set on the control device, and the key value of the one-key start button can be mapped and associated with the entry of the fast switching split-screen application in the system setting menu, so that when the user triggers the one-key start button once, the interface for quickly switching the entry of the split-screen application can be directly called out.
在一些实施例中,用户可通过触发控制装置中的选择按键,在系统设置菜单中将快速切换分屏应用功能设置成随显示设备的开机而自动启动,这样可使用户无需调出通过按键启动该功能,实现快速切换分屏应用功能的智能启动,提升用户体验。In some embodiments, the user can set the quick switching split-screen application function in the system setting menu to start automatically when the display device is turned on by triggering the selection button in the control device, so that the user does not need to call out and start the function through the button, realizing the smart start of the quick switching split-screen application function and improving user experience.
当快速切换分屏应用功能启动后,将调出快速切换分屏应用的入口界面呈现在显示器的显示界面。然后控制器获取分屏应用组合列表,其中,分屏应用组合列表包括所有多个备选分屏应用组合,每一个备选分屏应用组合中包括一个主屏应用和一个副屏应用。When the fast switching split-screen application function is activated, an entry interface for calling the fast switching split-screen application is presented on the display interface of the display. Then the controller obtains a split-screen application combination list, wherein the split-screen application combination list includes all multiple candidate split-screen application combinations, and each candidate split-screen application combination includes a main-screen application and a secondary-screen application.
在一些实施例中,如果用户首次使用快速切换分屏应用功能时,控制器需先建立分屏应用组合列表,图16为一些实施例的控制器建立分屏应用组合列表的方法流程图。如图16所示,控制器在响应于切换分屏应用的请求,获取分屏应用组合列表的过程中,还被配置为执行下述步骤:In some embodiments, if the user uses the function of quickly switching split-screen applications for the first time, the controller needs to first create a split-screen application combination list. FIG. 16 is a flowchart of a method for the controller to create a split-screen application combination list in some embodiments. As shown in FIG. 16 , the controller is further configured to perform the following steps during the process of obtaining a combined list of split-screen applications in response to the request for switching split-screen applications:
1601、获取所有支持分屏的应用,得到每个支持分屏应用的包名以及启动页面。1601. Obtain all applications that support split screen, and obtain the package name and startup page of each application that supports split screen.
1602、将所有支持分屏的应用两两进行结合,得到记载有包名以及启动页面的多个备 选分屏应用组合。1602. Combine all split-screen applications in pairs to obtain a plurality of candidate split-screen application combinations with package names and startup pages recorded.
1603、将两两结合后的多个备选分屏应用组合整合成分屏应用组合列表。1603. Combine multiple candidate split-screen application combinations combined in pairs into a split-screen application combination list.
在一些实施例中,控制器首先获取系统中所有支持分屏的应用,记录每个支持分屏应用的包名package以及启动页面launcher,将所有支持分屏的应用两两进行结合,得到多个备选分屏应用组合,每一个备选分屏应用组合中包括一个主屏应用和一个副屏应用。In some embodiments, the controller first obtains all split-screen applications in the system, records the package name package and the startup page launcher of each split-screen application, and combines all the split-screen applications in pairs to obtain multiple candidate split-screen application combinations. Each candidate split-screen application combination includes a main screen application and a secondary screen application.
例如,假设备选分屏应用组合如下:For example, suppose a device split screen application composition is as follows:
备选分屏应用组合1{(package 1,launcher 1),(package 2,launcher 2)}; Alternative split-screen application combination 1{(package 1 ,launcher 1 ),(package 2 ,launcher 2 )};
备选分屏应用组合2{(package 1,launcher 1),(package 3,launcher 3)}; Alternative split-screen application combination 2{(package 1 ,launcher 1 ),(package 3 ,launcher 3 )};
备选分屏应用组合n{(package x,launcher x),(package y,launcher y)}。 Alternative split-screen app combinations n{(package x ,launcher x ),(package y ,launcher y )}.
每个备选分屏应用组合中排列在前的应用记为主屏应用,排列在后的应用记为副屏应用,主屏应用呈现在显示器的主屏区域,副屏应用呈现在显示器的副屏区域。The first application in each candidate split-screen application combination is recorded as the main screen application, and the last application is recorded as the secondary screen application. The main screen application is presented in the main screen area of the display, and the secondary screen application is presented in the secondary screen area of the display.
在一些实施例中,备选分屏应用组合中包括一个主屏应用和一个副屏应用,由于上述组合结合是随机的,所以备选分屏应用组合可能会出现如下情况:In some embodiments, the candidate split-screen application combination includes a main-screen application and a secondary-screen application. Since the combination is random, the candidate split-screen application combination may appear as follows:
备选分屏应用组合35{(package 21,launcher 21),(package 15,launcher 15)}; Alternative split-screen application combination 35 {(package 21 , launcher 21 ), (package 15 , launcher 15 )};
备选分屏应用组合46{(package 15,launcher 15,(package 21,launcher 21)}; Alternative split-screen application combination 46 {(package 15 , launcher 15 , (package 21 , launcher 21 )};
即在备选分屏应用组合35和46中都有应用(APP)21和应用(APP)15,但是由于备选分屏应用组合35的主屏应用是APP 21、副屏应用是APP 15,而备选分屏应用组合46的主屏应用是APP 15、副屏应用时APP 21;APP 21和APP 15在上述两个备选分屏应用组合中分别对应不同的显示区域,所以备选分屏应用组合35和46不相同,相互独立。That is, there are application (APP) 21 and application (APP) 15 in the alternative split-screen application combinations 35 and 46, but since the main screen application of the alternative split-screen application combination 35 is APP 21 and the secondary screen application is APP 15, and the main screen application of the alternative split-screen application combination 46 is APP 15, and the secondary screen application is APP 21; Not the same as 46, independent of each other.
将得到的所有备选分屏应用组合保存,以每个组合中的两个包名package作为该组合的唯一标识C。将所有备选分屏应用组合的组合名、包名、页面名、屏幕截图以及分屏比例记录得到分屏应用组合列表。由于首次建立分屏应用组合列表,暂无屏幕截图,使用应用图标代替屏幕截图,后续使用再进行替换。由于首次建立分屏应用组合列表,分屏比例ratio记为默认值(如,0.5),每个备选分屏应用组合中的两个应用各自占用1/2屏幕空间。表1为一些实施例中建立的分屏应用组合列表。Save all obtained candidate split-screen application combinations, and use the two package names in each combination as the unique identifier C of the combination. Record the combination names, package names, page names, screenshots, and split-screen ratios of all candidate split-screen application combinations to obtain a split-screen application combination list. Since the list of split-screen application combinations is created for the first time, there are no screenshots for the time being, and the application icons are used instead of screenshots, which will be replaced after subsequent use. Since the split-screen application combination list is established for the first time, the split-screen ratio ratio is recorded as a default value (for example, 0.5), and the two applications in each candidate split-screen application combination occupy 1/2 screen space respectively. Table 1 is a list of split-screen application combinations established in some embodiments.
表1Table 1
Figure PCTCN2022109145-appb-000001
Figure PCTCN2022109145-appb-000001
在一些实施例中,如果用户是第二次或后续次数启动显示设备的切换分屏应用的请求,控制器直接获取已经保存的分屏应用组合列表。In some embodiments, if the user initiates the display device's request to switch split-screen applications for the second or subsequent times, the controller directly acquires the stored split-screen application combination list.
本申请实施例中,控制器在响应于第一指令,调出分屏应用组合列表之后,进一步执行下个步骤:In the embodiment of the present application, the controller further executes the next step after calling out the split-screen application combination list in response to the first instruction:
1402、将分屏应用组合列表呈现在显示器。1402. Present the split-screen application combination list on the display.
本申请实施例中,显示设备的快速切换分屏应用的功能被开启后,显示器中呈现分屏应用组合列表,即控制器在响应于切换分屏应用的请求后,调出分屏应用组合列表并显示在显示器中,用户可以根据自身需求,从分屏应用组合列表中选择想要切换的备选分屏应用组合。In the embodiment of the present application, after the function of quickly switching split-screen applications of the display device is enabled, a list of split-screen application combinations is displayed on the display, that is, after the controller responds to the request for switching split-screen applications, the list of split-screen application combinations is called out and displayed on the display. The user can select an alternative split-screen application combination to switch from the list of split-screen application combinations according to his own needs.
在一些实施例中,分屏应用组合列表中的备选分屏应用组合按照使用时间长短和生成时间排序,其中使用时间长短优先于生成时间。In some embodiments, the candidate split-screen application combinations in the split-screen application combination list are sorted according to usage time and generation time, wherein the usage time has priority over generation time.
例如,假设获取到的分屏应用组合列表如下:For example, assume that the obtained combination list of split-screen applications is as follows:
组合C1(APP 12,APP 5)即{(package 12,launcher 12),(package 5,launcher 5)},生成时间为2020年12月1日; Combination C1 (APP 12, APP 5) is {(package 12 , launcher 12 ), (package 5 , launcher 5 )}, and the generation time is December 1, 2020;
组合C2(APP 21,APP 25)即{(package 21,launcher 21),(package 25,launcher 25)},生成时间为2020年11月10日; Combination C2 (APP 21, APP 25) is {(package 21 , launcher 21 ), (package 25 , launcher 25 )}, and the generation time is November 10, 2020;
组合C3(APP 1,APP 5)即{(package 1,launcher 1),(package 5,launcher 5)},生成时间为2020年12月1日; Combination C3 (APP 1, APP 5) is {(package 1 , launcher 1 ), (package 5 , launcher 5 )}, and the generation time is December 1, 2020;
组合C4(APP 11,APP 7)即{(package 11,launcher 11),(package 7,launcher 7)},生成时间为2020年11月10日; The combination C4 (APP 11, APP 7) is {(package 11 , launcher 11 ), (package 7 , launcher 7 )}, and the generation time is November 10, 2020;
其中组合C1的使用时间为1小时,组合C2的使用时间为0小时,组合C3的使用时间为10小时,组合C4的使用时间为1小时。The use time of combination C1 is 1 hour, the use time of combination C2 is 0 hours, the use time of combination C3 is 10 hours, and the use time of combination C4 is 1 hour.
那么,基于使用时间长短和时间排序,组合C3的排序要高于C1、C2和C4,由于组合C4和组合C1的使用时间相同,但组合C4的生成时间早于组合C1,所以最终排序依次为:C3、C4、C1、C2。Then, based on the length of use and time ordering, the order of combination C3 is higher than that of C1, C2 and C4. Since the use time of combination C4 and combination C1 is the same, but the generation time of combination C4 is earlier than that of combination C1, the final order is: C3, C4, C1, C2.
需要说明的是,在实际应用中,可以根据用户的偏好程度对分屏组合列表中的分屏应用组合进行排序,以提升用户体验度。It should be noted that, in practical applications, the split-screen application combinations in the split-screen combination list may be sorted according to the user's preference, so as to improve user experience.
本申请实施例中,控制器在执行步骤1402将分屏应用组合列表呈现在显示器之后,执行下个步骤:In the embodiment of the present application, the controller executes the next step after performing step 1402 to present the split-screen application combination list on the display:
1403、响应于第一分屏应用组合选择指令,将选定分屏应用组合中的主屏应用呈现在显示器主屏区域,并将选定分屏应用组合中的副屏应用呈现在显示器副屏区域。1403. In response to the first split-screen application combination selection instruction, present the main-screen application in the selected split-screen application combination on the main screen area of the display, and present the secondary-screen application in the selected split-screen application combination in the secondary screen area of the display.
本申请实施例中,用户通过遥控器选定分屏应用组合后,遥控器发出第一分屏应用组合选择指令,其中,选定分屏应用组合为分屏应用组合列表中备选分屏应用组合中的任意一个。In this embodiment of the application, after the user selects a split-screen application combination through the remote controller, the remote controller sends a first split-screen application combination selection command, wherein the selected split-screen application combination is any one of the candidate split-screen application combinations in the split-screen application combination list.
控制器响应于分屏应用组合选择指令,将选定的分屏应用组合呈现在显示器对应的区域,即将选定的分屏应用组合中的主屏应用呈现在显示器主屏区域,并将选定分屏应用组合中的副屏应用呈现在显示器副屏区域。In response to the split-screen application combination selection instruction, the controller presents the selected split-screen application combination in a corresponding area of the display, that is, the main-screen application in the selected split-screen application combination is presented in the main screen area of the display, and the secondary-screen application in the selected split-screen application combination is presented in the secondary screen area of the display.
为便于显示设备能够将选定的分屏应用组合呈现在显示器对应的区域,如图17所示,本申请实施例提供的一种显示设备,在执行分屏应用切换方法时,在执行步骤1403时,其控制器被配置为执行下述步骤:In order for the display device to present selected split-screen application combinations in the corresponding area of the display, as shown in FIG. 17 , in a display device provided by an embodiment of the present application, when executing the split-screen application switching method, when step 1403 is executed, its controller is configured to execute the following steps:
1701、判断选定分屏应用组合中的主屏应用和副屏应用是否启动。1701. Determine whether the main-screen application and the secondary-screen application in the selected split-screen application combination are started.
1702、若主屏应用以及副屏应用均已启动,则将主屏应用在主屏区域进行启动以及将副屏应用在副屏区域进行启动,根据分屏应用组合列表中的分屏比例,调整分屏中主屏以及副屏的占用空间;并将主屏和副屏以分屏的形式呈现在显示器。1702. If both the main screen application and the secondary screen application have been started, start the main screen application in the main screen area and the secondary screen application in the secondary screen area, adjust the occupied space of the main screen and the secondary screen in the split screen according to the split screen ratio in the split screen application combination list; and present the main screen and the secondary screen in the form of split screens on the display.
本申请实施例中,控制器响应于分屏应用组合选择指令后,首先将当前主屏区域以及副屏区域对应的主屏应用以及副屏应用退至后台,然后,控制器需要判断用户选定分屏应用组合中主屏应用和副屏应用是否启动。如果选定分屏应用组合中的主屏应用以及副屏应用均已启动,则将主屏应用在主屏区域内进行启动,将副屏应用在副屏区域内进行启动;控制器根据分屏应用组合列表中记录的分屏比例ratio,调整主屏以及副屏的占用空间,重新得到两个待启动应用的显示空间,最后,主屏界面以及副屏界面以分屏的形式呈现在显示器。In the embodiment of the present application, after the controller responds to the split-screen application combination selection instruction, it first retreats the main-screen application and the secondary-screen application corresponding to the current main-screen area and the secondary-screen area to the background, and then, the controller needs to determine whether the main-screen application and the secondary-screen application in the split-screen application combination selected by the user are activated. If the main screen application and the secondary screen application in the selected split-screen application combination have been started, the main screen application is started in the main screen area, and the secondary screen application is started in the secondary screen area; the controller adjusts the occupied space of the main screen and the secondary screen according to the split screen ratio recorded in the split-screen application combination list, and regains the display space of the two applications to be started. Finally, the main screen interface and the secondary screen interface are presented on the display in the form of split screens.
在一些实施例中,在显示设备的分屏模式下,显示器的主屏区域和副屏区域默认各自占用整体屏幕的1/2区域。屏幕呈水平方向时(即分屏模式以横屏展示时),主副屏左右各1/2排列;屏幕呈垂直方向时(即分屏模式以竖屏展示时),主副屏上下各1/2排列。在实际应用中,还可以根据屏幕尺寸,计算出主副屏分别占用的空间。In some embodiments, in the split-screen mode of the display device, the main screen area and the secondary screen area of the display respectively occupy 1/2 area of the whole screen by default. When the screen is in the horizontal direction (that is, when the split-screen mode is displayed in a horizontal screen), the left and right 1/2 of the main and auxiliary screens are arranged; In practical applications, the space occupied by the main and secondary screens can also be calculated according to the screen size.
1703、若主屏应用和/或副屏应用已经启动,则根据主屏应用和/或副屏应用对应的包名以及启动页面,将主屏应用调回至前台显示,并得到主屏应用的显示空间。1703. If the main screen application and/or the secondary screen application have been started, according to the package name and startup page corresponding to the main screen application and/or the secondary screen application, the main screen application is brought back to the foreground display, and the display space of the main screen application is obtained.
1704、若主屏应用和/或副屏应用未启动,则通过Activity Manager将主屏应用和/或副屏应用冷启动以及显示在前台,并得到主屏应用和/或副屏应用的显示空间。1704. If the main screen application and/or the secondary screen application are not started, use the Activity Manager to cold start the main screen application and/or the secondary screen application and display them in the foreground, and obtain the display space of the main screen application and/or the secondary screen application.
本申请实施例中,在执行步骤1703时,控制器在判断选定应用组合中的主屏应用和副屏应用是否启动过程中,先判断主屏应用是否启动,如果主屏应用没有启动,则启动主屏应用,在主屏应用已经启动的基础上,判断副屏应用是否启动,若未启动,则将副屏应用启动,若副屏应用已经启动,则执行下一步骤调整分屏模式中主屏区域以及副屏区域的占用空间。In the embodiment of the present application, when step 1703 is executed, the controller first determines whether the main screen application is activated in the process of determining whether the main screen application and the secondary screen application in the selected application combination are activated.
例如:用户选定分屏应用组合为C7(APP 25,APP 16),其中APP 25为主屏应用,APP 16为副屏应用。For example: the user selects a combination of split-screen applications as C7 (APP 25, APP 16), where APP 25 is the main screen application and APP 16 is the secondary screen application.
那么,控制器先判断APP 25是否启动,若APP 25已经启动,则Activity Manager根据APP 25对应的包名package和启动页面launcher,将APP 25拉回到前台显示在当前主屏区域内;然后,控制器继续判断APP 16是否启动,若APP 16没有启动,则控制器通过Activity Manager将APP 16冷启动,并显示在副屏区域内。Then, the controller first judges whether APP 25 is started. If APP 25 has been started, then the Activity Manager pulls APP 25 back to the foreground and displays it in the current main screen area according to the package name package corresponding to APP 25 and the startup page launcher; then, the controller continues to judge whether APP 16 is started. If APP 16 is not started, the controller cold starts APP 16 through the Activity Manager and displays it in the secondary screen area.
选定应用组合中的主屏应用和副屏应用分别显示在主屏区域和副屏区域后,控制器计算主屏区域以及副屏区域的显示空间。After the main screen application and the secondary screen application in the selected application combination are displayed in the main screen area and the secondary screen area respectively, the controller calculates the display space of the main screen area and the secondary screen area.
本申请实施例中,可以通过如下方式计算主屏区域以及副屏区域的显示空间:In the embodiment of this application, the display space of the main screen area and the secondary screen area can be calculated as follows:
1)当分屏模式以横屏展示时,主屏宽度=屏幕宽度*ratio,副屏宽度=屏幕宽度*(1-ratio),主屏高度=副屏高度=屏幕高度;1) When the split-screen mode is displayed in horizontal screen, main screen width = screen width * ratio, secondary screen width = screen width * (1-ratio), main screen height = secondary screen height = screen height;
2)当分屏模式以竖屏展示时,主屏高度=屏幕高度*ratio,副屏高度=屏幕高度*(1-ratio),主屏宽度=副屏宽度=屏幕宽度。2) When the split screen mode is displayed in portrait mode, main screen height = screen height * ratio, secondary screen height = screen height * (1-ratio), main screen width = secondary screen width = screen width.
其中,分屏比例ratio可以是默认值(如,0.5),也可以根据用户实际需要进行修改,并且当某个备选分屏应用组合当中的ratio被修改后,控制器将修改后的ratio实时更新,当该备选分屏应用组合再次被选中时,ratio以更新后的为准,方便用户体验。Wherein, the split-screen ratio ratio can be a default value (for example, 0.5), and can also be modified according to the actual needs of the user, and when the ratio in a candidate split-screen application combination is modified, the controller will update the modified ratio in real time, and when the candidate split-screen application combination is selected again, the updated ratio shall prevail to facilitate user experience.
控制器计算主屏区域以及副屏区域的显示空间后,调整分屏中主屏以及副屏的占用空间,将主屏界面以及副屏界面以分屏的形式呈现在显示器,完成快速切换分屏应用。After calculating the display space of the main screen area and the auxiliary screen area, the controller adjusts the occupied space of the main screen and the auxiliary screen in the split screen, presents the main screen interface and the auxiliary screen interface on the display in the form of split screens, and completes the rapid switching of split screen applications.
在一些实施例中,控制器可以根据以下两种方式来获取支持分屏的应用:In some embodiments, the controller can obtain the application that supports split-screen in the following two ways:
方式一,通过分屏应用自身配置文件中的配置项进行获取: Method 1, obtain it through the configuration items in the split-screen application's own configuration file:
所有支持分屏的应用在其配置文件manifest中附有一个配置项metadata,控制器对所有应用进行筛选时,通过配置项metadata可以过滤得到支持分屏的应用。All applications that support split-screen have a configuration item metadata attached to their configuration file manifest. When the controller filters all applications, the configuration item metadata can be used to filter the applications that support split-screen.
方式二,根据控制器预置的支持分屏应用的白名单筛选: Method 2, filter according to the whitelist of applications that support split screen preset by the controller:
控制器自身预置一个支持分屏应用的白名单,在获取支持分屏的应用时,控制器读取预置的白名单,依次判断名单上对应的应用是否安装,过滤得到支持分屏的应用。The controller itself presets a white list of applications that support split screens. When obtaining applications that support split screens, the controller reads the preset white list, sequentially determines whether the corresponding applications on the list are installed, and filters out applications that support split screens.
具体实施中,控制器过滤和筛选得到支持分屏的应用,得到支持分屏应用的包名package,并通过PackageManager获取对应的应用启动页面launcher,将支持分屏应用的包名package和启动页面launcher记录,并结合屏幕截图以及分屏比例创建分屏应用组合列表。In the specific implementation, the controller filters and screens the applications that support split screen, obtains the package name package that supports the split screen application, and obtains the corresponding application startup page launcher through the PackageManager, records the package name package that supports the split screen application and the startup page launcher, and creates a split screen application combination list based on the screenshot and the split screen ratio.
本申请实施例中的显示设备,开启快速切换分屏应用功能后,控制器监听显示在前台的分屏模式的显示界面是否有页面变动,如图18所示,本申请实施例提供的一种显示设备,在执行分屏应用切换方法时,其控制器还被配置为执行下述步骤:In the display device in the embodiment of the present application, after the function of quickly switching split-screen applications is enabled, the controller monitors whether there is a page change in the display interface of the split-screen mode displayed in the foreground, as shown in FIG.
1801、监听显示界面的主屏应用和/或副屏应用中是否有页面的切换或者跳转;1801. Monitor whether there is page switching or jumping in the main screen application and/or secondary screen application of the display interface;
1802、当主屏应用和/或副屏应用中有页面的切换或者跳转时,判断切换或者跳转的新的页面是否支持分屏,若是,则执行步骤1803,反之,则执行步骤1804;1802. When there is page switching or jumping in the main screen application and/or the secondary screen application, judge whether the new page to be switched or jumped supports split screen, if so, perform step 1803, otherwise, perform step 1804;
1803、若切换或者跳转的新的页面应用支持分屏,则对页面变动后的显示画面进行截屏,生成截屏图片,根据页面变动后的主屏应用和/或副屏应用的包名得到第一分屏应用组合;将第一分屏应用组合与分屏应用列表中所有的备选分屏应用组合进行比对;如果第一分屏应用组合与分屏应用组合列表中的任一分屏应用组合比对一致,将主屏应用以及副屏 应用对应的页面以及截屏图片更新至分屏应用组合列表;如果第一分屏应用组合与分屏应用组合列表中的所有备选分屏应用组合比对不一致,将第一分屏应用组合保存至分屏应用组合列表中。1803. If the switched or redirected new page application supports split screens, take a screenshot of the changed display screen to generate a screenshot image, and obtain the first split-screen application combination according to the package name of the main-screen application and/or the secondary-screen application after the page change; compare the first split-screen application combination with all alternative split-screen application combinations in the split-screen application list; The screen picture is updated to the split-screen application combination list; if the first split-screen application combination is inconsistent with all the alternative split-screen application combinations in the split-screen application combination list, save the first split-screen application combination to the split-screen application combination list.
在一些实施例中,快速切换分屏应用功能开启后,控制器通过ActivityManager开始监听显示在前台的分屏模式下显示界面的页面是否有变动,其中页面的变动包括页面的切换、页面的跳转以及应用之间的跳转。In some embodiments, after the function of quickly switching split-screen applications is enabled, the controller starts to monitor through the ActivityManager whether the pages of the display interface displayed in the split-screen mode in the foreground have changed, wherein the page changes include page switching, page jumping, and jumping between applications.
在实际应用中,分屏模式下显示界面的页面是否有变动可以是主屏应用的页面变动,也可以是副屏应用的页面变动,还可以是主屏应用和副屏应用均出现页面变动,当出现上述任一种页面变动时,需要判断切换或者跳转的新的页面是否支持分屏。In practical applications, whether the page of the display interface in split-screen mode changes can be the page change of the main screen application, the page change of the secondary screen application, or the page change of both the main screen application and the secondary screen application. When any of the above page changes occurs, it is necessary to determine whether the new page to be switched or jumped supports split screen.
在一些实施例中,如果切换或者跳转的新页面支持分屏,对页面变动后的显示画面进行截屏,生成截屏图片screencap n+1,其中,该截屏图片会显示在分屏记录中,便于用户识别当前分屏应用。同时,记录当前的分屏比例ratio n+1。将分屏模式下变动后的主屏package i+1和副屏package j+1作为一个标识c n+1,得到第一分屏应用组合c n+1{(package i+1,launcher i+1),(package j+1,launcher j+1)}。 In some embodiments, if the new page to be switched or jumped supports split-screen, take a screenshot of the display screen after the page change to generate a screenshot picture screencap n+1 , wherein the screenshot picture will be displayed in the split-screen record, which is convenient for the user to identify the current split-screen application. At the same time, record the current split screen ratio ratio n+1 . The changed main screen package i+1 and secondary screen package j+1 in the split-screen mode are used as an identifier c n+1 to obtain the first split-screen application combination c n+1 {(package i+1 , launcher i+1 ), (package j+1 , launcher j+1 )}.
然后,将新生成的第一分屏应用组合c n+1与分屏应用组合列表中的所有备选分屏应用组合进行比对。 Then, compare the newly generated first split-screen application combination c n+1 with all candidate split-screen application combinations in the split-screen application combination list.
在一些实施例中,如果第一分屏应用组合与分屏应用组合列表中的某个分屏应用组合比对一致,则认为是原有备选分屏应用组合中的页面更新,将主屏应用变动的页面launcher i+1更新到原有标识(如C 22)对应的组合信息中,以及将副屏应用变动的页面launcher j+1更新到原有标识(如C 22)对应的组合信息中;将分屏应用组合列表中该备选分屏应用组合变更以及同步更新,变更后的组合C 22为{(package 10,launcher i+1),(package 20,launcher j+1)},更新后的分屏应用组合列表如表2所示。 In some embodiments, if the first split-screen application combination is consistent with a certain split-screen application combination in the split-screen application combination list, it is considered to be a page update in the original candidate split-screen application combination, and the main screen application changed page launcher i+1Update to the original logo (such as C twenty two) in the corresponding combination information, and the page launcher that changes the application of the secondary screen j+1Update to the original logo (such as C twenty two) in the corresponding combination information; change and synchronously update the candidate split-screen application combination in the split-screen application combination list, and the changed combination C twenty twofor {(package 10, launcher i+1), (package 20, launcher j+1)}, the updated split-screen application combination list is shown in Table 2.
表2Table 2
Figure PCTCN2022109145-appb-000002
Figure PCTCN2022109145-appb-000002
在另一些实施例中,存在第一分屏应用组合与分屏应用组合列表中的所有分屏应用组合比对不一致的情况,即第一分屏应用组合与分屏应用列表中所有备选分屏应用组合均不匹配,则认为第一分屏应用组合是一个新的分屏组合,将第一分屏应用组合保存至组合记录中,生成新的备选分屏应用组合C n+1{(package i+1,launcher i+1),(package j+1,launcher j+1)},并将新生成的备选分屏应用组合C n+1记载在分屏应用列表中,更新后的分屏应用列表如表3所示。 In some other embodiments, if the first split-screen application combination is inconsistent with all the split-screen application combinations in the split-screen application combination list, that is, the first split-screen application combination does not match all the candidate split-screen application combinations in the split-screen application list, then the first split-screen application combination is considered to be a new split-screen combination, and the first split-screen application combination is saved in the combination record to generate a new candidate split-screen application combination C n+1 {(package i+1 , launcher i+1 ), (package j+1 , launcher j+1 )}, and record the newly generated candidate split-screen application combination C n+1 in the split-screen application list. The updated split-screen application list is shown in Table 3.
表3table 3
Figure PCTCN2022109145-appb-000003
Figure PCTCN2022109145-appb-000003
1804、若切换或者跳转的新的页面不支持分屏,则控制器关闭分屏模式,通过ActivityManager以整个屏幕作为切换或者跳转页面的显示空间,将另一分屏的应用退至后台。1804. If the new page to be switched or jumped to does not support split-screen, the controller turns off the split-screen mode, uses the entire screen as the display space of the switched or jumped page through the ActivityManager, and retreats another split-screen application to the background.
在图19所示的状态下,显示器进入分屏模式,在主屏区域显示某浏览器应用A,在副 屏区域显示某办公软件B,用户在主屏区域浏览网页,在副屏区域查阅文档。In the state shown in Figure 19, the display enters the split-screen mode, a browser application A is displayed in the main screen area, and an office software B is displayed in the secondary screen area. The user browses webpages in the main screen area and consults documents in the secondary screen area.
例如,在图20所示的状态下,当主屏区域中浏览器应用A浏览新的网页出现页面切换。For example, in the state shown in FIG. 20 , when the browser application A browses a new webpage in the main screen area, page switching occurs.
由于主屏应用A变动后的页面也支持分屏模式,控制器将变动后的整个屏幕(主屏区域和副屏区域)进行截图得到图片m,根据应用A以及应用B的包名,构造第一分屏应用的组合。Since the changed page of the main screen application A also supports the split-screen mode, the controller takes a screenshot of the changed entire screen (the main screen area and the secondary screen area) to obtain a picture m, and constructs the combination of the first split-screen application according to the package names of the application A and application B.
然后,将该组合与分屏应用组合列表比对。Then, compare the combination with the split-screen application combination list.
由于在分屏应用列表中备选分屏应用组合C3与第一分屏应用组合相同,所以控制器只将应用A的页面以及应用截图进行更新,更新前的分屏列表如图21所示,更新后的分屏应用列表如图22所示。Since the candidate split-screen application combination C3 in the split-screen application list is the same as the first split-screen application combination, the controller only updates the page of application A and the screenshot of the application. The split-screen list before the update is shown in FIG. 21 , and the updated split-screen application list is shown in FIG. 22 .
又例如,在图23所示的状态下,当主屏区域中浏览器应用A浏览新的网页出现应用的跳转,如图24所示,应用A跳转到应用C。For another example, in the state shown in FIG. 23 , when browser application A browses a new web page in the main screen area, an application jump occurs. As shown in FIG. 24 , application A jumps to application C.
由于主屏应用A变动后的应用C也支持分屏模式,控制器将变动后的整个屏幕(主屏区域和副屏区域)进行截图得到图片n,根据应用C以及应用B的包名,构造第一分屏应用组合。Since the application C after the change of the main screen application A also supports the split-screen mode, the controller takes a screenshot of the changed entire screen (the main screen area and the secondary screen area) to obtain the picture n, and constructs the first split-screen application combination according to the package names of the application C and the application B.
然后,将该组合与分屏应用组合列表比对。Then, compare the combination with the split-screen application combination list.
由于分屏应用列表中的所有备选分屏应用组合中并没有与第一分屏应用组合完全匹配的,则第一分屏应用组合是一个新的分屏组合,并未记载在分屏应用列表中,在分屏应用列表中将其更新,如图25所示。Since none of the candidate split-screen application combinations in the split-screen application list completely matches the first split-screen application combination, the first split-screen application combination is a new split-screen combination that is not recorded in the split-screen application list, and is updated in the split-screen application list, as shown in Figure 25.
在一些实施例中,显示设备仅在首次使用快速切换分屏应用功能的时候,创建分屏应用组合列表,而随着用户的需求增加,用户可能会在显示设备后续使用过程中增加众多应用,使用上述手段可以对分屏应用列表进行更新,将新增加支持分屏的应用与已有分屏应用的组合记载在分屏应用列表中,只要用户使用过一次之后,便可直接在分屏应用列表中找到以及使用,使得操作更加便捷,提升用户体验。In some embodiments, the display device creates a list of split-screen application combinations only when the function of quickly switching split-screen applications is used for the first time. As the user's needs increase, the user may add many applications in the subsequent use of the display device. Using the above means, the list of split-screen applications can be updated, and the combination of newly added applications that support split-screen and existing split-screen applications is recorded in the list of split-screen applications. After the user uses it once, he can directly find and use it in the list of split-screen applications, which makes the operation more convenient and improves user experience.
再例如,在图26所示的状态下,当主屏区域中浏览器应用A浏览新的网页出现页面切换,但是变动的页面不支持分屏模式,控制器将退出分屏模式,通过ActivityManager为新启动的非分屏应用A指定显示空间为整个屏幕,将副屏区域的应用B退到后台,如图27所示。For another example, in the state shown in Figure 26, when the browser application A in the main screen area browses a new webpage and page switching occurs, but the changed page does not support the split-screen mode, the controller will exit the split-screen mode, use the ActivityManager to specify the display space for the newly launched non-split-screen application A as the entire screen, and return the application B in the secondary screen area to the background, as shown in Figure 27.
在一些实施例中,在显示设备的全屏模式下即显示器全屏显示状态下,用户可以使用快速切换分屏应用功能执行分屏应用切换的操作,将在显示器全屏显示的A应用切换成在显示器分屏显示下的B应用和C应用。In some embodiments, in the full-screen mode of the display device, that is, in the full-screen display state of the display, the user can use the quick switch split-screen application function to perform a split-screen application switching operation, and switch the A application displayed on the full screen of the display to the B application and the C application displayed on the display split screen.
本申请实施例提供的一种显示设备,由与显示器和控制装置连接的控制器执行分屏应用切换方法,具体地,控制器还被配置为执行下述操作:In a display device provided in an embodiment of the present application, a controller connected to the display and a control device executes a split-screen application switching method. Specifically, the controller is further configured to perform the following operations:
操作一、响应于第二指令,以及获取分屏应用组合列表;其中,第二指令为显示器全屏显示下,显示设备接收到的选择分屏应用指令,分屏应用组合列表包括所有多个备选分屏应用组合,每一个备选分屏应用组合中包括一个主屏应用和一个副屏应用。 Operation 1. Respond to the second instruction, and acquire a split-screen application combination list; wherein, the second instruction is an instruction for selecting a split-screen application received by the display device under full-screen display on the display, and the split-screen application combination list includes all multiple candidate split-screen application combinations, and each candidate split-screen application combination includes a main-screen application and a secondary-screen application.
操作二、将分屏应用组合列表呈现在显示器。 Operation 2, presenting a split-screen application combination list on the display.
操作三、响应于第二分屏应用组合选择指令,将选定分屏应用组合中的主屏应用呈现在显示器主屏区域,并将选定分屏应用组合中的副屏应用呈现在显示器副屏区域,其中,选定分屏应用组合为所述备选分屏应用组合中的一个,主屏区域与副屏区域不重叠。 Operation 3. In response to the second split-screen application combination selection instruction, present the main-screen application in the selected split-screen application combination on the main screen area of the display, and present the secondary-screen application in the selected split-screen application combination in the secondary screen area of the display, wherein the selected split-screen application combination is one of the candidate split-screen application combinations, and the main screen area and the secondary screen area do not overlap.
例如,在显示设备全屏模式下显示的是A应用。For example, application A is displayed in the full screen mode of the display device.
当用户需要在显示设备进行多任务操作,即在显示设备分屏模式下显示B应用和C应用,这时用户无需退出主屏模式,仅需启动快速切换分屏应用功能,通过控制器调出以及呈现在显示器上的分屏应用组合列表,使用遥控器选定分屏应用组合后,即可在显示器的分屏模式下显示B应用和C应用。When the user needs to perform multitasking operations on the display device, that is, to display application B and application C in the split-screen mode of the display device, the user does not need to exit the main screen mode at this time, but only needs to start the function of quickly switching split-screen applications, and call out and present the list of split-screen application combinations on the display through the controller.
其中,B应用和C应用根据其在分屏应用组合列表中的设定,主屏应用呈现在主屏区 域,副屏应用呈现在副屏区域。Among them, according to the settings of the B application and the C application in the split-screen application combination list, the main screen application is presented in the main screen area, and the secondary screen application is presented in the secondary screen area.
在实际应用中,还可以将在显示器全屏显示的A应用切换成在显示器分屏显示下的A应用和C应用,这样无需退出全屏模式即可变换至分屏模式,从而实现在分屏模式下进行多任务操作,提升了用户体验度。In practical applications, it is also possible to switch the application A displayed on the full screen of the monitor to the application A and application C displayed on the split screen of the monitor, so that it can be changed to the split screen mode without exiting the full screen mode, thereby realizing multitasking operations in the split screen mode and improving user experience.
由以上内容可知,本申请提供的显示设备、分屏显示及分屏应用切换方法,针对分屏显示方法,保证了针对支持分屏的应用,用户才可以触发进行分屏显示,并且提供了从全屏显示至分屏显示的实现逻辑,以及从分屏显示至全屏显示的实现逻辑,可以保证分屏显示过程中,界面转换过程的实现,提高了人机交互性能;针对分屏应用切换方法,通过建立分屏应用组合列表,使得用户在需要进行目标应用组合切换时,进行快速切换,无需再次进入应用列表中选择,提升了操作的便捷性与体验度;当分屏应用内有页面切换或者跳转时,可以得到页面变动后的主屏以及副屏的第一分屏应用组合,并与分屏应用组合列表中已有的分屏应用组合进行对比,对未存在分屏应用组合列表中的分屏应用组合进行保存,做到实时更新;在实际应用中,还可根据用户的偏好程度对分屏组合列表中的分屏应用组合进行排序,提升用户体验。As can be seen from the above, the display device, split-screen display, and split-screen application switching method provided by this application ensure that the user can trigger split-screen display only for applications that support split-screen, and provide the realization logic from full-screen display to split-screen display, and from split-screen display to full-screen display, which can ensure the realization of the interface conversion process during the split-screen display process and improve the performance of human-computer interaction. , to perform quick switching without entering the application list again to select, which improves the convenience and experience of operation; when there is a page switch or jump in the split-screen application, the first split-screen application combination of the main screen and secondary screen after the page change can be obtained, and compared with the existing split-screen application combinations in the split-screen application combination list, and the split-screen application combinations that do not exist in the split-screen application combination list are saved to achieve real-time updates;
本申请实施例提供一种计算机可读非易失性存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现上述方法实施例中分屏显示方法的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以为ROM、RAM、磁碟或者光盘等。An embodiment of the present application provides a computer-readable non-volatile storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process of the split-screen display method in the above-mentioned method embodiment can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here. Wherein, the computer-readable storage medium may be ROM, RAM, magnetic disk or optical disk, and the like.

Claims (17)

  1. 一种显示设备,包括:A display device comprising:
    用户输入接口,被配置为:接收用户的输入;The user input interface is configured to: receive user input;
    显示器,被配置为:显示图像和/或界面;a display configured to: display images and/or interfaces;
    控制器,被配置为:响应于通过所述用户输入接口接收到针对第一应用的启动输入,根据全屏显示时的全屏窗口大小,绘制所述第一应用的界面,并控制所述显示器全屏显示所述第一应用的界面;The controller is configured to: in response to receiving a startup input for the first application through the user input interface, draw the interface of the first application according to the full-screen window size in full-screen display, and control the display to display the interface of the first application in full screen;
    控制所述显示器在所述第一应用的界面上层显示分屏控件,其中,所述第一应用支持分屏显示;controlling the display to display a split-screen control on an upper layer of the interface of the first application, wherein the first application supports split-screen display;
    响应于通过所述用户输入接口接收到针对所述分屏控件的第一输入,确定第一分屏区域对应的第一分屏窗口大小,根据所述第一分屏窗口大小,重新绘制所述第一应用的界面,以及确定第二分屏区域对应的第二分屏窗口大小,根据所述第二分屏窗口大小绘制应用选择界面,并控制所述显示器在所述第一分屏区域显示所述第一应用的界面,在所述第二分屏区域显示所述应用选择界面;In response to receiving a first input for the split-screen control through the user input interface, determine the size of the first split-screen window corresponding to the first split-screen area, redraw the interface of the first application according to the size of the first split-screen window, and determine the size of the second split-screen window corresponding to the second split-screen area, draw an application selection interface according to the size of the second split-screen window, and control the display to display the interface of the first application in the first split-screen area, and display the application selection interface in the second split-screen area;
    其中,所述应用选择界面中包括至少一个标识,所述至少一个标识用于标识至少一个支持分屏显示的应用。Wherein, the application selection interface includes at least one identifier, and the at least one identifier is used to identify at least one application that supports split-screen display.
  2. 根据权利要求1所述的显示设备,所述控制器被配置为:在检测到所述第一应用支持分屏显示,且存在其他支持分屏显示的应用,则控制所述显示器在所述第一应用的界面上层显示所述分屏控件。The display device according to claim 1, wherein the controller is configured to: when detecting that the first application supports split-screen display and there are other applications supporting split-screen display, control the display to display the split-screen control on the interface of the first application.
  3. 根据权利要求1所述的显示设备,所述控制器还被配置为:控制所述显示器在所述第一分屏区域与所述第二分屏区域之间显示边界控件;The display device according to claim 1, the controller is further configured to: control the display to display a boundary control between the first split screen area and the second split screen area;
    响应于通过所述用户输入接口接收到针对所述边界控件的拖动输入,重新确定所述第一分屏窗口大小和所述第二分屏窗口大小。Resizing the first split-screen window and the second split-screen window in response to receiving a drag input for the border control through the user input interface.
  4. 根据权利要求1所述的显示设备,所述控制器还被配置为:The display device according to claim 1, the controller is further configured to:
    在所述第二分屏区域显示所述应用选择界面之后,响应于通过所述用户输入接口接收到的第二输入,控制所述显示器将所述应用选择界面更新显示为第二应用的界面;After the application selection interface is displayed in the second split-screen area, in response to a second input received through the user input interface, control the display to update and display the application selection interface as an interface of a second application;
    其中,所述第二输入为针对所述第二应用的标识的输入,所述第二应用为所述至少一个支持分屏显示的应用中的一个应用。Wherein, the second input is an input for the identification of the second application, and the second application is one of the at least one application that supports split-screen display.
  5. 根据权利要求4所述的显示设备,所述控制器还被配置为:The display device according to claim 4, the controller is further configured to:
    在所述控制所述显示器将所述应用选择界面更新显示为第二应用的界面之后,控制所述显示器在目标分屏区域上层显示全屏控件,所述目标分屏区域为所述第一分屏区域或所述第二分屏区域;After the display is controlled to update and display the application selection interface as the interface of the second application, the display is controlled to display a full-screen control on an upper layer of a target split-screen area, and the target split-screen area is the first split-screen area or the second split-screen area;
    响应于通过所述用户输入接口接收到针对所述全屏控件的第三输入,根据所述全屏窗口大小,重新绘制目标界面,并控制所述显示器全屏显示重新绘制后的所述目标界面;In response to receiving a third input for the full-screen control through the user input interface, according to the size of the full-screen window, redraw the target interface, and control the display to display the redrawn target interface in full screen;
    其中,所述目标界面为所述目标分屏区域中显示的界面。Wherein, the target interface is an interface displayed in the target split-screen area.
  6. 根据权利要求1所述的显示设备,所述控制器被配置为:The display device according to claim 1, the controller is configured to:
    若目标白名单中包括有所述第一应用的标识,则确定所述第一应用支持分屏显示,控制所述显示器在所述第一应用的界面上层显示所述分屏控件;If the target whitelist includes the identifier of the first application, then determine that the first application supports split-screen display, and control the display to display the split-screen control on the upper layer of the interface of the first application;
    其中,所述目标白名单用于存储支持分屏显示的所有应用的标识。Wherein, the target white list is used to store identifiers of all applications supporting split-screen display.
  7. 根据权利要求1所述的显示设备,所述控制器被配置为:The display device according to claim 1, the controller is configured to:
    获取所述第一应用的属性信息;acquiring attribute information of the first application;
    若所述第一应用的属性信息中包括目标属性值,则确定所述第一应用支持分屏显示,并控制所述显示器在所述第一应用的界面上层显示所述分屏控件;If the attribute information of the first application includes a target attribute value, then determine that the first application supports split-screen display, and control the display to display the split-screen control on the upper layer of the interface of the first application;
    其中,所述目标属性值用于指示所述第一应用支持分屏显示。Wherein, the target attribute value is used to indicate that the first application supports split-screen display.
  8. 根据权利要求1所述的显示设备,所述控制器被配置为:The display device according to claim 1, the controller is configured to:
    响应于所述第一输入,将全屏堆栈切换为分屏堆栈;switching a full-screen stack to a split-screen stack in response to the first input;
    获取所述分屏堆栈对应设置的所述第一分屏窗口大小与所述第二分屏窗口大小;Obtaining the size of the first split-screen window and the size of the second split-screen window correspondingly set by the split-screen stack;
    获取所述第一输入对应的界面数据,并存入所述分屏堆栈对应的活动堆栈中,其中所述界面数据包括:所述第一应用的界面的数据,以及所述应用选择界面的数据;Obtaining interface data corresponding to the first input, and storing it in an activity stack corresponding to the split-screen stack, wherein the interface data includes: data of the interface of the first application, and data of the application selection interface;
    从所述分屏堆栈对应的活动堆栈中读取所述界面数据,并根据所述第一分屏窗口大小,绘制所述第一应用的界面,以及根据所述第二分屏窗口大小,绘制所述应用选择界面。Reading the interface data from the activity stack corresponding to the split-screen stack, drawing the interface of the first application according to the size of the first split-screen window, and drawing the application selection interface according to the size of the second split-screen window.
  9. 根据权利要求5所述的显示设备,所述控制器被配置为:The display device according to claim 5, the controller is configured to:
    响应于所述第三输入,将分屏堆栈切换为全屏堆栈,以获取所述全屏堆栈对应设置的所述全屏窗口大小;In response to the third input, switch the split-screen stack to a full-screen stack, so as to obtain the full-screen window size correspondingly set by the full-screen stack;
    将所述第三输入所对应的所述目标界面的数据,存入所述全屏堆栈对应的活动堆栈中;storing the data of the target interface corresponding to the third input into the active stack corresponding to the full-screen stack;
    从所述全屏堆栈对应的活动堆栈中读取所述目标界面的数据,并根据所述全屏窗口大小,重新绘制所述目标界面。Reading the data of the target interface from the activity stack corresponding to the full screen stack, and redrawing the target interface according to the size of the full screen window.
  10. 根据权利要求1-9任一所述的显示设备,包括:The display device according to any one of claims 1-9, comprising:
    所述控制器,还被配置为:响应于第一指令,以及获取分屏应用组合列表;其中,所述第一指令为所述显示器分屏显示下,所述显示设备接收到的切换分屏应用指令,所述分屏应用组合列表包括所有多个备选分屏应用组合,每一个备选分屏应用组合中包括一个主屏应用和一个副屏应用;The controller is further configured to: respond to the first instruction, and acquire a split-screen application combination list; wherein, the first instruction is an instruction to switch split-screen applications received by the display device under split-screen display on the display, and the split-screen application combination list includes all multiple candidate split-screen application combinations, and each candidate split-screen application combination includes a main screen application and a secondary screen application;
    将所述分屏应用组合列表呈现在所述显示器;presenting the split-screen application combination list on the display;
    响应于第一分屏应用组合选择指令,将选定分屏应用组合中的主屏应用呈现在所述显示器主屏区域,并将所述选定分屏应用组合中的副屏应用呈现在所述显示器副屏区域,其中,所述选定分屏应用组合为所述备选分屏应用组合中的一个,所述主屏区域与副屏区域不重叠。In response to the first split-screen application combination selection instruction, presenting the main-screen application in the selected split-screen application combination on the main screen area of the display, and presenting the secondary-screen application in the selected split-screen application combination in the display secondary-screen area, wherein the selected split-screen application combination is one of the candidate split-screen application combinations, and the main screen area does not overlap with the secondary screen area.
  11. 根据权利要求10所述的显示设备,所述控制器,还被配置为:The display device according to claim 10, the controller is further configured to:
    在响应于第一指令,以及获取分屏应用组合列表之前,获取所有支持分屏的应用,得到每个支持分屏应用的包名以及启动页面;Before responding to the first instruction and obtaining the combination list of split-screen applications, obtain all applications that support split-screen, and obtain the package name and startup page of each application that supports split-screen;
    将所有支持分屏的应用两两进行结合,得到记载有包名以及启动页面的多个备选分屏应用组合;其中每一个备选分屏应用组合中的两个包名作为该组合的唯一标识;Combine all split-screen applications in pairs to obtain multiple candidate split-screen application combinations with package names and startup pages; the two package names in each candidate split-screen application combination are used as the unique identification of the combination;
    将两两结合后的多个备选分屏应用组合整合成所述分屏应用组合列表。The multiple candidate split-screen application combinations combined in pairs are integrated into the split-screen application combination list.
  12. 根据权利要求11所述的显示设备,所述控制器还被配置为:The display device according to claim 11, the controller is further configured to:
    将主屏应用和副屏应用对应的包名、对应的启动页面、屏幕截图以及分屏比例记录在所述分屏应用组合列表中;其中所述分屏应用组合列表中的备选分屏应用组合按照使用时间长短以及生成时间排序,所述使用时间长短优先级高于所述生成时间。Record the package names corresponding to the main screen application and the secondary screen application, the corresponding startup page, screenshots, and split screen ratios in the split screen application combination list; wherein the candidate split screen application combinations in the split screen application combination list are sorted according to the length of use and generation time, and the priority of the length of use time is higher than the generation time.
  13. 根据权利要求11所述的显示设备,所述控制器被进一步配置为:The display device according to claim 11, the controller is further configured to:
    根据所述控制器内预设支持分屏应用的白名单以及分屏应用自身配置文件中的配置 项过滤得到支持分屏的应用及其对应的包名;According to the preset white list supporting split-screen applications in the controller and the configuration items in the configuration file of the split-screen application itself, filter to obtain applications that support split-screen and their corresponding package names;
    通过PackageManager获取对应支持分屏应用的启动页面,得到每个支持分屏应用的包名以及启动页面。Obtain the startup page of the corresponding application that supports split-screen through PackageManager, and obtain the package name and startup page of each application that supports split-screen.
  14. 根据权利要求10所述的显示设备,所述控制器还被进一步配置为:The display device according to claim 10, the controller is further configured to:
    判断所述选定分屏应用组合中的主屏应用和副屏应用是否启动;Judging whether the main screen application and the secondary screen application in the selected split-screen application combination are started;
    若所述主屏应用以及所述副屏应用均已启动,则将所述主屏应用在所述主屏区域进行启动以及将所述副屏应用在所述副屏区域进行启动,根据所述分屏应用组合列表中的分屏比例,调整分屏中主屏以及副屏的占用空间,并将所述主屏和所述副屏以分屏的形式呈现在所述显示器;If both the main screen application and the secondary screen application have been started, start the main screen application in the main screen area and start the secondary screen application in the secondary screen area, adjust the occupied space of the main screen and the secondary screen in the split screen according to the split screen ratio in the split screen application combination list, and present the main screen and the secondary screen on the display in the form of a split screen;
    若所述主屏应用和/或所述副屏应用已经启动,则根据所述主屏应用和/或所述副屏应用对应的包名以及启动页面,将所述主屏应用调回至前台显示,并得到所述主屏应用的显示空间;If the main screen application and/or the secondary screen application have been started, then according to the package name and startup page corresponding to the main screen application and/or the secondary screen application, the main screen application is transferred back to the foreground display, and the display space of the main screen application is obtained;
    若所述主屏应用和/或副屏应用未启动,则通过ActivityManager将所述主屏应用和/或所述副屏应用冷启动以及显示在前台,并得到所述主屏应用和/或所述副屏应用的显示空间。If the main screen application and/or the secondary screen application are not started, the main screen application and/or the secondary screen application are cold-started and displayed in the foreground through the ActivityManager, and the display space of the main screen application and/or the secondary screen application is obtained.
  15. 根据权利要求10所述的显示设备,所述控制器还被配置为:The display device according to claim 10, the controller is further configured to:
    监听所述显示界面的所述主屏应用和/或所述副屏应用中是否有页面的切换或者跳转;Monitoring whether there is page switching or jumping in the main screen application and/or the secondary screen application of the display interface;
    当所述主屏应用和/或所述副屏应用中有页面的切换或者跳转时,判断所述切换或者跳转的新的页面是否支持分屏;When there is page switching or jumping in the main screen application and/or the secondary screen application, it is judged whether the new page of the switching or jumping supports split screen;
    若所述切换或者跳转的新的页面应用支持分屏,则对页面变动后的显示画面进行截屏,生成截屏图片,根据页面变动后的主屏应用和/或副屏应用的包名得到第一分屏应用组合;将所述第一分屏应用组合与所述分屏应用列表中所有的备选分屏应用组合进行比对;如果所述第一分屏应用组合与所述分屏应用组合列表中的任一分屏应用组合比对一致,将所述主屏应用以及所述副屏应用对应的页面以及截屏图片更新至所述分屏应用组合列表;如果所述第一分屏应用组合与所述分屏应用组合列表中的所有备选分屏应用组合比对不一致,将所述第一分屏应用组合保存至所述分屏应用组合列表中;If the new page application of the switch or jump supports split screen, then take a screenshot of the display screen after the page change, generate a screenshot picture, obtain the first split-screen application combination according to the package name of the main-screen application and/or the secondary-screen application after the page change; compare the first split-screen application combination with all alternative split-screen application combinations in the split-screen application list; The screen picture is updated to the split-screen application combination list; if the comparison between the first split-screen application combination and all alternative split-screen application combinations in the split-screen application combination list is inconsistent, the first split-screen application combination is saved in the split-screen application combination list;
    若所述切换或者跳转的新的页面不支持分屏,则关闭分屏模式,通过ActivityManager以整个屏幕作为所述切换或者跳转页面的显示空间,将另一分屏的应用退至后台。If the switching or jumping new page does not support split-screen, then close the split-screen mode, use the whole screen as the display space of the switching or jumping page through the ActivityManager, and retreat another split-screen application to the background.
  16. 根据权利要求10所述的显示设备,所述控制器还被配置为:The display device according to claim 10, the controller is further configured to:
    响应于第二指令,以及获取分屏应用组合列表;其中,所述第二指令为所述显示器全屏显示下,所述显示设备接收到的选择分屏应用指令,所述分屏应用组合列表包括所有多个备选分屏应用组合,每一个备选分屏应用组合中包括一个主屏应用和一个副屏应用;Responding to the second instruction, and obtaining a split-screen application combination list; wherein, the second instruction is an instruction for selecting a split-screen application received by the display device under full-screen display of the display, the split-screen application combination list includes all multiple candidate split-screen application combinations, and each candidate split-screen application combination includes a main screen application and a secondary screen application;
    将所述分屏应用组合列表呈现在所述显示器;presenting the split-screen application combination list on the display;
    响应于第二分屏应用组合选择指令,将选定分屏应用组合中的主屏应用呈现在所述显示器主屏区域,并将所述选定分屏应用组合中的副屏应用呈现在所述显示器副屏区域,其中,所述选定分屏应用组合为所述备选分屏应用组合中的一个,所述主屏区域与副屏区域不重叠。Responding to a second split-screen application combination selection instruction, presenting a main-screen application in the selected split-screen application combination on the main screen area of the display, and presenting a secondary-screen application in the selected split-screen application combination in the display secondary-screen area, wherein the selected split-screen application combination is one of the candidate split-screen application combinations, and the main screen area does not overlap with the secondary screen area.
  17. 一种用于显示设备的分屏显示方法,包括:A split-screen display method for a display device, comprising:
    响应于针对第一应用的启动输入,根据所述显示设备的显示器全屏显示时的全屏窗口大小,绘制所述第一应用的界面,并全屏显示所述第一应用的界面;In response to the start input for the first application, draw the interface of the first application according to the full-screen window size when the display of the display device is displayed in full screen, and display the interface of the first application in full screen;
    在所述第一应用的界面上层显示分屏控件,其中,所述第一应用支持分屏显示;Displaying a split-screen control on an upper layer of the interface of the first application, wherein the first application supports split-screen display;
    响应于针对所述分屏控件的第一输入,确定第一分屏区域对应的第一分屏窗口大小,根据所述第一分屏窗口大小,重新绘制所述第一应用的界面,以及确定第二分屏区域对应的第二分屏窗口大小,根据所述第二分屏窗口大小绘制应用选择界面,并在所述第一分屏区域显示所述第一应用的界面,在所述第二分屏区域显示所述应用选择界面;In response to the first input for the split-screen control, determine the size of the first split-screen window corresponding to the first split-screen area, redraw the interface of the first application according to the size of the first split-screen window, and determine the size of the second split-screen window corresponding to the second split-screen area, draw an application selection interface according to the size of the second split-screen window, display the interface of the first application in the first split-screen area, and display the application selection interface in the second split-screen area;
    其中,所述应用选择界面中包括至少一个标识,所述至少一个标识用于标识至少一个支持分屏显示的应用。Wherein, the application selection interface includes at least one identifier, and the at least one identifier is used to identify at least one application that supports split-screen display.
PCT/CN2022/109145 2022-01-20 2022-07-29 Display device, split-screen display method and split-screen application switching method WO2023138024A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202210068176.5 2022-01-20
CN202210067411.7 2022-01-20
CN202210067411.7A CN114554299A (en) 2022-01-20 2022-01-20 Display device and split-screen display method
CN202210068176.5A CN114390332A (en) 2022-01-20 2022-01-20 Display device and method for rapidly switching split-screen application

Publications (1)

Publication Number Publication Date
WO2023138024A1 true WO2023138024A1 (en) 2023-07-27

Family

ID=87347724

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/109145 WO2023138024A1 (en) 2022-01-20 2022-07-29 Display device, split-screen display method and split-screen application switching method

Country Status (1)

Country Link
WO (1) WO2023138024A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106843732A (en) * 2017-01-24 2017-06-13 维沃移动通信有限公司 The method and mobile terminal of a kind of split screen display available
CN107256129A (en) * 2017-07-20 2017-10-17 广东欧珀移动通信有限公司 Switch method, device and its relevant device of application under span mode
CN110727382A (en) * 2019-09-06 2020-01-24 华为技术有限公司 Split-screen display method and electronic equipment
CN113703624A (en) * 2021-07-26 2021-11-26 维沃移动通信(杭州)有限公司 Screen splitting method and device and electronic equipment
CN114390332A (en) * 2022-01-20 2022-04-22 海信视像科技股份有限公司 Display device and method for rapidly switching split-screen application
CN114554299A (en) * 2022-01-20 2022-05-27 海信视像科技股份有限公司 Display device and split-screen display method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106843732A (en) * 2017-01-24 2017-06-13 维沃移动通信有限公司 The method and mobile terminal of a kind of split screen display available
CN107256129A (en) * 2017-07-20 2017-10-17 广东欧珀移动通信有限公司 Switch method, device and its relevant device of application under span mode
CN110727382A (en) * 2019-09-06 2020-01-24 华为技术有限公司 Split-screen display method and electronic equipment
CN113703624A (en) * 2021-07-26 2021-11-26 维沃移动通信(杭州)有限公司 Screen splitting method and device and electronic equipment
CN114390332A (en) * 2022-01-20 2022-04-22 海信视像科技股份有限公司 Display device and method for rapidly switching split-screen application
CN114554299A (en) * 2022-01-20 2022-05-27 海信视像科技股份有限公司 Display device and split-screen display method

Similar Documents

Publication Publication Date Title
WO2022073392A1 (en) Picture display method, and display device
CN114554299A (en) Display device and split-screen display method
CN112272331B (en) Method for rapidly displaying program channel list and display equipment
WO2024066538A1 (en) Display device and display device control method
CN112637957A (en) Display device and communication method of display device and wireless sound box
WO2023138024A1 (en) Display device, split-screen display method and split-screen application switching method
CN114928760B (en) Key setting method of control device and display equipment
CN112584210B (en) Display device, video recording method and recorded file display method
WO2021197078A1 (en) Display method and display device
CN114007129A (en) Display device and network distribution method
CN114390332A (en) Display device and method for rapidly switching split-screen application
CN112367550A (en) Method for realizing multi-title dynamic display of media asset list and display equipment
CN112235621A (en) Display method and display equipment for visual area
CN111787350A (en) Display device and screenshot method in video call
US20240121464A1 (en) Display apparatus and display method
WO2023025300A1 (en) Display device and display method therefor
CN112770169B (en) List circulating page turning method and display device
US20240022780A1 (en) Display method and display device
US20240107108A1 (en) Display apparatus
WO2022121434A1 (en) Display device, video recording method, and recorded file display method
CN114007126A (en) Display device and multi-device network distribution method
CN114007127A (en) Display device and multi-device distribution network retry method
CN116347166A (en) Display device and window display method
CN116781954A (en) Signal source display method and display equipment
CN117812424A (en) Display equipment and split screen display method

Legal Events

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

Ref document number: 22921453

Country of ref document: EP

Kind code of ref document: A1