CN100388188C - Device and method for realizing hot key function of non-embedded controller by software - Google Patents
Device and method for realizing hot key function of non-embedded controller by software Download PDFInfo
- Publication number
- CN100388188C CN100388188C CNB021488290A CN02148829A CN100388188C CN 100388188 C CN100388188 C CN 100388188C CN B021488290 A CNB021488290 A CN B021488290A CN 02148829 A CN02148829 A CN 02148829A CN 100388188 C CN100388188 C CN 100388188C
- Authority
- CN
- China
- Prior art keywords
- hotkey
- keyboard
- software
- function
- embedded controller
- 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
- Input From Keyboards Or The Like (AREA)
Abstract
Description
技术领域 technical field
本发明是实现热键(Hot Key)功能的技术,特别是有关于以软件实现无嵌入式控制器(Embedded Controller)的热键功能的装置及方法。The present invention is a technology for realizing the function of a hot key (Hot Key), and in particular relates to a device and a method for realizing the function of a hot key without an embedded controller (Embedded Controller) by software.
背景技术 Background technique
一般的电脑系统,是以嵌入式控制器来控制系统的热键切换及功能执行,如笔记本电脑(Notebook)等。然而,在某些特殊的情况下,一电脑系统可能不具备嵌入式控制器。若一电脑系统在不具备嵌入式控制器的情形下,即不支持热键切换及功能执行,则会对使用者造成使用上极大的不便。但若每遇有特殊需求即重新设计硬件,以实现无嵌入式控制器的电脑系统的热键切换及功能,则又必须耗费过大的研发与生产成本,现行的技术并无较佳的解决方法。A general computer system uses an embedded controller to control hotkey switching and function execution of the system, such as a notebook computer (Notebook). However, in some special cases, a computer system may not have an embedded controller. If a computer system does not support hotkey switching and function execution without an embedded controller, it will cause great inconvenience to users. However, if there is a special need to redesign the hardware to realize the hotkey switching and functions of the computer system without an embedded controller, it must consume too much research and development and production costs, and the current technology does not have a better solution. method.
发明内容 Contents of the invention
有鉴于此,本发明的目的是提出一种以软件实现无嵌入式控制器的热键功能的装置及方法,在一电脑系统不具备嵌入式控制器的情形下,以软件方式来达成控制系统的热键切换及功能执行,获致与具备嵌入式控制器的电脑系统同样的热键功能,而且无需耗费大量的研发与生产成本,有效地解决现行技术无法突破的问题。In view of this, the object of the present invention is to propose a device and method for realizing the hot key function without an embedded controller by software. The hotkey switching and function execution can achieve the same hotkey function as a computer system with an embedded controller, and without spending a lot of research and development and production costs, it can effectively solve the problem that the current technology cannot break through.
为获致上述目的,本发明提出一种以软件实现无嵌入式控制器的热键功能的装置,包括设有热键功能的键盘、键盘编码器以及软件驱动程序模块。In order to achieve the above purpose, the present invention proposes a device for realizing the hotkey function without an embedded controller by software, including a keyboard with a hotkey function, a keyboard encoder and a software driver module.
设有热键功能的键盘,用以提供使用者选择热键;设有热键功能的键盘可采用一般通用目的键盘,或可采用为特殊需求所设计的特殊键盘。若设有热键功能的键盘为一般通用目的键盘,则可借由将键盘上某些按键设为热键,以使此一般通用目的键盘成为设有热键功能的键盘。若设有热键功能的键盘是为特殊需求所设计的特殊键盘,则此特殊键盘上会出现设有热键功能的按键,附加于原有键盘上。The keyboard with the hotkey function is used to provide the user with a choice of hotkeys; the keyboard with the hotkey function can be a general-purpose keyboard, or a special keyboard designed for special needs. If the keyboard provided with the hotkey function is a general-purpose keyboard, some keys on the keyboard can be set as hotkeys to make the general-purpose keyboard a keyboard provided with the hotkey function. If the keyboard with the hotkey function is a special keyboard designed for special needs, then there will be buttons with the hotkey function on the special keyboard, which are added to the original keyboard.
键盘编码器,其耦接于设有热键功能的键盘,用以产生与使用者所选择的热键相对应的热键扫瞄码。当使用者于设有热键功能的键盘按下一热键时,键盘编码器会根据使用者按下的热键,产生与其相对应的热键扫瞄码(Scan Code),并发送热键扫瞄码。在一具备嵌入式控制器的电脑系统中,键盘编码器所发送的热键扫瞄码,会由嵌入式控制器所接收,并据以辨识使用者按下的热键。The keyboard coder is coupled to the keyboard with the hotkey function, and is used to generate the hotkey scanning code corresponding to the hotkey selected by the user. When the user presses a hotkey on the keyboard with hotkey function, the keyboard encoder will generate the corresponding hotkey scan code (Scan Code) according to the hotkey pressed by the user, and send the hotkey scan code. In a computer system with an embedded controller, the hotkey scan code sent by the keyboard encoder will be received by the embedded controller to identify the hotkey pressed by the user.
软件驱动程序模块,其耦接于键盘编码器,包括一或多软件驱动程序,软件驱动程序可用任何电脑可执行的程序语言完成,如C、C++等。软件驱动程序模块用以接收来自键盘编码器的热键扫瞄码,并以所接收的热键扫瞄码,辨识使用者所选择的热键,并发出系统管理中断(System ManagementInterrupt)通知基本输入输出系统(BIOS)。基本输入输出系统,会根据所收到的系统管理中断,呼叫对应的系统服务程序(System Routine),以执行热键功能。The software driver module, which is coupled to the keyboard encoder, includes one or more software drivers. The software drivers can be implemented in any computer-executable programming language, such as C and C++. The software driver module is used to receive the hotkey scan code from the keyboard encoder, and use the received hotkey scan code to identify the hotkey selected by the user, and send a system management interrupt (System Management Interrupt) to notify the basic input Output system (BIOS). The BIOS will call the corresponding system service program (System Routine) according to the received system management interrupt to execute the hotkey function.
此外,本发明提出一种以软件实现无嵌入式控制器的热键功能的方法,包括以下步骤。首先必须提供设有热键的键盘、键盘编码器以及软件驱动程序模块于一无嵌入式控制器的电脑系统中。In addition, the present invention proposes a method for implementing the hotkey function without an embedded controller by software, including the following steps. First, a keyboard with hot keys, a keyboard encoder and a software driver module must be provided in a computer system without an embedded controller.
设有热键的键盘用以提供使用者选择热键;设有热键的键盘可采用一般通用目的键盘或采用为特殊需求所设计的特殊键盘;键盘编码器用以产生与使用者所选择的热键相对应的热键扫瞄码;软件驱动程序模块包括软件驱动程序,可用任何电脑可执行的程序语言完成,如C、C++等;软件驱动程序模块用以接收热键扫瞄码,辨识使用者所选择的热键,并发出系统管理中断以通知基本输入输出系统。The keyboard with hotkeys is used to provide users with hotkeys to choose; the keyboard with hotkeys can use general-purpose keyboards or special keyboards designed for special needs; the keyboard encoder is used to generate hotkeys selected by users. The hotkey scan code corresponding to the key; the software driver module includes a software driver, which can be completed in any computer-executable programming language, such as C, C++, etc.; the software driver module is used to receive the hotkey scan code, identify and use the selected hotkey and issue a system management interrupt to notify the BIOS.
当使用者于设有热键的键盘按下一热键时,键盘编码器会感测使用者按下的热键,产生与其对应的热键扫瞄码,并发出热键扫瞄码;软件驱动程序模块接收来自键盘编码器的热键扫瞄码,并据以辨识使用者所选择的热键。When the user presses a hotkey on a keyboard with hotkeys, the keyboard encoder will sense the hotkey pressed by the user, generate a corresponding hotkey scan code, and issue the hotkey scan code; the software The driver module receives the hotkey scan code from the keyboard encoder, and uses it to identify the hotkey selected by the user.
然后,软件驱动程序模块发出对应于热键扫瞄码的系统管理中断,以通知基本输入输出系统。最后,基本输入输出系统根据所接收的系统管理中断,呼叫所对应的系统服务程序,执行与使用者所选择的热键相对应的热键功能。Then, the software driver module issues a system management interrupt corresponding to the hotkey scan code to notify the BIOS. Finally, the BIOS calls the corresponding system service program according to the received system management interrupt, and executes the hotkey function corresponding to the hotkey selected by the user.
附图说明 Description of drawings
图1为显示本发明所揭示的实施例的功能方块图;FIG. 1 is a functional block diagram showing an embodiment disclosed in the present invention;
图2为显示本发明所揭示的实施例的执行流程图。FIG. 2 is a flowchart illustrating the implementation of the disclosed embodiment of the present invention.
图号说明Description of figure number
10-设有热键功能的键盘10- Keyboard with hotkey function
12-键盘编码器12-keyboard encoder
14-软件驱动程序模块14-Software driver module
16-软件驱动程序16-Software Driver
18-基本输入输出系统18- Basic Input Output System
具体实施方式 Detailed ways
请参照图1,图1是显示本发明所揭示的实施例的功能方块图。如图所示,一种以软件实现无嵌入式控制器的热键功能的装置,包括设有热键功能的键盘10、键盘编码器12以及软件驱动程序模块14。Please refer to FIG. 1 , which is a functional block diagram of an embodiment disclosed in the present invention. As shown in the figure, a device for implementing the hotkey function without an embedded controller by software includes a
设有热键功能的键盘10,可采用一般通用目的键盘,或可采用为特殊需求所设计的特殊键盘。若设有热键功能的键盘10为一般通用目的键盘,则可借由将键盘上某些按键设为热键,以使一般通用目的键盘成为设有热键功能的键盘。在此情形下,设有热键功能的键盘10与一般通用目键盘的按键完全相同,不会有附加于键盘的按键。若设有热键功能的键盘是为特殊需求所设计的特殊键盘,则此特殊键盘上会出现设有热键功能的按键,附加于原有键盘上,用以提供使用者选择热键。举例而言,若所需的热键为具有播放音乐的功能热键,则在键盘上会出现一播放音乐的热键,使用者于此特殊键盘上按下此播放音乐的热键时,便会执行播放音乐的功能。The
键盘编码器12,耦接于设有热键功能的键盘10,用以产生与使用者所选择的热键相对应的热键扫瞄码。当使用者于设有热键功能的键盘10按下一热键时,键盘编码器12会感测使用者所按下的热键。根据使用者按下的热键,键盘编码器12会产生与其相对应的热键扫瞄码,并发送热键扫瞄码。在具备嵌入式控制器的电脑系统中,嵌入式控制器会接收由键盘编码器12所发送的热键扫瞄码,并根据所接收的热键扫瞄码,辨识使用者按下的热键。在本发明中,以软件方式接收键盘编码器12所发送的热键扫瞄码,并根据所接收的热键扫瞄码,辨识使用者按下的热键。The
软件驱动程序模块14,其耦接于键盘编码器12,包括软件驱动程序16,软件驱动程序16可用任何电脑可执行的程序语言完成,如C、C++等。软件驱动程序模块14用以接收来自键盘编码器12的热键扫瞄码,并以所接收的热键扫瞄码,辨识使用者所选择的热键。软件驱动程序模块14辨识出使用者所选择的热键后,便发出系统管理中断以通知基本输入输出系统18。随后,基本输入输出系统18会根据所收到的系统管理中断,呼叫对应的系统服务程序,以执行热键功能。The
如前所述,本发明在一不具备嵌入式控制器的电脑系统中,以软件方式完成支持热键功能的目的。就电脑系统的硬设备而言,无须重新变更设计,增加生产成本。就使用者而言,无需改变操作方式及既有的电脑系统使用习惯,确已有效地解决现行技术无法突破的问题。As mentioned above, the present invention implements the purpose of supporting the hotkey function by means of software in a computer system without an embedded controller. As far as the hardware equipment of the computer system is concerned, there is no need to change the design again and increase the production cost. As far as the user is concerned, there is no need to change the operation mode and the existing computer system usage habits, and the problem that the current technology cannot break through has indeed been effectively solved.
请参照图2,图2是显示本发明所揭示的实施例的执行流程图。本发明提出一种以软件实现无嵌入式控制器的热键功能的方法,包括以下步骤。首先必须提供设有热键的键盘、键盘编码器以及软件驱动程序模块于一无嵌入式控制器的电脑系统中。Please refer to FIG. 2 . FIG. 2 is a flowchart illustrating an implementation of an embodiment disclosed in the present invention. The invention proposes a method for realizing the hot key function without an embedded controller by software, which includes the following steps. First, a keyboard with hot keys, a keyboard encoder and a software driver module must be provided in a computer system without an embedded controller.
设有热键的键盘用以提供使用者选择热键。设有热键的键盘可采用一般通用目的键盘或采用为特殊需求所设计的特殊键盘。键盘编码器用以产生与使用者所选择的热键相对应的热键扫瞄码。软件驱动程序模块包括软件驱动程序,可用任何电脑可执行的程序语言完成,如C、C++等。软件驱动程序模块用以接收热键扫瞄码,辨识使用者所选择的热键,并发出系统管理中断以通知基本输入输出系统。The keyboard provided with hotkeys is used for providing users with selecting hotkeys. The keyboard provided with hotkeys can be a general purpose keyboard or a special keyboard designed for special needs. The keyboard encoder is used to generate a hotkey scan code corresponding to the hotkey selected by the user. The software driver module includes a software driver, which can be implemented in any computer-executable programming language, such as C, C++ and the like. The software driver module is used for receiving the hotkey scan code, identifying the hotkey selected by the user, and sending a system management interrupt to notify the BIOS.
当使用者于设有热键的键盘按下一热键时(步骤S200),键盘编码器会感测使用者按下的热键,并产生与其对应的热键扫瞄码(步骤S202),并发出热键扫瞄码。软件驱动程序模块接收来自键盘编码器的热键扫瞄码(步骤S204),并据以辨识使用者所选择的热键(步骤S206)。When the user presses a hotkey on the keyboard with hotkeys (step S200), the keyboard encoder will sense the hotkey pressed by the user and generate a corresponding hotkey scan code (step S202), And send out the hotkey scan code. The software driver module receives the hotkey scan code from the keyboard encoder (step S204), and identifies the hotkey selected by the user accordingly (step S206).
然后,软件驱动程序模块发出对应于热键扫瞄码的系统管理中断(步骤S208),以通知基本输入输出系统。最后,基本输入输出系统根据所接收的系统管理中断,呼叫所对应的系统服务程序,执行与使用者所选择的热键相对应的热键功能(步骤S210)。Then, the software driver module issues a system management interrupt corresponding to the hotkey scan code (step S208 ) to notify the BIOS. Finally, according to the received system management interrupt, the BIOS calls the corresponding system service program to execute the hotkey function corresponding to the hotkey selected by the user (step S210 ).
请再参照图2,举例而言,若采用为特殊需求所设计的特殊键盘作为设有热键的键盘,则在此设有热键的键盘上可能会出现不同于一般通用目的键盘的热键功能按键,用以提供使用者选择热键。若热键功能为播放音乐,则此键盘上便会出现一播放音乐的热键。当使用者按下此播放音乐的热键时(步骤S200),键盘编码器会感测使用者按下的热键,并产生与播放音乐的热键对应的热键扫瞄码(步骤S202),并发出热键扫瞄码。软件驱动程序模块接收来自键盘编码器的热键扫瞄码(步骤S204),并据以辨识使用者所选择的热键为播放音乐的热键(步骤S206)。Please refer to Figure 2 again. For example, if a special keyboard designed for special needs is used as the keyboard with hotkeys, hotkeys different from general-purpose keyboards may appear on the keyboard with hotkeys. The function key is used for providing the user with a hot key to select. If the function of the hotkey is to play music, a hotkey for playing music will appear on the keyboard. When the user presses the hotkey for playing music (step S200), the keyboard encoder will sense the hotkey pressed by the user and generate a hotkey scan code corresponding to the hotkey for playing music (step S202) , and issue a hotkey scan code. The software driver module receives the hotkey scan code from the keyboard encoder (step S204), and identifies the hotkey selected by the user as a hotkey for playing music (step S206).
然后,软件驱动程序模块发出对应于热键扫瞄码的系统管理中断(步骤S208),以通知基本输入输出系统。最后,基本输入输出系统根据所接收的系统管理中断,呼叫所对应的系统服务程序,执行与使用者所选择播放音乐的热键相对应的功能(步骤S210)。Then, the software driver module issues a system management interrupt corresponding to the hotkey scan code (step S208 ) to notify the BIOS. Finally, according to the received system management interrupt, the BIOS calls the corresponding system service program to execute the function corresponding to the hotkey selected by the user to play music (step S210 ).
综上所述,本发明所提出以软件实现无嵌入式控制器的热键功能的装置及方法。以软件方式,在不具备嵌入式控制器的电脑系统中,完成热键切换及热键功能,达到与具有嵌入式控制器的电脑系统相同的功能,确已达到本发明所欲达到的目的。To sum up, the present invention proposes a device and method for implementing a hotkey function without an embedded controller by software. By means of software, in a computer system without an embedded controller, hotkey switching and hotkey functions can be completed to achieve the same functions as those of a computer system with an embedded controller, and the purpose of the present invention has indeed been achieved.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB021488290A CN100388188C (en) | 2002-11-18 | 2002-11-18 | Device and method for realizing hot key function of non-embedded controller by software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB021488290A CN100388188C (en) | 2002-11-18 | 2002-11-18 | Device and method for realizing hot key function of non-embedded controller by software |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1501238A CN1501238A (en) | 2004-06-02 |
CN100388188C true CN100388188C (en) | 2008-05-14 |
Family
ID=34233358
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB021488290A Expired - Fee Related CN100388188C (en) | 2002-11-18 | 2002-11-18 | Device and method for realizing hot key function of non-embedded controller by software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100388188C (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100501646C (en) * | 2004-06-30 | 2009-06-17 | 技嘉科技股份有限公司 | Method and device capable of setting computer input operation signal |
KR100750123B1 (en) * | 2005-06-17 | 2007-08-21 | 삼성전자주식회사 | Driver calling device and method of image forming apparatus using shortcut key on host |
CN100461076C (en) * | 2005-06-22 | 2009-02-11 | 英华达(上海)电子有限公司 | Method for real-time processing of system key on embedded apparatus |
CN102331861A (en) * | 2011-08-04 | 2012-01-25 | 苏州三诺信息科技有限公司 | A Method for Realizing Shortcut Functions for Universal Keyboards |
CN112068713B (en) * | 2020-09-04 | 2023-12-08 | 龙芯中科技术股份有限公司 | Event processing method, device, electronic equipment and readable medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5333273A (en) * | 1990-11-09 | 1994-07-26 | Ast Research, Inc. | Protected hot key function for microprocessor-based computer system |
US5937200A (en) * | 1997-11-21 | 1999-08-10 | Phoenix Technologies Ltd. | Using firmware to enhance the functionality of a controller |
US5935225A (en) * | 1996-09-13 | 1999-08-10 | Silitek Corporation | Method for expanding hot keys on a keyboard |
CN2383141Y (en) * | 1997-12-31 | 2000-06-14 | 陈国安 | keyboard |
-
2002
- 2002-11-18 CN CNB021488290A patent/CN100388188C/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5333273A (en) * | 1990-11-09 | 1994-07-26 | Ast Research, Inc. | Protected hot key function for microprocessor-based computer system |
US5935225A (en) * | 1996-09-13 | 1999-08-10 | Silitek Corporation | Method for expanding hot keys on a keyboard |
US5937200A (en) * | 1997-11-21 | 1999-08-10 | Phoenix Technologies Ltd. | Using firmware to enhance the functionality of a controller |
CN2383141Y (en) * | 1997-12-31 | 2000-06-14 | 陈国安 | keyboard |
Also Published As
Publication number | Publication date |
---|---|
CN1501238A (en) | 2004-06-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100700951B1 (en) | Apparatus and method for multi-task management in mobile communication systems | |
JP2004164542A (en) | Device and method for realizing hot key function by software not through embedded controller | |
JP2004164537A (en) | Device and method for matching household electrical appliance function by personal computer | |
JP2004164537A5 (en) | ||
KR20130084659A (en) | System and method for managing resources of a portable computing device | |
CN103049205A (en) | Mobile terminal and control method thereof | |
CN102226884A (en) | Touch screen control system and touch screen control method | |
JP2008242946A (en) | Electronic equipment and key depression decision method | |
CN100388188C (en) | Device and method for realizing hot key function of non-embedded controller by software | |
TWI243576B (en) | Method for defining functions of keys of a keypad of an electronic device | |
US20100127977A1 (en) | Pointing device, electronic device and operation method thereof | |
WO2012065375A1 (en) | Method, apparatus, keyboard and terminal device for processing keyboard instructions | |
KR20100015165A (en) | A user interface system using a touch screen pad | |
US7324082B2 (en) | Portable data processing device with one touch control and switching method thereof | |
CN118131919B (en) | Keyboard control method, device, system and storage medium | |
US20150309590A1 (en) | Inputting method and associated electronic device | |
CN102339221B (en) | Method for processing application program interface based on Windows CE platform | |
CN111913638A (en) | Keyboard and mouse combined application method and device | |
US20200050314A1 (en) | Touch sensing method, electronic device and non-transitory computer readable recording medium device | |
CN103729133A (en) | Touch display method and electronic device using same | |
CN101246393B (en) | Operation method of computer device and keyboard input thereof | |
JP2003303029A (en) | Method and system for authenticating of user of computing device, and computing device | |
US7330134B2 (en) | Key construction method for a keyboard and the keyboard thereof | |
US20080072237A1 (en) | Navigating Applications in an Interactive Computing Device | |
US9613311B2 (en) | Receiving voice/speech, replacing elements including characters, and determining additional elements by pronouncing a first element |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080514 Termination date: 20161118 |