JPH05346922A - Dynamic reflecting method for operation environment - Google Patents

Dynamic reflecting method for operation environment

Info

Publication number
JPH05346922A
JPH05346922A JP4153946A JP15394692A JPH05346922A JP H05346922 A JPH05346922 A JP H05346922A JP 4153946 A JP4153946 A JP 4153946A JP 15394692 A JP15394692 A JP 15394692A JP H05346922 A JPH05346922 A JP H05346922A
Authority
JP
Japan
Prior art keywords
operating environment
definition file
time
updated
access
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.)
Granted
Application number
JP4153946A
Other languages
Japanese (ja)
Other versions
JP2715222B2 (en
Inventor
Yumiko Okudaira
由美子 奥平
Tokumi Shindo
徳海 進藤
Akiko Watari
亜紀子 渡利
Toshiaki Yamada
利昭 山田
Tadashi Koike
匡 小池
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP4153946A priority Critical patent/JP2715222B2/en
Publication of JPH05346922A publication Critical patent/JPH05346922A/en
Application granted granted Critical
Publication of JP2715222B2 publication Critical patent/JP2715222B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the load and to speedily and dynamically reflect operation environment on an execution program by monitoring access and reflecting the operation environment on the execution program only when the access interval is longer than a specific time and an operation environment definition file is updated as to the dynamic reflecting method which dynamically reflects the operation environment on the execution program. CONSTITUTION:This method is equipped with a definition file monitoring process 3 for monitoring whether or not the interval of access to the execution program exceeds the specific time and an operation environment definition file 7 wherein the operation environment is set; and the access is monitored through the definition file monitoring process 3 and if it is made evident that the operation environment definition file 7 is updated by referring to the operation environment definition file 7 when a state wherein access is attained longer than the specific time after a last access time is detected, the updated operation environment is taken out of the operation environment definition file 7 to update the operation environment of the execution program, thereby performing processes under the new operation environment.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、動作環境を動的に実行
プログラムに反映する動的反映方法に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dynamic reflection method for dynamically reflecting an operating environment in an execution program.

【0002】[0002]

【従来の技術】従来、かな漢字変換システムなどは、動
作環境であるキーバインドや変換方法などをオペレータ
が任意に設定し、操作し易いようにキーボード中の任意
のキーに文字、記号を割り当てたり、変換した結果、得
られる漢字の範囲(JIS第1水準、JIS第2水準な
ど)を変更したり、更に専門分野に応じて辞書を切り替
えたりしている。
2. Description of the Related Art Conventionally, in a kana-kanji conversion system or the like, an operator arbitrarily sets key bindings and conversion methods, which are operating environments, and assigns characters and symbols to arbitrary keys on the keyboard for easy operation. As a result of the conversion, the range of kanji obtained (JIS first level, JIS second level, etc.) is changed, and the dictionary is switched according to the specialized field.

【0003】また、動作環境の設定は、プログラムの動
作中も行える。この場合には、更新した動作環境をかな
漢字変換システムに反映させるためには、プログラムを
一旦停止させ、再起動して動作環境を取り込む。
The operating environment can be set even while the program is operating. In this case, in order to reflect the updated operating environment in the Kana-Kanji conversion system, the program is once stopped and then restarted to capture the operating environment.

【0004】このように動作環境を更新したときにプロ
グラムを一旦停止し、再起動させて反映することは不便
であるので、プログラムの動作中に動作環境定義ファイ
ルが更新されたときに、プログラムを停止することなく
反映することが望まれ、これを達成するために以下のよ
うな方法が考えられる。
Since it is inconvenient to stop and restart the program when updating the operating environment in this way, it is inconvenient to update the program when the operating environment definition file is updated during the operation of the program. It is desirable to reflect without stopping, and the following methods can be considered to achieve this.

【0005】(1) 第1の方法は、オペレータからの
アクセス毎に動作環境定義ファイルが更新されているか
否かを常にチェックし、更新されていた場合にプログラ
ムにこの更新された動作環境の反映を行う。
(1) The first method is to constantly check whether or not the operating environment definition file is updated each time an operator accesses, and if it is updated, reflect the updated operating environment in the program. I do.

【0006】(2) 第2の方法は、一定周期に割込で
動作環境定義ファイルが更新されているか否かをチェッ
クし、更新されていた場合にプログラムにこの更新され
た動作環境の反映を行う。
(2) The second method checks whether or not the operating environment definition file has been updated at regular intervals, and if so, reflects the updated operating environment in the program. To do.

【0007】(3) 第3の方法は、動作環境定義ファ
イルをチェックした時間を記憶しておき、オペレータか
らのアクセス毎にこの記憶した時間を参照して前回から
一定時間以上経過していたら動作環境定義ファイルが更
新されているか否かをチェックし、更新されていた場合
にプログラムにこの更新された動作環境の反映を行う共
に、チェックした時間を記憶する。
(3) In the third method, the time when the operating environment definition file is checked is stored, and the stored time is referred to each time the operator accesses, and the operation is performed if a certain time or more has elapsed from the previous time. It is checked whether the environment definition file has been updated, and if it has been updated, the updated operating environment is reflected in the program and the checked time is stored.

【0008】[0008]

【発明が解決しようとする課題】従来は、プログラムの
動作中に動作環境定義ファイルが更新されたときに、プ
ログラムにその更新後の動作環境を反映するために、上
記(1)、(2)、(3)の方法が考えられるが、これ
らの方法について、図5、図6、図7に示すように、時
間31で動作環境定義ファイルの更新が発生した場合、
それぞれ以下の問題がある。
Conventionally, when the operating environment definition file is updated during the operation of the program, in order to reflect the updated operating environment in the program, the above (1), (2) , (3) are conceivable, but regarding these methods, as shown in FIG. 5, FIG. 6, and FIG. 7, when the update of the operating environment definition file occurs at time 31,
Each has the following problems.

【0009】上記(1)の第1の方法は、図5に示すよ
うに、動作環境定義ファイルの更新をすぐに補足し、時
間32で動作環境をプログラムに反映できるが、13回
の動作環境定義ファイルへのアクセスが必要となり、負
荷が大きいという問題がある。
As shown in FIG. 5, the first method of the above (1) can immediately supplement the update of the operating environment definition file and reflect the operating environment in the program at time 32. There is a problem that access to the definition file is required and the load is heavy.

【0010】上記(2)の第2の方法は、図6に示すよ
うに、一定時間5で割り込みを発生させた場合、時間3
5で動作環境をプログラムに反映できるが、8回の動作
環境定義ファイルへのアクセスが必要となり、アクセス
回数が減って負荷は少し減少するが、プログラムへの反
映が時間35となって遅れてしまうという問題がある。
The second method of the above (2) is that when an interrupt is generated at a constant time 5, as shown in FIG.
Although the operating environment can be reflected in the program in 5, the operating environment definition file needs to be accessed 8 times, and the load is slightly reduced due to the reduced number of accesses, but the reflection to the program is delayed at time 35. There is a problem.

【0011】上記(3)の第3の方法は、図7に示すよ
うに、動作環境定義ファイルをアクセスしてチェックし
てから次のチェックまでの時間差分5とした場合、時間
32で動作環境をプログラムに反映できるが、7回の動
作環境定義ファイルへのアクセスが必要となり、アクセ
ス回数が減って負荷は少し減少するが、まだ7回もの動
作環境定義ファイルへのアクセスが行われてしまう問題
がある。
In the third method (3), as shown in FIG. 7, when the time difference between the time of accessing the operating environment definition file and checking the file and the next checking is set to 5, the operating environment is set at time 32. Can be reflected in the program, but the operating environment definition file needs to be accessed 7 times, and the number of accesses decreases and the load decreases a little, but the operation environment definition file is still accessed 7 times. There is.

【0012】本発明は、これらの問題を解決するため、
アクセスを監視してアクセス間隔が所定時間以上であっ
て、かつ動作環境定義ファイルが更新されているときに
のみ動作環境を実行プログラムに反映し、負荷を少なく
してかつ迅速に動作環境を動的に実行プログラムへの反
映を可能にすることを目的としている。
The present invention solves these problems by
Monitor the access and reflect the operating environment in the execution program only when the access interval is more than a predetermined time and the operating environment definition file is updated, reducing the load and dynamically changing the operating environment The purpose is to enable reflection in the execution program.

【0013】[0013]

【課題を解決するための手段】図1を参照して課題を解
決するための手段を説明する。図1において、定義ファ
イル監視処理3は、アクセスの間隔が所定時間以上経過
したか監視するものであって、前回のアクセス時間を記
憶する内部変数accesstimeおよび動作環境定義ファイル
7の前回の更新時間を記憶する内部変数filetimeを持つ
ものである。
[Means for Solving the Problems] Means for solving the problems will be described with reference to FIG. In FIG. 1, a definition file monitoring process 3 monitors whether an access interval has passed a predetermined time or more. The internal variable accesstime for storing the last access time and the last update time of the operating environment definition file 7 are displayed. It has an internal variable filetime to store.

【0014】動作環境定義ファイル7は、動作環境を保
持するものであって、更新時間を記憶する変数filetime
を内部に持つものである。
The operating environment definition file 7 holds the operating environment, and is a variable filetime for storing the update time.
Has inside.

【0015】[0015]

【作用】本発明は、図1に示すように、定義ファイル監
視処理3がアクセスを監視し、アクセスが前回のアクセ
ス時間から所定時間以上経過していることを検出したと
きに、動作環境定義ファイル7を参照して更新されてい
ると判明したときに当該動作環境定義ファイル7から更
新後の動作環境を取り出し、実行プログラムの動作環境
を更新し、新たな動作環境のもとで処理を実行するよう
にしている。
According to the present invention, as shown in FIG. 1, when the definition file monitoring process 3 monitors the access and it is detected that the access has passed a predetermined time or more from the last access time, the operating environment definition file When it is determined that the updated operating environment has been updated by referring to 7, the updated operating environment is extracted from the operating environment definition file 7, the operating environment of the execution program is updated, and processing is executed under the new operating environment. I am trying.

【0016】また、定義ファイル監視処理3がアクセス
を監視し、現在のアクセス時間と内部変数accesstimeの
時間とを比較および更新し、所定時間以上経過している
と判明したときに、動作環境定義ファイル7の変数file
timeを参照して内部変数filetimeと異なると判明したと
きに当該動作環境定義ファイル7から更新後の動作環境
を取り出して実行プログラムに反映すると共に内部変数
filetimeを更新し、新たな動作環境のもとで処理を実行
するようにしている。
Further, the definition file monitoring process 3 monitors the access, compares and updates the current access time with the time of the internal variable accesstime, and when it is determined that a predetermined time or more has passed, the operating environment definition file Variable 7
When it is found that the time is different from the internal variable filetime by referring to time, the updated operating environment is extracted from the operating environment definition file 7 and reflected in the execution program, and the internal variable
Filetime is updated and processing is executed under the new operating environment.

【0017】従って、アクセスを監視してアクセス間隔
が所定時間以上であって、かつ動作環境定義ファイル7
が更新されているときにのみ動作環境を実行プログラム
に反映することにより、負荷を少なくして動作環境を動
的に実行プログラムに迅速に反映することが可能とな
る。
Therefore, the access is monitored, the access interval is a predetermined time or more, and the operating environment definition file 7
By reflecting the operating environment in the execution program only when is updated, it is possible to reduce the load and dynamically reflect the operating environment in the execution program quickly.

【0018】[0018]

【実施例】次に、図1から図4を用いて本発明の実施例
の構成および動作を順次詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the construction and operation of an embodiment of the present invention will be described in detail with reference to FIGS.

【0019】図1は、本発明の1実施例構成図を示す。
図1において、演算処理装置1は、各種演算処理を行う
ものである。この演算処理装置1は、かな漢字変換など
を行う実行プログラム2、動作環境定義ファイル7に動
作環境を設定する動作環境定義プログラム5、およびタ
イマ6などから構成されるものである。
FIG. 1 shows a block diagram of an embodiment of the present invention.
In FIG. 1, the arithmetic processing unit 1 performs various arithmetic processes. The arithmetic processing unit 1 is composed of an execution program 2 for performing Kana-Kanji conversion, an operation environment definition program 5 for setting an operation environment in an operation environment definition file 7, a timer 6, and the like.

【0020】実行プログラム2は、各種処理を行うプロ
グラムであって、例えばかな漢字変換を行うプログラム
であり、ここでは、定義ファイル監視処理3および動作
環境反映処理4などから構成されるものである。
The execution program 2 is a program for performing various processes, for example, a program for performing kana-kanji conversion, and is composed of a definition file monitoring process 3 and an operating environment reflection process 4 here.

【0021】定義ファイル監視処理3は、入出力装置8
などからの実行プログラム2に対するアクセスを監視
し、アクセスの間隔が所定時間以上経過したか監視する
ものである。このアクセスの監視は、アクセスがあった
ときに、タイマ6を参照して取り出した現時間と、前回
のアクセス時間を記憶する内部変数accesstimeから取り
出した時間との差が一定以上であって、かつ動作環境定
義ファイル7の前回の更新時間を記憶する内部変数file
timeから取り出した時間と、動作環境定義ファイル7の
変数filetimeから取り出した時間とを比較し、等しくな
くて動作環境が更新されており、動作環境を実行プログ
ラム2に反映する必要があるか判定するものである。
The definition file monitoring process 3 is performed by the input / output device 8
It monitors the access to the execution program 2 from the above, and monitors whether the access interval has passed a predetermined time or more. This access monitoring is performed when the difference between the current time fetched by referring to the timer 6 and the time fetched from the internal variable accesstime that stores the previous access time is equal to or more than a certain value when there is an access, and Internal variable file that stores the last update time of operating environment definition file 7
The time taken out from time is compared with the time taken out from the variable filetime of the operating environment definition file 7, and it is judged whether the operating environment has been updated because they are not equal and the operating environment needs to be reflected in the execution program 2. It is a thing.

【0022】内部変数accesstimeは、前回のアクセス時
間を記憶する変数である。内部変数filetimeは、前回の
動作環境定義ファイル7を更新したときの時間を記憶す
る変数である。
The internal variable accesstime is a variable for storing the previous access time. The internal variable filetime is a variable that stores the time when the previous operating environment definition file 7 was updated.

【0023】動作環境反映処理4は、動作環境定義ファ
イル7から取り出した動作環境を実行プログラム2に設
定し、この設定後の新たな動作環境で処理を実行させる
ものである。
The operating environment reflection processing 4 sets the operating environment extracted from the operating environment definition file 7 in the execution program 2 and executes the processing in the new operating environment after this setting.

【0024】動作環境定義プログラム5は、入出力装置
8などからオペレータによって指示された動作環境を、
動作環境定義ファイル7に定義(設定、更新)するもの
である。この際、変数filetimeを更新した時間に設定し
ておく(図3参照)。
The operating environment definition program 5 defines the operating environment specified by the operator from the input / output device 8 or the like.
It is defined (set, updated) in the operating environment definition file 7. At this time, the variable filetime is set to the updated time (see FIG. 3).

【0025】タイマ6は、現時間を計数するものであ
る。動作環境定義ファイル7は、動作環境の定義を格納
するファイルであって、定義(設定、更新)したときの
時間を記憶する変数filetimeを持つものである。実行フ
ァイル監視処理3が内部変数filetimeの時間とこの変数
filetimeの時間とを比較し、異なるときに動作環境が更
新されていると判定する。
The timer 6 counts the current time. The operating environment definition file 7 is a file that stores the definition of the operating environment, and has a variable filetime that stores the time when the definition (setting, updating) is performed. The execution file monitoring process 3 uses the internal variable filetime and this variable
Compare with the time of filetime, and if different, determine that the operating environment has been updated.

【0026】入出力装置8は、各種入出力を行うもので
あって、例えばキーボードやディスプレイである。次
に、図2のフローチャートに示す順序に従い、図1の構
成の動作を詳細に説明する。
The input / output device 8 performs various inputs / outputs, and is, for example, a keyboard or a display. Next, the operation of the configuration of FIG. 1 will be described in detail according to the order shown in the flowchart of FIG.

【0027】図2において、S1は、内部変数filetime
と、内部変数accesstimeの初期値設定する。初期値は、
動作環境定義ファイル7を参照して設定、およびタイマ
から現在時間を参照して設定する。例えば 内部変数filetime←f0(動作環境定義ファイル7の変
数filetimeに設定されている時間f0) 内部変数accesstime←a0(タイマ6の現時間a0) と初期設定する。
In FIG. 2, S1 is an internal variable filetime.
And set the initial value of the internal variable accesstime. The initial value is
The setting is made by referring to the operating environment definition file 7 and the current time is set by referring to the timer. For example, an internal variable filetime ← f0 (time f0 set in the variable filetime of the operating environment definition file 7) and an internal variable accesstime ← a0 (current time a0 of the timer 6) are initialized.

【0028】S2は、オペレータからのアクセス待ちす
る。S3は、オペレータアクセスが発生したか判別す
る。これは、図1の入出力装置8であるキーボードから
オペレータが例えばかな漢字変換する文字列を入力して
実行プログラム2に対するアクセスが発生したか判別す
る。YESの場合には、S4以降に進む。一方、NOの
場合には、アクセスが発生しないのでS2に戻る。
In step S2, the operator waits for access. In S3, it is determined whether an operator access has occurred. This is to judge whether the operator has input a character string for Kana-Kanji conversion from the keyboard which is the input / output device 8 of FIG. If YES, the process proceeds to S4 and thereafter. On the other hand, in the case of NO, since no access has occurred, the process returns to S2.

【0029】S4は、現在時間a1の獲得を行う。これ
は、現在の時間a1をタイマ6から獲得する。S5は、
内部変数accesstimeに記憶している時間a0から、S4
で獲得した現在の時間a1までの間に一定時間が経過し
ているか判別する。これは、 a1−a0>一定時間 か判別する。YESの場合には、前回にアクセスした時
間から現在の時間までの間に一定時間が経過していたの
で、S6に進む。一方、NOの場合には、前回にアクセ
スした時間から現在の時間までの間に一定時間が経過し
ていないので、動作環境を実行プログラムに反映するこ
とを止め、S10で内部accesstimeを現時間に更新(内
部変数accesstime←a1)し、S12で処理を実行し、
S2に戻る。
At S4, the current time a1 is acquired. It gets the current time a1 from the timer 6. S5 is
From the time a0 stored in the internal variable accesstime, S4
It is determined whether or not a fixed time has elapsed before the current time a1 acquired in step 1. This determines whether a1-a0> constant time. In the case of YES, since a fixed time has elapsed from the time of the previous access to the current time, the process proceeds to S6. On the other hand, in the case of NO, since a fixed time has not elapsed from the time of the previous access to the current time, the operation environment is not reflected in the execution program, and the internal access time is set to the current time in S10. Update (internal variable accesstime ← a1), execute the process in S12,
Return to S2.

【0030】S6は、動作環境定義ファイル7の定義フ
ァイル時間f1の獲得を行う。これは、図1の動作環境
定義ファイル7の変数filetimeに記憶されている時間f
1を取り出す。
In step S6, the definition file time f1 of the operating environment definition file 7 is acquired. This is the time f stored in the variable filetime of the operating environment definition file 7 in FIG.
Take 1 out.

【0031】S7は、動作環境定義ファイル7の定義フ
ァイル時間f1が更新されているか判別する。これは、
f1≠f0か判別する。即ち前回に動作環境定義ファイ
ル7から動作環境を取り出して実行プログラム2に反映
したときの当該動作環境定義ファイル7の変数filetime
の時間f0と、現在の動作環境定義ファイル7の変数fi
letimeの時間f1とを比較し、等しくない(更新されて
いる)か判別する。YESの場合には、動作環境定義フ
ァイル7が更新されていると判明したので、S8に進
む。一方、NOの場合には、動作環境定義ファイル7が
更新されていないと判明したので、S11で内部access
timeを現時間に更新(内部変数accesstime←a1)し、
S12で処理を実行し、S2に戻る。
In step S7, it is determined whether the definition file time f1 of the operating environment definition file 7 has been updated. this is,
It is determined whether f1 ≠ f0. That is, the variable filetime of the operating environment definition file 7 when the operating environment was previously extracted from the operating environment definition file 7 and reflected in the execution program 2.
Time f0 and the current operating environment definition file 7 variable fi
The letime time f1 is compared to determine if they are not equal (updated). In the case of YES, it is determined that the operating environment definition file 7 has been updated, so the process proceeds to S8. On the other hand, in the case of NO, it is found that the operating environment definition file 7 has not been updated.
Update time to the current time (internal variable accesstime ← a1),
The process is executed in S12, and the process returns to S2.

【0032】S8は、内部変数accesstimeを現時間に更
新、および内部変数filetimeを現時間に更新する。即
ち、 内部変数accesstime←a1(現時間) 内部変数filetime←f1(動作環境定義ファイル7の更
新時間f1) とする。これらS4からS8、S10、S11は図1の
定義ファイル監視処理3が行う。
In step S8, the internal variable accesstime is updated to the current time, and the internal variable filetime is updated to the current time. That is, internal variable accesstime ← a1 (current time) internal variable filetime ← f1 (update time f1 of operating environment definition file 7). These S4 to S8, S10 and S11 are performed by the definition file monitoring process 3 of FIG.

【0033】S9は、実行プログラム2が動作環境定義
ファイル7を反映、即ち動作環境定義ファイル7から更
新後の動作環境を取り出し、実行し得る状態に設定し、
S12でこの動作環境のもとで処理を実行、例えばかな
漢字変換を行う。ここで、S9は動作反映処理4が行
う。
In S9, the execution program 2 reflects the operating environment definition file 7, that is, the updated operating environment is taken out from the operating environment definition file 7 and set in a state in which it can be executed.
In S12, processing is executed under this operating environment, for example, kana-kanji conversion. Here, in S9, the action reflection process 4 is performed.

【0034】以上によって、入出力装置8から実行プロ
グラム2に対するアクセス間隔が一定時間以上であって
(S5のYES)、かつ動作環境定義ファイル7の動作
環境が更新されていた場合(S7のYES)にのみ、動
作環境定義ファイル7から更新された動作環境を取り出
し、実行プログラム2に反映し、この更新された動作環
境をもとに処理を実行する。これらにより、入出力装置
8である例えばキーボードなどからオペレータにより実
行プログラム2が頻繁にアクセスされているときは動作
環境ファイル7を参照しないようにして負荷を軽減し、
一方、動作環境定義ファイル7を更新するには一定時間
必要であるので、この更新に要すると予想される一定時
間を経過した後にアクセスがあった場合にのみ動作環境
定義ファイル7を参照して動作環境が更新されているか
否かをチェックし、更新されている場合に動作環境を実
行プログラムに迅速に反映する。
As described above, when the access interval from the input / output device 8 to the execution program 2 is a certain time or more (YES in S5) and the operating environment of the operating environment definition file 7 is updated (YES in S7). Only, the updated operating environment is taken out from the operating environment definition file 7, reflected in the execution program 2, and the processing is executed based on this updated operating environment. As a result, the load is reduced by not referring to the operating environment file 7 when the execution program 2 is frequently accessed by the operator from the input / output device 8 such as a keyboard.
On the other hand, since it takes a certain amount of time to update the operating environment definition file 7, the operating environment definition file 7 is referenced only when an access is made after the certain amount of time expected to be updated has passed. It is checked whether the environment has been updated, and if it has been updated, the operating environment is promptly reflected in the execution program.

【0035】図3は、本発明の動作環境定義ファイルの
変更フローチャートを示す。これは、オペレータからの
指示に従って、図1の動作環境定義ファイル7を更新す
るときの手順である。
FIG. 3 shows a flow chart for changing the operating environment definition file of the present invention. This is a procedure for updating the operating environment definition file 7 of FIG. 1 according to an instruction from the operator.

【0036】図3において、S21は、オペレータが定
義変更コマンドを押下する。これは、図1の入出力装置
8であるキーボード上でオペレータが特定の定義変更コ
マンドのキーを押下し、図1の動作環境定義プログラム
5を起動する。
In FIG. 3, in S21, the operator presses the definition change command. This is because the operator presses a specific definition change command key on the keyboard which is the input / output device 8 in FIG. 1 to activate the operating environment definition program 5 in FIG.

【0037】S22は、選択可のパターンを表示する。
これは、S21の定義変更コマンドの押下に対応して、
例えばかな漢字変換の動作環境として、現在、あるキー
を押下したとき、“.”と表示されるが他の選択可のパ
ターン“。” “、”などを表示する。
In step S22, a selectable pattern is displayed.
This corresponds to pressing the definition change command in S21,
For example, as an operating environment for kana-kanji conversion, when a certain key is currently pressed, “.” Is displayed, but other selectable patterns such as “.” “,” Are displayed.

【0038】S23は、選択したか判別する。YESの
場合には、S24に進む。NOの場合には、S22で選
択可のパターンを表示し、選択するまで待機する。S2
4は、動作環境定義ファイル7を新たな動作環境に更新
する。
In step S23, it is determined whether the selection has been made. If YES, the process proceeds to S24. In the case of NO, a selectable pattern is displayed in S22, and the process waits until selected. S2
4 updates the operating environment definition file 7 with a new operating environment.

【0039】S25は、動作環境定義ファイル7の変数
filetimeを現在の時間に更新する。以上によって、オペ
レータが定義変更コマンドを押下して実行プログラム2
の動作環境を保存する動作環境定義ファイル7の動作環
境を更新する。この動作環境定義ファイル7の動作環境
を更新した状態では、実行プログラム2の動作環境は更
新されず、次回の起動を待たなければ更新されない。実
行プログラム2の動作中に動的に動作環境を更新するに
は、既述した図2の手順によって動的に更新する。
S25 is a variable of the operating environment definition file 7.
Update filetime to the current time. As a result, the operator presses the definition change command to execute the execution program 2
The operating environment of the operating environment definition file 7 for saving the operating environment of is updated. In the state where the operating environment of the operating environment definition file 7 is updated, the operating environment of the execution program 2 is not updated, and is not updated until waiting for the next activation. To dynamically update the operating environment while the execution program 2 is operating, the operating environment is dynamically updated by the procedure of FIG. 2 described above.

【0040】図4は、本発明の具体例説明図を示す。こ
れは、図3のフローチャートに従って動作環境定義ファ
イル7が更新されたときに、図2のフローチャートに従
い当該動作環境定義ファイル7から動作環境を動的に実
行プログラム2に反映するときの具体例である。ここで ・オペレータのアクセスタイミングは、図1でオペレー
タが入出力装置8であるキーボードからキー入力して
“かな”を入力して実行プログラム2をアクセスするタ
イミングである。
FIG. 4 is a diagram illustrating a specific example of the present invention. This is a specific example of dynamically reflecting the operating environment from the operating environment definition file 7 according to the flowchart of FIG. 2 when the operating environment definition file 7 is updated according to the flowchart of FIG. .. Here, the operator's access timing is the timing at which the operator accesses the execution program 2 by inputting a "kana" from the keyboard which is the input / output device 8 in FIG.

【0041】・時間軸は、時間0から時間35をここで
は刻む。 ・accesstimeの更新点と、時間差分は、定義ファイル監
視処理3が持つ内部変数accesstimeの更新点と、時間差
分を示す。
On the time axis, time 0 to time 35 are ticked here. The accesstime update point and the time difference indicate the update point of the internal variable accesstime of the definition file monitoring process 3 and the time difference.

【0042】・実行プログラムの動作は、図1の実行ロ
グラム2の動作を示す。 次に、動作を説明する。 (1) 時間0:オペレータのアクセスタイミングであ
るので、実行プログラム2の定義ファイル監視処理3が
ファイルチェックする。この初期状態では、動作環境が
更新されていないので、動作環境を実行プログラム2に
反映しない(図2のS1)。
The operation of the execution program shows the operation of the execution program 2 in FIG. Next, the operation will be described. (1) Time 0: Since it is the access timing of the operator, the definition file monitoring process 3 of the execution program 2 checks the file. In this initial state, since the operating environment has not been updated, the operating environment is not reflected in the execution program 2 (S1 in FIG. 2).

【0043】(2) 時間2:オペレータのアクセスタ
イミングであるので、実行プログラム2の定義ファイル
監視処理3がアクセスタイムの経過時間について一定時
間5を越えていないので(図2のS5のNO)、内部変
数accesstimeを現時間に更新し、動作環境定義ファイル
7を参照しない。
(2) Time 2: Since it is the access timing of the operator, the definition file monitoring processing 3 of the execution program 2 does not exceed the fixed time 5 of the access time (NO in S5 of FIG. 2). The internal variable accesstime is updated to the current time, and the operating environment definition file 7 is not referenced.

【0044】(3) 同様に、時間5、時間7、時間
9、時間11についても一定時間4を越えていないので
(図2のS5のNO)、内部変数accesstimeを現時間に
それぞれ更新し、動作環境定義ファイル7を参照しな
い。
(3) Similarly, since the time 5, the time 7, the time 9, and the time 11 do not exceed the fixed time 4 (NO in S5 of FIG. 2), the internal variable accesstime is updated to the current time, Do not refer to the operating environment definition file 7.

【0045】(4) 時間16:実行プログラム2の定
義ファイル監視処理3がアクセスタイムの経過時間につ
いて一定時間4を越えているので(図2のS5のYE
S)、動作環境定義ファイル7をチェックするが動作環
境が更新されていないので(図2のS7のNO)、動作
環境の反映を行わない。
(4) Time 16: Since the definition file monitoring process 3 of the execution program 2 exceeds the fixed time 4 with respect to the elapsed time of the access time (YE in S5 of FIG. 2)
S), the operating environment definition file 7 is checked, but since the operating environment has not been updated (NO in S7 of FIG. 2), the operating environment is not reflected.

【0046】(5) 時間18、時間20、時間22、
時間25、時間27についても一定時間4を越えていな
いので(図2のS5のNO)、内部変数accesstimeを現
時間にそれぞれ更新し、動作環境定義ファイル7を参照
しない。
(5) Time 18, Time 20, Time 22,
Since the time 25 and the time 27 do not exceed the fixed time 4 (NO in S5 of FIG. 2), the internal variable accesstime is updated to the current time and the operating environment definition file 7 is not referred to.

【0047】(6) 時間32:実行プログラム2の定
義ファイル監視処理3がアクセスタイムの経過時間につ
いて一定時間4を越えているので(図2のS5のYE
S)、動作環境定義ファイル7をチェックすると動作環
境が、動作環境定義プログラム5によって時間31のと
きに更新されていたので(図2のS7のYES)、動作
環境を取り出して実行プログラム2に反映する。
(6) Time 32: The definition file monitoring process 3 of the execution program 2 exceeds the fixed time 4 with respect to the elapsed time of the access time (YE in S5 of FIG. 2).
S) When the operating environment definition file 7 is checked, the operating environment was updated by the operating environment definition program 5 at time 31 (YES in S7 of FIG. 2), so the operating environment is extracted and reflected in the execution program 2. To do.

【0048】以上の手順により、ファイルチェック(動
作環境定義ファイル7を参照して動作環境が更新されて
いるかのチェック)を行う回数がここでは、3回で済
み、しかも動作環境定義ファイル7をオペレータが更新
操作を行うと、オペレータアクセスタイミングがここで
は一定時間4を越えてしまう特質を利用し、迅速に動作
環境定義ファイル7の更新を検出し、更新後の動作環境
を動的に迅速に実行プログラム2に反映し、反映した後
の動作環境で処理を実行することが可能となる。
According to the above procedure, the number of file checks (checking whether the operating environment has been updated with reference to the operating environment definition file 7) is three in this case, and the operating environment definition file 7 is used by the operator. When the update operation is performed, the operator access timing here exceeds the fixed time 4 so that the update of the operating environment definition file 7 is detected promptly and the updated operating environment is dynamically executed rapidly. It becomes possible to reflect in the program 2 and execute the processing in the operating environment after the reflection.

【0049】尚、図1から図4を用いて説明した構成を
かな漢字変換システムに使用し、動作環境を更新する例
としては以下の場合がある。 (1) 変換辞書の動作環境を更新する場合:個別辞書
である、人名辞書、地名辞書、専門用語辞書などを必要
に応じて追加したり、削除したり、切り替えたりを行
う。
The following cases are examples of updating the operating environment by using the configuration described with reference to FIGS. 1 to 4 in the kana-kanji conversion system. (1) When updating the operating environment of the conversion dictionary: A personal name dictionary, a place name dictionary, a technical term dictionary, etc., which are individual dictionaries, are added, deleted, or switched as necessary.

【0050】(2) かな漢字変換する文字列の動作環
境を更新する場合: ・複文節解析 複文節変換時に意味優先か学習優先かを選択する。
(2) When updating the operating environment of a character string to be converted into Kana-Kanji: -Multiple clause analysis Select either semantic priority or learning priority when converting multiple clauses.

【0051】・複合語 変換時に複合語優先か否かを選択する。 ・数詞変換 数詞変換を行うか否かを選択する。Compound word Selects whether to give priority to a compound word at the time of conversion. -Numeric conversion Select whether or not to perform numerical conversion.

【0052】・JIS漢字 変換対象文字を常用漢字のみにするか、JIS第2水準
以外の文字にするか、全ての文字にするかを選択する。
JIS Kanji Select whether the conversion target characters are only common Kanji, characters other than JIS second level, or all characters.

【0053】(3) 読み文字の入力の動作環境を更新
する場合: ・カンマの処理 カンマのキーを打鍵した時、カンマを表示するか、読点
を表示するかを選択する。
(3) When updating the operating environment for inputting reading characters: Comma processing When the key of the comma is pressed, it is selected whether the comma or the reading point is displayed.

【0054】・ピリオドの処理 ピリオドのキーを打鍵した時、ピリオドを表示するか、
句点を表示するかを選択する。
・ Period processing When the period key is pressed, the period is displayed or
Select whether to display punctuation.

【0055】(4) 変換する時のスタイルの動作環境
を更新する場合: ・次変換時カーソル位置 変換する時のカーソルの位置を選択する。
(4) When updating the operating environment of the style at the time of conversion: -Cursor position at the next conversion Select the position of the cursor at the time of conversion.

【0056】・変換文字列の属性の動作環境を更新する
場合:変換する時の文字列の属性(下線を引くか、反転
させるかなど)を選択する。
When updating the operating environment of the attribute of the converted character string: Select the attribute of the character string at the time of conversion (underlined or inverted).

【0057】・候補群選択画面の動作環境を更新する場
合:候補群を出す時の画面スタイルを選択する。 (5) キーバインドの動作環境を更新する場合: ・変換のためのキーをキーボード上のどのキーに割り当
てるかなどを変更する。
When updating the operating environment of the candidate group selection screen: Select the screen style when the candidate group is put out. (5) When updating the key binding operating environment: -Change which key on the keyboard is assigned to the key for conversion.

【0058】[0058]

【発明の効果】以上説明したように、本発明によれば、
アクセスを監視してアクセス間隔が所定時間以上であっ
て、かつ動作環境定義ファイル7が更新されているとき
にのみ動作環境を実行プログラムに反映する構成を採用
しているため、負荷を少なくして動作環境を動的に実行
プログラムに迅速に反映することができる。
As described above, according to the present invention,
The load is reduced because the configuration is adopted in which the operating environment is reflected in the execution program only when the access interval is monitored and the access interval is a predetermined time or more and the operating environment definition file 7 is updated. The operating environment can be dynamically reflected in the execution program quickly.

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

【図1】本発明の1実施例構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】本発明の動作環境定義ファイルの反映フローチ
ャートである。
FIG. 2 is a flow chart for reflecting an operating environment definition file of the present invention.

【図3】本発明の動作環境定義ファイルの変更フローチ
ャートである。
FIG. 3 is a flowchart for changing an operating environment definition file of the present invention.

【図4】本発明の具体例説明図である。FIG. 4 is a diagram illustrating a specific example of the present invention.

【図5】従来技術の説明図(その1)である。FIG. 5 is an explanatory diagram (1) of a conventional technique.

【図6】従来技術の説明図(その2)である。FIG. 6 is an explanatory view (No. 2) of the conventional technique.

【図7】従来技術の説明図(その3)である。FIG. 7 is an explanatory diagram (part 3) of the conventional technique.

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

1:演算処理装置 2:実行プログラム 3:定義ファイル監視処理 4:動作環境反映処理 5:動作環境定義プログラム 6:タイマ 7:動作環境定義ファイル 8:入出力装置 1: Processing device 2: Execution program 3: Definition file monitoring process 4: Operating environment reflection process 5: Operating environment definition program 6: Timer 7: Operating environment definition file 8: Input / output device

───────────────────────────────────────────────────── フロントページの続き (72)発明者 渡利 亜紀子 神奈川県大和市深見西四丁目2番49号 株 式会社ピーエフユー大和工場内 (72)発明者 山田 利昭 神奈川県大和市深見西四丁目2番49号 株 式会社ピーエフユー大和工場内 (72)発明者 小池 匡 神奈川県大和市深見西四丁目2番49号 株 式会社ピーエフユー大和工場内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Akiko Watari 2-4 49, Fukami Nishi Yamato City, Kanagawa Prefecture PFU Yamato Factory (72) Inventor Toshiaki Yamada 4-2 Fukami Nishi, Yamato City, Kanagawa Prefecture No. 49, PFU Yamato Plant, Ltd. (72) Inventor, Tadashi Koike, No. 49, Fukami Nishi 4-chome, Yamato City, Kanagawa Prefecture PFU, Yamato Plant

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】動作環境を動的に実行プログラムに反映す
る動的反映方法において、 実行プログラムへのアクセスの間隔が所定時間以上経過
したかを監視する定義ファイル監視処理(3)と、 動作環境を設定する動作環境定義ファイル(7)とを備
え、 上記定義ファイル監視処理(3)がアクセスを監視し、
アクセスが前回のアクセス時間から所定時間以上経過し
ていることを検出したときに、上記動作環境定義ファイ
ル(7)を参照して更新されていると判明したときに当
該動作環境定義ファイル(7)から更新後の動作環境を
取り出し、実行プログラムの動作環境を更新し、新たな
動作環境のもとで処理を実行するように構成したことを
特徴とする動作環境の動的判定方法。
1. A dynamic reflection method for dynamically reflecting an operating environment in an execution program, a definition file monitoring process (3) for monitoring whether an interval of access to the execution program has passed a predetermined time or more, and an operating environment. And an operating environment definition file (7) for setting, and the above definition file monitoring process (3) monitors access,
The operating environment definition file (7) is found when it is found that the access has been updated by referring to the operating environment definition file (7) when it is detected that a predetermined time or more has elapsed from the previous access time. A method for dynamically determining an operating environment, characterized in that the updated operating environment is taken out from, the operating environment of the execution program is updated, and the processing is executed under the new operating environment.
【請求項2】上記定義ファイル監視処理(3)が前回の
アクセス時間を記憶する内部変数accesstimeおよび上記
動作環境定義ファイル(7)の前回の更新時間を記憶す
る内部変数filetimeを持つと共に、当該動作環境定義フ
ァイル(7)に更新時間を記憶する変数filetimeを持
ち、 この動作環境定義ファイル(7)を更新したときに変数
filetimeを更新しておき、 定義ファイル監視処理(3)がアクセスを監視し、現在
のアクセス時間と上記内部変数accesstimeの時間とを比
較および更新し、所定時間以上経過していると判明した
ときに、上記動作環境定義ファイル(7)の変数fileti
meを参照して内部変数filetimeと異なると判明したとき
に当該動作環境定義ファイル(7)から更新後の動作環
境を取り出して実行プログラムの動作環境に反映および
内部変数filetimeを更新するように構成したことを特徴
とする請求項1記載の動作環境の動的判定方法。
2. The definition file monitoring process (3) has an internal variable accesstime for storing a previous access time and an internal variable filetime for storing a previous update time of the operating environment definition file (7), and the operation concerned. The environment definition file (7) has a variable filetime that stores the update time, and the variable when this operating environment definition file (7) is updated
The filetime is updated, the definition file monitoring process (3) monitors the access, compares and updates the current access time with the time of the internal variable accesstime, and when it is found that a predetermined time or more has passed, , The variable fileti in the operating environment definition file (7) above
When it is found that it is different from the internal variable filetime by referring to me, the updated operating environment is extracted from the relevant operating environment definition file (7), reflected in the operating environment of the execution program, and the internal variable filetime is updated. The method for dynamically determining an operating environment according to claim 1, wherein:
JP4153946A 1992-06-15 1992-06-15 Dynamic reflection of operating environment Expired - Fee Related JP2715222B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4153946A JP2715222B2 (en) 1992-06-15 1992-06-15 Dynamic reflection of operating environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4153946A JP2715222B2 (en) 1992-06-15 1992-06-15 Dynamic reflection of operating environment

Publications (2)

Publication Number Publication Date
JPH05346922A true JPH05346922A (en) 1993-12-27
JP2715222B2 JP2715222B2 (en) 1998-02-18

Family

ID=15573538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4153946A Expired - Fee Related JP2715222B2 (en) 1992-06-15 1992-06-15 Dynamic reflection of operating environment

Country Status (1)

Country Link
JP (1) JP2715222B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6910139B2 (en) 2000-10-02 2005-06-21 Fujitsu Limited Software processing apparatus with a switching processing unit for displaying animation images in an environment operating base on type of power supply
JP2009217648A (en) * 2008-03-11 2009-09-24 Nec Corp Method and system for checking implementation state of configuration file

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02135565A (en) * 1988-11-15 1990-05-24 Nec Corp System operational circumstance altering method for multiprocessor system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02135565A (en) * 1988-11-15 1990-05-24 Nec Corp System operational circumstance altering method for multiprocessor system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6910139B2 (en) 2000-10-02 2005-06-21 Fujitsu Limited Software processing apparatus with a switching processing unit for displaying animation images in an environment operating base on type of power supply
JP2009217648A (en) * 2008-03-11 2009-09-24 Nec Corp Method and system for checking implementation state of configuration file

Also Published As

Publication number Publication date
JP2715222B2 (en) 1998-02-18

Similar Documents

Publication Publication Date Title
US5475848A (en) Supervisory control method and power saving control unit for computer system
US7099858B2 (en) Data management system that provides intelligent access plan caching
US4841454A (en) Display controller with a variable scrolling speed, and method for operating same
JPH05346922A (en) Dynamic reflecting method for operation environment
JPH04251316A (en) Event-driving type scanning of data input device using multiple-input wake-up technology
JP2002091418A (en) Window display device and recording medium
JP3015793B1 (en) Programmable controller
JPH0581075A (en) Software development device
JP2747164B2 (en) Software simulator
JPH0689130A (en) State monitoring method and power saving controller
JP2547763B2 (en) Information processing device
JPH02272672A (en) Document preparing device
JPH05100891A (en) Program debugging device
JP3331235B2 (en) Power saving control method and apparatus for computer system
JPH04188267A (en) Homonym candidate display controller and its display method
JPH0479024B2 (en)
JPS6315358A (en) Inputting kanji method
JPS6380335A (en) Starting system for background job
KR20010016871A (en) Apparatus for interpreting SFC in a control system
JPH0589049A (en) Command executing device
KR20000013281A (en) Man machine language embodiment method
JPS6349817A (en) Command controller
JPH0561855A (en) Japanese language processor
JPH05242117A (en) System for determining cell length in table calcultion software
IL99027A (en) Supervisory control method for computer system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees