CN1082205C - Method and device for simulating keyboard keys on remote controller - Google Patents
Method and device for simulating keyboard keys on remote controller Download PDFInfo
- Publication number
- CN1082205C CN1082205C CN96105158A CN96105158A CN1082205C CN 1082205 C CN1082205 C CN 1082205C CN 96105158 A CN96105158 A CN 96105158A CN 96105158 A CN96105158 A CN 96105158A CN 1082205 C CN1082205 C CN 1082205C
- Authority
- CN
- China
- Prior art keywords
- key
- storage device
- data
- keyboard
- remote 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 - Lifetime
Links
Landscapes
- Input From Keyboards Or The Like (AREA)
Abstract
Description
本发明涉及一种多媒体电脑系统的遥控器,特别是一种模拟键盘按键于遥控器的方法及装置。The invention relates to a remote controller of a multimedia computer system, in particular to a method and device for simulating keyboard keys on the remote controller.
现今数据处理系统的设计,尤其是个人电脑的设计,多已将多媒体功能融入其中。而一多媒体电脑系统主要配件之一就是遥控器。现有多媒体电脑系统的遥控器与电视机的遥控器类似,有电源开关、音量、频道选择及一些数字键。对电脑系统而言,经常须要以键盘上的按键来进行控制。然而,要在遥控器上提供所有键盘上的按键(一般为101键)则不切实际。The design of today's data processing systems, especially the design of personal computers, has mostly integrated multimedia functions into it. And one of the main accessories of a multimedia computer system is exactly a remote controller. The remote controller of existing multimedia computer system is similar to the remote controller of TV set, and has power switch, volume, channel selection and some numerical keys. For computer systems, it is often necessary to control them with keys on the keyboard. However, it is not practical to provide all the keys on the keyboard (typically 101 keys) on the remote control.
本发明的目的在于提供一种具弹性而有效的模拟键盘按键于遥控器的方法及装置,以模拟键盘上的控键功能于遥控器的按键上。The object of the present invention is to provide a flexible and effective method and device for simulating keyboard keys on a remote control, so as to simulate the functions of the keys on the keyboard on the keys of the remote control.
本发明的另一目的,在于提供使用者定义遥控器上某些按键的便利的方法。Another object of the present invention is to provide a convenient method for users to define certain keys on the remote controller.
本发明的模拟键盘按键于遥控器的方法,在一具有一键盘及一主系统的数据处理系统中,模拟键盘上的第一键于一遥控器的第二键的方法,该方法包括下列步骤:The method for simulating keyboard buttons on a remote controller according to the present invention, in a data processing system with a keyboard and a main system, the method for simulating the first key on the keyboard on the second button of a remote controller, the method includes the following steps :
(a)在一储存装置中存储代表所述第一键的数据;(a) storing data representing said first key in a storage device;
(b)判断一由遥控器所传出的代表第二键的数据是否对应于所述第一键;(b) judging whether the data representing the second key transmitted by the remote controller corresponds to the first key;
(c)根据步骤(b)的判断结果,将第一键的键数据自所述储存装置传送至所述数据处理系统的主系统。(c) transmitting the key data of the first key from the storage device to the main system of the data processing system according to the judgment result of step (b).
本发明的模拟键盘按键于遥控器的装置,在一具有一键盘及一主系统的数据处理系统中,一种模拟键盘上的一第一键于一遥控器的一第二键的装置,该装置包括:The device for simulating keyboard keys on a remote controller of the present invention is a device for simulating a first key on a keyboard and a second key on a remote controller in a data processing system having a keyboard and a main system. Devices include:
储存装置,用以储存第一键的数据;a storage device for storing the data of the first key;
判断装置,用以判断由遥控器所传出的代表第二键的数据是否对应于第一键;judging means for judging whether the data representing the second key transmitted by the remote controller corresponds to the first key;
传送装置,用以因应于所述判断装置的判断结果,将第一键的键数据自所述储存装置传送至数据处理系统的主系统。The transmission device is used for transmitting the key data of the first key from the storage device to the main system of the data processing system in response to the judgment result of the judgment device.
附图说明:Description of drawings:
图1为本发明的一较佳实施例的方块图。FIG. 1 is a block diagram of a preferred embodiment of the present invention.
较佳实施例的详细说明如下:The detailed description of the preferred embodiment is as follows:
参考图1本发明的一较佳实施例。使用者可先行设定某一遥控器上的按键。本实施例中,使用者欲将遥控器16上的“A”、“B”、“C”、“D”键分别设定为数据处理系统上键盘的四个方向键,在使用者输入后,系统可将该四个方向键的代表数据存入系统内的互补型金属氧化物半导体(CMOS)存储器11的相对位置。CMOS存储器11为一数据处理系统内的永久性存储器,可由电池供应其所须的电力,而使其数据在关机后仍存在。一键盘按键的代表数据一般由一造码(Made Code)和一断码(Break Code)所组成。储存在CMOS存储器11中者可仅为造码(Make Code)或断码(Break Code),再于以后传送此键的代表数据至主系统19(Host System)时造出其相对应的断码或造码,这样,可节省CMOS存储器的空间。一般CMOS存储器有128位元组空间,其中64位元组用以储存系统结构参数。另外64位元组则可用来储存使用者的数据(在本实施例中为断码(Break Code)或造码(Make Code))。在IBM PC相容系统中,可用指令70h和71h来将键盘数据存入CMOS存储器11中。Referring to Fig. 1 a preferred embodiment of the present invention. The user can pre-set a button on a certain remote controller. In this embodiment, the user intends to set the "A", "B", "C", and "D" keys on the remote controller 16 as the four direction keys of the keyboard on the data processing system respectively. , the system can store the representative data of the four direction keys into the relative positions of the complementary metal-oxide-semiconductor (CMOS) memory 11 in the system. The CMOS memory 11 is a permanent memory in a data processing system, and its required power can be supplied by a battery, so that its data still exists after the power is turned off. The representative data of a keyboard key generally consists of a Made Code and a Break Code. What is stored in the CMOS memory 11 can only be code making (Make Code) or break code (Break Code), and then make its corresponding break code when sending the representative data of this key to the main system 19 (Host System) later Or code, like this, can save the space of CMOS memory. A general CMOS memory has a space of 128 bytes, of which 64 bytes are used to store system configuration parameters. The other 64 bytes can be used to store user data (in this embodiment, break code (Break Code) or make code (Make Code)). In an IBM PC compatible system, instructions 70h and 71h can be used to store keyboard data into CMOS memory 11.
存在CMOS存储器中方向键的代表数据,将经由信号112写入一控制器12中。控制器12可以是一个键盘控制器(Keyboard Controller)。例如编号为8042系列的集成电路处理器元件。控制器12具有一个随机存储器(RAM)13及一只读存储器(ROM)15,利用标准8042指令61h等可以将4个方向键的代表数据由存储器11输入存储器13。标准8042中有128位元组的随机存储器(RAM)。例如指令61h可将存储器11的数据写入8042的随机存储器(RAM)13的地址21h开始的存储空间。本实施例中四个方向键可依序储存在21h~24h的存储空间(每键仅存一位元组的造码(Make Code’))。The representative data of the arrow keys stored in the CMOS memory will be written into a controller 12 via the signal 112 . Controller 12 can be a keyboard controller (Keyboard Controller). For example, the integrated circuit processor element numbered 8042 series. The controller 12 has a random access memory (RAM) 13 and a read-only memory (ROM) 15, and the representative data of the four direction keys can be input from the memory 11 to the memory 13 by using standard 8042 instructions 61h and the like. The standard 8042 has 128 bytes of random access memory (RAM). For example, the instruction 61h can write the data of the memory 11 into the storage space starting from the address 21h of the random access memory (RAM) 13 of the 8042. In the present embodiment, the four direction keys can be sequentially stored in the storage space of 21h~24h (each key only stores a one-byte code (Make Code')).
遥控器上的每一按键均有其代码。在本实施例中,将以A(01h)、B(02h)、C(03h)……为例。假设使用者按下遥控器上的“C”键,则遥控器的无线信号传输其代码至数据处理系统的接收器17。接收器17初步处理后的数据113会送入控制器12(8042)。数据113的格式如虚线所指。116部分为开头(Header),接下来的一系列数据118包含16位元件的客户码(Custormer Code)及16位元件的数据码。此为一统一业界标准,在此不赘述。若按下“C”键,则数据码将为02FDh(前八位“02”为数据本身,后八位元“FD”为“02”的补数,用以进行错误检测之用)。Each key on the remote has its own code. In this embodiment, A(01h), B(02h), C(03h)... will be taken as examples. Assuming that the user presses the "C" key on the remote control, the wireless signal of the remote control transmits its code to the receiver 17 of the data processing system. The data 113 preliminarily processed by the receiver 17 will be sent to the controller 12 (8042). The format of the data 113 is indicated by the dotted line. Part 116 is the beginning (Header), and the next series of data 118 includes the customer code (Customer Code) of the 16-bit component and the data code of the 16-bit component. This is a unified industry standard and will not be repeated here. If the "C" key is pressed, the data code will be 02FDh (the first eight digits "02" are the data itself, and the last eight digits "FD" are the complement of "02", which is used for error detection).
控制器12在过滤取得最终数据码(02H)后,根据“02”H的数值,可至随机存储器(RAM)13的地址23h(存有使用者输入的“↑”的造码)读出造码。控制器12将遵照一般使用者按下键盘按键的处理方式,发出岔断信号(IRQ1)通知至系统收取按键数据,而控制器12则由数据线114将存储器13地址23h的“↑”造码(Make Code)及断码(Break Code)(对应产生)送至XD-总线18,主系统再经由数据线115至XD-总线18上取得该数据。此时主系统19完全按照使用者按下键盘按键的方式,当作有“↑”键被按下进一步处理(例如将游标往上移)。本发明因此可让使用者自行定义遥控器上的按键,以模拟成数据处理系统键盘上的任意一键,等于是将键盘的按键延伸至遥控器上。例如在玩电脑游戏时,使用者即可将方向键定义于遥控器上,直接用遥控器控制游戏软件,而无须被键盘限制住使用距离。另外遥控器的按键定义可随时更换,而具弹性。实施例中自存储器11将定义键的代表数据载入控制器12的存储器13的动作可由基本输入输出系统(BIOS)完成,储存在其开机自我测试(POST)部分,使得一开机时所有遥控器键盘的定义均先存入存储器13内。而控制器12的只读存储器ROM15则可用来储存控制将数据信号113转换为数据线114的信号。After the controller 12 obtains the final data code (02H) by filtering, according to the value of "02"H, it can go to the address 23h of the random access memory (RAM) 13 (the code of "↑" input by the user is stored) to read out the code. code. The controller 12 will follow the general user’s processing method of pressing a keyboard key, and send an interrupt signal (IRQ1) to notify the system to receive the key data, and the controller 12 will code the “↑” of the address 23h of the memory 13 through the data line 114 (Make Code) and break code (Break Code) (correspondingly generated) are sent to the XD-bus 18, and the host system obtains the data from the XD-bus 18 via the data line 115. At this moment, the main system 19 completely follows the way that the user presses the key on the keyboard, and treats it as having the "↑" key pressed for further processing (for example, moving the cursor up). Therefore, the present invention allows the user to define the keys on the remote controller to simulate any key on the keyboard of the data processing system, which is equivalent to extending the keys of the keyboard to the remote controller. For example, when playing computer games, the user can define the direction keys on the remote controller, and directly use the remote controller to control the game software without being limited by the keyboard. In addition, the button definitions of the remote control can be changed at any time, and are flexible. In the embodiment, the action of loading the representative data of the defined keys into the memory 13 of the controller 12 from the memory 11 can be completed by the basic input and output system (BIOS), and stored in its power-on self-test (POST) part, so that all remote controllers can The definition of keyboard all stores in memory 13 earlier. The ROM 15 of the controller 12 can be used to store the signal for controlling the conversion of the data signal 113 into the data line 114 .
本发明的另一实施例,可将使用者欲模拟的键盘按键代表数据以档案形式储存在磁盘(硬式或软式磁盘)的存储器中。当主系统19收到按键数据时,可因应其按键数据,将对应的已模拟键盘按键的数据读出,当作该键盘按键已被按下而处理,其原理与前述实施例相同,以上仅以实施例说明本发明以协助了解。业界的一般技术人员,可对本发明作修改,但其均不脱离本发明的保护范围。In another embodiment of the present invention, the representative data of the keyboard keys to be simulated by the user can be stored in the memory of the disk (hard disk or floppy disk) in the form of a file. When the main system 19 receives the key data, it can read out the data of the corresponding simulated keyboard key in response to the key data, and treat it as if the key of the keyboard has been pressed. The principle is the same as that of the foregoing embodiment. The examples illustrate the invention to aid understanding. Those skilled in the industry can make modifications to the present invention, but none of them depart from the protection scope of the present invention.
本发明具有如下效果:The present invention has following effect:
由于在本发明中将键盘按键模拟于遥控器上,即将存储于存储器中的键盘按键数据经传送装置传送至数据处理系统,并由遥控器按键发出,这就可以使用遥控器在远距离完成键盘按键的功能,使操作不再受距离的限制,而且这种模拟功能可根据实际需要作弹性改变,实用性强。Because in the present invention, the keyboard keys are simulated on the remote controller, that is, the keyboard key data stored in the memory is transmitted to the data processing system through the transmission device, and sent by the remote controller keys, which can use the remote controller to complete the keyboard operation at a long distance. The function of the button makes the operation no longer limited by the distance, and this simulation function can be flexibly changed according to actual needs, which is very practical.
Claims (20)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN96105158A CN1082205C (en) | 1996-05-13 | 1996-05-13 | Method and device for simulating keyboard keys on remote controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN96105158A CN1082205C (en) | 1996-05-13 | 1996-05-13 | Method and device for simulating keyboard keys on remote controller |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB011203161A Division CN1173249C (en) | 2001-07-18 | 2001-07-18 | Method and device for simulating keyboard keys on remote controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1165333A CN1165333A (en) | 1997-11-19 |
| CN1082205C true CN1082205C (en) | 2002-04-03 |
Family
ID=5118726
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN96105158A Expired - Lifetime CN1082205C (en) | 1996-05-13 | 1996-05-13 | Method and device for simulating keyboard keys on remote controller |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1082205C (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113672299A (en) * | 2021-08-03 | 2021-11-19 | 中移(杭州)信息技术有限公司 | Controller-based BIOS setting method, device, storage medium and device |
-
1996
- 1996-05-13 CN CN96105158A patent/CN1082205C/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| CN1165333A (en) | 1997-11-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6213880B1 (en) | Game pad apparatus and method for navigation on a digital video disk (DVD) system | |
| CA2142800C (en) | Keyboard-touchpad combination in a bivalve enclosure | |
| US5802544A (en) | Addressing multiple removable memory modules by remapping slot addresses | |
| US6756965B2 (en) | Input device having two joysticks and touchpad with default template | |
| CA2142798C (en) | Computer system with touchpad support in operating system | |
| US5774721A (en) | Method of communication between processors in a distributed processing system having a host processor and at least one object oriented processor | |
| US5708838A (en) | Distributed processing systems having a host processor and at least one object oriented processor | |
| CN101380519B (en) | Input terminal emulator for gaming devices | |
| US6998955B2 (en) | Virtual electronic remote control device | |
| EP0672981A1 (en) | Input device | |
| GB2388682A (en) | An interface for use between an input device and a computer with means for storing data relating to different protocols for different input devices | |
| WO1997009669A1 (en) | Distributed systems having two object oriented processors | |
| US5856789A (en) | Power supply switching of a computer system by a remote controller | |
| US5923866A (en) | Method and apparatus for realizing a keyboard key function on a remote control | |
| CN1082205C (en) | Method and device for simulating keyboard keys on remote controller | |
| CN100389441C (en) | Studying and up grading system and method for enhanced | |
| CN1173249C (en) | Method and device for simulating keyboard keys on remote controller | |
| CN1312581C (en) | External boot device for personal computer system | |
| JP2007235909A (en) | Remote controller, and its content downloading and executing method | |
| CN116301399A (en) | Control method, system, terminal and medium for user-defined keyboard function keys | |
| JPH0232405A (en) | Programmable controller | |
| JP2002116868A (en) | Keyboard controller control system | |
| CN100383730C (en) | Method for replacing panel of sound player | |
| JP2004164541A (en) | Substitution method and system of audio player panel | |
| US20090177862A1 (en) | Input device for executing an instruction code and method and interface for generating the instruction code |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C06 | Publication | ||
| PB01 | Publication | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| ASS | Succession or assignment of patent right |
Owner name: WEICHUANG ZITONG CO., LTD. Free format text: FORMER OWNER: NONE Effective date: 20020716 Owner name: HONHQI CO., LTD. Free format text: FORMER OWNER: ACER COMPUTER CO., LTD. |
|
| C41 | Transfer of patent application or patent right or utility model | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20020716 Address after: Taiwan Taipei County 221 China Sijhih city new road five Co-applicant after: Weichuang Zitong Co., Ltd. Patentee after: Acer Inc Address before: Taiwan, China Patentee before: Acer Computer Co., Ltd. |
|
| CX01 | Expiry of patent term |
Granted publication date: 20020403 |
|
| EXPY | Termination of patent right or utility model |