JP3075215B2 - Cursor control device and machine-readable recording medium recording program - Google Patents

Cursor control device and machine-readable recording medium recording program

Info

Publication number
JP3075215B2
JP3075215B2 JP09150496A JP15049697A JP3075215B2 JP 3075215 B2 JP3075215 B2 JP 3075215B2 JP 09150496 A JP09150496 A JP 09150496A JP 15049697 A JP15049697 A JP 15049697A JP 3075215 B2 JP3075215 B2 JP 3075215B2
Authority
JP
Japan
Prior art keywords
cursor
control signal
processing unit
cursor movement
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 - Fee Related
Application number
JP09150496A
Other languages
Japanese (ja)
Other versions
JPH10327477A (en
Inventor
行範 吉田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP09150496A priority Critical patent/JP3075215B2/en
Publication of JPH10327477A publication Critical patent/JPH10327477A/en
Application granted granted Critical
Publication of JP3075215B2 publication Critical patent/JP3075215B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Position Input By Displaying (AREA)
  • Selective Calling Equipment (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ディスプレイ上で
カーソルを移動させる技術に関し、特に、リモートコン
トローラから出力される制御信号に従ってカーソルを移
動させる技術に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a technique for moving a cursor on a display, and more particularly to a technique for moving a cursor according to a control signal output from a remote controller.

【0002】[0002]

【従来の技術】リモートコントローラを用いてカーソル
を移動させるということは、例えば、ビデオデッキで録
画予約する場合等に従来から行われている。
2. Description of the Related Art Moving a cursor using a remote controller has been conventionally performed, for example, when making a recording reservation on a video deck.

【0003】図4はリモートコントローラから出力され
る制御信号に従ってディスプレイ装置の画面上でカーソ
ルを移動させる従来のカーソル制御装置の構成例を示し
たブロック図である。
FIG. 4 is a block diagram showing a configuration example of a conventional cursor control device for moving a cursor on a screen of a display device in accordance with a control signal output from a remote controller.

【0004】図4を参照すると、リモートコントローラ
46から出力される制御信号に従ってディスプレイ装置
47の画面上に表示されるカーソルの移動を制御する従
来のカーソル制御装置41は、リモートコントローラ割
り込み発生部42と、CPU等からなるコンピュータ4
3とを備えている。コンピュータ43は、リモートコン
トローラ割り込み処理部44と、カーソル移動処理部4
5として機能する。
Referring to FIG. 4, a conventional cursor control device 41 for controlling the movement of a cursor displayed on the screen of a display device 47 in accordance with a control signal output from a remote controller 46 includes a remote controller interrupt generation section 42 , A computer 4 including a CPU, etc.
3 is provided. The computer 43 includes a remote controller interrupt processing unit 44 and a cursor movement processing unit 4
Functions as 5.

【0005】リモートコントローラ46は、カーソルの
移動を指示するためのカーソルキーや、電源のオン,オ
フを指示するための電源キー等の複数のキーを有してい
る。そして、利用者によってキーが押下されると、それ
が離されるまで、押下されたキーに応じた制御信号を所
定の周期で出力する。
[0005] The remote controller 46 has a plurality of keys such as a cursor key for instructing movement of a cursor and a power key for instructing power on / off. When a key is pressed by the user, a control signal corresponding to the pressed key is output at a predetermined cycle until the key is released.

【0006】今、例えば、利用者が、カーソルの移動を
指示するカーソルキーを押下したとすると、リモートコ
ントローラ46は、カーソルキーが離されるまで、カー
ソルの移動を指示する制御信号を所定の周期で出力す
る。
For example, if the user presses a cursor key for instructing cursor movement, the remote controller 46 sends a control signal for instructing cursor movement at a predetermined cycle until the cursor key is released. Output.

【0007】リモートコントローラ割り込み発生部42
は、リモートコントローラ46から出力された、カーソ
ルの移動を指示する制御信号を受信すると、受信した制
御信号に応じた割り込み信号を出力する。
The remote controller interrupt generator 42
When receiving the control signal instructed to move the cursor output from the remote controller 46, the controller outputs an interrupt signal corresponding to the received control signal.

【0008】リモートコントローラ割り込み処理部44
は、リモートコントローラ割り込み発生部42から出力
された割り込み信号に基づいて、カーソルの移動が指示
されたと判断すると、カーソル移動処理部45に対して
カーソル移動指示を出力する。これにより、カーソル移
動処理部45は、ディスプレイ装置47の画面に表示さ
れているカーソルを所定量移動させる。以上の処理が、
リモートコントローラ46から、カーソルの移動を指示
する制御信号が出力される毎に行われ、カーソルが所定
量ずつ移動する。
The remote controller interrupt processing unit 44
Determines that cursor movement has been instructed based on the interrupt signal output from the remote controller interrupt generation unit 42, and outputs a cursor movement instruction to the cursor movement processing unit 45. Accordingly, the cursor movement processing unit 45 moves the cursor displayed on the screen of the display device 47 by a predetermined amount. The above processing is
This is performed every time a control signal instructing the movement of the cursor is output from the remote controller 46, and the cursor moves by a predetermined amount.

【0009】[0009]

【発明が解決しようとする課題】上述した従来の技術
は、リモートコントローラからカーソルの移動を指示す
る制御信号が出力される毎に、カーソルを所定量ずつ移
動させるようにしているため、カーソルの移動速度が遅
くなってしまうという問題があった。つまり、リモート
コントローラは、複数ビットからなる制御信号をシリア
ルに出力するものであり、また、制御信号のビット数
は、複数設けられているキーの内の、どのキーが押下さ
れたのかを示すビットや、同期ビットを含まなければな
らないため、かなり多くなってしまう。このため、リモ
ートコントローラから出力する制御信号の周期を速くす
ることは難しい。このように、リモートコントローラか
ら出力される制御信号の周期を短くすることが難しいた
め、リモートコントローラから制御信号が出力される毎
に、所定量ずつカーソルを移動させる従来のカーソル制
御装置では、カーソルの移動速度が遅くなってしまう。
In the above-mentioned prior art, the cursor is moved by a predetermined amount every time a control signal instructing the movement of the cursor is output from the remote controller. There was a problem that the speed was reduced. That is, the remote controller serially outputs a control signal consisting of a plurality of bits, and the number of bits of the control signal is a bit indicating which key of the plurality of keys is pressed. Or, since it must include a synchronization bit, the number becomes considerably large. For this reason, it is difficult to increase the cycle of the control signal output from the remote controller. As described above, since it is difficult to shorten the cycle of the control signal output from the remote controller, a conventional cursor control device that moves the cursor by a predetermined amount every time the control signal is output from the remote controller has a problem. The moving speed becomes slow.

【0010】また、このような問題点を解決するため
に、制御信号を1回受信した時のカーソルの移動量を大
きくするということが考えられるが、このようにする
と、カーソルの動きが不自然になるという問題が生じ
る。
In order to solve such a problem, it is conceivable to increase the amount of movement of the cursor when a control signal is received once. However, in this case, the movement of the cursor is unnatural. Problem arises.

【0011】そこで、本発明の目的は、リモートコント
ローラから出力される制御信号に従って、カーソルを高
速かつ滑らかに移動できるようにすることにある。
It is an object of the present invention to enable a cursor to be moved quickly and smoothly in accordance with a control signal output from a remote controller.

【0012】[0012]

【課題を解決するための手段】本発明のカーソル制御装
置は上記目的を達成するため、利用者がカーソルキーを
押下している期間、カーソルの移動を指示する制御信号
を第1の周期で出力するリモートコントローラから出力
された制御信号に従って、カーソルの移動を制御するカ
ーソル制御装置に於いて、カーソル移動指示が入力され
る毎に、カーソルを所定量移動させるカーソル移動処理
部と、前記リモートコントローラからカーソルの移動を
指示する制御信号が出力される毎に、前記第1の周期よ
りも短い第2の周期で前記カーソル移動処理部に対して
カーソル移動指示を複数回出力する割り込み処理部とを
備えている。
In order to achieve the above object, a cursor control device according to the present invention outputs a control signal for instructing movement of a cursor at a first cycle while a user presses a cursor key. A cursor control device that controls the movement of the cursor according to a control signal output from a remote controller that performs a cursor movement processing unit that moves the cursor by a predetermined amount each time a cursor movement instruction is input; An interrupt processing unit that outputs a cursor movement instruction to the cursor movement processing unit a plurality of times in a second cycle shorter than the first cycle every time a control signal instructing the cursor movement is output. ing.

【0013】この構成に於いては、リモートコントロー
ラから第1の周期でカーソルの移動を指示する制御信号
が出力される毎に、割り込み処理部が、第1の周期より
も短い第2の周期で、カーソル処理部に対してカーソル
移動指示を複数回出力し、カーソル移動処理部は、割り
込み処理部からカーソル移動指示が出力される毎に、カ
ーソルを所定量移動させる。
In this configuration, every time a control signal instructing the movement of the cursor is output from the remote controller in the first cycle, the interrupt processing unit operates in the second cycle shorter than the first cycle. A cursor movement instruction is output to the cursor processing unit a plurality of times, and the cursor movement processing unit moves the cursor by a predetermined amount each time the cursor movement instruction is output from the interrupt processing unit.

【0014】[0014]

【発明の実施の形態】次に本発明の実施の形態について
図面を参照して詳細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0015】図1は本発明のカーソル制御装置の実施例
を示すブロック図である。図1を参照すると、リモート
コントローラ10から出力されるカーソルの移動を指示
する制御信号に従ってディスプレイ装置11の画面上に
表示されるカーソルの移動を制御するカーソル制御装置
1は、リモートコントローラ割り込み発生部2と、CP
U等から構成されるコンピュータ3と、タイマ割り込み
発生部4と、記録媒体5とを備えている。
FIG. 1 is a block diagram showing an embodiment of a cursor control device according to the present invention. Referring to FIG. 1, a cursor control device 1 that controls movement of a cursor displayed on a screen of a display device 11 according to a control signal output from a remote controller 10 that instructs movement of a cursor includes a remote controller interrupt generation unit 2 And CP
A computer 3 including a U and the like, a timer interrupt generation unit 4, and a recording medium 5 are provided.

【0016】コンピュータ3は、カーソル制御用プログ
ラムを記録した記録媒体5を備えている。記録媒体5
は、磁気ディスク,半導体メモリ,その他の記録媒体で
ある。記録媒体5に記録されたカーソル制御用プログラ
ムは、コンピュータ3によって読み込まれ、コンピュー
タ3の動作を制御することで、コンピュータ3上に、リ
モートコントローラ割り込み処理部7及びタイマ割り込
み処理部8からなる割り込み処理部6、カーソル移動処
理部9を実現する。
The computer 3 has a recording medium 5 on which a cursor control program is recorded. Recording medium 5
Is a magnetic disk, a semiconductor memory, and other recording media. The cursor control program recorded on the recording medium 5 is read by the computer 3, and by controlling the operation of the computer 3, an interrupt process comprising the remote controller interrupt processing unit 7 and the timer interrupt processing unit 8 is provided on the computer 3. The section 6 and the cursor movement processing section 9 are realized.

【0017】リモートコントローラ10は、ディスプレ
イ装置11の画面上に表示されているカーソルの移動を
指示するためのカーソルキーや、電源のオン,オフを指
示するための電源キー等の複数のキーを備えている。そ
して、利用者によってキーが押下されると、それが離さ
れるまで、押下されたキーに応じた制御信号を第1の周
期T1で出力する。
The remote controller 10 is provided with a plurality of keys such as a cursor key for instructing movement of a cursor displayed on the screen of the display device 11 and a power key for instructing power on / off. ing. When the key is pressed by the user, a control signal corresponding to the pressed key is output in the first cycle T1 until the key is released.

【0018】カーソル制御装置1内のリモートコントロ
ーラ割り込み発生部2は、リモートコントローラ10か
ら出力される制御信号を受信すると、受信した制御信号
に応じたリモートコントローラ割り込み信号aを出力す
る。
Upon receiving a control signal output from the remote controller 10, the remote controller interrupt generator 2 in the cursor control device 1 outputs a remote controller interrupt signal a corresponding to the received control signal.

【0019】タイマ割り込み発生部4は、第1の周期T
1よりも短い第2の周期T2(T2≪T1)でタイマ割
り込み信号bを出力する。
The timer interrupt generation section 4 has a first cycle T
The timer interrupt signal b is output in the second cycle T2 (T2≪T1) shorter than 1.

【0020】リモートコントローラ割り込み処理部7
は、リモートコントローラ割り込み発生部2から出力さ
れたリモートコントローラ割り込み信号aを受信した時
に制御信号受信フラグを設定する機能や、受信したリモ
ートコントローラ割り込み信号aがカーソルの移動を指
示するものである場合、カーソル移動指示フラグを設定
する機能を有する。
Remote controller interrupt processing unit 7
Has a function of setting a control signal reception flag when a remote controller interrupt signal a output from the remote controller interrupt generation unit 2 is received, or when the received remote controller interrupt signal a is an instruction to move a cursor. It has a function of setting a cursor movement instruction flag.

【0021】タイマ割り込み処理部8は、タイマ割り込
み発生部4から第2の周期T2でタイマ割り込み信号b
が出力される毎に、制御信号受信フラグを利用して制御
信号を所定時間t以上受信していないか否かを調べる機
能や、制御信号を所定時間t以上受信していない場合は
カーソル移動指示フラグを解除し、そうでない場合はカ
ーソル移動指示フラグが設定されていることを条件にし
てカーソル移動処理部9に対してカーソル移動指示を出
力する機能を有する。
The timer interrupt processing section 8 receives the timer interrupt signal b from the timer interrupt generation section 4 in the second cycle T2.
Each time is output, a function for checking whether or not a control signal has been received for a predetermined time t or more using a control signal reception flag, and a cursor movement instruction when a control signal has not been received for a predetermined time t or more. It has a function of releasing the flag, and otherwise outputting a cursor movement instruction to the cursor movement processing unit 9 on condition that the cursor movement instruction flag is set.

【0022】カーソル移動処理部9は、タイマ割り込み
処理部8からカーソル移動指示が出力される毎に、ディ
スプレイ装置11の画面上に表示されているカーソルを
所定量移動させる機能を有する。
The cursor movement processing section 9 has a function of moving the cursor displayed on the screen of the display device 11 by a predetermined amount each time a cursor movement instruction is output from the timer interruption processing section 8.

【0023】図2はリモートコントローラ割り込み処理
部7の処理例を示す流れ図、図3はタイマ割り込み処理
部8の処理例を示す流れ図であり、以下各図を参照して
本実施例の動作を説明する。
FIG. 2 is a flowchart showing a processing example of the remote controller interrupt processing section 7, and FIG. 3 is a flowchart showing a processing example of the timer interrupt processing section 8. The operation of this embodiment will be described below with reference to the drawings. I do.

【0024】リモートコントローラ10は、利用者によ
ってキーが押下されると、それが離されるまで、押下さ
れたキーに応じた制御信号を第1の周期T1で出力す
る。
When a key is pressed by the user, the remote controller 10 outputs a control signal corresponding to the pressed key in the first cycle T1 until the key is released.

【0025】カーソル制御装置1内のリモートコントロ
ーラ割り込み発生部2は、リモートコントローラ10か
ら出力された、カーソルの移動を指示する制御信号を受
信すると、それに応じたリモートコントローラ割り込み
信号aを出力する。
When the remote controller interrupt generation section 2 in the cursor control device 1 receives the control signal for instructing the movement of the cursor output from the remote controller 10, it outputs a remote controller interrupt signal a corresponding to the control signal.

【0026】これにより、割り込み処理部6内のリモー
トコントローラ割り込み処理部7は、図2の流れ図に示
すように、制御信号受信フラグを設定する(S1)。そ
の後、リモートコントローラ割り込み処理部7は、リモ
ートコントローラ割り込み信号aに基づいてリモートコ
ントローラ10から出力された制御信号がカーソルの移
動を指示するものであるか否かを判断する(S2)。そ
して、リモートコントローラ10から出力された制御信
号が、カーソルの移動を指示するものであると判断した
場合(S2がYES)は、カーソル移動指示フラグを設
定した後(S3)、処理を終了する。これに対して、S
2の判断結果がNOになった場合は、リモートコントロ
ーラ割り込み処理部7は、リモートコントローラ10か
ら出力された制御信号の種類に応じた処理を行った後
(S4)、処理を終了する。
As a result, the remote controller interrupt processing section 7 in the interrupt processing section 6 sets a control signal reception flag as shown in the flowchart of FIG. 2 (S1). Thereafter, the remote controller interrupt processing section 7 determines whether or not the control signal output from the remote controller 10 is for instructing the movement of the cursor based on the remote controller interrupt signal a (S2). Then, when it is determined that the control signal output from the remote controller 10 is for instructing the movement of the cursor (YES in S2), the process is terminated after setting the cursor movement instruction flag (S3). On the other hand, S
If the determination result of step 2 is NO, the remote controller interrupt processing unit 7 performs a process according to the type of the control signal output from the remote controller 10 (S4), and ends the process.

【0027】リモートコントローラ10から第1の周期
T1で制御信号が出力される毎に、リモートコントロー
ラ割り込み処理部7が上述した動作を行うのに対し、タ
イマ割り込み処理部8は、タイマ割り込み発生部4から
第2の周期T2でタイマ割り込み信号bが出力される毎
に、図3の流れ図に示す処理を行う。
Each time a control signal is output from the remote controller 10 in the first cycle T1, the remote controller interrupt processing unit 7 performs the above-described operation, while the timer interrupt processing unit 8 Each time the timer interrupt signal b is output in the second period T2 from the time t1, the processing shown in the flowchart of FIG.

【0028】図3を参照すると、タイマ割り込み処理部
8は、タイマ割り込み発生部4からタイマ割り込み信号
bが出力されると、制御信号を受信できなくなってか
ら、所定時間t以上経過しているか否かを、制御信号受
信フラグを利用して判断する(S11)。
Referring to FIG. 3, when timer interrupt signal b is output from timer interrupt generating section 4, timer interrupt processing section 8 determines whether or not a predetermined time t has elapsed since the control signal could not be received. It is determined using the control signal reception flag (S11).

【0029】ここで、S11の処理を詳しく説明する
と、タイマ割り込み処理部8は、先ず、制御信号受信フ
ラグが設定されているか否かを調べる。そして、制御信
号受信フラグが設定されている場合は、制御信号を受信
できなくなってから、所定時間tが経過していないと判
断する。尚、制御信号受信フラグが設定されていると判
断した場合は、後述するカウンタのカウント値を「0」
にする処理も行う。
Here, the processing in S11 will be described in detail. First, the timer interrupt processing section 8 checks whether or not the control signal reception flag is set. When the control signal reception flag is set, it is determined that the predetermined time t has not elapsed since the control signal cannot be received. When it is determined that the control signal reception flag is set, the count value of the counter described later is set to “0”.
Is also performed.

【0030】これに対して、制御信号受信フラグが設定
されていない場合は、所定時間tが経過しているか否か
を調べるためのカウンタをインクリメントし、インクリ
メント後のカウント値が閾値Thを超えているか否かを
調べる。ここでは、閾値Thの値をTh=t/T2とし
ている。そして、閾値Thを超えていないと判断した場
合は、制御信号を受信できなくなってから所定時間tが
経過していないと判断する。これに対して、閾値Thを
超えていると判断した場合は、制御信号を受信できなく
なってから所定時間tが経過していると判断する。
On the other hand, when the control signal reception flag is not set, the counter for checking whether or not the predetermined time t has elapsed is incremented, and the count value after the increment exceeds the threshold Th. Check if there is. Here, the value of the threshold Th is set to Th = t / T2. If it is determined that the threshold value Th has not been exceeded, it is determined that the predetermined time t has not elapsed since the control signal could not be received. On the other hand, if it is determined that the threshold value Th is exceeded, it is determined that the predetermined time t has elapsed since the control signal cannot be received.

【0031】そして、S11に於いて、所定時間t以上
経過していないと判断した場合(S11がNO)は、カ
ーソル移動指示フラグが設定されているかを判断し(S
13)、設定されている場合(S13がYES)は、カ
ーソル移動処理部9に対してカーソル移動指示を出力
し、更に、制御信号受信フラグの解除処理を行った後
(S14,S15)、処理を終了する。カーソル移動処
理部9は、タイマ割り込み処理部8からカーソル移動指
示が出力されると、ディスプレイ装置11の画面上に表
示されているカーソルを所定量だけ移動させる。これに
対して、カーソル移動指示フラグが設定されていない場
合(S13がNO)は、制御信号受信フラグの解除処理
を行なった後(S15)、その処理を終了する。
If it is determined in S11 that the predetermined time t has not elapsed (S11: NO), it is determined whether the cursor movement instruction flag is set (S11).
13) If it is set (YES in S13), a cursor movement instruction is output to the cursor movement processing unit 9, and after the control signal reception flag is cleared (S14, S15), the processing is performed. To end. When the cursor movement instruction is output from the timer interrupt processing unit 8, the cursor movement processing unit 9 moves the cursor displayed on the screen of the display device 11 by a predetermined amount. On the other hand, when the cursor movement instruction flag is not set (S13: NO), the control signal reception flag is canceled (S15), and the process is terminated.

【0032】また、S11に於いて、所定時間tが経過
していると判断した場合(S11がYES)は、カーソ
ル移動指示フラグの解除処理を行い、更に、制御信号受
信フラグの解除処理を行った後(S12,S15)、処
理を終了する。
If it is determined in step S11 that the predetermined time t has elapsed (YES in step S11), the cursor movement instruction flag is released, and the control signal reception flag is released. After that (S12, S15), the process ends.

【0033】次に、利用者がリモートコントローラ10
に設けられているカーソルキーを押下した時の動作を説
明する。
Next, the user operates the remote controller 10.
The operation performed when the cursor key provided in is pressed will be described.

【0034】利用者がカーソルキーを押下すると、リモ
ートコントローラ10は、カーソルの移動を指示する制
御信号を第1の周期T1で出力する。リモートコントロ
ーラ割り込み発生部2は、第1の周期T1で、カーソル
の移動を指示する制御信号を受信する毎に、それに応じ
たリモートコントローラ割り込み信号aを出力する。ま
た、リモートコントローラ割り込み処理部7は、第1の
周期T1でリモートコントローラ割り込み信号aが加え
られる毎に、制御信号受信フラグを設定し、更にカーソ
ル移動指示フラグを設定する(S1,S2がYES,S
3)。
When the user presses the cursor key, the remote controller 10 outputs a control signal for instructing the cursor to move in the first cycle T1. The remote controller interrupt generator 2 outputs a remote controller interrupt signal a corresponding to the control signal instructing the movement of the cursor in the first cycle T1. Further, each time the remote controller interrupt signal a is added in the first cycle T1, the remote controller interrupt processing unit 7 sets a control signal reception flag and further sets a cursor movement instruction flag (YES in S1 and S2, YES in S2). S
3).

【0035】一方、タイマ割り込み処理部8では、タイ
マ割り込み発生部4から第2の周期T2(T2≪T1)
でタイマ割り込み信号bが出力される毎に、図3に示す
処理を行っている。
On the other hand, in the timer interrupt processing section 8, the second cycle T2 (T2≪T1)
Each time the timer interrupt signal b is output, the processing shown in FIG. 3 is performed.

【0036】リモートコントローラ割り込み処理部7
が、制御信号受信フラグを設定した後、最初にタイマ割
り込み信号bが加えられた時には、制御信号受信フラ
グ,カーソル移動指示フラグが設定されているので、S
11,S13の判断結果がそれぞれNO,YESとな
る。この結果、リモートコントローラ割り込み処理部7
は、カーソル移動処理部9に対してカーソル移動指示を
出力した後、制御信号受信フラグの解除処理を行う(S
14,S15)。その後、制御信号を受信しなくなって
から所定時間tが経過していない期間は(S11がN
O)、タイマ割り込み処理部8は、第2の周期T2でタ
イマ割り込み発生部4からタイマ割り込み信号bが加え
られる毎に、カーソル移動処理,制御信号解除処理を行
う(S14,S15)。そして、所定時間tが経過する
と(S11がYES)、タイマ割り込み処理部8は、カ
ーソル移動指示フラグを解除した後(S12)、S15
の処理を行う。
Remote controller interrupt processing unit 7
However, when the timer interrupt signal b is first added after the control signal reception flag is set, the control signal reception flag and the cursor movement instruction flag are set, so that S
The determination results in S11 and S13 are NO and YES, respectively. As a result, the remote controller interrupt processing unit 7
Outputs a cursor movement instruction to the cursor movement processing unit 9 and then performs control signal reception flag release processing (S
14, S15). Thereafter, during a period in which the predetermined time t has not elapsed since the control signal is no longer received (S11 is N
O), every time the timer interrupt signal b is added from the timer interrupt generation unit 4 in the second cycle T2, the timer interrupt processing unit 8 performs a cursor movement process and a control signal release process (S14, S15). Then, when the predetermined time t has elapsed (YES in S11), the timer interrupt processing unit 8 releases the cursor movement instruction flag (S12), and then proceeds to S15.
Is performed.

【0037】このように、リモートコントローラ10か
ら第1の周期T1でカーソルの移動を指示する制御信号
が出力される毎に、割り込み処理部6内のタイマ割り込
み処理部8が、第1の周期T1よりも短い第2の周期T
2で複数回(t/T2回)、カーソル移動処理部9に対
してカーソル移動指示を出力するようにしているので、
1回のカーソル移動指示当たりのカーソル移動量を少な
くし、カーソルの動きが滑らかになるようにしても、カ
ーソルの移動速度を十分なものにすることができる。こ
こで、第1,第2の周期T1,T2と、上記した所定時
間tとの関係であるが、カーソルキーから指を離した時
に多少オーバーランがあっても、カーソルの移動速度を
速くしたい場合には、T2≪t≒T1とすれば良く、ま
た、カーソルの移動速度が、上記した場合に比べて多少
遅くなっても、オーバーランを少なくしたい場合には、
T2<t<T1の関係を満たすようにすれば良い。
As described above, every time the control signal for instructing the movement of the cursor is output from the remote controller 10 in the first cycle T1, the timer interrupt processing section 8 in the interrupt processing section 6 sets the first cycle T1. A second period T shorter than
2, the cursor movement instruction is output to the cursor movement processing unit 9 a plurality of times (t / T2 times).
Even if the amount of cursor movement per one cursor movement instruction is reduced and the movement of the cursor is made smooth, the movement speed of the cursor can be made sufficient. Here, there is a relationship between the first and second periods T1 and T2 and the above-mentioned predetermined time t. Even if there is a slight overrun when the finger is released from the cursor key, it is desired to increase the moving speed of the cursor. In this case, it suffices to set T2≪t ≒ T1. In addition, even if the moving speed of the cursor is slightly slower than the above case, and it is desired to reduce the overrun,
What is necessary is to satisfy the relationship of T2 <t <T1.

【0038】[0038]

【発明の効果】本発明の効果は、リモートコントローラ
から出力される制御信号に従って、カーソルを高速かつ
滑らかに移動させることができるという点である。
An advantage of the present invention is that the cursor can be moved quickly and smoothly according to a control signal output from the remote controller.

【0039】その理由は、リモートコントローラから第
1の周期でカーソルの移動を指示する制御信号が出力さ
れる毎に、第1の周期よりも短い第2の周期で、カーソ
ル移動処理部に対してカーソル移動指示を複数回出力す
る割り込み処理部を備えているからである。つまり、カ
ーソル移動処理部に於けるカーソル移動量を小さくして
カーソルの動きが滑らかになるようにしても、制御信号
が1回出力される毎にカーソル移動処理部に短い周期で
複数回、カーソル移動指示を出力するので、カーソルを
高速かつ滑らかに移動させることが可能になる。
The reason is that every time a control signal for instructing the cursor movement is output from the remote controller in the first cycle, the cursor movement processing unit is controlled in the second cycle shorter than the first cycle. This is because an interrupt processing unit that outputs a cursor movement instruction a plurality of times is provided. That is, even if the cursor movement amount in the cursor movement processing unit is reduced so that the cursor movement becomes smooth, the cursor movement processing unit outputs the cursor multiple times in a short cycle every time the control signal is output once. Since the movement instruction is output, the cursor can be moved quickly and smoothly.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】リモートコントローラ割り込み処理部7の処理
例を示す流れ図である。
FIG. 2 is a flowchart illustrating a processing example of a remote controller interrupt processing unit 7;

【図3】タイマ割り込み処理部8の処理例を示す流れ図
である。
FIG. 3 is a flowchart illustrating a processing example of a timer interrupt processing unit 8;

【図4】従来例のブロック図である。FIG. 4 is a block diagram of a conventional example.

【符号の説明】[Explanation of symbols]

1,41…カーソル制御装置 2,42…リモートコントローラ割り込み発生部 3,43…コンピュータ 4…タイマ割り込み発生部 5…記録媒体 6…割り込み処理部 7,44…リモートコントローラ割り込み処理部 8…タイマ割り込み処理部 9,45…カーソル移動処理部 10,46…リモートコントローラ 11,47…ディスプレイ装置 1, 41 cursor control device 2, 42 remote controller interrupt generator 3, 43 computer 4 timer interrupt generator 5 recording medium 6 interrupt processing unit 7, 44 remote controller interrupt processing unit 8 timer interrupt processing Unit 9, 45: Cursor movement processing unit 10, 46: Remote controller 11, 47: Display device

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 利用者がカーソルキーを押下している期
間、カーソルの移動を指示する制御信号を第1の周期で
出力するリモートコントローラから出力された制御信号
に従って、カーソルの移動を制御するカーソル制御装置
に於いて、 カーソル移動指示が入力される毎に、カーソルを所定量
移動させるカーソル移動処理部と、 前記リモートコントローラからカーソルの移動を指示す
る制御信号が出力される毎に、前記第1の周期よりも短
い第2の周期で前記カーソル移動処理部に対してカーソ
ル移動指示を複数回出力する割り込み処理部とを備えた
ことを特徴とするカーソル制御装置。
1. A cursor for controlling the movement of a cursor in accordance with a control signal output from a remote controller for outputting a control signal for instructing the movement of the cursor in a first cycle while the user is pressing a cursor key. In the control device, each time a cursor movement instruction is input, a cursor movement processing unit that moves the cursor by a predetermined amount, and each time a control signal instructing movement of the cursor is output from the remote controller, A cursor control device comprising: an interrupt processing unit that outputs a cursor movement instruction to the cursor movement processing unit a plurality of times in a second period shorter than the period of the cursor control unit.
【請求項2】 複数のキーを有し、利用者が押下したキ
ーに応じた制御信号を第1の周期で出力するリモートコ
ントローラから出力された、カーソルの移動を指示する
制御信号に従ってカーソルの移動を制御するカーソル制
御装置に於いて、 前記リモートコントローラから出力される制御信号を受
信する毎に、制御信号受信フラグを設定し、受信した制
御信号がカーソルの移動を指示するものである場合は、
更にカーソル移動指示フラグを設定するリモートコント
ローラ割り込み処理部と、 カーソル移動指示が入力される毎に、カーソルを所定量
移動させるカーソル移動処理部と、 前記第1の周期よりも短い第2の周期で、タイマ割り込
み信号を出力するタイマ割り込み発生部と、 該タイマ割り込み発生部からタイマ割り込み信号が出力
される毎に、前記制御信号受信フラグを利用して制御信
号を所定時間以上受信していないかを調べ、所定時間以
上受信していない場合は、前記カーソル移動指示フラグ
の解除処理を行うと共に前記制御信号受信フラグの解除
処理を行い、そうでない場合は、カーソル移動指示フラ
グが設定されていることを条件にして、前記カーソル移
動処理部に対してカーソル移動指示を出力する処理を行
うと共に、前記カーソル移動指示フラグの状態に関わら
ず前記制御信号受信フラグの解除処理を行うタイマ割り
込み処理部とを備えたことを特徴とするカーソル制御装
置。
2. A cursor movement in accordance with a control signal instructing the movement of a cursor output from a remote controller having a plurality of keys and outputting a control signal corresponding to a key pressed by a user in a first cycle. In a cursor control device that controls a, every time a control signal output from the remote controller is received, a control signal reception flag is set, and when the received control signal is for instructing movement of a cursor,
A remote controller interrupt processing unit for setting a cursor movement instruction flag; a cursor movement processing unit for moving a cursor by a predetermined amount each time a cursor movement instruction is input; and a second cycle shorter than the first cycle. A timer interrupt generating unit that outputs a timer interrupt signal, and, whenever a timer interrupt signal is output from the timer interrupt generating unit, whether a control signal has been received for a predetermined time or more using the control signal reception flag is determined. Inspect, if not received for a predetermined time or more, the cursor movement instruction flag
And release of the control signal reception flag.
Performs the processing, otherwise, the line processing for by that cursor movement instruction flag is set to the condition, and outputs the cursor movement instruction to the cursor movement processing unit
Irrespective of the state of the cursor movement instruction flag.
And a timer interrupt processing unit for canceling the control signal reception flag .
【請求項3】 利用者がカーソルキーを押下している期
間、カーソルの移動を指示する制御信号を第1の周期で
出力するリモートコントローラから出力された制御信号
に従ってカーソルを移動させる処理をコンピュータに行
わせるためのプログラムを記録した記録媒体であって、 前記コンピュータを、 カーソル移動指示が入力される毎に、カーソルを所定量
移動させるカーソル移動処理部、 前記リモートコントローラからカーソルの移動を指示す
る制御信号が出力される毎に、前記第1の周期よりも短
い第2の周期で前記カーソル移動処理部に対してカーソ
ル移動指示を複数回出力する割り込み処理部として機能
させるためのプログラムを記録した機械読み取り可能な
記録媒体。
3. A process for moving a cursor in accordance with a control signal output from a remote controller which outputs a control signal for instructing movement of a cursor in a first cycle while the user is pressing a cursor key. A recording medium on which a program for causing a computer to execute the program is recorded, the computer comprising: a cursor movement processing unit configured to move a cursor by a predetermined amount each time a cursor movement instruction is input; A machine that records a program for functioning as an interrupt processing unit that outputs a cursor movement instruction to the cursor movement processing unit a plurality of times in a second cycle shorter than the first cycle every time a signal is output. A readable recording medium.
【請求項4】 複数のキーを有し、利用者が押下したキ
ーに応じた制御信号を第1の周期で出力するリモートコ
ントローラから出力された、カーソルの移動を指示する
制御信号に従ってカーソルを移動させるための処理をコ
ンピュータに行わせるためのプログラムを記録した記録
媒体であって、 前記コンピュータを、 前記リモートコントローラから出力される制御信号を受
信する毎に、制御信号受信フラグを設定し、受信した制
御信号がカーソルの移動を指示するものである場合は、
更にカーソル移動指示フラグを設定するリモートコント
ローラ割り込み処理部、 カーソル移動指示が入力される毎に、カーソルを所定量
移動させるカーソル移動処理部、 前記第1の周期よりも短い第2の周期でタイマ割り込み
信号を出力するタイマ割り込み発生部からタイマ割り込
み信号が出力される毎に、前記制御信号受信フラグを利
用して制御信号を所定時間以上受信していないかを調
べ、所定時間以上受信していない場合は、前記カーソル
移動指示フラグの解除処理を行うと共に前記制御信号受
信フラグの解除処理を行い、そうでない場合は、カーソ
ル移動指示フラグが設定されていることを条件にして、
前記カーソル移動処理部に対してカーソル移動指示を出
力する処理を行うと共に、前記カーソル移動指示フラグ
の状態に関わらず前記制御信号受信フラグの解除処理を
行うタイマ割り込み処理部として機能させるためのプロ
グラムを記録した機械読み取り可能な記録媒体。
4. A cursor is moved in accordance with a control signal for instructing cursor movement, output from a remote controller having a plurality of keys and outputting a control signal corresponding to a key pressed by a user in a first cycle. A recording medium that records a program for causing a computer to perform a process for causing the computer to execute the processing, wherein each time a control signal output from the remote controller is received, a control signal reception flag is set and received. If the control signal directs the cursor to move,
A remote controller interrupt processing unit for setting a cursor movement instruction flag; a cursor movement processing unit for moving a cursor by a predetermined amount each time a cursor movement instruction is input; a timer interrupt at a second cycle shorter than the first cycle. Each time a timer interrupt signal is output from a timer interrupt generating unit that outputs a signal, it is checked whether a control signal has been received for a predetermined time or more by using the control signal reception flag. Performs the cancel processing of the cursor movement instruction flag and receives the control signal.
Perform the release processing of the communication flag , otherwise, on the condition that the cursor movement instruction flag is set,
Performing a process of outputting a cursor movement instruction to the cursor movement processing unit;
Release processing of the control signal reception flag regardless of the state of
Recorded machine-readable recording medium a program for functioning as a timer interrupt processing unit for performing.
JP09150496A 1997-05-23 1997-05-23 Cursor control device and machine-readable recording medium recording program Expired - Fee Related JP3075215B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP09150496A JP3075215B2 (en) 1997-05-23 1997-05-23 Cursor control device and machine-readable recording medium recording program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP09150496A JP3075215B2 (en) 1997-05-23 1997-05-23 Cursor control device and machine-readable recording medium recording program

Publications (2)

Publication Number Publication Date
JPH10327477A JPH10327477A (en) 1998-12-08
JP3075215B2 true JP3075215B2 (en) 2000-08-14

Family

ID=15498144

Family Applications (1)

Application Number Title Priority Date Filing Date
JP09150496A Expired - Fee Related JP3075215B2 (en) 1997-05-23 1997-05-23 Cursor control device and machine-readable recording medium recording program

Country Status (1)

Country Link
JP (1) JP3075215B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5315857B2 (en) 2008-08-22 2013-10-16 ソニー株式会社 Input device, control system, and control method
WO2015063896A1 (en) * 2013-10-30 2015-05-07 株式会社東芝 Electronic device, operation control method, and program

Also Published As

Publication number Publication date
JPH10327477A (en) 1998-12-08

Similar Documents

Publication Publication Date Title
JP3075215B2 (en) Cursor control device and machine-readable recording medium recording program
JP3224473B2 (en) Electronic device and power supply control method in the device
JPH1083314A (en) Electronic device of multi-function parallel processing type
JP4481295B2 (en) Hardware initialization with or without processor intervention
EP1715587A1 (en) Encoding/decoding device
US5826063A (en) Apparatus and method for programming the setup, command and recovery time periods within a transaction cycle
JPH08149160A (en) Data receiver
JP2906425B2 (en) Mode switching method for digital copier
US6542147B2 (en) Menu selection input device
JP5802014B2 (en) Signal processing apparatus and signal processing method
JPH05173933A (en) Direct memory access transfer system
JP3292447B2 (en) Multi-function parallel processing type information processing device
JPH0326075A (en) Programmable superimposer processing method
JP2838316B2 (en) Key telephone equipment
JPH0137766B2 (en)
JPS63308758A (en) Video tape recorder
JPH0846509A (en) Data processing unit
JPH0283779A (en) Instruction execution control system for vector processor
JPH01243184A (en) Picture display device
JPH0638209B2 (en) Programmable controller
JPH05189357A (en) Method and device for data chaining control
JPH0769956B2 (en) Image input device
JPH02220244A (en) Simple timer control picture recorder equipped with program code picture recording function
JPH088976A (en) Cdt transmission method and device
JPS6223341B2 (en)

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080609

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090609

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100609

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100609

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110609

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120609

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120609

Year of fee payment: 12

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120609

Year of fee payment: 12

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120609

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130609

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees