WO2020248547A1 - Window minimization method and apparatus, storage medium, and interactive intelligent panel - Google Patents

Window minimization method and apparatus, storage medium, and interactive intelligent panel Download PDF

Info

Publication number
WO2020248547A1
WO2020248547A1 PCT/CN2019/124815 CN2019124815W WO2020248547A1 WO 2020248547 A1 WO2020248547 A1 WO 2020248547A1 CN 2019124815 W CN2019124815 W CN 2019124815W WO 2020248547 A1 WO2020248547 A1 WO 2020248547A1
Authority
WO
WIPO (PCT)
Prior art keywords
stack
window
temporary
target
identification number
Prior art date
Application number
PCT/CN2019/124815
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 WO2020248547A1 publication Critical patent/WO2020248547A1/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
    • 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

Definitions

  • the present disclosure relates to the field of computer technology, for example, to a window minimization method, device, storage medium, and interactive smart tablet.
  • the system provides operation options such as reduced display, full-screen display, and minimized for the application interface.
  • the minimized window will be displayed in the desktop taskbar in the form of an entry or application logo. If there are multiple entries in the desktop taskbar, the minimized window will be displayed in the existing entry Behind.
  • the function of minimizing the window has been implemented in the WINDOWS system, while for the Android system, there is no solution for minimizing the window.
  • the embodiments of the present application provide a window minimization method, device, storage medium, and interactive smart tablet, which can minimize application windows in the Android system.
  • the technical solution is as follows:
  • an embodiment of the present application provides a window minimization method, and the method includes:
  • the method further includes:
  • the obtaining a temporary window stack includes:
  • Search for a target stack identification number larger than a preset number in the at least one stack identification number use the window stack indicated by the target stack identification number as a temporary window stack, and start the temporary window stack.
  • the searching for a target stack identification number greater than a preset number in the at least one stack identification number includes:
  • the obtaining a temporary window stack includes:
  • the adding the target window to the temporary window stack includes:
  • the adjusting the temporary window stack with the target window added to the bottommost layer of the window stack set includes:
  • the sequence of inputting minimization instructions for the multiple target windows is acquired, and the at least one temporary stack is adjusted to the lowest level of the window stack set according to the sequence.
  • the obtaining a temporary window stack includes:
  • an embodiment of the present application provides a window minimizing device, the device including:
  • Temporary stack acquisition module used to receive the minimization instruction input for the target window on the display screen, and acquire the temporary window stack
  • a window adding module configured to add the target window to the temporary window stack
  • the temporary stack adjustment module is used to obtain the currently activated window stack set, and adjust the temporary window stack to which the target window is added to the bottom of the window stack set.
  • the device further includes:
  • the window stack hiding module is used to hide the temporary window stack to which the target window is added.
  • the temporary stack acquisition module includes:
  • the number obtaining unit is used to obtain at least one stored stack identification number
  • a temporary stack activation unit configured to search for a target stack identification number greater than a preset number among the at least one stack identification number, use the window stack indicated by the target stack identification number as a temporary window stack, and start the temporary window stack .
  • the temporary stack activation unit is specifically used for:
  • the temporary stack acquisition module is specifically used for:
  • the window adding module is specifically used for:
  • the temporary stack adjustment module is specifically used for:
  • the sequence of inputting minimization instructions for the multiple target windows is acquired, and the at least one temporary stack is adjusted to the lowest level of the window stack set according to the sequence.
  • the temporary stack acquisition module is specifically used for:
  • an embodiment of the present application provides a computer storage medium that stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above method steps.
  • an embodiment of the present application provides an interactive smart tablet, which may include: a processor and a memory; wherein the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the above method step.
  • the solution of the embodiment of the present application When the solution of the embodiment of the present application is executed, it receives the minimization instruction input for the target window on the display screen, obtains the temporary window stack; adds the target window to the temporary window stack; obtains the currently activated window stack set , Adjusting the temporary window stack to which the target window is added to the bottommost layer of the window stack set.
  • the target window can be stored through the defined temporary window stack, and the temporary window stack can be adjusted to the lowest layer of all window stacks, so that the function of minimizing application windows in the Android system can be realized.
  • FIG. 1 is a schematic diagram of an implementation scenario provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of an interface displayed in a window mode of an application provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of an interface for displaying an application in a split screen mode according to an embodiment of the present application
  • FIG. 4 is a schematic diagram of an interface for displaying an application in full-screen mode according to an embodiment of the present application
  • FIG. 5 is a schematic diagram of an interface for displaying an application in a picture-in-picture mode according to an embodiment of the present application
  • FIG. 6 is a schematic flowchart of a window minimization method provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a display interface of a target window provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of an example of temporary stack order adjustment provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of an example of window order adjustment provided by an embodiment of the present application.
  • FIG. 10 is a schematic flowchart of a window minimization method provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of an interface for dividing a screen adsorption area provided by an embodiment of the present application.
  • FIG. 12 is a schematic diagram of an example of a display effect after a target window is moved to a screen adsorption area according to an embodiment of the present application
  • FIG. 13 is a schematic diagram of an example of a multi-window display provided by an embodiment of the present application.
  • FIG. 14 is a schematic diagram of an example after a multi-window display layer is set according to an embodiment of the present application.
  • 15 is a schematic diagram of an example of a multi-window display provided by an embodiment of the present application.
  • FIG. 16 is a schematic diagram of an example after a multi-window display layer is set according to an embodiment of the present application.
  • FIG. 17 is a schematic structural diagram of a window minimizing device provided by an embodiment of the present application.
  • FIG. 18 is a schematic structural diagram of a temporary stack acquisition module provided by an embodiment of the present application.
  • FIG. 19 is a schematic structural diagram of a window minimizing device provided by an embodiment of the present application.
  • FIG. 20 is a schematic structural diagram of an interactive smart tablet provided by an embodiment of the present application.
  • FIG. 1 is a schematic diagram of an implementation scenario provided by an embodiment of this application.
  • the implementation scenario may include a terminal, where a display screen is set on the terminal, and a target application is installed. After the target application is started, the current display interface of the target application on the terminal's display screen is displayed as a target window.
  • the target window can be displayed in window mode, split screen mode, full screen mode, or picture-in-picture mode. Regardless of the display mode, the target window includes a toolbar (also called title bar), and function buttons can be set on the toolbar, such as horizontal and vertical switching buttons, close buttons, maximize buttons, minimize buttons, and return buttons Wait.
  • a toolbar also called title bar
  • function buttons can be set on the toolbar, such as horizontal and vertical switching buttons, close buttons, maximize buttons, minimize buttons, and return buttons Wait.
  • the window mode refers to a mode in which each application is displayed in a separate window, as shown in Figure 2.
  • Split-screen mode refers to a mode in which the display screen is divided into two or more parts at a ratio of 1:1, 1:2, or 2:1, and each part displays one application, and the applications do not overlap each other.
  • the split screen mode includes horizontal screen split screen and vertical screen split screen.
  • Figure 3 shows a feasible split-screen display interface diagram.
  • the full-screen mode refers to a mode that is displayed on the display screen in a full-screen size, as shown in Figure 4.
  • Picture-in-picture mode means that one application is displayed in full-screen mode, and another application is displayed in a small window on the full-screen window. As shown in Figure 5.
  • the target window in the embodiment of the present application may be any window in the picture-in-picture mode.
  • the terminal includes, but is not limited to: a personal computer, an interactive smart tablet, a handheld device, a vehicle-mounted device, a wearable device, a computing device, or other processing devices connected to a wireless modem.
  • user terminals can be called different names, such as: user equipment, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication Device, user agent or user device, cellular phone, cordless phone, personal digital assistant (PDA), terminal equipment in 5G network or future evolution network, etc.
  • PDA personal digital assistant
  • the embodiment of the present application takes an interactive smart tablet as an example for description.
  • the hardware part of the interactive smart tablet is composed of a display module, an intelligent processing system (including a controller) and other parts, which are combined by an overall structure and are also supported by a dedicated software system.
  • the display module includes a display screen and Backlight assembly, where the display screen includes a transparent conductive layer and a liquid crystal layer.
  • the display screen in the embodiments of this specification, refers to a touch screen, a touch screen, and a touch panel. It is an inductive liquid crystal display device.
  • the tactile feedback system on the screen can be Pre-programmed programs drive various connection devices, which can be used to replace mechanical button panels, and use the LCD screen to create dynamic audio and video effects.
  • Differentiating touch screens from technical principles can be divided into five basic categories: vector pressure sensing technology touch screens, resistive technology touch screens, capacitive technology touch screens, infrared technology touch screens, surface acoustic wave technology touch screens. According to the working principle of the touch screen and the medium of information transmission, the touch screen can be divided into four types: resistive type, capacitive sensing type, infrared type and surface acoustic wave type.
  • the coordinates of the point are located, so as to realize the control of the intelligent processing system, and then realize different functional applications with the built-in software of the intelligent processing system.
  • the meaning of displaying an interface on the display screen of the interactive smart tablet and displaying the interface on the display module of the interactive smart tablet are the same.
  • the “screen” and “large screen” mentioned in this application all refer to the display screen of the smart interactive tablet; the display of an interface on the smart interactive tablet means that the display screen of the smart interactive tablet displays the interface.
  • the interactive smart tablet when the interactive smart tablet receives a minimization instruction input for a target window on the display screen, it acquires a temporary window stack;
  • the input window minimization instruction may be clicking the minimize button on the window toolbar, so that the target window can be hidden.
  • the obtained temporary window stack may be obtained by obtaining at least one stored stack identification number, searching for a target stack identification number greater than a preset number in the at least one stack identification number, and assigning the window stack indicated by the target stack identification number As a temporary window stack, and start the temporary window stack. It can also create a temporary window stack at the top of the currently started window stack collection.
  • the stack identification number is used to identify window stacks in different modes, such as window mode stack, desktop mode stack, full screen mode stack, split screen mode stack, picture-in-picture mode stack, etc. Different types of stacks are used to store different types of windows.
  • any one of the multiple target stack identification numbers found is selected and determined as the target stack identification number.
  • Any selected stack identification number can be an empty stack or a stack storing part of the window.
  • the interactive smart tablet adds the target window to the temporary window stack
  • the window stack is a container for storing windows, and different types of window stacks are used to store different types of windows.
  • the window mode stack is used to store windows in window mode
  • the split screen mode stack is used to store windows in split screen mode.
  • Adding the target window to the temporary window stack can be understood as taking the target window from the original stack corresponding to the target window, and then storing the target window in the temporary window stack.
  • the currently started window stack collection can be understood as the window stacks corresponding to the different window modes currently started. For example, if the current display screen includes a desktop mode window and a window mode window, the currently activated window stack includes a desktop mode stack and a window mode stack.
  • the currently activated window stack set is displayed in different layers, and the temporary window stack is adjusted to the bottom of the window stack set, so that the desktop mode stack can completely block the temporary window stack, thereby achieving the window minimization effect.
  • the target window displayed on the display includes multiple target windows
  • at least one temporary window stack is acquired; the multiple target windows are respectively added to the at least one temporary window stack;
  • the sequence of input minimization instructions for multiple target windows is adjusted, and the at least one temporary stack is adjusted to the lowest layer of the window stack set according to the sequence.
  • the temporary window stack to which the target window is added may also be marked as invisible, so as to hide the temporary window stack to which the target window is added, so as to achieve the minimization effect of the target window .
  • the solution of the embodiment of the present application When the solution of the embodiment of the present application is executed, it receives the minimization instruction input for the target window on the display screen, obtains the temporary window stack; adds the target window to the temporary window stack; obtains the currently activated window stack set , Adjusting the temporary window stack to which the target window is added to the bottommost layer of the window stack set.
  • the target window can be stored through the defined temporary window stack, and the temporary window stack can be adjusted to the lowest layer of all window stacks, so that the function of minimizing application windows in the Android system can be realized.
  • the window minimization method provided by the embodiment of the present application will be described in detail below in conjunction with FIGS. 6 to 16.
  • the method can be implemented by relying on a computer program and can be run on a window minimization device based on the von Neumann system.
  • the computer program can be integrated into the application or run as an independent tool application.
  • FIG. 6 is a schematic flowchart of a method for minimizing a window provided in an embodiment of this application.
  • the method of the embodiment of the present application may include the following steps:
  • S101 Receive a minimization instruction input for a target window on the display screen, and obtain a temporary window stack;
  • the target window refers to the application window displayed on the current display interface of the display screen of the window minimization device. If multiple application windows are displayed on the current display interface, the target window is the application window selected by the user among the multiple application windows.
  • FIG. 2 there are 3 application windows displayed on the display screen, corresponding to application 1, application 2, and application 3. If the user selects the window of application 1 through peripherals such as a mouse or a finger or a stylus, then The window of application 1 is the target window.
  • peripherals such as a mouse or a finger or a stylus
  • the target window includes a form and a toolbar. As shown in Figure 7, the form is used to display multimedia information. Different function buttons can be set on the toolbar, such as the back button, the horizontal and vertical switch button, the maximize button, and the minimize button. And the close button, etc.
  • the target window can be displayed on the current display interface in different modes, such as full screen mode, split screen mode, desktop mode, picture-in-picture mode, etc.
  • the stack is a container used to hold tasks.
  • the Android system only defines 6 stacks, which are:
  • the application is the system desktop program;
  • the defined temporary window stack may include one or more.
  • Window stack also known as stack
  • stack is a linear table with limited operations. The limitation is that only insert and delete operations are allowed at one end of the table. One end is called the top of the stack, and the other end is called the bottom of the stack. Inserting a new element into a stack is also called pushing, pushing or pushing, which is to put the new element on top of the top element of the stack to make it a new top element; deleting an element from a stack is also called making a stack or retreating Stack, it deletes the top element of the stack, making the adjacent element become the new top element.
  • the inputted window minimization instruction may be input for the minimize button on the window toolbar, or may be input by voice.
  • the window minimization device when the window minimization device detects the window minimization instruction, it can create a temporary window stack at the top of the currently activated window stack set, and define that the stack identification number of the temporary window stack is greater than a preset threshold (such as 5 ), it can also search for any window stack whose stack identification number is greater than the preset threshold from the predefined window stack set as the temporary window stack.
  • the stack identification number is used to identify different types of window stacks.
  • the window stack is a container for storing windows, and different types of window stacks are used to store different types of windows.
  • the window mode stack is used to store windows in window mode
  • the split screen mode stack is used to store windows in split screen mode.
  • Adding the target window to the temporary window stack can be understood as taking the target window from the original stack corresponding to the target window, and then storing the target window in the temporary window stack.
  • window mode Stack and the desktop mode Stack are currently started, and the window mode Stack is located on the upper layer of the desktop mode Stack, there are window 1Task, window 2Task and window 3Task stored in the window mode Stack.
  • Input the minimization instruction after obtaining the temporary Stack, take out the window 3Task and store it in the temporary Stack, while the window 1Task and window 2Task are still stored in the window mode Stack.
  • S103 Acquire a currently activated window stack set, and adjust the temporary window stack to which the target window is added to the bottommost layer of the window stack set.
  • the currently activated window stack collection refers to the currently activated window stack used to store the currently activated window stack.
  • the currently activated window stack includes a desktop mode stack and a window mode stack. It should be noted that when the corresponding window minimization device is turned on, the desktop mode must be displayed. Therefore, the desktop mode window stack is always in the activated state.
  • the display level of each window stack is usually arranged based on the length of time the user operates the window from the current time. The longer the distance from the current time, the longer The lower the level, and the display level will change based on user operations.
  • the window mode Stack is located at the upper layer of the desktop mode Stack, and after the temporary stack is started, the temporary Stack is located at the top layer, the window mode Stack is located at the middle layer, and the desktop mode Stack is located at the bottom. Lower level.
  • the display level of each window Stack is window mode Stack, desktop mode Stack, and temporary stack from top to bottom.
  • the display level of each window is usually arranged based on the length of time the user operates the window to the current time. The longer the distance from the current time, the lower the level, and the display level will change based on the user's operation.
  • Task1 if the four windows stored in the window mode Stack are Task1, Task2, Task3, and Task4, and the order of these four windows in Stack is Task4, Task3, and Task2 from top to bottom. And Task1, if the user currently selects Task2, then Task2 will be transferred to the top layer, and the adjusted window order will be Task2, Task4, Task3 and Task1 from top to bottom.
  • the temporary window stack to which the target window is added may also be marked and marked as invisible, so as to hide the target window to achieve the minimization effect of the window.
  • the solution of the embodiment of the present application When the solution of the embodiment of the present application is executed, it receives the minimization instruction input for the target window on the display screen, obtains the temporary window stack; adds the target window to the temporary window stack; obtains the currently activated window stack set , Adjusting the temporary window stack to which the target window is added to the bottommost layer of the window stack set.
  • the target window can be stored through the defined temporary window stack, and the temporary window stack can be adjusted to the lowest layer of all window stacks, so that the function of minimizing application windows in the Android system can be realized.
  • FIG. 10 is a schematic flowchart of a window minimization method provided by an embodiment of this application.
  • the window minimization method is applied to an interactive smart tablet as an example.
  • the window minimization method may include the following steps:
  • S201 Receive a minimization instruction input for a target window on the display screen, and obtain at least one stored stack identification number;
  • the target window refers to the application window displayed on the current display interface of the display screen of the window minimization device. If multiple application windows are displayed on the current display interface, the target window is the application window selected by the user among the multiple application windows.
  • the inputted window minimization instruction may be input by the minimize button on the toolbar of the target window, or may be input by voice.
  • the stack identification number is used to identify different types of window stacks, that is, one stack identification number corresponds to one type of window stack. Since windows can be displayed in different display modes, and windows need to be carried by window stacks, windows with different display modes are carried by different types of window stacks. Therefore, there are multiple stack identification numbers stored in the storage space, which correspond to the windows respectively. Mode stack, split screen mode stack, desktop mode stack, full screen mode stack, picture-in-picture mode stack, and temporary stack.
  • the stack identification number can be a binary number, such as 00000000, 00000001, etc., or an Arabic numeral, such as 0, 1, 2, 3, 4, etc.
  • S202 Search for a target stack identification number set greater than a preset number in the at least one stack identification number, and determine any stack identification number in the target stack identification number set as the target stack identification number;
  • the application is the system desktop program;
  • the preset number can be any value greater than 5, or any value different from 0, 1, 2, 3, 4, and 5.
  • At least one temporary window stack with stackid>5 is predefined.
  • the preset number may be 5.
  • S203 Use the window stack indicated by the target stack identification number as a temporary window stack, and start the temporary window stack;
  • S205 Obtain a currently activated window stack set, and adjust the temporary window stack to which the target window is added to the bottommost layer of the window stack set.
  • the target window when the target window includes multiple target windows, at least one temporary window stack is acquired; the multiple target windows are added to the at least one temporary window stack respectively; Input the sequence of minimizing instructions, and adjust the at least one temporary stack to the bottom of the window stack set according to the sequence.
  • the so-called sequence of inputting minimization instructions can be understood as the sequence in which the user clicks the minimize button on each application window for multiple application windows displayed on the display screen.
  • the width and height of the target window are adjusted to the display width and display height, respectively, to achieve a full-screen display effect, but still maintain The display mode before adjustment (such as window mode).
  • the window mode can also be maximized without exiting the window mode. The operation is simple and it is convenient to continue to operate other windows.
  • a plurality of suction function areas are preset on the display screen, as shown in FIG. 11, including a full-screen suction area, a half-screen suction area, and a quarter-screen suction area.
  • the half screen adsorption area includes the left half screen adsorption area and the right half screen adsorption area.
  • the quarter screen adsorption area includes the upper left quarter adsorption area, the upper right quarter adsorption area, and the lower left quarter adsorption area. And the lower right quarter of the adsorption area.
  • peripherals such as a mouse or a finger to select the target window to move.
  • the target window is adjusted to the size of the adsorption area. For example, if it is determined that the adsorption area to which the touch position belongs is the upper-right quarter adsorption area, the target window is displayed within the area of the quarter screen size, as shown in FIG. 12.
  • the current display mode such as window mode
  • the prompt information including the current adsorption area is displayed, so that the user can quickly and accurately move the target window to the adsorption area to be displayed.
  • the window when there is an overlapping area between the windows, the content displayed on one or more windows will be covered by other windows, especially When the selected window has the largest display size, the window will automatically be adjusted to the top level of all windows and cover all other windows, thus affecting the use of multiple windows.
  • window mode Stack there are window 1Task, window 2Task, and window 3Task, and the current display levels of these three windows are window 3Task, window 2Task, and window 1Task from top to bottom.
  • the window 2 Task is identified as not being cut to the top.
  • the window does not switch to the top of the window mode Stack, so that it does not respond to the use of window 3 and window 1.
  • one large-screen window and one small-screen window is located on the large-screen window, when the user selects the large-screen window, it will cover the small-screen window , Thereby affecting the use of small screen windows.
  • a large-screen meeting content display window and a small-screen meeting video window are displayed on the display screen.
  • the attributes of the meeting video window are marked in advance and marked as fixed display in all The top level of the window, so that users can see the video of the remote meeting when using the meeting content display window.
  • window mode Stack there are window 1Task, window 2Task, and window 3Task, and the current display levels of these three windows are window 3Task, window 2Task, and window 1Task from top to bottom.
  • the window 3Task is identified as being fixed at the top level.
  • the solution of the embodiment of the present application When the solution of the embodiment of the present application is executed, it receives the minimization instruction input for the target window on the display screen, obtains the temporary window stack; adds the target window to the temporary window stack; obtains the currently activated window stack set , Adjusting the temporary window stack to which the target window is added to the bottommost layer of the window stack set.
  • the target window can be stored through the defined temporary window stack, and the temporary window stack can be adjusted to the lowest layer of all window stacks, so that the function of minimizing application windows in the Android system can be realized.
  • the application windows that need to be fixed on the top level display or the application windows that do not switch to the top level display are marked in advance to avoid overwriting other application windows and affecting the use of other windows.
  • the adsorption area can be defined in advance on the edge of the display screen, so that when the target window is moved to the edge of the display screen, it can be displayed at the set size without exiting the current display mode, which enriches the window display mode.
  • FIG. 17 shows a schematic structural diagram of a window minimizing device provided by an exemplary embodiment of the present application.
  • the window minimization device can be implemented as all or a part of the terminal through software, hardware or a combination of the two.
  • the device 1 includes a temporary stack acquisition module 10, a window adding module 20, and a temporary stack adjustment module 30.
  • the temporary stack obtaining module 10 is used to receive a minimization instruction input for a target window on the display screen, and obtain a temporary window stack;
  • a window adding module 20 configured to add the target window to the temporary window stack
  • the temporary stack adjustment module 30 is configured to obtain the currently activated window stack set, and adjust the temporary window stack to which the target window is added to the bottom of the window stack set.
  • the device further includes:
  • the window stack hiding module 40 is configured to hide the temporary window stack to which the target window is added.
  • the temporary stack obtaining module 10 includes:
  • the number obtaining unit 101 is configured to obtain at least one stored stack identification number
  • the temporary stack activation unit 102 is configured to search for a target stack identification number greater than a preset number among the at least one stack identification number, use the window stack indicated by the target stack identification number as a temporary window stack, and start the temporary window Stack.
  • the temporary stack activation unit 102 is specifically configured to:
  • the temporary stack obtaining module 10 is specifically configured to:
  • the window adding module 20 is specifically used for:
  • the temporary stack adjustment module 30 is specifically used for:
  • the sequence of inputting minimization instructions for the multiple target windows is acquired, and the at least one temporary stack is adjusted to the lowest level of the window stack set according to the sequence.
  • the temporary stack obtaining module 10 is specifically used for:
  • window minimization apparatus when the window minimization apparatus provided in the above embodiment executes the window minimization method, only the division of the above functional modules is used as an example for illustration. In actual applications, the above functions can be allocated to different functions according to needs. Module completion means dividing the internal structure of the device into different functional modules to complete all or part of the functions described above.
  • the window minimization device provided in the above-mentioned embodiment and the window minimization method embodiment belong to the same concept, and the implementation process is detailed in the method embodiment, which will not be repeated here.
  • the solution of the embodiment of the present application When the solution of the embodiment of the present application is executed, it receives the minimization instruction input for the target window on the display screen, obtains the temporary window stack; adds the target window to the temporary window stack; obtains the currently activated window stack set , Adjusting the temporary window stack to which the target window is added to the bottommost layer of the window stack set.
  • the target window can be stored through the defined temporary window stack, and the temporary window stack can be adjusted to the lowest layer of all window stacks, so that the function of minimizing application windows in the Android system can be realized.
  • the embodiment of the present application also provides a computer storage medium.
  • the computer storage medium may store a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps of the embodiments shown in FIGS. 6-16.
  • For the execution process please refer to the description of the embodiment shown in FIG. 6 to FIG. 16, which is not repeated here.
  • the present application also provides a computer program product, the computer program product stores at least one instruction, the at least one instruction is loaded by the processor and executes the method steps of the embodiment shown in FIGS. 6-16, and executes For the process, refer to the description of the embodiment shown in FIG. 6 to FIG. 16, which will not be repeated here.
  • the interactive smart tablet 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002.
  • the communication bus 1002 is used to implement connection and communication between these components.
  • the user interface 1003 may include a display screen (Display) and a camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • Display display screen
  • Camera Camera
  • the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the processor 1001 may include one or more processing cores.
  • the processor 1001 uses various excuses and lines to connect the various parts of the entire interactive smart tablet 1000, by running or executing instructions, programs, code sets, or instruction sets stored in the memory 1005, and calling data stored in the memory 1005, Perform various functions of the interactive smart tablet 1000 and process data.
  • the processor 1001 may use one of digital signal processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 1001 may be integrated with one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like.
  • the CPU mainly processes the operating system, user interface, and application programs; the GPU is used to render and draw the content that the display needs to display; the modem is used to process wireless communication. It is understandable that the above-mentioned modem may not be integrated into the processor 1001, but may be implemented by a chip alone.
  • the memory 1005 may include random access memory (RAM) or read-only memory (Read-Only Memory).
  • the memory 1005 includes a non-transitory computer-readable storage medium.
  • the memory 1005 may be used to store instructions, programs, codes, code sets or instruction sets.
  • the memory 1005 may include a storage program area and a storage data area, where the storage program area may store instructions for implementing the operating system and instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), Instructions used to implement the foregoing method embodiments, etc.; the storage data area can store the data involved in the foregoing method embodiments.
  • the memory 1005 may also be at least one storage device located far away from the foregoing processor 1001.
  • the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a window minimization application program.
  • the user interface 1003 is mainly used to provide an input interface for the user to obtain data input by the user; and the processor 1001 can be used to call a window minimization application program stored in the memory 1005, And do the following:
  • the processor 1001 further performs the following operations:
  • the processor 1001 performs the following operations when executing the acquisition of the temporary window stack:
  • Search for a target stack identification number larger than a preset number in the at least one stack identification number use the window stack indicated by the target stack identification number as a temporary window stack, and start the temporary window stack.
  • the processor 1001 performs the following operations when searching for a target stack identification number greater than a preset number in the at least one stack identification number:
  • the processor 1001 when the target window includes a plurality of target windows, the processor 1001 performs the following operations when performing obtaining a temporary window stack:
  • the processor 1001 When adding the target window to the temporary window stack, the processor 1001 performs the following operations:
  • the processor 1001 adjusts the temporary window stack to which the target window is added to the lowest level of the window stack set, the processor 1001 performs the following operations:
  • the sequence of inputting minimization instructions for the multiple target windows is acquired, and the at least one temporary stack is adjusted to the lowest level of the window stack set according to the sequence.
  • the processor 1001 performs the following operations when executing the acquisition of the temporary window stack:
  • the solution of the embodiment of the present application When the solution of the embodiment of the present application is executed, it receives the minimization instruction input for the target window on the display screen, obtains the temporary window stack; adds the target window to the temporary window stack; obtains the currently activated window stack set , Adjusting the temporary window stack to which the target window is added to the bottommost layer of the window stack set.
  • the target window can be stored through the defined temporary window stack, and the temporary window stack can be adjusted to the lowest layer of all window stacks, so that the function of minimizing application windows in the Android system can be realized.
  • the program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments.
  • the storage medium can be a magnetic disk, an optical disk, a read-only storage memory or a random storage memory, etc.

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)

Abstract

A window minimization method and apparatus, a storage medium, and an interactive intelligent panel. The method comprises: receiving a minimization instruction input with regard to a target window on a display screen, and acquiring a temporary window stack (S101); adding the target window to the temporary window stack (S102); and acquiring a currently started window stack set, and adjusting the temporary window stack, to which the target window is added, to the bottommost layer of the window stack set (S103). The method can realize minimization of an application window in an Android System.

Description

一种窗口最小化方法、装置、存储介质及交互智能平板Method, device, storage medium and interactive smart tablet for minimizing window
本申请要求在2019年6月11日提交中国专利局、申请号为201910500166.2的中国专利申请的优先权,以上申请的全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office with application number 201910500166.2 on June 11, 2019, and the entire content of the above application is incorporated into this application by reference.
技术领域Technical field
本公开涉及计算机技术领域,例如涉及一种窗口最小化方法、装置、存储介质及交互智能平板。The present disclosure relates to the field of computer technology, for example, to a window minimization method, device, storage medium, and interactive smart tablet.
背景技术Background technique
随着移动设备的应用越来越广泛,人们对移动设备的显示要求越来越高,移动设备的屏幕越来越大,因此,大屏显示设备(如交互智能平板)在生活或者工作中的应用频率越来越高。大屏对于移动设备的显示提供了很好的条件的同时对显示要求也有所提高,窗口最小化也逐渐孕育而生。As the application of mobile devices becomes more and more widespread, people have higher and higher requirements for the display of mobile devices, and the screens of mobile devices are getting larger and larger. Therefore, large-screen display devices (such as interactive smart tablets) are used in life or work. The application frequency is getting higher and higher. Large screens provide good conditions for the display of mobile devices, while at the same time the requirements for display have also increased, and window minimization has gradually been conceived.
为了避免多个应用界面在显示过程中的互相影响,系统为应用界面提供了诸如缩小显示、全屏显示以及最小化等操作选项。当对应用窗口进行最小化时,最小化窗口会以一个条目或应用标识的形式显示在桌面任务栏中,如果桌面任务栏中已有多个条目,那么该最小化窗口会显示在已有条目的后面。目前,对于窗口最小化的功能在WINDOWS系统中已实现,而对于安卓系统中,暂未有实现窗口最小化的方案。In order to avoid the mutual influence of multiple application interfaces during the display process, the system provides operation options such as reduced display, full-screen display, and minimized for the application interface. When the application window is minimized, the minimized window will be displayed in the desktop taskbar in the form of an entry or application logo. If there are multiple entries in the desktop taskbar, the minimized window will be displayed in the existing entry Behind. At present, the function of minimizing the window has been implemented in the WINDOWS system, while for the Android system, there is no solution for minimizing the window.
发明内容Summary of the invention
本申请实施例提供了一种窗口最小化方法、装置、存储介质及交互智能平板,可以实现安卓系统中应用窗口的最小化。所述技术方案如下:The embodiments of the present application provide a window minimization method, device, storage medium, and interactive smart tablet, which can minimize application windows in the Android system. The technical solution is as follows:
第一方面,本申请实施例提供了一种窗口最小化方法,所述方法包括:In the first aspect, an embodiment of the present application provides a window minimization method, and the method includes:
接收针对显示屏上的目标窗口输入的最小化指令,获取临时窗口栈;Receive the minimization instruction input for the target window on the display screen, and obtain the temporary window stack;
将所述目标窗口添加至所述临时窗口栈中;Adding the target window to the temporary window stack;
获取当前启动的窗口栈集合,将添加了所述目标窗口的所述临时窗口栈调整至所述窗口栈集合的最底层。Acquire the currently activated window stack set, and adjust the temporary window stack to which the target window is added to the bottommost window stack set.
在一实施方式中,所述方法还包括:In an embodiment, the method further includes:
隐藏所述添加了所述目标窗口的所述临时窗口栈。Hiding the temporary window stack to which the target window is added.
在一实施方式中,所述获取临时窗口栈,包括:In an embodiment, the obtaining a temporary window stack includes:
获取所存储的至少一个栈标识编号;Obtain at least one stored stack identification number;
在所述至少一个栈标识编号中查找大于预设编号的目标栈标识编号,将所述目标栈标识编号指示的窗口栈作为临时窗口栈,并启动所述临时窗口栈。Search for a target stack identification number larger than a preset number in the at least one stack identification number, use the window stack indicated by the target stack identification number as a temporary window stack, and start the temporary window stack.
在一实施方式中,所述在所述至少一个栈标识编号中查找大于预设编号的目标栈标识编号,包括:In an embodiment, the searching for a target stack identification number greater than a preset number in the at least one stack identification number includes:
在所述至少一个栈标识编号中查找大于预设编号的目标栈标识编号集合,将所述目标栈标识编号集合中的任一栈标识编号确定为目标栈标识编号。Search for a target stack identification number set greater than a preset number in the at least one stack identification number, and determine any stack identification number in the target stack identification number set as the target stack identification number.
在一实施方式中,当所述目标窗口包括多个时,所述获取临时窗口栈,包括:In an embodiment, when the target window includes a plurality of windows, the obtaining a temporary window stack includes:
获取至少一个临时窗口栈;Obtain at least one temporary window stack;
所述将所述目标窗口添加至所述临时窗口栈中,包括:The adding the target window to the temporary window stack includes:
将所述多个目标窗口分别添加至所述至少一个临时窗口栈中;Adding the multiple target windows to the at least one temporary window stack respectively;
所述将添加了所述目标窗口的所述临时窗口栈调整至所述窗口栈集合的最底层,包括:The adjusting the temporary window stack with the target window added to the bottommost layer of the window stack set includes:
获取针对所述多个目标窗口输入最小化指令的先后顺序,按照所述先后顺序将所述至少一个临时栈分别调整至所述窗口栈集合的最底层。The sequence of inputting minimization instructions for the multiple target windows is acquired, and the at least one temporary stack is adjusted to the lowest level of the window stack set according to the sequence.
在一实施方式中,所述获取临时窗口栈,包括:In an embodiment, the obtaining a temporary window stack includes:
在当前启动的窗口栈集合的最顶层创建临时窗口栈。Create a temporary window stack at the top of the currently started window stack collection.
第二方面,本申请实施例提供了一种窗口最小化装置,所述装置包括:In the second aspect, an embodiment of the present application provides a window minimizing device, the device including:
临时栈获取模块,用于接收针对显示屏上的目标窗口输入的最小化指令,获取临时窗口栈;Temporary stack acquisition module, used to receive the minimization instruction input for the target window on the display screen, and acquire the temporary window stack;
窗口添加模块,用于将所述目标窗口添加至所述临时窗口栈中;A window adding module, configured to add the target window to the temporary window stack;
临时栈调整模块,用于获取当前启动的窗口栈集合,将添加了所述目标窗口的所述临时窗口栈调整至所述窗口栈集合的最底层。The temporary stack adjustment module is used to obtain the currently activated window stack set, and adjust the temporary window stack to which the target window is added to the bottom of the window stack set.
在一实施方式中,所述装置还包括:In an embodiment, the device further includes:
窗口栈隐藏模块,用于隐藏所述添加了所述目标窗口的所述临时窗口栈。The window stack hiding module is used to hide the temporary window stack to which the target window is added.
可选的,所述临时栈获取模块,包括:Optionally, the temporary stack acquisition module includes:
编号获取单元,用于获取所存储的至少一个栈标识编号;The number obtaining unit is used to obtain at least one stored stack identification number;
临时栈启动单元,用于在所述至少一个栈标识编号中查找大于预设编号的目标栈标识编号,将所述目标栈标识编号指示的窗口栈作为临时窗口栈,并启动所述临时窗口栈。A temporary stack activation unit, configured to search for a target stack identification number greater than a preset number among the at least one stack identification number, use the window stack indicated by the target stack identification number as a temporary window stack, and start the temporary window stack .
在一实施方式中,所述临时栈启动单元,具体用于:In an embodiment, the temporary stack activation unit is specifically used for:
在所述至少一个栈标识编号中查找大于预设编号的目标栈标识编号集合,将所述目标栈标识编号集合中的任一栈标识编号确定为目标栈标识编号。Search for a target stack identification number set greater than a preset number in the at least one stack identification number, and determine any stack identification number in the target stack identification number set as the target stack identification number.
在一实施方式中,当所述目标窗口包括多个时,所述临时栈获取模块,具体用于:In an embodiment, when the target window includes multiple, the temporary stack acquisition module is specifically used for:
获取至少一个临时窗口栈;Obtain at least one temporary window stack;
所述窗口添加模块,具体用于:The window adding module is specifically used for:
将所述多个目标窗口分别添加至所述至少一个临时窗口栈中;Adding the multiple target windows to the at least one temporary window stack respectively;
所述临时栈调整模块,具体用于:The temporary stack adjustment module is specifically used for:
获取针对所述多个目标窗口输入最小化指令的先后顺序,按照所述先后顺序将所述至少一个临时栈分别调整至所述窗口栈集合的最底层。The sequence of inputting minimization instructions for the multiple target windows is acquired, and the at least one temporary stack is adjusted to the lowest level of the window stack set according to the sequence.
在一实施方式中,所述临时栈获取模块,具体用于:In an embodiment, the temporary stack acquisition module is specifically used for:
在当前启动的窗口栈集合的最顶层创建临时窗口栈。Create a temporary window stack at the top of the currently started window stack collection.
第三方面,本申请实施例提供一种计算机存储介质,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行上述的方法步骤。In a third aspect, an embodiment of the present application provides a computer storage medium that stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above method steps.
第四方面,本申请实施例提供一种交互智能平板,可包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行上述的方法步骤。In a fourth aspect, an embodiment of the present application provides an interactive smart tablet, which may include: a processor and a memory; wherein the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the above method step.
本申请一些实施例提供的技术方案带来的有益效果至少包括:The beneficial effects brought about by the technical solutions provided by some embodiments of the present application include at least:
本申请实施例的方案在执行时,接收针对显示屏上的目标窗口输入的最小化指令,获取临时窗口栈;将所述目标窗口添加至所述临时窗口栈中;获取当前启动的窗口栈集合,将添 加了所述目标窗口的所述临时窗口栈调整至所述窗口栈集合的最底层。可以通过所定义的临时窗口栈存放目标窗口,并将该临时窗口栈调整至所有窗口栈的最下层,从而可以实现安卓系统中应用窗口的最小化功能。When the solution of the embodiment of the present application is executed, it receives the minimization instruction input for the target window on the display screen, obtains the temporary window stack; adds the target window to the temporary window stack; obtains the currently activated window stack set , Adjusting the temporary window stack to which the target window is added to the bottommost layer of the window stack set. The target window can be stored through the defined temporary window stack, and the temporary window stack can be adjusted to the lowest layer of all window stacks, so that the function of minimizing application windows in the Android system can be realized.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings that need to be used in the description of the embodiments or related technologies. Obviously, the drawings in the following description are merely present For some of the embodiments of the application, for those of ordinary skill in the art, other drawings can be obtained from these drawings without creative work.
图1是本申请实施例提供的一种实施场景示意图;FIG. 1 is a schematic diagram of an implementation scenario provided by an embodiment of the present application;
图2是本申请实施例提供的一种应用以窗口模式进行显示的界面示意图;FIG. 2 is a schematic diagram of an interface displayed in a window mode of an application provided by an embodiment of the present application;
图3是本申请实施例提供的一种应用以分屏模式进行显示的界面示意图;FIG. 3 is a schematic diagram of an interface for displaying an application in a split screen mode according to an embodiment of the present application;
图4是本申请实施例提供的一种应用以全屏模式进行显示的界面示意图;FIG. 4 is a schematic diagram of an interface for displaying an application in full-screen mode according to an embodiment of the present application;
图5是本申请实施例提供的一种应用以画中画模式进行显示的界面示意图;FIG. 5 is a schematic diagram of an interface for displaying an application in a picture-in-picture mode according to an embodiment of the present application;
图6是本申请实施例提供的一种窗口最小化方法的流程示意图;6 is a schematic flowchart of a window minimization method provided by an embodiment of the present application;
图7是本申请实施例提供的一种目标窗口的展示界面示意图;FIG. 7 is a schematic diagram of a display interface of a target window provided by an embodiment of the present application;
图8是本申请实施例提供的一种临时栈顺序调整的举例示意图;FIG. 8 is a schematic diagram of an example of temporary stack order adjustment provided by an embodiment of the present application;
图9是本申请实施例提供的一种窗口顺序调整的举例示意图;FIG. 9 is a schematic diagram of an example of window order adjustment provided by an embodiment of the present application;
图10是本申请实施例提供的一种窗口最小化方法的流程示意图;FIG. 10 is a schematic flowchart of a window minimization method provided by an embodiment of the present application;
图11是本申请实施例提供的一种屏幕吸附区域划分的界面示意图;11 is a schematic diagram of an interface for dividing a screen adsorption area provided by an embodiment of the present application;
图12是本申请实施例提供的一种目标窗口移动至屏幕吸附区域后的显示效果举例示意图;12 is a schematic diagram of an example of a display effect after a target window is moved to a screen adsorption area according to an embodiment of the present application;
图13是本申请实施例提供的一种多窗口显示的举例示意图;FIG. 13 is a schematic diagram of an example of a multi-window display provided by an embodiment of the present application;
图14是本申请实施例提供的一种多窗口显示层设置后的举例示意图;FIG. 14 is a schematic diagram of an example after a multi-window display layer is set according to an embodiment of the present application;
图15是本申请实施例提供的一种多窗口显示的举例示意图;15 is a schematic diagram of an example of a multi-window display provided by an embodiment of the present application;
图16是本申请实施例提供的一种多窗口显示层设置后的举例示意图;FIG. 16 is a schematic diagram of an example after a multi-window display layer is set according to an embodiment of the present application;
图17是本申请实施例提供的一种窗口最小化装置的结构示意图;FIG. 17 is a schematic structural diagram of a window minimizing device provided by an embodiment of the present application;
图18是本申请实施例提供的一种临时栈获取模块的结构示意图;18 is a schematic structural diagram of a temporary stack acquisition module provided by an embodiment of the present application;
图19是本申请实施例提供的一种窗口最小化装置的结构示意图;19 is a schematic structural diagram of a window minimizing device provided by an embodiment of the present application;
图20是本申请实施例提供的一种交互智能平板的结构示意图。FIG. 20 is a schematic structural diagram of an interactive smart tablet provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施例方式作详细描述。In order to make the purpose, technical solutions, and advantages of the present application clearer, the following describes the embodiments of the present application in detail with reference to the accompanying drawings.
下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present application. Rather, they are merely examples of devices and methods consistent with some aspects of the application as detailed in the appended claims.
在本申请的描述中,需要理解的是,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。对于本领域的普通技术人员而言,可以具体情况理解上述术 语在本申请中的具体含义。此外,在本申请的描述中,除非另有说明,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。In the description of this application, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meaning of the above terms in this application can be understood in specific situations. In addition, in the description of this application, unless otherwise specified, "plurality" means two or more. "And/or" describes the association relationship of the associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects are in an "or" relationship.
请参见图1,为本申请实施例提供的一种实施场景的示意图。如图1所示,所述实施场景可以包括终端,在终端上设置有显示屏,并安装有目标应用,开启目标应用后,目标应用在终端的显示屏的当前显示界面以目标窗口进行显示,所述目标窗口可以窗口模式、分屏模式、全屏模式或画中画模式等模式进行显示。无论以何种模式进行显示,在目标窗口上包括工具栏(也叫标题栏),而在工具栏上可设置功能按钮,如横竖切换按钮、关闭按钮、最大化按钮、最小化按钮、返回按钮等。Please refer to FIG. 1, which is a schematic diagram of an implementation scenario provided by an embodiment of this application. As shown in Figure 1, the implementation scenario may include a terminal, where a display screen is set on the terminal, and a target application is installed. After the target application is started, the current display interface of the target application on the terminal's display screen is displayed as a target window. The target window can be displayed in window mode, split screen mode, full screen mode, or picture-in-picture mode. Regardless of the display mode, the target window includes a toolbar (also called title bar), and function buttons can be set on the toolbar, such as horizontal and vertical switching buttons, close buttons, maximize buttons, minimize buttons, and return buttons Wait.
其中,窗口模式,是指每个应用以单独的窗口进行显示的模式,如图2所示。Among them, the window mode refers to a mode in which each application is displayed in a separate window, as shown in Figure 2.
分屏模式,是指将显示屏以1:1或1:2或2:1等各比例分成两部分或多部分,每部分显示一个应用,且各应用之间互不重叠的模式。所述分屏模式包括横屏分屏和竖屏分屏。如图3所示为一种可行的分屏显示界面图。Split-screen mode refers to a mode in which the display screen is divided into two or more parts at a ratio of 1:1, 1:2, or 2:1, and each part displays one application, and the applications do not overlap each other. The split screen mode includes horizontal screen split screen and vertical screen split screen. Figure 3 shows a feasible split-screen display interface diagram.
全屏模式,是指以全屏铺满的大小在显示屏上进行显示的模式,如图4所示。The full-screen mode refers to a mode that is displayed on the display screen in a full-screen size, as shown in Figure 4.
画中画模式,是指一个应用以全屏模式显示,另一个应用在该全屏窗口上以一个小窗口的模式进行显示。如图5所示。本申请实施例中的目标窗口可以为画中画模式中的任一窗口。Picture-in-picture mode means that one application is displayed in full-screen mode, and another application is displayed in a small window on the full-screen window. As shown in Figure 5. The target window in the embodiment of the present application may be any window in the picture-in-picture mode.
其中,所述终端包括但不限于:个人电脑、交互智能平板、手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备等。在不同的网络中用户终端可以叫做不同的名称,例如:用户设备、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置、蜂窝电话、无绳电话、个人数字处理(personal digital assistant,PDA)、5G网络或未来演进网络中的终端设备等。Wherein, the terminal includes, but is not limited to: a personal computer, an interactive smart tablet, a handheld device, a vehicle-mounted device, a wearable device, a computing device, or other processing devices connected to a wireless modem. In different networks, user terminals can be called different names, such as: user equipment, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication Device, user agent or user device, cellular phone, cordless phone, personal digital assistant (PDA), terminal equipment in 5G network or future evolution network, etc.
为描述方便,本申请实施例以终端为交互智能平板为例进行说明。For the convenience of description, the embodiment of the present application takes an interactive smart tablet as an example for description.
交互智能平板的硬件部分由显示模组、智能处理系统(包括控制器)等部分所构成,由整体结构件结合到一起,同时也由专用的软件系统作为支撑,其中显示模组包括显示屏和背光灯组件,其中显示屏包括透明电导层和液晶层等。The hardware part of the interactive smart tablet is composed of a display module, an intelligent processing system (including a controller) and other parts, which are combined by an overall structure and are also supported by a dedicated software system. The display module includes a display screen and Backlight assembly, where the display screen includes a transparent conductive layer and a liquid crystal layer.
显示屏,在本说明书的实施例中,是指触摸屏、触控屏、触控面板,是一种感应式液晶显示装置,当接触了屏幕上的图形按钮时,屏幕上的触觉反馈系统可根据预先编程的程式驱动各种连接装置,可用以取代机械式的按钮面板,并借由液晶显示画面制造出生动的影音效果。从技术原理来区别触摸屏,可以分为五个基本种类;矢量压力传感技术触摸屏、电阻技术触摸屏、电容技术触摸屏、红外线技术触摸屏、表面声波技术触摸屏。按照触摸屏的工作原理和传输信息的介质,可以把触摸屏分为四个种类:电阻式、电容感应式、红外线式以及表面声波式。The display screen, in the embodiments of this specification, refers to a touch screen, a touch screen, and a touch panel. It is an inductive liquid crystal display device. When the graphic buttons on the screen are touched, the tactile feedback system on the screen can be Pre-programmed programs drive various connection devices, which can be used to replace mechanical button panels, and use the LCD screen to create dynamic audio and video effects. Differentiating touch screens from technical principles can be divided into five basic categories: vector pressure sensing technology touch screens, resistive technology touch screens, capacitive technology touch screens, infrared technology touch screens, surface acoustic wave technology touch screens. According to the working principle of the touch screen and the medium of information transmission, the touch screen can be divided into four types: resistive type, capacitive sensing type, infrared type and surface acoustic wave type.
当用户用手指或触控笔触摸屏幕时,将该点坐标定位,从而实现对智能处理系统的控制,然后随着智能处理系统内置的软件来实现不同的功能应用。When the user touches the screen with a finger or a stylus, the coordinates of the point are located, so as to realize the control of the intelligent processing system, and then realize different functional applications with the built-in software of the intelligent processing system.
本申请实施例中,交互智能平板的显示屏显示某个界面与交互智能平板的显示模组显示该界面的含义是相同的。In the embodiments of the present application, the meaning of displaying an interface on the display screen of the interactive smart tablet and displaying the interface on the display module of the interactive smart tablet are the same.
在本申请中所提到的“屏幕”、“大屏”均指智能交互平板的显示屏;智能交互平板显示 某个界面是指智能交互平板的显示屏显示该界面。The "screen" and "large screen" mentioned in this application all refer to the display screen of the smart interactive tablet; the display of an interface on the smart interactive tablet means that the display screen of the smart interactive tablet displays the interface.
如图1所示,当交互智能平板接收针对显示屏上的目标窗口输入的最小化指令,获取临时窗口栈;As shown in Figure 1, when the interactive smart tablet receives a minimization instruction input for a target window on the display screen, it acquires a temporary window stack;
其中,所输入的窗口最小化指令可以为点击窗口工具栏上的最小化按钮,从而可以将目标窗口隐藏。Wherein, the input window minimization instruction may be clicking the minimize button on the window toolbar, so that the target window can be hidden.
所获取的临时窗口栈可以是获取所存储的至少一个栈标识编号,并在所述至少一个栈标识编号中查找大于预设编号的目标栈标识编号,将所述目标栈标识编号指示的窗口栈作为临时窗口栈,并启动所述临时窗口栈。也可以是在当前启动的窗口栈集合的最顶层创建临时窗口栈。The obtained temporary window stack may be obtained by obtaining at least one stored stack identification number, searching for a target stack identification number greater than a preset number in the at least one stack identification number, and assigning the window stack indicated by the target stack identification number As a temporary window stack, and start the temporary window stack. It can also create a temporary window stack at the top of the currently started window stack collection.
所述栈标识编号用于标识不同模式的窗口栈,如窗口模式栈,桌面模式栈,全屏模式栈,分屏模式栈,画中画模式栈等。不同类型的栈用于存放不同类型的窗口。The stack identification number is used to identify window stacks in different modes, such as window mode stack, desktop mode stack, full screen mode stack, split screen mode stack, picture-in-picture mode stack, etc. Different types of stacks are used to store different types of windows.
若在所述至少一个栈标识编号中查找大于预设编号的目标栈标识编号为多个,则在所查找到的多个目标栈标识编号中选择任一栈标识编号确定为目标栈标识编号。If there are multiple target stack identification numbers that are larger than the preset number found in the at least one stack identification number, any one of the multiple target stack identification numbers found is selected and determined as the target stack identification number.
所选择的任一栈标识编号可以为空栈,也可以为存放了部分窗口的栈。Any selected stack identification number can be an empty stack or a stack storing part of the window.
交互智能平板将所述目标窗口添加至所述临时窗口栈中;The interactive smart tablet adds the target window to the temporary window stack;
窗口栈为存放窗口的容器,不同类型的窗口栈则用于存放不同类型的窗口。例如,窗口模式栈用于存放窗口模式的窗口,分屏模式栈用于存放分屏模式的窗口。The window stack is a container for storing windows, and different types of window stacks are used to store different types of windows. For example, the window mode stack is used to store windows in window mode, and the split screen mode stack is used to store windows in split screen mode.
将目标窗口添加至临时窗口栈中,可以理解为从目标窗口所对应的原始栈中取出目标窗口,再将该目标窗口存放至临时窗口栈中。Adding the target window to the temporary window stack can be understood as taking the target window from the original stack corresponding to the target window, and then storing the target window in the temporary window stack.
获取当前启动的窗口栈集合,将添加了所述目标窗口的所述临时窗口栈调整至所述窗口栈集合的最底层。Acquire the currently activated window stack set, and adjust the temporary window stack to which the target window is added to the bottommost window stack set.
当前启动的窗口栈集合,可以理解为,当前启动的不同窗口模式所对应的窗口栈。例如,若当前显示屏上包括桌面模式窗口以及窗口模式窗口,则当前启动的窗口栈包括桌面模式栈以及窗口模式栈。The currently started window stack collection can be understood as the window stacks corresponding to the different window modes currently started. For example, if the current display screen includes a desktop mode window and a window mode window, the currently activated window stack includes a desktop mode stack and a window mode stack.
对于当前启动的窗口栈集合,分别在不同层显示,通过将临时窗口栈调整至窗口栈集合的最底层,使得桌面模式栈可以完全挡住该临时窗口栈,从而可以实现窗口最小化效果。The currently activated window stack set is displayed in different layers, and the temporary window stack is adjusted to the bottom of the window stack set, so that the desktop mode stack can completely block the temporary window stack, thereby achieving the window minimization effect.
在一实施方式中,当在显示屏上显示的目标窗口包括多个时,获取至少一个临时窗口栈;将所述多个目标窗口分别添加至所述至少一个临时窗口栈中;获取针对所述多个目标窗口输入最小化指令的先后顺序,按照所述先后顺序将所述至少一个临时栈分别调整至所述窗口栈集合的最底层。In one embodiment, when the target window displayed on the display includes multiple target windows, at least one temporary window stack is acquired; the multiple target windows are respectively added to the at least one temporary window stack; The sequence of input minimization instructions for multiple target windows is adjusted, and the at least one temporary stack is adjusted to the lowest layer of the window stack set according to the sequence.
在一实施方式中,也可对添加了目标窗口的临时窗口栈进行标记,标记为不可见,从而隐藏所述添加了所述目标窗口的所述临时窗口栈,以实现目标窗口的最小化效果。In one embodiment, the temporary window stack to which the target window is added may also be marked as invisible, so as to hide the temporary window stack to which the target window is added, so as to achieve the minimization effect of the target window .
本申请实施例的方案在执行时,接收针对显示屏上的目标窗口输入的最小化指令,获取临时窗口栈;将所述目标窗口添加至所述临时窗口栈中;获取当前启动的窗口栈集合,将添加了所述目标窗口的所述临时窗口栈调整至所述窗口栈集合的最底层。可以通过所定义的临时窗口栈存放目标窗口,并将该临时窗口栈调整至所有窗口栈的最下层,从而可以实现安卓系统中应用窗口的最小化功能。When the solution of the embodiment of the present application is executed, it receives the minimization instruction input for the target window on the display screen, obtains the temporary window stack; adds the target window to the temporary window stack; obtains the currently activated window stack set , Adjusting the temporary window stack to which the target window is added to the bottommost layer of the window stack set. The target window can be stored through the defined temporary window stack, and the temporary window stack can be adjusted to the lowest layer of all window stacks, so that the function of minimizing application windows in the Android system can be realized.
下面将结合附图6-附图16,对本申请实施例提供的窗口最小化方法进行详细介绍。该方法可依赖于计算机程序实现,可运行于基于冯诺依曼体系的窗口最小化装置上。该计算机程 序可集成在应用中,也可作为独立的工具类应用运行。The window minimization method provided by the embodiment of the present application will be described in detail below in conjunction with FIGS. 6 to 16. The method can be implemented by relying on a computer program and can be run on a window minimization device based on the von Neumann system. The computer program can be integrated into the application or run as an independent tool application.
请参见图6,为本申请实施例提供的一种窗口最小化方法的流程示意图。如图1所示,本申请实施例的所述方法可以包括以下步骤:Please refer to FIG. 6, which is a schematic flowchart of a method for minimizing a window provided in an embodiment of this application. As shown in Fig. 1, the method of the embodiment of the present application may include the following steps:
S101,接收针对显示屏上的目标窗口输入的最小化指令,获取临时窗口栈;S101: Receive a minimization instruction input for a target window on the display screen, and obtain a temporary window stack;
目标窗口是指在窗口最小化装置的显示屏的当前显示界面所显示的应用窗口。若在当前显示界面上显示有多个应用窗口,目标窗口即为用户在这多个应用窗口中所选中的应用窗口。The target window refers to the application window displayed on the current display interface of the display screen of the window minimization device. If multiple application windows are displayed on the current display interface, the target window is the application window selected by the user among the multiple application windows.
例如,如图2所示,在显示屏上显示有3个应用窗口,分别对应应用1、应用2和应用3,若用户通过鼠标等外设或手指或触控笔选择应用1的窗口,则应用1的窗口即为目标窗口。For example, as shown in Figure 2, there are 3 application windows displayed on the display screen, corresponding to application 1, application 2, and application 3. If the user selects the window of application 1 through peripherals such as a mouse or a finger or a stylus, then The window of application 1 is the target window.
目标窗口包括窗体以及工具栏,如图7所示,窗体用于显示多媒体信息,在工具栏上可设置有不同的功能按钮,如返回按钮、横竖切换按钮、最大化按钮、最小化按钮以及关闭按钮等。The target window includes a form and a toolbar. As shown in Figure 7, the form is used to display multimedia information. Different function buttons can be set on the toolbar, such as the back button, the horizontal and vertical switch button, the maximize button, and the minimize button. And the close button, etc.
该目标窗口可以不同的模式显示在当前显示界面,如全屏模式、分屏模式、桌面模式、画中画模式等。The target window can be displayed on the current display interface in different modes, such as full screen mode, split screen mode, desktop mode, picture-in-picture mode, etc.
以目标窗口显示为窗口模式为例,一种可行的方式为,当在桌面模式(即开机启动后,默认显示桌面程序,有且仅有一个桌面程序)下,启动目标应用时,创建应用task,然后将该应用task加载到全屏模式栈(stack,如stackid=1)中,从而开启目标窗口,且目标窗口以全屏模式显示,再将该窗口设置为窗口模式。另一种可行的实现方式为,在桌面模式下,启动目标应用时,创建应用task,然后将该应用task加载到窗口模式栈(stack,如栈标识编号stackid=2)中,该目标应用直接以窗口模式显示。Taking the target window displayed in window mode as an example, one feasible way is to create an application task when starting the target application in desktop mode (that is, the desktop program is displayed by default after startup, and there is only one desktop program) , And then load the application task into the full-screen mode stack (stack, such as stackid=1) to open the target window, and the target window is displayed in full-screen mode, and then the window is set to window mode. Another feasible implementation method is to create an application task when starting the target application in desktop mode, and then load the application task into the window mode stack (stack, such as stack ID number stackid=2), and the target application directly Display in window mode.
其中,task用于容纳应用程序,每一个task就是一个窗口。stack是用于容纳task的容器。目前Android系统只定义了6个stack,分别是:Among them, task is used to accommodate applications, and each task is a window. The stack is a container used to hold tasks. At present, the Android system only defines 6 stacks, which are:
桌面模式stack,stackid=0,该stack只有一个task,即只有一个应用程序。该应用程序就是系统桌面程序;Desktop mode stack, stackid=0, the stack has only one task, that is, only one application. The application is the system desktop program;
全屏模式stack,stackid=1,该stack用于容纳所有全屏显示的task;Full screen mode stack, stackid=1, the stack is used to accommodate all tasks displayed in full screen;
窗口模式stack,stackid=2,该stack用于容纳所有以窗口显示的task;Window mode stack, stackid=2, this stack is used to accommodate all tasks displayed in windows;
分屏模式stack,stackid=3,该stack用于容纳所有分屏显示的task;Split-screen mode stack, stackid=3, the stack is used to accommodate all split-screen display tasks;
画中画模式stack,stackid=4,该stack用于容纳画中画显示的task,仅有一个task;Picture-in-picture mode stack, stackid=4, the stack is used to accommodate tasks for picture-in-picture display, and there is only one task;
最近应用stack,stackid=5,该stack用于容纳最近打开过的应用task。The recent application stack, stackid=5, the stack is used to accommodate the recently opened application tasks.
在本申请实施例中,定义stackid>5的窗口栈为临时窗口栈,如stackid=6或stackid=7等。所定义的临时窗口栈可以包括一个或多个。In the embodiment of the present application, the window stack with stackid>5 is defined as a temporary window stack, such as stackid=6 or stackid=7. The defined temporary window stack may include one or more.
窗口栈(stack)又名堆栈,是一种运算受限的线性表。其限制是仅允许在表的一端进行插入和删除运算。一端被称为栈顶,另一端称为栈底。向一个栈插入新元素又称作进栈、入栈或压栈,是把新元素放到栈顶元素的上面,使之成为新的栈顶元素;从一个栈删除元素又称作出栈或退栈,它是把栈顶元素删除掉,使其相邻的元素成为新的栈顶元素。Window stack (stack), also known as stack, is a linear table with limited operations. The limitation is that only insert and delete operations are allowed at one end of the table. One end is called the top of the stack, and the other end is called the bottom of the stack. Inserting a new element into a stack is also called pushing, pushing or pushing, which is to put the new element on top of the top element of the stack to make it a new top element; deleting an element from a stack is also called making a stack or retreating Stack, it deletes the top element of the stack, making the adjacent element become the new top element.
具体实现中,所输入的窗口最小化指令可以为针对窗口工具栏上的最小化按钮输入,也可以为通过语音方式输入。对于安卓系统,在窗口最小化装置检测到窗口最小化指令时,可以在当前启动的窗口栈集合的最顶层创建临时窗口栈,并定义该临时窗口栈的栈标识编号大于预设阈值(如5),也可以为从预先定义好的窗口栈集合中查找栈标识编号大于预设阈值的任一窗口栈作为临时窗口栈。所述栈标识编号用于标识不同类型的窗口栈。In specific implementation, the inputted window minimization instruction may be input for the minimize button on the window toolbar, or may be input by voice. For the Android system, when the window minimization device detects the window minimization instruction, it can create a temporary window stack at the top of the currently activated window stack set, and define that the stack identification number of the temporary window stack is greater than a preset threshold (such as 5 ), it can also search for any window stack whose stack identification number is greater than the preset threshold from the predefined window stack set as the temporary window stack. The stack identification number is used to identify different types of window stacks.
S102,将所述目标窗口添加至所述临时窗口栈中;S102: Add the target window to the temporary window stack;
窗口栈为存放窗口的容器,不同类型的窗口栈则用于存放不同类型的窗口。例如,窗口模式栈用于存放窗口模式的窗口,分屏模式栈用于存放分屏模式的窗口。The window stack is a container for storing windows, and different types of window stacks are used to store different types of windows. For example, the window mode stack is used to store windows in window mode, and the split screen mode stack is used to store windows in split screen mode.
将目标窗口添加至临时窗口栈中,可以理解为从目标窗口所对应的原始栈中取出目标窗口,再将该目标窗口存放至临时窗口栈中。Adding the target window to the temporary window stack can be understood as taking the target window from the original stack corresponding to the target window, and then storing the target window in the temporary window stack.
例如,如图8所示,若当前启动有窗口模式Stack以及桌面模式Stack,且窗口模式Stack位于桌面模式Stack上层,在窗口模式Stack中存放有窗口1Task、窗口2Task以及窗口3Task,若针对窗口3输入最小化指令,在获取了临时Stack后,将窗口3Task取出,并存放至临时Stack中,而窗口1Task和窗口2Task仍然存放在窗口模式Stack中。For example, as shown in Figure 8, if the window mode Stack and the desktop mode Stack are currently started, and the window mode Stack is located on the upper layer of the desktop mode Stack, there are window 1Task, window 2Task and window 3Task stored in the window mode Stack. Input the minimization instruction, after obtaining the temporary Stack, take out the window 3Task and store it in the temporary Stack, while the window 1Task and window 2Task are still stored in the window mode Stack.
S103,获取当前启动的窗口栈集合,将添加了所述目标窗口的所述临时窗口栈调整至所述窗口栈集合的最底层。S103: Acquire a currently activated window stack set, and adjust the temporary window stack to which the target window is added to the bottommost layer of the window stack set.
可以理解的是,当前启动的窗口栈集合是指当前启动的,用于存放当前启动的窗口的栈。It is understandable that the currently activated window stack collection refers to the currently activated window stack used to store the currently activated window stack.
例如,当前显示有以窗口模式显示的窗口,则当前启动的窗口栈包括桌面模式栈以及窗口模式栈。需要说明的是,对应窗口最小化装置开机情况下,一定显示有桌面模式,因此,桌面模式窗口栈也一直处于启动状态。For example, if a window displayed in a window mode is currently displayed, the currently activated window stack includes a desktop mode stack and a window mode stack. It should be noted that when the corresponding window minimization device is turned on, the desktop mode must be displayed. Therefore, the desktop mode window stack is always in the activated state.
且所启动的窗口栈集合中各窗口栈之间存在显示层次,而各窗口栈的显示层次通常基于用户对窗口的操作时间距离当前时间的时长进行排列,距离当前时间越长,则所处的层次越低,并且显示层次会基于用户的操作而变化。And there is a display level between the window stacks in the started window stack set, and the display level of each window stack is usually arranged based on the length of time the user operates the window from the current time. The longer the distance from the current time, the longer The lower the level, and the display level will change based on user operations.
对于当前操作的窗口,通常位于最上层。例如,如图8所示,在未输入最小化指令前,窗口模式Stack位于桌面模式Stack的上层,而启动临时Stack后,临时Stack位于最上层,窗口模式Stack位于中间层,桌面模式Stack位于最下层。For the currently operating window, it is usually located at the top level. For example, as shown in Figure 8, before the minimize command is entered, the window mode Stack is located at the upper layer of the desktop mode Stack, and after the temporary stack is started, the temporary Stack is located at the top layer, the window mode Stack is located at the middle layer, and the desktop mode Stack is located at the bottom. Lower level.
通过将临时Stack调整至最下层后,各窗口Stack的显示层次从上往下依次为窗口模式Stack、桌面模式Stack以及临时Stack。After adjusting the temporary Stack to the lowest layer, the display level of each window Stack is window mode Stack, desktop mode Stack, and temporary stack from top to bottom.
在一实施方式中,对于同一窗口栈(Stack)中的多个窗口之间也具有不同的显示层次。同样的,对于各窗口的显示层次通常基于用户对窗口的操作时间距离当前时间的时长进行排列,距离当前时间越长,则所处的层次越低,并且显示层次会基于用户的操作而变化。In one embodiment, there are also different display levels among multiple windows in the same stack. Similarly, the display level of each window is usually arranged based on the length of time the user operates the window to the current time. The longer the distance from the current time, the lower the level, and the display level will change based on the user's operation.
例如,如图9所示,若对于窗口模式Stack中存放的四个窗口,分别为Task1、Task2、Task3和Task4,且这四个窗口在Stack的顺序从上往下依次为Task4、Task3、Task2和Task1,若用户当前选中Task2,则将Task2调至最上层,调整后的窗口顺序从上往下依次为Task2、Task4、Task3和Task1。For example, as shown in Figure 9, if the four windows stored in the window mode Stack are Task1, Task2, Task3, and Task4, and the order of these four windows in Stack is Task4, Task3, and Task2 from top to bottom. And Task1, if the user currently selects Task2, then Task2 will be transferred to the top layer, and the adjusted window order will be Task2, Task4, Task3 and Task1 from top to bottom.
在一实施方式中,也可对添加了目标窗口的临时窗口栈进行标记,并标记为不可见,从而隐藏目标窗口以实现窗口的最小化效果。In one embodiment, the temporary window stack to which the target window is added may also be marked and marked as invisible, so as to hide the target window to achieve the minimization effect of the window.
本申请实施例的方案在执行时,接收针对显示屏上的目标窗口输入的最小化指令,获取临时窗口栈;将所述目标窗口添加至所述临时窗口栈中;获取当前启动的窗口栈集合,将添加了所述目标窗口的所述临时窗口栈调整至所述窗口栈集合的最底层。可以通过所定义的临时窗口栈存放目标窗口,并将该临时窗口栈调整至所有窗口栈的最下层,从而可以实现安卓系统中应用窗口的最小化功能。When the solution of the embodiment of the present application is executed, it receives the minimization instruction input for the target window on the display screen, obtains the temporary window stack; adds the target window to the temporary window stack; obtains the currently activated window stack set , Adjusting the temporary window stack to which the target window is added to the bottommost layer of the window stack set. The target window can be stored through the defined temporary window stack, and the temporary window stack can be adjusted to the lowest layer of all window stacks, so that the function of minimizing application windows in the Android system can be realized.
请参见图10,为本申请实施例提供的一种窗口最小化方法的流程示意图。本实施例以窗口最小化方法应用于交互智能平板中来举例说明。该窗口最小化方法可以包括以下步骤:Please refer to FIG. 10, which is a schematic flowchart of a window minimization method provided by an embodiment of this application. In this embodiment, the window minimization method is applied to an interactive smart tablet as an example. The window minimization method may include the following steps:
S201,接收针对显示屏上的目标窗口输入的最小化指令,获取所存储的至少一个栈标识编号;S201: Receive a minimization instruction input for a target window on the display screen, and obtain at least one stored stack identification number;
目标窗口是指在窗口最小化装置的显示屏的当前显示界面所显示的应用窗口。若在当前显示界面上显示有多个应用窗口,目标窗口即为用户在这多个应用窗口中所选中的应用窗口。The target window refers to the application window displayed on the current display interface of the display screen of the window minimization device. If multiple application windows are displayed on the current display interface, the target window is the application window selected by the user among the multiple application windows.
所输入的窗口最小化指令可以为针对目标窗口的工具栏上的最小化按钮输入,也可以为通过语音方式输入。The inputted window minimization instruction may be input by the minimize button on the toolbar of the target window, or may be input by voice.
栈标识编号用于标识不同类型的窗口栈,也就是说,一个栈标识编号对应一种类型的窗口栈。由于窗口可以不同的显示模式进行显示,而窗口需要通过窗口栈进行承载,不同显示模式的窗口由不同类型的窗口栈承载,因此,在存储空间中存储有多个栈标识编号,其中分别对应窗口模式栈、分屏模式栈、桌面模式栈、全屏模式栈、画中画模式栈以及临时栈。The stack identification number is used to identify different types of window stacks, that is, one stack identification number corresponds to one type of window stack. Since windows can be displayed in different display modes, and windows need to be carried by window stacks, windows with different display modes are carried by different types of window stacks. Therefore, there are multiple stack identification numbers stored in the storage space, which correspond to the windows respectively. Mode stack, split screen mode stack, desktop mode stack, full screen mode stack, picture-in-picture mode stack, and temporary stack.
所述栈标识编号可以为二进制编号,如00000000、00000001等,也可以为阿拉伯数字,如0、1、2、3、4等。The stack identification number can be a binary number, such as 00000000, 00000001, etc., or an Arabic numeral, such as 0, 1, 2, 3, 4, etc.
S202,在所述至少一个栈标识编号中查找大于预设编号的目标栈标识编号集合,将所述目标栈标识编号集合中的任一栈标识编号确定为目标栈标识编号;S202: Search for a target stack identification number set greater than a preset number in the at least one stack identification number, and determine any stack identification number in the target stack identification number set as the target stack identification number;
由于在Android系统只定义了6个Stack,其对应的栈标识编号stackid取值如下:Since only 6 Stacks are defined in the Android system, the corresponding stack ID number stackid takes the following values:
桌面模式stack,stackid=0,该stack只有一个task,即只有一个应用程序。该应用程序就是系统桌面程序;Desktop mode stack, stackid=0, the stack has only one task, that is, only one application. The application is the system desktop program;
全屏模式stack,stackid=1,该stack用于容纳所有全屏显示的task;Full screen mode stack, stackid=1, the stack is used to accommodate all tasks displayed in full screen;
窗口模式stack,stackid=2,该stack用于容纳所有以窗口显示的task;Window mode stack, stackid=2, this stack is used to accommodate all tasks displayed in windows;
分屏模式stack,stackid=3,该stack用于容纳所有分屏显示的task;Split-screen mode stack, stackid=3, the stack is used to accommodate all split-screen display tasks;
画中画模式stack,stackid=4,该stack用于容纳画中画显示的task,仅有一个task;Picture-in-picture mode stack, stackid=4, the stack is used to accommodate tasks for picture-in-picture display, and there is only one task;
最近应用stack,stackid=5,该stack用于容纳最近打开过的应用task。The recent application stack, stackid=5, the stack is used to accommodate the recently opened application tasks.
因此,预设编号可以为大于5的任一值,或者为区别于0、1、2、3、4、5的任一值。Therefore, the preset number can be any value greater than 5, or any value different from 0, 1, 2, 3, 4, and 5.
在本申请实施例中,预先定义了stackid>5的至少一个临时窗口栈。所述预设编号可以为5,当查找到stackid>5的多个临时窗口栈时,如stackid=6、stackid=7,则可在其中任选一个(如stackid=6)作为目标栈标识编号。In the embodiment of the present application, at least one temporary window stack with stackid>5 is predefined. The preset number may be 5. When multiple temporary window stacks with stackid>5 are found, such as stackid=6, stackid=7, one of them (such as stackid=6) can be selected as the target stack identification number .
S203,将所述目标栈标识编号指示的窗口栈作为临时窗口栈,并启动所述临时窗口栈;S203: Use the window stack indicated by the target stack identification number as a temporary window stack, and start the temporary window stack;
将stackid=6对应的窗口栈作为临时窗口栈,然后进行启动,启动后,该临时窗口栈可位于当前已启动的窗口栈的最上层。当然也可位于任一层。The window stack corresponding to stackid=6 is used as the temporary window stack, and then it is started. After starting, the temporary window stack can be located at the uppermost layer of the currently started window stack. Of course, it can also be located on any floor.
S204,将所述目标窗口添加至所述临时窗口栈中;S204: Add the target window to the temporary window stack;
具体可参见S102,此处不再赘述。For details, refer to S102, which will not be repeated here.
S205,获取当前启动的窗口栈集合,将添加了所述目标窗口的所述临时窗口栈调整至所述窗口栈集合的最底层。S205: Obtain a currently activated window stack set, and adjust the temporary window stack to which the target window is added to the bottommost layer of the window stack set.
具体可参见S103,此处不再赘述。For details, refer to S103, which will not be repeated here.
在一实施方式中,当所述目标窗口包括多个时,获取至少一个临时窗口栈;将所述多个目标窗口分别添加至所述至少一个临时窗口栈中;获取针对所述多个目标窗口输入最小化指令的先后顺序,按照所述先后顺序将所述至少一个临时栈分别调整至所述窗口栈集合的最底层。In one embodiment, when the target window includes multiple target windows, at least one temporary window stack is acquired; the multiple target windows are added to the at least one temporary window stack respectively; Input the sequence of minimizing instructions, and adjust the at least one temporary stack to the bottom of the window stack set according to the sequence.
其中,所谓输入最小化指令的先后顺序,可以理解为,针对显示屏上所显示的多个应用 窗口,用户点击每个应用窗口上最小化按钮的先后顺序。Among them, the so-called sequence of inputting minimization instructions can be understood as the sequence in which the user clicks the minimize button on each application window for multiple application windows displayed on the display screen.
例如,若用户先后分别针对显示屏上的应用1、应用2和应用3输入最小化指令,且将应用1和应用2添加到临时栈1中,将应用3添加到临时栈2中,在栈的顺序调整完成后,临时栈2位于最底层,临时栈1位于临时栈2的上层。For example, if the user successively inputs minimization instructions for Application 1, Application 2 and Application 3 on the display screen, and adds Application 1 and Application 2 to temporary stack 1, add application 3 to temporary stack 2. After the order adjustment is completed, temporary stack 2 is located at the bottom layer, and temporary stack 1 is located at the upper layer of temporary stack 2.
在一实施方式中,当针对工具栏上的最大化按钮输入窗口最大化指令时,则将该目标窗口的宽和高分别调整到显示屏宽度和显示屏高度,实现全屏显示效果,但仍保持调整前的显示模式(如窗口模式)。在安卓系统中,也可以实现窗口模式的最大化调节,并且不会退出窗口模式,操作简单,便于继续操作其他窗口。In one embodiment, when the window maximization command is input for the maximize button on the toolbar, the width and height of the target window are adjusted to the display width and display height, respectively, to achieve a full-screen display effect, but still maintain The display mode before adjustment (such as window mode). In the Android system, the window mode can also be maximized without exiting the window mode. The operation is simple and it is convenient to continue to operate other windows.
在一实施方式中,对于显示屏上预先设置有多个吸附功能区域,如图11所示,包括全屏吸附区域、半屏吸附区域以及四分之一屏吸附区域。其中,半屏吸附区域包括左半屏吸附区域和右半屏吸附区域,四分之一屏吸附区域包括左上四分之一吸附区域、右上四分之一吸附区域、左下四分之一吸附区域和右下四分之一吸附区域。In one embodiment, a plurality of suction function areas are preset on the display screen, as shown in FIG. 11, including a full-screen suction area, a half-screen suction area, and a quarter-screen suction area. Among them, the half screen adsorption area includes the left half screen adsorption area and the right half screen adsorption area. The quarter screen adsorption area includes the upper left quarter adsorption area, the upper right quarter adsorption area, and the lower left quarter adsorption area. And the lower right quarter of the adsorption area.
通过鼠标等外设或手指选中目标窗口进行移动,当移动到边缘处时,判断触控位置所属的吸附区域,当松开手指或者外设后,目标窗口调整为该吸附区域大小的尺寸。例如,若确定触控位置所属的吸附区域为右上四分之一吸附区域,则将目标窗口在该区域范围内以四分之一屏大小进行显示,如图12所示。通过在显示屏边缘设置吸附区域,在将目标窗口移动到显示屏边缘时,不会退出当前的显示模式(如窗口模式),操作简单,便于继续操作其他窗口。Use peripherals such as a mouse or a finger to select the target window to move. When moving to the edge, determine the adsorption area to which the touch position belongs. When the finger or peripheral is released, the target window is adjusted to the size of the adsorption area. For example, if it is determined that the adsorption area to which the touch position belongs is the upper-right quarter adsorption area, the target window is displayed within the area of the quarter screen size, as shown in FIG. 12. By setting the adsorption area on the edge of the display screen, when the target window is moved to the edge of the display screen, the current display mode (such as window mode) will not exit, and the operation is simple, which is convenient for continuing to operate other windows.
在一实施方式中,当移动到边缘处时,展示包括当前所属吸附区域的提示信息,以便于用户将目标窗口快速准确的移动到想要显示的吸附区域。In one embodiment, when moving to the edge, the prompt information including the current adsorption area is displayed, so that the user can quickly and accurately move the target window to the adsorption area to be displayed.
在一实施方式中,对于显示屏上显示的多应用窗口(即多个目标窗口),当窗口之间存在重叠区域时,一个或多个窗口上所展示的内容会被其他窗口所覆盖,尤其是当选中的窗口显示尺寸最大时,该窗口会自动调整至所有窗口的最顶层,并将其余窗口全部覆盖,从而影响多窗口的使用。In one embodiment, for multi-application windows (ie, multiple target windows) displayed on the display screen, when there is an overlapping area between the windows, the content displayed on one or more windows will be covered by other windows, especially When the selected window has the largest display size, the window will automatically be adjusted to the top level of all windows and cover all other windows, thus affecting the use of multiple windows.
例如,如图13所示,当教师采用交互智能平板进行授课时,开启授课PPT窗口、计算器窗口以及草稿内容窗口,若在授课过程中需要在草稿内容窗口上进行书写演示,当选中草稿内容窗口时,该窗口在最顶层显示。在本申请实施例中,通过预先对指定窗口进行属性标记,即标记为不切换至最顶层,当用户选中该指定窗口进行操作时,则仍在原显示层,从而不影响其它窗口的使用。For example, as shown in Figure 13, when a teacher uses an interactive smart tablet to teach, open the teaching PPT window, calculator window, and draft content window. If you need to write and demonstrate on the draft content window during the course, when the draft content is selected Window, the window is displayed at the top level. In the embodiment of the present application, by pre-marking the attributes of the designated window, that is, marking it as not switching to the topmost layer, when the user selects the designated window for operation, it is still in the original display layer, so that the use of other windows is not affected.
例如,如图14所示,在窗口模式Stack下承载有窗口1Task、窗口2Task和窗口3Task,且这三个窗口的当前显示层次从上往下依次为窗口3Task、窗口2Task和窗口1Task,若预先对窗口2Task标识为不切至最顶,当用户选中窗口2进行操作时,该窗口不切换到窗口模式Stack的最顶部,从而不响应窗口3和窗口1的使用。For example, as shown in Figure 14, in the window mode Stack, there are window 1Task, window 2Task, and window 3Task, and the current display levels of these three windows are window 3Task, window 2Task, and window 1Task from top to bottom. The window 2 Task is identified as not being cut to the top. When the user selects window 2 for operation, the window does not switch to the top of the window mode Stack, so that it does not respond to the use of window 3 and window 1.
在一实施方式中,对于显示屏上显示的多应用窗口,一个大屏窗口和一个小屏窗口,且小屏窗口位于大屏窗口上,当用户选中大屏窗口时,则会覆盖小屏窗口,从而影响小屏窗口的使用。In one embodiment, for the multi-application windows displayed on the display screen, one large-screen window and one small-screen window, and the small-screen window is located on the large-screen window, when the user selects the large-screen window, it will cover the small-screen window , Thereby affecting the use of small screen windows.
例如,如图15所示,在远程会议场景下,显示屏上显示有大屏的会议内容展示窗口和小屏的会议视频窗口,通过预先对会议视频窗口进行属性标记并标记为固定显示在所有窗口的最顶层,这样用户在使用会议内容展示窗口时,也能看到远端会议的视频。For example, as shown in Figure 15, in a remote meeting scenario, a large-screen meeting content display window and a small-screen meeting video window are displayed on the display screen. The attributes of the meeting video window are marked in advance and marked as fixed display in all The top level of the window, so that users can see the video of the remote meeting when using the meeting content display window.
例如,如图16所示,在窗口模式Stack下承载有窗口1Task、窗口2Task和窗口3Task, 且这三个窗口的当前显示层次从上往下依次为窗口3Task、窗口2Task和窗口1Task,若预先对窗口3Task标识为固定在最顶层,当用户选中窗口2进行操作时,该窗口切换到窗口3Task的下一层,当用户选中窗口1进行操作时,该窗口切换到窗口3Task的下一层,从而不会遮盖住窗口1或窗口2。For example, as shown in Figure 16, in the window mode Stack, there are window 1Task, window 2Task, and window 3Task, and the current display levels of these three windows are window 3Task, window 2Task, and window 1Task from top to bottom. The window 3Task is identified as being fixed at the top level. When the user selects window 2 for operation, the window switches to the next layer of window 3Task, and when the user selects window 1 for operation, the window switches to the next layer of window 3Task. This will not cover window 1 or window 2.
本申请实施例的方案在执行时,接收针对显示屏上的目标窗口输入的最小化指令,获取临时窗口栈;将所述目标窗口添加至所述临时窗口栈中;获取当前启动的窗口栈集合,将添加了所述目标窗口的所述临时窗口栈调整至所述窗口栈集合的最底层。可以通过所定义的临时窗口栈存放目标窗口,并将该临时窗口栈调整至所有窗口栈的最下层,从而可以实现安卓系统中应用窗口的最小化功能。同时,对需要固定在最上层显示的应用窗口或不切换至最上层显示的应用窗口预先进行属性标记,可以避免覆盖其他应用窗口而影响其他窗口的使用。另外,还可预先在显示屏边缘定义吸附区域,从而方便在将目标窗口移动到显示屏边缘时,在不退出当前显示模式的同时可以所设定的尺寸进行显示,丰富了窗口的显示方式。When the solution of the embodiment of the present application is executed, it receives the minimization instruction input for the target window on the display screen, obtains the temporary window stack; adds the target window to the temporary window stack; obtains the currently activated window stack set , Adjusting the temporary window stack to which the target window is added to the bottommost layer of the window stack set. The target window can be stored through the defined temporary window stack, and the temporary window stack can be adjusted to the lowest layer of all window stacks, so that the function of minimizing application windows in the Android system can be realized. At the same time, the application windows that need to be fixed on the top level display or the application windows that do not switch to the top level display are marked in advance to avoid overwriting other application windows and affecting the use of other windows. In addition, the adsorption area can be defined in advance on the edge of the display screen, so that when the target window is moved to the edge of the display screen, it can be displayed at the set size without exiting the current display mode, which enriches the window display mode.
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are device embodiments of this application, which can be used to implement the method embodiments of this application. For details not disclosed in the device embodiment of this application, please refer to the method embodiment of this application.
请参见图17,其示出了本申请一个示例性实施例提供的窗口最小化装置的结构示意图。该窗口最小化装置可以通过软件、硬件或者两者的结合实现成为终端的全部或一部分。该装置1包括临时栈获取模块10、窗口添加模块20和临时栈调整模块30。Please refer to FIG. 17, which shows a schematic structural diagram of a window minimizing device provided by an exemplary embodiment of the present application. The window minimization device can be implemented as all or a part of the terminal through software, hardware or a combination of the two. The device 1 includes a temporary stack acquisition module 10, a window adding module 20, and a temporary stack adjustment module 30.
临时栈获取模块10,用于接收针对显示屏上的目标窗口输入的最小化指令,获取临时窗口栈;The temporary stack obtaining module 10 is used to receive a minimization instruction input for a target window on the display screen, and obtain a temporary window stack;
窗口添加模块20,用于将所述目标窗口添加至所述临时窗口栈中;A window adding module 20, configured to add the target window to the temporary window stack;
临时栈调整模块30,用于获取当前启动的窗口栈集合,将添加了所述目标窗口的所述临时窗口栈调整至所述窗口栈集合的最底层。The temporary stack adjustment module 30 is configured to obtain the currently activated window stack set, and adjust the temporary window stack to which the target window is added to the bottom of the window stack set.
在一实施方式中,如图18所示,所述装置还包括:In an embodiment, as shown in FIG. 18, the device further includes:
窗口栈隐藏模块40,用于隐藏所述添加了所述目标窗口的所述临时窗口栈。The window stack hiding module 40 is configured to hide the temporary window stack to which the target window is added.
在一实施方式中,如图19所示,所述临时栈获取模块10,包括:In an embodiment, as shown in FIG. 19, the temporary stack obtaining module 10 includes:
编号获取单元101,用于获取所存储的至少一个栈标识编号;The number obtaining unit 101 is configured to obtain at least one stored stack identification number;
临时栈启动单元102,用于在所述至少一个栈标识编号中查找大于预设编号的目标栈标识编号,将所述目标栈标识编号指示的窗口栈作为临时窗口栈,并启动所述临时窗口栈。The temporary stack activation unit 102 is configured to search for a target stack identification number greater than a preset number among the at least one stack identification number, use the window stack indicated by the target stack identification number as a temporary window stack, and start the temporary window Stack.
在一实施方式中,所述临时栈启动单元102,具体用于:In an embodiment, the temporary stack activation unit 102 is specifically configured to:
在所述至少一个栈标识编号中查找大于预设编号的目标栈标识编号集合,将所述目标栈标识编号集合中的任一栈标识编号确定为目标栈标识编号。Search for a target stack identification number set greater than a preset number in the at least one stack identification number, and determine any stack identification number in the target stack identification number set as the target stack identification number.
在一实施方式中,当所述目标窗口包括多个时,所述临时栈获取模块10,具体用于:In an embodiment, when the target window includes multiple, the temporary stack obtaining module 10 is specifically configured to:
获取至少一个临时窗口栈;Obtain at least one temporary window stack;
所述窗口添加模块20,具体用于:The window adding module 20 is specifically used for:
将所述多个目标窗口分别添加至所述至少一个临时窗口栈中;Adding the multiple target windows to the at least one temporary window stack respectively;
所述临时栈调整模块30,具体用于:The temporary stack adjustment module 30 is specifically used for:
获取针对所述多个目标窗口输入最小化指令的先后顺序,按照所述先后顺序将所述至少一个临时栈分别调整至所述窗口栈集合的最底层。The sequence of inputting minimization instructions for the multiple target windows is acquired, and the at least one temporary stack is adjusted to the lowest level of the window stack set according to the sequence.
在一实施方式中,所述临时栈获取模块10,具体用于:In one embodiment, the temporary stack obtaining module 10 is specifically used for:
在当前启动的窗口栈集合的最顶层创建临时窗口栈。Create a temporary window stack at the top of the currently started window stack collection.
需要说明的是,上述实施例提供的窗口最小化装置在执行窗口最小化方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的窗口最小化装置与窗口最小化方法实施例属于同一构思,其体现实现过程详见方法实施例,这里不再赘述。It should be noted that, when the window minimization apparatus provided in the above embodiment executes the window minimization method, only the division of the above functional modules is used as an example for illustration. In actual applications, the above functions can be allocated to different functions according to needs. Module completion means dividing the internal structure of the device into different functional modules to complete all or part of the functions described above. In addition, the window minimization device provided in the above-mentioned embodiment and the window minimization method embodiment belong to the same concept, and the implementation process is detailed in the method embodiment, which will not be repeated here.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the foregoing embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.
本申请实施例的方案在执行时,接收针对显示屏上的目标窗口输入的最小化指令,获取临时窗口栈;将所述目标窗口添加至所述临时窗口栈中;获取当前启动的窗口栈集合,将添加了所述目标窗口的所述临时窗口栈调整至所述窗口栈集合的最底层。可以通过所定义的临时窗口栈存放目标窗口,并将该临时窗口栈调整至所有窗口栈的最下层,从而可以实现安卓系统中应用窗口的最小化功能。When the solution of the embodiment of the present application is executed, it receives the minimization instruction input for the target window on the display screen, obtains the temporary window stack; adds the target window to the temporary window stack; obtains the currently activated window stack set , Adjusting the temporary window stack to which the target window is added to the bottommost layer of the window stack set. The target window can be stored through the defined temporary window stack, and the temporary window stack can be adjusted to the lowest layer of all window stacks, so that the function of minimizing application windows in the Android system can be realized.
本申请实施例还提供了一种计算机存储介质,所述计算机存储介质可以存储有多条指令,所述指令适于由处理器加载并执行如上述图6-图16所示实施例的方法步骤,执行过程可以参见图6-图16所示实施例的说明,在此不进行赘述。The embodiment of the present application also provides a computer storage medium. The computer storage medium may store a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps of the embodiments shown in FIGS. 6-16. For the execution process, please refer to the description of the embodiment shown in FIG. 6 to FIG. 16, which is not repeated here.
本申请还提供了一种计算机程序产品,该计算机程序产品存储有至少一条指令,所述至少一条指令由所述处理器加载并执行如上述图6-图16所示实施例的方法步骤,执行过程可以参见图6-图16所示实施例的说明,在此不进行赘述。The present application also provides a computer program product, the computer program product stores at least one instruction, the at least one instruction is loaded by the processor and executes the method steps of the embodiment shown in FIGS. 6-16, and executes For the process, refer to the description of the embodiment shown in FIG. 6 to FIG. 16, which will not be repeated here.
请参见图20,为本申请实施例提供了一种交互智能平板的结构示意图。如图20所示,所述交互智能平板1000可以包括:至少一个处理器1001,至少一个网络接口1004,用户接口1003,存储器1005,至少一个通信总线1002。Please refer to FIG. 20, which provides a schematic structural diagram of an interactive smart tablet according to an embodiment of this application. As shown in FIG. 20, the interactive smart tablet 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002.
其中,通信总线1002用于实现这些组件之间的连接通信。Among them, the communication bus 1002 is used to implement connection and communication between these components.
其中,用户接口1003可以包括显示屏(Display)、摄像头(Camera),可选用户接口1003还可以包括标准的有线接口、无线接口。The user interface 1003 may include a display screen (Display) and a camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
其中,网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。Among them, the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
其中,处理器1001可以包括一个或者多个处理核心。处理器1001利用各种借口和线路连接整个交互智能平板1000内的各个部分,通过运行或执行存储在存储器1005内的指令、程序、代码集或指令集,以及调用存储在存储器1005内的数据,执行交互智能平板1000的各种功能和处理数据。在一实施方式中,处理器1001可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1001可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1001中,单独通过一块芯片进行实现。The processor 1001 may include one or more processing cores. The processor 1001 uses various excuses and lines to connect the various parts of the entire interactive smart tablet 1000, by running or executing instructions, programs, code sets, or instruction sets stored in the memory 1005, and calling data stored in the memory 1005, Perform various functions of the interactive smart tablet 1000 and process data. In one embodiment, the processor 1001 may use one of digital signal processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). At least one form of hardware implementation. The processor 1001 may be integrated with one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is used to render and draw the content that the display needs to display; the modem is used to process wireless communication. It is understandable that the above-mentioned modem may not be integrated into the processor 1001, but may be implemented by a chip alone.
其中,存储器1005可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。在一实施方式中,该存储器1005包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器1005可用于存储指令、程序、代码、代码集或指令集。存储器1005可包括存储程序区和存储数据区,其中,存储程序 区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及到的数据等。存储器1005可选的还可以是至少一个位于远离前述处理器1001的存储装置。如图20所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及窗口最小化应用程序。The memory 1005 may include random access memory (RAM) or read-only memory (Read-Only Memory). In one embodiment, the memory 1005 includes a non-transitory computer-readable storage medium. The memory 1005 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 1005 may include a storage program area and a storage data area, where the storage program area may store instructions for implementing the operating system and instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), Instructions used to implement the foregoing method embodiments, etc.; the storage data area can store the data involved in the foregoing method embodiments. Optionally, the memory 1005 may also be at least one storage device located far away from the foregoing processor 1001. As shown in FIG. 20, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a window minimization application program.
在图20所示的交互智能平板1000中,用户接口1003主要用于为用户提供输入的接口,获取用户输入的数据;而处理器1001可以用于调用存储器1005中存储的窗口最小化应用程序,并执行以下操作:In the interactive smart tablet 1000 shown in FIG. 20, the user interface 1003 is mainly used to provide an input interface for the user to obtain data input by the user; and the processor 1001 can be used to call a window minimization application program stored in the memory 1005, And do the following:
接收针对显示屏上的目标窗口输入的最小化指令,获取临时窗口栈;Receive the minimization instruction input for the target window on the display screen, and obtain the temporary window stack;
将所述目标窗口添加至所述临时窗口栈中;Adding the target window to the temporary window stack;
获取当前启动的窗口栈集合,将添加了所述目标窗口的所述临时窗口栈调整至所述窗口栈集合的最底层。Acquire the currently activated window stack set, and adjust the temporary window stack to which the target window is added to the bottommost window stack set.
在一个实施例中,所述处理器1001还执行以下操作:In an embodiment, the processor 1001 further performs the following operations:
隐藏所述添加了所述目标窗口的所述临时窗口栈。Hiding the temporary window stack to which the target window is added.
在一个实施例中,所述处理器1001在执行获取临时窗口栈时,执行以下操作:In an embodiment, the processor 1001 performs the following operations when executing the acquisition of the temporary window stack:
获取所存储的至少一个栈标识编号;Obtain at least one stored stack identification number;
在所述至少一个栈标识编号中查找大于预设编号的目标栈标识编号,将所述目标栈标识编号指示的窗口栈作为临时窗口栈,并启动所述临时窗口栈。Search for a target stack identification number larger than a preset number in the at least one stack identification number, use the window stack indicated by the target stack identification number as a temporary window stack, and start the temporary window stack.
在一个实施例中,所述处理器1001在执行在所述至少一个栈标识编号中查找大于预设编号的目标栈标识编号时,执行以下操作:In an embodiment, the processor 1001 performs the following operations when searching for a target stack identification number greater than a preset number in the at least one stack identification number:
在所述至少一个栈标识编号中查找大于预设编号的目标栈标识编号集合,将所述目标栈标识编号集合中的任一栈标识编号确定为目标栈标识编号。Search for a target stack identification number set greater than a preset number in the at least one stack identification number, and determine any stack identification number in the target stack identification number set as the target stack identification number.
在一个实施例中,当所述目标窗口包括多个时,所述处理器1001在执行获取临时窗口栈时,执行以下操作:In an embodiment, when the target window includes a plurality of target windows, the processor 1001 performs the following operations when performing obtaining a temporary window stack:
获取至少一个临时窗口栈;Obtain at least one temporary window stack;
所述处理器1001在执行将所述目标窗口添加至所述临时窗口栈中时,执行以下操作:When adding the target window to the temporary window stack, the processor 1001 performs the following operations:
将所述多个目标窗口分别添加至所述至少一个临时窗口栈中;Adding the multiple target windows to the at least one temporary window stack respectively;
所述处理器1001在执行将添加了所述目标窗口的所述临时窗口栈调整至所述窗口栈集合的最底层时,执行以下操作:When the processor 1001 adjusts the temporary window stack to which the target window is added to the lowest level of the window stack set, the processor 1001 performs the following operations:
获取针对所述多个目标窗口输入最小化指令的先后顺序,按照所述先后顺序将所述至少一个临时栈分别调整至所述窗口栈集合的最底层。The sequence of inputting minimization instructions for the multiple target windows is acquired, and the at least one temporary stack is adjusted to the lowest level of the window stack set according to the sequence.
在一个实施例中,所述处理器1001在执行获取临时窗口栈时,执行以下操作:In an embodiment, the processor 1001 performs the following operations when executing the acquisition of the temporary window stack:
在当前启动的窗口栈集合的最顶层创建临时窗口栈。Create a temporary window stack at the top of the currently started window stack collection.
本申请实施例的方案在执行时,接收针对显示屏上的目标窗口输入的最小化指令,获取临时窗口栈;将所述目标窗口添加至所述临时窗口栈中;获取当前启动的窗口栈集合,将添加了所述目标窗口的所述临时窗口栈调整至所述窗口栈集合的最底层。可以通过所定义的临时窗口栈存放目标窗口,并将该临时窗口栈调整至所有窗口栈的最下层,从而可以实现安卓系统中应用窗口的最小化功能。When the solution of the embodiment of the present application is executed, it receives the minimization instruction input for the target window on the display screen, obtains the temporary window stack; adds the target window to the temporary window stack; obtains the currently activated window stack set , Adjusting the temporary window stack to which the target window is added to the bottommost layer of the window stack set. The target window can be stored through the defined temporary window stack, and the temporary window stack can be adjusted to the lowest layer of all window stacks, so that the function of minimizing application windows in the Android system can be realized.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计 算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体或随机存储记忆体等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments. Wherein, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory or a random storage memory, etc.

Claims (14)

  1. 一种窗口最小化方法,包括:A window minimization method includes:
    接收针对显示屏上的目标窗口输入的最小化指令,获取临时窗口栈;Receive the minimization instruction input for the target window on the display screen, and obtain the temporary window stack;
    将所述目标窗口添加至所述临时窗口栈中;Adding the target window to the temporary window stack;
    获取当前启动的窗口栈集合,将添加了所述目标窗口的所述临时窗口栈调整至所述窗口栈集合的最底层。Acquire the currently activated window stack set, and adjust the temporary window stack to which the target window is added to the bottommost window stack set.
  2. 根据权利要求1所述的方法,还包括:The method according to claim 1, further comprising:
    隐藏所述添加了所述目标窗口的所述临时窗口栈。Hiding the temporary window stack to which the target window is added.
  3. 根据权利要求1所述的方法,其中,所述获取临时窗口栈,包括:The method according to claim 1, wherein said obtaining a temporary window stack comprises:
    获取所存储的至少一个栈标识编号;Obtain at least one stored stack identification number;
    在所述至少一个栈标识编号中查找大于预设编号的目标栈标识编号,将所述目标栈标识编号指示的窗口栈作为临时窗口栈,并启动所述临时窗口栈。Search for a target stack identification number larger than a preset number in the at least one stack identification number, use the window stack indicated by the target stack identification number as a temporary window stack, and start the temporary window stack.
  4. 根据权利要求3所述的方法,其中,所述在所述至少一个栈标识编号中查找大于预设编号的目标栈标识编号,包括:The method according to claim 3, wherein the searching for a target stack identification number greater than a preset number in the at least one stack identification number comprises:
    在所述至少一个栈标识编号中查找大于预设编号的目标栈标识编号集合,将所述目标栈标识编号集合中的任一栈标识编号确定为目标栈标识编号。Search for a target stack identification number set greater than a preset number in the at least one stack identification number, and determine any stack identification number in the target stack identification number set as the target stack identification number.
  5. 根据权利要求1所述的方法,其中,当所述目标窗口包括多个时,所述获取临时窗口栈,包括:The method according to claim 1, wherein when the target window includes a plurality of windows, the obtaining a temporary window stack includes:
    获取至少一个临时窗口栈;Obtain at least one temporary window stack;
    所述将所述目标窗口添加至所述临时窗口栈中,包括:The adding the target window to the temporary window stack includes:
    将所述多个目标窗口分别添加至所述至少一个临时窗口栈中;Adding the multiple target windows to the at least one temporary window stack respectively;
    所述将添加了所述目标窗口的所述临时窗口栈调整至所述窗口栈集合的最底层,包括:The adjusting the temporary window stack with the target window added to the bottommost layer of the window stack set includes:
    获取针对所述多个目标窗口输入最小化指令的先后顺序,按照所述先后顺序将所述至少一个临时栈分别调整至所述窗口栈集合的最底层。The sequence of inputting minimization instructions for the multiple target windows is acquired, and the at least one temporary stack is adjusted to the lowest level of the window stack set according to the sequence.
  6. 根据权利要求1所述的方法,其中,所述获取临时窗口栈,包括:The method according to claim 1, wherein said obtaining a temporary window stack comprises:
    在当前启动的窗口栈集合的最顶层创建临时窗口栈。Create a temporary window stack at the top of the currently started window stack collection.
  7. 一种窗口最小化装置,包括:A window minimizing device includes:
    临时栈获取模块,用于接收针对显示屏上的目标窗口输入的最小化指令,获取临时窗口栈;Temporary stack acquisition module, used to receive the minimization instruction input for the target window on the display screen, and acquire the temporary window stack;
    窗口添加模块,用于将所述目标窗口添加至所述临时窗口栈中;A window adding module, configured to add the target window to the temporary window stack;
    临时栈调整模块,用于获取当前启动的窗口栈集合,将添加了所述目标窗口的所述临时窗口栈调整至所述窗口栈集合的最底层。The temporary stack adjustment module is used to obtain the currently activated window stack set, and adjust the temporary window stack to which the target window is added to the bottom of the window stack set.
  8. 根据权利要求7所述的装置,还包括:The device according to claim 7, further comprising:
    窗口栈隐藏模块,用于隐藏所述添加了所述目标窗口的所述临时窗口栈。The window stack hiding module is used to hide the temporary window stack to which the target window is added.
  9. 根据权利要求7所述的装置,其中,所述临时栈获取模块,包括:8. The apparatus according to claim 7, wherein the temporary stack obtaining module comprises:
    编号获取单元,用于获取所存储的至少一个栈标识编号;The number obtaining unit is used to obtain at least one stored stack identification number;
    临时栈启动单元,用于在所述至少一个栈标识编号中查找大于预设编号的目标栈标识编号,将所述目标栈标识编号指示的窗口栈作为临时窗口栈,并启动所述临时窗口栈。A temporary stack activation unit, configured to search for a target stack identification number greater than a preset number among the at least one stack identification number, use the window stack indicated by the target stack identification number as a temporary window stack, and start the temporary window stack .
  10. 根据权利要求9所述的装置,其中,所述临时栈启动单元,是用于:The apparatus according to claim 9, wherein the temporary stack activation unit is used to:
    在所述至少一个栈标识编号中查找大于预设编号的目标栈标识编号集合,将所述目标栈标识编号集合中的任一栈标识编号确定为目标栈标识编号。Search for a target stack identification number set greater than a preset number in the at least one stack identification number, and determine any stack identification number in the target stack identification number set as the target stack identification number.
  11. 根据权利要求7所述的装置,其中,当所述目标窗口包括多个时,所述临时栈获取模块,是用于:7. The device according to claim 7, wherein when the target window includes a plurality of windows, the temporary stack obtaining module is configured to:
    获取至少一个临时窗口栈;Obtain at least one temporary window stack;
    所述窗口添加模块,具体用于:The window adding module is specifically used for:
    将所述多个目标窗口分别添加至所述至少一个临时窗口栈中;Adding the multiple target windows to the at least one temporary window stack respectively;
    所述临时栈调整模块,具体用于:The temporary stack adjustment module is specifically used for:
    获取针对所述多个目标窗口输入最小化指令的先后顺序,按照所述先后顺序将所述至少一个临时栈分别调整至所述窗口栈集合的最底层。The sequence of inputting minimization instructions for the multiple target windows is acquired, and the at least one temporary stack is adjusted to the lowest level of the window stack set according to the sequence.
  12. 根据权利要求7所述的装置,其中,所述临时栈获取模块,是用于:7. The device according to claim 7, wherein the temporary stack acquisition module is used to:
    在当前启动的窗口栈集合的最顶层创建临时窗口栈。Create a temporary window stack at the top of the currently started window stack collection.
  13. 一种计算机存储介质,,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行如权利要求1~6任意一项的方法步骤。A computer storage medium that stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps according to any one of claims 1 to 6.
  14. 一种交互智能平板,包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行如权利要求1~6任意一项的方法步骤。An interactive smart tablet comprising: a processor and a memory; wherein the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the method steps according to any one of claims 1 to 6.
PCT/CN2019/124815 2019-06-11 2019-12-12 Window minimization method and apparatus, storage medium, and interactive intelligent panel WO2020248547A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910500166.2A CN110347459B (en) 2019-06-11 2019-06-11 Window minimization method and device, storage medium and interactive intelligent panel
CN201910500166.2 2019-06-11

Publications (1)

Publication Number Publication Date
WO2020248547A1 true WO2020248547A1 (en) 2020-12-17

Family

ID=68181781

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/124815 WO2020248547A1 (en) 2019-06-11 2019-12-12 Window minimization method and apparatus, storage medium, and interactive intelligent panel

Country Status (2)

Country Link
CN (1) CN110347459B (en)
WO (1) WO2020248547A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113721809A (en) * 2021-09-08 2021-11-30 遨博(江苏)机器人有限公司 Window display method and system

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110347459B (en) * 2019-06-11 2021-09-07 广州视源电子科技股份有限公司 Window minimization method and device, storage medium and interactive intelligent panel
CN112363783B (en) * 2020-10-26 2022-04-08 广州视源电子科技股份有限公司 Window switching method, device, medium and interactive panel
CN113052748B (en) * 2021-03-02 2023-05-16 长沙景嘉微电子股份有限公司 Graphics processor and video decoding display method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102937859A (en) * 2012-10-19 2013-02-20 山东大学 Realization method of desktop system based on Android operation system
US8667417B1 (en) * 2008-09-01 2014-03-04 Google Inc. Methods and systems for pop-up suppression
CN104461242A (en) * 2014-12-08 2015-03-25 深圳市嘉乐派科技有限公司 Multiwindow interface realization method based on Android operating system
CN105760038A (en) * 2014-12-16 2016-07-13 阿里巴巴集团控股有限公司 Multi-window display method and device
CN110347459A (en) * 2019-06-11 2019-10-18 广州视源电子科技股份有限公司 Window minimization method and device, storage medium and interactive intelligent panel

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004310655A (en) * 2003-04-10 2004-11-04 Matsushita Electric Ind Co Ltd Window stack control method
US8196055B2 (en) * 2006-01-30 2012-06-05 Microsoft Corporation Controlling application windows in an operating system
US10254942B2 (en) * 2014-07-31 2019-04-09 Microsoft Technology Licensing, Llc Adaptive sizing and positioning of application windows
CN106569652A (en) * 2015-10-13 2017-04-19 福州瑞芯微电子股份有限公司 Android multi-window displaying method and Android multi-window displaying device
CN107291456B (en) * 2017-06-06 2020-12-04 福州汇思博信息技术有限公司 Multi-screen display control method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8667417B1 (en) * 2008-09-01 2014-03-04 Google Inc. Methods and systems for pop-up suppression
CN102937859A (en) * 2012-10-19 2013-02-20 山东大学 Realization method of desktop system based on Android operation system
CN104461242A (en) * 2014-12-08 2015-03-25 深圳市嘉乐派科技有限公司 Multiwindow interface realization method based on Android operating system
CN105760038A (en) * 2014-12-16 2016-07-13 阿里巴巴集团控股有限公司 Multi-window display method and device
CN110347459A (en) * 2019-06-11 2019-10-18 广州视源电子科技股份有限公司 Window minimization method and device, storage medium and interactive intelligent panel

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113721809A (en) * 2021-09-08 2021-11-30 遨博(江苏)机器人有限公司 Window display method and system
CN113721809B (en) * 2021-09-08 2023-07-04 遨博(江苏)机器人有限公司 Window display method and system

Also Published As

Publication number Publication date
CN110347459A (en) 2019-10-18
CN110347459B (en) 2021-09-07

Similar Documents

Publication Publication Date Title
US11650716B2 (en) Operation methods of a smart interactive tablet, storage medium and related equipment
WO2020248547A1 (en) Window minimization method and apparatus, storage medium, and interactive intelligent panel
US20200110511A1 (en) Method and system for performing copy-paste operations on a device via user gestures
US20200371685A1 (en) Graphical User Interface Display Method And Electronic Device
CN110347317B (en) Window switching method and device, storage medium and interactive intelligent panel
US9710125B2 (en) Method for generating multiple windows frames, electronic device thereof, and computer program product using the method
US11604580B2 (en) Configuration of application execution spaces and sub-spaces for sharing data on a mobile touch screen device
KR102059648B1 (en) Display apparatus and method for controlling thereof
TWI522894B (en) Method in electronic device, computer program product and non-transitory computer readable recording medium
US20150331573A1 (en) Handheld mobile terminal device and method for controlling windows of same
AU2014287956B2 (en) Method for displaying and electronic device thereof
JP2014149833A (en) Image display method for multitasking operation, and terminal supporting the same
CN105683895A (en) User terminal device providing user interaction and method therefor
KR102102157B1 (en) Display apparatus for executing plurality of applications and method for controlling thereof
KR20100087834A (en) System and method for controlling function of portable terminal
WO2023125425A1 (en) Display method and apparatus, and electronic device
US11733855B2 (en) Application identifier display method and terminal device
CN106802754B (en) Electronic equipment icon display method and device
CN116088744A (en) Application control method and device thereof
EP4290374A1 (en) Application switching method and apparatus, terminal and storage medium
WO2022213389A1 (en) Component display method, mobile terminal, and storage medium
JP2015176493A (en) Terminal device, display program and display method
CN117009014A (en) Negative one-screen display method and device, electronic equipment and storage medium
CN115878235A (en) Multi-application display method and device, storage medium and interactive panel

Legal Events

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

Ref document number: 19933107

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

Country of ref document: EP

Kind code of ref document: A1