CN101025659B - Method for realizing shortcut on-off application - Google Patents
Method for realizing shortcut on-off application Download PDFInfo
- Publication number
- CN101025659B CN101025659B CN2006100077723A CN200610007772A CN101025659B CN 101025659 B CN101025659 B CN 101025659B CN 2006100077723 A CN2006100077723 A CN 2006100077723A CN 200610007772 A CN200610007772 A CN 200610007772A CN 101025659 B CN101025659 B CN 101025659B
- Authority
- CN
- China
- Prior art keywords
- shortcut
- application program
- instruction
- operating system
- definition
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention is a method for implementing shortcut opening and closing application program, comprising the steps of: when a shortcut key corresponding to a to-be-called application program is pressed down, generating a corresponding instruction; when receiving the instruction, a processor triggers to send a signal to a shortcut drive program; the shortcut key drive program responds to the signal to send a preset instruction, and an operating system finds shortcut key-defined database according to the preset instruction and judges whether the sent signal accords with the definition; if yes, the operating system further finds whether there is a corresponding process of the application program in the system processes: if yes, closing the application program and otherwise according to the database definition, calling and executing the corresponding application program. And the invention can call target application program with shortcut key and close the target application program in the state that the target application program is opened, thus making the application opening/closing become simple and shortcut.
Description
Technical field
The present invention relates to computer realm, particularly relate to a kind of method that realizes fast opening and close application program.
Background technology
When using application program on computers, for convenience and the operation of simplifying the user, can realize fast and convenient the calling of application programs by the mode that shortcut is set.Existed some to pass through the method for a certain corresponding application program of shortcut quick calling in the existing solution.
Fig. 1 is for utilizing the process flow diagram of the method for shortcut quick calling application program in the prior art.As shown in Figure 1, this method may further comprise the steps:
At first, press the shortcut corresponding, thereby produce corresponding instruction with the application program that will call;
After receiving this instruction, processor (for example, the embedded controller EC in the notebook computer) triggers, and sends signal to the shortcut driver;
The shortcut driver responds this signal and sends corresponding instruction, and operating system is searched the database of shortcut definition according to this instruction, judges whether send signal meets definition;
Meeting under the situation of definition, corresponding application is called and carried out to operating system according to database definition.
But existing solution can only realize opening corresponding application program by shortcut, can not close this application program by the shortcut of pressing this setting once more.After the user uses this application program, also need to utilize mouse that this application program is carried out shutoff operation.And if the user presses this shortcut once more, will open corresponding application program again.
In addition, minimize or be positioned at after the application window that the user using if a certain moment of this application program is in, so, the user closes this application program if desired, then must find this application program and carry out shutoff operation at taskbar, this is very inconvenient for the user, and is easy to generate maloperation.Under the situation that produces maloperation, the closing application program that causes the user using, even loss of data.
For example: when using Excel to carry out the data typing, the user needs to use " counter " this application program to carry out data operation, according to existing solution, the user need click the shortcut corresponding with " counter ", starts corresponding application.After finishing data computation, want to close " counter " application program, then must in taskbar, find " counter ", make it be in foremost window, click the Close button again and can close with click.
As shown in Figure 2,, use Alt+F4 to operate, equally still need " counter " application call can realize foremost to window even if the user is very familiar to the using method of operating system.Perhaps, as shown in Figure 3, the user need click " counter " in the taskbar with right mouse button, and selects " closing " or use Alt+F4 to operate from menu.
Existing solution is not accomplished the real prompt operation of realizing specified application, and the user also continues to continue to use old loaded down with trivial details method of operating when not needing to use this application program.
In view of this, need provide a kind of method that realizes the prompt operation of application programs.
Summary of the invention
The objective of the invention is, a kind of method that realizes fast opening and close application program is provided.
Realization fast opening of the present invention and the method for closing application program may further comprise the steps:
Step 101 when the shortcut corresponding with the application program that will call is pressed, produces corresponding instruction;
Step 102, after receiving this instruction, processor triggers, and sends signal to the shortcut driver;
Step 103, the shortcut driver responds this signal and sends predetermined instruction, and operating system judges according to should predetermined instruction searching the database of shortcut definition whether send signal meets definition;
Step 104 is meeting under the situation of definition, and operating system is further searched the corresponding process that whether has this application program in the system process, if there is corresponding process, the then processing of execution in step 105, if there is no corresponding process, the then processing of execution in step 106;
Step 105 if there is corresponding process, then will represent to exist the information of corresponding process to be notified to described shortcut driver, and described shortcut driver sends the instruction of closing this application program according to described announcement information, and closes this application program;
Step 106, corresponding application is called and carried out to if there is no corresponding process then according to database definition.
In said method, this shortcut can be set as required by the user.
In said method, this shortcut also can be set in advance by system.
In said method, this processor is the embedded controller of notebook computer.
In said method, this operating system is the Windows system.
Compared with prior art, the invention has the beneficial effects as follows: the present invention not only can realize shortcut calling destination application, and can under the state that destination application is opened, realize closing to target program, make the user when using a computer, becoming for the On/Off of application program is simple and easy to use.
Description of drawings
Fig. 1 is for utilizing the process flow diagram of the method for shortcut quick calling application program in the prior art.
Fig. 2 is existing synoptic diagram of closing a kind of mode of " counter " application program.
Fig. 3 is existing synoptic diagram of closing the another kind of mode of " counter " application program.
Fig. 4 realizes fast opening for the present invention and closes the process flow diagram of the method for application program.
Synoptic diagram when Fig. 5 does not have the reflection of discovery " calc.exe " to exist in system process for operating system.
Fig. 6 is the synoptic diagram after the interpolation " calc.exe " in the process of Windows system.
Fig. 7 is the synoptic diagram of operating system when deleting " counter " application program from the process data storehouse.
Embodiment
Main thought of the present invention is to realize opening and closing corresponding application efficiently by the process of detecting operating system (as Windows operating system).Understand and enforcement the present invention for the ease of those of ordinary skills, be described with reference to the accompanying drawings.
Fig. 4 realizes fast opening for the present invention and closes the process flow diagram of the method for application program.As shown in Figure 4, realization fast opening of the present invention may further comprise the steps with the method for closing application program:
At first, when the shortcut corresponding with the application program that will call is pressed, produce corresponding instruction, this shortcut can be set as required by the user, also can be set in advance by system;
After receiving this instruction, processor (for example, the embedded controller EC in the notebook computer) triggers, and sends signal to the shortcut driver;
The shortcut driver responds this signal and sends predetermined instruction, and operating system judges according to should predetermined instruction searching the database of shortcut definition whether send signal meets definition;
Meeting under the situation of definition, operating system is further searched the corresponding process that whether has this application program in the system process.If there is corresponding process, then close this application program, corresponding application is called and carried out to if there is no corresponding process then according to database definition.
Can see from above-mentioned flow process, different being of the present invention and existing shortcut solution maximum, it not only can realize pressing the function of opening corresponding application behind the shortcut fast, can also realize pressing the function of quick closedown corresponding application behind the shortcut.
In addition, need to prove: the present invention is not simple On/Off circulation, but by detecting the process of operating system, search the progress information of related application, again according to the present situation of progress information, send the operational order opposite, realize corresponding application is carried out opening with the present situation of process.
For a more clear understanding of the present invention, " counter " application program that carries with the Windows system below is that example describes.
When the user when using the excel software work, often need to calculate some data, this time, the user clicks shortcut and produces corresponding signal, the shortcut driver responds this signal and sends predetermined instruction, operating system is searched the database of shortcut definition according to this instruction, judges whether send signal meets definition.Meeting under the situation of definition, operating system is further searched the corresponding process that whether has this application program in the system process.As shown in Figure 5, at this moment, the reflection that operating system does not have to find " calc.exe " in system process exists, so the shortcut driver sends instruction, operating system is according to this instruction calls " counter " application program.Like this, as shown in Figure 6, in the process of Windows system, " calc.exe " is added in the reflection.
When after data computation is finished in user's utilization " counter ", wanting to close " counter " software, according to the present invention, the user only need press shortcut once more, the shortcut driver responds this signal and sends predetermined instruction, operating system is searched the database of shortcut definition according to this instruction, judges whether send signal meets definition.Meeting under the situation of definition, operating system is further searched the corresponding process that whether has this application program in the system process.At this moment, operating system finds to exist the reflection of " calc.exe " in system process, and with this information notice shortcut driver.Then, the shortcut driver sends instruction, and indication operating system is closed " counter " application program, finishes " calc.exe " process.Next, as shown in Figure 7, the Windows system responses should be instructed, and finished the process of " calc.exe ", and deleted from the process data storehouse, thereby close " counter " application program.
Need to prove, this time is no matter " counter " application program is at window foremost, still after the window of excel application program, perhaps " minimized ", because introduced the detecting real-time to Windows system process database, shortcut can be realized the shutoff operation to this application program.
The instruction that it is emphasized that the tabulation of search operation system process is to be sent by the shortcut driver that the present invention defines, and the current process data storehouse of direct call operation system.According to the lookup result in the database, the shortcut driver can send different instructions and give the operating system and the application program that is called, and operating system is carried out different operations with the application program that is called at different instructions.
Among the present invention, the shortcut driver is the output side of instruction, and the operating system and the application program that is called are the execution sides of instruction.The shortcut driver is in realizing the opening/closing software process, and the leading position of be in commander, judge, issuing an order, operating system and the application program that is called then are in the subordinate status of execution command.
Secondly, though existing solution can realize that also there is conspicuous difference therewith in the present invention to fast the calling of specified application.Concrete, existing solution only is single realization invokes application operation, and this single call without any judgement, be mechanical repetition.In other words, the user only otherwise stop by shortcut, what the application program that is called will not stopped is opened, and is undying.And the present invention has introduced the detecting to the operating system process, difference according to the detecting result, judge the operation that next step need carry out, and output order, given the ability that shortcut is judged, really realized the intellectuality of shortcut, hommization further makes the function of shortcut meet user's actual use habit more.
For example, if " counter " application program was adopted traditional modes such as click to open by the user before using shortcut, press shortcut once more, if, then be the window of opening second " counter " according to existing solution (single calling); And, then can close " counter " application program automatically according to the present invention.
Though the present invention is described in detail as embodiment with the opening and closing of " counter " application program among the present invention, but, be understandable that for those of ordinary skills, the present invention can be applied to the opening and closing of all application programs, only need be at shortcut, the shortcut driver of this application setting correspondence, and be recorded in the database of shortcut definition and get final product.
Claims (5)
1. realize fast opening and the method for closing application program for one kind, may further comprise the steps:
Step 101 when the shortcut corresponding with the application program that will call is pressed, produces corresponding instruction;
Step 102, after receiving this instruction, processor triggers, and sends signal to the shortcut driver;
Step 103, the shortcut driver responds this signal and sends predetermined instruction, and operating system judges according to should predetermined instruction searching the database of shortcut definition whether send signal meets definition;
Step 104 is meeting under the situation of definition, and operating system is further searched the corresponding process that whether has this application program in the system process, if there is corresponding process, the then processing of execution in step 105, if there is no corresponding process, the then processing of execution in step 106;
Step 105 if there is corresponding process, then will represent to exist the information of corresponding process to be notified to described shortcut driver, and described shortcut driver sends the instruction of closing this application program according to described announcement information, and closes this application program;
Step 106, corresponding application is called and carried out to if there is no corresponding process then according to database definition.
2. the method for claim 1 is characterized in that, this shortcut is set as required by the user.
3. the method for claim 1 is characterized in that, this shortcut is set in advance by system.
4. as each described method of claim 1 to 3, it is characterized in that this processor is the embedded controller of notebook computer.
5. as each described method of claim 1 to 3, it is characterized in that this operating system is the Windows system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006100077723A CN101025659B (en) | 2006-02-20 | 2006-02-20 | Method for realizing shortcut on-off application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006100077723A CN101025659B (en) | 2006-02-20 | 2006-02-20 | Method for realizing shortcut on-off application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101025659A CN101025659A (en) | 2007-08-29 |
CN101025659B true CN101025659B (en) | 2010-08-25 |
Family
ID=38744002
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2006100077723A Expired - Fee Related CN101025659B (en) | 2006-02-20 | 2006-02-20 | Method for realizing shortcut on-off application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101025659B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100750123B1 (en) * | 2005-06-17 | 2007-08-21 | 삼성전자주식회사 | Apparatus and method for calling driver of an image forming apparatus using shortcut on a host |
CN102346557B (en) * | 2010-07-28 | 2016-08-03 | 深圳市世纪光速信息技术有限公司 | A kind of input method and input method system |
CN102109995A (en) * | 2010-12-28 | 2011-06-29 | 青岛海信宽带多媒体技术有限公司 | Method and device for generating shortcut key |
CN102810059A (en) * | 2011-06-01 | 2012-12-05 | 鸿富锦精密工业(深圳)有限公司 | Computer false crash phenomenon processing system and method |
CN102253863B (en) * | 2011-06-15 | 2017-05-03 | 奇智软件(北京)有限公司 | Method for closing processes |
CN102902571B (en) * | 2011-07-26 | 2016-03-23 | 腾讯科技(深圳)有限公司 | A kind of method and apparatus of Quick stop working procedure |
CN106371901A (en) * | 2015-07-24 | 2017-02-01 | 东莞酷派软件技术有限公司 | Application switching method and apparatus |
CN107273161A (en) * | 2017-06-12 | 2017-10-20 | 广州视源电子科技股份有限公司 | Software starting method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6114978A (en) * | 1998-01-14 | 2000-09-05 | Lucent Technologies Inc. | Method and apparatus for assignment of shortcut key combinations in a computer software application |
CN1299222A (en) * | 1999-12-07 | 2001-06-13 | 三星电子株式会社 | Definition method for user to select functional short keys required by communication terminal |
CN1310390A (en) * | 2000-02-22 | 2001-08-29 | 美商·惠普公司 | Method for programming to thermal keys |
CN1362669A (en) * | 2001-01-03 | 2002-08-07 | 英业达股份有限公司 | Blue tooth module shifter |
US20040001098A1 (en) * | 2002-06-28 | 2004-01-01 | Kabushiki Kaisha Toshiba | Information processing apparatus and input assisting method for use in the same |
CN1725786A (en) * | 2004-07-22 | 2006-01-25 | 乐金电子(中国)研究开发中心有限公司 | Single-key setting device of mobile phone |
-
2006
- 2006-02-20 CN CN2006100077723A patent/CN101025659B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6114978A (en) * | 1998-01-14 | 2000-09-05 | Lucent Technologies Inc. | Method and apparatus for assignment of shortcut key combinations in a computer software application |
CN1299222A (en) * | 1999-12-07 | 2001-06-13 | 三星电子株式会社 | Definition method for user to select functional short keys required by communication terminal |
CN1310390A (en) * | 2000-02-22 | 2001-08-29 | 美商·惠普公司 | Method for programming to thermal keys |
CN1362669A (en) * | 2001-01-03 | 2002-08-07 | 英业达股份有限公司 | Blue tooth module shifter |
US20040001098A1 (en) * | 2002-06-28 | 2004-01-01 | Kabushiki Kaisha Toshiba | Information processing apparatus and input assisting method for use in the same |
CN1725786A (en) * | 2004-07-22 | 2006-01-25 | 乐金电子(中国)研究开发中心有限公司 | Single-key setting device of mobile phone |
Non-Patent Citations (1)
Title |
---|
US 20040001098 A1,全文. |
Also Published As
Publication number | Publication date |
---|---|
CN101025659A (en) | 2007-08-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101025659B (en) | Method for realizing shortcut on-off application | |
USRE43716E1 (en) | Method of fast switching control for different operation systems operated in computer | |
US7480863B2 (en) | Dynamic and intelligent hover assistance | |
US6212541B1 (en) | System and method for switching between software applications in multi-window operating system | |
US6727830B2 (en) | Time based hardware button for application launch | |
CN109491562B (en) | Interface display method of voice assistant application program and terminal equipment | |
CN103544973B (en) | The song control method of a kind of music player and device | |
CN101855606A (en) | Launching an application from a power management state | |
CN101316402A (en) | Method for managing task on mobile phone | |
CN104391707A (en) | Application program starting method and starting device | |
CN105183302A (en) | Method and terminal for controlling application | |
AU762025B2 (en) | Automatic speech recognition | |
WO2023134642A1 (en) | Message processing method, message processing apparatus, and electronic device | |
CN112162788A (en) | Application starting method and device and electronic equipment | |
US20090070491A1 (en) | Method for executing target programs with compound quick keys | |
CN112947829B (en) | Misoperation processing method and device, electronic equipment and readable storage medium | |
TWI316679B (en) | ||
WO2024104069A1 (en) | Virtual remote controller display method and apparatus, electronic device and readable storage medium | |
US20130318336A1 (en) | Method for Executing Bios Tool Program in Non-SMI Mechanism | |
CN104866356A (en) | Method for implementing fast start of APP | |
CN112230817B (en) | Link page display method and device and electronic equipment | |
TWI792712B (en) | Cursor marking method and switching device | |
CN113778596A (en) | Remote assistance method and device and electronic equipment | |
CN1609840A (en) | Electronic apparatus combined notebook computer with panel computer | |
CN109918093A (en) | A method of task is quickly created in desktop end task management class application program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100825 Termination date: 20210220 |
|
CF01 | Termination of patent right due to non-payment of annual fee |