CN114764365B - Window presenting method, computing device and readable storage medium - Google Patents

Window presenting method, computing device and readable storage medium Download PDF

Info

Publication number
CN114764365B
CN114764365B CN202210671008.5A CN202210671008A CN114764365B CN 114764365 B CN114764365 B CN 114764365B CN 202210671008 A CN202210671008 A CN 202210671008A CN 114764365 B CN114764365 B CN 114764365B
Authority
CN
China
Prior art keywords
area
window
desktop
windows
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210671008.5A
Other languages
Chinese (zh)
Other versions
CN114764365A (en
Inventor
张海东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Uniontech Software Technology Co Ltd
Original Assignee
Uniontech Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Uniontech Software Technology Co Ltd filed Critical Uniontech Software Technology Co Ltd
Priority to CN202210671008.5A priority Critical patent/CN114764365B/en
Publication of CN114764365A publication Critical patent/CN114764365A/en
Application granted granted Critical
Publication of CN114764365B publication Critical patent/CN114764365B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Abstract

The invention discloses a window presenting method, computing equipment and a readable storage medium, and relates to the field of computers. The window presenting method of the invention comprises the following steps: the current desktop is divided into a plurality of regions, each of which includes one or more windows. Subsequently, in a first region of the plurality of regions, presenting one or more windows in a tiled manner; and presenting one or more windows in a stacked manner in a second region of the plurality of regions. It can be seen that a desktop of the present invention may include both a first area in which windows are presented in a tiled fashion and a second area in which windows are presented in a stacked fashion. Therefore, the method and the device can conveniently and quickly monitor important data in real time while maximally utilizing desktop display resources, and improve user experience.

Description

Window presenting method, computing device and readable storage medium
Technical Field
The present invention relates to the field of computers, and in particular, to a window presenting method, a computing device, and a readable storage medium.
Background
In daily work, users often need to view data of multiple windows in real time. However, most of current operating system desktops present windows in a stacked manner, so that if a user needs to check data of some of opened windows in real time, the sizes of the windows need to be manually adjusted one by one and are set on the uppermost layer, which is cumbersome to operate. Moreover, when the user needs to use other windows due to work, in order to display the windows on the current desktop and display the windows, the user needs to manually adjust the windows arranged on the uppermost layer one by one again, and user experience is greatly influenced.
Therefore, a new window presenting method is needed to solve the above problems.
Disclosure of Invention
To this end, the present invention provides a window rendering method, a computing device and a readable storage medium in an effort to solve or at least alleviate the above-identified problems.
According to an aspect of the present invention, there is provided a window presenting method including: dividing a current desktop into a plurality of areas, wherein each area in the plurality of areas comprises one or more windows; presenting one or more windows in a tiled manner in a first region of the plurality of regions; and presenting one or more windows in a stacked manner in a second region of the plurality of regions.
Optionally, in the window presenting method according to the present invention, the step of dividing the current desktop into a plurality of regions includes: and in response to the triggering operation of the desktop division interface or the input operation of a preset shortcut key, dividing the current desktop into a plurality of areas.
Optionally, in the window presenting method according to the present invention, the step of dividing the current desktop into a plurality of regions includes: responding to the triggering operation of a desktop dividing interface or the input operation of a preset shortcut key, and presenting a direction popup on a desktop, wherein the direction popup comprises a plurality of direction options; responding to the triggering operation of the target direction option, and determining a dividing direction and a dividing position; and dividing the current desktop to obtain a plurality of areas based on the dividing direction and the dividing position.
Optionally, in the window presenting method according to the present invention, further comprising: after the step of dividing the current desktop into a plurality of regions, a first region and a second region are determined based on the target direction option.
Optionally, in the window presenting method according to the present invention, the desktop further includes a third area located at an upper layer of the first area and/or the second area, and the message popup of the predefined application is presented on the third area, so that the message popup is presented at an uppermost layer of the current desktop.
Optionally, in the window presenting method according to the present invention, the predefined application includes one or more of the following: volume adjustment applications, case switching applications, and messaging applications.
Optionally, in the window presenting method according to the present invention, further comprising: in response to an operation of dragging a first window in the first area to the second area, moving the first window to the second area and presenting the first window in the second area in a stacked manner; and in response to an operation of dragging the second window in the second area to the first area, moving the second window to the first area and presenting the second window in a tiled manner in the first area.
Optionally, in the window presenting method according to the present invention, further comprising: hiding the first area and all windows within the first area in response to the operation of minimizing the first area; or in response to minimizing the second region, hiding the second region and all windows within the second region.
Optionally, in the window presentation method according to the present invention, the default window presentation mode of the desktop is a stacking mode or a tiling mode, and when the default window presentation mode of the desktop is the stacking mode, the size of the first area is less than or equal to half of the size of the desktop; when the default window presentation mode of the desktop is a tiled mode, the size of the second area is smaller than or equal to half of the size of the desktop.
Optionally, in the window presenting method according to the present invention, further comprising: and storing the position information and the window presenting mode of the first area and the position information and the window presenting mode of the second area.
Optionally, in the window presenting method according to the present invention, further comprising: and responding to the operation of starting the operating system, displaying the first area and the second area on the desktop based on the position information and the window presentation mode stored in the current operating system, and setting the corresponding window presentation mode.
According to yet another aspect of the invention, there is provided a computing device comprising: at least one processor; and a memory storing program instructions, wherein the program instructions are configured to be executed by the at least one processor, the program instructions comprising instructions for performing the window rendering method according to the present invention.
According to still another aspect of the present invention, there is provided a readable storage medium storing program instructions that, when read and executed by a computing device, cause the computing device to perform a window presenting method according to the present invention.
According to the window presenting method, the current desktop is divided into a plurality of areas, and each area in the plurality of areas comprises one or more windows. Wherein the one or more windows are presented in a tiled manner in a first region of the plurality of regions and the one or more windows are presented in a stacked manner in a second region of the plurality of regions.
It can be seen that the desktop of the present invention includes a first area where windows are presented in a tiled fashion and a second area where windows are presented in a stacked fashion. That is, the desktop of the present invention can present windows in both a tiled and stacked manner. Therefore, when a user opens a plurality of windows and needs to monitor data of some important windows in real time, the important windows needing to monitor the data in real time can be placed in the first area and presented in a tiled mode. Namely, for an important window needing to monitor data in real time, a user only needs to place the important window in a first area with a window presenting mode being a tiled mode, so that the operation of the user is simplified, and the experience of the user is improved.
In addition, the important windows of which the data need to be monitored in real time are presented in the first area in a tiled mode, and other windows can be presented in the second area in a stacked mode, so that the display area of the desktop can be fully utilized. In addition, when the user monitors the data of the important window in real time, if other windows are needed, the user can directly use the important window in the second area without adjusting the important window needing to monitor the data in real time again, and the user experience is further improved.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which are indicative of various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to be within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description read in conjunction with the accompanying drawings. Throughout this disclosure, like reference numerals generally refer to like parts or elements.
FIG. 1 shows a block diagram of a computing device 100, according to one embodiment of the invention;
FIG. 2 illustrates a flow diagram of a window rendering method 200 according to one embodiment of the invention;
FIG. 3 illustrates a schematic diagram of a directional popup including a graphical directional option, according to one embodiment of the present invention;
FIG. 4 illustrates a schematic diagram of a directional popup including a literal directional option, according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a partitioned region presentation window according to one embodiment of the invention;
FIG. 6 is a schematic diagram of a divided region presentation window according to yet another embodiment of the present invention;
FIG. 7 shows a schematic diagram of a third region according to one embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
At present, there are two main ways of presenting windows: stacking and flat laying.
The stacking mode is that windows are stacked and displayed on the desktop according to the levels. Obviously, when the operating system desktop presents the window in this way, the window occlusion problem can exist. Therefore, when a user needs to check data of a plurality of windows at the same time, the user needs to manually adjust the sizes of the windows one by one and set the windows on the uppermost layer, so that the operation is complex, and the user experience is influenced.
The window is displayed on the desktop in a tiled mode without being blocked. Therefore, the operating system desktop presents the windows in a tiled mode, and the problem of shielding among the windows can be solved. However, the window is presented in a tiled manner, which cannot fully utilize the space of the screen, and can cause serious space waste.
Based on this, the invention provides a window presenting method. The window presenting method provided by the invention can be executed in a computing device. FIG. 1 shows a block diagram of a computing device 100, according to one embodiment of the invention. It should be noted that the computing device 100 shown in fig. 1 is only an example, and in practice, the computing device for implementing the window presenting method of the present invention may be any type of device, and the hardware configuration thereof may be the same as the computing device 100 shown in fig. 1 or different from the computing device 100 shown in fig. 1. In practice, the computing device implementing the window presenting method of the present invention may add or delete hardware components of the computing device 100 shown in fig. 1, and the present invention does not limit the specific hardware configuration of the computing device.
As shown in FIG. 1, in a basic configuration 102, a computing device 100 typically includes a system memory 106 and one or more processors 104. A memory bus 108 may be used for communication between the processor 104 and the system memory 106.
Depending on the desired configuration, the processor 104 may be any type of processing, including but not limited to: a microprocessor (μ P), a microcontroller (μ C), a digital information processor (DSP), or any combination thereof. The processor 104 may include one or more levels of cache, such as a level one cache 110 and a level two cache 112, a processor core 114, and registers 116. The example processor core 114 may include an Arithmetic Logic Unit (ALU), a Floating Point Unit (FPU), a digital signal processing core (DSP core), or any combination thereof. The example memory controller 118 may be used with the processor 104, or in some implementations the memory controller 118 may be an internal part of the processor 104.
Depending on the desired configuration, system memory 106 may be any type of memory, including but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. The physical memory in the computing device is usually referred to as a volatile memory RAM, and data in the disk needs to be loaded into the physical memory to be read by the processor 104. System memory 106 may include an operating system 120, one or more applications 122, and program data 124. In some implementations, the application 122 can be arranged to execute instructions on an operating system with program data 124 by one or more processors 104. Operating system 120 may be, for example, Linux, Windows, etc., which includes program instructions for handling basic system services and performing hardware dependent tasks. The application 122 includes program instructions for implementing various user-desired functions, and the application 122 may be, for example, but not limited to, a browser, instant messenger, a software development tool (e.g., an integrated development environment IDE, a compiler, etc.), and the like. When the application 122 is installed into the computing device 100, a driver module may be added to the operating system 120.
When the computing device 100 is started, the processor 104 reads program instructions of the operating system 120 from the system memory 106 and executes them. The application 122 runs on top of the operating system 120, utilizing the operating system 120 and interfaces provided by the underlying hardware to implement various user-desired functions. When the user launches the application 122, the application 122 is loaded into the system memory 106, and the processor 104 reads and executes the program instructions of the application 122 from the system memory 106.
The computing device 100 also includes a storage device 132, the storage device 132 including removable storage 136 and non-removable storage 138, the removable storage 136 and the non-removable storage 138 each connected to the storage interface bus 134.
Computing device 100 may also include an interface bus 140 that facilitates communication from various interface devices (e.g., output devices 142, peripheral interfaces 144, and communication devices 146) to the basic configuration 102 via the bus/interface controller 130. The example output device 142 includes an image processing unit 148 and an audio processing unit 150. They may be configured to facilitate communication with various external devices, such as a display or speakers, via one or more a/V ports 152. Example peripheral interfaces 144 may include a serial interface controller 154 and a parallel interface controller 156, which may be configured to facilitate communication with external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., printer, scanner, etc.) via one or more I/O ports 158. An example communication device 146 may include a network controller 160, which may be arranged to facilitate communications with one or more other computing devices 162 over a network communication link via one or more communication ports 164.
A network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, in a modulated data signal, such as a carrier wave or other transport mechanism, and may include any information delivery media. A "modulated data signal" may be a signal that has one or more of its data set or its changes made in such a manner as to encode information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or private-wired network, and various wireless media such as acoustic, Radio Frequency (RF), microwave, Infrared (IR), or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
In a computing device 100 according to the invention, the application 122 includes instructions for performing the window presentation method 200, which may instruct the processor 104 to perform the window presentation method of the invention. Those skilled in the art will appreciate that the application 122 may include other applications 126 for implementing other functionality in addition to instructions for performing the window presentation method 200.
FIG. 2 shows a flow diagram of a window rendering method 200 according to one embodiment of the invention. Where method 200 may be performed in an operating system of a computing device (e.g., computing device 100 shown in fig. 1). The operating system may be, but is not limited to, Linux, Windows, and Macos operating systems. The invention is not limited with respect to the specific type of operating system.
As shown in FIG. 2, the window presenting method 200 of the present invention starts at step S210. In step S210, the current desktop is divided into a plurality of regions, each of the plurality of regions including one or more windows.
Wherein an operation may be set to trigger the operating system to perform the dividing step. The set operation may specifically be a trigger operation of the desktop partition interface or an input operation of a predetermined shortcut key. And the step is that the current desktop is divided into a plurality of areas in response to the triggering operation of the desktop division interface or the input operation of a preset shortcut key.
The desktop partitioning interface may be embodied as a desktop partitioning button. Thus, when the user clicks the button, the operating system divides the current desktop into a plurality of regions. Further, to facilitate user operation, a desktop division button may be displayed on a taskbar of the desktop, as shown in fig. 3. However, the predetermined shortcut key may be set as a combination key of WIN + ALT. Thus, when the user presses the WIN + ALT combination key, the operating system divides the current desktop into multiple regions.
It should be noted that the specific implementation manner, the display position, and the setting of the predetermined shortcut key of the desktop partition interface described above are only an example, and the present invention is not limited thereto. In the specific embodiment, a person skilled in the art can set the setting according to actual needs.
According to an embodiment of the present invention, the step of dividing the current desktop into a plurality of regions in response to a triggering operation on the desktop dividing interface or an input operation of a predetermined shortcut key specifically includes:
firstly, responding to the triggering operation of a desktop division interface or the input operation of a preset shortcut key, and presenting a direction popup on a desktop, wherein the direction popup comprises a plurality of direction options. Wherein each direction option indicates one division direction and one division position. That is, the direction popup is a popup including a plurality of options for indicating a division direction and a division position. Specifically, in some embodiments, the directional popup may include four directional options, i.e., a left directional option, a right directional option, an upper directional option, and a lower directional option, the left directional option indicates that the division direction is a longitudinal direction and the division position is a position at a predetermined width from the leftmost side of the desktop, the right directional option indicates that the division direction is a longitudinal direction and the division position is a position at a predetermined width from the rightmost side of the desktop, the upper directional option indicates that the division direction is a transverse direction and the division position is a position at a predetermined height from the uppermost side of the desktop, and the lower directional option indicates that the division direction is a transverse direction and the division position is a position at a predetermined height from the lowermost side of the desktop. In addition, it should be noted that the direction option in the direction popup may be a graphic option, such as four rectangles in the direction popup in fig. 3, or a text option, such as fig. 4, and the present invention is not limited thereto.
Then, in response to a trigger operation on the target direction option, a division direction and a division position are determined. The above-mentioned direction options all indicate a dividing direction and dividing position, so that when the triggering operation of the user on the target direction option in the direction popup is detected, the dividing direction and the dividing position can be determined based on the target direction option. For example, taking the graphical direction option shown in fig. 3 as an example, when a trigger operation of the user on the left rectangular option in the direction popup is detected, the division direction is determined to be vertical, and the division position is determined to be a position at a predetermined width from the leftmost side of the current desktop.
And finally, dividing the current desktop to obtain a plurality of areas based on the determined dividing direction and dividing position. Specifically, at the determined dividing position, the current desktop is divided along the determined dividing direction. Continuing to take the above example as an example, when the trigger operation of the user on the left rectangular option in the directional popup window is detected, it is determined that the division direction is vertical, the division position is a position at a predetermined width from the leftmost side of the current desktop, and then the current desktop is vertically divided at the position at the predetermined width from the leftmost side of the desktop, so as to obtain a plurality of regions.
According to an embodiment of the present invention, each direction option may also be given a function of setting a window presentation manner of an area to be different from a default window presentation manner. In this way, after the step of dividing the current desktop to obtain a plurality of regions based on the determined dividing direction and dividing position, a first region in which the window presentation mode is a tiled mode and a second region in which the window presentation mode is a stacked mode may be determined based on the target direction option and the default window presentation mode of the operating system desktop. Specifically, based on the target direction option, an area whose window presentation manner needs to be set to be different from the default window presentation manner is determined. And then, based on the default window presenting mode of the operating system desktop, determining the window presenting mode of the area. And finally, determining the first area and the second area based on the window presenting mode of each area.
For better understanding of this step, an example is given below, and the directional popup includes four rectangular directional options (as in fig. 3) of left, right, above, and below: the left rectangle option (i.e., the rectangle on the left) indicates that the dividing direction is vertical, the dividing position is a position at a predetermined width from the leftmost side of the desktop, and the window presentation manner of the divided leftmost region is set to be different from the default window presentation manner; the right rectangle option (i.e., the rectangle on the right) indicates that the dividing direction is vertical, the dividing position is a position at a predetermined width from the rightmost side of the desktop, and the window presentation manner of the divided rightmost region is set to be different from the default window presentation manner; the upper rectangle option (i.e., the rectangle located above) indicates that the division direction is horizontal, the division position is a position at a predetermined height from the uppermost of the desktop, and the window presentation manner of the divided uppermost region is set to be different from the default window presentation manner; the lower rectangle option (i.e., the rectangle located below) indicates that the division direction is horizontal, the division position is a position at a predetermined height from the lowermost of the desktop, and the window presentation manner of the divided lowermost region is set to be different from the default window presentation manner. In addition, the default window presentation mode of the operating system is a stacking mode, and the current desktop is not divided.
Then, when the triggering operation of the left rectangular option in the directional popup by the user is detected, the current desktop is longitudinally divided at a position with a preset width away from the leftmost side of the desktop to obtain two areas. And then, according to the fact that the target direction option is a left rectangular option, determining that the window presenting mode of the leftmost area needs to be set to be different from the default window presenting mode. Because the default window presenting mode of the current operating system desktop is a stacking mode and the current window presenting mode is only stacking and tiling, the window presenting mode of the left area is determined to be a tiling mode. Finally, according to the fact that the window presenting mode of the left area is a tiled mode and the window presenting mode of the right area is a stacked mode, it is determined that the left area is a first area and the right area is a second area, as shown in fig. 5.
The dimensions of the first region and the second region will be described below. Since the size of the divided region of the window presentation is different from the default window presentation, it should be generally smaller than or equal to half the size of the desktop. Therefore, when the default window presentation mode of the operating system desktop is the stacking mode, the window presentation mode of the divided first area is different from the default window presentation mode, and the size of the first area is smaller than or equal to half of the size of the desktop. And when the default window presenting mode of the operating system desktop is a tiled mode, the window presenting mode of the divided second area is different from the default window presenting mode, and the size of the second area is smaller than or equal to half of the desktop. Based on this, the predetermined width of the divided desktop is less than or equal to half of the desktop width, and the predetermined height is less than or equal to half of the desktop height. The present invention is not limited with respect to specific values of the predetermined width and the predetermined height. In addition, after dividing the desktop into a plurality of regions, the user may also adjust the size (i.e., dimension) of each region, for example, by dragging the edge of the region.
The current desktop is divided into a plurality of regions, and a first region is determined to present its windows in a tiled manner and a second region is determined to present its windows in a stacked manner. Thus, subsequently in step S220, one or more windows are presented in a tiled manner in a first one of the plurality of regions, and in step S230, one or more windows are presented in a stacked manner in a second one of the plurality of regions, as can be seen in fig. 5.
It can be seen that the present invention presents windows in a different manner in the first region than in the second region, and therefore the manner in which windows are presented should change as they migrate between the first and second regions. Specifically, in response to an operation of dragging a first window in a first area to a second area, the first window is moved to the second area and the first window is presented in a stacked manner in the second area. And in response to the operation of dragging the second window in the second area to the first area, moving the second window to the first area, and presenting the second window in a tiled manner in the first area.
Taking fig. 5 as an example, the desktop includes two regions, where the region on the left side is a first region, the window presentation mode is a tiled mode, and the region on the right side is a second region, and the window presentation mode is a stacked mode. When the operation that the user drags the window A located in the second area to the first area is detected, the window A is moved from the second area to the first area, the window A is presented in the first area in a tiled mode, and the window A is not presented in the second area any more, as shown in FIG. 6. It should be noted that, if a window is finally dragged to be located in both the first area and the second area, the portion of the window located in the first area will be located below the first area and will not be displayed.
Further, according to an embodiment of the present invention, for an area in which the divided window presentation manner is different from the default window presentation manner, it and the window therein may be minimized. Specifically, when the default window presentation mode of the operating system desktop is the stacking mode and the window presentation mode of the first area is different from the default window presentation mode, the first area and all windows in the first area can be hidden in response to the operation of minimizing the first area. And when the default window presenting mode of the operating system desktop is a tiled mode, and the window presenting mode of the second area is different from the default window presenting mode, the second area and all windows in the second area can be hidden in response to the operation of minimizing the second area. The operation of minimizing the first area and the second area may also be implemented as a trigger operation on a desktop partition interface or an input operation of a predetermined shortcut key. Specifically, after the user performs the trigger operation on the desktop partitioning interface, the operation of performing the trigger operation on the desktop partitioning interface again is an operation of minimizing the first area or the second area. Similarly, when the user performs the input operation of the predetermined shortcut key, the operation of performing the input operation of the predetermined shortcut key again is to minimize the first area or the second area. Of course, this is only an example, and the present invention is not limited with respect to the operation of minimizing the first area and minimizing the second area. In the specific embodiment, the person skilled in the art can set the setting according to the actual needs.
When the first area or the second area is minimized, in some embodiments, the area may also be automatically filled into the remaining area, so that the display area of the desktop can be fully utilized in real time. Taking fig. 5 as an example, the divided desktop includes a first area located on the left side and a second area located on the right side, and the default window presentation mode of the operating system desktop is a stacking mode. Obviously, the divided first area can be minimized. When the first area is minimized, the first area will be automatically filled into the second area. That is, after the first area is minimized, the second area, where the windows are rendered in a stacked manner, will occupy the entire desktop.
In addition, after the area with the window presenting mode different from the default window presenting mode is divided in the desktop, the area can be closed. Specifically, a division canceling option may be set in a right-key menu bar of the desktop division button, so that the user may close an area in which the divided window presentation manner is different from the default window presentation manner and a window therein. Of course, this is only an example, and the present invention is not particularly limited with respect to the closing operation. The specific details of closing the first area or the second area are similar to those of minimizing the first area or the second area, and reference may be made to the above description for minimization, which is not repeated here.
According to an embodiment of the present invention, the position information and the window presenting manner of the first area and the position information and the window presenting manner of the second area may also be stored, and when responding to the operation of starting the operating system, the first area and the second area are displayed on the desktop based on the position information and the window presenting manner stored in the current operating system, and the corresponding window presenting manner is set. Obviously, if the user powers off the desktop when dividing the desktop into a plurality of areas with different window presentation modes, the operating system will automatically display each area on the current desktop according to the position information and the window presentation mode of each area and set the window presentation mode of each area when the user powers on the desktop next time. That is to say, the invention can ensure that the positions of the areas in the desktop and the window presentation mode are completely the same as before the desktop is powered off after the desktop is powered on every time, thereby improving the experience of users.
In addition, the desktop of the invention also comprises a third area which is positioned on the upper layer of the first area and/or the second area, and the message popup of the predefined application is presented on the third area. In other words, the third area is a display area of a message popup of the predefined application and is located at the uppermost layer of the desktop. Wherein the predefined applications may include one or more of a volume adjustment application, a case switch application, and a messaging class application. Therefore, the popup window of the volume adjustment application, the case switching application and the message notification application can float on the uppermost layer of the desktop for display, as shown in fig. 7.
It should be noted that, when the desktop is divided, the existing desktop environment is not damaged. For common elements of the desktop, programs such as status bar, launchers, etc. are also used normally. Moreover, when a non-predefined application (other than the predefined application) is launched, the present invention displays its window in an area where the window is presented in the same manner as the default window. For example, the current desktop includes a first area where the window presentation mode is a tiled mode and a second area where the window presentation mode is a stacked mode, and the default window presentation mode of the operating system desktop is a stacked mode, when a non-predefined application is started, the window of the operating system desktop will be presented in the second area.
To better illustrate the window rendering method of the present invention, two specific examples are given below.
For example one, the default window presentation mode of the operating system desktop is a stack mode, and the current desktop is not divided.
First, in response to a user's operation of a desktop division button in the taskbar, a directional popup including four rectangular directional options of left, right, above, and below as shown in fig. 3 is displayed at the uppermost layer of the desktop. Then, in response to the triggering operation of the user on the left rectangular option in the directional popup, the current desktop is longitudinally divided into two areas at a position which is away from the leftmost side of the desktop by a preset width, and the left rectangular area which is as high as the desktop in height and has the preset width is determined as a first area, and the right rectangular area is determined as a second area. Finally, the one or more windows are presented in a tiled manner in the first region and the one or more windows are presented in a stacked manner in the second region.
Example two, the default window presentation mode of the operating system desktop is the tiled mode, and the current desktop is not divided.
First, in response to a user's operation of a desktop division button in a taskbar, a direction popup including four literal direction options of left, right, above, and below as shown in fig. 4 is displayed on the uppermost layer of the desktop. Then, in response to the triggering operation of the user on the upper character option in the directional popup, the current desktop is transversely divided into two areas at a position with a preset height away from the top of the desktop, a rectangular area with the upper width equal to the width of the desktop and the height equal to the preset height is determined as a second area, and a rectangular area at the lower part is determined as a first area. Finally, the one or more windows are presented in a tiled manner in the first region and in a stacked manner in the second region.
Therefore, the method and the device can divide the area with the window presentation mode as the stacking mode in the desktop with the default window presentation mode as the tiling mode, and can also divide the area with the window presentation mode as the tiling mode in the desktop with the default window presentation mode as the stacking mode. Therefore, the method and the device can conveniently and quickly monitor important data in real time while maximally utilizing desktop display resources, and improve user experience. For example, for a software developer, when the software developer needs to monitor the operation condition of the system in real time during the development process, the method of the present invention may be used to divide the desktop into two areas with different window presentation modes, and then perform software development in the area with the window presentation mode being the stacking mode and perform real-time monitoring on the operation condition of the system in the area with the window presentation mode being the tiling mode. For the service user, when the user needs to monitor some announced instant call or announcement content while processing the service, the method of the present invention can also be used to divide the desktop into two areas with different window presenting modes, then the service processing is performed in the area with the window presenting mode being the stacking mode, and the call or announcement content is monitored in the area with the window presenting mode being the tiling mode. Of course, the present invention may also be applied in many other usage scenarios, and is not illustrated here.
According to the window presenting method, the current desktop is divided into a plurality of areas, and each area in the plurality of areas comprises one or more windows. Wherein the one or more windows are presented in a tiled manner in a first region of the plurality of regions and the one or more windows are presented in a stacked manner in a second region of the plurality of regions.
As can be seen, the desktop of the present invention includes a first area that presents windows in a tiled manner and a second area that presents windows in a stacked manner. That is, the desktop of the present invention can present windows in both a tiled and stacked manner. Therefore, when a user opens a plurality of windows and needs to monitor data of some important windows in real time, the important windows needing to monitor the data in real time can be placed in the first area and presented in a tiled mode. Namely, for an important window needing to monitor data in real time, a user only needs to place the important window in a first area with a window presenting mode being a tiled mode, so that the operation of the user is simplified, and the experience of the user is improved.
In addition, the important windows of which the data need to be monitored in real time are presented in the first area in a tiled mode, and other windows can be presented in the second area in a stacked mode, so that the display area of the desktop can be fully utilized. In addition, when the user monitors the data of the important window in real time, if other windows are needed, the user can directly use the important window in the second area without adjusting the important window needing to monitor the data in real time again, and the user experience is further improved.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as removable hard drives, U.S. disks, floppy disks, CD-ROMs, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to execute the window rendering method of the present invention in accordance with instructions in the program code stored in the memory.
By way of example, and not limitation, readable media may comprise readable storage media and communication media. Readable storage media store information such as computer readable instructions, data structures, program modules or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of readable media.
In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with examples of this invention. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
It should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed to reflect the intent: that the invention as claimed requires more features than are expressly recited in each claim.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purpose of carrying out the invention.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The present invention has been disclosed in an illustrative rather than a restrictive sense, and the scope of the present invention is defined by the appended claims.

Claims (11)

1. A window rendering method, comprising:
presenting a direction popup on a desktop in response to a trigger operation on a desktop dividing interface or an input operation of a preset shortcut key, wherein the direction popup comprises a plurality of direction options;
responding to the triggering operation of the target direction option, and determining a dividing direction and a dividing position;
dividing the current desktop into a plurality of areas based on the dividing direction and the dividing position, wherein each area in the plurality of areas comprises one or more windows;
presenting one or more windows in a tiled manner in a first region of the plurality of regions; and
in a second region of the plurality of regions, one or more windows are presented in a stacked manner.
2. The method of claim 1, further comprising:
after the step of dividing the current desktop into the plurality of areas, determining the first area and the second area based on the target direction option.
3. The method of claim 1 or 2, wherein the desktop further comprises a third area on top of the first area and/or the second area, and
and presenting a message popup of a predefined application on the third area, so that the message popup is presented on the uppermost layer of the current desktop.
4. The method of claim 3, wherein the predefined application comprises one or more of: volume adjustment applications, case switching applications, and messaging applications.
5. The method of claim 1 or 2, further comprising:
in response to an operation of dragging a first window in the first area to the second area, moving the first window to the second area and presenting the first window in a stacked manner in the second area; and
in response to an operation of dragging a second window in the second area to the first area, moving the second window to the first area, and presenting the second window in a tiled manner in the first area.
6. The method of claim 1 or 2, further comprising:
hiding the first region and all windows within the first region in response to minimizing the first region; or
Hiding the second region and all windows within the second region in response to minimizing the second region.
7. The method of claim 1 or 2, wherein the default window presentation of the desktop is in a stacked or tiled manner, and
when the default window presenting mode of the desktop is a stacking mode, the size of the first area is smaller than or equal to half of the size of the desktop;
when the default window presenting mode of the desktop is a tiling mode, the size of the second area is smaller than or equal to half of the size of the desktop.
8. The method of claim 1 or 2, further comprising:
and storing the position information and the window presenting mode of the first area and the position information and the window presenting mode of the second area.
9. The method of claim 8, further comprising:
and responding to the operation of starting the operating system, displaying the first area and the second area on the desktop based on the position information and the window presentation mode stored in the current operating system, and setting the corresponding window presentation mode.
10. A computing device, comprising:
at least one processor; and
a memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the program instructions comprising instructions for performing the method of any of claims 1-9.
11. A readable storage medium storing program instructions that, when read and executed by a computing device, cause the computing device to perform the method of any of claims 1-9.
CN202210671008.5A 2022-06-15 2022-06-15 Window presenting method, computing device and readable storage medium Active CN114764365B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210671008.5A CN114764365B (en) 2022-06-15 2022-06-15 Window presenting method, computing device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210671008.5A CN114764365B (en) 2022-06-15 2022-06-15 Window presenting method, computing device and readable storage medium

Publications (2)

Publication Number Publication Date
CN114764365A CN114764365A (en) 2022-07-19
CN114764365B true CN114764365B (en) 2022-09-27

Family

ID=82364816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210671008.5A Active CN114764365B (en) 2022-06-15 2022-06-15 Window presenting method, computing device and readable storage medium

Country Status (1)

Country Link
CN (1) CN114764365B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399710A (en) * 2013-08-07 2013-11-20 福州瑞芯微电子有限公司 Multi-window operating achieving mobile terminal and method
CN104571826A (en) * 2015-01-26 2015-04-29 香港应用科技研究院有限公司 Method, device and system for managing multiple windows on screens of multiple users
CN106020592A (en) * 2016-05-09 2016-10-12 北京小米移动软件有限公司 Split screen display method and device
CN107589900A (en) * 2017-09-06 2018-01-16 广东欧珀移动通信有限公司 Multi-screen display method, device, terminal and storage medium
CN113885993A (en) * 2021-10-11 2022-01-04 统信软件技术有限公司 System desktop split-screen display method, split-screen display control device and computing equipment
CN114048000A (en) * 2022-01-11 2022-02-15 深圳市永兴元科技股份有限公司 Screen splitting method and device, terminal equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9612713B2 (en) * 2012-09-26 2017-04-04 Google Inc. Intelligent window management
CN105975840A (en) * 2016-06-13 2016-09-28 深圳市金立通信设备有限公司 Screen splitting control method and electronic equipment
CN107577414A (en) * 2017-09-07 2018-01-12 广东欧珀移动通信有限公司 The method and mobile terminal of split screen display available
CN110716780A (en) * 2019-09-23 2020-01-21 广州视源电子科技股份有限公司 Interface display method and device
CN114089882A (en) * 2020-07-03 2022-02-25 华为技术有限公司 Method for displaying multiple windows in split screen mode and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399710A (en) * 2013-08-07 2013-11-20 福州瑞芯微电子有限公司 Multi-window operating achieving mobile terminal and method
CN104571826A (en) * 2015-01-26 2015-04-29 香港应用科技研究院有限公司 Method, device and system for managing multiple windows on screens of multiple users
CN106020592A (en) * 2016-05-09 2016-10-12 北京小米移动软件有限公司 Split screen display method and device
CN107589900A (en) * 2017-09-06 2018-01-16 广东欧珀移动通信有限公司 Multi-screen display method, device, terminal and storage medium
CN113885993A (en) * 2021-10-11 2022-01-04 统信软件技术有限公司 System desktop split-screen display method, split-screen display control device and computing equipment
CN114048000A (en) * 2022-01-11 2022-02-15 深圳市永兴元科技股份有限公司 Screen splitting method and device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN114764365A (en) 2022-07-19

Similar Documents

Publication Publication Date Title
US9910557B2 (en) Intent-based graphical user interface window control
US20170075524A1 (en) Method And Apparatus Of Switching Interfaces
CN112100136B (en) Document loading method, computing device and readable storage medium
CN110286819B (en) Window management method and computing device
US20150339048A1 (en) Method and apparatus for processing dockbar and storage medium
US20180239777A1 (en) Method and apparatus for dissolving folder and mobile terminal
US20160216885A1 (en) Method and device for processing touch operation of electronic apparatus
US11385791B2 (en) Method and device for setting layout of icon of system interface of mobile terminal, and medium
CN111930283B (en) Message display method and computing device
CN111966260B (en) Window display method and computing device
CN112000417A (en) Control method for window display effect and computing device
CN113342452A (en) Window display method, computing device and readable storage medium
CN114764365B (en) Window presenting method, computing device and readable storage medium
CN109857561B (en) Memory management method and computing device
US20140055472A1 (en) Systems, methods, and articles of manufacture for virtual display
CN113885993A (en) System desktop split-screen display method, split-screen display control device and computing equipment
CN114510307B (en) Dynamic wallpaper implementation method, computing device and storage medium
CN112099699B (en) Icon moving method and device, computing equipment and readable storage medium
CN114924681A (en) Picture drawing method, computing device and readable storage medium
CN114020226A (en) Split screen processing method, computing device and readable storage medium
CN113312130A (en) Window display method and computing device
CN113625931A (en) Desktop switching method, computing device and readable storage medium
CN111158566A (en) Event processing method, device, equipment and storage medium
CN113655941B (en) Text content full selection method, apparatus, computing device and readable storage medium
CN114510306B (en) Taskbar display method and device and computing equipment

Legal Events

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