WO2015196543A1 - Terminal and multi-window display method for terminal, and storage medium - Google Patents

Terminal and multi-window display method for terminal, and storage medium Download PDF

Info

Publication number
WO2015196543A1
WO2015196543A1 PCT/CN2014/084690 CN2014084690W WO2015196543A1 WO 2015196543 A1 WO2015196543 A1 WO 2015196543A1 CN 2014084690 W CN2014084690 W CN 2014084690W WO 2015196543 A1 WO2015196543 A1 WO 2015196543A1
Authority
WO
WIPO (PCT)
Prior art keywords
window
terminal
screen
focus
display
Prior art date
Application number
PCT/CN2014/084690
Other languages
French (fr)
Chinese (zh)
Inventor
苏莹
谢宝友
游昌海
何剑
罗志云
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015196543A1 publication Critical patent/WO2015196543A1/en

Links

Classifications

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

Definitions

  • Multi-window display method and storage medium for terminal and terminal are Multi-window display method and storage medium for terminal and terminal
  • the present invention relates to a terminal display technology, and in particular, to a multi-window display method and a storage medium for a terminal and a terminal. Background technique
  • the embodiments of the present invention provide a multi-window display method and a storage medium for a terminal and a terminal, which can implement multi-tasking and multi-window display on the smart terminal, thereby fully utilizing the real resources of the large screen and improving the user experience.
  • an embodiment of the present invention provides a multi-window display method for a terminal, where the method includes:
  • the terminal When the terminal creates the first window and the windowed identifier of the first window is windowable, the terminal displays the first window according to the display parameter of the first window, and focuses the current terminal screen. The window switches to the first window.
  • the switching the current focus window of the terminal screen to the first window includes:
  • the terminal When the current focus window of the terminal screen is a windowed window, the terminal protects Holding the operating state of the window displayed by the window, and switching the focus window of the terminal screen to the first window;
  • the terminal switches the running state of the full-screen displayed window to a suspended state, and switches the focus window of the terminal screen to the first window.
  • the method further includes: the terminal receiving an operation instruction for the first window;
  • the terminal After the terminal receives an operation instruction for the maximize button of the first window title bar, the terminal modifies the display parameter of the first window to a full screen display parameter, and displays the according to the full screen display parameter.
  • the terminal After the terminal receives an operation instruction for the minimize button of the first window title bar, the terminal modifies the Z sequence of the first window to a background;
  • the terminal modifies the display parameter of the first window to the minimum that the terminal receives the title bar of the first window. And displaying a display parameter before the operation command of the button, and displaying the first window according to a display parameter before the terminal receives an operation instruction for the minimize button or the maximize button of the first window title bar ;
  • the terminal After the terminal receives an operation instruction for the close button of the first window title bar, the terminal closes the first window;
  • the terminal After the terminal receives the operation instruction for modifying the display parameter of the window, the terminal modifies the display parameter of the first window to the modified display parameter, and according to the modified display parameter The first window is displayed.
  • the method further includes: receiving, by the terminal, a screen focus window switching instruction;
  • the terminal When the current focus window of the terminal screen and the focus window to be switched are windowed display a window, the terminal maintains an operating state of the current focus window, and switches a focus of the terminal screen to the focus window to be switched;
  • the terminal modifies the current focus window and the operation state of the non-focus window of the terminal screen. In a suspend state, switching the focus of the terminal screen to the focus window to be switched;
  • the terminal modifies the running state of the current focus window to a pause state, and the terminal is The focus of the screen is switched to the focus window to be switched.
  • the receiving, by the terminal, a screen focus window switching instruction includes:
  • the terminal receives an operation instruction for acknowledging an open window list on the screen desktop, and receiving an operation instruction for a window identifier in the opened window list on the terminal screen;
  • the opened window list includes a window identifier that is currently opened by the terminal.
  • an embodiment of the present invention provides a terminal, where the terminal includes: a creating unit, a storage unit, and a display control unit, where
  • the creating unit is configured to create a first window
  • the storage unit is configured to store a windowed identifier and a display parameter of the first window; the display control unit is configured to: when the creating unit creates the first window and the first in the storage unit When the windowed identifier of the window is windowable, the first window is displayed according to the display parameter of the first window in the storage unit, and the focus window of the current terminal screen is switched to the first window.
  • the display control unit is configured to:
  • the running state of the window display window is maintained, and the focus window of the terminal screen is switched to the first window;
  • the running state of the full-screen display window is switched to a suspended state, and the focus window of the terminal screen is switched to the first window.
  • the terminal further includes a receiving unit configured to receive an operation instruction for the first window;
  • the display control unit is further configured to:
  • the receiving unit After the receiving unit receives an operation instruction for the maximize button of the first window title bar, modifying the display parameter of the first window to a full screen display parameter, and displaying the first according to the full screen display parameter Window
  • the receiving unit receives an operation instruction for the restore button of the first window title bar
  • the display parameter of the first window to receive the minimization of the first window title bar by the terminal a button or a display parameter of the operation command of the maximized button, and displaying the first window according to a display parameter before the terminal receives an operation instruction for the minimize button or the maximize button of the first window title bar
  • the receiving unit receives the operation instruction for modifying the display parameter of the window, modifying the display parameter of the first window to the modified display parameter, and according to the The modified display parameter displays the first window.
  • the terminal further includes a receiving unit configured to receive a screen focus window switching instruction
  • the display control unit is further configured to:
  • the current focus window of the terminal screen is a windowed display window, and the to-be-switched focus window is a full-screen display window
  • the current focus window and the non-focus window of the terminal screen are modified to be suspended. a state, and switching a focus of the terminal screen to the focus window to be switched;
  • the current focus window of the terminal screen is a full screen display window
  • the focus window to be switched is a window display window
  • the running state of the current focus window is modified to a suspended state
  • the terminal screen is The focus is switched to the focus window to be switched.
  • the receiving unit is configured to:
  • the embodiment of the invention further provides a storage medium, wherein the storage medium stores a computer program, and the computer program is configured to execute the multi-window display method of the terminal.
  • An embodiment of the present invention provides a multi-window display method for a terminal and a terminal, which is configured to display a multi-task on a smart terminal by displaying the window according to a display parameter of the window when the window is created.
  • Multi-window display makes full use of the real resources of the big screen and enhances the user experience.
  • FIG. 1 is a schematic flowchart of a multi-window display method of a terminal according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a display state of a control window according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention. detailed description
  • an embodiment of the present invention is described by using an Android operating system that is generally applied to an intelligent terminal as an example.
  • the terminals mentioned in the above can be considered as terminals that have already installed the Android operating system;
  • the terminal may be a smart phone, a tablet computer, an e-book reader, or a personal digital assistant ( PDA, Personal Digital Assistant), POS, Point of Sales, on-board computer, motion picture expert compressed standard audio layer 3 player (MP3, Moving Picture Experts Group Audio Layer III), motion picture expert compression standard audio level 4 (MP4, Moving Picture Experts Group Audio Layer IV) player, etc.
  • PDA Personal Digital Assistant
  • POS Point of Sales
  • on-board computer motion picture expert compressed standard audio layer 3 player
  • MP3, Moving Picture Experts Group Audio Layer III Motion Picture Experts Group Audio Layer III
  • MP4 Moving Picture Experts Group Audio Layer IV
  • the terminal of the Android operating system is created by creating a window.
  • the Activity component is implemented, and when the terminal creates the Activity component, the default way is to pass the parameters of the full screen display to the created Activity component, so that the created window is also displayed in full screen; however, in the embodiment of the present invention, the terminal When the first window is created, the display parameters of the preset first window are passed to the created Activity component, so that the created first window can be windowed in the screen.
  • the windowed identifier of the first window may be used to identify whether the first window can be windowed.
  • the windowed identifier of the first window may be represented by a Boolean value. For example, 1 and 0, for example, when the windowing identifier of the first window is 0, it indicates that the first window cannot be windowed.
  • the first window is in a full screen display state and the first The full screen display state of a window is unchangeable; when the windowing identifier of the first window is 1, the first window is windowable, and the first window may be according to the The display parameter of the first window is displayed on the screen of the terminal.
  • the display parameter of the first window may include location information and size information of the first window, and may specifically include an upper left corner of the first window.
  • the X coordinate of the first pixel on the terminal screen, the Y coordinate of the first pixel in the upper left corner of the first window on the terminal screen, the length of the first window, and the The width of the first window is displayed, and the terminal may display the first window on the terminal screen according to the four display parameters.
  • the current focus window of the terminal screen is usually switched to the first window, specifically, the current focus window of the terminal screen is switched to the first window.
  • the terminal When the current focus window of the terminal screen is a windowed window, the terminal maintains an operating state of the windowed window, and switches a focus window of the terminal screen to the first window; When the current focus window of the terminal screen is a full-screen display window, the terminal switches the running state of the full-screen displayed window to a suspended state, and switches the focus window of the terminal screen to the first window.
  • the terminal when the terminal starts the application opening window, the terminal can display multiple windows simultaneously in one screen according to the manner of S101, and the screen positions occupied by the windows are different because the display parameters of the windows are different. Therefore, only part of the area of each window is a overlapping portion with other windows, thereby implementing multi-tasking and multi-window display on the terminal screen, which greatly improves the utilization of screen resources.
  • the method further includes:
  • S201 The terminal receives an operation instruction for the first window.
  • the first window may display a title bar of the first window; and the title bar of the first window may include a maximize button for causing the a first window maximizes display; a minimize button for minimizing display of the first window; a restore button for restoring the first window from maximizing or minimizing display state to minimizing or minimizing display a previous display state; a close button for closing the first window, and therefore, the operation instruction for the first window may include an instruction to operate a button in a title bar of the first window, eg, a terminal Receiving an operation instruction sent by a mouse on a screen by clicking a button in a title bar of the first window, or receiving an operation instruction sent by a touch operation on a button in a title bar of the first window on a touch screen Etc., this embodiment is not specifically defined;
  • the terminal may further receive an operation instruction for modifying the display parameter of the first window, for example, the terminal may receive the mouse on the screen.
  • the first window is configured to change position information and/or size information in the display parameters of the first window, and is not specifically limited in this embodiment.
  • the response manner of the terminal to the operation instruction is also different.
  • the specific response manner may include:
  • the terminal modifies the display parameter of the first window to that the terminal receives the title bar of the first window.
  • a minimized button or a display parameter preceding the operation command of the maximized button and displaying the first display parameter according to the display parameter before the terminal receives the operation command for the minimize button or the maximize button of the first window title bar a window
  • the terminal realizes the control of the windowed display parameters of the control window, thereby obtaining the same operation experience as operating the window on the personal computer, and improving the operation experience of the user on the terminal on the terminal.
  • the method may further include:
  • S301 The terminal receives a screen focus window switching instruction
  • S301 may specifically include:
  • the terminal receives an operation instruction for a window identifier in a window list that has been opened in a notification column on the terminal screen; Alternatively, after receiving the evoke command for evoking the opened window list on the screen desktop, the terminal receives an operation instruction for the window identifier in the opened window list on the terminal screen; wherein, the opened window list
  • the evoke command for evoking the opened window list on the screen desktop may be a preset shortcut key, or may reuse the existing physical button function on the terminal, or may be set again on the terminal.
  • the physical button corresponding to the evoke command for evoking the opened window list on the screen desktop is not specifically limited in this embodiment.
  • the switching of the focus window of the terminal to the screen may be different according to the current focus window and the display state of the window to be switched. Specifically, as described in S302 to S304:
  • the current focus window of the terminal screen is a windowed display video application window
  • the to-be-switched focus window is a windowed browser window opened by the user while watching the video, and the focus is obtained in the browser window.
  • the video application window needs to remain in play, rather than being suspended or paused because of the loss of focus.
  • the current focus window of the terminal screen is a window application window
  • the focus window to be switched is a full-screen game application window.
  • the video application window is The state needs to be converted to a suspended state, that is, running in the background of the system.
  • S304 When the current focus window of the terminal screen is a full-screen display window, and the to-be-switched focus window is a window display window, the terminal changes the running state of the current focus window to a pause state, and The focus of the terminal screen is switched to the focus window to be switched.
  • the current focus window of the terminal screen is a game application window displayed in full screen
  • the focus window to be switched is a window application window application window.
  • the video application window obtains the focus, the user cannot operate the game, so the game application is The state of the window is converted to a paused state.
  • the embodiment provides a multi-window display method of the terminal, which displays the window according to the display parameter of the window when the window is created, so that multi-tasking and multi-window display is realized on the smart terminal, thereby fully utilizing the reality of the large screen. Resources that enhance the user experience.
  • the terminal 40 may include: a creating unit 401, a storage unit 402, and a display control unit 403, where
  • the creating unit 401 is configured to create a first window
  • the storage unit 402 is configured to store a windowed identifier and a display parameter of the first window
  • the display control unit 403 is configured to: when the creating unit 401 creates the first window and the windowing identifier of the first window in the storage unit 402 is windowable, according to the storage unit 402
  • the display parameter of the first window displays the first window, and switches a focus window of the current terminal screen to the first window.
  • the creation unit 401 is implemented by creating an Activity component when creating a window, and when the terminal creates an Activity component, the default method is to pass the parameters of the full screen display to the created Activity component, thereby creating the window.
  • the window is also displayed in full screen; however, in the embodiment of the present invention, when creating the first window, the creating unit 401 uses the display parameter of the preset first window to the created Activity component, thereby making the first display
  • the window can be displayed windowed on the screen.
  • the windowed identifier of the first window may be used to identify whether the first window can be windowed.
  • the windowed identifier of the first window may be represented by a Boolean value.
  • the first window is in a full screen display state and the first The full screen display state of a window is unchangeable; when the windowing identifier of the first window is 1, the first window is windowable, and the first window may be according to the The display parameter of the first window is displayed on the screen of the terminal 40. Further, the display parameter of the first window may include location information and size information of the first window, and may specifically include the first window upper left.
  • the X coordinate of the first pixel of the corner on the screen of the terminal 40, the Y coordinate of the first pixel in the upper left corner of the first window on the screen of the terminal 40, the length of the first window, and the first The width of the window, the creating unit 401 can display the first window on the screen of the terminal 40 according to the above four display parameters.
  • the display control unit 403 can also be configured to:
  • the running state of the windowed window is maintained, and the focus window of the terminal 40 screen is switched to the first window;
  • the running state of the full-screen displayed window is switched to a suspended state, and the focus window of the screen of the terminal 40 is switched to the first window.
  • the terminal 40 may further include: a receiving unit 404 configured to receive an operation instruction for the first window;
  • the first window may display a title bar of the first window; and the title bar of the first window may include a maximize button for causing the a first window maximizes display; a minimize button for minimizing display of the first window; a restore button for maximizing or minimizing display state of the first window Reverting to the most faded or minimized display state before display; closing button for closing the first window, therefore, the operation instruction for the first window may include a button in a title bar of the first window
  • An operation instruction for example, the receiving unit 404 can receive an operation instruction sent by the mouse on the screen by clicking a button in the title bar of the first window, or can receive the title bar in the first window on the touch screen.
  • the operation command and the like sent by the button to perform the touch operation are not specifically limited in this embodiment;
  • the receiving unit 404 may further receive an operation instruction for modifying the display parameter of the first window, for example, the receiving unit 404 may receive the mouse on the screen to the first window.
  • the position information and/or the size information and the like in the display parameters of the first window are changed by the pulling, and the embodiment is not specifically limited.
  • the display control unit 403 is further configured to:
  • the display parameter of the first window is modified to a full screen display parameter, and the first display parameter is displayed according to the full screen display parameter.
  • the receiving unit 404 receives an operation instruction for the minimize button of the first window title bar, modifying the Z order of the first window to the background;
  • the receiving unit 404 receives an operation instruction for the restore button of the first window title bar, modifying the display parameter of the first window to the terminal 40 receiving the title bar of the first window.
  • the receiving unit 404 receives an operation instruction for the close button of the first window title bar, closing the first window;
  • the receiving unit 404 receives an operation to modify display parameters of the window After the instruction, the display parameter of the first window is modified to the modified display parameter, and the first window is displayed according to the modified display parameter.
  • the current focus window of the terminal 40 is a window display window, and the to-be-switched focus window is a full-screen display window, the current focus window and the non-focus window of the terminal 40 screen are modified.
  • a pause state switching the focus of the screen of the terminal 40 to the focus window to be switched;
  • the running state of the current focus window is changed to a suspended state, and the terminal is The focus of the 40 screen is switched to the focus window to be switched.
  • the receiving unit 404 can be configured to receive an operation instruction for a window identifier in the window list that has been opened in the notification bar on the screen of the terminal 40;
  • the list of opened windows includes a window identifier that is currently open by the terminal 40.
  • the embodiment further describes a terminal that displays the window according to the display parameter of the window when the window is created, so that multi-tasking and multi-window display is realized on the smart terminal, thereby fully utilizing the real resources of the large screen and improving the real resource. user experience.
  • the embodiment of the invention further describes a storage medium, wherein the storage medium stores a computer program, and the computer program is configured to execute the multi-window display method of the terminal of each of the foregoing embodiments.
  • the present invention may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware.
  • the invention can be embodied in the form of one or more computer program products embodied on a computer usable storage medium (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the invention displays the window according to the display parameter of the window when the window is created, so that the multi-tasking multi-window display is realized on the smart terminal, thereby fully utilizing the real resources of the large screen and improving the user experience.

Landscapes

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

Abstract

Disclosed are a terminal and a multi-window display method for a terminal, and a storage medium. The method may comprise: when a terminal creates a first window and a windowing identifier of the first window is windowable, the terminal displays the first window according to display parameters of the first window, and switches a current focused window of a screen of the terminal to the first window.

Description

一种终端及终端的多窗口显示方法、 存储介质 技术领域  Multi-window display method and storage medium for terminal and terminal
本发明涉及终端显示技术, 尤其涉及一种终端及终端的多窗口显示方 法、 存储介质。 背景技术  The present invention relates to a terminal display technology, and in particular, to a multi-window display method and a storage medium for a terminal and a terminal. Background technique
目前, 拥有大屏幕的智能终端越来越多的出现在用户的日常生活当中, 而这些智能终端通常在只通过屏幕全屏地显示一个程序的界面, 无法实现 多任务多窗口显示。 这不仅浪费了大屏幕的显示资源, 还严重影响了用户 体验。 发明内容  At present, smart terminals with large screens are increasingly appearing in the daily life of users, and these smart terminals usually display a program interface only through the screen full screen, and multi-tasking multi-window display cannot be realized. This not only wastes the display resources of the large screen, but also seriously affects the user experience. Summary of the invention
本发明实施例提供一种终端及终端的多窗口显示方法、 存储介质, 能 够在智能终端上实现多任务多窗口显示, 从而充分地利用了大屏幕的现实 资源, 提升用户体验。  The embodiments of the present invention provide a multi-window display method and a storage medium for a terminal and a terminal, which can implement multi-tasking and multi-window display on the smart terminal, thereby fully utilizing the real resources of the large screen and improving the user experience.
本发明实施例的技术方案是这样实现的:  The technical solution of the embodiment of the present invention is implemented as follows:
第一方面, 本发明实施例提供了一种终端的多窗口显示方法, 所述方 法包括:  In a first aspect, an embodiment of the present invention provides a multi-window display method for a terminal, where the method includes:
终端在创建第一窗口且所述第一窗口的窗口化标识为可窗口化时, 所 述终端根据所述第一窗口的显示参数显示所述第一窗口, 并将当前所述终 端屏幕的焦点窗口切换至所述第一窗口。  When the terminal creates the first window and the windowed identifier of the first window is windowable, the terminal displays the first window according to the display parameter of the first window, and focuses the current terminal screen. The window switches to the first window.
根据第一方面, 在第一种可能的实现方式中, 所述将所述终端屏幕当 前的焦点窗口切换至所述第一窗口, 包括:  According to the first aspect, in a first possible implementation, the switching the current focus window of the terminal screen to the first window includes:
当所述终端屏幕当前的焦点窗口为窗口化显示的窗口时, 所述终端保 持所述窗口化显示的窗口的运行状态, 并将所述终端屏幕的焦点窗口切换 至所述第一窗口; When the current focus window of the terminal screen is a windowed window, the terminal protects Holding the operating state of the window displayed by the window, and switching the focus window of the terminal screen to the first window;
当所述终端屏幕当前的焦点窗口为全屏显示的窗口时, 所述终端将所 述全屏显示的窗口的运行状态切换为挂起状态, 并将所述终端屏幕的焦点 窗口切换至所述第一窗口。  When the current focus window of the terminal screen is a full-screen display window, the terminal switches the running state of the full-screen displayed window to a suspended state, and switches the focus window of the terminal screen to the first window.
根据第一方面, 在第二种可能的实现方式中, 所述方法还包括: 所述终端接收对所述第一窗口的操作指令;  According to the first aspect, in a second possible implementation manner, the method further includes: the terminal receiving an operation instruction for the first window;
当所述终端接收对所述第一窗口标题栏的最大化按钮的操作指令后, 所述终端将所述第一窗口的显示参数修改为全屏显示参数, 并根据所述全 屏显示参数显示所述第一窗口;  After the terminal receives an operation instruction for the maximize button of the first window title bar, the terminal modifies the display parameter of the first window to a full screen display parameter, and displays the according to the full screen display parameter. First window
当所述终端接收对所述第一窗口标题栏的最小化按钮的操作指令后, 所述终端将所述第一窗口的 Z序修改为后台;  After the terminal receives an operation instruction for the minimize button of the first window title bar, the terminal modifies the Z sequence of the first window to a background;
当所述终端接受对所述第一窗口标题栏的还原按钮的操作指令后, 所 述终端将所述第一窗口的显示参数修改为所述终端在接收对所述第一窗口 标题栏的最小化按钮或最大化按钮的操作指令之前的显示参数, 并根据所 述终端在接收对所述第一窗口标题栏的最小化按钮或最大化按钮的操作指 令之前的显示参数显示所述第一窗口;  After the terminal accepts an operation instruction for the restore button of the first window title bar, the terminal modifies the display parameter of the first window to the minimum that the terminal receives the title bar of the first window. And displaying a display parameter before the operation command of the button, and displaying the first window according to a display parameter before the terminal receives an operation instruction for the minimize button or the maximize button of the first window title bar ;
当所述终端接收对所述第一窗口标题栏的关闭按钮的操作指令后, 所 述终端关闭所述第一窗口;  After the terminal receives an operation instruction for the close button of the first window title bar, the terminal closes the first window;
当所述终端接收对所述窗口的显示参数进行修改的操作指令后, 所述 终端将所述第一窗口的显示参数修改为所述修改后的显示参数, 并根据所 述修改后的显示参数显示所述第一窗口。  After the terminal receives the operation instruction for modifying the display parameter of the window, the terminal modifies the display parameter of the first window to the modified display parameter, and according to the modified display parameter The first window is displayed.
根据第一方面, 在第三种可能的实现方式中, 所述方法还包括: 所述终端接收屏幕焦点窗口切换指令;  According to the first aspect, in a third possible implementation, the method further includes: receiving, by the terminal, a screen focus window switching instruction;
当所述终端屏幕当前焦点窗口以及待切换焦点窗口均为窗口化显示的 窗口时, 所述终端保持所述当前焦点窗口的运行状态, 并将所述终端屏幕 的焦点切换至所述待切换焦点窗口; When the current focus window of the terminal screen and the focus window to be switched are windowed display a window, the terminal maintains an operating state of the current focus window, and switches a focus of the terminal screen to the focus window to be switched;
当所述终端屏幕当前焦点窗口为窗口化显示的窗口, 所述待切换焦点 窗口为全屏显示的窗口时, 所述终端将所述当前焦点窗口以及所述终端屏 幕的非焦点窗口的运行状态修改为挂起状态, 并将所述终端屏幕的焦点切 换至所述待切换焦点窗口;  When the current focus window of the terminal screen is a window display window, and the to-be-switched focus window is a full-screen display window, the terminal modifies the current focus window and the operation state of the non-focus window of the terminal screen. In a suspend state, switching the focus of the terminal screen to the focus window to be switched;
当所述终端屏幕当前焦点窗口为全屏显示的窗口, 所述待切换焦点窗 口为窗口化显示的窗口时, 所述终端将所述当前焦点窗口的运行状态修改 为暂停状态, 并将所述终端屏幕的焦点切换至所述待切换焦点窗口。  When the current focus window of the terminal screen is a full-screen display window, and the to-be-switched focus window is a windowed window, the terminal modifies the running state of the current focus window to a pause state, and the terminal is The focus of the screen is switched to the focus window to be switched.
才艮据第一方面的第三种可能的实现方式, 在第四种可能的实现方式中, 所述终端接收屏幕焦点窗口切换指令, 包括:  According to a third possible implementation manner of the first aspect, in a fourth possible implementation, the receiving, by the terminal, a screen focus window switching instruction includes:
所述终端接收对所述终端屏幕上的通知栏中已开启的窗口列表内的窗 口标识的操作指令;  Receiving, by the terminal, an operation instruction for a window identifier in a window list that has been opened in a notification column on the screen of the terminal;
或者, 所述终端接收用于在屏幕桌面上唤起已开启的窗口列表的唤起 指令之后, 接收对所述终端屏幕上已开启的窗口列表内的窗口标识的操作 指令;  Alternatively, the terminal receives an operation instruction for acknowledging an open window list on the screen desktop, and receiving an operation instruction for a window identifier in the opened window list on the terminal screen;
其中, 所述已开启的窗口列表包括所述终端当前已开启的窗口标识。 第二方面, 本发明实施例提供了一种终端, 所述终端包括: 创建单元、 存储单元和显示控制单元, 其中,  The opened window list includes a window identifier that is currently opened by the terminal. In a second aspect, an embodiment of the present invention provides a terminal, where the terminal includes: a creating unit, a storage unit, and a display control unit, where
所述创建单元, 配置为创建第一窗口;  The creating unit is configured to create a first window;
所述存储单元, 配置为存储所述第一窗口的窗口化标识和显示参数; 所述显示控制单元, 配置为当所述创建单元创建所述第一窗口且所述 存储单元中所述第一窗口的窗口化标识为可窗口化时, 根据所述存储单元 中所述第一窗口的显示参数显示所述第一窗口, 并将当前所述终端屏幕的 焦点窗口切换至所述第一窗口。 根据第二方面, 在第一种可能的实现方式中, 所述显示控制单元, 配 置为: The storage unit is configured to store a windowed identifier and a display parameter of the first window; the display control unit is configured to: when the creating unit creates the first window and the first in the storage unit When the windowed identifier of the window is windowable, the first window is displayed according to the display parameter of the first window in the storage unit, and the focus window of the current terminal screen is switched to the first window. According to the second aspect, in a first possible implementation manner, the display control unit is configured to:
当所述终端屏幕当前的焦点窗口为窗口化显示的窗口时, 保持所述窗 口化显示的窗口的运行状态, 并将所述终端屏幕的焦点窗口切换至所述第 一窗口;  When the current focus window of the terminal screen is a windowed window, the running state of the window display window is maintained, and the focus window of the terminal screen is switched to the first window;
当所述终端屏幕当前的焦点窗口为全屏显示的窗口时, 将所述全屏显 示的窗口的运行状态切换为挂起状态, 并将所述终端屏幕的焦点窗口切换 至所述第一窗口。  When the current focus window of the terminal screen is a full-screen display window, the running state of the full-screen display window is switched to a suspended state, and the focus window of the terminal screen is switched to the first window.
根据第二方面, 在第二种可能的实现方式中, 所述终端还包括接收单 元, 配置为接收对所述第一窗口的操作指令;  According to the second aspect, in a second possible implementation manner, the terminal further includes a receiving unit configured to receive an operation instruction for the first window;
所述显示控制单元, 还配置为:  The display control unit is further configured to:
当所述接收单元接收对所述第一窗口标题栏的最大化按钮的操作指令 后, 将所述第一窗口的显示参数修改为全屏显示参数, 并根据所述全屏显 示参数显示所述第一窗口;  After the receiving unit receives an operation instruction for the maximize button of the first window title bar, modifying the display parameter of the first window to a full screen display parameter, and displaying the first according to the full screen display parameter Window
以及当所述接收单元接收对所述第一窗口标题栏的最小化按钮的操作 指令后, 将所述第一窗口的 Z序修改为后台;  And modifying, when the receiving unit receives an operation instruction for the minimize button of the first window title bar, the Z sequence of the first window to be a background;
以及当所述接收单元接收对所述第一窗口标题栏的还原按钮的操作指 令后, 将所述第一窗口的显示参数修改为所述终端在接收对所述第一窗口 标题栏的最小化按钮或最大化按钮的操作指令之前的显示参数, 并根据所 述终端在接收对所述第一窗口标题栏的最小化按钮或最大化按钮的操作指 令之前的显示参数显示所述第一窗口;  And modifying, when the receiving unit receives an operation instruction for the restore button of the first window title bar, the display parameter of the first window to receive the minimization of the first window title bar by the terminal a button or a display parameter of the operation command of the maximized button, and displaying the first window according to a display parameter before the terminal receives an operation instruction for the minimize button or the maximize button of the first window title bar;
以及当所述接收单元接收对所述第一窗口标题栏的关闭按钮的操作指 令后, 关闭所述第一窗口;  And closing the first window after the receiving unit receives an operation instruction on the close button of the first window title bar;
以及当所述接收单元接收对所述窗口的显示参数进行修改的操作指令 后, 将所述第一窗口的显示参数修改为所述修改后的显示参数, 并根据所 述修改后的显示参数显示所述第一窗口。 And after the receiving unit receives the operation instruction for modifying the display parameter of the window, modifying the display parameter of the first window to the modified display parameter, and according to the The modified display parameter displays the first window.
根据第二方面, 在第三种可能的实现方式中, 所述终端还包括接收单 元, 配置为接收屏幕焦点窗口切换指令;  According to the second aspect, in a third possible implementation, the terminal further includes a receiving unit configured to receive a screen focus window switching instruction;
所述显示控制单元, 还配置为:  The display control unit is further configured to:
当所述终端屏幕当前焦点窗口以及待切换焦点窗口均为窗口化显示的 窗口时, 保持所述当前焦点窗口的运行状态, 并将所述终端屏幕的焦点切 换至所述待切换焦点窗口;  When the current focus window of the terminal screen and the window to be switched are windowed windows, the running state of the current focus window is maintained, and the focus of the terminal screen is switched to the focus window to be switched;
以及当所述终端屏幕当前焦点窗口为窗口化显示的窗口, 所述待切换 焦点窗口为全屏显示的窗口时, 将所述当前焦点窗口以及所述终端屏幕的 非焦点窗口的运行状态修改为暂停状态, 并将所述终端屏幕的焦点切换至 所述待切换焦点窗口;  And when the current focus window of the terminal screen is a windowed display window, and the to-be-switched focus window is a full-screen display window, the current focus window and the non-focus window of the terminal screen are modified to be suspended. a state, and switching a focus of the terminal screen to the focus window to be switched;
以及当所述终端屏幕当前焦点窗口为全屏显示的窗口, 所述待切换焦 点窗口为窗口化显示的窗口时, 将所述当前焦点窗口的运行状态修改为挂 起状态, 并将所述终端屏幕的焦点切换至所述待切换焦点窗口。  And when the current focus window of the terminal screen is a full screen display window, when the focus window to be switched is a window display window, the running state of the current focus window is modified to a suspended state, and the terminal screen is The focus is switched to the focus window to be switched.
才艮据第二方面的第三种可能的实现方式, 在第四种可能的实现方式中, 所述接收单元, 配置为:  According to a third possible implementation manner of the second aspect, in a fourth possible implementation, the receiving unit is configured to:
接收对所述终端屏幕上的通知栏中已开启的窗口列表内的窗口标识的 操作指令;  Receiving an operation instruction for a window identifier in a window list that has been opened in a notification column on the terminal screen;
或者, 接收用于在所述终端屏幕上唤起已开启的窗口列表的唤起指令, 并接收对所述终端屏幕上已开启的窗口列表内的窗口标识的操作指令; 其中, 所述已开启的窗口列表包括所述终端当前已开启的窗口标识。 本发明实施例还提供了一种存储介质, 所述存储介质中存储有计算机 程序, 所述计算机程序配置为执行前述的终端的多窗口显示方法。  Or receiving an urging instruction for evoking an open window list on the terminal screen, and receiving an operation instruction for a window identifier in the window list that is opened on the terminal screen; wherein the opened window The list includes the window identifiers that the terminal is currently open. The embodiment of the invention further provides a storage medium, wherein the storage medium stores a computer program, and the computer program is configured to execute the multi-window display method of the terminal.
本发明实施例提供了一种终端及终端的多窗口显示方法, 通过在窗口 创建时根据窗口的显示参数显示所述窗口, 使得在智能终端上实现多任务 多窗口显示, 从而充分地利用了大屏幕的现实资源, 提升了用户体验。 附图说明 An embodiment of the present invention provides a multi-window display method for a terminal and a terminal, which is configured to display a multi-task on a smart terminal by displaying the window according to a display parameter of the window when the window is created. Multi-window display makes full use of the real resources of the big screen and enhances the user experience. DRAWINGS
图 1为本发明实施例提供的一种终端的多窗口显示方法的流程示意图; 图 2为本发明实施例提供的一种控制窗口的显示状态的流程示意图; 图 3 为本发明实施例提供的一种在多窗口显示状态下切换焦点窗口的 流程示意图;  1 is a schematic flowchart of a multi-window display method of a terminal according to an embodiment of the present invention; FIG. 2 is a schematic flowchart of a display state of a control window according to an embodiment of the present invention; A flow diagram of switching a focus window in a multi-window display state;
图 4为本发明实施例提供的一种终端的结构示意图;  FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure;
图 5为本发明实施例提供的一种终端的结构示意图。 具体实施方式  FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进 行清楚、 完整地描述。  The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings.
在本发明实施例中, 为了能够清楚地说明本发明的技术方案, 本发明 实施例以目前普遍应用于智能终端的安卓操作系统为例对本发明实施例进 行说明, 可以理解地, 本发明实施例中所提到的终端均可以认为是已经安 装了安卓操作系统的终端;  In the embodiment of the present invention, in order to be able to clearly explain the technical solution of the present invention, an embodiment of the present invention is described by using an Android operating system that is generally applied to an intelligent terminal as an example. The terminals mentioned in the above can be considered as terminals that have already installed the Android operating system;
参见图 1,其示出了本发明实施例提供的一种终端的多窗口显示方法的 流程; 列举而非限定地, 该终端可以是智能手机、 平板电脑、 电子书阅读 器、个人数字助理(PDA, Personal Digital Assistant ),销售终端(POS, Point of Sales )、 车载电脑、 动态影像专家压缩标准音频层面 3 播放器(MP3, Moving Picture Experts Group Audio Layer III ), 动态影像专家压缩标准音频 层面 4 ( MP4, Moving Picture Experts Group Audio Layer IV )播放器等等, 该方法可以包括:  Referring to FIG. 1 , a flow of a multi-window display method for a terminal according to an embodiment of the present invention is shown. The enumeration, but not limited to, the terminal may be a smart phone, a tablet computer, an e-book reader, or a personal digital assistant ( PDA, Personal Digital Assistant), POS, Point of Sales, on-board computer, motion picture expert compressed standard audio layer 3 player (MP3, Moving Picture Experts Group Audio Layer III), motion picture expert compression standard audio level 4 (MP4, Moving Picture Experts Group Audio Layer IV) player, etc., the method may include:
S 101: 终端在创建第一窗口且所述第一窗口的窗口化标识为可窗口化 时, 所述终端根据所述第一窗口的显示参数显示所述第一窗口, 并将当前 所述终端屏幕的焦点窗口切换至所述第一窗口; S101: When the terminal creates the first window and the windowed identifier of the first window is windowable, the terminal displays the first window according to the display parameter of the first window, and the current Switching a focus window of the terminal screen to the first window;
需要说明的是, 安卓操作系统的终端在创建窗口时, 是通过创建 It should be noted that the terminal of the Android operating system is created by creating a window.
Activity组件来实现的, 而在终端创建 Activity组件时, 默认的方式是将全 屏幕显示的参数传入创建的 Activity组件,从而使得创建的窗口也为全屏显 示;但是,本发明实施例中,终端在创建第一窗口时,釆用向创建的 Activity 组件传入预设的第一窗口的显示参数, 从而使得创建的第一窗口可以窗口 化地显示在屏幕中。 The Activity component is implemented, and when the terminal creates the Activity component, the default way is to pass the parameters of the full screen display to the created Activity component, so that the created window is also displayed in full screen; however, in the embodiment of the present invention, the terminal When the first window is created, the display parameters of the preset first window are passed to the created Activity component, so that the created first window can be windowed in the screen.
还需要说明的是, 所述第一窗口的窗口化标识可以用来标识所述第一 窗口是否能够被窗口化, 优选地, 所述第一窗口的窗口化标识可以用一个 布尔值来表示, 比如 1和 0, 例如, 当所述第一窗口的窗口化标识为 0时, 说明所述第一窗口是不能被窗口化的, 此时, 所述第一窗口为全屏显示状 态且所述第一窗口的全屏显示状态是无法改变的; 当所述第一窗口的窗口 化标识为 1 时, 说明所述第一窗口是能够被窗口化的, 此时, 所述第一窗 口可以根据所述第一窗口的显示参数在所述终端屏幕上进行显示, 进一步 地, 所述第一窗口的显示参数可以包括所述第一窗口的位置信息和大小信 息, 具体可以包括所述第一窗口左上角的第一个像素在终端屏幕上的 X坐 标、 所述第一窗口左上角的第一个像素在终端屏幕上的 Y坐标、 所述第一 窗口的长度和所述第一窗口的宽度, 所述终端可以根据上述四个显示参数 对所述第一窗口在所述终端屏幕上进行显示。  It should be noted that the windowed identifier of the first window may be used to identify whether the first window can be windowed. Preferably, the windowed identifier of the first window may be represented by a Boolean value. For example, 1 and 0, for example, when the windowing identifier of the first window is 0, it indicates that the first window cannot be windowed. At this time, the first window is in a full screen display state and the first The full screen display state of a window is unchangeable; when the windowing identifier of the first window is 1, the first window is windowable, and the first window may be according to the The display parameter of the first window is displayed on the screen of the terminal. Further, the display parameter of the first window may include location information and size information of the first window, and may specifically include an upper left corner of the first window. The X coordinate of the first pixel on the terminal screen, the Y coordinate of the first pixel in the upper left corner of the first window on the terminal screen, the length of the first window, and the The width of the first window is displayed, and the terminal may display the first window on the terminal screen according to the four display parameters.
示例性地, 当所述第一窗口创建之后, 通常会将终端屏幕当前的焦点 窗口切换至所述第一窗口, 具体地, 将所述终端屏幕当前的焦点窗口切换 至所述第一窗口, 可以包括:  Illustratively, after the first window is created, the current focus window of the terminal screen is usually switched to the first window, specifically, the current focus window of the terminal screen is switched to the first window. Can include:
当所述终端屏幕当前的焦点窗口为窗口化显示的窗口时, 所述终端保 持所述窗口化显示的窗口的运行状态, 并将所述终端屏幕的焦点窗口切换 至所述第一窗口; 当所述终端屏幕当前的焦点窗口为全屏显示的窗口时, 所述终端将所 述全屏显示的窗口的运行状态切换为挂起状态, 并将所述终端屏幕的焦点 窗口切换至所述第一窗口。 When the current focus window of the terminal screen is a windowed window, the terminal maintains an operating state of the windowed window, and switches a focus window of the terminal screen to the first window; When the current focus window of the terminal screen is a full-screen display window, the terminal switches the running state of the full-screen displayed window to a suspended state, and switches the focus window of the terminal screen to the first window.
示例性地, 终端在启动应用开启窗口的时候, 按照 S101的方式可以在 一个屏幕内, 同时显示多个窗口, 并且由于各窗口的显示参数不同, 所以 各窗口所占据的屏幕位置是不同的, 因此, 各窗口仅有部分的区域是与其 他窗口的交叉重叠部分, 从而在终端屏幕上实现了多任务多窗口显示, 大 大提高了屏幕资源的利用率。  Exemplarily, when the terminal starts the application opening window, the terminal can display multiple windows simultaneously in one screen according to the manner of S101, and the screen positions occupied by the windows are different because the display parameters of the windows are different. Therefore, only part of the area of each window is a overlapping portion with other windows, thereby implementing multi-tasking and multi-window display on the terminal screen, which greatly improves the utilization of screen resources.
在解决了终端屏幕的多窗口显示的问题之后, 还需要解决控制窗口的 显示状态以及在多窗口显示状态下切换焦点窗口这两个问题,以下通过图 2 和图 3两个实施例分别对上述两个问题的解决进行说明。  After solving the problem of multi-window display of the terminal screen, it is also necessary to solve the two problems of the display state of the control window and the switching of the focus window in the multi-window display state. The following two embodiments of FIG. 2 and FIG. 3 respectively The solution to the two problems is explained.
示例性地, 参见图 2, 本方法还包括:  Illustratively, referring to FIG. 2, the method further includes:
S201 : 终端接收对所述第一窗口的操作指令;  S201: The terminal receives an operation instruction for the first window.
具体地, 由于第一窗口为窗口化显示, 因此, 所述第一窗口会显示所 述第一窗口的标题栏; 而所述第一窗口的标题栏可以包括最大化按钮, 用 于使得所述第一窗口最大化显示; 最小化按钮, 用于使得所述第一窗口最 小化显示; 还原按钮, 用于使得所述第一窗口从最大化或最小化显示状态 还原为最淡化或最小化显示之前的显示状态; 关闭按钮, 用于关闭所述第 一窗口, 因此, 所述对第一窗口的操作指令可以包括对所述第一窗口的标 题栏内的按钮进行操作的指令, 例如, 终端可以接收鼠标在屏幕上点击所 述第一窗口的标题栏内的按钮所发送的操作指令, 也可以接收在触摸屏上 对所述第一窗口的标题栏内的按钮进行触摸操作所发送的操作指令等, 本 实施例不^具体地限定;  Specifically, since the first window is a windowed display, the first window may display a title bar of the first window; and the title bar of the first window may include a maximize button for causing the a first window maximizes display; a minimize button for minimizing display of the first window; a restore button for restoring the first window from maximizing or minimizing display state to minimizing or minimizing display a previous display state; a close button for closing the first window, and therefore, the operation instruction for the first window may include an instruction to operate a button in a title bar of the first window, eg, a terminal Receiving an operation instruction sent by a mouse on a screen by clicking a button in a title bar of the first window, or receiving an operation instruction sent by a touch operation on a button in a title bar of the first window on a touch screen Etc., this embodiment is not specifically defined;
除了对第一窗口的标题栏的操作指令之外, 终端还可以接收对第一窗 口的显示参数进行修改的操作指令, 例如, 终端可以接收鼠标在屏幕上对 所述第一窗口进行拉拽而改变所述第一窗口的显示参数中的位置信息和 /或 大小信息等, 本实施例不做具体地限定。 In addition to the operation instruction of the title bar of the first window, the terminal may further receive an operation instruction for modifying the display parameter of the first window, for example, the terminal may receive the mouse on the screen. The first window is configured to change position information and/or size information in the display parameters of the first window, and is not specifically limited in this embodiment.
可以理解地, 由于操作指令的不同, 终端对操作指令的响应方式也各 有区别, 具体的响应方式可以包括:  It can be understood that, depending on the operation instruction, the response manner of the terminal to the operation instruction is also different. The specific response manner may include:
S202: 当所述终端接收对所述第一窗口标题栏的最大化按钮的操作指 令后, 所述终端将所述第一窗口的显示参数修改为全屏显示参数, 并根据 所述全屏显示参数显示所述第一窗口;  S202: After the terminal receives an operation instruction for the maximize button of the first window title bar, the terminal modifies the display parameter of the first window to a full-screen display parameter, and displays according to the full-screen display parameter. The first window;
S203 : 当所述终端接收对所述第一窗口标题栏的最小化按钮的操作指 令后, 所述终端将所述第一窗口的 Z序修改为后台;  S203: After the terminal receives an operation instruction for the minimize button of the first window title bar, the terminal modifies the Z sequence of the first window to a background;
S204: 当所述终端接受对所述第一窗口标题栏的还原按钮的操作指令 后, 所述终端将所述第一窗口的显示参数修改为所述终端在接收对所述第 一窗口标题栏的最小化按钮或最大化按钮的操作指令之前的显示参数, 并 根据所述终端在接收对所述第一窗口标题栏的最小化按钮或最大化按钮的 操作指令之前的显示参数显示所述第一窗口;  S204: After the terminal accepts an operation instruction of the restore button of the first window title bar, the terminal modifies the display parameter of the first window to that the terminal receives the title bar of the first window. a minimized button or a display parameter preceding the operation command of the maximized button, and displaying the first display parameter according to the display parameter before the terminal receives the operation command for the minimize button or the maximize button of the first window title bar a window
S205 : 当所述终端接收对所述第一窗口的显示参数进行修改的操作指 令后, 所述终端将所述第一窗口的显示参数修改为所述修改后的显示参数, 并根据所述修改后的显示参数显示所述第一窗口。  S205: After the terminal receives an operation instruction for modifying a display parameter of the first window, the terminal modifies a display parameter of the first window to the modified display parameter, and according to the modification The subsequent display parameters display the first window.
需要说明的是,通过 S201至 S205,终端实现了控制窗口的窗口化显示 参数的控制, 从而可以得到与在个人计算机上操作窗口同样的操作体验, 提高了用户在终端上对窗口的操作体验。  It should be noted that, through S201 to S205, the terminal realizes the control of the windowed display parameters of the control window, thereby obtaining the same operation experience as operating the window on the personal computer, and improving the operation experience of the user on the terminal on the terminal.
示例性地, 参见图 3, 本方法还可以包括:  Illustratively, referring to FIG. 3, the method may further include:
S301 : 终端接收屏幕焦点窗口切换指令;  S301: The terminal receives a screen focus window switching instruction;
具体地, S301具体可以包括:  Specifically, S301 may specifically include:
终端接收对所述终端屏幕上的通知栏中已开启的窗口列表内的窗口标 识的操作指令; 或者, 终端接收用于在屏幕桌面上唤起已开启的窗口列表的唤起指令 之后, 接收对所述终端屏幕上已开启的窗口列表内的窗口标识的操作指令; 其中, 所述已开启的窗口列表包括所述终端当前已开启的窗口标识。 详细地, 用于在屏幕桌面上唤起已开启的窗口列表的唤起指令可以是 预设的快捷键, 也可以在终端上对已有的物理按键功能的复用, 还可以是 重新在终端上设置与所述用于在屏幕桌面上唤起已开启的窗口列表的唤起 指令对应的物理按键, 本实施例对此不作具体限定。 Receiving, by the terminal, an operation instruction for a window identifier in a window list that has been opened in a notification column on the terminal screen; Alternatively, after receiving the evoke command for evoking the opened window list on the screen desktop, the terminal receives an operation instruction for the window identifier in the opened window list on the terminal screen; wherein, the opened window list The window identifier currently opened by the terminal is included. In detail, the evoke command for evoking the opened window list on the screen desktop may be a preset shortcut key, or may reuse the existing physical button function on the terminal, or may be set again on the terminal. The physical button corresponding to the evoke command for evoking the opened window list on the screen desktop is not specifically limited in this embodiment.
可以理解地, 终端对屏幕焦点窗口的切换可以根据当前焦点窗口和待 切换窗口显示状态的不同而釆用不同的方案, 具体的可以如 S302至 S304 所述:  It can be understood that the switching of the focus window of the terminal to the screen may be different according to the current focus window and the display state of the window to be switched. Specifically, as described in S302 to S304:
S302: 当所述终端屏幕当前焦点窗口以及待切换焦点窗口均为窗口化 显示的窗口时, 所述终端保持所述当前焦点窗口的运行状态, 并将所述终 端屏幕的焦点切换至所述待切换焦点窗口;  S302: when the current focus window of the terminal screen and the window to be switched are windowed windows, the terminal maintains an operating state of the current focus window, and switches the focus of the terminal screen to the waiting Switch the focus window;
例如, 所述终端屏幕当前焦点窗口为窗口化显示的视频应用窗口, 而 待切换焦点窗口为用户在观看视频的同时所打开的一个窗口化的浏览器窗 口, 在浏览器窗口获取焦点的同时, 视频应用窗口需要保持播放状态, 而 不是因为失去焦点, 而变成了挂起或暂停状态。  For example, the current focus window of the terminal screen is a windowed display video application window, and the to-be-switched focus window is a windowed browser window opened by the user while watching the video, and the focus is obtained in the browser window. The video application window needs to remain in play, rather than being suspended or paused because of the loss of focus.
S303 : 当所述终端屏幕当前焦点窗口为窗口化显示的窗口, 所述待切 换焦点窗口为全屏显示的窗口时, 所述终端将所述当前焦点窗口以及所述 终端屏幕的非焦点窗口的运行状态修改为挂起状态, 并将所述终端屏幕的 焦点切换至所述待切换焦点窗口;  S303: When the current focus window of the terminal screen is a windowed window, and the to-be-switched focus window is a full-screen display window, the terminal runs the current focus window and the non-focus window of the terminal screen. The state is modified to a suspended state, and the focus of the terminal screen is switched to the focus window to be switched;
例如, 所述终端屏幕当前焦点窗口为窗口化显示的视频应用窗口, 而 待切换焦点窗口为全屏显示的游戏应用窗口, 此时, 由于视频应用窗口会 被游戏应用窗口遮挡, 因此, 视频应用窗口的状态均需转换为挂起状态, 即在系统的后台运行。 S304: 当所述终端屏幕当前焦点窗口为全屏显示的窗口, 所述待切换 焦点窗口为窗口化显示的窗口时, 所述终端将所述当前焦点窗口的运行状 态修改为暂停状态, 并将所述终端屏幕的焦点切换至所述待切换焦点窗口。 For example, the current focus window of the terminal screen is a window application window, and the focus window to be switched is a full-screen game application window. At this time, since the video application window is blocked by the game application window, the video application window is The state needs to be converted to a suspended state, that is, running in the background of the system. S304: When the current focus window of the terminal screen is a full-screen display window, and the to-be-switched focus window is a window display window, the terminal changes the running state of the current focus window to a pause state, and The focus of the terminal screen is switched to the focus window to be switched.
例如, 所述终端屏幕当前焦点窗口为全屏显示的游戏应用窗口, 而待 切换焦点窗口为窗口化显示的视频应用窗口, 此时, 由于视频应用窗口获 取焦点, 用户无法操作游戏, 因此会游戏应用窗口的状态会转换为暂停状 态。  For example, the current focus window of the terminal screen is a game application window displayed in full screen, and the focus window to be switched is a window application window application window. At this time, since the video application window obtains the focus, the user cannot operate the game, so the game application is The state of the window is converted to a paused state.
本实施例提供了一种终端的多窗口显示方法, 通过在窗口创建时根据 窗口的显示参数显示所述窗口, 使得在智能终端上实现多任务多窗口显示, 从而充分地利用了大屏幕的现实资源, 提升了用户体验。  The embodiment provides a multi-window display method of the terminal, which displays the window according to the display parameter of the window when the window is created, so that multi-tasking and multi-window display is realized on the smart terminal, thereby fully utilizing the reality of the large screen. Resources that enhance the user experience.
参见图 4, 其示出了本发明实施例提供的一种终端 40, 该终端 40可以 包括: 创建单元 401、 存储单元 402和显示控制单元 403, 其中,  Referring to FIG. 4, a terminal 40 according to an embodiment of the present invention is shown. The terminal 40 may include: a creating unit 401, a storage unit 402, and a display control unit 403, where
所述创建单元 401, 配置为创建第一窗口;  The creating unit 401 is configured to create a first window;
所述存储单元 402, 配置为存储所述第一窗口的窗口化标识和显示参 数;  The storage unit 402 is configured to store a windowed identifier and a display parameter of the first window;
所述显示控制单元 403,配置为当所述创建单元 401创建所述第一窗口 且所述存储单元 402 中所述第一窗口的窗口化标识为可窗口化时, 根据所 述存储单元 402 中所述第一窗口的显示参数显示所述第一窗口, 并将当前 所述终端屏幕的焦点窗口切换至所述第一窗口。  The display control unit 403 is configured to: when the creating unit 401 creates the first window and the windowing identifier of the first window in the storage unit 402 is windowable, according to the storage unit 402 The display parameter of the first window displays the first window, and switches a focus window of the current terminal screen to the first window.
需要说明的是,创建单元 401在创建窗口时,是通过创建 Activity组件 来实现的, 而在终端创建 Activity组件时, 默认的方式是将全屏幕显示的参 数传入创建的 Activity组件, 从而使得创建的窗口也为全屏显示; 但是, 本 发明实施例中, 创建单元 401 在创建第一窗口时, 釆用向创建的 Activity 组件传入预设的第一窗口的显示参数, 从而使得创建的第一窗口可以窗口 化地显示在屏幕中。 还需要说明的是, 所述第一窗口的窗口化标识可以用来标识所述第一 窗口是否能够被窗口化, 优选地, 所述第一窗口的窗口化标识可以用一个 布尔值来表示, 比如 1和 0, 例如, 当所述第一窗口的窗口化标识为 0时, 说明所述第一窗口是不能被窗口化的, 此时, 所述第一窗口为全屏显示状 态且所述第一窗口的全屏显示状态是无法改变的; 当所述第一窗口的窗口 化标识为 1 时, 说明所述第一窗口是能够被窗口化的, 此时, 所述第一窗 口可以根据所述第一窗口的显示参数在所述终端 40屏幕上进行显示, 进一 步地, 所述第一窗口的显示参数可以包括所述第一窗口的位置信息和大小 信息, 具体可以包括所述第一窗口左上角的第一个像素在终端 40屏幕上的 X坐标、 所述第一窗口左上角的第一个像素在终端 40屏幕上的 Y坐标、 所 述第一窗口的长度和所述第一窗口的宽度, 创建单元 401 可以根据上述四 个显示参数对所述第一窗口在所述终端 40屏幕上进行显示。 It should be noted that the creation unit 401 is implemented by creating an Activity component when creating a window, and when the terminal creates an Activity component, the default method is to pass the parameters of the full screen display to the created Activity component, thereby creating the window. The window is also displayed in full screen; however, in the embodiment of the present invention, when creating the first window, the creating unit 401 uses the display parameter of the preset first window to the created Activity component, thereby making the first display The window can be displayed windowed on the screen. It should be noted that the windowed identifier of the first window may be used to identify whether the first window can be windowed. Preferably, the windowed identifier of the first window may be represented by a Boolean value. For example, 1 and 0, for example, when the windowing identifier of the first window is 0, it indicates that the first window cannot be windowed. At this time, the first window is in a full screen display state and the first The full screen display state of a window is unchangeable; when the windowing identifier of the first window is 1, the first window is windowable, and the first window may be according to the The display parameter of the first window is displayed on the screen of the terminal 40. Further, the display parameter of the first window may include location information and size information of the first window, and may specifically include the first window upper left. The X coordinate of the first pixel of the corner on the screen of the terminal 40, the Y coordinate of the first pixel in the upper left corner of the first window on the screen of the terminal 40, the length of the first window, and the first The width of the window, the creating unit 401 can display the first window on the screen of the terminal 40 according to the above four display parameters.
示例性地, 所述显示控制单元 403, 还可以配置为:  Exemplarily, the display control unit 403 can also be configured to:
当所述终端 40屏幕当前的焦点窗口为窗口化显示的窗口时, 保持所述 窗口化显示的窗口的运行状态, 并将所述终端 40屏幕的焦点窗口切换至所 述第一窗口;  When the current focus window of the terminal 40 is a windowed window, the running state of the windowed window is maintained, and the focus window of the terminal 40 screen is switched to the first window;
当所述终端 40屏幕当前的焦点窗口为全屏显示的窗口时, 将所述全屏 显示的窗口的运行状态切换为挂起状态, 并将所述终端 40屏幕的焦点窗口 切换至所述第一窗口。  When the current focus window of the screen of the terminal 40 is a full-screen display window, the running state of the full-screen displayed window is switched to a suspended state, and the focus window of the screen of the terminal 40 is switched to the first window. .
示例性地, 参见图 5, 所述终端 40还可以包括: 接收单元 404, 配置 为接收对所述第一窗口的操作指令;  Illustratively, referring to FIG. 5, the terminal 40 may further include: a receiving unit 404 configured to receive an operation instruction for the first window;
具体地, 由于第一窗口为窗口化显示, 因此, 所述第一窗口会显示所 述第一窗口的标题栏; 而所述第一窗口的标题栏可以包括最大化按钮, 用 于使得所述第一窗口最大化显示; 最小化按钮, 用于使得所述第一窗口最 小化显示; 还原按钮, 用于使得所述第一窗口从最大化或最小化显示状态 还原为最淡化或最小化显示之前的显示状态; 关闭按钮, 用于关闭所述第 一窗口, 因此, 所述对第一窗口的操作指令可以包括对所述第一窗口的标 题栏内的按钮进行操作的指令, 例如, 接收单元 404可以接收鼠标在屏幕 上点击所述第一窗口的标题栏内的按钮所发送的操作指令, 也可以接收在 触摸屏上对所述第一窗口的标题栏内的按钮进行触摸操作所发送的操作指 令等, 本实施例不做具体地限定; Specifically, since the first window is a windowed display, the first window may display a title bar of the first window; and the title bar of the first window may include a maximize button for causing the a first window maximizes display; a minimize button for minimizing display of the first window; a restore button for maximizing or minimizing display state of the first window Reverting to the most faded or minimized display state before display; closing button for closing the first window, therefore, the operation instruction for the first window may include a button in a title bar of the first window An operation instruction, for example, the receiving unit 404 can receive an operation instruction sent by the mouse on the screen by clicking a button in the title bar of the first window, or can receive the title bar in the first window on the touch screen. The operation command and the like sent by the button to perform the touch operation are not specifically limited in this embodiment;
除了对第一窗口的标题栏的操作指令之外, 接收单元 404还可以接收 对第一窗口的显示参数进行修改的操作指令, 例如, 接收单元 404可以接 收鼠标在屏幕上对所述第一窗口进行拉拽而改变所述第一窗口的显示参数 中的位置信息和 /或大小信息等, 本实施例不做具体地限定。  In addition to the operation instruction to the title bar of the first window, the receiving unit 404 may further receive an operation instruction for modifying the display parameter of the first window, for example, the receiving unit 404 may receive the mouse on the screen to the first window. The position information and/or the size information and the like in the display parameters of the first window are changed by the pulling, and the embodiment is not specifically limited.
可以理解地, 由于操作指令的不同, 显示控制单元 403对操作指令的 响应方式也各有区别, 因此, 显示控制单元 403, 还配置为:  It can be understood that, due to the difference of the operation instructions, the display control unit 403 also has different responses to the operation instructions. Therefore, the display control unit 403 is further configured to:
当所述接收单元 404接收对所述第一窗口标题栏的最大化按钮的操作 指令后, 将所述第一窗口的显示参数修改为全屏显示参数, 并根据所述全 屏显示参数显示所述第一窗口;  After the receiving unit 404 receives an operation instruction for the maximize button of the first window title bar, the display parameter of the first window is modified to a full screen display parameter, and the first display parameter is displayed according to the full screen display parameter. a window
以及当所述接收单元 404接收对所述第一窗口标题栏的最小化按钮的 操作指令后, 将所述第一窗口的 Z序修改为后台;  And after the receiving unit 404 receives an operation instruction for the minimize button of the first window title bar, modifying the Z order of the first window to the background;
以及当所述接收单元 404接收对所述第一窗口标题栏的还原按钮的操 作指令后, 将所述第一窗口的显示参数修改为所述终端 40在接收对所述第 一窗口标题栏的最小化按钮或最大化按钮的操作指令之前的显示参数, 并 根据所述终端 40在接收对所述第一窗口标题栏的最小化按钮或最大化按钮 的操作指令之前的显示参数显示所述第一窗口;  And after the receiving unit 404 receives an operation instruction for the restore button of the first window title bar, modifying the display parameter of the first window to the terminal 40 receiving the title bar of the first window. Minimizing the display parameter before the button or maximizing the operation command of the button, and displaying the first display parameter according to the display parameter before the terminal 40 receives the operation command for the minimize button or the maximize button of the first window title bar a window
以及当所述接收单元 404接收对所述第一窗口标题栏的关闭按钮的操 作指令后, 关闭所述第一窗口;  And when the receiving unit 404 receives an operation instruction for the close button of the first window title bar, closing the first window;
以及当所述接收单元 404接收对所述窗口的显示参数进行修改的操作 指令后, 将所述第一窗口的显示参数修改为所述修改后的显示参数, 并根 据所述修改后的显示参数显示所述第一窗口。 And when the receiving unit 404 receives an operation to modify display parameters of the window After the instruction, the display parameter of the first window is modified to the modified display parameter, and the first window is displayed according to the modified display parameter.
示例性地, 接收单元 404还可以配置为接收屏幕焦点窗口切换指令; 所述显示控制单元 403, 还配置为:  Illustratively, the receiving unit 404 is further configured to receive a screen focus window switching instruction; the display control unit 403 is further configured to:
当所述终端 40屏幕当前焦点窗口以及待切换焦点窗口均为窗口化显示 的窗口时, 保持所述当前焦点窗口的运行状态, 并将所述终端 40屏幕的焦 点切换至所述待切换焦点窗口;  When the current focus window of the terminal 40 and the window to be switched are windowed windows, the running state of the current focus window is maintained, and the focus of the screen of the terminal 40 is switched to the focus window to be switched. ;
以及当所述终端 40屏幕当前焦点窗口为窗口化显示的窗口, 所述待切 换焦点窗口为全屏显示的窗口时, 将所述当前焦点窗口以及所述终端 40屏 幕的非焦点窗口的运行状态修改为暂停状态, 并将所述终端 40屏幕的焦点 切换至所述待切换焦点窗口;  And when the current focus window of the terminal 40 is a window display window, and the to-be-switched focus window is a full-screen display window, the current focus window and the non-focus window of the terminal 40 screen are modified. In a pause state, switching the focus of the screen of the terminal 40 to the focus window to be switched;
以及当所述终端 40屏幕当前焦点窗口为全屏显示的窗口, 所述待切换 焦点窗口为窗口化显示的窗口时, 将所述当前焦点窗口的运行状态修改为 挂起状态, 并将所述终端 40屏幕的焦点切换至所述待切换焦点窗口。  And when the current focus window of the terminal 40 is a full-screen display window, and the to-be-switched focus window is a windowed window, the running state of the current focus window is changed to a suspended state, and the terminal is The focus of the 40 screen is switched to the focus window to be switched.
具体地, 接收单元 404可以配置为接收对所述终端 40屏幕上的通知栏 中已开启的窗口列表内的窗口标识的操作指令;  Specifically, the receiving unit 404 can be configured to receive an operation instruction for a window identifier in the window list that has been opened in the notification bar on the screen of the terminal 40;
或者, 接收用于在所述终端 40屏幕上唤起已开启的窗口列表的唤起指 令, 并接收对所述终端 40屏幕上已开启的窗口列表内的窗口标识的操作指 令;  Alternatively, receiving an evoke command for evoking an open window list on the screen of the terminal 40, and receiving an operation instruction for a window identifier in the window list that has been opened on the screen of the terminal 40;
其中,所述已开启的窗口列表包括所述终端 40当前已开启的窗口标识。 本实施例还记载了一种终端, 通过在窗口创建时根据窗口的显示参数 显示所述窗口, 使得在智能终端上实现多任务多窗口显示, 从而充分地利 用了大屏幕的现实资源, 提升了用户体验。  The list of opened windows includes a window identifier that is currently open by the terminal 40. The embodiment further describes a terminal that displays the window according to the display parameter of the window when the window is created, so that multi-tasking and multi-window display is realized on the smart terminal, thereby fully utilizing the real resources of the large screen and improving the real resource. user experience.
本发明实施例还记载了一种存储介质, 所述存储介质中存储有计算机 程序, 所述计算机程序配置为执行前述各实施例的终端的多窗口显示方法。 本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产品。 因此, 本发明可釆用硬件实施例、 软件实施例、 或结 合软件和硬件方面的实施例的形式。 而且, 本发明可釆用在一个或多个其 中包含有计算机可用程序代码的计算机可用存储介质 (包括但不限于磁盘 存储器和光学存储器等 )上实施的计算机程序产品的形式。 The embodiment of the invention further describes a storage medium, wherein the storage medium stores a computer program, and the computer program is configured to execute the multi-window display method of the terminal of each of the foregoing embodiments. Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can be embodied in the form of one or more computer program products embodied on a computer usable storage medium (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序 产品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程 图和 /或方框图中的每一流程和 /或方框、以及流程图和 /或方框图中的流程和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功 能的装置。  The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart and/or block diagrams, and combinations of flow and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a general purpose computer, a special purpose computer, an embedded processor or other programmable data processing device processor to produce a machine such that a flow or a block diagram of a flow or a block diagram or A device that has multiple functions specified in the box.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理 设备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存 储器中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个 流程或多个流程和 /或方框图一个方框或多个方框中指定的功能。  The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备 上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机 实现的处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功 能的步骤。  These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
工业实用性 本发明通过在窗口创建时根据窗口的显示参数显示所述窗口, 使得在 智能终端上实现多任务多窗口显示, 从而充分地利用了大屏幕的现实资源, 提升了用户体验。 Industrial applicability The invention displays the window according to the display parameter of the window when the window is created, so that the multi-tasking multi-window display is realized on the smart terminal, thereby fully utilizing the real resources of the large screen and improving the user experience.

Claims

权利要求书 Claim
1、 一种终端的多窗口显示方法, 包括:  1. A multi-window display method for a terminal, comprising:
终端在创建第一窗口且所述第一窗口的窗口化标识为可窗口化时, 所 述终端根据所述第一窗口的显示参数显示所述第一窗口, 并将当前所述终 端屏幕的焦点窗口切换至所述第一窗口。  When the terminal creates the first window and the windowed identifier of the first window is windowable, the terminal displays the first window according to the display parameter of the first window, and focuses the current terminal screen. The window switches to the first window.
2、 根据权利要求 1所述的方法, 其中, 所述将所述终端屏幕当前的焦 点窗口切换至所述第一窗口, 包括:  2. The method according to claim 1, wherein the switching the current focus window of the terminal screen to the first window comprises:
当所述终端屏幕当前的焦点窗口为窗口化显示的窗口时, 所述终端保 持所述窗口化显示的窗口的运行状态, 并将所述终端屏幕的焦点窗口切换 至所述第一窗口;  When the current focus window of the terminal screen is a windowed window, the terminal maintains an operating state of the windowed window, and switches a focus window of the terminal screen to the first window;
当所述终端屏幕当前的焦点窗口为全屏显示的窗口时, 所述终端将所 述全屏显示的窗口的运行状态切换为挂起状态, 并将所述终端屏幕的焦点 窗口切换至所述第一窗口。  When the current focus window of the terminal screen is a full-screen display window, the terminal switches the running state of the full-screen displayed window to a suspended state, and switches the focus window of the terminal screen to the first window.
3、 根据权利要求 1所述的方法, 其中, 所述方法还包括:  3. The method according to claim 1, wherein the method further comprises:
所述终端接收对所述第一窗口的操作指令;  The terminal receives an operation instruction for the first window;
当所述终端接收对所述第一窗口标题栏的最大化按钮的操作指令后, 所述终端将所述第一窗口的显示参数修改为全屏显示参数, 并根据所述全 屏显示参数显示所述第一窗口;  After the terminal receives an operation instruction for the maximize button of the first window title bar, the terminal modifies the display parameter of the first window to a full screen display parameter, and displays the according to the full screen display parameter. First window
当所述终端接收对所述第一窗口标题栏的最小化按钮的操作指令后, 所述终端将所述第一窗口的 Z序修改为后台;  After the terminal receives an operation instruction for the minimize button of the first window title bar, the terminal modifies the Z sequence of the first window to a background;
当所述终端接受对所述第一窗口标题栏的还原按钮的操作指令后, 所 述终端将所述第一窗口的显示参数修改为所述终端在接收对所述第一窗口 标题栏的最小化按钮或最大化按钮的操作指令之前的显示参数, 并根据所 述终端在接收对所述第一窗口标题栏的最小化按钮或最大化按钮的操作指 令之前的显示参数显示所述第一窗口; 当所述终端接收对所述第一窗口标题栏的关闭按钮的操作指令后, 所 述终端关闭所述第一窗口; After the terminal accepts an operation instruction for the restore button of the first window title bar, the terminal modifies the display parameter of the first window to the minimum that the terminal receives the title bar of the first window. And displaying a display parameter before the operation command of the button, and displaying the first window according to a display parameter before the terminal receives an operation instruction for the minimize button or the maximize button of the first window title bar ; After the terminal receives an operation instruction for the close button of the first window title bar, the terminal closes the first window;
当所述终端接收对所述窗口的显示参数进行修改的操作指令后, 所述 终端将所述第一窗口的显示参数修改为所述修改后的显示参数, 并根据所 述修改后的显示参数显示所述第一窗口。  After the terminal receives the operation instruction for modifying the display parameter of the window, the terminal modifies the display parameter of the first window to the modified display parameter, and according to the modified display parameter The first window is displayed.
4、 根据权利要求 1所述的方法, 其中, 所述方法还包括:  4. The method according to claim 1, wherein the method further comprises:
所述终端接收屏幕焦点窗口切换指令;  Receiving, by the terminal, a screen focus window switching instruction;
当所述终端屏幕当前焦点窗口以及待切换焦点窗口均为窗口化显示的 窗口时, 所述终端保持所述当前焦点窗口的运行状态, 并将所述终端屏幕 的焦点切换至所述待切换焦点窗口;  When the current focus window of the terminal screen and the window to be switched are windowed windows, the terminal maintains an operating state of the current focus window, and switches a focus of the terminal screen to the focus to be switched. Window
当所述终端屏幕当前焦点窗口为窗口化显示的窗口, 所述待切换焦点 窗口为全屏显示的窗口时, 所述终端将所述当前焦点窗口以及所述终端屏 幕的非焦点窗口的运行状态修改为挂起状态, 并将所述终端屏幕的焦点切 换至所述待切换焦点窗口;  When the current focus window of the terminal screen is a window display window, and the to-be-switched focus window is a full-screen display window, the terminal modifies the current focus window and the operation state of the non-focus window of the terminal screen. In a suspend state, switching the focus of the terminal screen to the focus window to be switched;
当所述终端屏幕当前焦点窗口为全屏显示的窗口, 所述待切换焦点窗 口为窗口化显示的窗口时, 所述终端将所述当前焦点窗口的运行状态修改 为暂停状态, 并将所述终端屏幕的焦点切换至所述待切换焦点窗口。  When the current focus window of the terminal screen is a full-screen display window, and the to-be-switched focus window is a windowed window, the terminal modifies the running state of the current focus window to a pause state, and the terminal is The focus of the screen is switched to the focus window to be switched.
5、 根据权利要求 4所述的方法, 其中, 所述终端接收屏幕焦点窗口切 换指令, 包括:  5. The method according to claim 4, wherein the receiving, by the terminal, a screen focus window switching instruction comprises:
所述终端接收对所述终端屏幕上的通知栏中已开启的窗口列表内的窗 口标识的操作指令;  Receiving, by the terminal, an operation instruction for a window identifier in a window list that has been opened in a notification column on the screen of the terminal;
或者, 所述终端接收用于在屏幕桌面上唤起已开启的窗口列表的唤起 指令之后, 接收对所述终端屏幕上已开启的窗口列表内的窗口标识的操作 指令;  Alternatively, the terminal receives an operation instruction for acknowledging an open window list on the screen desktop, and receiving an operation instruction for a window identifier in the opened window list on the terminal screen;
其中, 所述已开启的窗口列表包括所述终端当前已开启的窗口标识。 The opened window list includes a window identifier that is currently opened by the terminal.
6、 一种终端, 包括: 创建单元、 存储单元和显示控制单元, 其中, 所述创建单元, 配置为创建第一窗口; A terminal, comprising: a creating unit, a storage unit, and a display control unit, wherein the creating unit is configured to create a first window;
所述存储单元, 配置为存储所述第一窗口的窗口化标识和显示参数; 所述显示控制单元, 配置为当所述创建单元创建所述第一窗口且所述 存储单元中所述第一窗口的窗口化标识为可窗口化时, 根据所述存储单元 中所述第一窗口的显示参数显示所述第一窗口, 并将当前所述终端屏幕的 焦点窗口切换至所述第一窗口。  The storage unit is configured to store a windowed identifier and a display parameter of the first window; the display control unit is configured to: when the creating unit creates the first window and the first in the storage unit When the windowed identifier of the window is windowable, the first window is displayed according to the display parameter of the first window in the storage unit, and the focus window of the current terminal screen is switched to the first window.
7、 根据权利要求 6所述的终端, 其中, 所述显示控制单元, 配置为: 当所述终端屏幕当前的焦点窗口为窗口化显示的窗口时, 保持所述窗 口化显示的窗口的运行状态, 并将所述终端屏幕的焦点窗口切换至所述第 一窗口;  The terminal according to claim 6, wherein the display control unit is configured to: when the current focus window of the terminal screen is a window display window, maintain the running state of the window display window And switching a focus window of the terminal screen to the first window;
当所述终端屏幕当前的焦点窗口为全屏显示的窗口时, 将所述全屏显 示的窗口的运行状态切换为挂起状态, 并将所述终端屏幕的焦点窗口切换 至所述第一窗口。  When the current focus window of the terminal screen is a full-screen display window, the running state of the full-screen display window is switched to a suspended state, and the focus window of the terminal screen is switched to the first window.
8、 根据权利要求 6所述的终端, 其中, 所述终端还包括接收单元, 配 置为接收对所述第一窗口的操作指令;  The terminal according to claim 6, wherein the terminal further comprises a receiving unit configured to receive an operation instruction for the first window;
所述显示控制单元, 还配置为:  The display control unit is further configured to:
当所述接收单元接收对所述第一窗口标题栏的最大化按钮的操作指令 后, 将所述第一窗口的显示参数修改为全屏显示参数, 并根据所述全屏显 示参数显示所述第一窗口;  After the receiving unit receives an operation instruction for the maximize button of the first window title bar, modifying the display parameter of the first window to a full screen display parameter, and displaying the first according to the full screen display parameter Window
以及当所述接收单元接收对所述第一窗口标题栏的最小化按钮的操作 指令后, 将所述第一窗口的 Z序修改为后台;  And modifying, when the receiving unit receives an operation instruction for the minimize button of the first window title bar, the Z sequence of the first window to be a background;
以及当所述接收单元接收对所述第一窗口标题栏的还原按钮的操作指 令后, 将所述第一窗口的显示参数修改为所述终端在接收对所述第一窗口 标题栏的最小化按钮或最大化按钮的操作指令之前的显示参数, 并根据所 述终端在接收对所述第一窗口标题栏的最小化按钮或最大化按钮的操作指 令之前的显示参数显示所述第一窗口; And modifying, when the receiving unit receives an operation instruction for the restore button of the first window title bar, the display parameter of the first window to receive the minimization of the first window title bar by the terminal The display parameter before the button or the maximized button's operation command, and according to The display window displays the first window before receiving an operation instruction for a minimize button or a maximize button of the first window title bar;
以及当所述接收单元接收对所述第一窗口标题栏的关闭按钮的操作指 令后, 关闭所述第一窗口;  And closing the first window after the receiving unit receives an operation instruction on the close button of the first window title bar;
以及当所述接收单元接收对所述窗口的显示参数进行修改的操作指令 后, 将所述第一窗口的显示参数修改为所述修改后的显示参数, 并根据所 述修改后的显示参数显示所述第一窗口。  And after the receiving unit receives the operation instruction for modifying the display parameter of the window, modifying the display parameter of the first window to the modified display parameter, and displaying according to the modified display parameter The first window.
9、 根据权利要求 6所述的终端, 其中, 所述终端还包括接收单元, 配 置为接收屏幕焦点窗口切换指令;  The terminal according to claim 6, wherein the terminal further comprises a receiving unit configured to receive a screen focus window switching instruction;
所述显示控制单元, 还配置为:  The display control unit is further configured to:
当所述终端屏幕当前焦点窗口以及待切换焦点窗口均为窗口化显示的 窗口时, 保持所述当前焦点窗口的运行状态, 并将所述终端屏幕的焦点切 换至所述待切换焦点窗口;  When the current focus window of the terminal screen and the window to be switched are windowed windows, the running state of the current focus window is maintained, and the focus of the terminal screen is switched to the focus window to be switched;
以及当所述终端屏幕当前焦点窗口为窗口化显示的窗口, 所述待切换 焦点窗口为全屏显示的窗口时, 将所述当前焦点窗口以及所述终端屏幕的 非焦点窗口的运行状态修改为暂停状态, 并将所述终端屏幕的焦点切换至 所述待切换焦点窗口;  And when the current focus window of the terminal screen is a windowed display window, and the to-be-switched focus window is a full-screen display window, the current focus window and the non-focus window of the terminal screen are modified to be suspended. a state, and switching a focus of the terminal screen to the focus window to be switched;
以及当所述终端屏幕当前焦点窗口为全屏显示的窗口, 所述待切换焦 点窗口为窗口化显示的窗口时, 将所述当前焦点窗口的运行状态修改为挂 起状态, 并将所述终端屏幕的焦点切换至所述待切换焦点窗口。  And when the current focus window of the terminal screen is a full screen display window, when the focus window to be switched is a window display window, the running state of the current focus window is modified to a suspended state, and the terminal screen is The focus is switched to the focus window to be switched.
10、 根据权利要求 9所述的终端, 其中, 所述接收单元, 配置为: 接收对所述终端屏幕上的通知栏中已开启的窗口列表内的窗口标识的 操作指令;  The terminal according to claim 9, wherein the receiving unit is configured to: receive an operation instruction for a window identifier in a window list that has been opened in a notification column on the terminal screen;
或者, 接收用于在所述终端屏幕上唤起已开启的窗口列表的唤起指令, 并接收对所述终端屏幕上已开启的窗口列表内的窗口标识的操作指令; 其中, 所述已开启的窗口列表包括所述终端当前已开启的窗口标识。Or receiving an evoke command for evoking an opened window list on the terminal screen, and receiving an operation instruction for a window identifier in the window list that is opened on the terminal screen; The opened window list includes a window identifier that is currently opened by the terminal.
11、 一种存储介质, 所述存储介质中存储有计算机程序, 所述计算机 程序配置为执行权利要求 1至 5任一项所述的终端的多窗口显示方法。 A storage medium, wherein the storage medium stores a computer program, the computer program being configured to execute the multi-window display method of the terminal according to any one of claims 1 to 5.
PCT/CN2014/084690 2014-06-24 2014-08-19 Terminal and multi-window display method for terminal, and storage medium WO2015196543A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410286024.8 2014-06-24
CN201410286024.8A CN105320502A (en) 2014-06-24 2014-06-24 Terminal and multi-window displaying method for terminal

Publications (1)

Publication Number Publication Date
WO2015196543A1 true WO2015196543A1 (en) 2015-12-30

Family

ID=54936551

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/084690 WO2015196543A1 (en) 2014-06-24 2014-08-19 Terminal and multi-window display method for terminal, and storage medium

Country Status (2)

Country Link
CN (1) CN105320502A (en)
WO (1) WO2015196543A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291319A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 A kind of window display method, information interacting method and system
CN106250011A (en) * 2016-07-15 2016-12-21 乐视控股(北京)有限公司 Display packing, device and equipment
CN109271223A (en) * 2018-09-05 2019-01-25 Oppo广东移动通信有限公司 Windows switching method, device, terminal and computer readable storage medium
CN110928612B (en) * 2018-09-20 2022-08-19 网易(杭州)网络有限公司 Display control method and device of virtual resources and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090276788A1 (en) * 2008-04-30 2009-11-05 Kabushiki Kaisha Toshiba Information processing apparatus
CN101937317A (en) * 2010-09-26 2011-01-05 北京握奇数据系统有限公司 Window management method and terminal
CN102968243A (en) * 2012-09-29 2013-03-13 顾晶 Method, device and equipment for displaying multiple application windows on mobile terminal
CN103246430A (en) * 2013-04-24 2013-08-14 深圳市同洲电子股份有限公司 Terminal and method for managing multiple windows
CN103365525A (en) * 2012-03-28 2013-10-23 百度在线网络技术(北京)有限公司 Mobile terminal and multi-window displaying method for mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007065928A (en) * 2005-08-30 2007-03-15 Toshiba Corp Information storage medium, information processing method, information transfer method, information reproduction method, information reproduction device, information recording method, information recording device, and program
CN103475784B (en) * 2013-09-18 2016-03-30 广东欧珀移动通信有限公司 A kind of application program of mobile phone window scheme display and method of operation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090276788A1 (en) * 2008-04-30 2009-11-05 Kabushiki Kaisha Toshiba Information processing apparatus
CN101937317A (en) * 2010-09-26 2011-01-05 北京握奇数据系统有限公司 Window management method and terminal
CN103365525A (en) * 2012-03-28 2013-10-23 百度在线网络技术(北京)有限公司 Mobile terminal and multi-window displaying method for mobile terminal
CN102968243A (en) * 2012-09-29 2013-03-13 顾晶 Method, device and equipment for displaying multiple application windows on mobile terminal
CN103246430A (en) * 2013-04-24 2013-08-14 深圳市同洲电子股份有限公司 Terminal and method for managing multiple windows

Also Published As

Publication number Publication date
CN105320502A (en) 2016-02-10

Similar Documents

Publication Publication Date Title
WO2015161578A1 (en) Window management method and device
US20190391732A1 (en) Method, Apparatus, and Terminal for Processing Notification Information
EP2656193B1 (en) Application-launching interface for multiple modes
CN107636595B (en) Method for starting second application by using first application icon in electronic equipment
CN107786730A (en) A kind of task management method and terminal
CN102646016B (en) The user terminal of display gesture interactive voice unified interface and display packing thereof
CN109074276A (en) Tabs in system task switch
CN110083278A (en) Electronic equipment and its method
EP3243133A1 (en) Customizable bladed applications
WO2015067050A1 (en) Multi-window display method and device for browser
CN103649902B (en) Immersive and desktop shell display
CN102637127B (en) Method for controlling mouse modules and electronic device
CN102830964A (en) Method and device for displaying multitask interface
US9437158B2 (en) Electronic device for controlling multi-display and display control method thereof
WO2015058566A1 (en) Method and device for capturing screen image
CN113434065B (en) Information processing method and terminal
WO2015196543A1 (en) Terminal and multi-window display method for terminal, and storage medium
CN103324436A (en) Task processing method and device
CN104469511B (en) A kind of information processing method and electronic equipment
WO2018001246A1 (en) Video play mode setting method, device, program and medium
CN102981818A (en) Scenario based animation library
CN105630595B (en) A kind of information processing method and electronic equipment
CN103997673B (en) A kind of event-handling method and device
CN108401453A (en) A kind of method, apparatus and intelligent terminal of control display screen
CN110688190A (en) Control method and device of intelligent interactive panel

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: 14895837

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14895837

Country of ref document: EP

Kind code of ref document: A1