CN109739567B - Method, device, computer equipment and storage medium for rapidly terminating application program - Google Patents
Method, device, computer equipment and storage medium for rapidly terminating application program Download PDFInfo
- Publication number
- CN109739567B CN109739567B CN201811419027.9A CN201811419027A CN109739567B CN 109739567 B CN109739567 B CN 109739567B CN 201811419027 A CN201811419027 A CN 201811419027A CN 109739567 B CN109739567 B CN 109739567B
- Authority
- CN
- China
- Prior art keywords
- application program
- plug
- configuration file
- new
- terminating
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 230000008569 process Effects 0.000 claims abstract description 24
- 230000015654 memory Effects 0.000 claims description 28
- 230000006870 function Effects 0.000 claims description 18
- 238000012986 modification Methods 0.000 claims description 9
- 230000004048 modification Effects 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 4
- 238000011161 development Methods 0.000 abstract description 7
- 238000011160 research Methods 0.000 abstract description 5
- 238000013461 design Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000005291 magnetic effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
The invention provides a method for rapidly terminating an application program, which comprises the following steps: receiving an application program termination instruction acting on a designated plug-in; responding to the application program termination instruction, and acquiring an application program associated with the appointed plug-in; and terminating the acquired application program. The invention can terminate a plurality of related application programs by one key, improves the working efficiency of development and debugging stages of research personnel, and solves the complex operation that a task manager needs to be manually opened, related processes are manually found and ended in the prior art.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a computer device, and a storage medium for rapidly terminating an application program.
Background
In the current computer technology field, when a user needs to terminate some running programs, it is common practice to open a task manager and end the corresponding application program or process. The manual end process has the following drawbacks:
(1) The task manager needs to be opened manually;
(2) It is necessary to manually find and end the relevant process, and if there are multiple relevant processes, such as two to three relevant processes for a happy peace application, we must find and end one by one to end the application. In particular, if an application process is attached to some other process, a third party process needs to be found, which is obviously very disadvantageous for the developer to debug and develop.
Therefore, in the prior art, the steps of terminating the application program are complicated, the extension is not easy, and the flexibility is poor.
Disclosure of Invention
The invention provides a method and a corresponding device for rapidly terminating application programs, which mainly realize one-key termination of a plurality of associated application programs, improve the working efficiency of development and debugging stages of research personnel, and solve the problems of complicated operations of manually opening a task manager, manually finding out related processes and ending the related processes in the prior art.
The invention also provides a computer device and a readable storage medium for executing the method of the invention for rapidly terminating an application program.
In order to solve the problems, the invention adopts the following technical proposal:
in a first aspect, the present invention provides a method of rapidly terminating an application, the method comprising:
receiving an application program termination instruction acting on a designated plug-in;
Responding to the application program termination instruction, and acquiring an application program associated with the appointed plug-in;
and terminating the acquired application program.
Specifically, the method further comprises the following steps:
And creating an application program list according to the application program associated with the specified plug-in, and creating the configuration file according to the application program list.
Specifically, the responding to the application program termination instruction, acquiring the application program associated with the specified plug-in includes:
And calling the pre-created configuration file, and inquiring the application program list in the configuration file to acquire the application program associated with the appointed plug-in.
Preferably, the method further comprises:
Receiving a creation instruction of a configuration file of a new add-on, and creating the configuration file of the new add-on to formulate the new add-on.
Specifically, the creating the configuration file of the new add-on to formulate the new add-on includes:
determining all application programs associated with the newly added plug-in;
Creating a new application program list according to all application programs associated with the new plug-in, and creating a configuration file of the new plug-in according to the new application program list, so that when the application programs associated with the new plug-in are acquired, the configuration file of the new plug-in is called, and the configuration file of the new plug-in is queried.
Specifically, the method further comprises the following steps:
automatically updating the configuration file of the appointed plug-in at intervals of preset time;
Or receiving a modification instruction of the configuration file of the appointed plugin, and correspondingly modifying an application program list in the configuration file of the appointed plugin according to the modification instruction.
Specifically, the method further comprises the following steps:
Receiving an adding identification instruction for a specified plug-in, extracting identification information in the adding identification instruction, and adding the identification information for the specified plug-in, wherein the identification information comprises a name and an icon.
In a second aspect, the present invention provides an apparatus for rapidly terminating an application, comprising:
the receiving module is used for receiving an application program termination instruction acting on the appointed plug-in;
The acquisition module is used for responding to the application program termination instruction and acquiring the application program associated with the appointed plug-in;
And the termination module is used for terminating the acquired application program.
In a third aspect, the present invention provides a computer readable storage medium, wherein the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the method of rapidly terminating an application of any one of the first aspects.
In a fourth aspect, the invention provides a computer device comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the method of rapidly terminating an application as claimed in any one of the first aspects.
Compared with the prior art, the technical scheme of the invention has at least the following advantages:
1. The invention provides a method for rapidly terminating an application program, which is implemented by receiving an application program termination instruction acting on a designated plug-in; responding to the application program termination instruction, and acquiring an application program associated with the appointed plug-in; and terminating the acquired application program. The invention can terminate a plurality of related application programs by one key, improves the working efficiency of development and debugging stages of research personnel, and solves the complex operation that a task manager needs to be manually opened, a related process is manually found and the related process is ended in the prior art.
2. The method and the device can create the application program list according to the application program associated with the appointed plug-in, create the configuration file according to the application program list, further call the pre-created configuration file, and inquire the application program list in the configuration file to acquire the application program associated with the appointed plug-in. On the other hand, the invention can receive the creation instruction of the configuration file of the newly added plug-in, and create the configuration file of the newly added plug-in to formulate the newly added plug-in; determining all application programs associated with the newly added plug-in; creating a new application program list according to all application programs associated with the new plug-in, and creating a configuration file of the new plug-in according to the new application program list, so that when the application programs associated with the new plug-in are acquired, the configuration file of the new plug-in is called, and the configuration file of the new plug-in is queried. The appointed plug-in the method for rapidly terminating the application program is configurable, the configuration file support is modifiable and can be automatically updated, and the flexibility and expandability of the scheme are improved.
3. The method and the device can receive the addition identification instruction of the appointed plug-in, extract the identification information in the addition identification instruction and add the identification information for the appointed plug-in, wherein the identification information comprises a name and an icon. Since the specified plug-in is a custom plug-in, the developer can move or drag the plug-in to his or her own convenient toolbar without forcing the sequence. The invention can realize custom plug-in icons and names through the mechanism, thereby bringing great convenience to research personnel.
Drawings
FIG. 1 is a flow diagram of a method of rapidly terminating an application in one embodiment;
FIG. 2 is a block diagram of a device architecture for a quick-terminate application in one embodiment;
FIG. 3 is a block diagram of the internal architecture of a computer device in one embodiment.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
In order to enable those skilled in the art to better understand the present invention, the following description will make clear and complete descriptions of the technical solutions according to the embodiments of the present invention with reference to the accompanying drawings.
In some of the flows described in the specification and claims of the present invention and in the foregoing figures, a plurality of operations appearing in a particular order are included, but it should be clearly understood that the operations may be performed in other than the order in which they appear herein or in parallel, the sequence numbers of the operations such as S11, S12, etc. are merely used to distinguish between the various operations, and the sequence numbers themselves do not represent any order of execution. In addition, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first" and "second" herein are used to distinguish different messages, devices, modules, etc., and do not represent a sequence, and are not limited to the "first" and the "second" being different types.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by one of ordinary skill in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein includes all or any element and all combination of one or more of the associated listed items.
It will be understood by those of ordinary skill in the art that unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
Referring to fig. 1, an embodiment of the present invention provides a method for rapidly terminating an application program, as shown in fig. 1, the method includes the following steps:
S11, receiving an application program termination instruction acting on the appointed plug-in.
In the embodiment of the invention, the designated plug-in is a plug-in for one-key termination of a designated application program or a plurality of associated application programs. The designated plug-in may be associated with an application or applications.
Specifically, the designated plugin mainly comprises plugins dll and AddIn files. The dll mainly realizes a core function of terminating the application program, and specifically comprises a notification function of receiving an external program, an execution command core function and the like, and the core function can be added into vs to be used as a conventional plug-in unit to finish the work of terminating the related application program or task by one key. The AddIn file is mainly responsible for providing external program information for the termination process dll, and can be used as an object attached to a vs toolbar or menu to complete the task of the termination process together with the dll. vs will default to searching its add-on folders when started, attaching the relevant add-on to the menu or toolbar.
In actual operation, the user only needs to copy the two files to a designated directory, and attach the files to Vs for use without installing, and the designated directory is a Vs default plug-in directory, such as Vs2010, which is created under my document\visual studio 2010\Addins.
In the embodiment of the invention, when the assigned plug-in is utilized to terminate the associated application programs, the operation is simple and convenient, once the assigned plug-in is added into the vs, all the vs examples share the functions of the assigned plug-in, and the assigned plug-in can terminate all the related application programs by one key without manually opening a task manager and manually finding the related application programs and ending the related application programs, thereby bringing great convenience to developers.
Further, the specified plug-in is easy to attach to any toolbar in vs, and can be moved or dragged to a toolbar convenient to the user due to the fact that the specified plug-in is a custom plug-in, and no mandatory sequence exists, so that convenience of a developer is mainly improved.
In one possible design, the invention triggers the application program termination instruction by receiving the instruction of clicking the icon of the appointed plug-in by one key, or sets a virtual key on the icon attachment of the appointed plug-in, and the user triggers the instruction of terminating the related application program by clicking the virtual key by one key.
And S12, responding to the application program termination instruction, and acquiring the application program associated with the appointed plug-in.
In the embodiment of the invention, a configuration file is created for the appointed plug-in advance. Specifically, an application program list is created according to the application program associated with the specified plug-in, and the configuration file is created according to the application program list. Further, when receiving the application program termination instruction, calling the pre-created configuration file, and querying the application program list in the configuration file to obtain the application program associated with the appointed plug-in.
In the embodiment of the invention, after receiving the program termination instruction, the configuration file of the specified plug-in is called, wherein the configuration file contains all application programs associated with the specified plug-in. The configuration file contains a list of applications associated with the specified plug-in. The list of the application programs comprises identification information of the application programs associated with the appointed plug-in, wherein the identification information can be the name of the application programs.
And S13, terminating the acquired application program.
In the embodiment of the present invention, since the plug-in directories of all the vs (e.g., vs 2010) of the same version point to the same designated directory, such as the vs plug-in directory under the default my document described above, each time an application is started or a vs is opened, they can automatically attach a plug-in to a menu or toolbar, so that when the target plug-in is attached to a vs, all vs instances will share the functionality of the target plug-in.
In the embodiment of the invention, the identification information in the addition identification instruction can be extracted by receiving the addition identification instruction of the specified plug-in, and the identification information is added for the specified plug-in, wherein the identification information comprises a name and an icon. The invention can customize the icon and the name of the target plug-in. Specifically, the present invention provides a series of icons of the target plug-in for the user to select and set the plug-in icons, wherein the icons include, but are not limited to, characters, pictures, animation, expressions, etc. The plug-in name may be set according to the name of the target application to be terminated, and may specifically be set according to the requirement of the user, which is not limited herein.
In another embodiment of the present invention, the present invention may further receive an instruction for creating a configuration file of a new add-on, and create the configuration file of the new add-on to formulate the new add-on. Specifically, all application programs associated with the newly added plug-in are determined; creating a new application program list according to all application programs associated with the new plug-in, and creating a configuration file of the new plug-in according to the new application program list, so that when the application programs associated with the new plug-in are acquired, the configuration file of the new plug-in is called, and the configuration file of the new plug-in is queried.
Specifically, the invention can formulate a termination plug-in of a specified application program according to the requirement, for example, when the termination plug-in of a certain audio/video application program or process is required to be customized, a new configuration file of the termination plug-in of the specified application program is only required to be created according to the existing configuration file template. And when a new configuration file is created, adding the application program which terminates a certain audio/video into the list of the application programs.
In one possible design, the invention may also receive a modification instruction for a specified configuration file, and correspondingly modify the specified configuration file according to the modification instruction. For example, the application list of the configuration file of the a plug-in includes the B application, the B1 application, and the B2 application. And correspondingly deleting the B1 application program in the application program list when receiving an instruction for deleting the B1 application program in the configuration file. In another embodiment, the present invention may also automatically update the configuration file of the specified plug-in at predetermined intervals. The plug-in provided by the invention is configurable, the configuration file is modifiable, and the expansibility is very strong.
Referring to fig. 2, in another embodiment, the present invention provides an apparatus for rapidly terminating an application program, including:
the receiving module 11 is configured to receive an application termination instruction acting on a specified plug-in.
In the embodiment of the invention, the designated plug-in is a plug-in for one-key termination of a designated application program or a plurality of associated application programs. The designated plug-in may be associated with an application or applications.
Specifically, the designated plugin mainly comprises plugins dll and AddIn files. The dll mainly realizes a core function of terminating the application program, and specifically comprises a notification function of receiving an external program, an execution command core function and the like, and the core function can be added into vs to be used as a conventional plug-in unit to finish the work of terminating the related application program or task by one key. The AddIn file is mainly responsible for providing external program information for the termination process dll, and can be used as an object attached to a vs toolbar or menu to complete the task of the termination process together with the dll. vs will default to searching its add-on folders when started, attaching the relevant add-on to the menu or toolbar.
In actual operation, the user only needs to copy the two files to a designated directory, and attach the files to Vs for use without installing, and the designated directory is a Vs default plug-in directory, such as Vs2010, which is created under my document\visual studio 2010\Addins.
In the embodiment of the invention, when the assigned plug-in is utilized to terminate the associated application programs, the operation is simple and convenient, once the assigned plug-in is added into the vs, all the vs examples share the functions of the assigned plug-in, and the assigned plug-in can terminate all the related application programs by one key without manually opening a task manager and manually finding the related application programs and ending the related application programs, thereby bringing great convenience to developers.
Further, the specified plug-in is easy to attach to any toolbar in vs, and can be moved or dragged to a toolbar convenient to the user due to the fact that the specified plug-in is a custom plug-in, and no mandatory sequence exists, so that convenience of a developer is mainly improved.
In one possible design, the invention triggers the application program termination instruction by receiving the instruction of clicking the icon of the appointed plug-in by one key, or sets a virtual key on the icon attachment of the appointed plug-in, and the user triggers the instruction of terminating the related application program by clicking the virtual key by one key.
And the acquiring module 12 is used for responding to the application program termination instruction and acquiring the application program associated with the specified plug-in.
In the embodiment of the invention, a configuration file is created for the appointed plug-in advance. Specifically, an application program list is created according to the application program associated with the specified plug-in, and the configuration file is created according to the application program list. Further, when receiving the application program termination instruction, calling the pre-created configuration file, and querying the application program list in the configuration file to obtain the application program associated with the appointed plug-in.
In the embodiment of the invention, after receiving the program termination instruction, the configuration file of the specified plug-in is called, wherein the configuration file contains all application programs associated with the specified plug-in. The configuration file contains a list of applications associated with the specified plug-in. The list of the application programs comprises identification information of the application programs associated with the appointed plug-in, wherein the identification information can be the name of the application programs.
And the termination module 13 is used for terminating the acquired application program.
In the embodiment of the present invention, since the plug-in directories of all the vs (e.g., vs 2010) of the same version point to the same designated directory, such as the vs plug-in directory under the default my document described above, each time an application is started or a vs is opened, they can automatically attach a plug-in to a menu or toolbar, so that when the target plug-in is attached to a vs, all vs instances will share the functionality of the target plug-in.
In the embodiment of the invention, the identification information in the addition identification instruction can be extracted by receiving the addition identification instruction of the specified plug-in, and the identification information is added for the specified plug-in, wherein the identification information comprises a name and an icon. The invention can customize the icon and the name of the target plug-in. Specifically, the present invention provides a series of icons of the target plug-in for the user to select and set the plug-in icons, wherein the icons include, but are not limited to, characters, pictures, animation, expressions, etc. The plug-in name may be set according to the name of the target application to be terminated, and may specifically be set according to the requirement of the user, which is not limited herein.
In another embodiment of the present invention, the present invention may further receive an instruction for creating a configuration file of a new add-on, and create the configuration file of the new add-on to formulate the new add-on. Specifically, all application programs associated with the newly added plug-in are determined; creating a new application program list according to all application programs associated with the new plug-in, and creating a configuration file of the new plug-in according to the new application program list, so that when the application programs associated with the new plug-in are acquired, the configuration file of the new plug-in is called, and the configuration file of the new plug-in is queried.
Specifically, the invention can formulate a termination plug-in of a specified application program according to the requirement, for example, when the termination plug-in of a certain audio/video application program or process is required to be customized, a new configuration file of the termination plug-in of the specified application program is only required to be created according to the existing configuration file template. And when a new configuration file is created, adding the application program which terminates a certain audio/video into the list of the application programs.
In one possible design, the invention may also receive a modification instruction for a specified configuration file, and correspondingly modify the specified configuration file according to the modification instruction. For example, the application list of the configuration file of the a plug-in includes the B application, the B1 application, and the B2 application. And correspondingly deleting the B1 application program in the application program list when receiving an instruction for deleting the B1 application program in the configuration file. In another embodiment, the present invention may also automatically update the configuration file of the specified plug-in at predetermined intervals. The plug-in provided by the invention is configurable, the configuration file is modifiable, and the expansibility is very strong.
In another embodiment, an embodiment of the present invention provides a computer readable storage medium, where a computer program is stored, where the program is executed by a processor to implement a method for quickly terminating an application according to any one of the claims. The computer readable storage medium includes, but is not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks, ROMs (Read-Only memories), RAMs (Random AcceSS Memory, random access memories), EPROMs (EraSable Programmable Read-Only memories), EEPROMs (ELECTRICALLY ERASABLE PROGRAMMABLE READ-Only memories), flash memories, magnetic cards, or optical cards. That is, a storage device includes any medium that stores or transmits information in a form readable by a device (e.g., computer, cell phone), and may be read-only memory, magnetic or optical disk, etc.
The embodiment of the invention provides a computer readable storage medium which can receive an application program termination instruction acting on a designated plug-in; responding to the application program termination instruction, and acquiring an application program associated with the appointed plug-in; and terminating the acquired application program. The invention can terminate a plurality of related application programs by one key, improves the working efficiency of development and debugging stages of research personnel, and solves the complex operation that a task manager needs to be manually opened, a related process is manually found and the related process is ended in the prior art.
Furthermore, in yet another embodiment, the present invention provides a computer apparatus, as shown in fig. 3, which includes a processor 303, a memory 305, an input unit 307, and a display unit 309. Those skilled in the art will appreciate that the structural elements illustrated in FIG. 3 do not constitute a limitation of all computer devices, and may include more or fewer elements than shown, or may combine certain elements. The memory 305 may be used to store the application 301 and various functional modules, and the processor 303 runs the application 301 stored in the memory 305 to perform various functional applications of the device and data processing. The memory 305 may be or include both internal memory and external memory. The internal memory may include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), flash memory, or random access memory. The external memory may include a hard disk, floppy disk, ZIP disk, U-disk, tape, etc. The disclosed memory includes, but is not limited to, these types of memory. The memory 305 disclosed herein is by way of example only and not by way of limitation.
The input unit 307 is used for receiving input of a signal and receiving keywords input by a user. The input unit 307 may include a touch panel and other input devices. The touch panel may collect touch operations on or near the user (e.g., the user's operation on or near the touch panel using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a preset program; other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., play control keys, switch keys, etc.), a trackball, mouse, joystick, etc. The display unit 309 may be used to display information input by a user or information provided to the user and various menus of the computer device. The display unit 309 may take the form of a liquid crystal display, an organic light emitting diode, or the like. The processor 303 is a control center of the computer device that connects various parts of the entire computer using various interfaces and lines, performs various functions and processes data by running or executing software programs and/or modules stored in the memory 303, and invoking data stored in the memory. The one or more processors 303 shown in fig. 3 are capable of performing, implementing the functions of the receiving module 11, the acquiring module 12 and the terminating module 13 shown in fig. 3.
In one implementation, the computer device includes a memory 305 and a processor 303, where the memory 305 stores computer readable instructions that, when executed by the processor, cause the processor 303 to perform the steps of a method for rapidly terminating an application as described in the above embodiments.
The embodiment of the invention provides the computer equipment which can receive the application program termination instruction acting on the appointed plug-in; responding to the application program termination instruction, and acquiring an application program associated with the appointed plug-in; and terminating the acquired application program. According to the method and the device, the application program associated with the appointed plug-in is obtained and terminated by receiving the application program termination instruction acting on the appointed plug-in, so that the function of rapidly terminating the appointed application program by one key is realized, the complicated steps in the prior art are avoided, the development personnel are greatly facilitated, and the working efficiency of the development and debugging stage of the development personnel is improved.
The computer readable storage medium provided in the embodiments of the present invention can implement the embodiments of the method for rapidly terminating an application program, and specific function implementation is described in the embodiments of the method, and will not be described herein.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored in a computer-readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a random access Memory (Random Access Memory, RAM).
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.
Claims (6)
1. A method for rapidly terminating an application, the method comprising:
Receiving an application program termination instruction acting on a designated plug-in; responding to the application program termination instruction, and acquiring an application program associated with the appointed plug-in;
Terminating the acquired application program;
Wherein the appointed plug-in consists of dll and AddIn files;
the dll is used for realizing the core function of terminating the application program, the AddIn file is used for providing external program information for terminating the dll and completing the task of terminating the process together with the dll;
The method further comprises the steps of:
creating an application program list according to the application program associated with the specified plug-in, and creating a configuration file according to the application program list;
the responding to the application program termination instruction, acquiring the application program associated with the appointed plug-in, comprises the following steps:
Invoking the pre-created configuration file, inquiring the application program list in the configuration file, and acquiring an application program associated with the appointed plug-in;
The method further comprises the steps of:
receiving a creation instruction of a configuration file of a new add-on, and creating the configuration file of the new add-on to formulate the new add-on;
The creating the configuration file of the new add-on to formulate the new add-on includes:
determining all application programs associated with the newly added plug-in;
Creating a new application program list according to all application programs associated with the new plug-in, and creating a configuration file of the new plug-in according to the new application program list, so that when the application programs associated with the new plug-in are acquired, the configuration file of the new plug-in is called, and the configuration file of the new plug-in is queried.
2. The method for rapidly terminating an application of claim 1, further comprising:
automatically updating the configuration file of the appointed plug-in at intervals of preset time;
Or receiving a modification instruction of the configuration file of the appointed plugin, and correspondingly modifying an application program list in the configuration file of the appointed plugin according to the modification instruction.
3. The method for rapidly terminating an application of claim 1, further comprising:
Receiving an adding identification instruction for a specified plug-in, extracting identification information in the adding identification instruction, and adding the identification information for the specified plug-in, wherein the identification information comprises a name and an icon.
4. An apparatus for rapidly terminating an application, comprising:
the receiving module is used for receiving an application program termination instruction acting on the appointed plug-in;
The acquisition module is used for responding to the application program termination instruction and acquiring the application program associated with the appointed plug-in;
the termination module is used for terminating the acquired application program;
Wherein the appointed plug-in consists of dll and AddIn files;
the dll is used for realizing the core function of terminating the application program, the AddIn file is used for providing external program information for terminating the dll and completing the task of terminating the process together with the dll;
the apparatus further comprises:
creating an application program list according to the application program associated with the specified plug-in, and creating a configuration file according to the application program list;
the responding to the application program termination instruction, acquiring the application program associated with the appointed plug-in, comprises the following steps:
Invoking the pre-created configuration file, inquiring the application program list in the configuration file, and acquiring an application program associated with the appointed plug-in;
the apparatus further comprises:
receiving a creation instruction of a configuration file of a new add-on, and creating the configuration file of the new add-on to formulate the new add-on;
The creating the configuration file of the new add-on to formulate the new add-on includes:
determining all application programs associated with the newly added plug-in;
Creating a new application program list according to all application programs associated with the new plug-in, and creating a configuration file of the new plug-in according to the new application program list, so that when the application programs associated with the new plug-in are acquired, the configuration file of the new plug-in is called, and the configuration file of the new plug-in is queried.
5. A computer readable storage medium, characterized in that it has stored thereon a computer program which, when executed by a processor, implements the steps of the method of terminating an application program rapidly according to any of claims 1 to 3.
6. A computer device comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the method of terminating an application program rapidly as claimed in any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811419027.9A CN109739567B (en) | 2018-11-26 | 2018-11-26 | Method, device, computer equipment and storage medium for rapidly terminating application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811419027.9A CN109739567B (en) | 2018-11-26 | 2018-11-26 | Method, device, computer equipment and storage medium for rapidly terminating application program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109739567A CN109739567A (en) | 2019-05-10 |
CN109739567B true CN109739567B (en) | 2024-05-07 |
Family
ID=66358723
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811419027.9A Active CN109739567B (en) | 2018-11-26 | 2018-11-26 | Method, device, computer equipment and storage medium for rapidly terminating application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109739567B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111752690B (en) * | 2020-06-22 | 2023-05-26 | 陈洪涛 | Process cleaning method, system, terminal equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7254814B1 (en) * | 2001-09-28 | 2007-08-07 | Emc Corporation | Methods and apparatus for managing plug-in services |
CN103645950A (en) * | 2013-12-13 | 2014-03-19 | 北京奇虎科技有限公司 | Computer acceleration method and device |
CN103678506A (en) * | 2013-11-20 | 2014-03-26 | 北京奇虎科技有限公司 | Method and device for loading application program shortcuts in browser and browser |
CN104090745A (en) * | 2014-04-18 | 2014-10-08 | 北京奇虎科技有限公司 | Method and device for optimizing game running environment |
CN107239297A (en) * | 2017-04-21 | 2017-10-10 | 北京奇虎科技有限公司 | The multi-process management method and device of a kind of plug-in unit |
CN108205450A (en) * | 2017-12-29 | 2018-06-26 | 北京奇虎科技有限公司 | A kind of method and system that dynamic optimization is carried out to the application platform based on plug-in unit |
CN108446553A (en) * | 2018-03-22 | 2018-08-24 | 北京金山安全软件有限公司 | Process protection method and device and electronic equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10102032B2 (en) * | 2014-05-29 | 2018-10-16 | Raytheon Company | Fast transitions for massively parallel computing applications |
-
2018
- 2018-11-26 CN CN201811419027.9A patent/CN109739567B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7254814B1 (en) * | 2001-09-28 | 2007-08-07 | Emc Corporation | Methods and apparatus for managing plug-in services |
CN103678506A (en) * | 2013-11-20 | 2014-03-26 | 北京奇虎科技有限公司 | Method and device for loading application program shortcuts in browser and browser |
CN103645950A (en) * | 2013-12-13 | 2014-03-19 | 北京奇虎科技有限公司 | Computer acceleration method and device |
CN104090745A (en) * | 2014-04-18 | 2014-10-08 | 北京奇虎科技有限公司 | Method and device for optimizing game running environment |
CN107239297A (en) * | 2017-04-21 | 2017-10-10 | 北京奇虎科技有限公司 | The multi-process management method and device of a kind of plug-in unit |
CN108205450A (en) * | 2017-12-29 | 2018-06-26 | 北京奇虎科技有限公司 | A kind of method and system that dynamic optimization is carried out to the application platform based on plug-in unit |
CN108446553A (en) * | 2018-03-22 | 2018-08-24 | 北京金山安全软件有限公司 | Process protection method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109739567A (en) | 2019-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107861784B (en) | Desktop icon sorting method and device and mobile terminal | |
Rödiger et al. | RKWard: a comprehensive graphical user interface and integrated development environment for statistical analysis with R | |
EP3633535B1 (en) | Modal-less interface enhancements | |
US20100146431A1 (en) | Object picker with window splitter | |
EP0844555A2 (en) | Multifunctional object | |
CN111984163A (en) | Application icon display method and device and electronic equipment | |
JP2007304669A (en) | Method and program for controlling electronic equipment | |
CN102566983B (en) | Object based on Windows system pulls implementation method and system thereof | |
CN111913616A (en) | Application program management method and device and electronic equipment | |
US20160291836A1 (en) | Smart terminal and associated method for displaying application icons | |
US11647250B2 (en) | Methods and systems for remote streaming of a user-customized user interface | |
CN102662591B (en) | Data processing method and device | |
CN109766139B (en) | Configuration method and device of configuration file | |
CN109739567B (en) | Method, device, computer equipment and storage medium for rapidly terminating application program | |
CN112286554A (en) | Application program updating method, apparatus, electronic device and readable storage medium | |
CN110865755A (en) | Voice control method and device of terminal, storage medium and terminal | |
CN105930332A (en) | Code release and query method and terminal | |
CN105893804B (en) | Application management method and electronic device | |
US20140372886A1 (en) | Providing help on visual components displayed on touch screens | |
CN103617214A (en) | CIM (common information model) path query method and device | |
WO2022194077A1 (en) | Application program icon management method and apparatus, and electronic device | |
CN112578961B (en) | Application identification display method and device | |
Logen et al. | Simplifying RAM forensics: A GUI and extensions for the volatility framework | |
CN115658061A (en) | Graphical interface generation method, graphical interface generation device, computer device and storage medium | |
CN114968223B (en) | Pipeline arrangement method, device, equipment and storage medium |
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 |