JP2715222B2 - Dynamic reflection of operating environment - Google Patents

Dynamic reflection of operating environment

Info

Publication number
JP2715222B2
JP2715222B2 JP4153946A JP15394692A JP2715222B2 JP 2715222 B2 JP2715222 B2 JP 2715222B2 JP 4153946 A JP4153946 A JP 4153946A JP 15394692 A JP15394692 A JP 15394692A JP 2715222 B2 JP2715222 B2 JP 2715222B2
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.)
Expired - Fee Related
Application number
JP4153946A
Other languages
Japanese (ja)
Other versions
JPH05346922A (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.)
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

Landscapes

  • Stored Programmes (AREA)
  • Document Processing Apparatus (AREA)

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 on an execution program.

【0002】[0002]

【従来の技術】従来、かな漢字変換システムなどは、動
作環境であるキーバインドや変換方法などをオペレータ
が任意に設定し、操作し易いようにキーボード中の任意
のキーに文字、記号を割り当てたり、変換した結果、得
られる漢字の範囲(JIS第1水準、JIS第2水準な
ど)を変更したり、更に専門分野に応じて辞書を切り替
えたりしている。
2. Description of the Related Art Conventionally, in a kana-kanji conversion system, an operator can arbitrarily set an operation environment such as a key binding and a conversion method, and assign characters and symbols to arbitrary keys on a 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 specialty field.

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

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

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

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

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

【0008】[0008]

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

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

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

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

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

【0013】[0013]

【課題を解決するための手段】図1を参照して課題を解
決するための手段を説明する。図1において、定義ファ
イル監視処理3は、アクセスの間隔が所定時間以上経過
したか監視するものであって、前回のアクセス時間を記
憶する内部変数accesstimeおよび動作環境定義ファイル
7の前回の更新時間を記憶する内部変数filetimeを持つ
ものである。
Means for solving the problem will be described with reference to FIG. In FIG. 1, a definition file monitoring process 3 monitors whether or not an access interval has passed a predetermined time or more. The definition file monitoring process 3 uses an internal variable accesstime for storing the previous access time and a previous update time of the operating environment definition file 7. 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.
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 an access and detects that the access has passed a predetermined time or more from the previous access time, the operation environment definition file 3 7, the updated operating environment is extracted from the operating environment definition file 7 when it is determined that the operating environment has been updated, the operating environment of the execution program is updated, and the process is executed under the new operating environment. Like that.

【0016】また、定義ファイル監視処理3がアクセス
を監視し、現在のアクセス時間と内部変数accesstimeの
時間とを比較および更新し、所定時間以上経過している
と判明したときに、動作環境定義ファイル7の変数file
timeを参照して内部変数filetimeと異なると判明したと
きに当該動作環境定義ファイル7から更新後の動作環境
を取り出して実行プログラムに反映すると共に内部変数
filetimeを更新し、新たな動作環境のもとで処理を実行
するようにしている。
The definition file monitoring process 3 monitors 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 has elapsed, the operation environment definition file 7 variable file
When the time is referred to and it is found that it is different from the internal variable filetime, the updated operating environment is extracted from the operating environment definition file 7 and reflected in the execution program, and the internal variable
The filetime has been updated to execute the process under the new operating environment.

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

【0018】[0018]

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

【0019】図1は、本発明の1実施例構成図を示す。
図1において、演算処理装置1は、各種演算処理を行う
ものである。この演算処理装置1は、かな漢字変換など
を行う実行プログラム2、動作環境定義ファイル7に動
作環境を設定する動作環境定義プログラム5、およびタ
イマ6などから構成されるものである。
FIG. 1 is a block diagram showing one embodiment of the present invention.
In FIG. 1, an arithmetic processing device 1 performs various arithmetic processes. The arithmetic processing device 1 includes an execution program 2 for performing kana-kanji conversion and the like, 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 kinds of processing, for example, a program for performing kana-kanji conversion. In this example, the execution program 2 includes a definition file monitoring processing 3, an operating environment reflection processing 4, and the like.

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

【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 operation environment definition file 7 was updated.

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

【0024】動作環境定義プログラム5は、入出力装置
8などからオペレータによって指示された動作環境を、
動作環境定義ファイル7に定義(設定、更新)するもの
である。この際、変数filetimeを更新した時間に設定し
ておく(図3参照)。
The operating environment definition program 5 stores 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 for storing the definition of the operating environment, and has a variable filetime for storing the time when the definition (setting, updating) is made. Executable file monitoring process 3 uses the time of internal variable filetime and this variable
The time of the filetime is compared, and when it is different, it is determined that the operation environment is updated.

【0026】入出力装置8は、各種入出力を行うもので
あって、例えばキーボードやディスプレイである。次
に、図2のフローチャートに示す順序に従い、図1の構
成の動作を詳細に説明する。
The input / output device 8 performs various types of input / output, 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 the initial value of the internal variable accesstime. The default value is
The setting is made with reference to the operating environment definition file 7 and the current time is set with reference 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, an access from the operator is waited. In step S3, it is determined whether an operator access has occurred. That is, it is determined whether or not the operator has input a character string to be converted into Kana-Kanji from the keyboard, which is the input / output device 8 in FIG. If YES, the process proceeds to S4 and subsequent steps. On the other hand, if NO, the process returns to S2 because no access occurs.

【0029】S4は、現在時間a1の獲得を行う。これ
は、現在の時間a1をタイマ6から獲得する。S5は、
内部変数accesstimeに記憶している時間a0から、S4
で獲得した現在の時間a1までの間に一定時間が経過し
ているか判別する。これは、 a1−a0>一定時間 か判別する。YESの場合には、前回にアクセスした時
間から現在の時間までの間に一定時間が経過していたの
で、S6に進む。一方、NOの場合には、前回にアクセ
スした時間から現在の時間までの間に一定時間が経過し
ていないので、動作環境を実行プログラムに反映するこ
とを止め、S10で内部accesstimeを現時間に更新(内
部変数accesstime←a1)し、S12で処理を実行し、
S2に戻る。
In step S4, the current time a1 is obtained. This obtains the current time a1 from the timer 6. S5 is
From time a0 stored in the internal variable accesstime, S4
It is determined whether or not a predetermined time has elapsed before the current time a1 obtained in step. It is determined whether a1-a0> a certain time. In the case of YES, the fixed time has elapsed from the time of the last access to the current time, so the process proceeds to S6. On the other hand, in the case of NO, since the 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, a definition file time f1 of the operation environment definition file 7 is obtained. This corresponds to 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 S7, it is determined whether or not the definition file time f1 of the operation 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
F0 and the variable fi in the current operating environment definition file 7
It is compared with the time f1 of the letime to determine whether they are not equal (updated). In the case of YES, it is determined that the operating environment definition file 7 has been updated, and the process proceeds to S8. On the other hand, in the case of NO, it has been determined that the operating environment definition file 7 has not been updated, so the internal access
Update time to 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が行う。
At S8, the internal variable accesstime is updated to the current time, and the internal variable filetime is updated to the current time. That is, an internal variable accesstime ← a1 (current time) and an internal variable filetime ← f1 (update time f1 of the operation environment definition file 7). These steps S4 to S8, S10, and S11 are performed by the definition file monitoring process 3 in FIG.

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

【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 equal to or longer than the predetermined time (YES in S5) and the operating environment of the operating environment definition file 7 has been updated (YES in S7). Only in this case, the updated operating environment is extracted from the operating environment definition file 7, reflected in the execution program 2, and the process is executed based on the updated operating environment. Accordingly, when the execution program 2 is frequently accessed by the operator from the input / output device 8 such as a keyboard, the load is reduced by not referring to the operating environment file 7.
On the other hand, since a certain period of time is required to update the operating environment definition file 7, the operation is performed by referring to the operating environment definition file 7 only when an access is made after a certain period of time expected to be required for the update. Check 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 flowchart for changing the operating environment definition file according to the present invention. This is a procedure for updating the operation environment definition file 7 in FIG. 1 according to an instruction from the operator.

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

【0037】S22は、選択可のパターンを表示する。
これは、S21の定義変更コマンドの押下に対応して、
例えばかな漢字変換の動作環境として、現在、あるキー
を押下したとき、“.”と表示されるが他の選択可のパ
ターン“。” “、”などを表示する。
In step S22, a selectable pattern is displayed.
This corresponds to the pressing of 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 “.” “,” Are displayed.

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

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

【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 when the operating environment definition file 7 is updated according to the flowchart of FIG. 3 and the operating environment is dynamically reflected in the execution program 2 from the operating environment definition file 7 according to the flowchart of FIG. . Here, the access timing of the operator is a timing at which the operator accesses the execution program 2 by inputting “Kana” by key input 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 recorded here. The access point 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 on 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 process 3 of the execution program 2 does not exceed the fixed time 5 for the elapsed time of the access time (NO in S5 in FIG. 2). Update the internal variable accesstime to the current time and do not refer to the operating environment definition file 7.

【0044】(3) 同様に、時間5、時間7、時間
9、時間11についても一定時間4を越えていないので
(図2のS5のNO)、内部変数accesstimeを現時間に
それぞれ更新し、動作環境定義ファイル7を参照しな
い。
(3) Similarly, since time 5, time 7, time 9, and 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, respectively. It does 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 has exceeded the fixed time 4 with respect to the elapsed time of the access time (YE in S5 in FIG. 2).
S) The operating environment definition file 7 is checked, but the operating environment is not updated (NO in S7 in FIG. 2), so that the operating environment is not reflected.

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

【0047】(6) 時間32:実行プログラム2の定
義ファイル監視処理3がアクセスタイムの経過時間につ
いて一定時間4を越えているので(図2のS5のYE
S)、動作環境定義ファイル7をチェックすると動作環
境が、動作環境定義プログラム5によって時間31のと
きに更新されていたので(図2のS7のYES)、動作
環境を取り出して実行プログラム2に反映する。
(6) Time 32: Since the definition file monitoring process 3 of the execution program 2 has exceeded the fixed time 4 for the elapsed time of the access time (YE in S5 in FIG. 2).
S) When the operation environment definition file 7 is checked, the operation environment has been updated by the operation environment definition program 5 at the time 31 (YES in S7 in FIG. 2), and the operation environment is extracted and reflected in the execution program 2. I 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 only three in this case, and the operating environment definition file 7 is Performs an update operation, utilizing the characteristic that the operator access timing exceeds the predetermined time 4 in this case, quickly detects the update of the operating environment definition file 7, and dynamically and quickly executes the operating environment after the update. The processing can be executed in the operating environment after the reflection in the program 2 and the reflection.

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

【0050】(2) かな漢字変換する文字列の動作環
境を更新する場合: ・複文節解析 複文節変換時に意味優先か学習優先かを選択する。
(2) Updating the operating environment of the character string to be converted to Kana-Kanji:-Multi-phrase analysis Selects semantic priority or learning priority during multi-phrase conversion.

【0051】・複合語 変換時に複合語優先か否かを選択する。 ・数詞変換 数詞変換を行うか否かを選択する。Compound words Select whether or not to give priority to compound words during conversion.・ Numerical conversion Select whether to perform numerical conversion.

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

【0053】(3) 読み文字の入力の動作環境を更新
する場合: ・カンマの処理 カンマのキーを打鍵した時、カンマを表示するか、読点
を表示するかを選択する。
(3) When Updating the Operating Environment for Inputting Reading Characters: Comma Processing When a comma key is pressed, a selection is made as to whether a comma or a reading point is displayed.

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

【0055】(4) 変換する時のスタイルの動作環境
を更新する場合: ・次変換時カーソル位置 変換する時のカーソルの位置を選択する。
(4) When updating the operating environment of the style at the time of conversion: Cursor position at next conversion Select the cursor position 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 to be converted (whether it is underlined or inverted).

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

【0058】[0058]

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

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

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

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

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

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

【図5】従来技術の説明図(その1)である。FIG. 5 is an explanatory diagram (part 1) of the related art.

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

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

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

1:演算処理装置 2:実行プログラム 3:定義ファイル監視処理 4:動作環境反映処理 5:動作環境定義プログラム 6:タイマ 7:動作環境定義ファイル 8:入出力装置 1: arithmetic processing unit 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号 株式会社ピーエフユー大和工場内 (56)参考文献 特開 平4−162132(JP,A) 特開 平4−291635(JP,A) 特開 平3−85619(JP,A) 特開 平4−48366(JP,A) ──────────────────────────────────────────────────続 き Continuing from the front page (72) Inventor Toshiaki Yamada 4-49 Fukami Nishi, Yamato-shi, Kanagawa Prefecture PF Yamato Factory (72) Inventor Tadashi Koike 4-49 Fukami-Nishi, Yamato-shi, Kanagawa No. JP-A-4-162132 (JP, A) JP-A-4-291635 (JP, A) JP-A-3-85619 (JP, A) JP-A-4- 48366 (JP, A)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】動作環境を動的に実行プログラムに反映す
る動的反映方法において、 実行プログラムへのアクセスの間隔が所定時間以上経過
したかを監視する定義ファイル監視処理(3)と、 動作環境を設定する動作環境定義ファイル(7)とを備
え、 上記定義ファイル監視処理(3)がアクセスを監視し、
アクセスが前回のアクセス時間から所定時間以上経過し
ていることを検出したときに、上記動作環境定義ファイ
ル(7)を参照して更新されていると判明したときに当
該動作環境定義ファイル(7)から更新後の動作環境を
取り出し、実行プログラムの動作環境を更新し、新たな
動作環境のもとで処理を実行するように構成したことを
特徴とする動作環境の動的反映方法。
1. A dynamic reflection method for dynamically reflecting an operating environment on an execution program, wherein 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 operation environment definition file (7) for setting access. The definition file monitoring process (3) monitors access,
When it is detected that the access has passed a predetermined time or more from the previous access time, and when it is determined that the access has been updated with reference to the above-mentioned operation environment definition file (7), the operation environment definition file (7) dynamic how to change the operating environment of taking out an operation environment after update to update the operating environment for the execution program, characterized by being configured to execute the original in the process of the new operating environment from.
【請求項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 operation environment definition file (7). The environment definition file (7) has a variable filetime that stores the update time, and the variable is set when this operating environment definition file (7) is updated.
filetime is updated, the definition file monitoring process (3) monitors access, compares and updates the current access time with the time of the internal variable accesstime, and when it is determined that the predetermined time has elapsed, , Variable fileti in the above operating environment definition file (7)
When the internal variable filetime is found to be different from the internal variable filetime by referring to me, the updated operating environment is extracted from the operating environment definition file (7), reflected in the operating environment of the execution program, and the internal variable filetime is updated. The method according to claim 1, wherein the operating environment is dynamically reflected .
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 JPH05346922A (en) 1993-12-27
JP2715222B2 true 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)

Families Citing this family (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
JP4911084B2 (en) * 2008-03-11 2012-04-04 日本電気株式会社 Configuration file application status confirmation method and system

Family Cites Families (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

Also Published As

Publication number Publication date
JPH05346922A (en) 1993-12-27

Similar Documents

Publication Publication Date Title
JPH067397Y2 (en) Document input device
JP2715222B2 (en) Dynamic reflection of operating environment
JP2002091418A (en) Window display device and recording medium
JPH07271562A (en) Data processor and application software activation method
JPH0410081B2 (en)
JPH0588652A (en) Plant operation monitor and display device
JP2747164B2 (en) Software simulator
JP2642787B2 (en) Interruption location search method
JPH0581075A (en) Software development device
JP2000207003A (en) Programmable controller
JP3022398B2 (en) Virtual computer system
JPH05120222A (en) Common information acquisition system for on-line system
JP2000242319A (en) Numerical controller
JP2573391B2 (en) Programmable controller
JP2547763B2 (en) Information processing device
JPH02146625A (en) Extension system for number of registers
JPH1031506A (en) Programmable controller capable of multi-time writing detection
JPH0769679B2 (en) Asynchronous character display processing method of exception character
JP2000090082A (en) Data processor
JPS63170703A (en) Loader command processing device
JPS63198129A (en) Input data processing system in procedure
JPH06202860A (en) Method and system for changing system generation parameter
JPH05181717A (en) Data base application control system
JPS61246838A (en) Job executing method under time-division processing environment
JPH02138606A (en) Programmable controller

Legal Events

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