JPH10333894A - Mode lock controller - Google Patents

Mode lock controller

Info

Publication number
JPH10333894A
JPH10333894A JP14758597A JP14758597A JPH10333894A JP H10333894 A JPH10333894 A JP H10333894A JP 14758597 A JP14758597 A JP 14758597A JP 14758597 A JP14758597 A JP 14758597A JP H10333894 A JPH10333894 A JP H10333894A
Authority
JP
Japan
Prior art keywords
data
mode lock
unit
hardware
acquired
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.)
Pending
Application number
JP14758597A
Other languages
Japanese (ja)
Inventor
Hidekazu Aikawa
英一 相川
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 Solution Innovators Ltd
Original Assignee
NEC Solution Innovators Ltd
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 Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP14758597A priority Critical patent/JPH10333894A/en
Publication of JPH10333894A publication Critical patent/JPH10333894A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To make easily changeable position data or the array of them, by acquiring the data corresponding to the position of a mode lock from a data storage part and notifying an application of the acquired data. SOLUTION: A hardware access part 21 accesses a hardware 1 to acquire the state of a mode lock and judge the current position of the mode lock to notify a data conversion part 22 of it. The part 22 acquires the data corresponding to the current position of the mode lock from a data storage part 31 or the inside of the part 22 via a data access part 32. Then, the acquired position data are compared with the pre-mode lock value that is held in the part 22. If a position change is decided, the acquired data are held in the part 22 as the pre-mode lock value and notified to a data notification part 23. The part 23 notifies an application of the acquired data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はモード錠制御装置に
関し、特にモード錠を利用することができるコンピュー
タ装置におけるモード錠制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a mode lock control device, and more particularly to a mode lock control device in a computer device that can use a mode lock.

【0002】[0002]

【従来の技術】従来のモード錠制御装置では、モード錠
のポジションのデータをモード錠制御装置の内部に固定
で記述しており、アプリケーションにはハードウェアの
状態から取得した現在のモード錠のポジションに対応す
るデータとしてその固定で記述されたデータを通知して
いた。
2. Description of the Related Art In a conventional mode lock control device, mode lock position data is fixedly described in the mode lock control device, and an application includes a current mode lock position obtained from a hardware state. The fixedly described data is notified as the data corresponding to.

【0003】[0003]

【発明が解決しようとする課題】従来の技術の問題点
は、他のシステムからアプリケーションを移植する場合
やアプリケーションに通知するデータを変更しない場合
には、その度にモード錠制御装置やアプリケーションの
改造をしなければならず、余計に工数がかかっていた点
である。その理由は、システム毎にモード錠のポジショ
ンのデータは異なる場合が多い上に、従来のモード錠制
御装置ではポジションのデータをモード錠制御装置の内
部に記述していたために、アプリケーションに通知され
るデータが固定となっていたためである。
The problem with the prior art is that when an application is ported from another system or when the data to be notified to the application is not changed, the mode lock control device or the application is remodeled each time. And the extra work required. The reason is that the data of the position of the mode lock often differs from system to system, and the data of the position is described in the mode lock control device in the conventional mode lock control device. This is because the data was fixed.

【0004】[0004]

【課題を解決するための手段】本発明のモード錠制御装
置は、ハードウェアの状態を取得して現在のモード錠の
ポジションに対応するデータをデータ格納部から取得し
てアプリケーションに通知するデータ通知手段と、前記
データ格納部に記述されているモード錠のポジションの
データの参照、更新をする参照更新手段とを備えている
ことを特徴とする。
According to the present invention, there is provided a mode lock control device for acquiring a state of hardware, acquiring data corresponding to a current position of the mode lock from a data storage unit, and notifying an application. Means, and reference updating means for referring to and updating data of the position of the mode lock described in the data storage section.

【0005】具体的には、モード錠のポジションデータ
を格納するデータ格納部、データ格納部にアクセスして
参照・更新を行うデータアクセス部、データの参照や更
新をする場合のコマンドやポジションのデータなどを入
力するための入力装置や、データの参照をする場合にポ
ジションのデータを出力する出力装置への入出力を行う
データ入出力部を有する。
More specifically, a data storage unit for storing mode lock position data, a data access unit for accessing and referencing / updating the data storage unit, and command and position data for referring to and updating data. And a data input / output unit for inputting / outputting data to / from an input device for inputting data and the like and an output device for outputting position data when referring to data.

【0006】また、モード錠が接続されたハードウェア
の状態を取得してモード錠の現在のポジションを判断す
るハードウェアアクセス部、現在のモード錠のポジショ
ンに応じたデータをデータアクセス部を通して取得する
データ変換部、そのデータをアプリケーションに通知す
るデータ通知部を有する。
Further, a hardware access unit that obtains the state of the hardware connected to the mode lock and determines the current position of the mode lock, and acquires data corresponding to the current position of the mode lock through the data access unit. The data conversion unit includes a data notification unit that notifies the application of the data.

【0007】本発明は、モード錠のポジションのデータ
の変更を容易に行えるようにすることで、他のシステム
からのアプリケーションの移植やアプリケーションに通
知するポジションのデータの変更などへの対応にかかる
工数の軽減させ、生産性および資源の再利用性の向上に
つながるものである。
The present invention makes it possible to easily change the data of the position of the mode lock, thereby making it possible to port the application from another system or to change the data of the position notified to the application. And improve productivity and reusability of resources.

【0008】[0008]

【発明の実施の形態】本発明について図面を参照して説
明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described with reference to the drawings.

【0009】図1は、本発明のモード錠制御装置の構成
を示したブロック図である。本発明のモード錠制御装置
は、モード錠が接続されたハードウェア1、プログラム
制御により動作するデータ通知手段2、プログラム制御
により動作する参照更新手段3、コマンドやデータの入
力を行う入力装置4およびデータの出力を行う出力装置
5から構成される。データ通知手段2は、ハードウェア
アクセス部21、データ変換部22、データ通知部23
の3部分から構成され、また参照更新手段3はデータ格
納部31、データアクセス部32、データ入出力部33
の3部分から構成される。
FIG. 1 is a block diagram showing a configuration of a mode lock control device according to the present invention. The mode lock control device of the present invention includes a hardware 1 to which a mode lock is connected, a data notifying means 2 operated by program control, a reference updating means 3 operated by program control, an input device 4 for inputting commands and data, and It comprises an output device 5 for outputting data. The data notification unit 2 includes a hardware access unit 21, a data conversion unit 22, a data notification unit 23
The reference updating means 3 includes a data storage unit 31, a data access unit 32, and a data input / output unit 33.
It consists of three parts.

【0010】次に本発明のモード錠制御装置の動作につ
いて図2〜図4を参照して説明する。
Next, the operation of the mode lock control device of the present invention will be described with reference to FIGS.

【0011】データ変換部22は動作を開始する時点で
データアクセス部32を通してデータ格納部31にデー
タが格納されているかどうかを調べる(ステップ1)。
データ格納部31にデータが格納されている場合には、
データ格納部31に格納されているデータを使用するよ
うに設定する(ステップ2)。データ格納部31にデー
タが格納されていない場合には、データ変換部22の内
部に固定で記述されているデータを使用するように設定
する(ステップ3)。
The data conversion unit 22 checks whether data is stored in the data storage unit 31 through the data access unit 32 at the time of starting the operation (step 1).
When data is stored in the data storage unit 31,
A setting is made to use the data stored in the data storage unit 31 (step 2). If no data is stored in the data storage unit 31, the data conversion unit 22 is set to use data fixedly described in the data conversion unit 22 (step 3).

【0012】ハードウェアアクセス部21はハードウェ
ア1にアクセスしてモード錠の状態を取得し(ステップ
4)、その状態からモード錠の現在のポジションを判断
してデータ変換部22に通知する(ステップ5)。デー
タ変換部22はそのポジションに対応するデータを、デ
ータ格納部31のデータを使用するように設定されてい
る場合にはデータアクセス部を通してデータ格納部31
から、データ変換部22の内部に固定で記述されている
データを使用するように設定されている場合にはデータ
変換部22の内部からデータを取得する(ステップ6、
ステップ7、ステップ8)。データ変換部22は取得し
たポジションのデータとデータ変換部22の内部に保持
している前モード錠値を比較してポジションが変化した
かを判断し(ステップ9)、変化していると判断した場
合には取得データをデータ変換部22の内部に前モード
錠値として保持し、データ通知部23に取得データを通
知する(ステップ10)。データ通知部23はそのデー
タをアプリケーションに通知する(ステップ11)。
The hardware access unit 21 accesses the hardware 1 to acquire the state of the mode lock (step 4), determines the current position of the mode lock from the state, and notifies the data conversion unit 22 (step 4). 5). The data conversion unit 22 transmits the data corresponding to the position to the data storage unit 31 through the data access unit when the data of the data storage unit 31 is set to be used.
If the setting is made such that the data fixedly described in the data conversion unit 22 is used, the data is obtained from the data conversion unit 22 (step 6,
Step 7, Step 8). The data conversion unit 22 compares the acquired data of the position with the previous mode lock value held in the data conversion unit 22 to determine whether the position has changed (step 9), and determines that the position has changed. In this case, the acquired data is held as the previous mode lock value inside the data conversion unit 22, and the acquired data is notified to the data notification unit 23 (Step 10). The data notification unit 23 notifies the application of the data (step 11).

【0013】データ入出力部33は入力装置4からのコ
マンドを受け付け、そのコマンドがデータの更新かデー
タの参照かを判断する(ステップ12、ステップ1
3)。データの更新であった場合には、さらに入力装置
4からデータの入力を受け付け、入力されたデータをデ
ータアクセス部32を通してデータ格納部31に格納す
る(ステップ14、ステップ15)。データの参照であ
った場合には、データアクセス部32を通してデータ格
納部31に格納されているデータを取得し、そのデータ
を出力装置5に表示する(ステップ16、ステップ1
7)。
The data input / output unit 33 receives a command from the input device 4 and determines whether the command is a data update or a data reference (steps 12 and 1).
3). If the data has been updated, the input of data is further received from the input device 4, and the input data is stored in the data storage unit 31 through the data access unit 32 (steps 14 and 15). If the data is referred to, the data stored in the data storage unit 31 is obtained through the data access unit 32, and the data is displayed on the output device 5 (step 16, step 1).
7).

【0014】[0014]

【実施例】本発明の実施例について図5を参照して説明
する。
An embodiment of the present invention will be described with reference to FIG.

【0015】図5は、本発明のモード錠制御装置の実施
の一例を示したブロック図である。本実施例のモード錠
制御装置は、モード錠が接続されたハードウェア1、プ
ログラム制御により動作するデータ通知手段2、プログ
ラム制御により動作する参照更新手段3、入力装置とし
てのキーボード装置4および出力装置としてのディスプ
レイ装置5から構成される。データ通知手段2はハード
ウェアアクセス部21、データ変換部22、データ通知
部23の3つから構成され、参照更新手段3はデータ格
納部31、データアクセス部32、データ入出力部33
の3つから構成される。
FIG. 5 is a block diagram showing an embodiment of the mode lock control device according to the present invention. The mode lock control device of the present embodiment includes a hardware 1 to which a mode lock is connected, data notifying means 2 operated by program control, reference updating means 3 operated by program control, a keyboard device 4 as an input device, and an output device. As a display device 5. The data notifying unit 2 includes a hardware access unit 21, a data converting unit 22, and a data notifying unit 23. The reference updating unit 3 includes a data storage unit 31, a data access unit 32, and a data input / output unit 33.
It consists of three.

【0016】次に本実施例でのデータ通知手段2の動作
について図6,図2および図3を参照して説明する。
Next, the operation of the data notifying means 2 in this embodiment will be described with reference to FIGS. 6, 2 and 3.

【0017】動作を開始する時点でデータ変換部22は
データアクセス部32を通してデータ格納部31にデー
タが格納されているかを調べる(ステップ1)。データ
格納部31にデータが格納されているので、動作を開始
する時点でデータ格納部31に格納されているデータ使
用するように設定する(ステップ2)。
At the start of the operation, the data conversion unit 22 checks whether data is stored in the data storage unit 31 through the data access unit 32 (step 1). Since the data is stored in the data storage unit 31, it is set to use the data stored in the data storage unit 31 when the operation starts (step 2).

【0018】ハードウェアアクセス部21が取得したハ
ードウェア1の状態から判断したモード錠の現在位置
が”B”である場合、データ変換部22ではモード錠の
ポジション”B”に対応する”7”を前モード錠値とし
て保持している。
When the current position of the mode lock determined from the state of the hardware 1 acquired by the hardware access unit 21 is “B”, the data conversion unit 22 sets “7” corresponding to the position “B” of the mode lock. Is held as the previous mode lock value.

【0019】次にハードウェアアクセス部21が取得し
たハードウェア1の状態から判断したモード錠の現在位
置は”D”である場合(ステップ4、ステップ5)、デ
ータ格納部31に格納されているデータを使用するよう
に設定されているのでデータアクセス部32を通してデ
ータ格納部31から”2”を取得する(ステップ6、ス
テップ7)。データ変換部22で保持している前モード
錠値が”7”であるのでモード錠のポジションが変化し
たと判断し、”2”をデータ変換部22に前モード錠値
をして保持し、”2”をデ−タ通知部に通知する(ステ
ップ9、ステップ10)。データ通知部23はポジショ
ンのデータをして”2”をアプリケーションに通知する
(ステップ11)。
Next, when the current position of the mode lock determined from the state of the hardware 1 acquired by the hardware access unit 21 is “D” (steps 4 and 5), it is stored in the data storage unit 31. Since data is set to be used, “2” is acquired from the data storage unit 31 through the data access unit 32 (steps 6 and 7). Since the previous mode lock value held in the data conversion unit 22 is “7”, it is determined that the position of the mode lock has changed, and “2” is stored in the data conversion unit 22 as the previous mode lock value. "2" is notified to the data notification unit (steps 9 and 10). The data notification unit 23 notifies the application of “2” by performing position data (step 11).

【0020】次に本実施例での参照更新手段3の動作に
ついて図5と図4を参照して説明する。
Next, the operation of the reference updating means 3 in this embodiment will be described with reference to FIGS.

【0021】キーボード装置4から入力されたコマンド
が”データの更新”か”データの参照”かを判断し(ス
テップ12、ステップ13)、”データの更新”であっ
た場合にはキーボード装置4からデータの入力を受ける
(ステップ14)。入力されたデータが”D,9”であ
った場合には、データ格納部31のモード錠のポジショ
ン”D”に対応するデータを”2”から”9”に更新す
る(ステップ15)。またキーボード装置4から入力さ
れたコマンドが”データの参照”であった場合には、デ
ータ格納部31からデータを取得し、そのデータをディ
スプレイ装置5に表示する(ステップ16、ステップ1
7)。
It is determined whether the command input from the keyboard device 4 is "data update" or "data reference" (steps 12 and 13). Data input is received (step 14). If the input data is "D, 9", the data corresponding to the position "D" of the mode lock in the data storage unit 31 is updated from "2" to "9" (step 15). If the command input from the keyboard device 4 is "data reference", the data is acquired from the data storage unit 31 and the data is displayed on the display device 5 (steps 16 and 1).
7).

【0022】[0022]

【発明の効果】効果は、アプリケーションに通知するモ
ード錠のポジションのデータやその配列の変更が容易に
可能となることである。これにより他のシステムからの
アプリケーションの移植などへの対応が容易にできるよ
うになる。
The effect of the present invention is that it is possible to easily change the data of the position of the mode lock to be notified to the application and the arrangement thereof. This makes it easy to respond to porting of applications from other systems.

【0023】その理由は、ポジションのデータを格納し
たデータ格納部を用意して必要に応じてそれを書き換え
ることで対応が可能となるために、アプリケーションを
改造する必要がなくなるためである。
The reason is that it is possible to cope with the situation by preparing a data storage unit storing the data of the position and rewriting it as needed, so that it is not necessary to modify the application.

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

【図1】本発明のモード錠制御装置の実施の形態を示す
ブロック図である。
FIG. 1 is a block diagram showing an embodiment of a mode lock control device of the present invention.

【図2】図1のモード錠制御装置におけるデータ変換部
の動作を示すフローチャートである。
FIG. 2 is a flowchart showing an operation of a data conversion unit in the mode lock control device of FIG.

【図3】図1のモード錠制御装置におけるハードウェア
アクセス部の動作を示すフローチャートである。
FIG. 3 is a flowchart illustrating an operation of a hardware access unit in the mode lock control device of FIG. 1;

【図4】図1のモード錠制御装置におけるデータ入出力
部の動作を示すフローチャートである。
FIG. 4 is a flowchart showing an operation of a data input / output unit in the mode lock control device of FIG. 1;

【図5】本発明の一実施例によるモード錠制御装置を示
すブロック図である。
FIG. 5 is a block diagram showing a mode lock control device according to one embodiment of the present invention.

【図6】従来のモード錠制御装置を示すブロック図であ
る。
FIG. 6 is a block diagram showing a conventional mode lock control device.

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

1 ハードウェア 2 データ通知手段 21 ハードウェアアクセス部 22 データ変換部 23 データ通知部 3 参照更新手段 31 データ格納部 32 データアクセス部 33 データ入出力部 4 入力装置 5 出力装置 DESCRIPTION OF SYMBOLS 1 Hardware 2 Data notification means 21 Hardware access part 22 Data conversion part 23 Data notification part 3 Reference update means 31 Data storage part 32 Data access part 33 Data input / output part 4 Input device 5 Output device

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 ハードウェアの状態を取得して現在のモ
ード錠のポジションに対応するデータをデータ格納部か
ら取得してアプリケーションに通知するデータ通知手段
と、前記データ格納部に記述されているモード錠のポジ
ションのデータの参照、更新をする参照更新手段とを備
えていることを特徴とするモード錠制御装置。
1. A data notifying means for acquiring a state of hardware, acquiring data corresponding to a current mode lock position from a data storage unit and notifying an application, and a mode described in the data storage unit. A mode lock control device comprising: a reference update unit for referring to and updating data of a lock position.
【請求項2】 前記データ通知手段が、ハードウェアア
クセス部、データ変換部、およびデータ通知部から構成
され、前記ハードウェアアクセス部は、ハードウェアに
アクセスしてモード錠の状態を取得し、その状態からモ
ード錠の現在のポジションを判断して前記データ変換部
に通知し、前記データ変換部は、取得したポジションの
データと内部に保持している前モード錠値を比較してポ
ジションが変化したかを判断し、変化していると判断し
た場合には取得データをその内部に前モード錠値として
保持し、前記データ通知部に取得データを通知するよう
に構成されている請求項1に記載のモード錠制御装置。
2. The data notifying unit includes a hardware access unit, a data conversion unit, and a data notification unit. The hardware access unit accesses hardware to acquire a mode lock state, and The current position of the mode lock is determined from the state and notified to the data conversion unit, and the data conversion unit compares the acquired position data with the previous mode lock value held therein to change the position. 2. The method according to claim 1, further comprising: determining whether or not the acquired data has changed, holding the acquired data therein as the previous mode lock value, and notifying the acquired data to the data notification unit. 3. Mode lock control device.
【請求項3】 前記参照更新手段が、データ格納部、デ
ータアクセス部、データ入出力部から構成されている請
求項1に記載のモード錠制御装置。
3. The mode lock control device according to claim 1, wherein said reference updating means comprises a data storage unit, a data access unit, and a data input / output unit.
【請求項4】 請求項1に記載したデータ通知手段、参
照更新手段の動作を実行させるためのプログラムを記録
した記録媒体。
4. A recording medium storing a program for executing the operations of the data notifying means and the reference updating means according to claim 1.
JP14758597A 1997-06-05 1997-06-05 Mode lock controller Pending JPH10333894A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14758597A JPH10333894A (en) 1997-06-05 1997-06-05 Mode lock controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14758597A JPH10333894A (en) 1997-06-05 1997-06-05 Mode lock controller

Publications (1)

Publication Number Publication Date
JPH10333894A true JPH10333894A (en) 1998-12-18

Family

ID=15433684

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14758597A Pending JPH10333894A (en) 1997-06-05 1997-06-05 Mode lock controller

Country Status (1)

Country Link
JP (1) JPH10333894A (en)

Similar Documents

Publication Publication Date Title
JP3265131B2 (en) Event generation distribution method
US6671768B1 (en) System and method for providing dynamic configuration ROM using double image buffers for use with serial bus devices
US20040255288A1 (en) Software update processor, system, method, program for the same, and recording medium with the program recorded therein
JPH03244003A (en) Partial executing method for programmable controller and sequence program
JP2003029983A (en) Method and system for reducing boot time by intrusion monitoring
JPH10333894A (en) Mode lock controller
JPH05250244A (en) Data base system
JPH08297476A (en) Display resolution control system
JP2002073340A (en) Information processing apparatus, power saving setting method in information processing apparatus, and storage medium
CN115766311A (en) Control method and system of smart home, computer equipment and storage medium
JP2907277B2 (en) User interface system for supervisory control system
JPH1069263A (en) Automatic screen generation method based on data attribute request
JPH1027095A (en) Software version control system
JPS62293581A (en) Memory control system
JP2935312B2 (en) Software implementation method
JP2002351666A (en) Device, method and program for installation
JP2532132B2 (en) Expansion processing method of extended template table
CN113515551A (en) Cloud virtual machine background maintenance method and device
CN121597650A (en) File synchronization methods, equipment, and media
JP2000082000A (en) Schema data control system in information resource management system
JP2662471B2 (en) Output control method for non-window devices
JP2002132562A (en) Database update system
JPS633357A (en) Input/output controller
JPH07234796A (en) Execution control system for multiple programs and execution control method thereof
JPH0651826A (en) Teaching device for robot