JPH07129497A - Storage type remote procedure processor - Google Patents
Storage type remote procedure processorInfo
- Publication number
- JPH07129497A JPH07129497A JP5271828A JP27182893A JPH07129497A JP H07129497 A JPH07129497 A JP H07129497A JP 5271828 A JP5271828 A JP 5271828A JP 27182893 A JP27182893 A JP 27182893A JP H07129497 A JPH07129497 A JP H07129497A
- Authority
- JP
- Japan
- Prior art keywords
- procedure
- storage
- identifier
- execution
- unit
- 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
Links
Landscapes
- Multi Processors (AREA)
- Computer And Data Communications (AREA)
Abstract
(57)【要約】
【目的】 本発明は、蓄積型遠隔手続きに関するもので
あり、手続きを1箇所にのみ保存することで記憶領域の
節約と、手続き実行依頼側が手続き識別子と手続き実行
に必要なデータを転送するだけで、蓄積型遠隔手続き実
行を可能にする。
【構成】 手続き依頼装置101は、手続き識別子と手続き
実行に必要なデータを手続き実行装置102に転送する。
手続き実行装置は、手続き問い合わせ部104を用いて、
手続き保存装置103に手続き識別子を転送し、手続きを
問い合わせ、手続きを取得する。次に、手続き実行部10
5で手続きを実行し、結果を手続き依頼装置に返す。手
続き保存装置は、手続き検索部106を用いて転送された
手続き識別子に対応する手続きを手続き保存部107に保
存している手続きから検索し、手続きを手続き実行装置
に転送する。
(57) [Summary] [Object] The present invention relates to a storage-type remote procedure, which saves the storage area by storing the procedure in only one place, and the procedure requester is required to execute the procedure identifier and the procedure. Enables storage-based remote procedure execution simply by transferring data. [Structure] The procedure requesting device 101 transfers a procedure identifier and data necessary for executing the procedure to the procedure executing device 102.
The procedure execution device uses the procedure inquiry unit 104 to
The procedure identifier is transferred to the procedure storage device 103, the procedure is inquired, and the procedure is acquired. Next, the procedure execution unit 10
The procedure is executed in 5 and the result is returned to the procedure requesting device. The procedure storage device searches the procedure stored in the procedure storage unit 107 for a procedure corresponding to the transferred procedure identifier using the procedure search unit 106, and transfers the procedure to the procedure execution device.
Description
【0001】[0001]
【産業上の利用分野】クライアント・サーバ型のコンピ
ュータシステムにおいて、蓄積した手続きを遠隔から実
行する蓄積型遠隔手続き処理装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage type remote procedure processor for remotely executing stored procedures in a client / server type computer system.
【0002】[0002]
【従来の技術】近年、ホストコンピュータを中心とする
集中型からパソコンやワークステーションを用いた分散
処理型へと情報処理形態は進化している。分散処理型で
は、遠隔地にあるコンピュータへ手続きの実行を依頼
し、その結果を受けとる遠隔手続き処理技術が使用され
る。2. Description of the Related Art In recent years, information processing has evolved from a centralized type centering on a host computer to a distributed processing type using a personal computer or a workstation. In the distributed processing type, remote procedure processing technology is used, in which a remote computer is requested to execute a procedure and the result is received.
【0003】手続き実行を依頼されるコンピュータに手
続きを知らせるには、依頼する毎に処理内容を転送する
方法(即時型)とあらかじめ登録しておく方法(蓄積型)が
ある。この蓄積型遠隔手続き処理装置としては、例え
ば、開放型システム間相互接続(OSI)の遠隔データベー
スアクセス(IS 9579:1993)がある。以下、従来の蓄積型
遠隔手続き処理装置について説明する。There are two methods of notifying a computer that is requested to execute a procedure about the procedure: a method of transferring the processing content each time the request is made (immediate type) and a method of pre-registering (accumulation type). An example of this storage type remote procedure processing device is an open system interconnection (OSI) remote database access (IS 9579: 1993). Hereinafter, a conventional storage type remote procedure processing device will be described.
【0004】図5は、従来の蓄積型遠隔手続き処理装置
の構成の一例を示したものである。図5において、501は
手続きを依頼する手続き依頼装置A、502は501と同様な
手続き依頼装置B、503は501と同様な手続き依頼装置、5
04は手続き依頼装置Aの中に手続きを保存している手続
き保存部、505は手続きを実行する手続き実行装置、506
は手続き実行装置中に手続きを保存する手続き保存部で
ある。FIG. 5 shows an example of the configuration of a conventional storage type remote procedure processing device. In FIG. 5, 501 is a procedure requesting device A for requesting a procedure, 502 is a procedure requesting device B similar to 501, 503 is a procedure requesting device similar to 501, 5
04 is a procedure storage unit that stores the procedure in the procedure requesting apparatus A, 505 is a procedure execution apparatus that executes the procedure, and 506
Is a procedure storage unit that stores procedures in the procedure execution device.
【0005】以上のような構成において、従来の蓄積型
遠隔手続き処理装置の動作を図5と図6を用いて説明す
る。図6は、2つの手続き依頼装置が1つの手続き実行装
置を使用する場合の、蓄積型遠隔手続き処理装置の手続
き実行の処理の流れを時間に沿って示したものである。
まず、手続き依頼装置A 501は手続き実行装置505と通信
路を確立する(図6 ステップ1)。次に手続き依頼装置A 5
01は、自身の内部にある手続き保存部504にある手続き
とそれに対応する手続き識別子を手続き実行装置505に
転送し登録する(図6 ステップ2)。The operation of the conventional storage type remote procedure processing device having the above-mentioned configuration will be described with reference to FIGS. FIG. 6 shows a flow of processing of procedure execution of the storage-type remote procedure processor when two procedure requesting apparatuses use one procedure executing apparatus along with time.
First, the procedure requesting device A 501 establishes a communication path with the procedure executing device 505 (step 1 in FIG. 6). Next, the procedure request device A 5
The 01 transfers the procedure stored in its own procedure storage unit 504 and the procedure identifier corresponding to the procedure to the procedure execution device 505 and registers them (step 2 in FIG. 6).
【0006】手続き実行装置505は、受けとった手続き
と手続き識別子を内部の手続き保存部506に保存する(図
6 ステップ3)。この後、手続き依頼装置A 501は上記手
続き識別子と手続き実行に必要なデータを手続き実行装
置505に渡し、手続き実行を依頼する(図6 ステップ4)。The procedure execution device 505 stores the received procedure and procedure identifier in the internal procedure storage unit 506 (see FIG.
6 Step 3). After that, the procedure requesting device A 501 passes the procedure identifier and the data necessary for executing the procedure to the procedure executing device 505, and requests the procedure executing device (step 4 in FIG. 6).
【0007】手続き実行装置505は、受けとった手続き
識別子に対応する手続きを手続き保存部506の中から選
択する。その手続きを手続き依頼装置A 501から受けと
ったデータを使用して、手続きを実行し(図6 ステップ
5)、実行結果を手続き依頼装置A501に転送する(図6 ス
テップ6)。手続き依頼装置B 502も手続き依頼装置A 501
と同様な手順で手続き実行を依頼し、結果を得ることが
できる(図6 ステップ7からステップ12)。最後に、手続
き依頼装置A 501が通信路を開放することにより(図6 ス
テップ13)、手続き実行装置505に保存されている手続き
依頼装置A 501により登録された手続きが消去される(図
6 ステップ14)。手続き依頼装置B 502も同様(図6 ステ
ップ15とステップ16)である。The procedure execution device 505 selects a procedure corresponding to the received procedure identifier from the procedure storage unit 506. The procedure is executed using the data received from the procedure requesting device A 501 (Fig. 6 step
5), the execution result is transferred to the procedure requesting device A501 (step 6 in FIG. 6). Procedure requesting device B 502 is also procedure requesting device A 501
You can request the procedure execution and obtain the result in the same procedure as in (Step 7 to Step 12 in Fig. 6). Finally, the procedure requesting device A 501 opens the communication path (step 13 in FIG. 6), and the procedure registered by the procedure requesting device A 501 stored in the procedure executing device 505 is deleted (see FIG.
6 Step 14). The procedure requesting device B 502 is also the same (step 15 and step 16 in FIG. 6).
【0008】[0008]
【発明が解決しようとする課題】しかしながら、従来の
構成では、手続き依頼装置Aが手続き実行装置に登録し
た手続きと、手続き依頼装置Bが手続き実行装置に登録
した手続きとが同一のものであっても、手続き実行装置
が同一かどうかの判断が困難であるため、手続き実行装
置には異なるものとして登録、保存される。また2つの
手続き依頼装置にもそれらの手続きが保存されている。
つまり、この場合、同一の手続きが4箇所に保存されて
いることになり、記憶領域の無駄となっている。この無
駄な記憶領域は、手続き実行装置の数に比例して増加す
る。However, in the conventional configuration, the procedure registered by the procedure requesting apparatus A in the procedure executing apparatus and the procedure registered by the procedure requesting apparatus B in the procedure executing apparatus are the same. However, since it is difficult to determine whether the procedure executing devices are the same, the procedure executing devices are registered and stored as different items. The procedures are also stored in the two procedure request devices.
In other words, in this case, the same procedure is stored in four places, and the storage area is wasted. This useless storage area increases in proportion to the number of procedure execution devices.
【0009】また、通信路を開放することにより、手続
き実行装置に保存されている手続きが消去されるので、
通信路を確立するたびに、手続きを登録し直す必要があ
り、手続き依頼装置の手間がかかる。Further, since the procedure stored in the procedure execution device is deleted by opening the communication path,
Each time a communication path is established, it is necessary to re-register the procedure, which takes time for the procedure requesting device.
【0010】本発明は、上記従来の課題を解決するもの
で、手続きを限定し、手続きを1箇所にのみ保存し、手
続き依頼装置が、事前に手続き実行装置に手続きを登録
することなく、手続き識別子と手続き実行に必要なデー
タを渡すだけで、手続きを実行し実行結果を得ることを
目的とする。The present invention is to solve the above-mentioned conventional problems. The procedure is limited, the procedure is stored only in one place, and the procedure requesting device does not need to register the procedure in the procedure executing device in advance. The purpose is to execute the procedure and obtain the execution result simply by passing the identifier and the data necessary for executing the procedure.
【0011】[0011]
【課題を解決するための手段】上記課題を解決するため
に、本発明の第1は、手続き実行装置に対して手続き識
別子と手続き実行に必要なデータを転送し手続き実行依
頼を行ない、手続き実行装置が実行した結果を受けとる
手続き依頼装置と、手続き依頼装置から転送された上記
手続き識別子に対応する手続きを手続き保存装置に問い
合わせ、取得し、手続き実行部に渡す手段を有する手続
き問い合わせ部と、上記手続き問い合わせ部から渡され
た手続きを手続き依頼装置から転送されたデータを用い
て実行し、実行結果を手続き依頼装置に転送する手段を
有する手続き実行部からなる手続き実行装置と、手続き
識別子と上記手続き識別子に対応する手続きの組を保存
する手段を有する手続き保存部と、手続き実行装置から
転送された手続き識別子に対応する手続きを手続き保存
部から検索し、手続き実行装置に転送する手段を有する
手続き検索部からなる手続き保存装置を備えたものであ
る。In order to solve the above-mentioned problems, a first aspect of the present invention is to transfer a procedure identifier and data necessary for executing the procedure to a procedure executing device, request the procedure execution, and execute the procedure execution. A procedure requesting device for receiving a result executed by the device, a procedure inquiry part having means for inquiring and acquiring a procedure corresponding to the procedure identifier transferred from the procedure requesting device to the procedure storage device, and passing it to the procedure executing part, A procedure execution unit including a procedure execution unit having means for executing the procedure passed from the procedure inquiry unit using the data transferred from the procedure requesting device and transferring the execution result to the procedure requesting device, the procedure identifier, and the above procedure. A procedure storage unit having means for storing a set of procedures corresponding to the identifier, and a procedure identification transferred from the procedure execution device. The procedure storage device is provided with a procedure search unit having means for searching the procedure storage unit for a procedure corresponding to a child and transferring it to the procedure execution device.
【0012】本発明の第2は、手続き実行装置内に、手
続き保存装置から転送された手続きを一時的に保存する
手段を有する手続き一時保存部を備えたものである。A second aspect of the present invention is that the procedure execution device is provided with a procedure temporary storage unit having means for temporarily storing the procedure transferred from the procedure storage device.
【0013】本発明の第3は、手続き保存装置が手続き
を手続き実行装置に転送する時に手続きを圧縮する手段
を有する手続き圧縮部と、手続き実行装置が上記圧縮さ
れた手続きを転送された時に復元する手段を有する手続
き復元部を備えたものである。A third aspect of the present invention is a procedure compression unit having means for compressing a procedure when the procedure storage device transfers the procedure to the procedure execution device, and a procedure compression unit which restores the procedure when the procedure execution device transfers the compressed procedure. It is provided with a procedure restoration unit having means for performing.
【0014】[0014]
【作用】本発明は上記第1の構成により、手続き依頼装
置は手続き識別子と手続き実行に必要なデータを手続き
実行装置に渡すだけで、手続きの遠隔実行を行なうこと
ができる。手続き識別子を受けとった手続き実行装置
は、手続き問い合わせ部を用いて手続き識別子を手続き
保存装置に渡し、手続きを取得する。手続きは、手続き
問い合わせ部から手続き実行部に渡される。手続き実行
部は、手続き依頼装置から渡された手続き実行に必要な
データを使用して、手続き問い合わせ部から渡された手
続きを実行する。手続き実行部は、実行した結果を手続
き依頼装置に転送し、手続き依頼装置が実行結果を得る
ことができる。手続き識別子を受けとった手続き保存装
置は、手続き検索部を用いて、手続き保存部に格納して
ある手続きの中から、手続き識別子に対応する手続きを
検索する。検索された手続きは、手続き実行装置に転送
される。このように、手続き依頼装置は手続きを保存す
る必要がなく、手続きは手続き保存装置にのみ保存して
いるため、記憶資源を節約できる。また、あらかじめ手
続き実行装置に手続きを登録することも必要ないため、
手続き依頼装置の手間を軽減することができる。According to the first configuration of the present invention, the procedure requesting device can execute the procedure remotely only by passing the procedure identifier and the data necessary for executing the procedure to the procedure executing device. The procedure execution device that has received the procedure identifier uses the procedure inquiry unit to pass the procedure identifier to the procedure storage device to acquire the procedure. The procedure is passed from the procedure inquiry section to the procedure execution section. The procedure execution unit executes the procedure delivered from the procedure inquiry unit using the data required for the procedure execution delivered from the procedure requesting device. The procedure execution unit can transfer the executed result to the procedure request device, and the procedure request device can obtain the execution result. The procedure storage device that has received the procedure identifier searches the procedure stored in the procedure storage section for a procedure corresponding to the procedure identifier using the procedure search section. The retrieved procedure is transferred to the procedure execution device. As described above, the procedure requesting device does not need to store the procedure, and the procedure is stored only in the procedure storing device, so that the storage resource can be saved. Also, since it is not necessary to register the procedure in the procedure execution device in advance,
The labor of the procedure request device can be reduced.
【0015】本発明はまた、上記第2の構成により、手
続き保存装置から受けとった手続きを一時的に、手続き
実行装置の手続き一時保存部に保存しておくことによ
り、手続き依頼装置から同じ手続きの実行を依頼された
場合には、その毎に手続き保存装置に手続きを問い合わ
せることなく、手続き一時保存装置から手続きを得るこ
とができる。このため、手続き実行装置は、手続き依頼
装置から手続き実行の依頼をされてから短時間で手続き
の実行を行なうことができる。According to the second aspect of the present invention, the procedure received from the procedure storage device is temporarily stored in the procedure temporary storage unit of the procedure execution device so that the same procedure can be stored in the procedure request device. When the execution is requested, the procedure can be obtained from the procedure temporary storage device without inquiring the procedure storage device about the procedure each time. Therefore, the procedure execution device can execute the procedure in a short time after the procedure request device requests the procedure execution.
【0016】本発明はまた、上記第3の構成により、手
続き保存装置が手続き実行装置に手続きを転送する時
に、手続きの大きさを圧縮してから転送し、手続き実行
装置は手続き復元装置を用いて、受けとった圧縮された
手続きを復元してから、手続きを実行する。このことに
より、手続き保存装置から手続き実行装置に手続きを転
送する時の転送時間を短縮することができる。According to the third aspect of the present invention, when the procedure storage device transfers the procedure to the procedure execution device, the procedure size is compressed and then transferred, and the procedure execution device uses the procedure restoration device. Then, the compressed procedure received is restored, and then the procedure is executed. As a result, it is possible to shorten the transfer time when transferring a procedure from the procedure storage device to the procedure execution device.
【0017】[0017]
(実施例1)以下、本発明の第1の実施例について、図
面を参照しながら説明する。図1は、本発明の第1の構成
の蓄積型遠隔手続き処理装置のブロック図である。図1
において、101は手続きを依頼する手続き依頼装置、102
は依頼された手続きを実行する手続き実行装置、103は
手続きを保存している手続き保存装置、104は手続き識
別子から手続きを手続き保存装置に問い合わせる手続き
問い合わせ部、105は手続きを実行する手続き実行部、1
06は手続き保存部から手続きを検索する手続き検索部、
107は手続き識別子と手続きを保存している手続き保存
部である。(Embodiment 1) Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of a storage-type remote procedure processing device having a first configuration of the present invention. Figure 1
In, 101 is a procedure requesting device for requesting a procedure, and 102
Is a procedure execution device that executes the requested procedure, 103 is a procedure storage device that stores the procedure, 104 is a procedure inquiry unit that inquires the procedure storage device about the procedure from the procedure identifier, 105 is a procedure execution unit that executes the procedure, 1
06 is a procedure search section that searches for procedures from the procedure storage section,
107 is a procedure storage unit that stores the procedure identifier and the procedure.
【0018】以上のように構成された蓄積型遠隔手続き
処理装置について、以下その動作を説明する。まず、手
続き依頼装置101は、依頼したい手続きに対応する手続
き識別子を手続き実行装置102の手続き問い合わせ部104
に転送する(ステップ1)とともに手続き実行に必要なデ
ータを手続き実行部105に転送する(ステップ2)。手続き
問い合わせ部104は、転送された手続き識別子をそのま
ま手続き保存装置103の手続き検索部106に転送する(ス
テップ3)。手続き保存部107には、手続き識別子と手続
きが組になって保存されている。手続き検索部106は、
渡された手続き識別子に対応する手続きを手続き保存部
107から取得し(ステップ4)、手続きを手続き問い合わせ
部104に転送する(ステップ5)。手続きが得られた手続き
問い合わせ部104は、手続きを手続き実行部105に渡す
(ステップ6)。手続き実行部105は、渡された手続きを解
釈し、手続き依頼装置から渡されたデータを用いて、手
続きを実行する。手続きを実行した結果は、手続き依頼
装置101に転送される(ステップ7)。The operation of the storage type remote procedure processing device configured as described above will be described below. First, the procedure requesting device 101 obtains a procedure identifier corresponding to a desired procedure from the procedure inquiry unit 104 of the procedure executing device 102.
And the data necessary for the procedure execution to the procedure execution unit 105 (step 2). The procedure inquiry unit 104 transfers the transferred procedure identifier as it is to the procedure search unit 106 of the procedure storage device 103 (step 3). The procedure storage unit 107 stores a procedure identifier and a procedure as a set. The procedure search unit 106
The procedure storage unit stores the procedure corresponding to the passed procedure identifier.
It is acquired from 107 (step 4) and the procedure is transferred to the procedure inquiry unit 104 (step 5). The procedure inquiry unit 104 that has obtained the procedure passes the procedure to the procedure execution unit 105.
(Step 6). The procedure execution unit 105 interprets the passed procedure and executes the procedure using the data passed from the procedure request device. The result of executing the procedure is transferred to the procedure requesting device 101 (step 7).
【0019】以上のように、手続きは手続き保存装置に
のみ格納されているので、記憶領域の節約になり、ま
た、手続き依頼装置はあらかじめ手続きを手続き実行装
置に転送する必要がないため、手間が軽減される。As described above, since the procedure is stored only in the procedure storage device, the storage area is saved, and the procedure requesting device does not need to transfer the procedure to the procedure executing device in advance, which is troublesome. It will be reduced.
【0020】(実施例2)以下、本発明の第2の実施例
について、図面を参照しながら説明する。図2は、本発
明の第2の構成の蓄積型遠隔手続き処理装置のブロック
図である。図2において、101は手続きを依頼する第1の
実施例と同様の手続き依頼装置、102は依頼された手続
きを実行する実施例1と同様の手続き実行装置、103は手
続きを保存している実施例1と同様の手続き保存装置、2
02は手続き識別子から手続きを手続き保存装置に問い合
わせる手続き問い合わせ部、105は手続きを実行する実
施例1と同様の手続き実行部、106は手続き保存部から手
続きを検索する実施例1と同様の手続き検索部、107は手
続き識別子と手続きを保存している実施例1と同様の手
続き保存部、201は手続き識別子とその識別子に対応す
る手続きの組を1つだけ一時的に保存しておく手続き一
時保存部である。図1と異なるのは、手続き一時保存部2
01が付加されている点である。(Second Embodiment) A second embodiment of the present invention will be described below with reference to the drawings. FIG. 2 is a block diagram of a storage type remote procedure processing device having a second configuration of the present invention. In FIG. 2, 101 is a procedure requesting device similar to that of the first embodiment for requesting a procedure, 102 is a procedure executing device similar to that of the first embodiment for executing the requested procedure, and 103 is a procedure storing procedure. Procedure storage similar to example 1, 2
02 is a procedure inquiry unit that inquires a procedure from the procedure identifier to the procedure storage device, 105 is a procedure execution unit similar to the first embodiment that executes the procedure, and 106 is a procedure search similar to the first embodiment that searches the procedure from the procedure storage unit Part 107 is a procedure storage unit that stores the procedure identifier and the procedure, which is similar to that of the first embodiment. 201 is a temporary procedure storage that temporarily stores only one set of the procedure identifier and the procedure corresponding to the identifier. It is a department. The difference from FIG. 1 is that the procedure temporary storage unit 2
This is the point where 01 is added.
【0021】以上のように構成された蓄積型遠隔手続き
処理装置について、以下その動作を説明する。まず、手
続き依頼装置101は、依頼したい手続きに対応する手続
き識別子を手続き実行装置102の手続き問い合わせ部202
に転送する(ステップ1)とともに、手続き実行に必要な
データを手続き実行部105に転送する(ステップ2)。手続
き問い合わせ部202は、転送された手続き識別子に対応
する手続きが手続き一時保存部201に保存されていれ
ば、手続きを取りだし(ステップ3)、手続き実行手段105
に渡す(ステップ4)。手続き一時保存部201に保存され
ていなければ、実施例1と同様に手続き保存装置103に問
い合わせ、手続きを取得する。手続き保存装置103の動
作は実施例1と同様である。手続き問い合わせ部202は取
得した手続きを手続き実行部105に渡す(ステップ4)とと
もに、手続きと手続き識別子を手続き一時保存部201に
渡す(ステップ4')。手続き一時保存部201は、渡された
手続き識別子と手続きを保存する。手続き一時保存部20
1は、手続き識別子と手続きを1組のみ保存できるので、
以前に保存されていた組は、消去される。手続き実行部
105は、実施例1と同様に手続きを実行する。手続きを実
行した結果は、手続き依頼装置101に転送される(ステッ
プ5)。The operation of the storage type remote procedure processing device configured as described above will be described below. First, the procedure requesting device 101 determines the procedure identifier corresponding to the desired procedure by the procedure inquiry unit 202 of the procedure executing device 102.
(Step 1) and the data necessary for procedure execution to the procedure execution unit 105 (step 2). If the procedure corresponding to the transferred procedure identifier is stored in the procedure temporary storage section 201, the procedure inquiry section 202 retrieves the procedure (step 3) and the procedure execution means 105.
To (step 4). If the procedure is not stored in the procedure temporary storage unit 201, the procedure storage device 103 is inquired and the procedure is acquired as in the first embodiment. The operation of the procedure storage device 103 is similar to that of the first embodiment. The procedure inquiry unit 202 transfers the acquired procedure to the procedure execution unit 105 (step 4), and also transfers the procedure and the procedure identifier to the procedure temporary storage unit 201 (step 4 ′). The procedure temporary storage unit 201 stores the passed procedure identifier and procedure. Temporary storage section 20
1 can save only one set of procedure identifier and procedure, so
The previously saved set is erased. Procedure execution section
105 executes the procedure as in the first embodiment. The result of executing the procedure is transferred to the procedure requesting device 101 (step 5).
【0022】次に、手続き問い合わせ部202の動作につ
いて、フローチャートを用いて詳細する。図3は手続き
問い合わせ部202の動作のフローチャートである。ま
ず、手続き問い合わせ部は、手続き依頼装置から手続き
識別子(以下、識別子A)を受けとる(301)。次に、手続き
一時保存部から手続き識別子(以下、識別子B)を取り出
す(302)。この2つの識別子が同じかどうかを調べる(30
3)。識別子Aと識別子Bが同じであれば、手続き依頼装置
から受けとった識別子に対応する手続きが手続き一時保
存部に保存されているので、手続き一時保存部から手続
きを取り出す(304)。識別子Aと識別子Bが同じでなけれ
ば、手続き保存装置に識別子Aを渡し、手続きを得る(30
5)。この手続き保存装置から得た手続きと手続き識別子
Aを手続き一時保存装置に保存する(306)。最後に、手続
き一時保存部または、手続き保存装置から得られた手続
きを手続き実行部に渡す(307)。Next, the operation of the procedure inquiry unit 202 will be described in detail with reference to a flowchart. FIG. 3 is a flowchart of the operation of the procedure inquiry unit 202. First, the procedure inquiry unit receives a procedure identifier (hereinafter, identifier A) from the procedure requesting device (301). Next, the procedure identifier (hereinafter, identifier B) is retrieved from the procedure temporary storage unit (302). Check if the two identifiers are the same (30
3). If the identifier A and the identifier B are the same, the procedure corresponding to the identifier received from the procedure requesting device is stored in the procedure temporary storage unit, so the procedure is retrieved from the procedure temporary storage unit (304). If the identifier A and the identifier B are not the same, the identifier A is passed to the procedure storage device to obtain the procedure (30
Five). Procedure and procedure identifier obtained from this procedure storage device
A is stored in the procedure temporary storage device (306). Finally, the procedure obtained from the procedure temporary storage unit or the procedure storage device is passed to the procedure execution unit (307).
【0023】以上のように、同じ手続きを連続的に実行
する時は、手続き一時保存部に手続きが保存されている
ため、手続き実行装置が手続き保存装置に手続きを問い
合わせる必要がないため、手続き依頼装置が手続き実行
を依頼してから、短時間で手続きの実行を行なうことが
できる。As described above, when the same procedure is continuously executed, since the procedure is stored in the procedure temporary storage unit, the procedure execution device does not need to inquire the procedure storage device for a procedure request. The procedure can be executed in a short time after the device requests the procedure execution.
【0024】(実施例3)以下、本発明の第3の実施例
について、図面を参照しながら説明する。図4は、本発
明の第3の構成の蓄積型遠隔手続き処理装置のブロック
図である。図4において、101は手続きを依頼する実施例
1と同様の手続き依頼装置、102は依頼された手続きを実
行する実施例1と同様の手続き実行装置、103は手続きを
保存している実施例1と同様の手続き保存装置、104は手
続き識別子から手続きを手続き保存装置に問い合わせる
実施例1と同様の手続き問い合わせ部、105は手続きを実
行する実施例1と同様の手続き実行部、106は手続き保存
部から手続きを検索する実施例1と同様の手続き検索
部、107は手続き識別子と手続きを保存している実施例1
と同様の手続き保存部、401は圧縮された手続きを復元
する手続き復元部、402は手続きを圧縮する手続き圧縮
部である。図1と異なるのは、手続き復元部401と手続き
圧縮部402が付加されている点である。(Embodiment 3) A third embodiment of the present invention will be described below with reference to the drawings. FIG. 4 is a block diagram of a storage-type remote procedure processing device having a third configuration according to the present invention. In FIG. 4, 101 is an embodiment for requesting a procedure.
A procedure requesting device similar to 1; 102, a procedure executing device similar to that of the first embodiment that executes the requested procedure; 103, a procedure storing device similar to that of the first embodiment that stores the procedure; and 104, a procedure identifier A procedure inquiry unit similar to that of the first embodiment for inquiring a procedure to the procedure storage device, 105 a procedure execution unit similar to that of the first embodiment for executing a procedure, and 106 a procedure similar to that of the first embodiment for retrieving a procedure from the procedure storage unit Example 1 in which the search unit 107 stores the procedure identifier and the procedure
A procedure storage unit 401 is the same as the above, a procedure restoration unit 401 restores a compressed procedure, and a procedure compression unit 402 compresses a procedure. The difference from FIG. 1 is that a procedure restoring unit 401 and a procedure compressing unit 402 are added.
【0025】以上のように構成された蓄積型遠隔手続き
処理装置について、以下その動作を説明する。まず、手
続き依頼装置101は、依頼したい手続きに対応する手続
き識別子を手続き実行装置102の手続き問い合わせ部104
に渡す(ステップ1)とともに手続き実行に必要なデータ
を手続き実行部105に渡す(ステップ2)。手続き問い合わ
せ部104は、渡された手続き識別子をそのまま手続き保
存装置103の手続き検索部106に転送する(ステップ3)。
手続き保存部107には、手続き識別子と手続きが組にな
って格納されている。手続き検索部106は、渡された手
続き識別子に対応する手続きを手続き保存部107から取
得し(ステップ4)、手続きを手続き圧縮部402に渡す(ス
テップ5)。手続き圧縮部402は符合圧縮することによ
り、手続きの大きさを小さくし、手続き復元手段401に
転送する(ステップ6)。手続き復元部401は、転送された
圧縮されている手続きを復元し、手続き問い合わせ部10
4に渡す(ステップ7)。手続きが得られた手続き問い合わ
せ部104は、手続きを手続き実行部105に渡す(ステップ
8)。手続き実行部105は、実施例1と同様に手続きを実行
する。手続きを実行した結果は、手続き依頼装置101に
転送される(ステップ9)。The operation of the storage type remote procedure processing device configured as described above will be described below. First, the procedure requesting device 101 obtains a procedure identifier corresponding to a desired procedure from the procedure inquiry unit 104 of the procedure executing device 102.
To the procedure execution unit 105 (step 2). The procedure inquiry unit 104 transfers the passed procedure identifier as it is to the procedure search unit 106 of the procedure storage device 103 (step 3).
The procedure storage unit 107 stores a procedure identifier and a procedure as a pair. The procedure search unit 106 acquires the procedure corresponding to the passed procedure identifier from the procedure storage unit 107 (step 4), and passes the procedure to the procedure compression unit 402 (step 5). The procedure compression unit 402 reduces the size of the procedure by code compression and transfers it to the procedure decompression unit 401 (step 6). The procedure restoration unit 401 restores the transferred compressed procedure, and the procedure inquiry unit 10
Pass to 4 (step 7). The procedure inquiry unit 104 that has obtained the procedure passes the procedure to the procedure execution unit 105 (step
8). The procedure execution unit 105 executes the procedure as in the first embodiment. The result of executing the procedure is transferred to the procedure requesting device 101 (step 9).
【0026】以上のように、手続き保存装置から手続き
実行装置に手続きを転送する時に、手続きの大きさを小
さくしてから転送するために、手続き保存装置と手続き
実行装置の間の通信路の通信速度が小さい場合にも、転
送時間を抑えることができる。As described above, when a procedure is transferred from the procedure storage device to the procedure execution device, the communication path communication between the procedure storage device and the procedure execution device is performed in order to reduce the size of the procedure. Even if the speed is low, the transfer time can be suppressed.
【0027】[0027]
【発明の効果】以上のように本発明は、手続き保存装置
を付加することにより、手続きを1箇所にのみ保存する
ので記憶資源を節約し、また、手続き実行装置が手続き
を手続き保存装置から取得するため、手続き依頼装置
は、事前に手続き実行装置に手続きを登録することな
く、手続き識別子と手続き実行に必要なデータを渡すだ
けで、手続き実行を依頼し、実行結果を得ることができ
る優れた蓄積型遠隔手続き処理装置を実現することがで
きる。As described above, according to the present invention, by adding the procedure storage device, the procedure is stored in only one place, so that the storage resource is saved, and the procedure execution device acquires the procedure from the procedure storage device. Therefore, the procedure request device can request the procedure execution and obtain the execution result simply by passing the procedure identifier and the data necessary for the procedure execution without registering the procedure in the procedure execution device in advance. It is possible to realize a storage type remote procedure processing device.
【図1】本発明の第1の実施例における蓄積型遠隔手続
き処理装置のブロック図FIG. 1 is a block diagram of a storage-type remote procedure processing device according to a first embodiment of the present invention.
【図2】本発明の第2の実施例における蓄積型遠隔手続
き処理装置のブロック図FIG. 2 is a block diagram of a storage-type remote procedure processing device according to a second embodiment of the present invention.
【図3】本発明の第2の実施例における手続き問い合わ
せ部の動作のフローチャートFIG. 3 is a flowchart of the operation of a procedure inquiry unit according to the second embodiment of the present invention.
【図4】本発明の第3の実施例における蓄積型遠隔手続
き処理装置のブロック図FIG. 4 is a block diagram of a storage-type remote procedure processing device according to a third embodiment of the present invention.
【図5】従来の蓄積型遠隔手続き処理装置のブロック図FIG. 5 is a block diagram of a conventional storage type remote procedure processing device.
【図6】従来の蓄積型遠隔手続き処理装置の手続き実行
の流れを示したブロック図FIG. 6 is a block diagram showing a procedure execution flow of a conventional storage-type remote procedure processing device.
101 手続き依頼装置 102 手続き実行装置 103 手続き保存装置 104 第1と第3の実施例における手続き問い合わせ部 105 手続き実行部 106 手続き検索部 107 手続き保存部 201 手続き一時保存部 202 第2の実施例における手続き問い合わせ部 401 手続き復元部 402 手続き圧縮部 101 Procedure Request Device 102 Procedure Execution Device 103 Procedure Storage Device 104 Procedure Inquiry Unit 105 in the First and Third Embodiments 105 Procedure Execution Unit 106 Procedure Search Unit 107 Procedure Storage Unit 201 Procedure Temporary Storage Unit 202 Procedure in Second Embodiment Inquiry section 401 Procedure restoration section 402 Procedure compression section
───────────────────────────────────────────────────── フロントページの続き (72)発明者 松本 諭 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Satoshi Matsumoto 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd.
Claims (3)
する手続き保存手段と、前記手続き保存手段に保存され
た手続きを識別子に基づき検索する検索手段を備えた手
続き保存装置と、前記手続き検索部に識別子に対応する
手続きの検索を依頼する手続き問い合わせ手段と、前記
手続き問い合わせ手段の問い合わせ結果得られる手続き
をデータを用いて実行する手続き実行手段からなる手続
き実行装置と、前記手続き実行装置に手続き識別子と前
記手続き識別子で特定される手続きの実行に必要なデー
タを転送し手続き実行依頼を行ない前記手続き実行装置
が実行した結果を受けとる手続き依頼装置を備えた蓄積
型遠隔手続き処理装置。1. A procedure storage device having a procedure storage means for storing a set of a procedure and an identifier of the procedure, a procedure storage device having a search means for searching the procedure stored in the procedure storage means based on the identifier, and the procedure search unit. , A procedure executing device for requesting a search for a procedure corresponding to the identifier, and a procedure executing device for executing a procedure obtained as an inquiry result of the procedure inquiring device using data, and a procedure identifier for the procedure executing device. And a storage type remote procedure processing device comprising a procedure requesting device for transferring data required for executing the procedure specified by the procedure identifier, requesting the procedure execution, and receiving a result executed by the procedure executing device.
送された手続きを一時的に保存する手続き一時保存手段
を備えたことを特徴とする請求項1記載の蓄積型遠隔手
続き処理装置。2. The storage-type remote procedure processing device according to claim 1, wherein the procedure execution device comprises a procedure temporary storage means for temporarily storing the procedure transferred from the procedure storage device.
置に転送するときに手続きを圧縮する手続き圧縮手段
と、手続き実行装置が前記圧縮手段により圧縮された手
続きを転送されたときに復元する手続き復元部を備えた
請求項第1または請求項2記載の蓄積型遠隔手続き処理
装置。3. A procedure compression means for compressing a procedure when the procedure storage device transfers the procedure to the procedure execution device, and a procedure restoration for restoring the procedure compressed by the procedure execution device by the compression means. The storage-type remote procedure processing device according to claim 1 or 2, further comprising a section.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5271828A JPH07129497A (en) | 1993-10-29 | 1993-10-29 | Storage type remote procedure processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5271828A JPH07129497A (en) | 1993-10-29 | 1993-10-29 | Storage type remote procedure processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH07129497A true JPH07129497A (en) | 1995-05-19 |
Family
ID=17505430
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5271828A Pending JPH07129497A (en) | 1993-10-29 | 1993-10-29 | Storage type remote procedure processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07129497A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2001069401A1 (en) * | 2000-03-15 | 2001-09-20 | Hitachi, Ltd. | Job identifying method and device |
-
1993
- 1993-10-29 JP JP5271828A patent/JPH07129497A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2001069401A1 (en) * | 2000-03-15 | 2001-09-20 | Hitachi, Ltd. | Job identifying method and device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0841626A1 (en) | Data transfer mechanism | |
| JPH09245053A (en) | Information retrieval service method and system | |
| JP2002244887A (en) | Log collection method and method | |
| JPH08235112A (en) | Distributed job management method for computer system | |
| JP2000099384A (en) | High security data cooperation method between different communication networks, high security data cooperation system between different communication networks, and storage medium storing data cooperation program | |
| JPH04177441A (en) | System program loading system | |
| JPH05113959A (en) | Remote procedure request processing method and apparatus | |
| JP2000066945A (en) | Document collection system, apparatus and method, and recording medium | |
| JP2002169805A (en) | Client-server type document search device | |
| JPH076140A (en) | Server program address management device | |
| JP2000242566A (en) | Image distribution system, image proxy device, and recording medium | |
| JPH08235096A (en) | Inter-process link connection setting system and its setting method | |
| JPH09204345A (en) | Distributed database search method | |
| JPH0675892A (en) | Remote procedure managing device | |
| JP3630547B2 (en) | Database system and search data return method | |
| JP2776747B2 (en) | File transfer device | |
| JP2004302743A (en) | Identifier correspondence relationship recognition program, information processing device, and input / output device sharing system | |
| JP2001249903A (en) | Information processing system | |
| JP2000047957A (en) | User status search method, user status search server device, user status search client terminal device, and program recording medium thereof | |
| CN119996157A (en) | Fault handling method and system considering timeliness of substation fault recording files | |
| JP3626626B2 (en) | File transfer system | |
| JPH01263746A (en) | Automatic control system for registerer list | |
| JPH06152976A (en) | Data processing system | |
| JPH11175451A (en) | Information distribution device | |
| JPH05257786A (en) | Distributed database system |