JPH05216737A - Application cooperative processing system in file transfer - Google Patents
Application cooperative processing system in file transferInfo
- Publication number
- JPH05216737A JPH05216737A JP4017564A JP1756492A JPH05216737A JP H05216737 A JPH05216737 A JP H05216737A JP 4017564 A JP4017564 A JP 4017564A JP 1756492 A JP1756492 A JP 1756492A JP H05216737 A JPH05216737 A JP H05216737A
- Authority
- JP
- Japan
- Prior art keywords
- file
- transfer
- program
- application
- file transfer
- 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
Links
- 238000012546 transfer Methods 0.000 title claims abstract description 97
- 238000012545 processing Methods 0.000 title claims abstract description 43
- 238000000034 method Methods 0.000 claims description 33
- 238000004891 communication Methods 0.000 claims description 24
- 238000003672 processing method Methods 0.000 claims description 5
- 230000003213 activating effect Effects 0.000 claims description 4
- 230000004913 activation Effects 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000002159 abnormal effect Effects 0.000 description 5
- 238000012217 deletion Methods 0.000 description 4
- 230000037430 deletion Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 102100035024 Carboxypeptidase B Human genes 0.000 description 1
- 101000946524 Homo sapiens Carboxypeptidase B Proteins 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は,ファイル転送における
アプリ連携処理方式に関し,特に,ファイル転送プログ
ラムと転送ファイルを処理するアプリケーション(利用
者)プログラムとを連携させる場合のファイル転送にお
けるアプリ連携処理方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an application cooperation processing method in file transfer, and more particularly to an application cooperation processing method in file transfer when a file transfer program and an application (user) program that processes a transfer file are linked. Regarding
【0002】ファイル転送プログラムにより転送された
ファイル(転送ファイル)を処理するために,通常,こ
の処理を行なうアプリケーションプログラムとファイル
転送プログラムとを連携させる必要がある。In order to process a file transferred by a file transfer program (transfer file), it is usually necessary to link an application program that performs this processing with a file transfer program.
【0003】[0003]
【従来の技術】図8は従来のファイル転送処理方式の一
例を示す。この方式では,ファイル転送プログラム51
がアプリケーションプログラム53に対してアプリケー
ションインタフェース52を提供することにより,両者
の連携を図っている。2. Description of the Related Art FIG. 8 shows an example of a conventional file transfer processing system. In this method, the file transfer program 51
Provides the application interface 52 to the application program 53, thereby cooperating with each other.
【0004】図8において,まず,転送を行なうため
に,アプリケーションプログラム53がアプリケーショ
ンインタフェース52を介して転送プログラム51に対
して転送機能の使用(open)を宣言し,同様にして
事象待ち(event)を発生する。In FIG. 8, first, in order to perform the transfer, the application program 53 declares the use of the transfer function (open) to the transfer program 51 via the application interface 52, and similarly waits for an event (event). To occur.
【0005】この状態で,ファイル転送の通信相手先
(プログラム)1からの転送依頼がファイル転送プログ
ラム51に対してあると,これをアプリケーションイン
タフェース52を介して受けたアプリケーションプログ
ラム53が,転送依頼の中のファイル名を調べそのファ
イル4についてのデータ作成等の処理を行ないライブラ
リとすると共に,転送開始をアプリケーションインタフ
ェース52を介してファイル転送プログラム51に通知
する。ファイル転送プログラム51は,この転送開始を
先の転送依頼に対応する応答として通信相手先1に返
す。In this state, when there is a transfer request from the communication destination (program) 1 for file transfer to the file transfer program 51, the application program 53 which receives this request via the application interface 52 requests the transfer. The file name in the file is checked to create data for the file 4 and the library is created, and transfer start is notified to the file transfer program 51 via the application interface 52. The file transfer program 51 returns this transfer start to the communication partner 1 as a response corresponding to the previous transfer request.
【0006】次に,ファイル転送プログラム51がアプ
リケーションプログラム53の作成したライブラリ(フ
ァイル4)を通信相手先1にファイル転送し,これが完
了するとその旨をアプリケーションインタフェース52
を介してアプリケーションプログラム53に通知する。[0006] Next, the file transfer program 51 transfers the library (file 4) created by the application program 53 to the communication partner 1, and when this is completed, the application interface 52 notifies that fact.
The application program 53 is notified via.
【0007】アプリケーションプログラム53は,この
ファイル転送が正常終了したか否かを調べ,その結果に
応じてファイル4の処理を行ない,この処理が終了した
らその旨をアプリケーションインタフェース52を介し
てファイル転送プログラム51に通知する。ファイル転
送プログラム51は,この通知を受けて通信相手先1に
転送終了を返す。The application program 53 checks whether or not the file transfer is normally completed, and processes the file 4 in accordance with the result. When this processing is completed, a message to that effect is sent via the application interface 52. Notify 51. Upon receiving this notification, the file transfer program 51 returns the transfer end to the communication partner 1.
【0008】[0008]
【発明が解決しようとする課題】前述の従来技術によれ
ば,ファイル転送を動作させる機能を,本来ファイル4
を処理するためのプログラムであるアプリケーションプ
ログラム53が持たなければならないという問題があ
る。According to the above-mentioned prior art, the function for operating the file transfer is originally the file 4
There is a problem that the application program 53, which is a program for processing, must have.
【0009】即ち,1つのファイル転送につき,アプリ
ケーションプログラム53が,open,event,
転送開始,転送終了の通知をその都度行なわなければな
らない。また,アプリケーションプログラム53が,フ
ァイル名の検索とそれに基づく処理及び正常/異常終了
の調査とそれに基づく処理までも行なわなければならな
い。このため,アプリケーションプログラム53の負担
が大きい。That is, for one file transfer, the application program 53 opens, event,
Notification of transfer start and transfer end must be given each time. Further, the application program 53 has to perform a file name search and a process based on it, and a normal / abnormal end check and a process based on it. Therefore, the load of the application program 53 is heavy.
【0010】また,このような処理をアプリケーション
プログラム53が意識しなければならないので,アプリ
ケーションプログラム53が複雑になってしまい,その
開発のための負担が大きいという問題がある。更に,ア
プリケーションプログラム53の開発を常にファイル転
送プログラム51に対応する内容となるように行なわな
ければならないという問題がある。Further, since the application program 53 has to be aware of such processing, there is a problem that the application program 53 becomes complicated and a burden for its development is heavy. Further, there is a problem that the application program 53 must be developed so as to have the contents corresponding to the file transfer program 51 at all times.
【0011】なお,前述の従来技術とは別に,ファイル
転送プログラム51とアプリケーションプログラム53
との連携を図る方式として,ファイル転送プログラム5
1を起動し,その終了ステータスに応じた処理をアプリ
ケーションプログラム53が行なうようにする方式があ
る。In addition to the above-mentioned conventional technique, a file transfer program 51 and an application program 53 are provided.
File transfer program 5
There is a method in which 1 is started and the application program 53 performs the processing according to the end status.
【0012】しかし,この方式によっても,ファイル転
送を動作させる機能をアプリケーションプログラム53
が持たなければならないうえ,複数の転送を同時に処理
することが難しくセンタシステムとしての動作ができな
いという問題がある。However, even with this method, the function for operating the file transfer is provided by the application program 53.
In addition to this, it is difficult to handle multiple transfers at the same time, and the center system cannot operate.
【0013】本発明は,ファイル転送プログラムとアプ
リケーションプログラムとの連携におけるアプリケーシ
ョンプログラムの負担を軽減したファイル転送における
アプリ連携処理方式を提供することを目的とする。An object of the present invention is to provide an application cooperation processing method for file transfer, which reduces the load on the application program in cooperation between the file transfer program and the application program.
【0014】[0014]
【課題を解決するための手段】図1は本発明の原理構成
図であり,本発明によるデータ処理システムを示す。こ
のシステムはあるシステム(自システム)と他のシステ
ム(通信相手先システム,以下通信相手先)とを回線そ
の他により接続してなり,これらの間でファイルを転送
する機能を備える。FIG. 1 is a block diagram of the principle of the present invention, showing a data processing system according to the present invention. This system has a function of connecting a certain system (self system) and another system (communication partner system, hereafter communication partner) through a line or the like, and having a function of transferring a file between them.
【0015】このファイル転送を行なうために,例えば
自システム側にファイル転送プログラム2と複数のアプ
リケーションプログラム3とが設けられる。ファイル転
送プログラム2は,通信相手先1との間でファイル4の
転送を行なうものであり,アプリケーションプログラム
3を起動する機能を備える。即ち,ファイル4の転送の
前後に,複数のアプリケーションプログラム3のうち当
該転送に応じた処理を行なうアプリケーションプログラ
ム3を起動する。To perform this file transfer, for example, a file transfer program 2 and a plurality of application programs 3 are provided on the system side. The file transfer program 2 transfers the file 4 to / from the communication partner 1, and has a function of activating the application program 3. That is, before and after the transfer of the file 4, the application program 3 that executes a process corresponding to the transfer is started from among the plurality of application programs 3.
【0016】アプリケーションプログラム3は,複数設
けられ,その各々が,ファイル4の転送に伴う予め定め
られた所定の処理であって,互いに異なる処理を行なう
ようにされる。そして,ファイル転送プログラム2によ
って起動されたアプリケーションプログラム3が,その
アプリケーションプログラム3が行なうように予め定め
られた所定の処理を当該転送に係るファイル4について
行なう。A plurality of application programs 3 are provided, and each of them performs a predetermined process associated with the transfer of the file 4 and performs different processes. Then, the application program 3 started by the file transfer program 2 performs a predetermined process, which is predetermined by the application program 3, on the file 4 related to the transfer.
【0017】[0017]
【作用】ファイル転送前において,ファイル転送プログ
ラム2が1つのアプリケーションプログラム3を起動す
る。起動されたアプリケーションプログラム3は,転送
されるファイル4について当該転送の内容(送信,受
信)に応じて所定の処理を行なう。例えば,ファイル4
の削除,作成を行なう。Before the file transfer, the file transfer program 2 activates one application program 3. The activated application program 3 performs a predetermined process on the transferred file 4 according to the content (transmission, reception) of the transfer. For example, file 4
Delete and create.
【0018】この後,ファイル転送プログラム2が,当
該ファイル4について通信相手先1との間でのファイル
転送を行なう。即ち,ファイル4の送信又は受信を行な
う。ファイル転送後において,ファイル転送プログラム
2が再び1つのアプリケーションプログラム3を起動す
る。起動されたアプリケーションプログラム3は,転送
されたファイル4について当該転送の結果(正常終了,
異常終了)または転送の内容(送信,受信)に応じて所
定の処理を行なう。例えば,ファイル4の削除,出力,
加工,回収を行なう。After that, the file transfer program 2 transfers the file 4 with respect to the communication partner 1. That is, the file 4 is transmitted or received. After the file transfer, the file transfer program 2 activates one application program 3 again. The started application program 3 determines the transfer result (normal end,
Predetermined processing is performed according to the content of the transfer (abnormal termination) or transfer (transmission, reception). For example, delete file 4, output,
Process and collect.
【0019】以上によれば,アプリケーションプログラ
ム3はファイル転送プログラム2から起動された場合に
ファイル4について所定の処理を行なえばよい。従っ
て,ファイル転送毎にアプリケーションプログラム3が
前述したopen等の通知や種々の処理等を行なう必要
がないので,その負担を軽減することができる。また,
これにより,前述のopen等の処理をアプリケーショ
ンプログラム3が意識する必要もないので,その開発の
ための負担も小さくでき,更に,アプリケーションプロ
グラム3をファイル転送プログラム2とは切離して開発
できる。According to the above, the application program 3 may perform a predetermined process on the file 4 when it is started by the file transfer program 2. Therefore, it is not necessary for the application program 3 to perform the above-mentioned notification of open or the like and various processings each time the file is transferred, so that the load can be reduced. Also,
This eliminates the need for the application program 3 to be aware of the above-mentioned processing such as open, so that the burden for the development can be reduced, and the application program 3 can be developed separately from the file transfer program 2.
【0020】[0020]
【実施例】図2は本発明の実施例説明図であり,図2
(A)はファイルAを送信する場合,図2(B)はファ
イルBを受信する場合について示す。FIG. 2 is an explanatory view of an embodiment of the present invention.
2A shows the case of transmitting the file A, and FIG. 2B shows the case of receiving the file B.
【0021】図2(A)において,自システムのファイ
ル転送プログラム2は,通信相手先1(のファイル転送
プログラム)からファイルAの受信依頼(転送依頼)を
受け取る。これに応じて,ファイル転送プログラム2
は,転送すべきファイルAを作成するために,ファイル
4の作成処理を行なうアプリケーションプログラム3
(以下,アプリ#1)を起動する。In FIG. 2A, the file transfer program 2 of its own system receives a reception request (transfer request) of the file A from (the file transfer program of) the communication partner 1. In response to this, the file transfer program 2
Is an application program 3 that performs a process of creating a file 4 in order to create a file A to be transferred.
(Hereinafter, application # 1) is started.
【0022】この起動の際,ファイル転送プログラム2
は,所望のファイル4についての所望の処理を行なわせ
るために,アプリケーションプログラム3に対して起動
情報を渡す。起動情報については後述する。At the time of this activation, the file transfer program 2
Passes the startup information to the application program 3 in order to perform the desired processing on the desired file 4. The activation information will be described later.
【0023】起動されたアプリ#1は,起動情報に従っ
てファイル4の作成処理を行なってファイルAを作成
し,ファイル転送プログラム2に制御を戻す(復帰す
る)。これに応じて,ファイル転送プログラム2は,ま
ず,先の受信依頼に対する応答を通信相手先1に返して
ファイルAを通信相手先1に送信する。The started application # 1 performs the process of creating the file 4 according to the start information to create the file A, and returns (returns) control to the file transfer program 2. In response to this, the file transfer program 2 first returns a response to the previous reception request to the communication partner 1 and transmits the file A to the communication partner 1.
【0024】ファイル送信後,ファイル転送プログラム
2は,転送したファイルAを削除するために,ファイル
4の削除依頼を行なうアプリケーションプログラム3
(以下,アプリ#2)を起動する。After transmitting the file, the file transfer program 2 requests the deletion of the file 4 in order to delete the transferred file A.
(Hereinafter, application # 2) is started.
【0025】起動されたアプリ#2は,起動情報に従っ
てファイル4の削除処理を行なってファイルAを削除
し,ファイル転送プログラム2に復帰する。これに応じ
て,ファイル転送プログラム2は,ファイル転送の終了
通知を通信相手先1に返す。The started application # 2 deletes the file A by deleting the file 4 according to the start information, and returns to the file transfer program 2. In response to this, the file transfer program 2 returns a file transfer end notification to the communication partner 1.
【0026】図2(B)において,ファイル転送プログ
ラム2は,通信相手先1からファイルBへの送信依頼
(転送依頼)を受け取る。これに応じて,ファイル転送
プログラム2は,転送されてくるファイルBを格納する
ために,ファイル4の初期化処理を行なうアプリ#2を
起動する。In FIG. 2B, the file transfer program 2 receives a transmission request (transfer request) from the communication partner 1 to the file B. In response to this, the file transfer program 2 activates the application # 2 for initializing the file 4 in order to store the transferred file B.
【0027】起動されたアプリ#2は,起動情報に従っ
てファイル4の初期化処理を行なってファイルB(のデ
ータ)を削除し,ファイル転送プログラム2に制御を戻
す(復帰する)。The started application # 2 initializes the file 4 according to the start information, deletes the file B (data thereof), and returns (returns) control to the file transfer program 2.
【0028】これに応じて,ファイル転送プログラム2
は,まず,先の送信依頼に対する応答を通信相手先1に
返してファイルBを通信相手先1から受信する。ファイ
ル受信後,ファイル転送プログラム2は,転送したファ
イルBを出力するために,ファイル4の出力処理を行な
うアプリケーションプログラム3(以下,アプリ#3)
を起動する。In response to this, the file transfer program 2
First, the response to the previous transmission request is returned to the communication partner 1, and the file B is received from the communication partner 1. After receiving the file, the file transfer program 2 performs an output process of the file 4 in order to output the transferred file B (hereinafter, application # 3).
To start.
【0029】起動されたアプリ#3は,起動情報に従っ
てファイル4の出力処理を行なってファイルBを出力
(例えばプリントアウト)し,ファイル転送プログラム
2に復帰する。これに応じて,ファイル転送プログラム
2は,ファイル転送の終了通知を通信相手先1に返す。The activated application # 3 outputs the file B according to the activation information, outputs the file B (for example, prints out), and returns to the file transfer program 2. In response to this, the file transfer program 2 returns a file transfer end notification to the communication partner 1.
【0030】なお,ファイル転送が正常終了した場合に
は,以上の如く,送信側におけるファイルAの削除(図
2(A))又は受信側におけるファイルBの出力(図2
(B))等のファイル4の加工処理が可能であるが,逆
にファイル転送自体が異常終了した場合には,ファイル
A又はBの回復処理が行なわれる。When the file transfer ends normally, as described above, the file A is deleted on the transmitting side (FIG. 2A) or the file B is output on the receiving side (FIG. 2).
Although processing of the file 4 such as (B) is possible, conversely, if the file transfer itself ends abnormally, the recovery processing of the file A or B is performed.
【0031】この場合,ファイル転送後に,回復処理を
行なうアプリケーションプログラム3(以下,アプリ#
4,図示せず)が起動される。起動されたアプリ#4
は,ファイルAの作成前又はファイルBの削除前の状態
を復元する。In this case, the application program 3 (hereinafter, application #
4, not shown) is activated. Launched application # 4
Restores the state before the creation of file A or the deletion of file B.
【0032】このように,アプリケーションプログラム
3はファイル4についての種々の処理を行ない得るよう
に予め複数設けられる。ファイル転送プログラム2は必
要に応じてアプリケーションプログラム3を選択して起
動する。このために,ファイル転送プログラム2はファ
イル転送に関する事象(送信,受信,正常終了,異常終
了等)の各々とこれらを処理(作成,削除,出力,回収
等)するために起動すべきアプリケーションプログラム
3の名前との関係を予め保持する。As described above, a plurality of application programs 3 are provided in advance so that various processes for the file 4 can be performed. The file transfer program 2 selects and starts the application program 3 as needed. For this reason, the file transfer program 2 executes each event related to file transfer (transmission, reception, normal termination, abnormal termination, etc.) and the application program 3 to be started in order to process these (creation, deletion, output, collection, etc.). Holds the relationship with the name in advance.
【0033】図3は起動情報について示す。起動情報6
は,ファイル転送プログラム2がアプリケーションプロ
グラム3を起動するときに必要な情報であり,アプリケ
ーションプログラム3は,当情報に基づいて所定の処理
を行う。FIG. 3 shows the start information. Startup information 6
Is information necessary when the file transfer program 2 starts the application program 3, and the application program 3 performs a predetermined process based on this information.
【0034】起動情報6は,各ファイル4に対応し,フ
ァイル転送環境設定プログラム7によって環境情報5と
して予め定められたフォーマットで作成される。起動情
報6の作成は,ファイル転送依頼の有無とは無関係に,
ファイル転送依頼に先立って(例えばファイル転送環境
情報設定時)行なわれる。The startup information 6 corresponds to each file 4 and is created by the file transfer environment setting program 7 as the environment information 5 in a predetermined format. Creation of the startup information 6 is independent of whether or not there is a file transfer request.
It is performed prior to the file transfer request (for example, when setting the file transfer environment information).
【0035】環境定義プログラムは,例えばファイル転
送プログラム2を起動する以前に利用者により起動さ
れ,入力された起動情報6を環境情報5に格納する。環
境情報5は,例えば,ファイル管理情報,アプリケーシ
ョンプログラム管理情報等からなる。The environment definition program is started by the user before the file transfer program 2 is started, and stores the input start information 6 in the environment information 5. The environment information 5 includes, for example, file management information, application program management information, and the like.
【0036】起動情報6は転送ファイル名等以下の情報
からなる。 転送ファイル名 :FILE1 アプリコマンド起動記述(開始時) :コマンド名
パラメタ1 パラメタ2 パラメタ3 パラメタ
4....パラメタn アプリコマンド起動記述(終了時) :コマンド名
パラメタ1 パラメタ2 パラメタ3 パラメタ
4....パラメタn 転送ファイル名受渡しの可否 :行う or
行わない 転送ファイルの置き換え置換文字列 : 転送処理結果受渡しの可否 :行う or
行わない 転送処理結果の置き換え置換文字列 : これらの情報乃至は以下の如くに設定される。The startup information 6 is composed of the following information such as a transfer file name. Transfer file name: FILE1 application command start description (start): command name parameter 1 parameter 2 parameter 3 parameter 4 .... parameter n application command start description (end): command name parameter 1 parameter 2 parameter 3 parameter 4. ... Parameter n Transfer file name can be passed: Perform or
Not performed Replacement of replacement file Replacement character string: Transfer process result passability: Perform or
Not performed Replacement of replacement processing result Replacement character string: These pieces of information or the following are set.
【0037】 転送対象のファイル名を設定 転送開始直前に起動したいアプリコマンドの起動記
述を設定 転送終了直後に起動したいアプリコマンドの起動記
述を設定 で設定したアプリコマンド起動記述の文字列の
内,で指定された文字列の部分を転送ファイル名に置
き換えるか否かを設定 転送ファイル名と置き換える文字列を設定 で設定したアプリコマンド起動記述の文字列の
内,で指定された文字列の部分を転送結果に置き換え
るか否かを設定 転送結果と置き換える文字列を設定 起動情報6は,アプリケーションプログラム3がファイ
ル4を処理する際の動作環境を定義する。このために,
のファイル名をキーとして,及びの連携アプリケ
ーション情報,乃至のファイル情報を含む。Set the file name of the transfer target. Set the activation description of the application command you want to activate immediately before starting the transfer. Of the character string of the application command activation description set in Set the activation description of the application command you want to activate immediately after the transfer ends. Set whether to replace the specified character string part with the transfer file name. Transfer the part of the character string specified in in the application command start description character string set in Set the character string to be replaced with the transfer file name. Set whether to replace with result Set character string to replace with transfer result Startup information 6 defines the operating environment when application program 3 processes file 4. For this,
The file name of is used as a key, and the linked application information of and the file information of are included.
【0038】ここで,起動情報6は,ファイル4毎に作
成されるのに対し,アプリケーションプログラム3はフ
ァイル形式(及び/又はデータ形式)毎に作成される。
例えば,図3の如く,ファイル形式XXのファイルA乃
至Mについて,当該ファイル形式XXをサポートする1
組のアプリケーションプログラム3が設けられる。1組
のアプリケーションプログラム3は,各々が作成処理,
削除処理,出力処理,....等の処理を行なうアプリXX
#1,XX#2,XX#3,....からなる。また,ファ
イル形式YYのファイルM+1乃至Nについても,同様
に,1組のアプリケーションプログラム3が設けられ
る。Here, the startup information 6 is created for each file 4, whereas the application program 3 is created for each file format (and / or data format).
For example, as shown in FIG. 3, for files A to M of file format XX, the file format XX is supported 1
A set of application programs 3 is provided. One set of application programs 3 is created by each
App XX that performs processing such as deletion processing, output processing, ...
# 1, XX # 2, XX # 3, ... Further, a set of application programs 3 is similarly provided for the files M + 1 to N of the file format YY.
【0039】これにより,1つのアプリケーションプロ
グラム3で多くのファイル形式(及び/又はデータ形
式)をサポートする必要がないので,アプリケーション
プログラム3を簡単な構成にでき,開発も容易にでき
る。As a result, one application program 3 does not need to support many file formats (and / or data formats), so that the application program 3 can have a simple structure and can be easily developed.
【0040】一方,アプリケーションプログラム3とは
独立に起動情報6をファイル4に対応させることによ
り,ファイル転送プログラム2で起動情報6を作成でき
る。これにより,ファイル転送毎(又はこれに伴うファ
イル4の処理毎)に起動情報6を利用者が設定する必要
がないので,その負担を軽くできる。On the other hand, the start information 6 can be created by the file transfer program 2 by associating the start information 6 with the file 4 independently of the application program 3. As a result, the user does not need to set the startup information 6 for each file transfer (or each time the file 4 is processed accordingly), so that the burden can be lightened.
【0041】また,起動情報6から起動したいアプリケ
ーションプログラム3を指定でき,かつ,アプリケーシ
ョンプログラム3をファイル転送プログラム2とは独立
させることができるので,アプリケーションプログラム
3として既存のプログラムを利用できる。即ち,ファイ
ル4毎にその処理を行なうプログラムが用意されている
のが通常であるから,このプログラムを本発明のアプリ
ケーションプログラム3として利用でき,開発の負担を
極めて少なくできる。Since the application program 3 to be started can be designated from the start information 6 and the application program 3 can be made independent of the file transfer program 2, an existing program can be used as the application program 3. That is, since a program for performing the processing is usually prepared for each file 4, this program can be used as the application program 3 of the present invention, and the burden of development can be extremely reduced.
【0042】起動情報6の情報は,ファイル4の名前
(例えば“A”)であり,例えば,ファイル4の作成時
に設定され,転送対象のファイル4の起動情報6の検索
のために用いられる。The information of the startup information 6 is the name of the file 4 (for example, "A"), which is set when the file 4 is created, and is used for searching the startup information 6 of the file 4 to be transferred.
【0043】起動情報6の情報及びは,例えば起動
の直前に設定され,図4(A)に示すフォーマットとさ
れる。図4(A)において,コマンド名(アプリ名)に
は,起動したいアプリケーションプログラム3の名前
(実際は,これを起動するためのコマンドをも含む)が
設定される。The information and the start information 6 are set, for example, immediately before the start and have the format shown in FIG. 4 (A). In FIG. 4A, the command name (application name) is set to the name of the application program 3 to be started (in fact, it also includes a command for starting this).
【0044】パラメタ1以下には,各々,所定の事項
(例えば,ファイルの先頭位置,大きさ等)が必要に応
じて設定される。特に,パラメタ3において,所定の制
御文字が転送対象のファイル4のファイル名(の文字
列)により置換される。所定の制御文字としては,例え
ば,“?(?FILE?)”が用いられる。この制御文
字は情報として設定される。この置換は情報でファ
イル名の受渡しを行なう旨が設定されている場合に行な
われる。通常,情報は受渡しを行なうように設定さ
れ,情報は固定とされる。Predetermined items (for example, the start position and size of the file) are set in the parameters 1 and below as required. In particular, in Parameter 3, a predetermined control character is replaced by (the character string of) the file name of the file 4 to be transferred. For example, “? (? FILE?)” Is used as the predetermined control character. This control character is set as information. This replacement is performed when the file name is set to be delivered by the information. Usually, information is set to be delivered, and information is fixed.
【0045】これによれば,起動するアプリケーション
プログラム3に対して,転送対象のファイル4はどれで
あるかを知らせることができるので,1つのアプリケー
ションプログラム3で複数のファイル4の処理に対応で
きる。According to this, since it is possible to notify the application program 3 to be started of which file 4 is the transfer target, one application program 3 can handle the processing of a plurality of files 4.
【0046】また,パラメタ5において,所定の制御文
字が転送処理結果(を示す文字列)により置換される。
所定の制御文字としては,例えば“?(?RTN?)”
が用いられる。この制御文字は情報として設定され
る。この置換は情報で転送結果の受渡しを行なう旨が
設定されている場合に行なわれる。通常情報は受渡し
を行なうように設定され,情報は固定とされる。Further, in parameter 5, a predetermined control character is replaced with (the character string indicating) the transfer processing result.
As the predetermined control character, for example, "? (? RTN?)"
Is used. This control character is set as information. This replacement is performed when it is set that information is to be passed as a transfer result. Normally, information is set to be delivered, and information is fixed.
【0047】これによれば,起動するアプリケーション
プログラム3に対して,転送処理結果を知らせることが
でき,転送結果に対応した処理が可能となる。なお,図
4(B)に示す如く,パラメタ3(又は他のパラメタ)
において,所定の制御文字(例えば“#”)が設定され
ている場合に,これを通信相手先1(例えばOSIネッ
トワークの相手PASP)の名前により置き換えるよう
にしてもよい。According to this, the transfer processing result can be notified to the application program 3 to be activated, and the processing corresponding to the transfer result becomes possible. In addition, as shown in FIG. 4 (B), parameter 3 (or another parameter)
In the case where a predetermined control character (for example, "#") is set, it may be replaced with the name of the communication partner 1 (for example, the partner PASP of the OSI network).
【0048】これによれば,起動するアプリケーション
プログラム3に対して,処理するファイル4がどの通信
相手先1との間での転送に係るものであるかを知らせる
ことができるので,処理するデータと通信相手先1とを
関連づけたデータ加工等の処理を行なうことが可能とな
る。According to this, since it is possible to inform the application program 3 to be started, which communication destination 1 the file 4 to be processed relates to, it is possible to notify the data to be processed. It becomes possible to perform processing such as data processing in association with the communication partner 1.
【0049】図5乃至図7はファイル転送処理フローで
ある。図5において,事象待ちの状態のファイル転送プ
ログラム2で通信相手先1からの所定のファイル4(以
下,ファイルAとする)についてのファイル転送依頼の
事象が発生する(ステップ1)。5 to 7 are file transfer processing flows. In FIG. 5, the file transfer program 2 waiting for an event causes a file transfer request event for a predetermined file 4 (hereinafter referred to as file A) from the communication partner 1 (step 1).
【0050】この依頼に応じて,ファイル転送プログラ
ム2が所定の処理を行なうアプリケーションプログラム
3(以下,アプリ#1とする)を起動するための起動情
報6を作成する(ステップ2)。ステップ2について
は,図6により後述する。In response to this request, the file transfer program 2 creates activation information 6 for activating the application program 3 (hereinafter referred to as application # 1) which performs a predetermined process (step 2). Step 2 will be described later with reference to FIG.
【0051】ファイル転送プログラム2は,アプリ#1
を起動し(ステップ3),当該アプリ#1からの復帰待
ちの状態となる(ステップ4)。起動されたアプリ#1
は,起動情報6に従って,所定のファイルAについて所
定の処理を行ない,ファイル転送プログラム2に復帰す
る。The file transfer program 2 is the application # 1.
Is started (step 3), and a state of waiting for recovery from the application # 1 is entered (step 4). Launched application # 1
Performs predetermined processing on a predetermined file A according to the start information 6 and returns to the file transfer program 2.
【0052】復帰したファイル転送プログラム2は,ア
プリ#1による処理が正常終了であったか否かを調べ
(ステップ5),その結果に応じてファイル送信依頼に
対する応答として正常又は異常を返す(ステップ6)。The restored file transfer program 2 checks whether or not the processing by the application # 1 was completed normally (step 5), and returns normal or abnormal as a response to the file transmission request according to the result (step 6). ..
【0053】ステップ5において正常である場合,ステ
ップ6の後通信相手先1との間でのファイルAの転送処
理を行なう(ステップ7)。ステップ5において異常で
ある場合,ステップ6の後ステップ7を省略する。When it is normal in step 5, the transfer processing of the file A with the communication partner 1 is performed after step 6 (step 7). If it is abnormal in step 5, step 7 is omitted after step 6.
【0054】ファイル転送が終了すると,ファイル転送
プログラム2が所定の処理を行なうアプリケーションプ
ログラム3(以下,アプリ#2とする)を起動するため
の起動情報6を作成する(ステップ8)。ステップ8に
ついては,図7により後述する。When the file transfer is completed, the file transfer program 2 creates activation information 6 for activating the application program 3 (hereinafter referred to as application # 2) which performs a predetermined process (step 8). Step 8 will be described later with reference to FIG.
【0055】ファイル転送プログラム2は,アプリ#2
を起動し(ステップ9),当該アプリ#2からの復帰待
ちの状態となる(ステップ10)。起動されたアプリ#
2は,起動情報6に従って,所定のファイルAについて
所定の処理を行ない,ファイル転送プログラム2に復帰
する。The file transfer program 2 is the application # 2.
Is started (step 9), and a state of waiting for return from the application # 2 is entered (step 10). Launched app #
2 performs a predetermined process on a predetermined file A according to the start information 6 and returns to the file transfer program 2.
【0056】復帰したファイル転送プログラム2は,ア
プリ#2により処理が正常終了であったか否かを調べ
(ステップ11),その結果に応じてファイル転送の後
処理,例えば当該結果を反映した通信相手先1への終了
通知を行なう(ステップ12)。The restored file transfer program 2 checks whether or not the processing is normally completed by the application # 2 (step 11), and executes the post-processing of the file transfer according to the result, for example, the communication partner reflecting the result. The end is notified to 1 (step 12).
【0057】この後,ファイル転送プログラム2は事象
待ちの状態となる(ステップ13)。図6は主にステッ
プ2,即ちファイル転送前のファイル転送プログラム2
による起動情報6の作成処理について示す。After that, the file transfer program 2 is in a state of waiting for an event (step 13). FIG. 6 mainly shows Step 2, that is, the file transfer program 2 before the file transfer.
The creation processing of the startup information 6 by the is shown.
【0058】図6において,ファイル名“A”を用いて
各起動情報6の情報を検索し(ステップ14),ファ
イルAに対応する起動情報Aを求める。起動情報Aの情
報を調べ,転送ファイル名受渡しの可否を判断する
(ステップ15)。In FIG. 6, the information of each starting information 6 is searched using the file name "A" (step 14), and the starting information A corresponding to the file A is obtained. The information in the startup information A is checked to determine whether or not the transfer file name can be delivered (step 15).
【0059】受渡しを行なう場合,転送前であるから起
動情報Aの情報を調べ,これに情報で指定された文
字列があるかを判断する(ステップ16)。当該文字列
がある場合,前記指定された文字列部分をファイルAの
ファイル名で置換する(ステップ17)。When delivering, the information of the start information A is checked because it is before transfer, and it is judged whether or not there is a character string designated by the information (step 16). If the character string is present, the designated character string portion is replaced with the file name of the file A (step 17).
【0060】ステップ15において受渡しを行なわない
場合はステップ16及び17を省略する。ステップ16
において当該文字列がない場合はステップ17を省略す
る。この後,アプリ#1を起動する。即ち,起動情報A
の情報を実行する(ステップ3)。If the delivery is not performed in step 15, steps 16 and 17 are omitted. Step 16
When there is no such character string in step, step 17 is omitted. After that, the application # 1 is activated. That is, the start information A
Information is executed (step 3).
【0061】図7は主に図5のステップ8,即ちファイ
ル転送後のファイル転送プログラム2による起動情報6
の作成処理について示す。図7において,ファイル名
“A”を用いて各起動情報6の情報を検索し(ステッ
プ18),ファイルAに対応する起動情報Aを求める。FIG. 7 mainly shows step 8 of FIG. 5, that is, startup information 6 by the file transfer program 2 after file transfer.
The creation process of is shown. In FIG. 7, the file name "A" is used to search the information of each startup information 6 (step 18), and the startup information A corresponding to the file A is obtained.
【0062】起動情報Aの情報を調べ,転送ファイル
名受渡しの可否を判断する(ステップ19)。受渡しを
行なう場合,転送後であるから起動情報Aの情報を調
べ,これに情報で指定された文字列があるかを判断す
る(ステップ20)。The information in the start information A is checked to determine whether or not the transfer file name can be delivered (step 19). When delivering, the information of the start information A is checked since it is after the transfer, and it is judged whether or not there is a character string designated by the information (step 20).
【0063】当該文字列がある場合,前記指定された文
字列部分をファイルAのファイル名で置換する(ステッ
プ21)。ステップ19において受渡しを行なわない場
合はステップ20及び21を省略する。ステップ20に
おいて当該文字列がない場合はステップ21を省略す
る。If the character string exists, the designated character string portion is replaced with the file name of the file A (step 21). When the delivery is not performed in step 19, steps 20 and 21 are omitted. If the character string does not exist in step 20, step 21 is omitted.
【0064】次に,起動情報Aの情報を調べ,ステッ
プ7の転送結果の受渡しの可否を判断する(ステップ2
2)。受渡しを行なう場合,転送後であるから起動情報
Aの情報を調べ,これに情報で指定された文字列が
あるかを判断する(ステップ23)。Next, the information of the start information A is checked to determine whether or not the transfer result of step 7 can be delivered (step 2).
2). When delivering, the information in the start information A is checked because it is after transfer, and it is judged whether or not there is a character string designated by the information (step 23).
【0065】当該文字列がある場合,前記指定された文
字列部分をファイルAのファイル名で置換する(ステッ
プ24)。ステップ22において受渡しを行なわない場
合はステップ23及び24を省略する。ステップ23に
おいて当該文字列がない場合はステップ24を省略す
る。この後,アプリ#2を起動する。即ち,起動情報A
の情報を実行する(ステップ9)。If the character string exists, the specified character string portion is replaced with the file name of the file A (step 24). When the delivery is not performed in step 22, steps 23 and 24 are omitted. If there is no such character string in step 23, step 24 is omitted. After that, the application # 2 is activated. That is, the start information A
Is executed (step 9).
【0066】[0066]
【発明の効果】以上説明したように,本発明によれば,
ファイル転送処理において,ファイル転送プログラムが
ファイル転送の前後に当該転送に応じた所定の処理を行
なうアプリケーションプログラムを起動するようにする
ことにより,アプリケーションプログラムは予め定めら
れた所定の処理を行ないopen等の転送のための処理
を行なわなくてもよいようにできるので,アプリケーシ
ョンプログラムの負担を軽減でき,また,アプリケーシ
ョンプログラムがファイル転送を意識する必要を無くす
ことができるので,アプリケーションプログラムの開発
の負担を小さくでき,既存のプログラムを利用すること
もできる。As described above, according to the present invention,
In the file transfer process, by causing the file transfer program to start an application program that performs a predetermined process according to the transfer before and after the file transfer, the application program performs a predetermined process, such as open. Since the processing for transfer need not be performed, the load on the application program can be reduced, and the application program need not be aware of file transfer, thus reducing the load on the application program development. Yes, you can use existing programs.
【図1】本発明の原理構成図である。FIG. 1 is a principle configuration diagram of the present invention.
【図2】実施例説明図である。FIG. 2 is an explanatory diagram of an example.
【図3】起動情報説明図である。FIG. 3 is an explanatory diagram of activation information.
【図4】アプリコマンド起動記述の説明図である。FIG. 4 is an explanatory diagram of an application command activation description.
【図5】ファイル転送処理フローである。FIG. 5 is a file transfer processing flow.
【図6】ファイル転送処理フローである。FIG. 6 is a file transfer processing flow.
【図7】ファイル転送処理フローである。FIG. 7 is a file transfer processing flow.
【図8】従来技術説明図である。FIG. 8 is a diagram illustrating a conventional technique.
1 通信相手先 2 ファイル転送プログラム 3 アプリケーションプログラム 4 ファイル 5 環境情報 6 起動情報 1 communication destination 2 file transfer program 3 application program 4 file 5 environment information 6 startup information
Claims (2)
(4)の転送を行なうファイル転送プログラム(2)
と,前記ファイル(4)を処理するアプリケーションプ
ログラム(3)とを備えたデータ処理システムにおい
て,前記ファイル転送プログラム(2)に前記アプリケ
ーションプログラム(3)を起動する機能を備え,各々
が前記転送に伴う予め定められた所定の処理を行なう複
数の前記アプリケーションプログラム(3)を設け,前
記ファイル転送プログラム(2)が前記転送の前後に複
数の前記アプリケーションプログラム(3)のうち当該
転送に応じた前記所定の処理を行なう前記アプリケーシ
ョンプログラム(3)を起動し,この起動されたアプリ
ケーションプログラム(3)が前記ファイル(4)につ
いて前記所定の処理を行なうことを特徴とするファイル
転送におけるアプリ連携処理方式。1. A file transfer program (2) for transferring a file (4) to and from a communication partner (1).
And a data processing system including an application program (3) for processing the file (4), the file transfer program (2) having a function of activating the application program (3), each of which is provided for the transfer. A plurality of the application programs (3) for performing a predetermined predetermined process are provided, and the file transfer program (2) selects one of the plurality of application programs (3) corresponding to the transfer before and after the transfer. An application cooperation processing method in file transfer, characterized in that the application program (3) for performing a predetermined process is started, and the started application program (3) performs the predetermined process for the file (4).
記起動されたアプリケーションプログラム(3)に対
し,予め定められたフォーマットにより前記所定の処理
を行なうために必要な情報を渡すことを特徴とする請求
項1に記載のファイル転送におけるアプリ連携処理方
式。2. The file transfer program (2) passes to the started application program (3) information necessary for performing the predetermined processing in a predetermined format. An application cooperation processing method in file transfer according to item 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4017564A JP3030153B2 (en) | 1992-02-03 | 1992-02-03 | App cooperation processing device in file transfer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4017564A JP3030153B2 (en) | 1992-02-03 | 1992-02-03 | App cooperation processing device in file transfer |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH05216737A true JPH05216737A (en) | 1993-08-27 |
JP3030153B2 JP3030153B2 (en) | 2000-04-10 |
Family
ID=11947412
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4017564A Expired - Lifetime JP3030153B2 (en) | 1992-02-03 | 1992-02-03 | App cooperation processing device in file transfer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3030153B2 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002039295A1 (en) * | 2000-11-08 | 2002-05-16 | Citizen Watch Co., Ltd. | Communication method and communication system |
JP2006268072A (en) * | 2005-03-22 | 2006-10-05 | Fujitsu Ltd | Electronic journal data management method, electronic journal data management device, and electronic journal data management program |
US10104260B2 (en) | 2016-09-26 | 2018-10-16 | Fuji Xerox Co., Ltd. | Image forming apparatus and storage medium |
US10182168B2 (en) | 2016-09-26 | 2019-01-15 | Fuji Xerox Co., Ltd. | Image forming apparatus and storage medium |
-
1992
- 1992-02-03 JP JP4017564A patent/JP3030153B2/en not_active Expired - Lifetime
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002039295A1 (en) * | 2000-11-08 | 2002-05-16 | Citizen Watch Co., Ltd. | Communication method and communication system |
JP2006268072A (en) * | 2005-03-22 | 2006-10-05 | Fujitsu Ltd | Electronic journal data management method, electronic journal data management device, and electronic journal data management program |
JP4684694B2 (en) * | 2005-03-22 | 2011-05-18 | 富士通株式会社 | Electronic journal data management method, electronic journal data management device, and electronic journal data management program |
US10104260B2 (en) | 2016-09-26 | 2018-10-16 | Fuji Xerox Co., Ltd. | Image forming apparatus and storage medium |
US10182168B2 (en) | 2016-09-26 | 2019-01-15 | Fuji Xerox Co., Ltd. | Image forming apparatus and storage medium |
Also Published As
Publication number | Publication date |
---|---|
JP3030153B2 (en) | 2000-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6571278B1 (en) | Computer data sharing system and method for maintaining replica consistency | |
US5327560A (en) | Method of updating network reconfiguration information exchanged between a host computer and a communication control processor | |
JP3689425B2 (en) | System and method for object-oriented message filtering | |
JP2001251361A (en) | Method and system for processing electronic mail message in communication system | |
JP2001155012A (en) | Method, device and system for managing document in network | |
JPH06314242A (en) | Method for automatic setting of positive acknowledgement option | |
JPH11120108A (en) | Server-side asynchronous form management method and apparatus | |
US8250313B1 (en) | Conflict avoidance in data store replication | |
JPH06202997A (en) | Method of providing network clip board mechanism and computer for network clip board mechanism | |
JP2001175460A (en) | Program distribution management system | |
JP2003029996A (en) | Server system, client system, software streaming method and program | |
JPH05216737A (en) | Application cooperative processing system in file transfer | |
US6377977B1 (en) | Method for loading application program and opening files in host terminals before collaborating on a joint project | |
US7590627B2 (en) | Arrangement for processing data files in connection with a terminal | |
JPH09138769A (en) | System and method for software delivery | |
JPH11194929A (en) | Client-side program management method in client-server system | |
JP2001056776A (en) | Client/server system and image processing condition monitoring method | |
JPH0934771A (en) | Subfile transfer system for distributed system | |
JPH11327987A (en) | Data base management device and recording medium having recorded program thereof | |
US5625774A (en) | Data processing system capable of dynamically changing the definition parameters of software in response to changes in the number of connected terminals | |
JP2000040090A (en) | System and method for network data base retrieval/ updated result automatic mail | |
JPH11205379A (en) | Data transmission system | |
JP2000348158A (en) | Method and system for folder monitor | |
JPH0573517A (en) | Client and server coupling device | |
JP2570134B2 (en) | Data broadcast transfer method |