WO2016095728A1 - Multi-window display method and device - Google Patents

Multi-window display method and device Download PDF

Info

Publication number
WO2016095728A1
WO2016095728A1 PCT/CN2015/096729 CN2015096729W WO2016095728A1 WO 2016095728 A1 WO2016095728 A1 WO 2016095728A1 CN 2015096729 W CN2015096729 W CN 2015096729W WO 2016095728 A1 WO2016095728 A1 WO 2016095728A1
Authority
WO
WIPO (PCT)
Prior art keywords
window
application
activity
display
attribute
Prior art date
Application number
PCT/CN2015/096729
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 WO2016095728A1 publication Critical patent/WO2016095728A1/en

Links

Images

Classifications

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

Definitions

  • the present application relates to the field of computer technologies, and in particular, to a multi-window display method and apparatus.
  • the Android operating system is widely used in various terminals.
  • the terminal displays the real-time content of the application in full screen according to the application currently selected by the user, and the user can perform real-time content with the application through the displayed real-time content. Interaction.
  • the terminal displays the application in full screen, and currently only the application is in a normal running state (ie, active state), and other running applications are in an inactive state, the real-time content is suspended and updated, so the terminal cannot Display real-time content from multiple applications simultaneously.
  • a normal running state ie, active state
  • other running applications are in an inactive state
  • the video application and the stock application are run on the terminal
  • the video application when the user selects the video application to watch the video, the video application is displayed on the screen of the mobile terminal in full screen, the user can watch the video normally, and the stock application is inactive at this time.
  • the various real-time stock data in the stock application is also suspended, so the terminal cannot simultaneously display the real-time content of the video application and the stock application.
  • the embodiment of the present invention provides a multi-window display method and device, which are used to solve the problem that the terminal of the Android native operating system cannot display the real-time content of multiple applications at the same time in the prior art.
  • each display unit of the application is saved in a corresponding container of the application, wherein at least two activated applications are different, and different containers correspond to different containers;
  • the window of the application is displayed according to the set window property of the application and each display unit saved in the container corresponding to the application.
  • a plurality of windows are displayed according to the set window attribute and each display unit saved in the container, wherein at least one of the windows displays two or more display units.
  • a saving module configured to save each display unit of the application in a corresponding container of the application, wherein at least two activated applications are different, and different containers correspond to different containers;
  • a display module configured to set a window attribute of the application, and display a window of the application according to the set window attribute of the application and each display unit saved in the container corresponding to the application.
  • a saving module for each application that has been started, saving the display unit of each application in at least one container;
  • a display module configured to display, according to the set window attribute and each display unit saved in the container, a plurality of windows, wherein at least one of the windows displays more than two display units.
  • the embodiment of the present application provides a multi-window display method and device.
  • the method is configured to save the display units of the application in the corresponding container of the application, and according to the set window attributes and settings of the application.
  • Each display unit stored in the container displays a window of the application, wherein there are at least two activated applications, and different containers correspond to different containers.
  • FIG. 1 is a multi-window display process provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of application A and application B in an actual application scenario provided by an embodiment of the present application. Schematic diagram of the activity stack;
  • FIG. 3 is a storage manner of an activity in the prior art
  • FIG. 4 is a schematic diagram of a window for simultaneously displaying two applications on the same terminal screen in the actual application scenario provided by the embodiment of the present application;
  • FIG. 5 is a schematic diagram of the window of the application A and the window of the application B overlap in the actual application scenario provided by the embodiment of the present application;
  • FIG. 6 is another multi-window display process provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of displaying multiple activities in the same window in the actual application scenario provided by the embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a multi-window display device according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of another multi-window display device according to an embodiment of the present application.
  • FIG. 1 is a multi-window display process according to an embodiment of the present application, which specifically includes the following steps:
  • the terminal saves the display unit of the application in the corresponding container of the application, wherein the at least two activated applications are different, and the containers corresponding to different applications are different.
  • the terminal includes, but is not limited to, a mobile phone, a tablet computer, etc.
  • the terminal may use an Android (Android) operating system
  • the application may be an application developed based on the Android platform.
  • each display unit of the application for displaying the interface of the application is started separately during the running of the application.
  • the terminal can instantiate the application for the launched application a container (that is, the corresponding container of the application), and then save each display unit that has been activated by the application in the corresponding container, and subsequently used to display the corresponding application interface, of course, if the application is started during the running process
  • the terminal also stores the other display units in the container corresponding to the application.
  • the container may be a stack.
  • the stack data structure may be predefined, and then, whenever the application is started, the stack data structure is instantiated once, the corresponding stack is obtained, and the obtained The stack is used as the stack corresponding to the application.
  • the stack data structure may not be instantiated when the application is started, but the stack data structure is instantiated multiple times in advance to obtain multiple stacks, and then, whenever it is started, When applied, a stack can be allocated to the application directly from the obtained multiple stacks as the stack corresponding to the application.
  • the display unit at the top of the stack is in an active state, and the display unit in the active state is called by the application process or thread to display the application interface corresponding to the display unit to the user.
  • the content on the corresponding application interface can be refreshed in real time, and can interact with the user through preset various input commands, and at this time, other display units in the stack are in a Paused state or a Stopped state.
  • the display unit in the Paused state or the Stopped state is not currently displayed to the user.
  • the display unit corresponding to the other application interface is popped from the stack and re-saved at the top of the stack, that is, activated and switched to the Active state, correspondingly
  • the storage location of the original display unit at the top of the stack moves downward and switches to the Paused state or the Stopped state, and the other application interface becomes the application interface currently displayed to the user.
  • S102 The terminal displays the window of the application according to the set window attribute of the application and each display unit saved in the container corresponding to the application.
  • each display unit of the application includes various display elements, such as text, pictures, videos, controls, and the like, on the application interface defined in advance.
  • the application process calls the display list.
  • the application interface is displayed, the resolution information of the current terminal screen is obtained, and then the application interface is directly displayed on the terminal screen in an adaptive manner according to the resolution information.
  • the window attribute may be preset to save the related information, and the lifetime of the window is Track and update these related information (from the time the window is created until the time the window is closed).
  • the window attribute may include a window length value, a window width value, a window coordinate value, and the like.
  • the coordinate referenced by the window coordinate value is a two-dimensional coordinate on the current terminal screen, and the window coordinate value is used to locate the window.
  • the position on the current terminal screen may be the coordinates of the intersection of the two diagonal lines of the window, or the coordinates of other specific points in the window area (such as the vertices of the window), and the window length value for the rectangular window.
  • the terminal may determine the size and location of the window on the screen of the terminal according to the set window attribute of the application, and then invoke the corresponding display unit saved in the corresponding container of the application through a corresponding process or thread to display The application's window.
  • the display unit specifically includes an activity
  • the container specifically includes an activity stack.
  • the activity stack is a first-in/Last-Out data structure, and the valid data stored is the activity of the application corresponding to the activity stack.
  • the following describes an example of saving the activity provided by the embodiment of the present application. It is assumed that the application A and the application B have been started on the terminal, wherein the application A has started two activities (activityA1, activityA2), and the application B has started three activities. (activityB1 ⁇ activityB3), the terminal instantiates two activity stacks for saving the activity of application A and the activity of application B respectively.
  • Figure 2 shows the activity stack of application A and application B.
  • the left side is the stack of application A
  • the right side is the activity stack of application B.
  • only activityA2 and activityB3 located at the top of the two stacks are in the active state, and other activities are in the Paused state or the Stopped state.
  • application A is displaying the application interface corresponding to activityA2
  • application B is displaying The application interface corresponding to activityB3.
  • the terminal can pop the activityA2 and activityA1 in the activity stack of application A in turn, and then add activityA2 and activityA1 to the stack, so that activityA1 is located in the application.
  • activityA1 switches to the active state
  • activityA2 switches to the Paused state or the Stopped state.
  • the related process or thread of the application A can call activityA1 to display the corresponding application interface.
  • FIG. 3 shows the save mode of the activity provided by the prior art, and can be seen.
  • the activity of the application A and the activity of the application B are all stored in the same activity stack, and the activity B3 of the application B is located at the top of the stack, and since the window attribute is not defined in the prior art, the terminal currently only displays and is The application interface corresponding to activityB3 is displayed in full screen, so that the user can only see the real-time content of the application interface and interact with the application interface.
  • the terminal since the terminal saves the activity of each application in the respective activity stack, instead of all the applications on the terminal, The activities are stored in the same activity stack, so that the activity state of each application's activity does not affect each other, each application can have an active activity (activity at the top of the activity stack), and because each application passes The window attributes determine the size and position of the respective windows. Therefore, the terminal can simultaneously display the real-time application interfaces of multiple applications in multiple windows.
  • the set window attribute of the application may be preset, or may be set by the user when the window of the application is to be displayed.
  • setting methods such as setting the window property of the application using a specific data structure, or setting the window property of the application using a configuration file, and then, when the window of the application needs to be displayed, A specific data structure or configuration file that reads the set window properties of the application so that subsequent display processes can be performed.
  • the embodiment of the present application only sets the window of the application using a specific data structure. The attribute is described.
  • the window panel data structure is set (a data structure named WindowPanel can be set), and in the window panel data structure, the application window attribute is set, wherein the window attribute includes at least a window length value, Window width value and window coordinate value. Thereafter, the window of the application can be displayed correspondingly according to the window attribute of the application set in the WindowPanel data structure when the window of the application is started and subsequently operated.
  • the WindowPanel data structure can be instantiated separately for each application, and the window properties of each application are respectively set in the WindowPanel data structure instantiated for each application.
  • the application interface corresponding to the activity at the top of the activity stack is the interface that the application currently displays to the user in the form of a window. Therefore, in the above step S102, the terminal according to the window attribute of the application Each display unit saved in the container corresponding to the application displays a window of the application, and specifically includes: determining, by the terminal, a window length value, a window width value, and a window coordinate value included in the window attribute of the application, and determining that the application is corresponding to the application The activity of the top of the activity stack, and then, because the terminal can determine the size of the window according to the determined window length value and the window width value, the position of the window can be determined according to the determined window coordinate value, and the window can be determined according to the determined activity.
  • the real-time content of the app should be displayed, so the terminal can display the window correctly in real time.
  • the terminal can set appropriate window length values, window width values, and window coordinate values for different applications according to the size of the screen, and can simultaneously display multiple application windows on the terminal screen completely or partially overlapping, for example, 4 shows that two applications are displayed on the same terminal screen at the same time.
  • the upper window is the application A window, and the lower is the application B window.
  • Their window length value and window width value are the same, only the window coordinate values are different. .
  • the window coordinate value is not a coordinate value of a single point, but a set of coordinate values of a plurality of specific points, for example, may be coordinate values of at least three vertices of the window, since the coordinate values of the three vertices can be uniquely determined.
  • the size and position of the window Therefore, in this case, the window property may not include the window length value and the window width value, and the terminal can correctly display the application by determining the window coordinate value and the determined activity. window.
  • window properties can also contain other properties to more specifically describe the window. Status, such as window border style, window background style, and so on.
  • a corresponding window view control can be set for each window.
  • various window view controls can be set in the activity of the application, and the user interface (UI) corresponding to the window view controls is drawn on the window by using the view view class to provide operations to the user, and the window view controls are provided.
  • UI user interface
  • the operation corresponding to the window attribute update instruction may include a maximization operation, a maximum post-reduction operation, a drag operation, a zoom operation, and the like, and the window hiding instruction may include a minimization operation or the like.
  • the user can achieve the corresponding operation purpose by clicking the return key, the minimize key, the maximize key, the close key, and the like in the application window.
  • the terminal may update the instruction according to the window attribute update instruction.
  • the window property of the application and redisplaying the window of the application according to the updated window property and each activity saved in the activity stack corresponding to the application.
  • the terminal can update the window coordinate value (only the window position changes).
  • the terminal may have the window length value, the window width value, and Window coordinate values are updated (window size and position change).
  • the window of the application may be redisplayed according to the updated window length value, the window width value, the window coordinate value, and the determined activity. .
  • the terminal when the terminal receives a window hiding instruction (corresponding to a minimize operation) for an application through the window view control, the attribute of each activity of the application may be updated, and the application is redisplayed according to the updated attributes of each activity.
  • Window specific, terminal can determine each of the application Activity and each activity's dialog, and determine the wallpaper Z order, then, according to the window hidden instructions, update the application's Z sequence of each activity and the activity's dialog Z sequence, making the application's activities and each dialog's Z The value of the sequence is smaller than the value of the wallpaper Z order, and further, the window of the application is redisplayed according to the updated Z sequence of each activity and the Z order of each dialog.
  • the dialog of the activity may be a popup window included in the activity and invoked by the activity to prompt the user to perform subsequent operations.
  • the activity may not include a dialog, and may also include one or more dialogs.
  • each activity, the dialog of each activity, and other specific display units such as the wallpaper of the terminal screen have Z-order attributes, and are executed by the operating system through a Z-sequence list.
  • the Z sequence can indicate the display order of the corresponding visual unit in the Z-axis direction of the terminal screen when displayed on the terminal screen, wherein the more the Z-order value is displayed in the visual unit displayed on the upper layer of the terminal screen Large, that is, the visual unit can occlude other visual units whose Z-order value is less than its own Z-order value.
  • the window of the application A and the window of the application B are displayed on the screen of the terminal. It is assumed that the Z-order value of the activity corresponding to the window of the application B is greater than the Z-order value of the activity corresponding to the window of the application A, then when the application A is When the window of the application and the window of the application B overlap, the overlapping area thereof displays the corresponding area of the window of the B, and the corresponding area of the window of the A is occluded, and the user is not visible.
  • the window of the application is blocked by the wallpaper of the terminal screen, which is equivalent to the user.
  • the window of the app is hidden.
  • the minimization operation can also be implemented without updating the Z order, but also by updating the window attributes.
  • the content display area of the window can be updated by updating the window length value, the window width value, and the window coordinate value.
  • the length and width are both set to 0, and the window view control bar (the area in the window that displays the window view control) is docked to a specific area of the screen (such as the bottom of the screen, or indented to the edge of the screen, etc.).
  • the user may only need real-time content of several specific applications, and the terminal may separately instantiate one for each specific application.
  • the activity stack saves the activity of the specific application in the corresponding activity stack, and for other launched applications, only a common activity stack is instantiated, and the activities of the other launched applications are saved in the shared The activity stack. Thereby, the number of instantiated activity stacks can be reduced, and the consumption of terminal resources can be reduced.
  • the terminal may receive other window function update instructions and window hiding instructions.
  • the terminal may perform corresponding operations on the window of the application according to the received operation instruction, specifically including the following:
  • the window of the application When the window of the application is displayed at the forefront of the current screen, and the terminal receives a window switching instruction for other applications, the window of the other application is displayed at the forefront of the current screen. That is, the operation corresponding to the window switching instruction is a switching operation.
  • the terminal records each group of display content displayed in the window of the application, wherein only one set of display content is displayed at the same time in the window of the application.
  • the terminal receives the window return instruction for the application, the last set of display content of the current display content is displayed in the window of the application according to the recorded display contents of each group. That is, the operation corresponding to the window return instruction is a return operation.
  • the terminal receives the window close instruction for the application, the window of the application is closed. That is, the operation corresponding to the window close instruction is a close operation.
  • FIG. 6 is another multi-window display process according to an embodiment of the present application, which specifically includes the following steps:
  • S601 Save, for each application that has been started, the display unit of each application in at least one container.
  • the display unit may be an activity
  • the container may be an activity stack.
  • the terminal may instantiate an activity stack for each application to save the activity of the application, or directly instantiate one or more activity stacks for each application to share the activity stack. Save the activity of each application in these activities, and then use it for display.
  • S602 Display a plurality of windows according to the set window attribute and each display unit saved in the container, wherein at least one of the windows displays more than two display units.
  • the terminal may display a window for each activated application according to the set window attribute and each display unit saved in the activity stack, so that only the application is displayed in each application window. Own activity.
  • the terminal may first instantiate one or more windows according to the set window attribute, and then display two or more activities in each window according to each display unit saved in the activity stack, thereby improving The efficiency of the use of the window.
  • two or more activities displayed in the same window may belong to the same application, or may belong to different applications.
  • Fig. 7 shows a schematic diagram of multi-window display in such a scenario, and it can be seen that two windows are displayed on the terminal screen.
  • the window "Apply A&B” is a window shared by the application A and the application B.
  • On the left side of the display area of the window (that is, the left side of the dotted line) is the real-time content of the application A displayed according to the activity of the application A, in the window.
  • the right side of the display area (ie, the right side of the dotted line) is the real-time content of the application B displayed according to the activity of the application B.
  • the window "App C” is the window of the application C, and the left side of the display area of the window (that is, the left side of the dotted line) is the first real-time content of the application C displayed according to an activity of the application C, in the window
  • the right side of the display area ie, the right side of the dotted line
  • each activity in the window display area can be in the window property of the window.
  • it can be referred to as a sub-area), so that each activity can be correctly displayed in the corresponding sub-area.
  • each activity may be displayed in an overlapping or partially overlapping manner in the same window, or may not be displayed in an overlapping manner.
  • the terminal can instantiate multiple activity stacks to save the activity of each launched application, the terminal can simultaneously display according to the display unit at the top of each activity stack. Multiple windows, and different sub-areas can be divided into the window display area according to the set window attributes, so that an activity can be displayed in each sub-area in the same window, so that the terminal screen can display multiple simultaneously Real-time content of the app.
  • the embodiment of the present application further provides a corresponding multi-window display device, as shown in FIG. 8 and FIG.
  • FIG. 8 is a schematic structural diagram of a multi-window display device according to an embodiment of the present disclosure, which specifically includes:
  • the saving module 801 is configured to save, in the application corresponding to the application, the display unit of the application, in the container corresponding to the application, wherein at least two activated applications are different, and the containers corresponding to different applications are different;
  • the display module 802 is configured to set a window attribute of the application, and display a window of the application according to the set window attribute of the application and each display unit saved in the container corresponding to the application.
  • the display unit specifically includes an activity
  • the container specifically includes an activity stack.
  • the display module 802 is specifically configured to: set a window panel data structure, and set a window attribute of the application in the window panel data structure, wherein the window attribute includes at least a window length value, a window width value, and a window coordinate value.
  • the display module 802 is specifically configured to determine a window length value, a window width value, and a window coordinate value included in a window attribute of the set, and determine an activity at a top of the activity stack corresponding to the application, according to the determined window length.
  • the value, the window width value, the window coordinate value, and the determined activity show the application's window.
  • the activity includes a window view control for receiving a window property update instruction and/or a window hiding instruction for the application.
  • the device also includes:
  • a first receiving module 803, configured to receive a window attribute update instruction for the application
  • the update module 804 is configured to update the window attribute of the application according to the window attribute update instruction, and redisplay the window of the application according to the updated window attribute and each activity saved in the activity stack corresponding to the application.
  • the update module 804 is specifically configured to: update the window length value, the window width value, and the window coordinate value included in the window attribute of the application according to the window attribute update instruction, and determine that the activity stack is located at the top of the application corresponding to the application.
  • the activity redisplays the application's window based on the updated window length value, window width value, window coordinate value, and the determined activity.
  • the device also includes:
  • a second receiving module 805, configured to receive a window hidden instruction for the application
  • the hiding module 806 is configured to update an attribute of each activity of the application according to the window hiding instruction, and redisplay the window of the application according to the updated attribute of each activity.
  • the hiding module 806 is specifically configured to determine the activity of the application and the dialog of each activity, determine a wallpaper Z order, and according to the window hiding instruction, the Z sequence of each activity of the application and the activities of the activities.
  • the Z sequence of the dialog is updated to be smaller than the value of the Z sequence of the wallpaper, and the window of the application is redisplayed according to the updated Z sequence of each activity and the Z sequence of each dialog.
  • the device also includes:
  • the switching module 807 is configured to display the window of the other application at the forefront of the current screen when the window of the application is displayed at the forefront of the current screen and the window switching instruction for the window of the other application is received.
  • the returning module 808 is configured to record each group of display content displayed in the window of the application, wherein only one set of display content is displayed at the same time in the window of the application, and when a window return instruction is received for the application, according to Each group of recorded content is displayed, and the last set of display content of the currently displayed content is displayed in the window of the application.
  • the close module 809 is configured to close the window of the application when receiving a window close instruction for the application.
  • the above-mentioned device as shown in FIG. 8 can be located on the terminal.
  • FIG. 9 is a schematic structural diagram of another multi-window display device according to an embodiment of the present disclosure, which specifically includes:
  • the saving module 901 saves the display unit of each application to each application that has been activated. One less container;
  • the display module 902 is configured to display a plurality of windows according to the set window attribute and each display unit saved in the container, wherein at least one of the windows displays two or more display units.
  • the embodiment of the present application provides a multi-window display method and device.
  • the method is configured to save the display units of the application in the corresponding container of the application, and according to the set window attributes and settings of the application.
  • Each display unit stored in the container displays a window of the application, wherein there are at least two activated applications, and different containers correspond to different containers.
  • 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 an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • 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.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory, such as read only memory (ROM) or flash memory (flashRAM), in a computer readable medium.
  • RAM random access memory
  • ROM read only memory
  • flashRAM flash memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
  • embodiments of the present application can be provided as a method, system, or computer program. Order product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.

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 multi-window display method and device. The method comprises: for a started application, saving various display units of the application in a container uniquely corresponding to the application, wherein there are at least two started applications, and different applications correspond to different containers (S101); and according to set window attributes of the application and the various display units saved in the container, displaying a window of the application (S102). By means of the method, since display units of each application are all saved in respective containers, activity states of the display units of all the applications will not influence one another, and since the applications will display their own windows according to set window attributes, a terminal can correspondingly display real-time content of a plurality of applications simultaneously using multiple windows.

Description

一种多窗口显示方法及装置Multi-window display method and device 技术领域Technical field
本申请涉及计算机技术领域,尤其涉及一种多窗口显示方法及装置。The present application relates to the field of computer technologies, and in particular, to a multi-window display method and apparatus.
背景技术Background technique
目前,Android操作系统在各种终端上应用广泛。Currently, the Android operating system is widely used in various terminals.
在现有技术中,在基于Android操作系统的终端上运行多个应用时,终端会根据用户当前所选择的应用,全屏显示该应用的实时内容,则用户可通过显示的实时内容与该应用进行交互。In the prior art, when multiple applications are run on the terminal based on the Android operating system, the terminal displays the real-time content of the application in full screen according to the application currently selected by the user, and the user can perform real-time content with the application through the displayed real-time content. Interaction.
但是,由于终端是全屏显示该应用,且当前只有该应用是处于正常运行状态(也即,活动状态),而其他已运行的应用都是处于非活动状态,暂停更新实时内容,因此,终端无法同时显示多个应用的实时内容。However, since the terminal displays the application in full screen, and currently only the application is in a normal running state (ie, active state), and other running applications are in an inactive state, the real-time content is suspended and updated, so the terminal cannot Display real-time content from multiple applications simultaneously.
例如,在终端上运行了视频应用和股票应用,当用户选择视频应用观看视频时,则视频应用全屏显示在移动终端的屏幕上,用户可正常观看视频,而股票应用此时则处于非活动状态,股票应用中的各种实时股票数据也暂停刷新,因此,终端无法同时显示视频应用和股票应用的实时内容。For example, when the video application and the stock application are run on the terminal, when the user selects the video application to watch the video, the video application is displayed on the screen of the mobile terminal in full screen, the user can watch the video normally, and the stock application is inactive at this time. The various real-time stock data in the stock application is also suspended, so the terminal cannot simultaneously display the real-time content of the video application and the stock application.
发明内容Summary of the invention
本申请实施例提供一种多窗口显示方法及装置,用以解决现有技术中基于Android原生操作系统的终端无法同时显示多个应用的实时内容的问题。The embodiment of the present invention provides a multi-window display method and device, which are used to solve the problem that the terminal of the Android native operating system cannot display the real-time content of multiple applications at the same time in the prior art.
本申请实施例提供的一种多窗口显示方法,包括:A multi-window display method provided by an embodiment of the present application includes:
针对已启动的应用,将该应用的各显示单元保存在该应用对应的容器中,其中,至少有两个已启动的应用,不同的应用对应的容器不同;For the launched application, each display unit of the application is saved in a corresponding container of the application, wherein at least two activated applications are different, and different containers correspond to different containers;
根据设置的该应用的窗口属性和该应用对应的容器中保存的各显示单元,显示该应用的窗口。The window of the application is displayed according to the set window property of the application and each display unit saved in the container corresponding to the application.
本申请实施例提供的一种多窗口显示方法,包括:A multi-window display method provided by an embodiment of the present application includes:
针对已启动的各应用,将所述各应用的显示单元保存在至少一个容器中; Displaying, for each application that has been started, the display unit of each application in at least one container;
根据设置的窗口属性和所述容器中保存的各显示单元,显示多个窗口,其中,至少有一个窗口中显示有两个或多个显示单元。A plurality of windows are displayed according to the set window attribute and each display unit saved in the container, wherein at least one of the windows displays two or more display units.
本申请实施例提供的一种多窗口显示装置,包括:A multi-window display device provided by the embodiment of the present application includes:
保存模块,用于针对已启动的应用,将该应用的各显示单元保存在该应用对应的容器中,其中,至少有两个已启动的应用,不同的应用对应的容器不同;a saving module, configured to save each display unit of the application in a corresponding container of the application, wherein at least two activated applications are different, and different containers correspond to different containers;
显示模块,用于设置该应用的窗口属性,并根据设置的该应用的窗口属性和该应用对应的容器中保存的各显示单元,显示该应用的窗口。a display module, configured to set a window attribute of the application, and display a window of the application according to the set window attribute of the application and each display unit saved in the container corresponding to the application.
本申请实施例提供的一种多窗口显示装置,包括:A multi-window display device provided by the embodiment of the present application includes:
保存模块,针对已启动的各应用,将所述各应用的显示单元保存在至少一个容器中;a saving module, for each application that has been started, saving the display unit of each application in at least one container;
显示模块,用于根据设置的窗口属性和所述容器中保存的各显示单元,显示多个窗口,其中,至少有一个窗口中显示有两个以上的显示单元。And a display module, configured to display, according to the set window attribute and each display unit saved in the container, a plurality of windows, wherein at least one of the windows displays more than two display units.
本申请实施例提供一种多窗口显示方法及装置,该方法终端针对已启动的应用,将该应用的各显示单元保存在该应用对应的容器中,并根据设置的该应用的窗口属性和所述容器中保存的各显示单元,显示该应用的窗口,其中,至少有两个已启动的应用,不同的应用对应的容器不同。通过上述方法,由于每个应用的显示单元都保存在各自的容器中,从而,各应用的显示单元的活动状态不会相互影响,又由于应用会根据设置的窗口属性显示自身的窗口,因此,终端可以同时用多窗口对应地显示多个应用的实时内容。The embodiment of the present application provides a multi-window display method and device. The method is configured to save the display units of the application in the corresponding container of the application, and according to the set window attributes and settings of the application. Each display unit stored in the container displays a window of the application, wherein there are at least two activated applications, and different containers correspond to different containers. Through the above method, since the display units of each application are saved in the respective containers, the active states of the display units of the respective applications do not affect each other, and since the application displays its own window according to the set window attributes, The terminal can display the real-time content of multiple applications correspondingly in multiple windows at the same time.
附图说明DRAWINGS
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawing:
图1为本申请实施例提供的多窗口显示过程;FIG. 1 is a multi-window display process provided by an embodiment of the present application;
图2为在本申请实施例提供的在实际应用场景下,应用A和应用B的 activity堆栈的示意图;FIG. 2 is a schematic diagram of application A and application B in an actual application scenario provided by an embodiment of the present application. Schematic diagram of the activity stack;
图3为在现有技术下,activity的保存方式;FIG. 3 is a storage manner of an activity in the prior art;
图4为在本申请实施例提供的实际应用场景下,在同一个终端屏幕上同时显示了两个应用的窗口的示意图;4 is a schematic diagram of a window for simultaneously displaying two applications on the same terminal screen in the actual application scenario provided by the embodiment of the present application;
图5为在本申请实施例提供的实际应用场景下,应用A的窗口和应用B的窗口发生重叠时的示意图;FIG. 5 is a schematic diagram of the window of the application A and the window of the application B overlap in the actual application scenario provided by the embodiment of the present application;
图6为本申请实施例提供的另一种多窗口显示过程;FIG. 6 is another multi-window display process provided by an embodiment of the present application;
图7为在本申请实施例提供的实际应用场景下,在同一个窗口中显示多个activity的示意图;FIG. 7 is a schematic diagram of displaying multiple activities in the same window in the actual application scenario provided by the embodiment of the present application; FIG.
图8为本申请实施例提供的多窗口显示装置结构示意图;FIG. 8 is a schematic structural diagram of a multi-window display device according to an embodiment of the present application;
图9为本申请实施例提供的另一个多窗口显示装置结构示意图。FIG. 9 is a schematic structural diagram of another multi-window display device according to an embodiment of the present application.
具体实施方式detailed description
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions of the present application will be clearly and completely described in the following with reference to the specific embodiments of the present application and the corresponding drawings. It is apparent that the described embodiments are only a part of the embodiments of the present application, and not all of them. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
图1为本申请实施例提供的多窗口显示过程,具体包括以下步骤:FIG. 1 is a multi-window display process according to an embodiment of the present application, which specifically includes the following steps:
S101:终端针对已启动的应用,将该应用的各显示单元保存在该应用对应的容器中,其中,至少有两个已启动的应用,不同的应用对应的容器不同。S101: The terminal saves the display unit of the application in the corresponding container of the application, wherein the at least two activated applications are different, and the containers corresponding to different applications are different.
在本申请实施例中,所述的终端包括但不限于:手机、平板电脑等,所述的终端可以使用安卓(Android)操作系统,所述的应用可以是基于Android平台开发的应用。In the embodiment of the present application, the terminal includes, but is not limited to, a mobile phone, a tablet computer, etc., the terminal may use an Android (Android) operating system, and the application may be an application developed based on the Android platform.
在终端上,应用启动后,用于显示应用的界面的该应用的各显示单元会在该应用的运行过程中分别启动。终端可以针对已启动的应用,为该应用实例化 一个容器(也即,该应用对应的容器),然后将该应用已启动的各显示单元保存在对应的容器中,后续用于显示相应的应用界面,当然,若应用在运行过程中又启动了自身的其他的显示单元,则终端将该其他的显示单元也保存在该应用对应的容器中。终端上可以有多个已启动的应用,则终端可分别为每个已启动的应用都实例化一个对应的容器,然后将每个应用已启动的各显示单元保存在对应的容器中。On the terminal, after the application is started, each display unit of the application for displaying the interface of the application is started separately during the running of the application. The terminal can instantiate the application for the launched application a container (that is, the corresponding container of the application), and then save each display unit that has been activated by the application in the corresponding container, and subsequently used to display the corresponding application interface, of course, if the application is started during the running process For other display units of its own, the terminal also stores the other display units in the container corresponding to the application. There may be multiple activated applications on the terminal, and the terminal may instantiate a corresponding container for each launched application, and then save each display unit that has been activated by each application in the corresponding container.
其中,所述的容器可以是堆栈,在实际应用中,可预先定义堆栈数据结构,然后,每当启动应用时,都对该堆栈数据结构进行一次实例化,获得相应的堆栈,并将获得的堆栈作为该应用对应的堆栈,另外,也可以不在启动应用时才对该堆栈数据结构实例化,而是预先对该堆栈数据结构进行多次实例化,获得多个堆栈,则此后,每当启动应用时,可直接从获得的多个堆栈中,为该应用分配一个堆栈,作为该应用对应的堆栈。Wherein, the container may be a stack. In an actual application, the stack data structure may be predefined, and then, whenever the application is started, the stack data structure is instantiated once, the corresponding stack is obtained, and the obtained The stack is used as the stack corresponding to the application. In addition, the stack data structure may not be instantiated when the application is started, but the stack data structure is instantiated multiple times in advance to obtain multiple stacks, and then, whenever it is started, When applied, a stack can be allocated to the application directly from the obtained multiple stacks as the stack corresponding to the application.
需要说明的是,位于堆栈顶端的显示单元处于活动(Active)状态,处于Active状态的显示单元会被该应用的进程或线程所调用,以向用户显示该显示单元对应的应用界面,该显示单元对应的应用界面上的内容可以实时刷新,并可以通过预设的各种输入指令与用户进行交互,而此时该堆栈中其他的显示单元均处于暂停(Paused)状态或停止(Stopped)状态,处于Paused状态或Stopped状态的显示单元当前未显示给用户。当该应用从当前应用界面跳转至另一个应用界面时,该另一个应用界面所对应的显示单元会从堆栈中弹出并重新保存在堆栈顶端,也即,被激活并切换至Active状态,相应的,原来堆栈顶端原来的显示单元的保存位置向下移动,并切换至Paused状态或Stopped状态,则该另一个应用界面成为当前显示给用户的应用界面。It should be noted that the display unit at the top of the stack is in an active state, and the display unit in the active state is called by the application process or thread to display the application interface corresponding to the display unit to the user. The content on the corresponding application interface can be refreshed in real time, and can interact with the user through preset various input commands, and at this time, other display units in the stack are in a Paused state or a Stopped state. The display unit in the Paused state or the Stopped state is not currently displayed to the user. When the application jumps from the current application interface to another application interface, the display unit corresponding to the other application interface is popped from the stack and re-saved at the top of the stack, that is, activated and switched to the Active state, correspondingly The storage location of the original display unit at the top of the stack moves downward and switches to the Paused state or the Stopped state, and the other application interface becomes the application interface currently displayed to the user.
S102:终端根据设置的该应用的窗口属性和该应用对应的容器中保存的各显示单元,显示该应用的窗口。S102: The terminal displays the window of the application according to the set window attribute of the application and each display unit saved in the container corresponding to the application.
在本申请实施例中,应用的各显示单元包含预先定义的该应用界面上的各种显示元素,如文字、图片、视频、控件等。一般的,应用的进程调用显示单 元显示应用界面时,会获取当前终端屏幕的分辨率信息,然后根据该分辨率信息直接将应用界面自适应地全屏显示在终端屏幕上。而若要以窗口的方式显示各显示单元对应的应用界面,由于还需要确定待显示的窗口的大小以及位置相关信息,因此,可以预先设置窗口属性以保存这些相关信息,并在窗口的生存期(从窗口创建至该窗口被关闭的这段时间)内追踪和更新这些相关信息。In the embodiment of the present application, each display unit of the application includes various display elements, such as text, pictures, videos, controls, and the like, on the application interface defined in advance. In general, the application process calls the display list. When the application interface is displayed, the resolution information of the current terminal screen is obtained, and then the application interface is directly displayed on the terminal screen in an adaptive manner according to the resolution information. If the application interface corresponding to each display unit is to be displayed in a window manner, since the size of the window to be displayed and the position related information need to be determined, the window attribute may be preset to save the related information, and the lifetime of the window is Track and update these related information (from the time the window is created until the time the window is closed).
其中,所述的窗口属性中可以包含窗口长度值、窗口宽度值和窗口坐标值等,所述的窗口坐标值所参考的坐标是当前终端屏幕上的二维坐标,窗口坐标值用于定位窗口在当前终端屏幕上所处的位置,可以是窗口的两条对角线的交点的坐标,也可以是窗口区域内其他特定点(例如窗口的顶点)的坐标,对于矩形窗口,其窗口长度值、窗口宽度值和窗口坐标值确定时,则窗口的大小和位置确定。The window attribute may include a window length value, a window width value, a window coordinate value, and the like. The coordinate referenced by the window coordinate value is a two-dimensional coordinate on the current terminal screen, and the window coordinate value is used to locate the window. The position on the current terminal screen may be the coordinates of the intersection of the two diagonal lines of the window, or the coordinates of other specific points in the window area (such as the vertices of the window), and the window length value for the rectangular window. When the window width value and the window coordinate value are determined, the size and position of the window are determined.
在本申请实施例中,终端可根据设置的该应用的窗口属性确定窗口在终端屏幕上的大小和位置,然后,通过相应的进程或线程调用该应用对应的容器中保存的相应显示单元,显示该应用的窗口。In the embodiment of the present application, the terminal may determine the size and location of the window on the screen of the terminal according to the set window attribute of the application, and then invoke the corresponding display unit saved in the corresponding container of the application through a corresponding process or thread to display The application's window.
在本申请实施例中,对于基于Android操作系统的终端,所述的显示单元具体包括activity,所述的容器具体包括activity堆栈。In the embodiment of the present application, for the terminal based on the Android operating system, the display unit specifically includes an activity, and the container specifically includes an activity stack.
需要说明的是,activity堆栈是一种先进后出(First-In/Last-Out)的数据结构,其保存的有效数据为该activity堆栈所对应的应用的各activity。下面举例说明本申请实施例提供的activity的保存方式,假定终端上已启动了应用A和应用B,其中,应用A已启动了2个activity(activityA1、activityA2),应用B已启动了3个activity(activityB1~activityB3),则终端实例化两个activity堆栈分别用于保存应用A的activity和应用B的activity。It should be noted that the activity stack is a first-in/Last-Out data structure, and the valid data stored is the activity of the application corresponding to the activity stack. The following describes an example of saving the activity provided by the embodiment of the present application. It is assumed that the application A and the application B have been started on the terminal, wherein the application A has started two activities (activityA1, activityA2), and the application B has started three activities. (activityB1 ~ activityB3), the terminal instantiates two activity stacks for saving the activity of application A and the activity of application B respectively.
图2示出了应用A和应用B的activity堆栈,左侧为应用A的堆栈,右侧为应用B的activity堆栈。其中,只有分别位于两个堆栈顶部的activityA2和activityB3是处于active状态,其他的activity均处于Paused状态或Stopped状态。显然,此时应用A正在显示activityA2对应的应用界面,应用B正在显示 activityB3对应的应用界面。假定此后应用A由当前应用界面跳转至activityA1所对应的应用界面,则终端可将应用A的activity堆栈中的activityA2和activityA1依次出栈,然后再将activityA2和activityA1依次入栈,使得activityA1位于应用A的堆栈顶部,则activityA1切换至active状态,activityA2切换至Paused状态或Stopped状态,进而,应用A的相关进程或线程可调用activityA1显示对应的应用界面。Figure 2 shows the activity stack of application A and application B. The left side is the stack of application A, and the right side is the activity stack of application B. Among them, only activityA2 and activityB3 located at the top of the two stacks are in the active state, and other activities are in the Paused state or the Stopped state. Obviously, at this time, application A is displaying the application interface corresponding to activityA2, and application B is displaying The application interface corresponding to activityB3. Assume that after application A jumps from the current application interface to the application interface corresponding to activityA1, the terminal can pop the activityA2 and activityA1 in the activity stack of application A in turn, and then add activityA2 and activityA1 to the stack, so that activityA1 is located in the application. At the top of the stack of A, activityA1 switches to the active state, and activityA2 switches to the Paused state or the Stopped state. Further, the related process or thread of the application A can call activityA1 to display the corresponding application interface.
而在现有技术中,是将终端上所有的应用的各activity均保存同一个activity堆栈中,仍通过上例继续说明,图3示出了现有技术提供的activity的保存方式,可以看到,应用A的activity和应用B的activity均保存在同一个activity堆栈中,位于堆栈顶部的是应用B的activityB3,且由于在现有技术中未定义窗口属性,因此,终端当前只显示、且是全屏显示activityB3对应的应用界面,从而,用户仅能看到该应用界面的实时内容,以及与该应用界面进行交互。In the prior art, all the activities of all the applications on the terminal are saved in the same activity stack, and the description continues with the above example. FIG. 3 shows the save mode of the activity provided by the prior art, and can be seen. The activity of the application A and the activity of the application B are all stored in the same activity stack, and the activity B3 of the application B is located at the top of the stack, and since the window attribute is not defined in the prior art, the terminal currently only displays and is The application interface corresponding to activityB3 is displayed in full screen, so that the user can only see the real-time content of the application interface and interact with the application interface.
通过上述本申请实施例提供的方法和现有技术可以看出,在本申请实施例中,由于终端是将每个应用的activity都保存在各自的activity堆栈中,而不是将终端上所有应用的activity都保存在同一个activity堆栈中,从而,各应用的activity的活动状态不会相互影响,每个应用都可以有一个处于激活状态的activity(activity堆栈顶部的activity),又由于每个应用通过窗口属性确定了各自窗口的大小和位置,因此,终端可以同时用多窗口对应地显示多个应用的实时应用界面。As can be seen from the method and the prior art provided in the foregoing application, in the embodiment of the present application, since the terminal saves the activity of each application in the respective activity stack, instead of all the applications on the terminal, The activities are stored in the same activity stack, so that the activity state of each application's activity does not affect each other, each application can have an active activity (activity at the top of the activity stack), and because each application passes The window attributes determine the size and position of the respective windows. Therefore, the terminal can simultaneously display the real-time application interfaces of multiple applications in multiple windows.
在本申请实施例中,对于上述步骤S102,设置的该应用的窗口属性可以是预先设置的,也可以是在要显示该应用的窗口时再由用户进行设置。可以有多种设置方法,如使用特定的数据结构对该应用的窗口属性进行设置,或是使用配置文件对该应用的窗口属性进行设置,进而,当需显示该应用的窗口时,可根据该特定的数据结构或配置文件,读取设置的该应用的窗口属性,从而可进行后续的显示过程。本申请实施例仅对使用特定的数据结构设置应用的窗口 属性进行说明,具体的,设置窗口面板数据结构(可设置名为WindowPanel的数据结构),并在窗口面板数据结构中,设置应用的窗口属性,其中,所述窗口属性中至少包含窗口长度值、窗口宽度值和窗口坐标值。此后,该应用的窗口在启动时,以及后续被操作时,均可根据该WindowPanel数据结构中设置的该应用的窗口属性,对该应用的窗口进行相应的显示。在实际应用中,可为每个应用都分别实例化WindowPanel数据结构,并将每个应用的窗口属性都分别设置在为该每个应用实例化的WindowPanel数据结构中。In the embodiment of the present application, for the above step S102, the set window attribute of the application may be preset, or may be set by the user when the window of the application is to be displayed. There are a variety of setting methods, such as setting the window property of the application using a specific data structure, or setting the window property of the application using a configuration file, and then, when the window of the application needs to be displayed, A specific data structure or configuration file that reads the set window properties of the application so that subsequent display processes can be performed. The embodiment of the present application only sets the window of the application using a specific data structure. The attribute is described. Specifically, the window panel data structure is set (a data structure named WindowPanel can be set), and in the window panel data structure, the application window attribute is set, wherein the window attribute includes at least a window length value, Window width value and window coordinate value. Thereafter, the window of the application can be displayed correspondingly according to the window attribute of the application set in the WindowPanel data structure when the window of the application is started and subsequently operated. In practical applications, the WindowPanel data structure can be instantiated separately for each application, and the window properties of each application are respectively set in the WindowPanel data structure instantiated for each application.
进一步的,通过上面的说明,由于位于activity堆栈顶端的activity对应的应用界面,即为该应用当前要以窗口形式显示给用户的界面,因此,在上述步骤S102中,终端根据该应用的窗口属性和该应用对应的容器中保存的各显示单元,显示该应用的窗口,具体包括:终端确定该应用的窗口属性中包含的窗口长度值、窗口宽度值和窗口坐标值,并确定位于该应用对应的activity堆栈顶端的activity,然后,由于终端根据确定出的窗口长度值、窗口宽度值可确定窗口的大小、根据确定出的窗口坐标值可确定窗口的位置、根据确定出的activity可确定在窗口中应显示的该应用的实时内容,因此,终端即可正确地实时显示该窗口。终端可根据自身屏幕大小,对不同的应用分别设置合适的窗口长度值、窗口宽度值、窗口坐标值,可以在终端屏幕上完整地、或者部分重叠地同时显示多个应用的窗口,例如,图4示出了在同一个终端屏幕上同时显示了两个应用的窗口,上方为应用A的窗口,下方为应用B的窗口,他们的窗口长度值、窗口宽度值相同,只有窗口坐标值不相同。Further, by the above description, the application interface corresponding to the activity at the top of the activity stack is the interface that the application currently displays to the user in the form of a window. Therefore, in the above step S102, the terminal according to the window attribute of the application Each display unit saved in the container corresponding to the application displays a window of the application, and specifically includes: determining, by the terminal, a window length value, a window width value, and a window coordinate value included in the window attribute of the application, and determining that the application is corresponding to the application The activity of the top of the activity stack, and then, because the terminal can determine the size of the window according to the determined window length value and the window width value, the position of the window can be determined according to the determined window coordinate value, and the window can be determined according to the determined activity. The real-time content of the app should be displayed, so the terminal can display the window correctly in real time. The terminal can set appropriate window length values, window width values, and window coordinate values for different applications according to the size of the screen, and can simultaneously display multiple application windows on the terminal screen completely or partially overlapping, for example, 4 shows that two applications are displayed on the same terminal screen at the same time. The upper window is the application A window, and the lower is the application B window. Their window length value and window width value are the same, only the window coordinate values are different. .
另外,若窗口坐标值不是单个点的坐标值,而是多个特定点的一组坐标值,例如,可以是窗口的至少三个顶点的坐标值,由于三个顶点的坐标值已经可以唯一确定该窗口的大小和位置,因此,在这种情况下,窗口属性也可以不包含窗口长度值、窗口宽度值,则终端可通过确定出的窗口坐标值和确定出的activity即可正确显示应用的窗口。当然,除了窗口长度值、窗口宽度值、窗口坐标值以外,窗口属性还可以包含其他的一些属性,以更具体地描述窗口的 状态,如窗口边框样式、窗口背景样式等。In addition, if the window coordinate value is not a coordinate value of a single point, but a set of coordinate values of a plurality of specific points, for example, may be coordinate values of at least three vertices of the window, since the coordinate values of the three vertices can be uniquely determined. The size and position of the window. Therefore, in this case, the window property may not include the window length value and the window width value, and the terminal can correctly display the application by determining the window coordinate value and the determined activity. window. Of course, in addition to window length values, window width values, window coordinate values, window properties can also contain other properties to more specifically describe the window. Status, such as window border style, window background style, and so on.
在本申请实施例中,终端显示各应用的窗口后,由于用户在使用应用的过程中,可能需要针对应用的窗口进行某些操作,如最大化操作、最大化后还原操作、最小化操作、拖动操作、缩放操作、返回操作、关闭操作等,从而使得窗口的视图发生变化,因此,为了提高用户操作的便利性,可以为每个窗口设置相应的窗口视图控件。具体的,可在应用的activity中设置各种窗口视图控件,同时用视图view类在窗口上绘制这些窗口视图控件对应的用户界面(User Interface,UI),以提供给用户操作,这些窗口视图控件可用于接收和处理针对该应用的窗口属性更新指令和/或窗口隐藏指令。其中,所述的窗口属性更新指令所对应的操作可以包括最大化操作、最大化后还原操作、拖动操作、缩放操作等,所述的窗口隐藏指令可以包括最小化操作等。如图4所示,用户可通过点击应用的窗口内的返回键、最小化键、最大化键、关闭键等实现相应的操作目的。In the embodiment of the present application, after the terminal displays the window of each application, the user may need to perform certain operations on the window of the application, such as maximizing operation, maximizing post-reduction operation, minimizing operation, Drag operation, zoom operation, return operation, close operation, etc., so that the view of the window changes, therefore, in order to improve the convenience of the user operation, a corresponding window view control can be set for each window. Specifically, various window view controls can be set in the activity of the application, and the user interface (UI) corresponding to the window view controls is drawn on the window by using the view view class to provide operations to the user, and the window view controls are provided. Can be used to receive and process window property update instructions and/or window hidden instructions for the application. The operation corresponding to the window attribute update instruction may include a maximization operation, a maximum post-reduction operation, a drag operation, a zoom operation, and the like, and the window hiding instruction may include a minimization operation or the like. As shown in FIG. 4, the user can achieve the corresponding operation purpose by clicking the return key, the minimize key, the maximize key, the close key, and the like in the application window.
进一步的,当终端通过窗口视图控件接收到针对某应用的窗口属性更新指令时,由于窗口属性更新指令对应着调整窗口大小和/或位置的各操作,则终端可根据该窗口属性更新指令,更新该应用的窗口属性,并根据更新后的窗口属性和该应用对应的activity堆栈中保存的各activity,重新显示该应用的窗口。Further, when the terminal receives the window attribute update instruction for an application through the window view control, because the window attribute update instruction corresponds to each operation of adjusting the window size and/or the position, the terminal may update the instruction according to the window attribute update instruction. The window property of the application, and redisplaying the window of the application according to the updated window property and each activity saved in the activity stack corresponding to the application.
对于拖动操作,终端更新窗口坐标值即可(仅窗口位置发生变化),对于最大化操作、最大化后还原操作、拖动操作、缩放操作,终端可能会对窗口长度值、窗口宽度值和窗口坐标值都进行更新(窗口大小和位置都发生变化)。终端更新了窗口属性,并确定出位于该应用对应的activity堆栈顶端的activity后,则可根据更新后的窗口长度值、窗口宽度值、窗口坐标值和确定出的activity,重新显示该应用的窗口。For the drag operation, the terminal can update the window coordinate value (only the window position changes). For the maximize operation, maximize the restore operation, the drag operation, and the zoom operation, the terminal may have the window length value, the window width value, and Window coordinate values are updated (window size and position change). After the terminal updates the window attribute and determines the activity at the top of the activity stack corresponding to the application, the window of the application may be redisplayed according to the updated window length value, the window width value, the window coordinate value, and the determined activity. .
进一步的,当终端通过窗口视图控件接收到针对某应用的窗口隐藏指令(对应最小化操作)时,可更新该应用的各activity的属性,并根据更新后的各activity的属性,重新显示该应用的窗口,具体的,终端可确定该应用的各 activity和各activity的dialog,并确定壁纸Z序,然后,根据该窗口隐藏指令,更新该应用的各activity的Z序和各activity的dialog的Z序,使得该应用的各activity和各dialog的Z序的值小于壁纸Z序的值,进而,根据更新后的各activity的Z序和各dialog的Z序,重新显示该应用的窗口。其中,所述的activity的dialog可以是包含在该activity中,并被该activity所调用,用于提示用户进行后续操作的弹窗,activity可以不包含dialog,也可以包含一个或多个dialog。Further, when the terminal receives a window hiding instruction (corresponding to a minimize operation) for an application through the window view control, the attribute of each activity of the application may be updated, and the application is redisplayed according to the updated attributes of each activity. Window, specific, terminal can determine each of the application Activity and each activity's dialog, and determine the wallpaper Z order, then, according to the window hidden instructions, update the application's Z sequence of each activity and the activity's dialog Z sequence, making the application's activities and each dialog's Z The value of the sequence is smaller than the value of the wallpaper Z order, and further, the window of the application is redisplayed according to the updated Z sequence of each activity and the Z order of each dialog. The dialog of the activity may be a popup window included in the activity and invoked by the activity to prompt the user to perform subsequent operations. The activity may not include a dialog, and may also include one or more dialogs.
在此,基于Android操作系统,对所述的Z序进行说明。各Activity、各activity的dialog,以及其他的一些特定显示单元如终端屏幕的壁纸(特定显示单元,以下统称为可视单元)都有Z序属性,并由操作系统通过Z序列表(list)进行保存和设置,Z序可表示其对应的可视单元在终端屏幕上显示时,在终端屏幕Z轴方向的显示顺序,其中,在终端屏幕越靠上层显示的可视单元,其Z序值越大,也即,可视单元可以遮挡Z序值小于自身Z序值的其他可视单元。Here, the Z sequence will be described based on the Android operating system. Each activity, the dialog of each activity, and other specific display units such as the wallpaper of the terminal screen (specific display units, hereinafter collectively referred to as visual units) have Z-order attributes, and are executed by the operating system through a Z-sequence list. Save and set, the Z sequence can indicate the display order of the corresponding visual unit in the Z-axis direction of the terminal screen when displayed on the terminal screen, wherein the more the Z-order value is displayed in the visual unit displayed on the upper layer of the terminal screen Large, that is, the visual unit can occlude other visual units whose Z-order value is less than its own Z-order value.
如图5所示,终端屏幕上显示有应用A的窗口和应用B的窗口,假定应用B的窗口对应的activity的Z序值大于应用A的窗口对应的activity的Z序值,则当应用A的窗口和应用B的窗口发生重叠时,其重叠区域显示的是B的窗口的对应区域,而A的窗口的对应区域则被遮挡,用户不可见。As shown in FIG. 5, the window of the application A and the window of the application B are displayed on the screen of the terminal. It is assumed that the Z-order value of the activity corresponding to the window of the application B is greater than the Z-order value of the activity corresponding to the window of the application A, then when the application A is When the window of the application and the window of the application B overlap, the overlapping area thereof displays the corresponding area of the window of the B, and the corresponding area of the window of the A is occluded, and the user is not visible.
根据上述说明,将该应用的各activity的Z序和各activity的dialog的Z序更新为小于所述壁纸Z序的值后,则该应用的窗口会被终端屏幕的壁纸遮挡,相当于对用户隐藏了该应用的窗口。According to the above description, after updating the Z order of each activity of the application and the Z sequence of the dialog of each activity to be smaller than the value of the wallpaper Z order, the window of the application is blocked by the wallpaper of the terminal screen, which is equivalent to the user. The window of the app is hidden.
当然,最小化操作也可以不通过更新Z序实现,而是也通过更新窗口属性实现,在这种情况下,可通过更新窗口长度值、窗口宽度值和窗口坐标值,将窗口的内容显示区域的长度和宽度都设置为0,并将窗口视图控件栏(窗口内显示窗口视图控件的区域)停靠在屏幕的特定区域(如屏幕的最下方、或缩进隐藏在屏幕的边缘等)。Of course, the minimization operation can also be implemented without updating the Z order, but also by updating the window attributes. In this case, the content display area of the window can be updated by updating the window length value, the window width value, and the window coordinate value. The length and width are both set to 0, and the window view control bar (the area in the window that displays the window view control) is docked to a specific area of the screen (such as the bottom of the screen, or indented to the edge of the screen, etc.).
需要说明的是,在实际应用中,终端在运行多个应用时,用户可能只对其中几个特定应用的实时内容有需求,则终端可以为每个特定应用分别实例化一 个activity堆栈,将特定应用的activity保存在对应的activity堆栈中,而对于其他已启动的各应用,只实例化一个共用的activity堆栈,将该其他已启动的各应用的activity都保存在该共用的activity堆栈中。从而,可减少实例化的activity堆栈的数量,可减少终端资源的消耗。It should be noted that, in an actual application, when a terminal runs multiple applications, the user may only need real-time content of several specific applications, and the terminal may separately instantiate one for each specific application. The activity stack saves the activity of the specific application in the corresponding activity stack, and for other launched applications, only a common activity stack is instantiated, and the activities of the other launched applications are saved in the shared The activity stack. Thereby, the number of instantiated activity stacks can be reduced, and the consumption of terminal resources can be reduced.
在本申请实施例中,终端在当前屏幕上显示应用的窗口后,基于用户对应用的窗口的操作,终端除了可接收到的窗口属性更新指令,和窗口隐藏指令之外,还可接收到其他的针对应用的窗口的操作指令,则终端可根据接收到的操作指令,对应用的窗口进行相应的操作,具体包括以下:In the embodiment of the present application, after the terminal displays the window of the application on the current screen, based on the user's operation on the window of the application, the terminal may receive other window function update instructions and window hiding instructions. For the operation instruction of the window of the application, the terminal may perform corresponding operations on the window of the application according to the received operation instruction, specifically including the following:
当该应用的窗口显示在当前屏幕的最前端,且终端接收到针对其他应用的窗口切换指令时,将所述其他应用的窗口显示在所述当前屏幕的最前端。也即,窗口切换指令所对应的操作为切换操作。When the window of the application is displayed at the forefront of the current screen, and the terminal receives a window switching instruction for other applications, the window of the other application is displayed at the forefront of the current screen. That is, the operation corresponding to the window switching instruction is a switching operation.
进一步的,终端会记录在应用的窗口内显示过的各组显示内容,其中,所述应用的窗口内同一时刻只显示一组显示内容。当终端接收到针对该应用的窗口返回指令时,则根据记录的各组显示内容,将当前显示内容的上一组显示内容显示在该应用的窗口内。也即,窗口返回指令所对应的操作为返回操作。Further, the terminal records each group of display content displayed in the window of the application, wherein only one set of display content is displayed at the same time in the window of the application. When the terminal receives the window return instruction for the application, the last set of display content of the current display content is displayed in the window of the application according to the recorded display contents of each group. That is, the operation corresponding to the window return instruction is a return operation.
更进一步的,当终端接收到针对该应用的窗口关闭指令时,关闭该应用的窗口。也即,窗口关闭指令所对应的操作为关闭操作。Further, when the terminal receives the window close instruction for the application, the window of the application is closed. That is, the operation corresponding to the window close instruction is a close operation.
图6为本申请实施例提供的另一种多窗口显示过程,具体包括以下步骤:FIG. 6 is another multi-window display process according to an embodiment of the present application, which specifically includes the following steps:
S601:针对已启动的各应用,将所述各应用的显示单元保存在至少一个容器中。S601: Save, for each application that has been started, the display unit of each application in at least one container.
在本申请实施例中,所述的显示单元可以是activity,所述的容器可以是activity堆栈。In the embodiment of the present application, the display unit may be an activity, and the container may be an activity stack.
终端针对已启动的各应用,可以分别为每个应用实例化一个activity堆栈,以保存该应用的activity,也可以直接实例化一个或多个activity堆栈,以供各应用共用这些activity堆栈,则可将各应用的activity保存在这些activity中,后续用于显示。 For each application that has been started, the terminal may instantiate an activity stack for each application to save the activity of the application, or directly instantiate one or more activity stacks for each application to share the activity stack. Save the activity of each application in these activities, and then use it for display.
S602:根据设置的窗口属性和所述容器中保存的各显示单元,显示多个窗口,其中,至少有一个窗口中显示有两个以上的显示单元。S602: Display a plurality of windows according to the set window attribute and each display unit saved in the container, wherein at least one of the windows displays more than two display units.
在本申请实施例中,终端可以根据设置的窗口属性和activity堆栈中保存的各显示单元,分别为每个已启动的应用显示一个窗口,这样的话,每个应用的窗口中只会显示该应用自己的activity。In the embodiment of the present application, the terminal may display a window for each activated application according to the set window attribute and each display unit saved in the activity stack, so that only the application is displayed in each application window. Own activity.
进一步的,终端也可以根据设置的窗口属性,先实例化一个或多个窗口,然后,根据activity堆栈中保存的各显示单元,在每个窗口中显示两个或多个activity,从而,可以提高窗口的使用效率。其中,在同一个窗口中显示的两个或多个activity可以属于同一个应用,也可以属于不同的应用。Further, the terminal may first instantiate one or more windows according to the set window attribute, and then display two or more activities in each window according to each display unit saved in the activity stack, thereby improving The efficiency of the use of the window. Among them, two or more activities displayed in the same window may belong to the same application, or may belong to different applications.
图7示出了在这种场景下的多窗口显示示意图,可以看到,在终端屏幕上显示有两个窗口。Fig. 7 shows a schematic diagram of multi-window display in such a scenario, and it can be seen that two windows are displayed on the terminal screen.
窗口“应用A&B”是应用A和应用B共用的窗口,在窗口的显示区域的左侧(也即,虚线的左侧)是根据应用A的activity,所显示的应用A的实时内容,在窗口的显示区域的右侧(也即,虚线的右侧)是根据应用B的activity,所显示的应用B的实时内容。The window "Apply A&B" is a window shared by the application A and the application B. On the left side of the display area of the window (that is, the left side of the dotted line) is the real-time content of the application A displayed according to the activity of the application A, in the window. The right side of the display area (ie, the right side of the dotted line) is the real-time content of the application B displayed according to the activity of the application B.
窗口“应用C”是应用C的窗口,在窗口的显示区域的左侧(也即,虚线的左侧)是根据应用C的一个activity,所显示的应用C的第一实时内容,在窗口的显示区域的右侧(也即,虚线的右侧)是根据应用C的另一个activity,所显示的应用C的第二实时内容。The window "App C" is the window of the application C, and the left side of the display area of the window (that is, the left side of the dotted line) is the first real-time content of the application C displayed according to an activity of the application C, in the window The right side of the display area (ie, the right side of the dotted line) is the second real-time content of the displayed application C according to another activity of the application C.
在实际应用中,当终端需要在同一个窗口中同时显示两个以上的activity时,可以在该窗口的窗口属性中,对每个activity在窗口显示区域中的大小和位置(大小和位置,在这里可称为子区域)预先定义,从而,各activity可以正确地显示在对应的子区域中。当前,根据各子区域设置的不同,各activity在同一个窗口中既可以重叠显示或部分重叠显示,也可以不重叠显示。In practical applications, when the terminal needs to display more than two activities in the same window at the same time, the size and position (size and position) of each activity in the window display area can be in the window property of the window. Here, it can be referred to as a sub-area), so that each activity can be correctly displayed in the corresponding sub-area. Currently, depending on the settings of each sub-area, each activity may be displayed in an overlapping or partially overlapping manner in the same window, or may not be displayed in an overlapping manner.
通过上述方法,由于终端可以实例化多个activity堆栈来保存已启动的各应用的activity,因此,终端可以根据各activity堆栈顶部的显示单元同时显示 多个窗口,而且,可以根据设置的窗口属性预先对窗口显示区域划分出多个子区域,从而,可以在同一个窗口中的每个子区域中都显示一个activity,从而,终端屏幕上可以同时显示多个应用的实时内容。Through the above method, since the terminal can instantiate multiple activity stacks to save the activity of each launched application, the terminal can simultaneously display according to the display unit at the top of each activity stack. Multiple windows, and different sub-areas can be divided into the window display area according to the set window attributes, so that an activity can be displayed in each sub-area in the same window, so that the terminal screen can display multiple simultaneously Real-time content of the app.
以上为本申请实施例提供的多窗口显示方法,基于同样的思路,本申请实施例还提供相应的多窗口显示装置,如图8、图9所示。The above is a multi-window display method provided by the embodiment of the present application. Based on the same idea, the embodiment of the present application further provides a corresponding multi-window display device, as shown in FIG. 8 and FIG.
图8为本申请实施例提供的多窗口显示装置结构示意图,具体包括:FIG. 8 is a schematic structural diagram of a multi-window display device according to an embodiment of the present disclosure, which specifically includes:
保存模块801,用于针对已启动的应用,将该应用的各显示单元保存在该应用对应的容器中,其中,至少有两个已启动的应用,不同的应用对应的容器不同;The saving module 801 is configured to save, in the application corresponding to the application, the display unit of the application, in the container corresponding to the application, wherein at least two activated applications are different, and the containers corresponding to different applications are different;
显示模块802,用于设置该应用的窗口属性,并根据设置的该应用的窗口属性和该应用对应的容器中保存的各显示单元,显示该应用的窗口。The display module 802 is configured to set a window attribute of the application, and display a window of the application according to the set window attribute of the application and each display unit saved in the container corresponding to the application.
所述显示单元具体包括activity,所述容器具体包括activity堆栈。The display unit specifically includes an activity, and the container specifically includes an activity stack.
所述显示模块802具体用于,设置窗口面板数据结构,在窗口面板数据结构中,设置该应用的窗口属性,其中,所述窗口属性中至少包含窗口长度值、窗口宽度值和窗口坐标值。The display module 802 is specifically configured to: set a window panel data structure, and set a window attribute of the application in the window panel data structure, wherein the window attribute includes at least a window length value, a window width value, and a window coordinate value.
所述显示模块802具体用于,确定设置的该应用的窗口属性中包含的窗口长度值、窗口宽度值和窗口坐标值,确定位于该应用对应的activity堆栈顶端的activity,根据确定出的窗口长度值、窗口宽度值、窗口坐标值和确定出的activity,显示该应用的窗口。The display module 802 is specifically configured to determine a window length value, a window width value, and a window coordinate value included in a window attribute of the set, and determine an activity at a top of the activity stack corresponding to the application, according to the determined window length. The value, the window width value, the window coordinate value, and the determined activity show the application's window.
所述activity包含有窗口视图控件,所述窗口视图控件用于接收针对该应用的窗口属性更新指令和/或窗口隐藏指令。The activity includes a window view control for receiving a window property update instruction and/or a window hiding instruction for the application.
所述装置还包括:The device also includes:
第一接收模块803,用于接收针对该应用的窗口属性更新指令;a first receiving module 803, configured to receive a window attribute update instruction for the application;
更新模块804,用于根据所述窗口属性更新指令,更新该应用的窗口属性,根据更新后的窗口属性和该应用对应的activity堆栈中保存的各activity,重新显示该应用的窗口。 The update module 804 is configured to update the window attribute of the application according to the window attribute update instruction, and redisplay the window of the application according to the updated window attribute and each activity saved in the activity stack corresponding to the application.
所述,更新模块804具体用于,根据所述窗口属性更新指令,对该应用的窗口属性中包含的窗口长度值、窗口宽度值和窗口坐标值进行更新,确定位于该应用对应的activity堆栈顶端的activity,根据更新后的窗口长度值、窗口宽度值、窗口坐标值和确定出的activity,重新显示该应用的窗口。The update module 804 is specifically configured to: update the window length value, the window width value, and the window coordinate value included in the window attribute of the application according to the window attribute update instruction, and determine that the activity stack is located at the top of the application corresponding to the application. The activity redisplays the application's window based on the updated window length value, window width value, window coordinate value, and the determined activity.
所述装置还包括:The device also includes:
第二接收模块805,用于接收针对该应用的窗口隐藏指令;a second receiving module 805, configured to receive a window hidden instruction for the application;
隐藏模块806,用于根据所述窗口隐藏指令,更新该应用的各activity的属性,根据更新后的各activity的属性,重新显示该应用的窗口。The hiding module 806 is configured to update an attribute of each activity of the application according to the window hiding instruction, and redisplay the window of the application according to the updated attribute of each activity.
所述隐藏模块806具体用于,确定该应用的各activity和所述各activity的dialog,确定壁纸Z序,根据所述窗口隐藏指令,将该应用的各activity的Z序和所述各activity的dialog的Z序更新为小于所述壁纸Z序的值,根据更新后的各activity的Z序和各dialog的Z序,重新显示该应用的窗口。The hiding module 806 is specifically configured to determine the activity of the application and the dialog of each activity, determine a wallpaper Z order, and according to the window hiding instruction, the Z sequence of each activity of the application and the activities of the activities The Z sequence of the dialog is updated to be smaller than the value of the Z sequence of the wallpaper, and the window of the application is redisplayed according to the updated Z sequence of each activity and the Z sequence of each dialog.
所述装置还包括:The device also includes:
切换模块807,用于当该应用的窗口显示在当前屏幕的最前端,且接收到针对其他应用的窗口的窗口切换指令时,将所述其他应用的窗口显示在所述当前屏幕的最前端。The switching module 807 is configured to display the window of the other application at the forefront of the current screen when the window of the application is displayed at the forefront of the current screen and the window switching instruction for the window of the other application is received.
返回模块808,用于记录在该应用的窗口内显示过的各组显示内容,其中,该应用的窗口内同一时刻只显示一组显示内容,当接收到针对该应用的窗口返回指令时,根据记录的各组显示内容,将当前显示内容的上一组显示内容显示在该应用的窗口内。The returning module 808 is configured to record each group of display content displayed in the window of the application, wherein only one set of display content is displayed at the same time in the window of the application, and when a window return instruction is received for the application, according to Each group of recorded content is displayed, and the last set of display content of the currently displayed content is displayed in the window of the application.
关闭模块809,用于当接收到针对该应用的窗口关闭指令时,关闭该应用的窗口。The close module 809 is configured to close the window of the application when receiving a window close instruction for the application.
具体的上述如图8所示的装置可以位于终端上。The above-mentioned device as shown in FIG. 8 can be located on the terminal.
图9为本申请实施例提供的另一个多窗口显示装置结构示意图,具体包括:FIG. 9 is a schematic structural diagram of another multi-window display device according to an embodiment of the present disclosure, which specifically includes:
保存模块901,针对已启动的各应用,将所述各应用的显示单元保存在至 少一个容器中;The saving module 901 saves the display unit of each application to each application that has been activated. One less container;
显示模块902,用于根据设置的窗口属性和所述容器中保存的各显示单元,显示多个窗口,其中,至少有一个窗口中显示有两个或多个显示单元。The display module 902 is configured to display a plurality of windows according to the set window attribute and each display unit saved in the container, wherein at least one of the windows displays two or more display units.
本申请实施例提供一种多窗口显示方法及装置,该方法终端针对已启动的应用,将该应用的各显示单元保存在该应用对应的容器中,并根据设置的该应用的窗口属性和所述容器中保存的各显示单元,显示该应用的窗口,其中,至少有两个已启动的应用,不同的应用对应的容器不同。通过上述方法,由于每个应用的显示单元都保存在各自的容器中,从而,各应用的显示单元的活动状态不会相互影响,又由于应用会根据设置的窗口属性显示自身的窗口,因此,终端可以同时用多窗口对应地显示多个应用的实时内容。The embodiment of the present application provides a multi-window display method and device. The method is configured to save the display units of the application in the corresponding container of the application, and according to the set window attributes and settings of the application. Each display unit stored in the container displays a window of the application, wherein there are at least two activated applications, and different containers correspond to different containers. Through the above method, since the display units of each application are saved in the respective containers, the active states of the display units of the respective applications do not affect each other, and since the application displays its own window according to the set window attributes, The terminal can display the real-time content of multiple applications correspondingly in multiple windows at the same time.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。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 an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。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 illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。 The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. 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.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flashRAM)。内存是计算机可读介质的示例。The memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory, such as read only memory (ROM) or flash memory (flashRAM), in a computer readable medium. Memory is an example of a computer readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media includes both permanent and non-persistent, removable and non-removable media. Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It is also to be understood that the terms "comprises" or "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, Other elements not explicitly listed, or elements that are inherent to such a process, method, commodity, or equipment. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device including the element.
本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程 序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program. Order product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。 The above description is only an embodiment of the present application and is not intended to limit the application. Various changes and modifications can be made to the present application by those skilled in the art. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the present application are intended to be included within the scope of the appended claims.

Claims (26)

  1. 一种多窗口显示方法,其特征在于,包括:A multi-window display method, comprising:
    针对已启动的应用,将该应用的各显示单元保存在该应用对应的容器中,其中,至少有两个已启动的应用,不同的应用对应的容器不同;For the launched application, each display unit of the application is saved in a corresponding container of the application, wherein at least two activated applications are different, and different containers correspond to different containers;
    根据设置的该应用的窗口属性和该应用对应的容器中保存的各显示单元,显示该应用的窗口。The window of the application is displayed according to the set window property of the application and each display unit saved in the container corresponding to the application.
  2. 如权利要求1所述的方法,其特征在于,所述显示单元具体包括activity,所述容器具体包括activity堆栈。The method of claim 1, wherein the display unit comprises an activity, and the container comprises an activity stack.
  3. 如权利要求2所述的方法,其特征在于,设置该应用的窗口属性,具体包括:The method of claim 2, wherein setting the window attribute of the application comprises:
    设置窗口面板数据结构;Set the window panel data structure;
    在窗口面板数据结构中,设置该应用的窗口属性,其中,所述窗口属性中至少包含窗口长度值、窗口宽度值和窗口坐标值。In the window panel data structure, the window property of the application is set, wherein the window property includes at least a window length value, a window width value, and a window coordinate value.
  4. 如权利要求3所述的方法,其特征在于,根据设置的该应用的窗口属性和该应用对应的容器中保存的各显示单元,显示该应用的窗口,具体包括:The method of claim 3, wherein displaying the window of the application according to the set window attribute of the application and each display unit saved in the container corresponding to the application comprises:
    确定设置的该应用的窗口属性中包含的窗口长度值、窗口宽度值和窗口坐标值;Determining the window length value, the window width value, and the window coordinate value included in the set window property of the application;
    确定位于该应用对应的activity堆栈顶端的activity;Determine the activity at the top of the activity stack corresponding to the application;
    根据确定出的窗口长度值、窗口宽度值、窗口坐标值和确定出的activity,显示该应用的窗口。The window of the application is displayed according to the determined window length value, the window width value, the window coordinate value, and the determined activity.
  5. 如权利要求2所述的方法,其特征在于,所述activity包含有窗口视图控件,所述窗口视图控件用于接收针对该应用的窗口属性更新指令和/或窗口隐藏指令。The method of claim 2 wherein said activity includes a window view control for receiving window property update instructions and/or window hidden instructions for the application.
  6. 如权利要求5所述的方法,其特征在于,所述方法还包括:The method of claim 5, wherein the method further comprises:
    接收针对该应用的窗口属性更新指令;Receiving a window property update instruction for the application;
    根据所述窗口属性更新指令,更新该应用的窗口属性; Updating a window attribute of the application according to the window attribute update instruction;
    根据更新后的窗口属性和该应用对应的activity堆栈中保存的各activity,重新显示该应用的窗口。The application window is redisplayed according to the updated window property and each activity saved in the activity stack corresponding to the application.
  7. 如权利要求6所述的方法,其特征在于,根据所述窗口属性更新指令,更新该应用的窗口属性,具体包括:The method of claim 6, wherein updating the window attribute of the application according to the window attribute update instruction comprises:
    根据所述窗口属性更新指令,对该应用的窗口属性中包含的窗口长度值、窗口宽度值和窗口坐标值进行更新;Updating the window length value, the window width value, and the window coordinate value included in the window attribute of the application according to the window attribute update instruction;
    根据更新后的窗口属性和该应用对应的activity堆栈中保存的各activity,重新显示该应用的窗口,具体包括:The window of the application is redisplayed according to the updated window attribute and each activity saved in the activity stack corresponding to the application, including:
    确定位于该应用对应的activity堆栈顶端的activity;Determine the activity at the top of the activity stack corresponding to the application;
    根据更新后的窗口长度值、窗口宽度值、窗口坐标值和确定出的activity,重新显示该应用的窗口。The application's window is redisplayed based on the updated window length value, window width value, window coordinate value, and the determined activity.
  8. 如权利要求5所述的方法,其特征在于,所述方法还包括:The method of claim 5, wherein the method further comprises:
    接收针对该应用的窗口隐藏指令;Receiving a window hidden instruction for the application;
    根据所述窗口隐藏指令,更新该应用的各activity的属性;Updating the attributes of each activity of the application according to the window hiding instruction;
    根据更新后的各activity的属性,重新显示该应用的窗口。Redisplay the application's window based on the updated properties of each activity.
  9. 如权利要求8所述的方法,其特征在于,根据所述窗口隐藏指令,更新该应用的各activity的属性,具体包括:The method according to claim 8, wherein the updating the attributes of the activities of the application according to the window hiding instruction comprises:
    确定该应用的各activity和所述各activity的dialog;Determining the activity of the application and the dialog of the respective activities;
    确定壁纸Z序;Determine the wallpaper Z order;
    根据所述窗口隐藏指令,将该应用的各activity的Z序和所述各activity的dialog的Z序更新为:小于所述壁纸Z序的值;According to the window hiding instruction, the Z sequence of each activity of the application and the Z sequence of the dialog of each activity are updated to be smaller than the value of the wallpaper Z order;
    根据更新后的各activity的属性,重新显示该应用的窗口,具体包括:According to the updated attributes of each activity, the window of the application is redisplayed, including:
    根据更新后的各activity的Z序和各dialog的Z序,重新显示该应用的窗口。The window of the application is redisplayed according to the updated Z sequence of each activity and the Z sequence of each dialog.
  10. 如权利要求5所述的方法,其特征在于,所述方法还包括:The method of claim 5, wherein the method further comprises:
    当该应用的窗口显示在当前屏幕的最前端,且接收到针对其他应用的窗口 切换指令时,将所述其他应用的窗口显示在所述当前屏幕的最前端。When the app's window is displayed at the top of the current screen, and a window is received for other apps When the instruction is switched, the window of the other application is displayed at the forefront of the current screen.
  11. 如权利要求5所述的方法,其特征在于,所述方法还包括:The method of claim 5, wherein the method further comprises:
    记录在该应用的窗口内显示过的各组显示内容,其中,该应用的窗口内同一时刻只显示一组显示内容;Recording each group of display content displayed in the window of the application, wherein only one set of display content is displayed at the same time in the window of the application;
    当接收到针对该应用的窗口返回指令时,根据记录的各组显示内容,将当前显示内容的上一组显示内容显示在该应用的窗口内。When a window return instruction for the application is received, the previous set of display content of the current display content is displayed in the window of the application according to the recorded display contents of each group.
  12. 如权利要求5所述的方法,其特征在于,所述方法还包括:The method of claim 5, wherein the method further comprises:
    当接收到针对该应用的窗口关闭指令时,关闭该应用的窗口。When the window close command for the application is received, the application's window is closed.
  13. 一种多窗口显示方法,其特征在于,包括:A multi-window display method, comprising:
    针对已启动的各应用,将所述各应用的显示单元保存在至少一个容器中;Displaying, for each application that has been started, the display unit of each application in at least one container;
    根据设置的窗口属性和所述容器中保存的各显示单元,显示多个窗口,其中,至少有一个窗口中显示有两个以上的显示单元。A plurality of windows are displayed according to the set window attribute and each display unit stored in the container, wherein at least one of the windows displays more than two display units.
  14. 一种多窗口显示装置,其特征在于,包括:A multi-window display device, comprising:
    保存模块,用于针对已启动的应用,将该应用的各显示单元保存在该应用对应的容器中,其中,至少有两个已启动的应用,不同的应用对应的容器不同;a saving module, configured to save each display unit of the application in a corresponding container of the application, wherein at least two activated applications are different, and different containers correspond to different containers;
    显示模块,用于设置该应用的窗口属性,并根据设置的该应用的窗口属性和该应用对应的容器中保存的各显示单元,显示该应用的窗口。a display module, configured to set a window attribute of the application, and display a window of the application according to the set window attribute of the application and each display unit saved in the container corresponding to the application.
  15. 如权利要求14所述的装置,其特征在于,所述显示单元具体包括activity,所述容器具体包括activity堆栈。The device according to claim 14, wherein the display unit specifically includes an activity, and the container specifically includes an activity stack.
  16. 如权利要求15所述的装置,其特征在于,所述显示模块具体用于,设置窗口面板数据结构,在窗口面板数据结构中,设置该应用的窗口属性,其中,所述窗口属性中至少包含窗口长度值、窗口宽度值和窗口坐标值。The device according to claim 15, wherein the display module is specifically configured to: set a window panel data structure, and set a window attribute of the application in the window panel data structure, wherein the window attribute includes at least Window length value, window width value, and window coordinate value.
  17. 如权利要求16所述的装置,其特征在于,所述显示模块具体用于,确定设置的该应用的窗口属性中包含的窗口长度值、窗口宽度值和窗口坐标值,确定位于该应用对应的activity堆栈顶端的activity,根据确定出的窗口长度值、窗口宽度值、窗口坐标值和确定出的activity,显示该应用的窗口。 The device according to claim 16, wherein the display module is specifically configured to determine a window length value, a window width value, and a window coordinate value included in a window attribute of the set application, and determine a corresponding location corresponding to the application. The activity at the top of the activity stack displays the window of the application based on the determined window length value, window width value, window coordinate value, and determined activity.
  18. 如权利要求15所述的装置,其特征在于,所述activity包含有窗口视图控件,所述窗口视图控件用于接收针对该应用的窗口属性更新指令和/或窗口隐藏指令。The apparatus of claim 15, wherein the activity comprises a window view control for receiving a window property update instruction and/or a window hiding instruction for the application.
  19. 如权利要求18所述的装置,其特征在于,所述装置还包括:The device of claim 18, wherein the device further comprises:
    第一接收模块,用于接收针对该应用的窗口属性更新指令;a first receiving module, configured to receive a window attribute update instruction for the application;
    更新模块,用于根据所述窗口属性更新指令,更新该应用的窗口属性,根据更新后的窗口属性和该应用对应的activity堆栈中保存的各activity,重新显示该应用的窗口。The update module is configured to update the window attribute of the application according to the window attribute update instruction, and redisplay the window of the application according to the updated window attribute and each activity saved in the activity stack corresponding to the application.
  20. 如权利要求19所述的装置,其特征在于,所述更新模块具体用于,根据所述窗口属性更新指令,对该应用的窗口属性中包含的窗口长度值、窗口宽度值和窗口坐标值进行更新,确定位于该应用对应的activity堆栈顶端的activity,根据更新后的窗口长度值、窗口宽度值、窗口坐标值和确定出的activity,重新显示该应用的窗口。The device according to claim 19, wherein the updating module is configured to perform, according to the window attribute update instruction, a window length value, a window width value, and a window coordinate value included in a window attribute of the application. Update, determine the activity at the top of the activity stack corresponding to the application, and redisplay the application window according to the updated window length value, the window width value, the window coordinate value, and the determined activity.
  21. 如权利要求18所述的装置,其特征在于,所述装置还包括:The device of claim 18, wherein the device further comprises:
    第二接收模块,用于接收针对该应用的窗口隐藏指令;a second receiving module, configured to receive a window hidden instruction for the application;
    隐藏模块,用于根据所述窗口隐藏指令,更新该应用的各activity的属性,根据更新后的各activity的属性,重新显示该应用的窗口。The hiding module is configured to update an attribute of each activity of the application according to the window hiding instruction, and redisplay the window of the application according to the updated attribute of each activity.
  22. 如权利要求21所述的装置,其特征在于,所述隐藏模块具体用于,确定该应用的各activity和所述各activity的dialog,确定壁纸Z序,根据所述窗口隐藏指令,将该应用的各activity的Z序和所述各activity的dialog的Z序更新为小于所述壁纸Z序的值,根据更新后的各activity的Z序和各dialog的Z序,重新显示该应用的窗口。The device according to claim 21, wherein the hiding module is specifically configured to: determine an activity of the application and a dialog of each activity, determine a wallpaper Z order, and apply the application according to the window hiding instruction. The Z sequence of each activity and the Z sequence of the dialog of each activity are updated to be smaller than the value of the Z sequence of the wallpaper, and the window of the application is redisplayed according to the updated Z sequence of each activity and the Z sequence of each dialog.
  23. 如权利要求18所述的装置,其特征在于,所述装置还包括:The device of claim 18, wherein the device further comprises:
    切换模块,用于当该应用的窗口显示在当前屏幕的最前端,且接收到针对其他应用的窗口切换指令时,将所述其他应用的窗口显示在所述当前屏幕的最前端。 The switching module is configured to display the window of the other application at the forefront of the current screen when the window of the application is displayed at the forefront of the current screen and the window switching instruction for other applications is received.
  24. 如权利要求18所述的装置,其特征在于,所述装置还包括:The device of claim 18, wherein the device further comprises:
    返回模块,用于记录在该应用的窗口内显示过的各组显示内容,其中,该应用的窗口内同一时刻只显示一组显示内容,当接收到针对该应用的窗口返回指令时,根据记录的各组显示内容,将当前显示内容的上一组显示内容显示在该应用的窗口内。a return module, configured to record each group of display content displayed in the window of the application, wherein only one set of display content is displayed at the same time in the window of the application, and when receiving a return instruction for the window of the application, according to the record Each group displays content, and displays the previous set of display content of the currently displayed content in the window of the application.
  25. 如权利要求18所述的装置,其特征在于,所述装置还包括:The device of claim 18, wherein the device further comprises:
    关闭模块,用于当接收到针对该应用的窗口关闭指令时,关闭该应用的窗口。The module is closed for closing the window of the application when receiving a window close instruction for the application.
  26. 一种多窗口显示装置,其特征在于,包括:A multi-window display device, comprising:
    保存模块,针对已启动的各应用,将所述各应用的显示单元保存在至少一个容器中;a saving module, for each application that has been started, saving the display unit of each application in at least one container;
    显示模块,用于根据设置的窗口属性和所述容器中保存的各显示单元,显示多个窗口,其中,至少有一个窗口中显示有两个以上的显示单元。 And a display module, configured to display, according to the set window attribute and each display unit saved in the container, a plurality of windows, wherein at least one of the windows displays more than two display units.
PCT/CN2015/096729 2014-12-16 2015-12-08 Multi-window display method and device WO2016095728A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410785068.5 2014-12-16
CN201410785068.5A CN105760038A (en) 2014-12-16 2014-12-16 Multi-window display method and device

Publications (1)

Publication Number Publication Date
WO2016095728A1 true WO2016095728A1 (en) 2016-06-23

Family

ID=56125898

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/096729 WO2016095728A1 (en) 2014-12-16 2015-12-08 Multi-window display method and device

Country Status (2)

Country Link
CN (1) CN105760038A (en)
WO (1) WO2016095728A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107515948A (en) * 2017-09-12 2017-12-26 武汉斗鱼网络科技有限公司 Method for page jump, device and readable storage medium storing program for executing
CN111538574A (en) * 2020-03-27 2020-08-14 北京达佳互联信息技术有限公司 Task stack management method, device, terminal and storage medium
CN115080889A (en) * 2022-07-26 2022-09-20 阿里巴巴(中国)有限公司 Display mode switching method and device

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106557313A (en) * 2016-10-13 2017-04-05 广州新博庭网络信息科技股份有限公司 One kind represents business object method and apparatus in vocational window
CN106598572B (en) * 2016-11-17 2018-08-03 武汉斗鱼网络科技有限公司 Method and device is exited in a kind of application
CN108132736B (en) * 2016-12-01 2020-10-20 腾讯科技(深圳)有限公司 Display control method and device in window
CN107124651B (en) * 2017-04-12 2020-03-13 青岛海信电器股份有限公司 Window display method and device
CN107765943B (en) * 2017-10-16 2020-05-12 北京点石经纬科技有限公司 Method for realizing simultaneous operation of double APPs on double-screen intelligent terminal
CN109151582A (en) * 2018-08-16 2019-01-04 海信电子科技(深圳)有限公司 More application management methods, device and terminal based on Linux set-top box
CN110347459B (en) * 2019-06-11 2021-09-07 广州视源电子科技股份有限公司 Window minimization method and device, storage medium and interactive intelligent panel
CN111142729B (en) * 2019-12-26 2021-07-02 支付宝(杭州)信息技术有限公司 Target object recommendation method and device
CN112363783B (en) * 2020-10-26 2022-04-08 广州视源电子科技股份有限公司 Window switching method, device, medium and interactive panel
CN113254154B (en) * 2021-05-21 2024-03-29 技德技术研究所(武汉)有限公司 Application starting method and device for compatibly running Android system on Linux

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102214068A (en) * 2011-04-28 2011-10-12 宇龙计算机通信科技(深圳)有限公司 Control method for page switching display and mobile terminal
CN102301330A (en) * 2009-02-17 2011-12-28 桑迪士克以色列有限公司 A user-application interface
CN102810040A (en) * 2011-05-31 2012-12-05 联想(北京)有限公司 Display processing method, display processing device and computer system
US20130091448A1 (en) * 2011-10-06 2013-04-11 Sap Ag Transformative user interfaces

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8667418B2 (en) * 2007-06-08 2014-03-04 Apple Inc. Object stack
CN102193740B (en) * 2011-06-16 2012-12-26 珠海全志科技股份有限公司 Method for generating multilayer windows in embedded graphical interface system
CN103581754A (en) * 2012-07-20 2014-02-12 腾讯科技(深圳)有限公司 Data display method and intelligent equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102301330A (en) * 2009-02-17 2011-12-28 桑迪士克以色列有限公司 A user-application interface
CN102214068A (en) * 2011-04-28 2011-10-12 宇龙计算机通信科技(深圳)有限公司 Control method for page switching display and mobile terminal
CN102810040A (en) * 2011-05-31 2012-12-05 联想(北京)有限公司 Display processing method, display processing device and computer system
US20130091448A1 (en) * 2011-10-06 2013-04-11 Sap Ag Transformative user interfaces

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107515948A (en) * 2017-09-12 2017-12-26 武汉斗鱼网络科技有限公司 Method for page jump, device and readable storage medium storing program for executing
CN107515948B (en) * 2017-09-12 2019-12-03 武汉斗鱼网络科技有限公司 Method for page jump, device and readable storage medium storing program for executing
CN111538574A (en) * 2020-03-27 2020-08-14 北京达佳互联信息技术有限公司 Task stack management method, device, terminal and storage medium
CN111538574B (en) * 2020-03-27 2024-03-12 北京达佳互联信息技术有限公司 Task stack management method, device, terminal and storage medium
CN115080889A (en) * 2022-07-26 2022-09-20 阿里巴巴(中国)有限公司 Display mode switching method and device
CN115080889B (en) * 2022-07-26 2023-01-17 阿里巴巴(中国)有限公司 Display mode switching method and device

Also Published As

Publication number Publication date
CN105760038A (en) 2016-07-13

Similar Documents

Publication Publication Date Title
WO2016095728A1 (en) Multi-window display method and device
US20210303108A1 (en) System and method for on-screen graphical user interface encapsulation and reproduction
US10775971B2 (en) Pinch gestures in a tile-based user interface
JP6507178B2 (en) Adaptive User Interface Pane Manager
US9141264B2 (en) Variable refresh rates for portions of shared screens
US10747416B2 (en) User terminal device and method for displaying thereof
CN111651079B (en) Handwriting display method, device, equipment and computer storage medium
US9013366B2 (en) Display environment for a plurality of display devices
WO2016101810A1 (en) Method for switching display object in multi-window system and device thereof
US10915284B2 (en) Multi-monitor full screen mode in a windowing environment
WO2023160194A1 (en) Method for controlling dynamic change in screen refresh rate, and electronic device
US10049625B1 (en) Context-based rendering
WO2016101816A1 (en) Method and device for information display in instant messaging
US20160378272A1 (en) Systems and methods for providing multi-focus to applications for collaboration
US20140365873A1 (en) Computing devices for generating content layout
CN111767002B (en) Page display method, device, equipment and storage medium
US11561637B2 (en) Method and device of drawing handwriting track, electronic apparatus, medium, and program product
WO2017113551A1 (en) System and method for operating system of mobile device
CN107077347B (en) View management architecture
JP2017538202A (en) Method and apparatus for displaying object information on a screen display device
US20120324396A1 (en) Method for quick application attribute transfer by user interface instance proximity
CN112363783B (en) Window switching method, device, medium and interactive panel
US8819568B1 (en) Electronic paper display updates
CN111857902B (en) Application display method, device, equipment and readable storage medium
WO2017097142A1 (en) Interface operation processing method and apparatus, and a smart terminal

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

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

Country of ref document: EP

Kind code of ref document: A1