CN110286978B - Window hierarchy switching method, device, equipment and storage medium - Google Patents

Window hierarchy switching method, device, equipment and storage medium Download PDF

Info

Publication number
CN110286978B
CN110286978B CN201910511353.0A CN201910511353A CN110286978B CN 110286978 B CN110286978 B CN 110286978B CN 201910511353 A CN201910511353 A CN 201910511353A CN 110286978 B CN110286978 B CN 110286978B
Authority
CN
China
Prior art keywords
window
display layer
task stack
task
target
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201910511353.0A
Other languages
Chinese (zh)
Other versions
CN110286978A (en
Inventor
王家宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201910511353.0A priority Critical patent/CN110286978B/en
Publication of CN110286978A publication Critical patent/CN110286978A/en
Priority to PCT/CN2020/095594 priority patent/WO2020249044A1/en
Application granted granted Critical
Publication of CN110286978B publication Critical patent/CN110286978B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

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

Abstract

The application provides a method, a device, equipment and a storage medium for window level switching. The window mode supports at least two display layers, wherein the display layers comprise a non-special display layer, a top special display layer for displaying a top window and a bottom special display layer for displaying a bottom window; the method comprises the following steps: displaying at least two windows by adopting a non-special display layer in a window mode; determining a target window needing to be displayed at the top or the bottom; and switching the target window from the non-special display layer to a top-arranged special display layer or a bottom-arranged special display layer so as to display the target window on top or bottom. By adopting the technical scheme, the multi-level display of the application program can be realized on the basis of the window mode, and the target window can be switched among different display layers, so that the diversified requirements of users can be met.

Description

Window hierarchy switching method, device, equipment and storage medium
Technical Field
The present application relates to the field of data display technologies, and in particular, to a method, an apparatus, a device, and a storage medium for switching window hierarchies.
Background
Currently, mainstream operating systems include Window/macOS/Android and the like, and the Window levels of the application programs are defined as follows: when a user operates a window, the window is switched to the topmost layer. Google adds a window mode in an Android 7.0 system, and the definition of a window level is consistent with that of Windows/macOS, namely when a user operates a window, the window is switched to the topmost layer. However, the default of the window mode of the Android system in the current mobile phone is closed, the default is used, or the window mode of the Android system is a full-screen mode, and the current window mode of the Android system is too single, so that the diversified requirements of users cannot be met.
Disclosure of Invention
In view of the above, the present application provides a method, an apparatus, a device and a storage medium for window level switching.
Specifically, the method is realized through the following technical scheme:
in a first aspect, a method for window level switching is provided, wherein in a window mode, at least two display layers are supported, and the display layers include a non-dedicated display layer, a top-dedicated display layer for displaying a top-mounted window, and a bottom-dedicated display layer for displaying a bottom-mounted window; the method comprises the following steps:
displaying at least two windows by adopting a non-special display layer in a window mode;
determining a target window needing to be displayed at the top or the bottom;
and switching the target window from the non-special display layer to a top-arranged special display layer or a bottom-arranged special display layer so as to display the target window on top or bottom.
Preferably, before the switching the target window from the non-dedicated display layer to the top-dedicated display layer or the bottom-dedicated display layer, the method further includes:
judging whether the top special display layer or the bottom special display layer is established;
and if not, creating the top special display layer or the bottom special display layer.
Preferably, the creating the top-dedicated display layer or the bottom-dedicated display layer includes:
creating a top task stack or a bottom task stack in a window mode;
and setting corresponding task stack identification for the top set task stack or the bottom set task stack.
Preferably, the displaying at least two windows by using the non-dedicated display layer in the window mode includes:
adding the window tasks corresponding to the at least two windows into a window task stack in a window mode;
the switching the target window from the non-dedicated display layer to a top-dedicated display layer or a bottom-dedicated display layer comprises:
and moving the window task of the target window from the window task stack to the top task stack or the bottom task stack.
Preferably, the method further comprises:
and when detecting that the user sets the target window to the top or bottom, moving the window task of the target window from the top task stack or the bottom task stack to the window task stack.
Preferably, the method further comprises:
when a window displayed on the top needs to be displayed on the bottom, switching a corresponding window task in the top task stack to a bottom task stack;
alternatively, the first and second electrodes may be,
and when the window displayed at the bottom needs to be displayed at the top, switching the corresponding window task in the bottom task stack to the top task stack.
Preferably, the top task stack or the bottom task stack includes at least two window tasks, and the at least two window tasks are sequentially arranged in the top task stack or the bottom task stack according to an operation sequence of a user on a corresponding target window.
Preferably, the determining a target window to be displayed at the top or the bottom comprises:
detecting a top placing operation or a bottom placing operation of a user;
and determining the window corresponding to the top setting operation or the bottom setting operation as the target window.
Preferably, the determining a target window to be displayed at the top or the bottom comprises:
acquiring historical operation records of each window;
judging whether the corresponding window needs to be displayed at the top or the bottom according to the historical operation record;
and taking the window needing to be displayed at the top or the bottom as a target window.
Preferably, the determining a target window to be displayed at the top or the bottom comprises:
determining the display size of each window;
and determining a target window according to the display size and a preset layered display rule.
In a second aspect, a window level switching apparatus is provided, in a window mode, supporting at least two display layers, where the display layers include a non-dedicated display layer, a top-dedicated display layer for displaying a top-mounted window, and a bottom-dedicated display layer for displaying a bottom-mounted window; the device comprises:
the window display module is used for displaying at least two windows by adopting a non-special display layer in a window mode;
the target window determining module is used for determining a target window which needs to be displayed at the top or the bottom;
and the window switching module is used for switching the target window from the non-special display layer to a top-setting special display layer or a bottom-setting special display layer so as to display the target window at the top or the bottom.
In a third aspect, an electronic device is provided, including: the touch screen comprises a memory, a display screen with a touch function and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to perform the method of window level switching as described above.
In one embodiment, the electronic device is a smart interactive tablet.
In a fourth aspect, there is provided a storage medium containing computer-executable instructions which, when executed by a computer processor, are operable to perform a method of window level switching as described above.
When at least two application program windows are displayed in a window mode, the at least two windows are firstly displayed in a non-special display layer, and after a target window needing to be displayed at the top or at the bottom is determined, the target window can be switched from the non-special display layer to a special display layer at the top or a special display layer at the bottom for displaying at the top or at the bottom, so that the multi-level display of the application programs is realized on the basis of the window mode, and the target window can be switched among different display layers, and the diversified requirements of users can be met.
Drawings
Fig. 1 is a flowchart of a method for switching window levels according to an embodiment of the present disclosure;
FIG. 2 is a diagram illustrating a full screen mode in window level switching according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a split screen mode in window level switching according to an embodiment of the present disclosure;
fig. 4 is a diagram illustrating a pd mode in window level switching according to an embodiment of the present application;
fig. 5 is a schematic diagram of a window mode in window level switching according to an embodiment of the present application 1;
FIG. 6 is a schematic diagram of a window mode in window level switching according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of a target window displayed in a window mode in a window level switching according to an embodiment of the present application;
fig. 8 is a schematic diagram 1 of a remote conference scenario in window level switching according to an embodiment of the present application;
fig. 9 is a schematic diagram of a remote conference scenario in window level switching according to an embodiment of the present application 2;
FIG. 10 is a schematic diagram illustrating a scenario of teaching a teacher during window level switching according to an embodiment of the present application;
fig. 11 is a flowchart of a window level switching method according to a second embodiment of the present invention;
fig. 12 is a schematic diagram of a top display in a window level switching method according to a second embodiment of the present invention;
fig. 13 is a schematic bottom-up display diagram in a window level switching method according to a second embodiment of the present invention;
fig. 14 is a schematic diagram illustrating window task switching in a method for window level switching according to a second embodiment of the present invention;
fig. 15 is a flowchart of a method for switching window levels according to a third embodiment of the present invention;
fig. 16 is a flowchart of a method for switching window levels according to a fourth embodiment of the present invention;
fig. 17 is a schematic structural diagram of a window level switching apparatus according to a fifth embodiment of the present disclosure;
fig. 18 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present application.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings.
Example one
Fig. 1 is a flowchart of a method for window level switching according to an embodiment of the present disclosure.
The method for switching the window hierarchy provided in this embodiment may be executed by a window hierarchy switching device, where the window hierarchy switching device may be implemented in a software and/or hardware manner, and the window hierarchy switching device may be formed by two or more physical entities, or may be formed by one physical entity. The window level switching device can be part of a computer, a mobile phone, a tablet, a projector or an interactive smart tablet and the like. In an embodiment, the device described by taking the interactive smart tablet as the window level switching device is described as an example, where the interactive smart tablet may be an integrated device that controls content displayed on the display tablet and implements human-computer interaction operations through a touch technology, and integrates one or more functions of an electronic whiteboard, a sound, a television, and the like.
In this embodiment, the interactive smart tablet establishes a data connection with at least one external device. Among these, external devices include, but are not limited to: mobile phones, notebook computers, USB flash disks, tablet computers, desktop computers, and the like. The embodiment of the communication mode of the data connection between the external device and the interactive intelligent tablet is not limited, and the communication mode can be a USB connection mode, an internet mode, a local area network mode, a Bluetooth mode, a Wi-Fi mode or a ZigBee mode and the like.
In the present embodiment, the operating system of the interactive smart tablet may include, but is not limited to, operating systems such as Windows, macOS, and Android, and the present embodiment is described by taking an Android operating system as an example, but it should be understood that the functions according to the following description may be applied to other operating systems except for the functions specifically provided for the Android operating system.
Specifically, referring to fig. 1, a method for switching window levels in an embodiment of the present application specifically includes:
step S110, displaying at least two windows by using the non-dedicated display layer in the window mode.
The window mode is one of the modes displayed by the application program, and besides, the modes displayed by the application program may also include a full-screen mode, a split-screen mode, a picture-in-picture mode, and the like.
For example, the full-screen mode may be as shown in fig. 2, a window displayed in the full-screen mode is displayed as the maximum on the display, and a full-screen mode is used in a general Android system (e.g., an Android mobile phone).
The split screen mode may be, as shown in fig. 3, in which the screen is split into two parts at a ratio of 1:1/1:2/2:1, each part displays one application, and the two applications do not overlap with each other.
Picture-in-Picture (PIP) mode may be as shown in fig. 4, where another small window is displayed on top of a full screen window.
The window mode may be as shown in fig. 5, in which each application is displayed as a separate window, which switches to the topmost layer when the user operates one window, for example, in fig. 5, when the user operates window 3, window 3 switches to the topmost layer, as shown in fig. 6.
In this embodiment, at least two display layers are supported in the window mode, wherein the at least two display layers include a non-dedicated display layer, a top-dedicated display layer for displaying a top-mounted window, and a bottom-dedicated display layer for displaying a bottom-mounted window. Specifically, the windows of at least two applications may be displayed in the window mode, and the at least two windows are first displayed in the non-dedicated display layer when opened. For example, in fig. 5 or 6, window 1, window 2, and window 3 are located in a non-dedicated display layer for display.
It should be noted that the window of the application may include a window of a system application or a window of another non-system application, which is not limited in this embodiment.
And step S120, determining a target window needing to be displayed at the top or the bottom.
In this embodiment, at least two windows displayed in the non-dedicated display layer may be displayed on top or bottom, and the window that needs to be displayed on top or bottom is used as the target window in this embodiment.
In a possible implementation, step S120 may further include the following sub-steps:
and a substep S11 of detecting a set-top operation or a set-bottom operation by the user.
And a substep S12, determining the window corresponding to the top-down operation or the bottom-down operation as the target window.
In this embodiment, the target window is a window in which a user performs a top-down or bottom-down operation on at least two windows displayed in the window mode. In a specific implementation, the present embodiment may provide an interface for displaying a window at the top or at the bottom to a user, and the user triggers the interface to issue a top or bottom operation, so as to display a target window at the top or at the bottom. It should be noted that the interface may specifically be a hardware button or a software icon, which is not limited in this embodiment.
For example, in fig. 5, if the user triggers a set-top operation on window 2, window 2 may be set as the target window.
As another example, fig. 7 exemplarily shows a schematic diagram of a target window displayed in a window mode, the target window includes tools such as a return key "<", "application title", "minimize", "full screen", "close", and more keys "…" in a toolbar, wherein "<" is used for executing a system return button; "application title" refers to the title of a window page; "minimize" means shrink the application to the taskbar, but not end the process; "full screen" means that the window page is displayed full screen; "close" refers to ending the application process; "…" refers to more operations, including screen shots, landscape displays, top or bottom displays, etc. When a user clicks a set top display button, determining that set top operation is detected; and when the user clicks the bottom setting display button, judging that the bottom setting operation is detected.
In another possible embodiment, step S120 may further include the following sub-steps:
substep S21, obtaining the historical operating record of each window;
a substep S22, judging whether the corresponding window needs to be set to the top or the bottom for display according to the historical operation record;
and a substep S23, using the window needing to be displayed at the top or the bottom as the target window.
In this embodiment, whether the window needs to be set top or set bottom may be determined according to the historical operation records of the windows. When the method is implemented, historical operation records of each window can be obtained from the operation logs, and the historical operation records can comprise records of top-setting operations or bottom-setting operations. If it is determined that the window is frequently set to the top or the bottom within a period of time (for example, the number of the top or the bottom within a period of time is greater than a preset number threshold), according to the historical operation records, the window may be determined as a target window requiring the top or the bottom.
For example, in fig. 6, historical operation records of windows 1-3 may be acquired, and if it is determined that the number of times windows 1 are set to the bottom in one week is greater than a set empirical value according to the historical operation records, window 1 may be used as a window that needs to be set to the bottom for display. For another example, if it is determined that the number of times the window 3 is set to the top within one week is greater than the set empirical value according to the historical operation records, the window 3 may be used as the window to be set to the top for display.
According to the embodiment, the operation habits of the user on each window can be combined, the target window needing to be displayed at the top or the bottom can be automatically determined according to the historical operation records of each window, the trouble that the user manually puts the top or the bottom of a certain window is avoided, the efficiency of window level operation is improved, and the user experience is improved.
In yet another possible implementation, step S120 may further include the following sub-steps:
a substep S31 of determining a display size of each window;
and a substep S32 of determining a target window according to the display size and a preset hierarchical display rule.
In this embodiment, whether the current display window needs to be set top or bottom may be determined according to the display size of each window. Illustratively, if the size of the currently displayed window is larger and the sizes of other windows are smaller, the smaller size window may be displayed at the corner of the display screen, that is, the smaller size window is used as the target window to be displayed at the top. For example, as shown in the remote conference scene diagram of fig. 8, on a large-screen device, a "conference video window" and a "conference content presentation window" are opened in a window mode, and since the size of the conference video window is small, the conference video window can be displayed at the top right corner of the display screen. According to the embodiment, the target window needing to be displayed at the top or the bottom can be automatically determined by combining the display sizes of the windows, the trouble that a user manually puts the top or the bottom of a certain window is avoided, the efficiency of window level operation is improved, and the user experience is improved.
It should be noted that, several ways of determining the target window that needs to be displayed at the top or at the bottom are exemplarily described above, but the present embodiment is not limited to the above ways, and the present embodiment may also determine the target window in other ways according to actual requirements.
Step S130, switching the target window from the non-dedicated display layer to a top-dedicated display layer or a bottom-dedicated display layer, so as to display the target window on top or bottom.
In one example, different levels of display layers in the window mode may be displayed in layers, such as a top dedicated display layer at the top of the screen, a bottom dedicated display layer at the bottom of the screen, and a non-dedicated display layer at an intermediate layer between the top dedicated display layer and the bottom dedicated display layer.
When a window of an application program is opened in the window mode, the window of the application program can be firstly displayed on the non-dedicated display layer, then whether each window needs to be displayed at the top or the bottom is judged, and the window needing to be displayed at the top or the bottom is switched to the dedicated display layer at the top or the dedicated display layer at the bottom for displaying.
In one example, assuming that it is determined that a window of an application needs to be fixed at the topmost layer, the window of the application is not covered by other windows when operating the other windows. For example, as shown in the schematic view of a teleconference scene shown in fig. 8, on a large-screen device, a user opens a "conference video window" and a "conference content display window" in a window mode, the "conference video window" and the "conference content display window" are first displayed on a non-dedicated display layer, and if it is detected that the "conference video window" is displayed on top by the user, the "conference video window" can be switched from the non-device display layer to a top-dedicated display layer as a target window for display, as shown in fig. 9, so that the user can also see a video of a teleconference when writing a conference record later.
In another example, assuming that multiple application windows are currently open at the same time, if it is determined that a certain window needs to be fixed at the bottom layer, other application windows are not covered when the window is operated. For example, as shown in the schematic diagram of a teacher teaching scene shown in fig. 10, on a large-screen device, a "draft content window", a "teaching PPT window", and a "calculator window" are opened in a window mode, so that the teacher can temporarily write some contents of the calculation draft on the basis of normally displaying the PPT of teaching and the tool calculator used for teaching. The "draft content window", "teaching PPT window" and "calculator window" are first displayed on the non-dedicated display layer, and if it is detected that the user has set the "draft content window" for background display, the "draft content window" can be switched from the non-dedicated display layer to the set-dedicated display layer for display as a target window.
Of course, if the user wants the "calculator window" to be displayed on the topmost layer all the time, the "calculator window" may be switched from the non-dedicated display layer to the top-dedicated display layer for display.
It should be noted that the display layer is a logical concept, and actually, the user is not aware of the hierarchy of the display layer, and the user sees a relatively intuitive display of the window hierarchy.
According to the technical scheme provided by the embodiment of the application, when at least two application program windows are displayed in the window mode, the at least two windows are firstly displayed in the non-special display layer, and after the target window needing to be displayed in a top or bottom mode is determined, the target window can be switched from the non-special display layer to the special display layer for the top or bottom mode for display, so that multi-level display of the application programs is realized on the basis of the window mode, the target window can be switched among different display layers, and the diversified requirements of users can be met.
Example two
Fig. 11 is a flowchart of a window level switching method according to a second embodiment of the present invention. The present embodiment is described in more detail based on the first embodiment, and referring to fig. 11, the method for switching window levels provided in the present embodiment specifically includes:
step S210, displaying at least two windows by using the non-dedicated display layer in the window mode.
In a possible implementation, step S210 may further include the following sub-steps:
and adding the window tasks corresponding to the at least two windows into a window task stack in a window mode.
The window task Stack is a task Stack in a window mode.
Specifically, the task Stack corresponds to a tasksack class in a WindowManagerService (WMS for short), and corresponds to an ActivityStack class if the tasksack class is in the ActivityManagerService. The Task Stack is used for managing the Task of the window, and a plurality of tasks are contained in one Stack. And a Task refers to a series of related ordered Activity sets for completing a function, which can be understood as a session between the user and the App for a specific function, and in this embodiment, a window Task corresponds to a window page. In implementation, an application may specify in an android manifest xml file which Task the current Activity runs in via android launchMode.
In the Android system, the following static task Stack is defined, which respectively is:
(1) the desktop Stack, Stack id ═ 0, the Stack has only one Task, that is, only one application, which is the system desktop.
(2) Full screen mode Stack, Stack id 1, which is used to accommodate all the tasks displayed full screen.
(3) The window mode Stack, Stack id 2, is used to accommodate all tasks displayed in a window.
(4) And the split screen mode Stack, which is 3, is used for accommodating the tasks of all split screen displays.
(5) Pip mode Stack, Stack id 4, which is used to accommodate the Task of the pip display.
(6) Stack was recently applied, Stack id 5, for the last opened Task used.
In this embodiment, the window task Stack is a Stack of a window mode having a Stack id of 2.
In this embodiment, at least two windows are displayed by using the non-dedicated display layer in the window mode, and the window tasks of the at least two windows may be placed in the same window Task stack, that is, one display layer corresponds to one Task stack, and one window corresponds to one window Task.
In the embodiment of the application, the window task corresponding to the window is added to the window task stack with the window mode StackId being 2 by default, so that the default opening of the window mode is realized, and the requirement of a user for displaying an application program window in the window mode can be met.
Step S220, judging whether the special top display layer or the special bottom display layer is established; if yes, go to step S240; if not, go to step S230.
As an example, the top-specific display layer may correspond to a top task stack and the bottom-specific display layer may correspond to a bottom task stack.
Specifically, this embodiment may define that the StackId of the set top Task stack is 6, which is used to accommodate the Task of the window displayed at the top layer; defining the StackId of the bottom Task stack as 7, and the Task of the window used for accommodating the bottom display.
In one embodiment, whether the top task stack or the bottom task stack is created may be determined by looking up whether the StackId of the top task stack or the bottom task stack exists. Specifically, assuming that the system defines that the StackId of the top task stack is 6 and the StackId of the bottom task stack is 7, the system may search for a task stack with StackId of 6 or StackId of 7 from the stackids of all created task stacks, and if a task stack with StackId of 6 is found, it indicates that the top task stack is created, that is, the top-dedicated display layer is created. If the task stack with the StackId being 7 is found, the bottom-set task stack is already created, that is, the bottom-set dedicated display layer is already created. Otherwise, if the task stack with the StackId of 6 or 7 is not found, it indicates that the top-dedicated display layer or the bottom-dedicated display layer is not created yet.
Step S230, creating the top dedicated display layer or the bottom dedicated display layer, and continuing to execute step S240.
In a preferred embodiment of the present application, the step S230 further includes the following sub-steps:
creating a top task stack or a bottom task stack in a window mode; and setting corresponding task stack identification for the top task stack or the bottom task stack.
In a specific implementation, the dedicated display layer may be created by creating a target task Stack of the dedicated display layer, and meanwhile, a task Stack identifier for identifying a top or a bottom needs to be set for the created target task Stack.
For example, a set top task stack in the window mode is created, and a task stack identifier StackId is set to 6 for the set top task stack; and creating a bottom task stack in the window mode, and setting a task stack identifier (StackId) 7 for the bottom task stack.
In this embodiment, one way to create the task Stack may be to create the task Stack by creating an interface for a task Stack provided by the calling system.
Step S240, switching the target window from the non-dedicated display layer to a top-dedicated display layer or a bottom-dedicated display layer, so as to display the target window on top or bottom.
In a preferred embodiment of the present application, the step S240 further includes the following sub-steps:
and moving the window task of the target window from the window task stack to the top task stack or the bottom task stack.
In one example, when it is determined that a certain window is a target window that needs to be top-displayed, the window task of the target window may be moved from the window task stack to the tail of the top task stack. For example, for the example of fig. 8 in the first embodiment, the process of setting up the conference video window may include the following steps:
1. a user starts a 'conference video window' and a 'conference content display window' in a window mode, and the corresponding 'conference video window Task' and the corresponding 'conference content display window Task' are added to a window Task stack with the StackId being 2 in a default mode;
2. when the user marks the 'conference video window' as the topmost layer, the 'conference video window Task' is moved from the window Task stack to the tail of the set-top Task stack with the stack id being 6, so that the conference video window is displayed in the set-top display layer.
In another example, when it is determined that a certain window is a target window that needs to be displayed at the bottom, the window task of the target window may be moved from the window task stack to the tail of the bottom task stack. For example, for the example of fig. 10 in the first embodiment, the process of setting up the draft content window may include the following steps:
1. the user opens a draft content window, a teaching PPT window and a calculator window in a window mode, and the draft content window Task, the teaching PPT window Task and the calculator window Task are added to a window Task stack with the StackId being 2 by default;
2. when the user marks the "draft content window" as the bottom-most layer, then the "draft content window Task" is moved from the window Task stack to the end of the bottom-placed Task stack with a StackId of 7.
Of course, if the user wants the "calculator window" to be displayed at the topmost layer all the time, the "calculator window Task" may be moved from the window Task stack to the end of the set top Task stack with the StackId of 6.
After the window level of each window is determined, when the operating system switches to the window mode, a window of the bottoming dedicated display layer, that is, a window corresponding to a window task in a bottoming task stack (StackId ═ 7), may be rendered first; rendering windows of the non-dedicated display layer, namely windows corresponding to window tasks in a window task stack (StackId ═ 2); and finally, rendering the window of the top-dedicated display layer, namely the window corresponding to the window task in the top task stack (StackId ═ 6), so as to realize the display of the windows of different levels.
In this embodiment, each task stack may include at least two window tasks, and the at least two window tasks are sequentially arranged in the task stack according to an operation order of the user on the corresponding target window.
Specifically, this embodiment may allow windows of multiple applications to be placed on different display layers, that is, each task stack may include multiple window tasks. For example, for the example of fig. 8 in the first embodiment, assuming that the user further records the daily/weekly agenda using the note and sets the note window to be displayed at the top, the note window Task may also be added to the set-top Task Stack to display the note window on the set-top dedicated display layer, as shown in fig. 12, which functions to remind the user in real time. For another example, for the example of fig. 10 in the first embodiment, the user needs to play audio during teaching, but the user does not need to display the entire audio playing window on the upper layer, and if the audio playing window is displayed on the upper layer, the teaching content is blocked. At this time, the audio playing window can be displayed at the bottom, as shown in fig. 13, and the audio playing window Task can also be added to the bottom Task Stack. In this case, multiple window tasks may be included in the underlying task stack.
For a task stack containing a plurality of window tasks, according to the operation sequence of a user on a target window, a window task corresponding to the target window operated by the user most recently can be placed at the tail of the task stack, so that the target window operated most recently is displayed on target windows corresponding to other window tasks in the task stack.
For example, as shown in fig. 14, it is assumed that a Task Stack includes four window tasks of Task1-Task4, the target window of the current operation is the window corresponding to Task4, and when the window corresponding to Task2 is switched to, Task2 is taken out and replaced to the topmost position of Stack (i.e., the tail of Stack).
According to the technical scheme provided by the embodiment of the application, the top task stack and the bottom task stack are task stacks in the window mode created by the embodiment, the display layers in different levels are created by adding the top task stack and the bottom task stack based on the window mode, the window levels in the window mode can be enriched, the application program can be displayed in the window mode in a layered mode, and the diversified requirements of a user are met.
EXAMPLE III
Fig. 15 is a flowchart of a window level switching method according to a third embodiment of the present invention. In this embodiment, a process of canceling top-up or bottom-down of a window is described on the basis of the second embodiment, and with reference to fig. 15, the method for switching window levels provided in this embodiment specifically includes:
step S310, adding the window tasks corresponding to the at least two windows into the window task stack in the window mode.
Step S320, determining a target window to be displayed at the top or the bottom. .
Step S330, judging whether the special top display layer or the special bottom display layer is established; and if not, creating the top special display layer or the bottom special display layer.
Step S340, moving the window task of the target window from the window task stack to the top task stack or the bottom task stack.
Step S350, when it is detected that the user sets the target window to the top or sets the target window to the bottom, the window task of the target window is moved from the top task stack or the bottom task stack to the window task stack.
This embodiment also supports the elimination of the window to the top or bottom. For example, for the interface in which the window is displayed at the top or at the bottom as mentioned in the first embodiment, the corresponding interface type may be updated according to the operation of the user. For example, when a user clicks on the top-display interface of a window, the interface type of the interface may change to a button to cancel the top-display. When a user clicks the bottom display interface of a certain window, the interface type of the interface can be changed into a button for canceling the bottom display. When the user triggers the button for canceling the top display or the button for canceling the bottom display, it may be determined that the operation of canceling the top display or the operation of canceling the bottom display is detected.
In one example, when a user issues an operation to cancel the top-set of the target window, the window task of the target window may be moved from the top-set task stack to the tail of the window task stack. When the user sends out the operation of canceling the bottom setting of the target window, the window task of the target window can be moved from the bottom setting task stack to the tail part of the window task stack.
According to the technical scheme provided by the embodiment of the application, a user can move the window task of the target window from the top task stack or the bottom task stack to the window task stack by sending out the operation of canceling the top setting or the bottom setting of the target window, so that the flexibility of window level switching is increased, and the requirements of the user on more diversification are met.
Example four
Fig. 16 is a flowchart of a window level switching method according to a fourth embodiment of the present invention. In this embodiment, a specific process of window level switching is described on the basis of the second embodiment, and with reference to fig. 16, the method for window level switching provided in this embodiment specifically includes:
step S410, adding the window tasks corresponding to the at least two windows into the window task stack in the window mode.
Step S420, determine the target window that needs to be displayed at the top or the bottom.
Step S430, judging whether the special top display layer or the special bottom display layer is established; and if not, creating the top special display layer or the bottom special display layer.
Step S440, moving the window task of the target window from the window task stack to the top task stack or the bottom task stack.
Step S450, when the window displayed on the top needs to be displayed on the bottom, the corresponding window task in the task stack on the top is switched to the task stack on the bottom; or when the window displayed at the bottom needs to be displayed at the top, switching the corresponding window task in the bottom task stack to the top task stack.
The present embodiment may support switching of window tasks from one task stack to another task stack in the window mode.
In one embodiment, a user may switch a target window of a top-up display to a bottom-up display, at which point the window tasks of the target window are pulled from the top-up task stack and placed at the end of the bottom-up task stack. In another embodiment, the user may also switch the target window of the bottom-set display to the top-set display, and at this time, the window task of the target window is extracted from the bottom-set task stack and placed at the tail of the top-set task stack. And the requirements of more diversification of users can be met by switching the window levels in the window mode.
The following is an exemplary description of the overall process of the technical solution provided in the present embodiment, but it should be understood that the following examples should not be construed as limiting the technical solution of the present application:
1. the system starts, creates HOME _ STACK (id: 0) by default, and starts the desktop Task, which will be placed in HOME _ STACK. There is one and only one Task inside the HOME _ STACK.
2. When the user operates the desktop program, a certain application program is selected to be opened.
3. Before the Task of the application program is started, whether a window Task Stack (id: 2) is created or not is judged, if the window Task Stack is not created at the moment, the window Task Stack is created, and if the window Task Stack is created, the original window Task Stack is reused.
4. The application Task is placed on the window Task Stack in window mode.
When the user opens multiple application tasks, the steps 2-4 are repeated.
5. And fixing the target window which is displayed on the non-special display layer corresponding to the window task Stack by the user to the top special display layer/the bottom special display layer.
6. The system judges whether a top set task stack/a bottom set task stack is established or not before moving a target window to a top set special display layer/a bottom set special display layer, if the top set task stack/the bottom set task stack is not established at the moment, the top set task stack/the bottom set task stack is established, and if the top set task stack/the bottom set task stack is established, the original top set task stack/the bottom set task stack is reused.
7. The application Task will move from the window Task stack to the end of the top/bottom Task stack.
8. If the user closes the application, the Task is removed from the Stack.
It should be understood that although the various steps in the flowcharts of fig. 1-16 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-16 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
EXAMPLE five
Fig. 17 is a schematic structural diagram of a window level switching device according to a fifth embodiment of the present disclosure. Referring to fig. 17, the window level switching apparatus provided in this embodiment specifically includes: a window display module 510, a target window determination module 520, and a first window switching module 530; wherein:
a window displaying module 510, configured to display at least two windows using the non-dedicated display layer in the window mode.
The display layer comprises a non-special display layer, a top special display layer for displaying a top window and a bottom special display layer for displaying a bottom window;
and a target window determining module 520, configured to determine a target window to be displayed at the top or at the bottom.
A first window switching module 530, configured to switch the target window from the non-dedicated display layer to a top-dedicated display layer or a bottom-dedicated display layer, so as to display the target window on top or bottom.
According to the technical scheme provided by the embodiment of the application, when at least two application program windows are displayed in the window mode, the at least two windows are firstly displayed in the non-special display layer, and after the target window needing to be displayed in a top or bottom mode is determined, the target window can be switched from the non-special display layer to the special display layer for the top or bottom mode for display, so that multi-level display of the application programs is realized on the basis of the window mode, the target window can be switched among different display layers, and the diversified requirements of users can be met.
On the basis of the above embodiment, the apparatus may further include the following modules:
a display layer determining module, configured to determine whether the top dedicated display layer or the bottom dedicated display layer is created before the target window is switched from the non-dedicated display layer to the top dedicated display layer or the bottom dedicated display layer; if not, calling a display layer creation module;
and the display layer creating module is used for creating the top special display layer or the bottom special display layer.
On the basis of the above embodiment, the display layer creation module may further include the following sub-modules:
and the task stack creating submodule is used for creating a top task stack or a bottom task stack in a window mode and setting a corresponding task stack identifier for the top task stack or the bottom task stack.
On the basis of the foregoing embodiment, the window display module 510 is specifically configured to:
adding the window tasks corresponding to the at least two windows into a window task stack in a window mode;
the first window switching module 530 may further include the following sub-modules:
and the window task switching submodule is used for moving the window task of the target window from the window task stack to the top task stack or the bottom task stack.
On the basis of the above embodiment, the above apparatus further includes the following modules:
and the instruction canceling module is used for moving the window task of the target window from the top task stack or the bottom task stack to the window task stack when detecting that the user cancels the top setting or the bottom setting of the target window.
On the basis of the foregoing embodiment, the apparatus further includes a second window switching module, configured to:
when a window displayed on the top needs to be displayed on the bottom, switching a corresponding window task in the top task stack to a bottom task stack;
alternatively, the first and second electrodes may be,
and when the window displayed at the bottom needs to be displayed at the top, switching the corresponding window task in the bottom task stack to the top task stack.
On the basis of the above embodiment, the top task stack or the bottom task stack includes at least two window tasks, and the at least two window tasks are sequentially arranged in the top task stack or the bottom task stack according to an operation order of a user on a corresponding target window.
On the basis of the foregoing embodiment, the target window determining module 520 is specifically configured to:
detecting a top placing operation or a bottom placing operation of a user;
and determining the window corresponding to the top setting operation or the bottom setting operation as the target window.
On the basis of the foregoing embodiment, the target window determining module 520 is specifically configured to:
acquiring historical operation records of each window;
judging whether the corresponding window needs to be displayed at the top or the bottom according to the historical operation record;
and taking the window needing to be displayed at the top or the bottom as a target window.
On the basis of the foregoing embodiment, the target window determining module 520 is specifically configured to:
determining the display size of each window;
and determining a target window according to the display size and a preset layered display rule.
The window level switching device provided by the above can be used for executing the window level switching method provided by any of the above embodiments, and has corresponding functions and advantages.
For the specific definition of the window level switching device, reference may be made to the above definition of the window level switching method, which is not described herein again. The modules in the window level switching device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
EXAMPLE six
Fig. 18 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present application. As shown in the figure, the electronic device includes: a processor 60, a memory 61, a display 62 with touch functionality, an input device 63, an output device 64 and a communication device 65. The number of the processors 60 in the electronic device may be one or more, and one processor 60 is illustrated as an example. The number of the memories 61 in the electronic device may be one or more, and one memory 61 is taken as an example in the figure. The processor 60, the memory 61, the display 62, the input device 63, the output device 64, and the communication device 65 of the electronic apparatus may be connected by a bus or other means, and the bus connection is taken as an example in the figure. In an embodiment, the electronic device may be a computer, a mobile phone, a tablet, a projector, or an interactive smart tablet. In the embodiment, an electronic device is taken as an example of an interactive smart tablet to describe.
The memory 61 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for window level switching according to any embodiment of the present application. The memory 61 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 61 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 61 may further include memory located remotely from the processor 60, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The display screen 62 is a display screen 62 with a touch function, which may be a capacitive screen, an electromagnetic screen, or an infrared screen. In general, the display screen 62 is used for displaying data according to instructions from the processor 60, and is also used for receiving touch operations applied to the display screen 62 and sending corresponding signals to the processor 60 or other devices. Optionally, when the display screen 62 is an infrared screen, the display screen further includes an infrared touch frame, and the infrared touch frame is disposed around the display screen 62, and may also be configured to receive an infrared signal and send the infrared signal to the processor 60 or other devices. The display screen 62 may be windowed via a windowed mode in which at least two display layers are supported, including a non-dedicated display layer, a top-dedicated display layer for displaying a top-mounted window, and a bottom-dedicated display layer for displaying a bottom-mounted window.
The communication device 65 is used for establishing a communication connection with other devices, and may be a wired communication device and/or a wireless communication device.
The input device 63 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the xxx equipment, as well as a camera for acquiring images and a sound pickup device for acquiring audio data. The output device 64 may include an audio device such as a speaker. It should be noted that the specific composition of the input device 63 and the output device 64 can be set according to actual conditions.
The processor 60 executes various functional applications of the device and data processing, i.e., the above-described window level switching method, by executing software programs, instructions, and modules stored in the memory 61.
Specifically, in the embodiment, when the processor 60 executes one or more programs stored in the memory 61, the following operations are specifically implemented:
displaying at least two windows by adopting a non-special display layer in a window mode;
determining a target window needing to be displayed at the top or the bottom;
and switching the target window from the non-special display layer to a top-arranged special display layer or a bottom-arranged special display layer so as to display the target window on top or bottom.
On the basis of the above embodiment, the one or more processors 60 further implement the following operations:
judging whether the top special display layer or the bottom special display layer is established;
and if not, creating the top special display layer or the bottom special display layer.
On the basis of the above embodiment, the one or more processors 60 further implement the following operations:
creating a top task stack or a bottom task stack in a window mode;
and setting corresponding task stack identification for the top set task stack or the bottom set task stack.
On the basis of the above embodiment, the one or more processors 60 further implement the following operations:
adding the window tasks corresponding to the at least two windows into a window task stack in a window mode;
the switching the target window from the non-dedicated display layer to a top-dedicated display layer or a bottom-dedicated display layer comprises:
and moving the window task of the target window from the window task stack to the top task stack or the bottom task stack.
On the basis of the above embodiment, the one or more processors 60 further implement the following operations:
and when detecting that the user sets the target window to the top or bottom, moving the window task of the target window from the top task stack or the bottom task stack to the window task stack.
On the basis of the above embodiment, the one or more processors 60 further implement the following operations:
when a window displayed on the top needs to be displayed on the bottom, switching a corresponding window task in the top task stack to a bottom task stack;
alternatively, the first and second electrodes may be,
and when the window displayed at the bottom needs to be displayed at the top, switching the corresponding window task in the bottom task stack to the top task stack.
On the basis of the above embodiment, the top task stack or the bottom task stack includes at least two window tasks, and the at least two window tasks are sequentially arranged in the top task stack or the bottom task stack according to an operation order of a user on a corresponding target window.
On the basis of the above embodiment, the one or more processors 60 further implement the following operations:
detecting a top placing operation or a bottom placing operation of a user;
and determining the window corresponding to the top setting operation or the bottom setting operation as the target window.
On the basis of the above embodiment, the one or more processors 60 further implement the following operations:
acquiring historical operation records of each window;
judging whether the corresponding window needs to be displayed at the top or the bottom according to the historical operation record;
and taking the window needing to be displayed at the top or the bottom as a target window.
On the basis of the above embodiment, the one or more processors 60 further implement the following operations:
determining the display size of each window;
and determining a target window according to the display size and a preset layered display rule.
EXAMPLE seven
A seventh embodiment of the present application further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method for window level switching, comprising:
displaying at least two windows by adopting a non-special display layer in a window mode;
determining a target window needing to be displayed at the top or the bottom;
and switching the target window from the non-special display layer to a top-arranged special display layer or a bottom-arranged special display layer so as to display the target window on top or bottom.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations of window level switching described above, and may also perform related operations in the method of window level switching provided in any embodiments of the present application, and have corresponding functions and advantages.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (13)

1. The method for window level switching is characterized in that at least two display layers are supported in a window mode, wherein the display layers comprise a non-special display layer, a top special display layer for displaying a top window and a bottom special display layer for displaying a bottom window; the non-dedicated display layer corresponds to a window task stack in a window mode, the top-set dedicated display layer corresponds to a top-set task stack in the window mode, and the bottom-set dedicated display layer corresponds to a bottom-set task stack in the window mode; the method comprises the following steps:
displaying at least two windows by adopting a non-dedicated display layer in a window mode, wherein window tasks corresponding to the at least two windows are added into a window task stack in the window mode;
determining a target window needing to be displayed at the top or the bottom;
and switching the target window from the non-special display layer to a top-setting special display layer or a bottom-setting special display layer to display the target window at the top or the bottom, wherein the window task of the target window is moved from the window task stack to the top-setting task stack or the bottom-setting task stack.
2. The method of claim 1, further comprising, prior to said switching said target window from said non-private display layer to a top-private display layer or a bottom-private display layer:
judging whether the top special display layer or the bottom special display layer is established;
and if not, creating the top special display layer or the bottom special display layer.
3. The method of claim 2, wherein creating the top-only or bottom-only display layer comprises:
creating a top task stack or a bottom task stack in a window mode;
and setting corresponding task stack identification for the top set task stack or the bottom set task stack.
4. The method of claim 1, further comprising:
and when detecting that the user sets the target window to the top or bottom, moving the window task of the target window from the top task stack or the bottom task stack to the window task stack.
5. The method of claim 1 or 4, further comprising:
when a window displayed on the top needs to be displayed on the bottom, switching a corresponding window task in the top task stack to a bottom task stack;
alternatively, the first and second electrodes may be,
and when the window displayed at the bottom needs to be displayed at the top, switching the corresponding window task in the bottom task stack to the top task stack.
6. The method according to any one of claims 3 to 4, wherein the top task stack or the bottom task stack comprises at least two window tasks, and the at least two window tasks are sequentially arranged in the top task stack or the bottom task stack according to an operation order of a user on a corresponding target window.
7. The method of claim 1, wherein determining the target window that needs to be displayed top or bottom comprises:
detecting a top placing operation or a bottom placing operation of a user;
and determining the window corresponding to the top setting operation or the bottom setting operation as the target window.
8. The method of claim 1, wherein determining the target window that needs to be displayed top or bottom comprises:
acquiring historical operation records of each window;
judging whether the corresponding window needs to be displayed at the top or the bottom according to the historical operation record;
and taking the window needing to be displayed at the top or the bottom as a target window.
9. The method of claim 1, wherein determining the target window that needs to be displayed top or bottom comprises:
determining the display size of each window;
and determining a target window according to the display size and a preset layered display rule.
10. A window level switching device is characterized in that at least two display layers are supported in a window mode, wherein the display layers comprise a non-special display layer, a top special display layer for displaying a top window and a bottom special display layer for displaying a bottom window; the non-dedicated display layer corresponds to a window task stack in a window mode, the top-set dedicated display layer corresponds to a top-set task stack in the window mode, and the bottom-set dedicated display layer corresponds to a bottom-set task stack in the window mode; the device comprises:
the window display module is used for displaying at least two windows by adopting a non-special display layer in a window mode, and comprises the steps of adding window tasks corresponding to the at least two windows into a window task stack in the window mode;
the target window determining module is used for determining a target window which needs to be displayed at the top or the bottom;
and the window switching module is used for switching the target window from the non-special display layer to a top-setting special display layer or a bottom-setting special display layer so as to display the target window at the top or the bottom, and the window switching module is used for moving the window task of the target window from the window task stack to the top-setting task stack or the bottom-setting task stack.
11. An electronic device, comprising: the touch screen comprises a memory, a display screen with a touch function and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to perform the method of window hierarchy switching as recited in any of claims 1-9.
12. The electronic device of claim 11, wherein the electronic device is a smart interactive tablet.
13. A storage medium containing computer-executable instructions for performing the method of window hierarchy switching of any of claims 1-9 when executed by a computer processor.
CN201910511353.0A 2019-06-13 2019-06-13 Window hierarchy switching method, device, equipment and storage medium Active CN110286978B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910511353.0A CN110286978B (en) 2019-06-13 2019-06-13 Window hierarchy switching method, device, equipment and storage medium
PCT/CN2020/095594 WO2020249044A1 (en) 2019-06-13 2020-06-11 Method for window-level switching, device, equipment, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910511353.0A CN110286978B (en) 2019-06-13 2019-06-13 Window hierarchy switching method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110286978A CN110286978A (en) 2019-09-27
CN110286978B true CN110286978B (en) 2021-08-10

Family

ID=68003886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910511353.0A Active CN110286978B (en) 2019-06-13 2019-06-13 Window hierarchy switching method, device, equipment and storage medium

Country Status (2)

Country Link
CN (1) CN110286978B (en)
WO (1) WO2020249044A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA3095325A1 (en) * 2018-03-28 2019-10-03 Huawei Technologies Co., Ltd. Video preview method and electronic device
CN110286978B (en) * 2019-06-13 2021-08-10 广州视源电子科技股份有限公司 Window hierarchy switching method, device, equipment and storage medium
CN110928459B (en) * 2019-10-09 2021-07-23 广州视源电子科技股份有限公司 Writing operation method, device, equipment and storage medium of intelligent interactive tablet
CN110955480B (en) * 2019-11-20 2024-02-23 北京金山猎豹科技有限公司 View display method and device
CN111191164B (en) * 2019-11-29 2023-08-22 泰康保险集团股份有限公司 Window display control method and device
CN112363783B (en) * 2020-10-26 2022-04-08 广州视源电子科技股份有限公司 Window switching method, device, medium and interactive panel
CN112783414A (en) * 2021-01-06 2021-05-11 广州朗国电子科技有限公司 Method, device and storage medium for annotating notes based on electronic whiteboard
CN114168019A (en) * 2021-12-09 2022-03-11 创盛视联数码科技(北京)有限公司 Multi-application window level management method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102076115A (en) * 2009-11-20 2011-05-25 上海亿动信息技术有限公司 Control method and device for releasing advertising information in mobile terminal
CN103246430A (en) * 2013-04-24 2013-08-14 深圳市同洲电子股份有限公司 Terminal and method for managing multiple windows
CN103780963A (en) * 2012-10-19 2014-05-07 瑞轩科技股份有限公司 Display controlling method
CN105491452A (en) * 2015-11-25 2016-04-13 浙江宇视科技有限公司 Multi-video-window hierarchy switching method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8997017B2 (en) * 2011-10-21 2015-03-31 International Business Machines Corporation Controlling interactions via overlaid windows
CN103309555B (en) * 2012-10-31 2016-08-03 中兴通讯股份有限公司 The method and device of focus based on multiwindow switching
CN104202647A (en) * 2014-08-08 2014-12-10 深圳市同洲电子股份有限公司 Display method and device of window
CN104951185B (en) * 2015-06-09 2018-04-27 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN109151581A (en) * 2018-07-26 2019-01-04 北京奇艺世纪科技有限公司 A kind of data output method and device
CN109558189A (en) * 2018-10-25 2019-04-02 深圳点猫科技有限公司 A kind of program window top set display methods and education notebook
CN110286978B (en) * 2019-06-13 2021-08-10 广州视源电子科技股份有限公司 Window hierarchy switching method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102076115A (en) * 2009-11-20 2011-05-25 上海亿动信息技术有限公司 Control method and device for releasing advertising information in mobile terminal
CN103780963A (en) * 2012-10-19 2014-05-07 瑞轩科技股份有限公司 Display controlling method
CN103246430A (en) * 2013-04-24 2013-08-14 深圳市同洲电子股份有限公司 Terminal and method for managing multiple windows
CN105491452A (en) * 2015-11-25 2016-04-13 浙江宇视科技有限公司 Multi-video-window hierarchy switching method and device

Also Published As

Publication number Publication date
CN110286978A (en) 2019-09-27
WO2020249044A1 (en) 2020-12-17

Similar Documents

Publication Publication Date Title
CN110286978B (en) Window hierarchy switching method, device, equipment and storage medium
CN109164964B (en) Content sharing method and device, terminal and storage medium
CN110515510B (en) Data processing method, device, equipment and storage medium
EP3567476B1 (en) Application data processing method and apparatus, and storage medium
CN101770399B (en) Electronic equipment, method and device for switching operating system desktop
US11816305B2 (en) Interface display method and apparatus, and storage medium
KR101851612B1 (en) Text input method, device, program and recording medium
US20120289290A1 (en) Transferring objects between application windows displayed on mobile terminal
CN105893136B (en) Multitask management method and device
EP2375685A2 (en) Method of and system for providing application store service
CN105573744A (en) Application list ordering method, application list ordering device and terminal equipment
KR20170048441A (en) Method and apparatus for managing background application
EP3842941A1 (en) A sidebar interaction method, device, and computer-readable storage medium
WO2017156983A1 (en) List callup method and device
CN103324436A (en) Task processing method and device
US9733897B2 (en) Method and apparatus of searching content
TW201826109A (en) Method and apparatus for page presentation
CN106919334A (en) Application program access method and device
WO2022242515A1 (en) Interface display method and apparatus
CN114779977A (en) Interface display method and device, electronic equipment and storage medium
US8166167B2 (en) System and method for providing customized rendering of content
CN111479079A (en) UI list operation method and device, smart screen and readable storage medium
CN114518822A (en) Application icon management method and device and electronic equipment
WO2021219002A1 (en) Display device
CN110007833A (en) A kind of intelligence programming implementation method and device realized terminal screen and roll screenshot

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant