CN109766034B - Method, device and equipment for quickly starting application program and storage medium - Google Patents

Method, device and equipment for quickly starting application program and storage medium Download PDF

Info

Publication number
CN109766034B
CN109766034B CN201711099628.1A CN201711099628A CN109766034B CN 109766034 B CN109766034 B CN 109766034B CN 201711099628 A CN201711099628 A CN 201711099628A CN 109766034 B CN109766034 B CN 109766034B
Authority
CN
China
Prior art keywords
window
application program
information
mouse
currently
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
CN201711099628.1A
Other languages
Chinese (zh)
Other versions
CN109766034A (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.)
Beijing Zhongna Xinhai Network Technology Co ltd
Original Assignee
Beijing Zhongna Xinhai Network 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 Beijing Zhongna Xinhai Network Technology Co ltd filed Critical Beijing Zhongna Xinhai Network Technology Co ltd
Priority to CN201711099628.1A priority Critical patent/CN109766034B/en
Priority to PCT/CN2018/114905 priority patent/WO2019091467A1/en
Publication of CN109766034A publication Critical patent/CN109766034A/en
Application granted granted Critical
Publication of CN109766034B publication Critical patent/CN109766034B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The application provides a method, a device, equipment and a storage medium for quickly starting an application program.A method is provided with at least one window positioned at the topmost layer of a computer desktop, and part or all of sections in an overlapped area of the window and at least one edge of a computer screen are set as non-transparent areas, and other areas covering the computer screen in the window are set as transparent areas; different windows correspond to different application programs; the method comprises the following steps: receiving mouse information through an opaque area of a window, determining that the mouse information is preset click information, and executing operation of displaying a window of an application program under the condition that the window of the application program correspondingly arranged to the window receiving the mouse information is currently in a non-visible state; and executing the operation of canceling the visual state of the window of the application program under the condition that the mouse information is determined to be the preset click information and the window of the application program correspondingly arranged to the window receiving the mouse information is currently in the visual state.

Description

Method, device and equipment for quickly starting application program and storage medium
Technical Field
The present application relates to computer technologies, and in particular, to a method for quickly starting an application, an apparatus for quickly starting an application, an electronic device, and a computer-readable storage medium.
Background
Users often have applications, such as browsers, screen savers, music players, video players, or drawing tools, etc., that they frequently use while using a computer.
In general, a user may start an application program that he needs to use by clicking a shortcut icon on a desktop of a computer, or by looking up a corresponding menu option in a start menu, or by clicking a shortcut icon in a task bar of an operating system of a computer. The above-mentioned starting manner of the application usually requires the user to perform a finer visual recognition and a more precise motion control. This presents a certain inconvenience for users who have a certain dysfunction in their vision or action.
As can be seen from the above description, the existing application program launching manner is yet to be further enriched.
Disclosure of Invention
The application aims to provide a method, a device, equipment and a storage medium for quickly starting an application program, so that the convenience of starting the application program is improved, and the application program starting mode is enriched.
According to a first aspect of the application, a method for quickly starting an application program is provided, wherein at least one window located at the topmost layer of a computer desktop is provided, part or all of a section in an area where the window overlaps at least one edge of a computer screen is set to be an opaque area, and other areas covering the computer screen in the window are set to be transparent areas; different windows correspond to different application programs; the method comprises the following steps: when receiving mouse information through an opaque area of a window, judging whether the mouse information is preset click information or not; executing the operation of displaying the window of the application program under the condition that the mouse information is determined to be preset click information and the window of the application program correspondingly arranged to the window receiving the mouse information is currently in a non-visual state; and executing the operation of canceling the visual state of the window of the application program under the condition that the mouse information is determined to be the preset click information and the window of the application program correspondingly arranged to the window receiving the mouse information is currently in the visual state.
In an embodiment of the application, in the method for quickly starting an application, the predetermined click information includes: and clicking information by the left mouse button.
In another embodiment of the present application, in the method for quickly starting an application, an application corresponding to a window includes: default applications, or user-defined applications.
In another embodiment of the present application, in the method for quickly starting an application, when it is determined that the mouse information is predetermined click information and the window of the application, which is set corresponding to the window that receives the mouse information, is currently in a non-visible state, the step of performing an operation of displaying the window of the application includes: executing the operation of starting the application program under the condition that the mouse information is determined to be preset click information and the application program corresponding to the window receiving the mouse information is not started currently; and under the condition that the mouse information is determined to be preset click information, the application program corresponding to the window receiving the mouse information is started currently and the window of the application program is hidden/completely shielded, executing the operation of switching the window of the application program into a current active window.
In another embodiment of the application, in the method for quickly starting an application, when it is determined that the mouse information is the predetermined click information and the window of the application, which is set corresponding to the window that receives the mouse information, is currently in the visible state, the step of executing the operation of canceling the visible state of the window of the application includes: when the mouse information is determined to be preset click information, and the application program corresponding to the window receiving the mouse information is started currently and the window of the application program is a current active window, executing an operation of hiding the window of the application program or executing an operation of exiting the application program; or, when it is determined that the mouse information is the predetermined click information, and the application program corresponding to the window receiving the mouse information is currently started and the window of the application program is partially blocked, executing an operation of hiding the window of the application program or executing an operation of exiting the application program.
According to the second aspect of the application, a method for quickly starting an application program is further provided, wherein at least one window located at the topmost layer of a computer desktop is provided, part or all of sections in an overlapping area of the window and at least one edge of a computer screen are set to be non-transparent areas, other areas covering the computer screen in the window are set to be transparent areas, and different non-transparent areas located at the edge of the computer screen are respectively corresponding to the application program; the method comprises the following steps: when receiving mouse information through an opaque area of a window, judging whether the mouse information is preset click information or not; executing the operation of displaying the window of the application program under the condition that the mouse information is determined to be the preset click information and the window of the application program correspondingly arranged in the opaque area is currently in the non-visible state; and executing the operation of canceling the visual state of the window of the application program under the condition that the mouse information is determined to be the preset click information and the window of the application program correspondingly arranged in the opaque area is currently in the visual state.
In an embodiment of the present application, in the method for quickly starting an application, different opaque regions located at the same edge of a computer screen each correspond to one application.
In another embodiment of the present application, in the method for quickly starting an application, the predetermined click information includes: and clicking information by the left mouse button.
In another embodiment of the present application, in the method for quickly starting an application, an application corresponding to the opaque area includes: default applications, or user-defined applications.
In another embodiment of the present application, in the method for quickly starting an application, when it is determined that the mouse information is predetermined click information and a window of the application, which is set corresponding to the opaque region, is currently in a non-visible state, the step of performing an operation of displaying the window of the application includes: executing the operation of starting the application program under the condition that the mouse information is determined to be preset click information and the application program correspondingly arranged in the opaque area is not started currently; and under the condition that the mouse information is determined to be preset click information, the application program correspondingly arranged in the opaque area is started currently, and the window of the application program is hidden/completely shielded, executing the operation of switching the window of the application program into the current active window.
In another embodiment of the application, in the method for quickly starting an application, the step of executing an operation of canceling the visual state of the window of the application when it is determined that the mouse information is the predetermined click information and the window of the application, which is set corresponding to the opaque region, is currently in the visual state includes: when the mouse information is determined to be the preset click information, the application program corresponding to the opaque region clicked by the mouse is started currently and the window of the application program is the current active window, executing the operation of hiding the window of the application program or executing the operation of exiting the application program; or, when it is determined that the mouse information is the predetermined click information, and the application program corresponding to the opaque region clicked by the mouse is currently started and the window of the application program is partially blocked, executing an operation of hiding the window of the application program or executing an operation of exiting the application program.
According to the third aspect of the present application, there is also provided an apparatus for quickly starting an application, the apparatus including: at least one window located at the topmost layer of the computer desktop, wherein part or all of the section of the window in the overlapping region with at least one edge of the computer screen is set as an opaque region, and the other region of the window covering the computer screen is set as a transparent region; different windows correspond to different application programs; the device comprises the following modules: the click judgment module is used for judging whether the mouse information is preset click information or not when the mouse information is received through the opaque area of the window; the first visual judgment module is used for judging whether a window of an application program, which is correspondingly arranged to the window receiving the mouse information, is in a non-visual state or a visual state at present under the condition that the click judgment module determines that the mouse information is the preset click information; the first control module is used for executing the operation of displaying the window of the application program under the condition that the click judgment module determines that the mouse information is the preset click information and the first visual judgment module determines that the window of the application program correspondingly arranged to the window receiving the mouse information is currently in the non-visual state; and the first visual judging module is used for executing the operation of canceling the visual state of the window of the application program under the condition that the click judging module determines that the mouse information is the preset click information and the first visual judging module determines that the window of the application program correspondingly arranged to the window receiving the mouse information is currently in the visual state.
According to a fourth aspect of the present application, there is also provided an apparatus for quickly starting an application, the apparatus including: at least one window positioned at the topmost layer of the computer desktop, wherein part or all of the section of the window in the overlapping region with at least one edge of the computer screen is set as an opaque region, other regions of the window covering the computer screen are set as transparent regions, and different opaque regions positioned at the edge of the computer screen are respectively corresponding to application programs; the device comprises the following modules: the click judgment module is used for judging whether the mouse information is preset click information or not when the mouse information is received through the opaque area of the window; the second visual judgment module is used for judging whether a window of an application program, which is arranged corresponding to the opaque region corresponding to the mouse information, is in a non-visual state or a visual state at present under the condition that the click judgment module determines that the mouse information is the preset click information; the second control module is used for executing the operation of displaying the window of the application program under the condition that the click judgment module determines that the mouse information is the preset click information and the second visual judgment module determines that the window of the application program correspondingly arranged in the opaque area corresponding to the mouse information is currently in the non-visual state; the second control module is further configured to execute an operation of canceling the visual state of the window of the application program when the click judgment module determines that the mouse information is the predetermined click information and the second visual judgment module determines that the window of the application program, which is set corresponding to the opaque region corresponding to the mouse information, is currently in the visual state.
According to a fifth aspect of the present application, there is also provided an electronic apparatus, including: a memory for storing a computer program; a processor for executing the computer program stored in the memory, and when the computer program is executed, implementing the steps of the above method.
According to a sixth aspect of the present application, there is also provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the above-described method.
Compared with the prior art, the method has the following advantages:
the method comprises the steps that at least one window located on the topmost layer of a computer desktop is arranged, and part or all of sections in an overlapping area of the window and at least one edge of a computer screen are set to be opaque areas, so that mouse operations executed by a user at a transparent position of the window can smoothly penetrate through the window and be normally received by other windows, and mouse operations executed by the user at an opaque area position of the edge of the computer screen can be successfully received by the window; under the condition that the window positioned at the topmost layer of the computer desktop is correspondingly provided with the application program, the operation that a user clicks an opaque area at the edge of a computer screen by using a mouse can trigger the window of the application program correspondingly arranged on the corresponding window to be displayed or cancelled; if the user clicks on the opaque region at the edge of the computer screen, the browser window can be displayed or canceled, and if the user clicks on the opaque region at the edge of the computer screen, the video player window can be displayed or canceled; therefore, the application program frequently used by the user can be conveniently started under the condition that the user does not need to perform more precise visual identification and more precise action control.
The method comprises the steps that at least one window located on the topmost layer of a computer desktop is arranged, and part or all of sections in an overlapping area of the window and at least one edge of a computer screen are set to be opaque areas, so that mouse operations executed by a user at a transparent position of the window can smoothly penetrate through the window and be normally received by other windows, and mouse operations executed by the user at an opaque area position of the edge of the computer screen can be successfully received by the window; under the condition that the opaque region of the window positioned at the topmost layer of the computer desktop is correspondingly provided with the application program, the operation that a user clicks the opaque region at the edge of the computer screen by using a mouse can trigger the window of the application program correspondingly arranged in the opaque region to be displayed or cancelled to be displayed; if the user clicks on the opaque region at the edge of the computer screen, the browser window can be displayed or canceled, and if the user clicks on the opaque region at the edge of the computer screen, the video player window can be displayed or canceled; therefore, the application program frequently used by the user can be conveniently started under the condition that the user does not need to perform more precise visual identification and more precise action control.
As can be seen from the above description, the technical solution provided in the present application is beneficial to improving the convenience of starting the application program, and is beneficial to enriching the ways of starting the application program.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description, serve to explain the principles of the application.
The present application may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
FIG. 1 is a schematic diagram of an embodiment of a window located at the topmost layer of a computer desktop according to the present application;
FIG. 2 is a schematic view of another embodiment of a window of the present application positioned at the topmost layer of a computer desktop;
FIG. 3 is a flowchart of an embodiment of a method for fast launching an application according to the present application;
FIG. 4 is a flowchart of another embodiment of a method for fast launching an application according to the present application;
FIG. 5 is a diagram illustrating an embodiment of an apparatus for fast launching an application according to the present application;
FIG. 6 is a diagram illustrating another embodiment of an apparatus for fast launching an application according to the present application;
fig. 7 is a schematic diagram of an embodiment of an electronic device according to the present application.
Detailed Description
Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the application, its application, or uses.
Techniques, methods, apparatus, etc. known to those of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
The embodiment of the application can be applied to a computer system or a server. Examples of such computer systems or servers include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, microprocessor-based systems, set top boxes, programmable consumer electronics, network pcs, minicomputer systems, mainframe computer systems, distributed cloud computing environments that include any of the above, and the like.
The computer system/server may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc. that perform particular tasks or implement particular abstract data types. The computer system/server may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
A method for quickly starting an application provided by the present application is described in detail below with reference to fig. 1 to 3.
In the case where the method of the present application is executed by a client program installed in a computer, after the client program is started, one or more windows are set, and each window is a window located at the topmost (top most) layer of the computer desktop. For any window provided by the application, the window includes a transparent area and an opaque area, the window can receive mouse information through the opaque area, the window cannot receive mouse information through the transparent area, and the mouse information can be transmitted to another visual window located below the window through the transparent area of the window. The opaque area in each window set by the client program of the present application is generally a partial section or a whole section located in/covering the overlapping area of the window and the edge of the computer screen, and other areas located in/covering the computer screen in the window should be set as transparent areas.
In an alternative example, the window 110 shown in fig. 1 is a window located at the topmost layer of the computer desktop, the window 110 overlaps with the section 1 on the right side of the upper edge and the section 2 on the upper side of the right edge of the computer screen 100, respectively, and all or part of the section 1 in the window 110 may be set as an opaque region (for example, the opaque region may have a height of 1 pixel or 2 pixels), and all or part of the section 2 in the window 110 may be set as an opaque region (for example, the opaque region may have a width of 1 pixel or 2 pixels). Other regions of the window 110 that are located within the computer screen 100 (e.g., other regions of the window 110 that are located within the computer screen 100 other than the opaque regions in sections 1 and 2) are set as transparent regions, while regions of the window 110 that are located outside the computer screen 100 may be set as transparent regions and may also be set as opaque regions.
In addition, in the above alternative example, the present application may set the section 2 as a transparent area while setting all or part of the section 1 as an opaque area. In the present application, all or part of the segment 2 may be set as the opaque region in the case where the segment 1 is set as the transparent region.
In the above alternative example, the specific position of the window 110 in the computer screen 100 can be set according to actual requirements, as long as the window 110 has an area overlapping with at least one edge of the computer screen 100. As a specific example, the present application may move window 110 upward so that only a portion of window 110 having a window lower border (e.g., a 1-pixel or 2-pixel high window lower border) overlaps the upper edge of computer screen 100. As another specific example, the present application may shift window 110 to the right such that only a partial region of window 110 having a window left border (e.g., a window left border that is 1 pixel wide or 2 pixels wide) overlaps the right edge of computer screen 100. As yet another specific example, the present application may move window 110 downward and to the left such that only a portion or all of the area of the window 110's upper border (e.g., a 1-pixel or 2-pixel high window upper border) overlaps the computer screen 100's upper border, or such that the upper right vertex of window 110 coincides with the upper right vertex of computer screen 100, such that the window 110's upper border (e.g., a 1-pixel or 2-pixel high window upper border) and the window's right border (e.g., a 1-pixel or 2-pixel wide window right border) overlap the computer screen 100's upper border and right border, respectively. The application does not limit the specific location of the window 110 in the computer screen 100.
In addition, only one window 110 is schematically shown in fig. 1, however, in practical applications, two or more windows 110 may be provided. A specific example of the present application in which four windows 110 are provided is shown in fig. 2.
In fig. 2, each of the four windows 110 has a partial area of a window frame overlapping a corresponding edge of the computer screen 100, and each of the four windows 110 may be completely set as an opaque area, or only the portion of the four windows 110 overlapping the edge of the computer screen 100 in fig. 2 may be set as an opaque area, and the other areas of the four windows 110 may be set as transparent areas.
In an alternative example, one window in the present application corresponds to one application, and different windows generally correspond to different applications, for example, as shown in fig. 2, in the case where four windows 110 located at the topmost layer of the computer desktop are provided in the present application, four windows each correspond to one application, so that four windows may correspond to four different applications. In a specific example, the first window corresponds to a browser, the second window corresponds to a screen saver, the third window corresponds to a video player, and the fourth window corresponds to an audio player. The application programs corresponding to the different windows in the application can be preset by default, and certainly, the application can also allow a user to set by himself, namely, the application can provide a function for setting the application program to be started quickly for the user, so that the user can modify the application programs corresponding to the different windows preset by default into the application programs frequently used by the user according to the application programs frequently used by the user.
Fig. 3 is a flowchart of a method for quickly starting an application according to an embodiment of the present application.
In fig. 3, the method of this embodiment mainly includes: step S300, step S310, and step S320. The steps included in the method of the present embodiment are described below.
S300, when the mouse information is received through the opaque area of the window, whether the mouse information is preset click information or not is judged.
In an alternative example, the mouse in the present application may include a device that controls a cursor position on a computer screen by moving and enables left or right mouse click/double click, for example, a touch pad or a joystick, etc. may be considered as a mouse. When a user clicks or points to an opaque region of a window positioned at the topmost layer of a computer desktop through a mouse, the window to which the opaque region belongs receives corresponding mouse information; for example, when a user points to an opaque region of a window located at the topmost layer of a computer desktop with a mouse (i.e., a control cursor stays on the opaque region of the window), a window to which the opaque region belongs receives mouse position information (which may also be referred to as cursor position/coordinate information); for another example, when a user points at an opaque region of a window located at the topmost layer of a computer desktop using a mouse and clicks/double-clicks a left button/right button/wheel of the mouse, etc., the window to which the opaque region belongs may receive mouse position information and corresponding click information.
In an optional example, the predetermined mouse click information in the present application is generally left mouse click information, that is, when a user clicks an opaque area of a window located at a topmost layer of a computer desktop with a left mouse click, the mouse information is determined to be the predetermined mouse click information.
In an optional example, the predetermined mouse click information in the application can allow a user to set the predetermined mouse click information by himself, that is, the application program in the application can provide the user with a function of setting the predetermined mouse click information, so that the user can modify the mouse left-click information set by default in the application into right-click mouse information, roller click information, left-click double-click information, and the like according to the use habit of the user.
It should be particularly noted that the predetermined mouse click information set for different windows in the present application may be the same or different, that is, the predetermined mouse click information for triggering the window display of different application programs or canceling the visual states of the windows of different application programs in the present application may be the same or different.
S310, under the condition that the mouse information is determined to be the preset click information and the window of the application program correspondingly arranged to the window receiving the mouse information is currently in the non-visual state, executing the operation of displaying the window of the application program.
In an optional example, in the present application, that a window of an application program, which is set corresponding to a window that receives mouse information, is currently in a non-visible state may refer to: the application program is in a non-visual state because the application program is not started and the window does not exist; it may also mean: although the application is currently launched, the application's window is hidden or completely obscured, and thus is in a non-visible state in which the entire window is not displayed at all. The application window being hidden in the present application includes the application window being minimized or the application window being collapsed, etc.
In an optional example, the application may obtain names of all currently running processes by requesting names of currently running processes (including threads) to an operating system of the computer when it is determined that the mouse information is the predetermined click information, and determine that the application program corresponding to the window receiving the mouse information is not currently started when it is determined that the obtained names of all processes do not include the process name of the application program corresponding to the window receiving the mouse information. The application program corresponding to the window receiving the mouse information can be judged whether to be started currently or not in other modes. According to the application program starting method and device, under the condition that the application program is judged not to be started currently, the operation of starting the application program correspondingly arranged on the window receiving the mouse information is executed, the window of the application program becomes a current active window, and therefore the window of the application program is in a visible state.
In an optional example, the application may obtain all currently running process names by requesting, to an operating system of the computer, a currently running process (including a thread) name when it is determined that the mouse information is the predetermined click information, and determine that the application program corresponding to the window that receives the mouse information is currently started when it is determined that the obtained all process names include the process name of the application program corresponding to the window that receives the mouse information. The present application may determine whether the window of the started application is in a hidden state or in a completely blocked state in a variety of ways, for example, the present application may obtain handles of four endpoint coordinate position windows of the window of the application corresponding to the window that receives the mouse information by requesting the handles of the endpoint coordinate position windows of the window from the computer operating system, and further may determine whether the handles (e.g., window IDs) of the four endpoint coordinate position windows include the window handle (e.g., window ID) of the application corresponding to the window that receives the mouse information, and if the handles of the four endpoint coordinate position windows include the window handle of the application corresponding to the window that receives the mouse information (e.g., if at least one of the handles of the endpoint coordinate position windows is the window handle of the application), it may determine that the window of the started application is not in a hidden state, is not completely occluded but is in a visible state in which at least part of the window is displayed; if the handles of the four endpoint coordinate position windows do not contain the window handles of the application programs correspondingly arranged to the window receiving the mouse information, the window of the started application program can be preliminarily judged to be in a hidden state or a completely shielded state. The application does not limit the specific implementation manner of judging whether the window of the application program is in a hidden state or a completely shielded state. According to the method and the device, under the condition that the application program correspondingly arranged on the window receiving the mouse information is determined to be started currently and the window of the application program is in a hidden state or a completely shielded state, the window of the application program can become a current active window by executing the operation of switching the current active window, so that the window of the application program is in a visible state.
And S320, under the condition that the mouse information is determined to be the preset click information and the window of the application program correspondingly arranged to the window receiving the mouse information is currently in the visible state, executing the operation of canceling the visible state of the window of the application program.
In an optional example, the current state of the window of the application program, which is set corresponding to the window that receives the mouse information in the application, in the visible state may be: the application program is started currently, and the window of the application program is a current active window, so that the application program is in a visual state that the whole window is completely displayed; it may also mean: the application program is started currently and is in a visual state that part of the windows are displayed because the window of the application program is not the current active window but is partially occluded by other windows.
In an optional example, the application may obtain all currently running process names by requesting, to an operating system of the computer, a currently running process (including a thread) name when it is determined that the mouse information is the predetermined click information, and determine that the application program corresponding to the window that receives the mouse information is currently started when it is determined that the obtained all process names include the process name of the application program corresponding to the window that receives the mouse information. The application program corresponding to the window receiving the mouse information can be judged whether to be started currently or not in other modes.
The application can judge whether the window of the application program correspondingly arranged to the window receiving the mouse information is in a visible state in various ways, for example, the application can obtain the handles of the four endpoint coordinate position windows of the application program correspondingly arranged to the window receiving the mouse information by requesting the handles of the endpoint coordinate position windows of the window to a computer operating system, the application can judge whether the handles (such as window IDs) of the four endpoint coordinate position windows contain the window handles (such as window IDs) of the application program correspondingly arranged to the window receiving the mouse information, if the handles of the four endpoint coordinate position windows contain the window handles of the application program correspondingly arranged to the window receiving the mouse information, the application program corresponding to the window receiving the mouse information can be judged not to be in a hidden state, nor is it completely occluded, but is in a visible state in which at least part of the window is displayed. The application does not limit the specific implementation manner of judging that the window of the application program is currently in the visible state. According to the application program, when the application program corresponding to the window receiving the mouse information is determined to be started currently and the window of the application program is in the visible state currently, the window of the application program can be in the hidden state or the closed state by executing the operation of hiding the window of the application program or executing the operation of closing the application program. The operation of hiding the window of the application program in the present application may specifically be an operation of collapsing the window of the application program, and may also specifically be an operation of minimizing the window of the application program.
The method for quickly starting an application provided by the present application is described in detail below with reference to fig. 1-2 and fig. 4.
The description of the window located at the topmost layer of the computer desktop in the present application can be referred to the description of fig. 1 and 2 above. Unlike the above description with respect to fig. 1 and 2, in the present embodiment, an application is provided to the opaque area of the window 110, and not to the window 110. Each opaque region of a window 110 may correspond to an application. It should be noted that different opaque regions located on the same edge of the same computer screen may correspond to different applications. An opaque region in this application may refer to an opaque region naturally partitioned due to the non-connection of the opaque regions, for example, the portions of the four windows 110 in fig. 2 respectively overlapping the edges of the computer screen 100 are naturally partitioned into four opaque regions due to the non-connection. In addition, an opaque region in the present application may also refer to: although the opaque regions are not separated by the unjoined regions, the present application may define one opaque region by a coordinate position, for example, a portion of the uppermost window 110 overlapping the upper edge of the computer screen 100 in fig. 2 may be divided into two or more opaque regions by a coordinate position. The present application is not limited to a particular implementation of defining an opaque region.
As a specific example, it may be set that one application is provided for the section 1 and another application is provided for the section 2 in the window 110 shown in fig. 1. In the present application, it may also be set that one application program is correspondingly disposed on the left half of the sector 1, and one application program is correspondingly disposed on the right half of the sector 1.
As another specific example, it may be set that an application program is respectively disposed in four opaque regions of the four windows 110 shown in fig. 2, which are respectively overlapped with the computer screen 100.
In an optional example, the application may only set one window located at the topmost layer of the computer desktop, the size of the window may be the same as that of the computer screen, and four borders of the window are respectively completely overlapped with four edges of the computer screen 100.
Fig. 4 is a flowchart of a method for quickly starting an application according to another embodiment of the present application.
In fig. 4, the method of this embodiment mainly includes: step S400, step S410, and step S420. The steps included in the method of the present embodiment are described below.
S400, when the mouse information is received through the opaque area of the window, whether the mouse information is preset click information or not is judged.
The specific content of this step can be referred to the description in step S300 in fig. 3, and the description is not repeated here.
It should be particularly noted that the preset mouse click information set for different opaque regions in the present application may be the same or different; that is, the predetermined mouse click information for triggering the window display of the different application programs or canceling the visual state of the windows of the different application programs may be the same or different.
And S410, under the condition that the mouse information is determined to be the preset click information and the window of the application program correspondingly arranged in the opaque area is currently in the non-visible state, executing the operation of displaying the window of the application program.
In an optional example, each opaque region, which is provided with an application program correspondingly, is provided with a coordinate range, so that the application can determine the opaque region to which the coordinate information of the mouse belongs according to the coordinate information of the mouse and the coordinate ranges of the opaque regions, and further determine the application program correspondingly set in the opaque region which receives the mouse information.
In an optional example, the current non-visible state of the window of the application program, where the opaque region is set corresponding to the window, may be: the application program correspondingly arranged in the opaque area is not started, so that the window does not exist, and the application program is in a non-visible state; it may also mean: although the application program corresponding to the opaque area is started currently, the window of the application program is hidden or completely blocked, so that the application program is in a non-visible state. The application window being hidden in the present application includes the application window being minimized or the application window being collapsed, etc.
In an optional example, the application may obtain all currently running process names by requesting a currently running process (including a thread) from an operating system of the computer when it is determined that the mouse information is the predetermined click information, and determine that the application program corresponding to the opaque region is not currently started when it is determined that the obtained process names do not include the process name of the application program corresponding to the opaque region. The application program corresponding to the opaque region can be judged whether to be started currently or not in other modes. According to the application program, under the condition that the application program is judged not to be started currently, the window of the application program becomes a current active window and is in a visible state by executing the operation of starting the application program corresponding to the opaque area.
In an optional example, the application may obtain all currently running process names by requesting, to an operating system of the computer, names of currently running processes (including threads) when it is determined that the mouse information is the predetermined click information, and determine that the application program corresponding to the opaque region is currently started when it is determined that the obtained all process names include the process name of the application program corresponding to the opaque region. The application can adopt various ways to judge whether the window of the application program correspondingly arranged in the opaque area is in a hidden state or in a completely blocked state, for example, the application program can obtain handles of four end point coordinate position windows of the window of the application program arranged corresponding to the opaque region by requesting the handles of the end point coordinate position windows of the window from the computer operating system, further, it can be determined whether the handles of the four endpoint coordinate position windows include the window handle (e.g. window ID) of the application program corresponding to the opaque region, if the handles of the four endpoint coordinate location windows contain window handles for applications where opaque regions are located, then, it can be determined that the window of the application program, which is set corresponding to the opaque region, is not in a hidden state, is not completely blocked, but is in a visible state in which at least part of the window is displayed; if the handles of the four endpoint coordinate position windows do not contain the window handles of the application programs correspondingly set in the opaque regions, it can be preliminarily determined that the windows of the application programs correspondingly set in the opaque regions are in a hidden state or a completely blocked state. The application does not limit the specific implementation manner of judging whether the window of the application program is in a hidden or completely blocked state. According to the method and the device, under the condition that the application program correspondingly arranged in the opaque area is determined to be started currently and the window of the application program is hidden or completely shielded, the window of the application program can be made to be the current active window and be in a visible state by executing the switching operation of the current active window.
And S420, under the condition that the mouse information is determined to be the preset click information and the window of the application program correspondingly arranged in the opaque area is currently in the visible state, executing the operation of canceling the visible state of the window of the application program.
In an alternative example, the current state of the window of the application program, which is set corresponding to the opaque region in the present application, may be: the application program correspondingly arranged in the opaque area is started currently and is in a visible state because the window of the application program is a current active window; it may also mean: the application program corresponding to the opaque area is started currently, and the window of the application program is not the current active window but is partially blocked by other windows, so that the window is in a visual state in which part of the window is displayed.
In an optional example, the application may obtain all currently running process names by requesting, to an operating system of the computer, names of currently running processes (including threads) when it is determined that the mouse information is the predetermined click information, and determine that the application program corresponding to the opaque region is currently started when it is determined that the obtained all process names include the process name of the application program corresponding to the opaque region. The application program corresponding to the opaque region can be judged whether to be started or not in other modes.
The application can adopt various ways to judge whether the window of the application program arranged corresponding to the opaque area is in a visible state, for example, the present application may obtain handles of four endpoint coordinate location windows of a window of an application program corresponding to the opaque region by requesting the handles of the endpoint coordinate location windows from the computer operating system, and may determine whether the handles of the four endpoint coordinate location windows include a window handle (e.g., a window ID) of an application program corresponding to the opaque region, if the handles of the four endpoint coordinate location windows contain window handles for applications where opaque regions are located, it can be determined that the window of the application program corresponding to the opaque region is not in a hidden state, is not completely blocked, and is currently in a visible state in which at least a part of the window is displayed. The application does not limit the specific implementation manner of judging that the window of the application program is currently in the visible state. According to the application program and the method, under the condition that the application program correspondingly arranged in the opaque area is determined to be started currently and the window of the application program is in the visible state currently, the window of the application program can be in the hidden state or the closed state by executing the operation of hiding the window of the application program or executing the operation of closing the application program. The operation of hiding the window of the application program in the present application may specifically be an operation of collapsing the window of the application program, and may also specifically be an operation of minimizing the window of the application program.
Fig. 5 is a schematic diagram of an apparatus for quickly starting an application according to the embodiment. The apparatus in fig. 5 comprises: at least one window positioned at the topmost layer of the computer desktop, wherein part or all of the section of the window in the overlapping region with at least one edge of the computer screen is set as an opaque region, and the other region of the window covering the computer screen is set as a transparent region; in addition, different windows correspond to different applications. For the position relationship between the window and the computer screen, the specific position of the opaque region, and the application program corresponding to the window, please refer to the related description above for fig. 1 and fig. 2, and the description is not repeated here.
The apparatus of this embodiment further comprises: a click judgment module 500, a first visual judgment module 510 and a first control module 520.
The following describes each module included in the apparatus of the present embodiment.
The click determining module 500 is mainly used for determining whether the mouse information is predetermined click information when the mouse information is received through the opaque region of the window.
In an optional example, the predetermined mouse click information in the present application is generally left mouse click information, that is, when a user clicks an opaque region of a window located at a topmost layer of a computer desktop with a left mouse click, the click determination module 500 determines that the mouse information is the predetermined mouse click information.
In an optional example, the predetermined mouse click information in the present application may allow a user to set the predetermined mouse click information by himself, that is, the click determination module 500 may provide a function of setting the predetermined mouse click information to the user, so that the user may modify the mouse left click information set by the click determination module 500 by default into right mouse click information, roller click information, left mouse click information, or the like according to the usage habit of the user.
The first visual determining module 510 is mainly configured to determine, when the click determining module 500 determines that the mouse information is the predetermined click information, whether a window of an application program, which is set corresponding to the window that receives the mouse information, is currently in a non-visual state or a visual state.
In an optional example, in the present application, that a window of an application program, which is set corresponding to a window that receives mouse information, is currently in a non-visible state may refer to: the application program is in a non-visual state because the application program is not started and the window does not exist; it may also mean: although the application is currently launched, the application's window is hidden or completely obscured, and thus is in a non-visible state in which the entire window is not displayed at all. The application window being hidden in the present application includes the application window being minimized or the application window being collapsed, etc.
In an optional example, the first visual determining module 510 may obtain names of all currently running processes by requesting names of currently running processes (including threads) from the computer operating system when the click determining module 500 determines that the mouse information is the predetermined click information, and determine that the application program corresponding to the window receiving the mouse information is not currently started when it is determined that the obtained names of all processes do not include the process name of the application program corresponding to the window receiving the mouse information. The first visual determining module 510 may also determine whether the application program corresponding to the window receiving the mouse information is not started currently in other manners.
In an optional example, the first visual judging module 510 may obtain all currently running process names by requesting, to the computer operating system, the currently running process (including thread) names when the click judging module 500 determines that the mouse information is the predetermined click information, and the first visual judging module 510 determines that the application program corresponding to the window receiving the mouse information is currently started when it is determined that the obtained all process names include the process name of the application program corresponding to the window receiving the mouse information. The first visual determining module 510 may determine whether the window of the application program that has been started is in a hidden state or in a completely blocked state in a variety of manners, for example, the first visual determining module 510 may obtain handles of four endpoint coordinate position windows of the application program that are set corresponding to the window that receives the mouse information by requesting the handles of the endpoint coordinate position windows from the computer operating system, and further the first visual determining module 510 may determine whether the handles (e.g., window IDs) of the four endpoint coordinate position windows include the window handle (e.g., window ID) of the application program that is set corresponding to the window that receives the mouse information, if the handles of the four endpoint coordinate position windows include the window handle (e.g., the handle of at least one endpoint coordinate position window is the window handle of the application program) that is set corresponding to the window that receives the mouse information, the first visual determining module 510 may determine that the window of the started application program is not in a hidden state, is not completely blocked, and is in a visual state where at least a part of the window is displayed; if the handles of the four endpoint coordinate position windows do not include the window handle of the application program correspondingly set to the window that receives the mouse information, the first visual determination module 510 may preliminarily determine that the window of the started application program is in a hidden state or in a completely blocked state. The application does not limit the specific implementation manner of the first visual determining module 510 determining whether the window of the application program is in a hidden state or a completely blocked state.
The first control module 520 is mainly configured to perform an operation of displaying a window of an application program when the click determination module 500 determines that the mouse information is the predetermined click information and the first visual determination module 510 determines that the window of the application program, which is set corresponding to the window that receives the mouse information, is currently in a non-visual state. Specifically, the first control module 520 may enable the window of the application program to be a current active window by executing an operation of starting the application program correspondingly set to the window that receives the mouse information when the first visual determining module 510 determines that the application program correspondingly set to the window that receives the mouse information is not currently started, so as to enable the window of the application program to be in a visual state. The first control module 520 may also enable the window of the application program to be a current active window by performing an operation of switching the current active window when the first visual determining module 510 determines that the application program corresponding to the window that receives the mouse information is currently started and the window of the application program is in a hidden state or in a completely blocked state, so as to be in a visual state.
The first control module 520 is further configured to, when the click determining module 500 determines that the mouse information is the predetermined click information, and the first visual determining module 510 determines that the window of the application program, which is set corresponding to the window that receives the mouse information, is currently in the visual state, perform an operation of canceling the visual state of the window of the application program. Specifically, the first control module 520 may enable the window of the application program to be in a hidden state or a closed state by performing an operation of hiding the window of the application program or performing an operation of closing the application program. The operation of hiding the window of the application executed by the first control module 520 may specifically be an operation of collapsing the window of the application, and may also specifically be an operation of minimizing the window of the application.
Fig. 6 is a schematic diagram of another apparatus for quickly starting an application according to the embodiment. The apparatus in fig. 6 comprises: at least one window located at the topmost layer of the computer desktop, wherein part or all of the section of the window in the overlapping region with at least one edge of the computer screen is set as an opaque region, other regions of the window covering the computer screen are set as transparent regions, and different opaque regions located at the edge of the computer screen respectively correspond to one application program. For the position relationship between the window and the computer screen, the specific position of the opaque region, and the application program corresponding to the window, please refer to the related description above for fig. 1 and fig. 2, and the description is not repeated here.
The apparatus of this embodiment further comprises: a click judgment module 500, a second visual judgment module 530 and a second control module 540. The operation performed by the click determination module 500 can be referred to the related description of the click determination module 500 in fig. 5. The description is not repeated here, and the second visual judging module 530 and the second control module 540 of the present embodiment are described below.
The second visual determining module 530 is mainly configured to determine, when the click determining module 500 determines that the mouse information is the predetermined click information, whether a window of an application program, which is set corresponding to an opaque region corresponding to the mouse information, is currently in a non-visual state or a visual state.
In an optional example, each of the opaque regions in the application, which is provided with the application program correspondingly, is provided with a coordinate range, so that the second visual determining module 530 may determine, according to the coordinate information of the mouse and the coordinate ranges of the opaque regions, the opaque region to which the coordinate information of the mouse belongs, and further the second visual determining module 530 may determine the application program, which is provided correspondingly to the opaque region that receives the mouse information.
In an optional example, the current non-visible state of the window of the application program, where the opaque region is set corresponding to the window, may be: the application program correspondingly arranged in the opaque area is not started, so that the window does not exist, and the application program is in a non-visible state; it may also mean: although the application program corresponding to the opaque area is started currently, the window of the application program is hidden or completely blocked, so that the application program is in a non-visible state. The application window being hidden in the present application includes the application window being minimized or the application window being collapsed, etc.
In an optional example, the second visual determination module 530 may obtain all currently running process names by requesting, from the computer operating system, a currently running process (including a thread) when the click determination module 500 determines that the mouse information is the predetermined click information, and the second visual determination module 530 determines that the application program corresponding to the opaque region is not currently started when it is determined that the obtained all process names do not include the process name of the application program corresponding to the opaque region. The second visual determining module 530 may also determine whether the application program corresponding to the opaque region is not started currently in other manners.
In an optional example, the second visual determining module 530 may obtain all names of the currently running processes by requesting, from the computer operating system, names of the currently running processes (including threads) when the click determining module 500 determines that the mouse information is the predetermined click information, and the second visual determining module 530 determines that the application program corresponding to the opaque region has been currently started when it determines that the obtained names of all processes include the process name of the application program corresponding to the opaque region. After determining that the application program is currently started, the second visual determining module 530 may determine whether the window of the application program corresponding to the opaque region is in a hidden state or in a completely blocked state in a plurality of manners, for example, the second visual determining module 530 may obtain handles of four endpoint coordinate position windows of the window of the application program corresponding to the opaque region by requesting the handles of the window endpoint coordinate position windows from the computer operating system, and further the second visual determining module 530 may determine whether the handles of the four endpoint coordinate position windows include the window handle (e.g., window ID) of the application program corresponding to the opaque region, and if the handles of the four endpoint coordinate position windows include the window handle of the application program corresponding to the opaque region, the second visual determining module 530 may determine that the window of the application program corresponding to the opaque region is not in a hidden state, is not completely occluded, but is in a visible state in which at least part of the window is displayed; if the handles of the four endpoint coordinate position windows do not include the window handle of the application program corresponding to the opaque region, the second visual determination module 530 may preliminarily determine that the window of the application program corresponding to the opaque region is in the hidden state or in the completely blocked state. The application is not limited to the specific implementation manner of the second visual determining module 530 determining whether the window of the application program is in a hidden or completely blocked state.
In an alternative example, the current state of the window of the application program, which is set corresponding to the opaque region in the present application, may be: the application program correspondingly arranged in the opaque area is started currently and is in a visible state because the window of the application program is a current active window; it may also mean: the application program corresponding to the opaque area is started currently, and the window of the application program is not the current active window but is partially blocked by other windows, so that the window is in a visual state in which part of the window is displayed.
In an optional example, the second visual determining module 530 may obtain all names of currently running processes by requesting, from the computer operating system, names of currently running processes (including threads) when the click determining module 500 determines that the mouse information is the predetermined click information, and the second visual determining module 530 determines that the application program corresponding to the opaque region is currently started when the second visual determining module 530 determines that the obtained names of all processes include the process name of the application program corresponding to the opaque region. The second visual determining module 530 may also determine whether the application program corresponding to the opaque region is currently started in other manners.
After determining that the application program is currently started, the second visual determining module 530 may determine whether the window of the application program corresponding to the opaque region is in a visual state in a plurality of manners, for example, the second visual determining module 530 may obtain handles of four endpoint coordinate position windows of the window of the application program corresponding to the opaque region by requesting the handles of the window endpoint coordinate position windows from the computer operating system, the second visual determining module 530 may determine whether the handles of the four endpoint coordinate position windows include the window handle (e.g., window ID) of the application program corresponding to the opaque region, and if the handles of the four endpoint coordinate position windows include the window handle of the application program corresponding to the opaque region, the second visual determining module 530 may determine that the window of the application program corresponding to the opaque region is not in a hidden state, nor is it completely occluded but is currently in a visible state with at least a portion of the window being displayed. The present application is not limited to the specific implementation manner in which the second visual determining module 530 determines that the window of the application is currently in the visual state.
The second control module 540 is mainly configured to, when the click determining module 500 determines that the mouse information is the predetermined click information, and the second visual determining module 530 determines that the window of the application program, which is set corresponding to the opaque region corresponding to the mouse information, is currently in the non-visual state, execute an operation of displaying the window of the application program. Specifically, the second control module 540 may enable the window of the application program to be a current active window and to be in a visible state by executing an operation of starting the application program corresponding to the opaque region when the second visual determining module 530 determines that the application program corresponding to the opaque region corresponding to the mouse information is not currently started. The second control module 540 may enable the window of the application program to be a current active window and to be in a visible state by executing a current active window switching operation when the second visual determining module 530 determines that the application program corresponding to the opaque region is currently started and the window of the application program is hidden or completely blocked.
The second control module 540 is further configured to, when the click determining module 500 determines that the mouse information is the predetermined click information, and the second visual determining module 530 determines that the window of the application program, which is set corresponding to the opaque region corresponding to the mouse information, is currently in the visual state, perform an operation of canceling the visual state of the window of the application program. Specifically, when the second visual determining module 530 determines that the application program corresponding to the opaque region is currently started and the window of the application program is currently in the visual state, the second control module 540 may enable the window of the application program to be in the hidden state or the closed state by performing an operation of hiding the window of the application program or performing an operation of closing the application program. The operation of hiding the window of the application executed by the second control module 540 may specifically be an operation of collapsing the window of the application, and may also specifically be an operation of minimizing the window of the application.
An example of a specific application scenario of the technical scheme of the method and the device for quickly starting the application program includes:
under the condition that the computer does not display the browser window at present, if a user clicks the upper edge of the computer screen by using a left mouse button, the browser window can slide into the computer screen from the upper edge of the computer screen in a top-down sliding mode and is displayed in a maximized state; under the condition that the computer currently displays the browser window, if a user clicks the upper edge of the computer screen by using a left mouse button, the browser window can slide out of the computer screen from the upper edge of the computer screen in a bottom-to-top sliding mode, so that the browser window is hidden.
Under the condition that a computer main window (namely a computer desktop provided by a non-operating system containing shortcut icons and the like, and the shortcut icons contained in the computer main window can be shortcut icons with higher use frequency) is not displayed on the computer currently, if a user clicks the left edge of a computer screen by using a left mouse button, the technical scheme of the application can ensure that the computer main window slides into the computer screen from the left edge of the computer screen in a left-to-right sliding mode and is displayed in a maximized state; under the condition that the computer currently displays the computer main window, if a user clicks the left edge of the computer screen by using the left mouse button, the technical scheme of the application can enable the computer main window to slide out of the computer screen from the left edge of the computer screen in a right-left sliding mode, so that the computer main window is hidden.
Under the condition that a computer secondary window (namely a computer desktop provided by a non-operating system containing shortcut icons and the like, and the shortcut icons contained in the computer secondary window can be shortcut icons with lower use frequency) is not displayed on a computer currently, if a user clicks the lower end of the right edge of a computer screen or the lower right corner position of the computer screen by using a left mouse button (for example, the height of the lower end can be generally the height of a task bar of the computer screen), the technical scheme of the application can enable the computer secondary window to slide into the computer screen from the lower right edge of the computer screen in a mode of sliding from the lower right to the upper left, and display in a maximized state; under the condition that the computer currently displays the computer auxiliary window, if a user clicks the lower end of the right edge of the computer screen or the position of the lower right corner by using the left mouse button, the technical scheme of the application can enable the computer auxiliary window to slide out of the computer screen from the right lower edge of the computer screen in a mode of sliding from the upper left to the lower right, so that the computer auxiliary window is hidden.
Under the condition that the computer does not display the screen protection window currently, if a user double-clicks the lower edge of the computer screen by using a left mouse button, the technical scheme of the application can start the screen protection program and display the screen protection window in a full screen manner; because the screen saver window covers the opaque region in the application, the technical scheme of the application cannot receive mouse information under the condition that the screen saver window is displayed currently, so that a user can close the screen saver window by using the existing screen saver exiting mode.
Fig. 7 illustrates an exemplary electronic device 700 (e.g., a computer) suitable for implementing the present application. In fig. 7, the electronic device 700 includes one or more processors, a communication section, and the like, and the one or more processors may be: one or more Central Processing Units (CPUs) 701, and/or one or more image description model trainers (GPUs) 713, etc., which may perform various suitable actions and processes according to executable instructions stored in a Read Only Memory (ROM)702 or loaded from a storage portion 708 into a Random Access Memory (RAM) 703. The communication part 712 may include, but is not limited to, a network card, which may include, but is not limited to, an ib (infiniband) network card. The processor may communicate with the read only memory 702 and/or the random access memory 703 to execute executable instructions, communicate with the communication part 712 via the bus 704, and communicate with other target devices via the communication part 712, thereby completing the corresponding steps in the method embodiments of the present application.
In addition, the RAM703 can store various programs and data necessary for the operation of the electronic apparatus. The CPU701, the ROM702, and the RAM703 are connected to each other via a bus 704. The ROM702 is an optional module in case of the RAM 703. The RAM703 stores executable instructions or writes executable instructions into the ROM702 at run-time, which cause the central processing unit 701 to perform the steps included in the window switching method for a computer desktop described above. An input/output (I/O) interface 705 is also connected to bus 704. The communication unit 712 may be provided integrally with the bus, or may be provided with a plurality of sub-modules (e.g., a plurality of IB network cards) and connected to the bus.
The following components are connected to the I/O interface 705: an input section 706 including a keyboard, a mouse, and the like; an output section 707 including such components as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage section 708 including a hard disk; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted in the storage section 708 as necessary.
It should be particularly noted that the architecture shown in fig. 7 is only an optional implementation manner, and in a specific practical process, the number and types of the components in fig. 7 may be selected, deleted, added or replaced according to actual needs; in the setting of different functional components, implementation manners such as a separate setting or an integrated setting may also be adopted, for example, the GPU and the CPU may be separately provided, and for example, the GPU may be integrated on the CPU, the communication part may be separately provided, or may be integrally provided on the CPU or the GPU. These alternative embodiments are all within the scope of the present application.
In particular, the processes described above with reference to the flowcharts may be implemented as a computer software program according to embodiments of the present application, for example, which include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the steps illustrated in the flowcharts, the program code, when executed, performing the steps of the method embodiments of the present application.
In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. When the computer program is executed by the Central Processing Unit (CPU)701, the above-described instructions described in the present application are executed.
It should be noted that a part of the present application can be applied as a computer program product, for example, a computer program instruction, which when executed by an intelligent electronic device (such as a computer or a server, etc.), can invoke or provide the method and/or technical solution according to the present application through the operation of the intelligent electronic device. Program instructions invoking the methods of the present application may be stored on a fixed or removable recording medium and/or transmitted via a data stream in a broadcast or other signal bearing medium and/or stored within a working memory of an intelligent electronic device operating according to the program instructions. An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps and the singular does not exclude the plural. A plurality of units or means or modules recited in the apparatus claims may also be implemented by one unit or means or module through software or hardware. The terms first, second, etc. are used merely to denote names, and do not denote any particular order.

Claims (15)

1. A method for rapidly starting an application program is characterized in that the method is executed by a client program installed in a computer, the client program is started to set at least one window positioned at the topmost layer of a computer desktop, partial or all sections in the overlapping area of the window and at least one edge of a computer screen are set as opaque areas, and other areas covering the computer screen in the window are set as transparent areas; different windows correspond to different application programs;
the method comprises the following steps:
when receiving mouse information through an opaque area of a window, judging whether the mouse information is preset click information or not;
executing the operation of displaying the window of the application program under the condition that the mouse information is determined to be preset click information and the window of the application program correspondingly arranged to the window receiving the mouse information is currently in a non-visual state;
and executing the operation of canceling the visual state of the window of the application program under the condition that the mouse information is determined to be the preset click information and the window of the application program correspondingly arranged to the window receiving the mouse information is currently in the visual state.
2. The method of claim 1, wherein the predetermined click information comprises: and clicking information by the left mouse button.
3. The method of claim 1, wherein the application program corresponding to the window comprises: default applications, or user-defined applications.
4. The method according to claim 1, wherein the step of performing an operation of displaying the window of the application program when it is determined that the mouse information is the predetermined click information and the window of the application program corresponding to the window that has received the mouse information is currently in the non-visible state comprises:
executing the operation of starting the application program under the condition that the mouse information is determined to be preset click information and the application program corresponding to the window receiving the mouse information is not started currently;
and under the condition that the mouse information is determined to be preset click information, the application program corresponding to the window receiving the mouse information is started currently and the window of the application program is hidden/completely shielded, executing the operation of switching the window of the application program into a current active window.
5. The method according to any one of claims 1 to 4, wherein the step of, in a case that it is determined that the mouse information is the predetermined click information and the window of the application program, which is set corresponding to the window that receives the mouse information, is currently in a visible state, performing the operation of canceling the visible state of the window of the application program comprises:
when the mouse information is determined to be preset click information, and the application program corresponding to the window receiving the mouse information is started currently and the window of the application program is a current active window, executing an operation of hiding the window of the application program or executing an operation of exiting the application program; or
And executing the operation of hiding the window of the application program or executing the operation of exiting the application program under the condition that the mouse information is determined to be the preset click information, the application program corresponding to the window receiving the mouse information is started currently and the window of the application program is partially shielded.
6. A method for rapidly starting an application program is characterized in that the method is executed by a client program installed in a computer, the client program is started to set at least one window positioned at the topmost layer of a computer desktop, partial or all sections in the overlapping area of the window and at least one edge of a computer screen are set as non-transparent areas, other areas covering the computer screen in the window are set as transparent areas, and different non-transparent areas positioned at the edge of the computer screen are respectively corresponding to the application program;
the method comprises the following steps:
when receiving mouse information through an opaque area of a window, judging whether the mouse information is preset click information or not;
executing the operation of displaying the window of the application program under the condition that the mouse information is determined to be the preset click information and the window of the application program correspondingly arranged in the opaque area is currently in the non-visible state;
and executing the operation of canceling the visual state of the window of the application program under the condition that the mouse information is determined to be the preset click information and the window of the application program correspondingly arranged in the opaque area is currently in the visual state.
7. The method of claim 6, wherein the different opaque regions located on the same edge of the computer screen each correspond to an application.
8. The method of claim 6, wherein the predetermined click information comprises: and clicking information by the left mouse button.
9. The method of claim 6, wherein the application program corresponding to the opaque region comprises: default applications, or user-defined applications.
10. The method according to claim 6, wherein the step of performing an operation of displaying the window of the application program when it is determined that the mouse information is the predetermined click information and the window of the application program correspondingly disposed in the opaque region is currently in the non-visible state comprises:
executing the operation of starting the application program under the condition that the mouse information is determined to be preset click information and the application program correspondingly arranged in the opaque area is not started currently;
and under the condition that the mouse information is determined to be preset click information, the application program correspondingly arranged in the opaque area is started currently, and the window of the application program is hidden/completely shielded, executing the operation of switching the window of the application program into the current active window.
11. The method according to any one of claims 6 to 10, wherein the step of, in a case where it is determined that the mouse information is the predetermined click information and the window of the application program corresponding to the opaque region is currently in the visible state, performing an operation of canceling the visible state of the window of the application program comprises:
when the mouse information is determined to be the preset click information, the application program corresponding to the opaque region clicked by the mouse is started currently and the window of the application program is the current active window, executing the operation of hiding the window of the application program or executing the operation of exiting the application program; or
And executing the operation of hiding the window of the application program or executing the operation of exiting the application program under the condition that the mouse information is determined to be the preset click information, the application program corresponding to the opaque region clicked by the mouse is started currently and the window of the application program is partially blocked.
12. An apparatus for rapidly starting an application program, wherein the apparatus is implemented by a client program installed in a computer, the client program is started to set at least one window located at the topmost layer of a computer desktop, and a part or all of a section in an overlapping area of the window and at least one edge of a computer screen is set as an opaque area, and other areas covering the computer screen in the window are set as transparent areas; different windows correspond to different application programs;
the device comprises the following modules:
the click judgment module is used for judging whether the mouse information is preset click information or not when the mouse information is received through the opaque area of the window;
the first visual judgment module is used for judging whether a window of an application program, which is correspondingly arranged to the window receiving the mouse information, is in a non-visual state or a visual state at present under the condition that the click judgment module determines that the mouse information is the preset click information;
the first control module is used for executing the operation of displaying the window of the application program under the condition that the click judgment module determines that the mouse information is the preset click information and the first visual judgment module determines that the window of the application program correspondingly arranged to the window receiving the mouse information is currently in the non-visual state;
and the first visual judging module is used for executing the operation of canceling the visual state of the window of the application program under the condition that the click judging module determines that the mouse information is the preset click information and the first visual judging module determines that the window of the application program correspondingly arranged to the window receiving the mouse information is currently in the visual state.
13. An apparatus for rapidly starting an application program, wherein the apparatus is implemented by a client program installed in a computer, the client program is started to set at least one window located at the topmost layer of a computer desktop, a part or all of a section of the window in an overlapping region with at least one edge of a computer screen is set as an opaque region, other regions of the window covering the computer screen are set as transparent regions, and different opaque regions located at the edge of the computer screen are respectively corresponding to the application program; the device comprises the following modules:
the click judgment module is used for judging whether the mouse information is preset click information or not when the mouse information is received through the opaque area of the window;
the second visual judgment module is used for judging whether a window of an application program, which is arranged corresponding to the opaque region corresponding to the mouse information, is in a non-visual state or a visual state at present under the condition that the click judgment module determines that the mouse information is the preset click information;
the second control module is used for executing the operation of displaying the window of the application program under the condition that the click judgment module determines that the mouse information is the preset click information and the second visual judgment module determines that the window of the application program correspondingly arranged in the opaque area corresponding to the mouse information is currently in the non-visual state;
the second control module is further configured to execute an operation of canceling the visual state of the window of the application program when the click judgment module determines that the mouse information is the predetermined click information and the second visual judgment module determines that the window of the application program, which is set corresponding to the opaque region corresponding to the mouse information, is currently in the visual state.
14. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing a computer program stored in the memory, and when the computer program is executed, the executed instructions implement the method of any of the preceding claims 1-11.
15. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of any one of the preceding claims 1-11.
CN201711099628.1A 2017-11-09 2017-11-09 Method, device and equipment for quickly starting application program and storage medium Active CN109766034B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711099628.1A CN109766034B (en) 2017-11-09 2017-11-09 Method, device and equipment for quickly starting application program and storage medium
PCT/CN2018/114905 WO2019091467A1 (en) 2017-11-09 2018-11-09 Method, apparatus, and device for quickly starting application program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711099628.1A CN109766034B (en) 2017-11-09 2017-11-09 Method, device and equipment for quickly starting application program and storage medium

Publications (2)

Publication Number Publication Date
CN109766034A CN109766034A (en) 2019-05-17
CN109766034B true CN109766034B (en) 2020-08-11

Family

ID=66438754

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711099628.1A Active CN109766034B (en) 2017-11-09 2017-11-09 Method, device and equipment for quickly starting application program and storage medium

Country Status (2)

Country Link
CN (1) CN109766034B (en)
WO (1) WO2019091467A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112035271B (en) * 2019-06-04 2023-10-10 杭州海康威视数字技术股份有限公司 User operation information processing method and device, electronic equipment and storage medium
CN111880879B (en) * 2020-07-24 2023-04-07 上海米哈游天命科技有限公司 Playing method, device, equipment and storage medium of dynamic wallpaper
CN113342412A (en) * 2021-05-31 2021-09-03 湖北亿咖通科技有限公司 Method and device for quickly starting vehicle-mounted application, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838052A (en) * 2006-04-12 2006-09-27 魏新成 Method for executing corresponding function operation by clicking mouse key at computer screen edge
CN101046721A (en) * 2006-03-31 2007-10-03 腾讯科技(深圳)有限公司 Method and device for controlling window interface display
CN102208179A (en) * 2011-06-02 2011-10-05 智比特信息技术(镇江)有限公司 Method for displaying multiple windows on small screen simultaneously
CN102508609A (en) * 2011-11-17 2012-06-20 潘天华 Method for controlling displaying and hiding of computer application program window

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9298474B2 (en) * 2004-10-06 2016-03-29 International Business Machines Corporation System and method for managing a floating window
CN104298417A (en) * 2013-07-19 2015-01-21 北京三星通信技术研究有限公司 Application program view management method and device by mobile terminal
CN105786301B (en) * 2014-12-23 2020-03-10 阿里巴巴集团控股有限公司 Method and device for switching display object under multi-window system
CN105094534A (en) * 2015-06-30 2015-11-25 青岛海信移动通信技术股份有限公司 Method and device for window display switching of intelligent hand-held equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046721A (en) * 2006-03-31 2007-10-03 腾讯科技(深圳)有限公司 Method and device for controlling window interface display
CN1838052A (en) * 2006-04-12 2006-09-27 魏新成 Method for executing corresponding function operation by clicking mouse key at computer screen edge
CN102208179A (en) * 2011-06-02 2011-10-05 智比特信息技术(镇江)有限公司 Method for displaying multiple windows on small screen simultaneously
CN102508609A (en) * 2011-11-17 2012-06-20 潘天华 Method for controlling displaying and hiding of computer application program window

Also Published As

Publication number Publication date
CN109766034A (en) 2019-05-17
WO2019091467A1 (en) 2019-05-16

Similar Documents

Publication Publication Date Title
US8259080B2 (en) Information handling system display device and methods thereof
US6356281B1 (en) Method and apparatus for displaying translucent overlapping graphical objects on a computer monitor
US7176943B2 (en) Intelligent windows bumping method and system
US8830270B2 (en) Progressively indicating new content in an application-selectable user interface
EP2908232B1 (en) Display control device, display control method and program for managing the layout of software applications
CN107977141B (en) Interaction control method and device, electronic equipment and storage medium
US8775965B1 (en) Immersive mode for a web browser
US20120272144A1 (en) Compact control menu for touch-enabled command execution
US6727929B1 (en) Automatic determination of nearest window controller having a function consistent with motion of cursor
CN109766034B (en) Method, device and equipment for quickly starting application program and storage medium
CN109710343B (en) Method, device and equipment for switching windows of computer desktop and storage medium
US20120278712A1 (en) Multi-input gestures in hierarchical regions
US20160239186A1 (en) Systems and methods for automated generation of graphical user interfaces
US11068119B2 (en) Optimizing an arrangement of content on a display of a user device based on user focus
US20130067393A1 (en) Interaction with Lists
US20130232403A1 (en) Method and system for the use of adjustment handles to facilitate dynamic layout editing
US20150082199A1 (en) Document viewing mechanism for document sharing environment
US10643580B2 (en) Method and device for switching playing mode of a mobile terminal, storage medium and program
US7107545B2 (en) System and method for providing a graphical user interface display with a conspicuous image element
EP3289479B1 (en) Rendering graphical assets natively on multiple screens of electronic devices
US20130135350A1 (en) Slant and overlaying graphical keyboard
CN110727383A (en) Touch interaction method and device based on small program, electronic equipment and storage medium
US9443331B2 (en) Input object for routing input for visual elements
US11520473B2 (en) Switch control for animations
US10592083B2 (en) Hover activation based on input device pointer movement

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