A workspace switching method, computing device and storage medium
By displaying a floating box of application icons and workspace logos in the IOS operating system, workspace switching is simplified, the problem of cumbersome operations is solved, and the efficiency and user experience of workspace switching are improved.
Patent Information
- Application Number
- CN202210195743.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-03
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-11-03
AI Technical Summary
In the existing technology, workspace switching in the IOS operating system is cumbersome and requires specific operations or multiple triggering of shortcut keys, resulting in low work efficiency and poor user experience.
By displaying all open application icons in the first preset area of the display interface, and displaying the workspace identification corresponding to the window in the floating box, when the floating box event is triggered, switching to the workspace with the same identification simplifies Workspace switching process.
There is no need to remember shortcut keys and specific operations. It is easy to operate, improves the efficiency and user experience of workspace switching, and simplifies the process of window switching between different workspaces.
Smart Images

Figure CN114546209B
Abstract
Description
[0001] This application is a divisional application of invention patent application 202111291536X filed on November 3, 2021. Technical Field
[0002] The present invention relates to the field of computer technology, and in particular to a workspace switching method, a computing device and a storage medium. Background Art
[0003] At present, in order to meet various needs, users usually install various applications in their computing devices. In order to improve the convenience of work, multiple workspaces are often opened, which requires switching between multiple workspaces. Among them, a workspace is a container that can store multiple opened application windows, and multiple application windows can be opened in one workspace.
[0004] In the prior art, one method of switching workspaces in the iOS operating system is: in the window interface of any application, by performing a specific operation on the screen, such as by triggering the Ctrl+↑, F3 button or performing a four-finger swipe up operation on the touchpad, enter the interface displaying all created workspaces, and switch between workspaces by selecting a workspace in the current interface. Another method is to switch to the target workspace by triggering shortcut keys multiple times in the current display interface. However, since specific operations are required to enter the workspace interface, switching workspaces on this basis, or multiple triggering of shortcut keys to switch to the target workspace, the operation is cumbersome, resulting in low work efficiency and poor user experience. Summary of the invention
[0005] To this end, the present invention provides a workspace switching method in an effort to solve or at least alleviate the above problems.
[0006] According to one aspect of the present invention, a workspace switching method is provided. When one or more windows of each application are opened in different workspaces, icons of all opened applications are displayed in a first preset area of a display interface. The method comprises: when it is detected that a cursor is located in an area to which an application icon belongs in the first preset area, the corresponding window and the identification of the workspace where the window is located are respectively displayed in each pop-up window floating frame; when an event that triggers any window floating frame is detected, the workspace is switched to a workspace having the same identification as the currently triggered window floating frame.
[0007] Optionally, the steps of displaying the corresponding window and the identification of the workspace where the window is located in each pop-up window floating frame include: creating a window floating frame corresponding to all windows opened in the application in a second preset area of the current display interface; and displaying the corresponding window and the identification of the workspace where the window is located in each window floating frame.
[0008] Optionally, the step of switching the workspace to the workspace having the same identification as the frame of the currently triggered window suspension includes: acquiring the workspace identification included in the frame of the currently triggered window suspension; and switching the workspace to the workspace having the same identification as the currently acquired workspace.
[0009] Optionally, the identification of the workspace includes a color identification, a number identification, a character identification, a random combination identification of numbers and characters, a random combination identification of colors and numbers, a random combination identification of colors and characters, and a random combination identification of colors, numbers and characters.
[0010] Optionally, when an event triggering any window floating frame is detected, the workspace switching method of the present invention further includes the step of switching the window to the window corresponding to the currently triggered window floating frame to achieve window switching between different workspaces.
[0011] Optionally, the workspace switching method of the present invention further comprises the step of switching the selected state to a currently triggered window floating frame to identify the current workspace.
[0012] Optionally, the step of displaying icons of all opened applications in a first preset area of the display interface includes: creating an application window when an event of opening an application in the current workspace is detected; obtaining the icon of the currently open application and the identifier of the workspace in which it is located, and associating the application icon with the identifier of the window and the workspace; determining whether there is an icon identical to the currently open application in the first preset area, and if not, displaying the icon of the currently open application in the first preset area.
[0013] Optionally, the first preset area is an area where the dock bar is located.
[0014] According to another aspect of the present invention, a computing device is provided, comprising: at least one processor; and a memory storing program instructions, wherein the program instructions are configured to be suitable for execution by the at least one processor, and the program instructions include instructions for executing the method as described above.
[0015] According to another aspect of the present invention, a readable storage medium storing program instructions is provided. When the program instructions are read and executed by a computing device, the computing device executes the method described above.
[0016] According to the technical solution of the present invention, a workspace switching method is provided, the method comprising: when the mouse cursor is located at the position of any application icon in the first preset area, the corresponding window and the identification of the workspace where the window is located are displayed in each pop-up window floating frame, and when any window floating frame is triggered, the workspace is switched to the workspace with the same identification as the currently triggered window floating frame. It can be seen that in the present invention, after the window floating frame pops up, the workspace switching can be completed by triggering any window floating frame of the current display interface, without entering the workspace interface through specific operations, and then performing the switching operation, and without triggering the shortcut key to switch the workspace multiple times. Compared with the existing method, the workspace switching process of the present invention does not require the user to remember the shortcut keys and specific operations, and the operation is simple. For the user, the switching process is simple and easy to understand, which improves the switching efficiency, thereby improving the user's office efficiency and user experience.
[0017] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] To achieve the above and related purposes, certain illustrative aspects are described herein in conjunction with the following description and accompanying drawings, which indicate various ways in which the principles disclosed herein can be practiced, and all aspects and their equivalents are intended to fall within the scope of the claimed subject matter. The above and other purposes, features and advantages of the present disclosure will become more apparent by reading the following detailed description in conjunction with the accompanying drawings. Throughout the present disclosure, the same reference numerals generally refer to the same parts or elements.
[0019] Figure 1 A schematic diagram showing a display interface of a workspace according to an embodiment of the present invention is shown;
[0020] Figure 2 A block diagram of a computing device 200 according to an embodiment of the present invention is shown;
[0021] Figure 3 A flowchart of a workspace switching method 300 according to an embodiment of the present invention is shown;
[0022] Figure 4 A schematic diagram showing displaying application icons in a first preset area according to an embodiment of the present invention is shown;
[0023] Figure 5 A schematic diagram showing a floating frame of a display window according to an embodiment of the present invention is shown;
[0024] Figure 6A schematic diagram showing a window floating frame adding a selected state according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0025] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0026] An application is a computer program that is used to complete one or more specific tasks. With the rapid development of Internet technology and the increasing needs of people, applications for various needs have been developed. In order to meet various needs, users usually install various applications in their computing devices. In addition, in order to improve the convenience of work, multiple workspaces are often opened, which requires switching between multiple workspaces. Among them, a workspace is a container that can store multiple opened application windows, and multiple application windows can be opened in one workspace.
[0027] In the prior art, a method for switching workspaces in an iOS operating system is to enter an interface showing all created workspaces by performing a specific operation on the screen in any application window interface, such as by triggering the Ctrl+↑, F3 key or performing a four-finger upward swipe operation on the touchpad. Figure 1 As shown, the interface includes all opened workspaces, namely workspace 1-1 and workspace 1-2. All application windows opened in the workspace are displayed in the workspace. Switching between workspaces is achieved by selecting the workspace. Figure 1 To select the scene of workspace 1-1, all windows opened in workspace 1-1 are displayed (different window numbers represent different windows). Switching between workspaces is achieved by selecting the workspace in the current interface. Another method is to switch to the target workspace by triggering the shortcut key multiple times in the current display interface. However, since specific operations are required to enter the workspace interface, switching workspaces on this basis, or multiple triggering of shortcut keys to switch to the target workspace, the operation is cumbersome, resulting in low work efficiency and poor user experience.
[0028] In addition, in the iOS operating system, all open application icons in all workspaces are displayed in the dock bar. When the mouse cursor moves to the position of the application icon, a floating frame of all open windows will pop up, but it is impossible to distinguish which workspace the window floating frame belongs to. When the user needs to switch windows in different workspaces, the window floating frame cannot be used to distinguish the windows opened in different workspaces. At present, most users enter the workspace interface by performing the above-mentioned specific operations, and continue to select application windows in the workspace interface, or switch workspaces by triggering shortcut keys multiple times, and then check the opened windows in each workspace to select the target window, in order to achieve window switching in different workspaces, and the switching efficiency is low.
[0029] In order to solve the above problems, the present invention provides a workspace switching method, which is executed in a computing device 200. The computing device 200 can be implemented as a server, such as an application server, a Web server, etc.; it can also be implemented as a desktop computer, a laptop computer, a processor chip, a tablet computer, etc., but is not limited to this. Figure 2 FIG. 2 shows a block diagram of a computing device 200 according to an embodiment of the present invention. Figure 2 As shown, in a basic configuration 202, computing device 200 typically includes a system memory 206 and one or more processors 204. A memory bus 208 may be used for communication between processor 204 and system memory 206.
[0030] Depending on the desired configuration, the processor 204 can be any type of processor, including but not limited to: a microprocessor (μP), a microcontroller (μC), a digital information processor (DSP), or any combination thereof. The processor 204 can include one or more levels of cache such as a primary cache 210 and a secondary cache 212, a processor core 214, and registers 216. An example processor core 214 can include an arithmetic logic unit (ALU), a floating point unit (FPU), a digital signal processing core (DSP core), or any combination thereof. An example memory controller 218 can be used with the processor 204, or in some implementations, the memory controller 218 can be an internal part of the processor 204.
[0031] Depending on the desired configuration, system memory 206 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. System memory 206 may include an operating system 220, one or more applications 222, and program data 224. In some implementations, application 222 may be arranged to operate on the operating system using program data 224.
[0032] The computing device 200 further includes a storage device 232, which includes a removable storage 236 and a non-removable storage 238, and both the removable storage 236 and the non-removable storage 238 are connected to the storage interface bus 234. In the present invention, data related to each event occurring during program execution and time information indicating the occurrence of each event can be stored in the storage device 232, and the operating system 220 is suitable for managing the storage device 232. The storage device 232 can be a disk.
[0033] The computing device 200 may also include an interface bus 240 that facilitates communication from various interface devices (e.g., output devices 242, peripheral interfaces 244, and communication devices 246) to the basic configuration 202 via the bus / interface controller 230. Example output devices 242 include an image processing unit 248 and an audio processing unit 250. They can be configured to facilitate communication with various external devices such as a display or speakers via one or more A / V ports 252. Example peripheral interfaces 244 may include a serial interface controller 254 and a parallel interface controller 256, which may be configured to facilitate communication with external devices such as input devices (e.g., keyboards, mice, pens, voice input devices, touch input devices) or other peripherals (e.g., printers, scanners, etc.) via one or more I / O ports 258. Example communication devices 246 may include a network controller 260, which may be arranged to facilitate communication with one or more other computing devices 262 via a network communication link via one or more communication ports 264.
[0034] A network communication link can be an example of a communication medium. Communication media can generally be embodied as computer-readable instructions, data structures, program modules in a modulated data signal such as a carrier wave or other transmission mechanism, and can include any information delivery medium. A "modulated data signal" can be a signal in which one or more of its data sets or its changes can be carried out in a manner that encodes information in the signal. As non-limiting examples, communication media can include wired media such as a wired network or a dedicated line network, and various wireless media such as sound, radio frequency (RF), microwave, infrared (IR) or other wireless media. The term computer-readable medium used herein can include both storage media and communication media.
[0035] The computing device 200 can be implemented as a server, such as a file server, a database server, an application server, and a WEB server, etc., and can also be implemented as a part of a small-sized portable (or mobile) electronic device, such as a cellular phone, a personal digital assistant (PDA), a personal media player device, a wireless network browsing device, a personal head-mounted device, an application-specific device, or a hybrid device that can include any of the above functions. The computing device 200 can also be implemented as a personal computer including a desktop computer and a notebook computer configuration. In some embodiments, the computing device 100 is configured to execute a workspace switching method 300 according to the present invention.
[0036] Figure 3 FIG. 3 is a flowchart of a workspace switching method 300 according to an embodiment of the present invention. The method 300 is suitable for switching between two workspaces in a computing device 200 (such as Figure 2 The method 300 is executed in the computing device shown in the figure), the operating system in the computing device 200 is the IOS operating system, and the method 300 includes steps S310 to S340.
[0037] First, when the event of creating a workspace is listened, the workspace is created and a unique identifier is assigned to the workspace. At this time, the window manager obtains the workspace information, which includes the workspace identifier, the number of workspaces, etc. Multiple workspaces can be created in this way.
[0038] The event of creating a workspace can be generated when the user triggers the interface for creating a workspace in the current display interface. The creation of a workspace is a prior art and will not be described in detail here. The methods for creating a workspace in the prior art are all within the protection scope of the present invention.
[0039] The workspace identifier is unique and serves to distinguish each workspace. It can be set according to the actual application scenario. The present invention does not limit this, as long as it satisfies the requirement of marking different workspaces. For example, the workspace identifier can be a color identifier, a digital identifier, a character identifier, a random combination identifier of a number and a character, a random combination identifier of a color and a number, a random combination identifier of a color and a character, or a random combination identifier of a color, a number, and a character.
[0040] After one or more workspaces are created, in the display interface of the current workspace, when an event of opening an application in any workspace is monitored, step S310 is executed to display icons of all opened applications in the first preset area of the display interface. Specifically:
[0041] An application window is created through a window manager, and the icon of the currently opened application and the identifier of the workspace in which it is located are obtained, and the icon of the application is associated with the identifiers of all windows and workspaces opened in the application and stored. It is determined whether there is an icon identical to the currently opened application in the first preset area, if not, the icon of the currently opened application is displayed in the first preset area, and if so, the icon of the currently opened application is not displayed in the first preset area.
[0042] That is to say, the first preset area will display icons of all applications opened in each workspace. It is worth noting that even if multiple windows of an application are opened, only one icon of the application corresponding to the multiple windows will be displayed in the first preset area.
[0043] In one embodiment, the first preset area is an area that is always fixedly displayed on the display interface, and the display position can be set according to the actual application scenario, and the present invention does not limit this. For example, the first preset area can be the dock bar of the IOS operating system, and the interface schematic diagram of displaying icons 4-2 of all open applications in the workspace in the first preset area 4-1 (the first preset area is located at the lower side of the display interface) is as shown in FIG. Figure 4 shown.
[0044] Each application window created above includes an application icon, a window title, and a window thumbnail. The window is the last opened window of the currently opened application, or it can be all opened windows corresponding to the opened application. For example, for a browser application, the corresponding window is the last opened window, and for a file management system or Word application, the corresponding window is all opened windows. The window thumbnail is a compressed resolution and quality image of the most recently opened window, or a compressed resolution and quality image of all opened windows. The size of the window thumbnail will be reduced compared to the original image to achieve the purpose of quickly browsing the window image.
[0045] In one embodiment, when an event of closing an application window is monitored, it is determined whether there is an application window with the same icon as the currently closed application window in all workspaces. If not, it means that the application does not have any windows open at this time, which is equivalent to the application being closed. At this time, the icon of the currently closed application window is deleted from the first preset area. If yes, it means that there are still open windows in the application at this time, which is equivalent to the application being open. At this time, the icon of the application corresponding to the currently closed window continues to be displayed in the first preset area.
[0046] Next, when it is detected that the mouse cursor is located in the area to which any application icon belongs in the first preset area, step S320 is executed to create a window floating frame corresponding to each window opened in the application in the current display interface.
[0047] In one embodiment, by calling the Qwidget interface, a window floating frame corresponding to each window opened in the application is created in the second preset area of the current display interface, that is, a window floating frame of all opened windows corresponding to the application icon currently located by the mouse cursor is created at this time. The window floating frame is actually a QWidget. The position of the second preset area can be set according to the actual application scenario, and the present invention does not limit this. For example, the second preset area is in the display interface, above the current application icon.
[0048] Then, step S330 is executed to display the corresponding window and the identification of the workspace where the window is located in each window floating frame. At this time, the window and the identification of the workspace where the window is located are displayed in the window floating window, and the workspace where the window is located can be determined by the identification. Among them, the placement position of the window and the workspace identification displayed in the window floating frame can be set according to the actual application scenario, and the present invention is not limited to this. For example, the workspace identification is placed at the upper left corner of the window floating frame, and the window is placed at the center of the window floating frame.
[0049] For example, a window is opened in the PDF application of the first workspace, a window is opened in the PDF application of the second workspace, and two windows are opened in the PDF application of the third workspace. The workspace identifier is a digital identifier (i.e., the identifiers of the first workspace, the second workspace, and the third workspace are 1, 2, and 3 respectively), and the second preset area is the position above the current application icon in the display interface, and the workspace identifier is displayed in the upper left corner of the window floating frame, and the window is placed in the center of the window floating frame. Then the interface diagram at this time is as follows Figure 5 As shown, four window floating frames 5-2 corresponding to the PDF application icon are displayed in the second preset area 5-1, and each window floating frame 5-2 includes a workspace identifier 5-2-1 (respectively 1, 2, 3, and 4) and a PDF window 5-2-2 (respectively PDF window 1, PDF window 2, PDF window 3, and PDF window 4).
[0050] After the corresponding window and the identification of the workspace where the window is located are displayed in each window floating frame, when an event that triggers any window floating frame is detected, for example, when an event that any window floating frame is clicked by a mouse is detected, step S340 is executed to switch the workspace to the workspace with the same identification as the currently triggered window floating frame. Specifically, the workspace identification included in the window floating frame currently clicked by the mouse is obtained, and the workspace is switched to the workspace with the same identification as the currently obtained workspace, so that the workspace switching can be completed. It should be noted that the workspace switching method is an existing technology and will not be described here in detail, but the workspace switching method is within the protection scope of the present invention.
[0051] In order to more intuitively view the switching of the workspace, the switching mode of the workspace can be set, and the switching mode of the workspace can be configured according to the actual application scenario, and the present invention does not limit this. For example, the workspace switching mode can be a sliding mode, that is, switching from the original workspace to the currently triggered workspace in a sliding manner.
[0052] In one embodiment, in order to facilitate the user to more intuitively determine the current workspace, after switching the workspace, a selected state is added to the currently triggered window floating frame. The selected state is the state of identifying the current window floating frame, so that the user can directly determine the currently triggered window floating frame and the workspace identification in the window floating frame in the current display interface, that is, the user can directly determine the current workspace in the current display interface. The specific display method of the selected state can be set according to the actual application scenario, and the present invention does not limit this. For example, Figure 5 Taking the floating box in the interface diagram as an example, the currently triggered window floating box includes the workspace mark 5-2-1 and the PDF window 5-2-2, which are 1 and PDF window 1 respectively. At this time, the currently triggered window floating box is marked with a square box, and the window floating box marked with the square box is filled with a preset color, that is, a selected state is added to the window floating box. The selected state is as follows: Figure 6 As shown ( Figure 6 The color is not shown in the figure). At this time, you can more intuitively view the current workspace on the display interface, improving the user experience.
[0053] In one embodiment, when an event that triggers any window floating frame is detected, the window will also be switched to the window corresponding to the currently triggered window floating frame to achieve window switching between different workspaces. That is to say, when it is necessary to switch windows, the application icon displayed on the display interface can be directly triggered to display the window floating frames of all application windows opened in the application, and the window switching between different workspaces can be completed by clicking on the window floating frames belonging to different workspaces. There is no need to enter the workspace interface first, then select the workspace to display all the windows opened therein, and continue to select windows to complete the window switching. It can be seen that compared with the existing technology, the window switching process of the present invention is simple, the convenience of use is improved, and the efficiency of window switching is improved.
[0054] It should be noted that each time the user opens an application and switches the workspace, steps S310 to S340 are executed. When the user only switches the workspace, only steps S320 to S340 need to be executed.
[0055] It can be seen from the above content that the workspace switching method provided by the present invention, when the mouse cursor is located at the position of any application icon in the dock bar, the corresponding window and the identification of the workspace where the window is located are displayed in each pop-up window floating frame, and when any window floating frame is triggered, the workspace is switched to the workspace with the same identification as the currently triggered window floating frame. It can be seen that in the present invention, after the window floating frame pops up, the workspace switching can be completed by triggering any window floating frame of the current display interface, without entering the workspace interface through specific operations, and then performing the switching operation, and there is no need to trigger the shortcut key to switch the workspace multiple times. Compared with the existing method, the workspace switching of the present invention does not require the user to remember the shortcut keys and specific operations. For the user, the switching process is simple and easy to understand, which improves the switching efficiency, thereby improving the user's office efficiency and user experience.
[0056] The various techniques described herein may be implemented in combination with hardware or software, or a combination thereof. Thus, the method and apparatus of the present invention, or some aspects or parts of the method and apparatus of the present invention may be in the form of program codes (i.e., instructions) embedded in a tangible medium, such as a removable hard disk, a USB flash drive, a floppy disk, a CD-ROM, or any other machine-readable storage medium, wherein when the program is loaded into a machine such as a computer and executed by the machine, the machine becomes a device for practicing the present invention.
[0057] In the case where the program code is executed on a programmable computer, the computing device generally includes 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. The memory is configured to store the program code; the processor is configured to execute the workspace switching method of the present invention according to the instructions in the program code stored in the memory.
[0058] By way of example and not limitation, readable media include readable storage media and communication media. Readable storage media stores information such as computer readable instructions, data structures, program modules or other data. Communication media generally embody computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and include any information transfer medium. Any combination of the above is also included within the scope of readable media.
[0059] In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the examples of the present invention. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages can be utilized to implement the content of the present invention described herein, and the above description of specific languages is for the purpose of disclosing the best mode of the present invention.
[0060] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0061] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the intention that the claimed invention requires more features than those expressly recited in each claim. Rather, as reflected in the claims, inventive aspects lie in less than all of the features of the individual embodiments previously disclosed. Therefore, the claims that follow the detailed description are hereby expressly incorporated into the detailed description, with each claim itself serving as a separate embodiment of the present invention.
[0062] 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 the devices described in the embodiment, or alternatively may be located in one or more devices different from the devices in the examples. The modules in the foregoing examples may be combined into one module or may be divided into multiple submodules.
[0063] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0064] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims, any one of the claimed embodiments may be used in any combination.
[0065] In addition, some of the embodiments are described herein as methods or combinations of method elements that can be implemented by a processor of a computer system or by other devices that perform the functions. Therefore, a processor with necessary instructions for implementing the method or method elements forms a device for implementing the method or method elements. In addition, the elements described herein of the device embodiments are examples of devices for implementing the functions performed by the elements for the purpose of implementing the invention.
[0066] As used herein, unless otherwise specified, the use of ordinal numbers "first," "second," "third," etc. to describe common objects merely indicates that different instances of similar objects are involved, and is not intended to imply that the objects so described must have a given order in time, space, order, or in any other manner.
[0067] Although the present invention has been described according to a limited number of embodiments, it will be apparent to those skilled in the art, with the benefit of the above description, that other embodiments may be envisioned within the scope of the invention thus described. In addition, it should be noted that the language used in this specification is selected primarily for readability and teaching purposes, rather than for explaining or defining the subject matter of the present invention. Therefore, many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the appended claims. The disclosure of the present invention is illustrative, not restrictive, with respect to the scope of the present invention, which is defined by the appended claims.
Claims
1. A workspace switching method, when one or more windows of each application are opened in different workspaces, icons of all opened applications are displayed in a first preset area of a display interface, the method comprising: When it is detected that the cursor is located in the area to which any application icon belongs in the first preset area, the corresponding window and the identification of the work area where the corresponding window is located are respectively displayed in each pop-up window floating frame; When an event that triggers any of the window floating frames is detected, the workspace is switched to a workspace having the same identifier as the currently triggered window floating frame; Switching the selected state to the currently triggered window floating frame to identify the current workspace; The step of displaying the corresponding window and the identification of the workspace where the corresponding window is located in each pop-up window floating frame includes: Creating a window floating frame corresponding to all windows opened in the corresponding application program in a second preset area of the current display interface; The corresponding window and the logo of the workspace where the corresponding window is located are displayed in each window floating frame. The second preset area is located in the display interface, above the current application icon, and the workspace logo is displayed in the upper left corner of the window floating frame, and the corresponding window is placed in the center of the window floating frame.
2. The method of claim 1, wherein: The step of switching the workspace to the workspace having the same identifier as the currently triggered window floating frame includes: Obtaining a workspace identifier included in the currently triggered window floating frame; Switches the workspace to the one with the same ID as the currently acquired workspace.
3. The method according to claim 1 or 2, wherein: The identification of the work area includes color identification, number identification, character identification, random combination identification of number and character, random combination identification of color and number, random combination identification of color and character, and random combination identification of color, number and character.
4. The method according to claim 3, when an event triggering any of the window floating frames is detected, further comprising the steps of: The window is switched to the window corresponding to the currently triggered window floating frame to realize window switching in different workspaces.
5. The method of claim 4, wherein: The step of displaying icons of all opened application programs in the first preset area of the display interface includes: When an event of opening an application in the current workspace is detected, an application window is created; Get the icon of the currently open application and the ID of the workspace where it is located, and associate the application icon with the window and workspace IDs; It is determined whether there is an icon identical to the currently opened application program in the first preset area. If not, the icon of the currently opened application program is displayed in the first preset area.
6. The method of claim 5, wherein: The first preset area is the area where the dock bar is located.
7. A computing device comprising: at least one processor; as well as A memory storing program instructions, wherein the program instructions are configured to be executed by the at least one processor, and the program instructions include instructions for executing the method according to any one of claims 1 to 6.
8. A readable storage medium storing program instructions, when the program instructions are read and executed by a computing device, the computing device is caused to execute the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Child window surfacing and management
CN102197366A
Managing workspaces in a user interface
CN103229141A
Icon arrangement method and electronic equipment
CN110989881A
Activity management tool
US20110087989A1
User Interface Spaces
US20160018955A1
