Activation control method and device for application program window, equipment and storage medium

An application program interface and application program technology, applied in the direction of program control device, user interface execution, etc., can solve the problems of affecting the user's keyboard input operation, reducing the user experience, grabbing the focus of the window, etc., and achieving the effect of improving the user experience.

Pending Publication Date: 2020-03-27
北京博睿宏远数据科技股份有限公司
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] During the operation of the APM acquisition software, it often snatches the focus of the window, thus affecting the normal keyboard input operation of the user. The Word document is switched to the APM acquisition software. At this time, the user needs to re-move the focus into the Word document to continue inputting
[0004] In the prior art, the commonly used solution is to set the window attribute of the APM acquisition software to be inactivatable. This method theoretically solves the above-mentioned technical problems, but in actual use, it will be found that although the window attribute is set to be inactive, However, in some special cases, for example, the bottom layer of the APM collection software can forcibly activate the window, which will still snatch the window focus, interrupt the current operations of the user, and bring unnecessary inconvenience to the user. The workload of focus switching reduces the user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Activation control method and device for application program window, equipment and storage medium
  • Activation control method and device for application program window, equipment and storage medium
  • Activation control method and device for application program window, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] figure 1 It is a flow chart of an application window activation control method provided by Embodiment 1 of the present invention. The technical solution of this embodiment is applicable to the situation where the window of the target application is forcibly activated during running and snatches the focus of the window. The method can be executed by the device for activating the application window, and the device can be realized by software and / or hardware, and can be integrated in various general computer devices.

[0027] The embodiment of the present invention is mainly aimed at the activation control of the application program window. For example, the application program may be an application performance management application program in the probe mode. Since the application performance management application program in the probe mode only needs to run in the background, the operation of the application program is performed. For data collection, the corresponding win...

Embodiment 2

[0054] figure 2 It is a schematic diagram of an activation control device for an application window provided in Embodiment 2 of the present invention, as shown in figure 2 As shown, the device includes: a window creation module 210, a calling state monitoring module 220 and an activation behavior modification module 230, wherein:

[0055] A window creation module 210, configured to create an application window of the target application when it is detected that the target application is started;

[0056] The calling status monitoring module 220 is used to monitor the calling status of the active window API included in the target application program in real time, wherein a hook function is pre-added in the activated window API included in the target application program;

[0057] The activation behavior modification module 230 is configured to trigger the hook function to modify the activation behavior of the application window by the activation window API when it is detected ...

Embodiment 3

[0070] image 3 A schematic structural diagram of an electronic device provided in Embodiment 3 of the present invention, such as image 3 As shown, the electronic device includes a processor 30 and a memory 31; the number of processors 30 in the device can be one or more, image 3 Take a processor 30 as an example; the processor 30 and memory 31 in the device can be connected by bus or other means, image 3 Take connection via bus as an example.

[0071] The memory 31, as a computer-readable storage medium, can be used to store software programs, computer-executable programs and modules, such as program instructions / modules corresponding to an activation control method of an application window in an embodiment of the present invention (for example, an application The window creation module 210 in the activation control device of the program window calls the state monitoring module 220 and the activation behavior modification module 230). The processor 30 executes various f...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses an activation control method and device for an application program window, equipment and a storage medium. The activation control method for the application program window comprises the steps that when it is detected that a target application program is started, creating the application program window of the target application program; monitoring the calling state of an activation window application program interface API contained in the target application program in real time, and adding a hook function into the activation window API contained in thetarget application program in advance; and when it is detected that the activation window API is called, triggering the hook function to modify an activation behavior of the activation window API on the application window, so that the application window is not activated. According to the technical scheme provided by the embodiment of the invention, the window corresponding to the application program which does not need to obtain the user input focus is prevented from grabbing the user input focus during running, and the keyboard input operation of the user is not influenced.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of computer software applications, and in particular to a method, device, device and storage medium for controlling the activation of application windows. Background technique [0002] With the continuous development of computer technology, many different types of application programs have appeared, which greatly facilitate people's work and life. With the increase of application programs used in computers, people are paying more and more attention to the application programs in computers. The performance and availability of running applications, especially some companies, need to ensure the good operation of applications for the normal development of the company's business, so choose to install APM (Application Performance Management, application performance management) acquisition software on the computer to realize Monitoring of application performance and availability. In additi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/451
CPCG06F9/451
Inventor 程捷郭其政赵栋刘涛
Owner 北京博睿宏远数据科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products