JPH1124951A - Inter-software module communication management method - Google Patents

Inter-software module communication management method

Info

Publication number
JPH1124951A
JPH1124951A JP17540197A JP17540197A JPH1124951A JP H1124951 A JPH1124951 A JP H1124951A JP 17540197 A JP17540197 A JP 17540197A JP 17540197 A JP17540197 A JP 17540197A JP H1124951 A JPH1124951 A JP H1124951A
Authority
JP
Japan
Prior art keywords
module
computer
communication
software module
software
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP17540197A
Other languages
Japanese (ja)
Other versions
JP3773624B2 (en
Inventor
Akira Inoue
晃 井上
Tetsuharu Abe
徹治 阿部
Yutaka Mitsunaga
豊 満永
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP17540197A priority Critical patent/JP3773624B2/en
Publication of JPH1124951A publication Critical patent/JPH1124951A/en
Application granted granted Critical
Publication of JP3773624B2 publication Critical patent/JP3773624B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To suppress the increase of communication delay that accompanies the increase of transfer paths of a software module, to prevent communication at the time of transfer from being suspended and to improve the use efficiency of the memory on a computer by changing a transfer destination of communication information of a communication relay module in accordance with the transfer every time the software module is transferred and erasing dynamically the communication relay module in accordance with a use state. SOLUTION: A software module on a computer 1 commands a communication relay module 61 on the computer 1 to change a transfer destination of a communication signal from the software module on the computer 1 to a communication module 63 on a computer 3. A software module A43 on the computer 3 commands elimination of the software module on the computer 1 after the change is finished. Therefore, the communication signal reaches the module A43 via a communication relay module 62 on a computer 2, the module 61 on the computer 1 and the module 63 on the computer 3.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、計算機ネットワー
クに接続された複数の計算機上にプログラムを分散させ
る場合に必要となる技術に関するものであり、詳しく
は、プログラムを構成する複数の異なるソフトウェアモ
ジュール間で通信を行っているときにソフトウェアモジ
ュールが常駐する計算機を動的に移動する場合、ソフト
ウェアモジュール間の通信の損失及び遅延がなく、連続
的に、且つ効率よく移動が行われるようにするための通
信管理方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique necessary for distributing a program on a plurality of computers connected to a computer network. When dynamically moving a computer on which a software module resides while communication is being performed, communication between software modules is performed without loss and delay, so that the movement can be performed continuously and efficiently. It relates to a communication management method.

【0002】従来、複数のソフトウェアモジュールが相
互に通信を行いながら常駐している計算機を移動する場
合における通信管理方法には、以下に説明するような方
法がある。
Conventionally, a communication management method in the case where a plurality of software modules move a resident computer while communicating with each other, includes the following method.

【0003】その1は、予め、全ての計算機メモリー上
に通信信号の転送を行う通信転送モジュールを具え、通
信中のソフトウェアモジュールが移動する際には、移動
元から移動先への信号の転送情報を移動元の計算機の前
記通信転送モジュールに記録することにより、通信を管
理する方法である。この方法により、移動元の計算機に
送られるソフトウェアモジュール宛の通信信号は、通信
転送モジュールにより転送先に送られる。この方法を図
1乃至5を用いて説明する。
[0003] The first one is provided with a communication transfer module for transferring a communication signal to all computer memories in advance. When a communicating software module moves, information on signal transfer from a source to a destination is transferred. Is recorded in the communication transfer module of the transfer source computer to manage the communication. According to this method, a communication signal addressed to the software module sent to the source computer is sent to the transfer destination by the communication transfer module. This method will be described with reference to FIGS.

【0004】図1に示すように、計算機1上のソフトウ
ェアモジュールA41と計算機2上のソフトウェアモジュ
ールB42とが通信を行っているときに、ソフトウェアモ
ジュールA41が計算機1から計算機3上に移動する場合
は、図2に示すように、先ず計算機3にソフトウェアモ
ジュールAの複製43を作り、計算機1のメモリー内にあ
る通信転送モジュール31にソフトウェアモジュールAに
関する通信信号転送情報を記録した上で、計算機1内の
ソフトウェアモジュールA41を消去する。このときの処
理手順は、図3のフローチャートに示す通りである。こ
れにより、図4のフローチャートに示すように、ソフト
ウェアモジュールB42から計算機1に送られるソフトウ
ェアモジュールAへの通信信号は、この通信転送モジュ
ール31により移動先のソフトウェアモジュールA43に転
送される。一方、計算機3上のソフトウェアモジュール
A43からソフトウェアモジュールB42への通信信号は直
接送られ、これによりソフトウェアモジュールAとソフ
トウェアモジュールBとの間の通信が管理される。
As shown in FIG. 1, when the software module A41 on the computer 1 is communicating with the software module B42 on the computer 2, the software module A41 moves from the computer 1 to the computer 3. As shown in FIG. 2, first, a copy 43 of the software module A is made in the computer 3 and communication signal transfer information on the software module A is recorded in the communication transfer module 31 in the memory of the computer 1. Of the software module A41 is deleted. The processing procedure at this time is as shown in the flowchart of FIG. Thereby, as shown in the flowchart of FIG. 4, the communication signal from the software module B42 to the software module A sent to the computer 1 is transferred by the communication transfer module 31 to the destination software module A43. On the other hand, a communication signal from the software module A43 on the computer 3 to the software module B42 is directly transmitted, whereby communication between the software module A and the software module B is managed.

【0005】また、図5に示すように、この状態からソ
フトウェアモジュールA43が計算機3から計算機4に移
動する場合は、計算機3の通信転送モジュール33にソフ
トウェアモジュールAの通信信号転送情報が記録され、
ソフトウェアモジュールB42から計算機1に送られるソ
フトウェアモジュールAへの通信信号は、計算機1から
計算機3に転送され、更に計算機3の通信転送モジュー
ル33により計算機4のソフトウェアモジュールA44に転
送される。一方、ソフトウェアモジュールA44からソフ
トウェアモジュールB42への通信信号は直接送られ、こ
れによりソフトウェアモジュールAとソフトウェアモジ
ュールBとの間の通信が管理される。
As shown in FIG. 5, when the software module A43 moves from the computer 3 to the computer 4 from this state, the communication signal transfer information of the software module A is recorded in the communication transfer module 33 of the computer 3, and
A communication signal from the software module B42 to the computer 1 sent to the computer 1 is transferred from the computer 1 to the computer 3, and further transferred by the communication transfer module 33 of the computer 3 to the software module A44 of the computer 4. On the other hand, a communication signal from the software module A44 to the software module B42 is directly transmitted, and thereby the communication between the software module A and the software module B is managed.

【0006】この通信管理方法においては、ソフトウェ
アモジュールが移動する度に通信経路を変更する必要が
ある。即ち、図1の場合は、ソフトウェアモジュールB
からの通信信号は、移動の前後で計算機1上のソフトウ
ェアモジュールA41から通信転送モジュール31に切替え
る必要がある。このため、ソフトウェアモジュール間の
通信に一時的に損失が生じるという問題がある。
In this communication management method, it is necessary to change the communication path every time the software module moves. That is, in the case of FIG.
Is required to be switched from the software module A41 on the computer 1 to the communication transfer module 31 before and after the movement. For this reason, there is a problem that communication between the software modules is temporarily lost.

【0007】また、この通信管理方法においては、ソフ
トウェアモジュールAが複数の計算機上を移動するに従
って、信号が経由する通信転送モジュールの数が増加す
る。そのため、通信転送モジュールでの一回の転送遅延
時間をΔT、経由する通信転送モジュールの数をNとす
ると、ソフトウェアモジュールAからソフトウェアモジ
ュールBへの信号転送による遅延時間はΔT×Nにな
る。このように、転送による信号の遅延時間が増加し、
このようなソフトウェアモジュール間の通信には遅延時
間の拡大という問題がある。
In this communication management method, the number of communication transfer modules through which signals pass increases as the software module A moves on a plurality of computers. Therefore, assuming that a single transfer delay time in the communication transfer module is ΔT and the number of communication transfer modules passing through is N, the delay time due to signal transfer from the software module A to the software module B is ΔT × N. In this way, the signal delay time due to the transfer increases,
Such communication between software modules has a problem of an increase in delay time.

【0008】従来の通信管理方法のその2は、通信を行
っている相手の全てのソフトウェアモジュールに対し
て、自己のソフトウェアモジュールに関する移動情報を
伝達することにより、通信を管理する方法である。この
方法を図6乃至8を用いて説明する。
[0008] The second of the conventional communication management methods is a method of managing communication by transmitting movement information about its own software module to all software modules of the communication partner. This method will be described with reference to FIGS.

【0009】図6に示すように、計算機1上のソフトウ
ェアモジュールA41と計算機2上のソフトウェアモジュ
ールB42とが通信しているときに、ソフトウェアモジュ
ールA41が計算機1から計算機3に移動する場合は、図
7に示すように、先ず計算機3にソフトウェアモジュー
ルAの複製43を作り、次いで計算機2のソフトウェアモ
ジュールB42に対して、ソフトウェアモジュールAが計
算機3に移動するとの移動情報を伝えた上で移動する。
すると、ソフトウェアモジュールB42は計算機1への通
信を切断し、計算機3上のソフトウェアモジュールA43
との通信を開始する。この場合の処理手順は図8のフロ
ーチャートに示す通りである。これにより、ソフトウェ
アモジュールAとソフトウェアモジュールBとの間の通
信が管理される。
As shown in FIG. 6, when the software module A41 on the computer 1 communicates with the software module B42 on the computer 2, the software module A41 moves from the computer 1 to the computer 3, as shown in FIG. As shown in FIG. 7, first, a copy 43 of the software module A is made in the computer 3, and then, the software module A moves to the software module B 42 of the computer 2 after transmitting movement information indicating that the software module A moves to the computer 3.
Then, the software module B42 disconnects the communication to the computer 1, and the software module A43 on the computer 3
Start communication with. The processing procedure in this case is as shown in the flowchart of FIG. Thereby, communication between the software module A and the software module B is managed.

【0010】この通信管理方法においては、ソフトウェ
アモジュールの移動に伴い、通信が一時的に中断して通
信の連続性が保たれないこと、通信中に通信先を変更で
きる機能を具える必要があること等の問題がある。
[0010] In this communication management method, it is necessary to provide a function that the communication is temporarily interrupted due to the movement of the software module and the continuity of the communication is not maintained, and a function of changing the communication destination during the communication. Problems.

【0011】従来の通信管理方法のその3は、通信を行
うソフトウェアモジュールに対し、その位置情報を管理
する位置管理中継モジュールをそれぞれ具え、その位置
管理中継モジュールを経由して相互に通信することによ
り、通信管理を行う方法である。この方法では、通信中
のソフトウェアモジュール間では、移動によりその存在
位置が変化するにも関わらず、各ソフトウェアモジュー
ル宛の通信信号は対応する位置管理中継モジュールに送
られ、通信の連続性が保持される。この方法を図9乃至
12を用いて説明する。
A third communication management method according to the related art is provided with a position management relay module for managing position information for a software module for communication, and communicating with each other via the position management relay module. This is a method of performing communication management. In this method, a communication signal addressed to each software module is sent to the corresponding position management relay module, and the continuity of communication is maintained, even though the location of the software module being communicated changes due to movement. You. This method is shown in FIGS.
This will be described with reference to FIG.

【0012】図9に示すように、計算機1上にソフトウ
ェアモジュールA41及び位置管理中継モジュールA51が
あり、計算機2上にソフトウェアモジュールB42及び位
置管理中継モジュールB52がある。ソフトウェアモジュ
ールA41とB42との間で位置管理中継モジュールA51及
びB52を経由して通信が行われているときに、ソフトウ
ェアモジュールA41が計算機3上に移動する場合は、図
10に示すように、先ず計算機3にソフトウェアモジュー
ルAの複製43を作った上で、計算機1にある位置管理中
継モジュールA51に登録されている自己の位置情報の書
換えを要請し、この位置情報変更処理が完了すると、ソ
フトウェアモジュールAは計算機3上に移動する。これ
により、計算機1にあったソフトウェアモジュールA41
宛に送られる信号は、位置管理中継モジュールA51によ
り中継されて計算機3上にあるソフトウェアモジュール
A43に到達する。この場合のソフトウェアモジュールA
の移動の処理手順は図11のフローチャートの通りであ
り、位置管理中継モジュールA51における位置情報変更
手順は図12のフローチャートの通りである。この方法で
は、このようにしてソフトウェアモジュール間の通信が
管理される。
As shown in FIG. 9, a computer 1 has a software module A41 and a location management relay module A51, and a computer 2 has a software module B42 and a location management relay module B52. When the software module A41 moves to the computer 3 when communication is performed between the software modules A41 and B42 via the location management relay modules A51 and B52, FIG.
As shown in FIG. 10, first, a copy 43 of the software module A is made in the computer 3, and then a request is made to rewrite its own location information registered in the location management relay module A51 in the computer 1, and this location information change is performed. When the processing is completed, the software module A moves to the computer 3. Thereby, the software module A41 in the computer 1
The signal transmitted to the destination is relayed by the location management relay module A51 and reaches the software module A43 on the computer 3. Software module A in this case
11 is as shown in the flowchart of FIG. 11, and the location information changing procedure in the location management relay module A51 is as shown in the flowchart of FIG. In this way, communication between software modules is managed in this way.

【0013】この通信管理方法においては、位置管理中
継モジュールを予めソフトウェアモジュールの数だけ具
える必要があり、計算機上のメモリーの使用効率が悪く
なること、全ての通信経路が初期に固定された位置管理
中継モジュールを経由するため、ソフトウェアモジュー
ルが位置管理中継モジュールから離れる程通信経路が長
くなり、遅延時間が大きくなること等の問題がある。
In this communication management method, it is necessary to provide the location management relay modules in advance by the number of software modules, which reduces the efficiency of use of the memory on the computer, and the location where all communication paths are initially fixed. Since the software module passes through the management relay module, the communication path becomes longer as the software module is farther from the location management relay module, and there is a problem that the delay time becomes longer.

【0014】[0014]

【発明が解決しようとする課題】本発明の目的は、計算
機ネットワークに接続された計算機上に分散しているソ
フトウェアモジュールが、相互に通信を行っているとき
に、複数の計算機のメモリー上を動的に移動する場合
に、移動経路の伸長に伴う通信遅延時間の拡大、通信の
中断、計算機上のメモリー使用効率の悪化等の問題を生
じない、新しいソフトウェアモジュール間通信管理方法
を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a system in which software modules distributed on computers connected to a computer network run on the memories of a plurality of computers when communicating with each other. To provide a new communication management method between software modules that does not cause problems such as an increase in communication delay time due to extension of a movement route, interruption of communication, and deterioration of memory use efficiency on a computer when moving in a moving manner. is there.

【0015】[0015]

【課題を解決するための手段】本発明のソフトウェアモ
ジュール間通信管理方法は、上記の目的を達成するた
め、ソフトウェアモジュールの第1回目の移動が、移動
元計算機メモリー上の該ソフトウェアモジュールの指令
により、移動先計算機のメモリー上に、該ソフトウェア
モジュールを複製し、且つ、通信中継モジュールの存在
を確認し、存在しない場合にこれを作成するステップ、
移動元計算機上の通信中継モジュールの転送先を、該ソ
フトウェアモジュールから移動先計算機上の通信中継モ
ジュールに変更するステップ、移動先計算機上の通信中
継モジュールの転送先を、移動元計算機上の通信中継モ
ジュールと該ソフトウェアモジュールとの間の転送とし
て登録するステップ、及び、移動後の移動先計算機上の
該ソフトウェアモジュールの指令により、移動元計算機
上の該ソフトウェアモジュールを削除するステップを含
み、第2回目以降のm回目(mは2以上の自然数)の該
ソフトウェアモジュールの移動が、m−1回目の移動先
計算機メモリー上の該ソフトウェアモジュールの指令に
より、m回目の移動先計算機のメモリー上に該ソフトウ
ェアモジュールを複製し、且つ、通信中継モジュールの
存在を確認し、存在しない場合にこれを作成するステッ
プ、移動元計算機上の通信中継モジュールの転送先を、
m−1回目の移動先計算機上の通信中継モジュールから
m回目の移動先計算機上の通信中継モジュールに変更す
るステップ、m回目の移動先計算機上の通信中継モジュ
ールの転送先を、移動元計算機上の通信中継モジュール
と該ソフトウェアモジュールとの間の転送として登録す
るステップ、m−1回目の移動先計算機上の通信中継モ
ジュールの中継情報を削除するステップ、及び、m回目
の移動先計算機上の該ソフトウェアモジュールの指令に
より、m−1回目の移動先計算機上の該ソフトウェアモ
ジュールを削除するステップを含む。
According to the present invention, in order to achieve the above object, the first movement of a software module is performed by an instruction of the software module on a source computer memory. Copying the software module on the memory of the destination computer and confirming the existence of the communication relay module, and creating it if it does not exist;
Changing the transfer destination of the communication relay module on the source computer from the software module to the communication relay module on the destination computer; and changing the transfer destination of the communication relay module on the destination computer to the communication relay on the source computer. Registering the transfer as a transfer between the module and the software module, and deleting the software module on the source computer in response to a command of the software module on the destination computer after the transfer. The subsequent m-th (m is a natural number of 2 or more) movement of the software module causes the software module to be stored in the memory of the m-th destination computer in accordance with an instruction of the software module in the (m-1) -th destination computer memory. Copy the module and confirm the existence of the communication relay module. Step of creating this if you do not, the destination of the communication relay module on the mobile source computer,
changing the communication relay module on the (m-1) -th destination computer to the communication relay module on the m-th destination computer; changing the transfer destination of the communication relay module on the m-th destination computer from the source computer Registering the transfer as a transfer between the communication relay module and the software module, deleting the relay information of the communication relay module on the (m-1) -th destination computer, and registering the transfer information on the m-th destination computer. The method includes a step of deleting the software module on the (m-1) th destination computer according to a command of the software module.

【0016】このような本発明の方法によれば、計算機
ネットワークに接続された計算機上にソフトウェアモジ
ュールが分散して常駐している場合に、各計算機上に通
信中継モジュールを具え、また、移動先にも通信中継モ
ジュールを作成することにより、ソフトウェアモジュー
ルの移動に合わせてそのソフトウェアモジュール宛の通
信を適切に中継する。即ち、それぞれのソフトウェアモ
ジュールには、通信相手のソフトウェアモジュールの通
信先の変更に対応するための機能の追加を必要とせず、
更に移動の際におけるソフトウェアモジュール間の通信
の中断を防ぎ、連続性を実現することができる。
According to the method of the present invention, when software modules are distributed and resident on computers connected to a computer network, a communication relay module is provided on each computer. Also, by creating a communication relay module, communication to the software module is appropriately relayed in accordance with the movement of the software module. That is, each software module does not require the addition of a function for responding to a change in the communication destination of the software module of the communication partner,
Furthermore, interruption of communication between software modules during movement can be prevented, and continuity can be realized.

【0017】一方、ソフトウェアモジュールが移動する
度に通信中継モジュールの通信転送先を変更することに
より、ソフトウェアモジュール間の通信の中継経路の伸
長を防ぐ効果を生じる。即ち、従来の方法ではソフトウ
ェアモジュールの移動の度に通信の中継経路が伸長して
いたが、本発明によれば、通信中継モジュールの通信信
号転送先を適宜変更することにより、中継経路の伸長を
防ぐことができ、通信信号の遅延時間の拡大を防ぐこと
ができる。
On the other hand, by changing the communication transfer destination of the communication relay module each time the software module moves, an effect of preventing extension of the relay path of communication between the software modules is produced. That is, according to the conventional method, the communication relay path is extended each time the software module is moved. However, according to the present invention, the relay path is extended by appropriately changing the communication signal transfer destination of the communication relay module. This can prevent the delay time of the communication signal from increasing.

【0018】また、ソフトウェアモジュールが再度移動
する場合のように、通信中継モジュールを使用状況に応
じて動的に消滅させることにより、不必要に通信中継モ
ジュールを具えることを避けることができる。即ち、従
来の方法ではソフトウェアモジュールの移動に合わせて
位置管理中継モジュールを新規に又は予め作成していた
が、その消去は行われていなかったため、計算機上のメ
モリーの使用効率が良くなかった。これに対して本発明
によれば、通信中継モジュールを利用するソフトウェア
モジュールが消滅すればその通信中継モジュールを消滅
させることにより、計算機上のメモリー使用効率を改善
することができる。
Further, as in the case where the software module moves again, the communication relay module is dynamically deleted in accordance with the use condition, so that it is possible to avoid unnecessary provision of the communication relay module. That is, in the conventional method, the position management relay module is newly or previously created in accordance with the movement of the software module. However, since the deletion is not performed, the use efficiency of the memory on the computer is not good. On the other hand, according to the present invention, when the software module using the communication relay module disappears, the communication relay module is eliminated, so that the memory use efficiency on the computer can be improved.

【0019】[0019]

【発明の実施の形態】次に、図面を用いて本発明の実施
例を説明する。
Next, an embodiment of the present invention will be described with reference to the drawings.

【0020】〔実施例1〕図13は本発明の第1実施例を
説明する図であって、3台の計算機1乃至3が計算機ネ
ットワークにより接続されているものとする。計算機1
のメモリー21上にはソフトウェアモジュールA41が常駐
し、計算機2のメモリー22上にはソフトウェアモジュー
ルB42が常駐しており、更に、計算機1及び2のメモリ
ー21及び22上にはそれぞれ通信中継モジュール61及び62
が存在し、これらの通信中継モジュール61及び62を経由
してソフトウェアモジュールA41とB42とが相互に通信
を行っているものとする。
Embodiment 1 FIG. 13 is a diagram for explaining a first embodiment of the present invention, in which three computers 1 to 3 are connected by a computer network. Calculator 1
The software module A41 resides on the memory 21 of the computer 1, the software module B42 resides on the memory 22 of the computer 2, and the communication relay module 61 and the memory 21 on the memories 21 and 22 of the computers 1 and 2, respectively. 62
It is assumed that software modules A41 and B42 communicate with each other via these communication relay modules 61 and 62.

【0021】このとき、通信中継モジュール61及び62は
それぞれ通信信号の転送先をテーブルとして保持してお
り、それに基づいて通信信号の転送を行っている。即
ち、通信中継モジュール61は情報「計算機1上のソフト
ウェアモジュールA41と計算機2上の通信中継モジュー
ル62の間の転送」が、通信中継モジュール62は情報「計
算機2上のソフトウェアモジュールB42と計算機1上の
通信中継モジュール61の間の転送」が記録された転送テ
ーブルを保持している。
At this time, the communication relay modules 61 and 62 hold the transfer destinations of the communication signals as tables, and transfer the communication signals based on the tables. In other words, the communication relay module 61 has information “transfer between the software module A41 on the computer 1 and the communication relay module 62 on the computer 2”, and the communication relay module 62 has information “the software module B42 on the computer 2 and the information on the computer 1”. Is transferred between the communication relay modules 61. "

【0022】このような状態のとき、図14に示すよう
に、ソフトウェアモジュールA41が計算機1から計算機
3上に移動する場合のソフトウェアモジュールAB間の
通信は次の方法で管理される。このときの処理手順は図
15のフローチャートに示す通りである。
In such a state, as shown in FIG. 14, communication between the software modules AB when the software module A41 moves from the computer 1 to the computer 3 is managed by the following method. The processing procedure at this time is shown in the figure.
This is as shown in the flowchart of FIG.

【0023】計算機1上のソフトウェアモジュールA41
は、計算機3のメモリー23上にソフトウェアモジュール
Aの複製43を作成し、通信中継モジュールの存在の有無
を確認し、これが存在しない場合は通信中継モジュール
63を作成する。既に通信中継モジュール63が存在する場
合は、それを利用するための指令を出す。計算機1上の
ソフトウェアモジュールA41は、計算機1上の通信中継
モジュール61に対して、通信信号の転送先を、計算機1
上のソフトウェアモジュールA41から計算機3上の通信
中継モジュール63への変更を指令する。即ち、通信の転
送は「計算機3上の通信中継モジュール63と計算機2上
の通信中継モジュール62との間の転送」となる。
Software module A41 on computer 1
Creates a copy 43 of the software module A on the memory 23 of the computer 3 and checks whether or not the communication relay module exists.
Create 63. If the communication relay module 63 already exists, a command to use it is issued. The software module A41 on the computer 1 sends the transfer destination of the communication signal to the communication relay module 61 on the computer 1
The change from the software module A41 above to the communication relay module 63 on the computer 3 is commanded. That is, the communication transfer is “transfer between the communication relay module 63 on the computer 3 and the communication relay module 62 on the computer 2”.

【0024】同時に、計算機1上のソフトウェアモジュ
ールA41は、通信中継モジュール63に、転送情報「通信
中継モジュール61とソフトウェアモジュールA43との間
の転送」の登録を指令する。変更の終了後、計算機3上
のソフトウェアモジュールA43は、計算機1上のソフト
ウェアモジュールA41の削除の指令を行う。これによ
り、ソフトウェアモジュールB42からソフトウェアモジ
ュールA43への通信信号は、計算機2上の通信中継モジ
ュール62、計算機1上の通信中継モジュール61及び計算
機3上の通信中継モジュール63を経由して、ソフトウェ
アモジュールA43に到達する。
At the same time, the software module A41 on the computer 1 instructs the communication relay module 63 to register transfer information “transfer between the communication relay module 61 and the software module A43”. After the change is completed, the software module A43 on the computer 3 issues a command to delete the software module A41 on the computer 1. As a result, a communication signal from the software module B42 to the software module A43 passes through the communication relay module 62 on the computer 2, the communication relay module 61 on the computer 1, and the communication relay module 63 on the computer 3, and To reach.

【0025】以上説明したソフトウェアモジュールAの
計算機1から計算機3への移動に伴うソフトウェアモジ
ュール間の本発明による通信管理方法においては、ソフ
トウェアモジュールAに対する通信は全て移動元の通信
中継モジュール61を経由するので、通信中継モジュール
61において、ソフトウェアモジュールAの移動に合わせ
て中継先を変更すれば、通信先変更に伴う通信信号の中
断は生起しない。
In the communication management method according to the present invention between the software modules associated with the movement of the software module A from the computer 1 to the computer 3 as described above, all the communication to the software module A goes through the communication relay module 61 of the source. So the communication relay module
In 61, if the relay destination is changed according to the movement of the software module A, the interruption of the communication signal due to the change of the communication destination does not occur.

【0026】なお上記実施例の説明では、計算機ネット
ワークに接続された計算機は3台として且つ通信するモ
ジュールは2つとして説明したが、本発明はこれに限定
されないことは勿論である。
In the description of the above embodiment, the number of computers connected to the computer network is three and the number of communicating modules is two. However, it goes without saying that the present invention is not limited to this.

【0027】〔実施例2〕図16は本発明の第2実施例を
説明する図であって、5台の計算機1乃至5が計算機ネ
ットワークにより接続されているものとする。この場
合、計算機の数が異なる外は、実施例1の場合と同様で
ある。このような状態のとき、ソフトウェアモジュール
A41が、計算機1から計算機3を経由して計算機4上に
移動する場合の通信管理方法を説明する。
[Embodiment 2] FIG. 16 is a diagram for explaining a second embodiment of the present invention, in which five computers 1 to 5 are connected by a computer network. In this case, the operation is the same as that of the first embodiment except that the number of computers is different. A communication management method when the software module A41 moves from the computer 1 to the computer 4 via the computer 3 in such a state will be described.

【0028】この場合、先ず図17に示すように、ソフト
ウェアモジュールAが計算機1から計算機3上に移動す
るが、この場合のソフトウェアモジュールAB間の通信
の管理は実施例1の場合と同様である。次に、ソフトウ
ェアモジュールAが計算機1から計算機3上に移動した
状態から、図18に示すように、ソフトウェアモジュール
Aが計算機3から計算機4上に移動する場合には、ソフ
トウェアモジュールAB間の通信の管理は次のように行
われる。
In this case, first, as shown in FIG. 17, the software module A moves from the computer 1 to the computer 3, and the management of communication between the software modules AB in this case is the same as in the first embodiment. . Next, when the software module A moves from the computer 3 to the computer 4 as shown in FIG. 18 from the state where the software module A has moved from the computer 1 to the computer 3, the communication between the software modules AB is performed. Management is performed as follows.

【0029】図19のフローチャートに示すように、計算
機3上のソフトウェアモジュールA41は、計算機4のメ
モリー24上にソフトウェアモジュールAの複製44を作成
し、計算機4上の通信中継モジュール64の存在の有無を
確認し、これが存在しない場合は通信中継モジュール64
を作成する。既に通信中継モジュール64が存在する場合
は、それを利用するための指令を出す。計算機3上のソ
フトウェアモジュールA43は、計算機1上の通信中継モ
ジュール61に対して、通信信号の転送先を、計算機3上
の通信中継モジュール63から計算機4上の通信中継モジ
ュール64への変更を指令する。即ち、通信の転送は「計
算機4上の通信中継モジュール64と計算機2上の通信中
継モジュール62との間の転送」となる。
As shown in the flowchart of FIG. 19, the software module A 41 on the computer 3 creates a copy 44 of the software module A on the memory 24 of the computer 4 and determines whether or not the communication relay module 64 on the computer 4 exists. Check that if this does not exist, the communication relay module 64
Create If the communication relay module 64 already exists, a command for using it is issued. The software module A43 on the computer 3 instructs the communication relay module 61 on the computer 1 to change the transfer destination of the communication signal from the communication relay module 63 on the computer 3 to the communication relay module 64 on the computer 4. I do. That is, the communication transfer is “transfer between the communication relay module 64 on the computer 4 and the communication relay module 62 on the computer 2”.

【0030】同時に、計算機3上のソフトウェアモジュ
ールA43は、通信中継モジュール64に、転送情報「通信
中継モジュール61とソフトウェアモジュールA44との間
の転送」の登録を指令し、一方、計算機3上のソフトウ
ェアモジュールA43は、計算機3上の通信中継モジュー
ル63に、中継テーブルから、中継情報「通信中継モジュ
ール61とソフトウェアモジュールA43との間の転送」の
削除を指令する。変更終了後、計算機4上のソフトウェ
アモジュールA44は、計算機3上のソフトウェアモジュ
ールA43の削除を指令する。指令を受けた通信中継モジ
ュール63では、図20のフローチャートに示すような処理
手順で登録を削除する。削除が完了した後、計算機3上
の通信中継モジュール63の中継テーブルに登録された通
信信号の転送要求がない場合は、通信中継モジュール63
は消滅する。以上により、ソフトウェアモジュールB42
からソフトウェアモジュールA44への通信情報は、計算
機2上の通信中継モジュール62、計算機1上の通信中継
モジュール61及び計算機4上の通信中継モジュール64を
経由して到達する。
At the same time, the software module A 43 on the computer 3 instructs the communication relay module 64 to register transfer information “transfer between the communication relay module 61 and the software module A 44”. The module A43 instructs the communication relay module 63 on the computer 3 to delete the relay information “transfer between the communication relay module 61 and the software module A43” from the relay table. After the change is completed, the software module A44 on the computer 4 issues a command to delete the software module A43 on the computer 3. The communication relay module 63 that has received the instruction deletes the registration according to the processing procedure shown in the flowchart of FIG. After the deletion is completed, if there is no transfer request of the communication signal registered in the relay table of the communication relay module 63 on the computer 3, the communication relay module 63
Disappears. As described above, the software module B42
The communication information from to the software module A44 arrives via the communication relay module 62 on the computer 2, the communication relay module 61 on the computer 1, and the communication relay module 64 on the computer 4.

【0031】以上説明したように、ソフトウェアモジュ
ールAの移動に伴うソフトウェアモジュールAB間の本
発明による通信管理方法は、予め通信転送モジュールを
全ての計算機上に具える従来の方法と比較すると、必要
に応じて通信中継モジュールを作成し、中継の必要性が
なくなるとその通信中継モジュールを消去するので、ソ
フトウェアモジュールの計算機間の移動の際における計
算機上のメモリーの利用性を改善することができる。
As described above, the communication management method according to the present invention between the software modules AB in accordance with the movement of the software module A is necessary in comparison with the conventional method in which a communication transfer module is provided on all computers in advance. A communication relay module is created accordingly, and the communication relay module is deleted when the necessity of the relay is eliminated, so that the use of the memory on the computer when the software module is moved between the computers can be improved.

【0032】また、本発明による通信管理方法は、複数
の通信転送モジュールを多段に経由して通信を管理する
従来の方法と比較すると、ソフトウェアモジュールが移
動する度に通信中継モジュールの中継先を変更するの
で、通信中継モジュールからソフトウェアモジュールへ
の通信の中継は1段のみになる。即ち、通信転送モジュ
ールでの一回の転送遅延時間をΔTとすると、N段の中
継における遅延時間はN×ΔTになるのに対し、本発明
によれば、最大で3×ΔTである。この結果から明らか
なように、ソフトウェアモジュールの計算機間の移動の
際における通信の遅延時間を改善することができる。
Further, the communication management method according to the present invention changes the relay destination of the communication relay module every time the software module moves, as compared with the conventional method of managing communication via a plurality of communication transfer modules in multiple stages. Therefore, there is only one stage of communication relay from the communication relay module to the software module. That is, assuming that one transfer delay time in the communication transfer module is ΔT, the delay time in N-stage relaying is N × ΔT, but according to the present invention, it is 3 × ΔT at the maximum. As is apparent from this result, it is possible to improve the communication delay time when the software module moves between computers.

【0033】なお上記実施例の説明では、計算機ネット
ワークに接続された計算機は5台として且つ通信するモ
ジュールは2つとして説明したが、本発明はこれに限定
されないことは勿論である。
In the description of the above embodiment, the number of computers connected to the computer network is five and the number of communicating modules is two. However, it goes without saying that the present invention is not limited to this.

【0034】[0034]

【発明の効果】以上詳細に説明したように、通信機能を
有する複数のソフトウェアモジュールが相互に通信を行
いながら計算機ネットワークに接続された複数の計算機
のメモリー上を移動する場合における通信管理方法とし
て、ソフトウェアモジュールに対応する通信中継モジュ
ールを各計算機上に一つずつ具え、ソフトウェアモジュ
ールが移動する度に、その移動に合わせて通信中継モジ
ュールの通信情報の転送先を変更し、その通信中継モジ
ュールを使用状況に応じて動的に消去することにより、
ソフトウェアモジュールの移動経路の増加に伴う通信遅
延の増加を抑制し、移動時の通信の中断を防ぎ、計算機
上のメモリーの使用効率が改善されるという著しい効果
を奏する。
As described above in detail, as a communication management method when a plurality of software modules having a communication function move on the memories of a plurality of computers connected to a computer network while communicating with each other, A communication relay module corresponding to the software module is provided on each computer, and each time the software module moves, the transfer destination of the communication information of the communication relay module is changed according to the movement, and the communication relay module is used. By dynamically deleting them according to the situation,
It has a remarkable effect of suppressing an increase in communication delay due to an increase in the moving path of the software module, preventing interruption of communication when moving, and improving the use efficiency of the memory on the computer.

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

【図1】全ての計算機メモリー上に通信転送モジュール
を具えた従来方法を説明する図である。
FIG. 1 is a diagram illustrating a conventional method including a communication transfer module on all computer memories.

【図2】全ての計算機メモリー上に通信転送モジュール
を具えた従来方法を説明する図である。
FIG. 2 is a diagram illustrating a conventional method including a communication transfer module on all computer memories.

【図3】ソフトウェアモジュールが移動する場合の処理
手順を説明するフローチャートである。
FIG. 3 is a flowchart illustrating a processing procedure when a software module moves.

【図4】通信転送モジュールにおける処理手順を説明す
るフローチャートである。
FIG. 4 is a flowchart illustrating a processing procedure in a communication transfer module.

【図5】全ての計算機メモリー上に通信転送モジュール
を具えた従来方法によりソフトウェアモジュールが複数
回移動する場合の管理を説明する図である。
FIG. 5 is a diagram illustrating management when a software module moves a plurality of times by a conventional method including a communication transfer module on all computer memories.

【図6】全ての通信相手のソフトウェアモジュールに自
己の移動情報を伝達する従来方法を説明する図である。
FIG. 6 is a diagram for explaining a conventional method of transmitting own movement information to all software modules of a communication partner.

【図7】全ての通信相手のソフトウェアモジュールに自
己の移動情報を伝達する従来方法を説明する図である。
FIG. 7 is a diagram illustrating a conventional method of transmitting own movement information to all software modules of a communication partner.

【図8】ソフトウェアモジュールが移動する場合の処理
手順を説明するフローチャートである。
FIG. 8 is a flowchart illustrating a processing procedure when a software module moves.

【図9】全ての計算機メモリー上に位置管理中継モジュ
ールを具えた従来方法を説明する図である。
FIG. 9 is a diagram illustrating a conventional method including a location management relay module on all computer memories.

【図10】全ての計算機メモリー上に位置管理中継モジ
ュールを具えた従来方法を説明する図である。
FIG. 10 is a diagram illustrating a conventional method including a location management relay module on all computer memories.

【図11】ソフトウェアモジュールが移動する場合の処
理手順を説明するフローチャートである。
FIG. 11 is a flowchart illustrating a processing procedure when a software module moves.

【図12】位置管理中継モジュールにおける処理手順を
説明するフローチャートである。
FIG. 12 is a flowchart illustrating a processing procedure in the location management relay module.

【図13】必要に応じて計算機メモリー上に通信中継モ
ジュールを具える本発明の方法を説明する図である。
FIG. 13 is a diagram illustrating a method of the present invention including a communication relay module on a computer memory as required.

【図14】本発明の方法を説明する図である。FIG. 14 is a diagram illustrating the method of the present invention.

【図15】本発明の方法においてソフトウェアモジュー
ルが移動する場合の処理手順を説明するフローチャート
である。
FIG. 15 is a flowchart illustrating a processing procedure when a software module moves in the method of the present invention.

【図16】本発明の方法においてソフトウェアモジュー
ルが複数回移動する場合の管理を説明する図である。
FIG. 16 is a diagram illustrating management when a software module moves a plurality of times in the method of the present invention.

【図17】本発明の方法においてソフトウェアモジュー
ルが複数回移動する場合の管理を説明する図である。
FIG. 17 is a diagram illustrating management when a software module moves a plurality of times in the method of the present invention.

【図18】本発明の方法においてソフトウェアモジュー
ルが複数回移動する場合の管理を説明する図である。
FIG. 18 is a diagram illustrating management when a software module moves a plurality of times in the method of the present invention.

【図19】本発明の方法においてソフトウェアモジュー
ルが移動する場合の処理手順を説明するフローチャート
である。
FIG. 19 is a flowchart illustrating a processing procedure when a software module moves in the method of the present invention.

【図20】通信中継モジュールにおける処理手順を説明
するフローチャートである。
FIG. 20 is a flowchart illustrating a processing procedure in the communication relay module.

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

1、2、3、4、5 計算機 11、12、13、14、15 CPU 21、22、23、24、25 メモリー 31、32、33、34 通信転送モジュール 41、43、44 ソフトウェアモジュールA 42 ソフトウェアモジュールB 51、52、53、54 位置管理中継モジュール 61、62、63、64 通信中継モジュール 1, 2, 3, 4, 5 Computer 11, 12, 13, 14, 15 CPU 21, 22, 23, 24, 25 Memory 31, 32, 33, 34 Communication Transfer Module 41, 43, 44 Software Module A 42 Software Module B 51, 52, 53, 54 Position management relay module 61, 62, 63, 64 Communication relay module

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 計算機ネットワークに接続された複数の
電子計算機のメモリー上に通信機能を有する複数のソフ
トウェアモジュールが常駐し、前記複数のソフトウェア
モジュールが相互に通信を行っているときに、前記ソフ
トウェアモジュールの中の任意のソフトウェアモジュー
ルがネットワークに接続された計算機間を移動する場合
における、ソフトウェアモジュール間の通信を管理する
方法であって、 ソフトウェアモジュールの第1回目の移動が、 移動元計算機メモリー上の該ソフトウェアモジュールの
指令により、移動先計算機のメモリー上に、該ソフトウ
ェアモジュールを複製し、且つ、通信中継モジュールの
存在を確認し、存在しない場合にこれを作成するステッ
プ、 移動元計算機上の通信中継モジュールの転送先を、該ソ
フトウェアモジュールから移動先計算機上の通信中継モ
ジュールに変更するステップ、 移動先計算機上の通信中継モジュールの転送先を、移動
元計算機上の通信中継モジュールと該ソフトウェアモジ
ュールとの間の転送として登録するステップ、及び移動
後の移動先計算機上の該ソフトウェアモジュールの指令
により、移動元計算機上の該ソフトウェアモジュールを
削除するステップを含み、 第2回目以降のm回目(mは2以上の自然数)の該ソフ
トウェアモジュールの移動が、 m−1回目の移動先計算機メモリー上の該ソフトウェア
モジュールの指令により、m回目の移動先計算機のメモ
リー上に、該ソフトウェアモジュールを複製し、且つ、
通信中継モジュールの存在を確認し、存在しない場合に
これを作成するステップ、 移動元計算機上の通信中継モジュールの転送先を、m−
1回目の移動先計算機上の通信中継モジュールからm回
目の移動先計算機上の通信中継モジュールに変更するス
テップ、 m回目の移動先計算機上の通信中継モジュールの転送先
を、移動元計算機上の通信中継モジュールと該ソフトウ
ェアモジュールとの間の転送として登録するステップ、 m−1回目の移動先計算機上の通信中継モジュールの中
継情報を削除するステップ、及びm回目の移動先計算機
上の該ソフトウェアモジュールの指令により、m−1回
目の移動先計算機上の該ソフトウェアモジュールを削除
するステップを含むことを特徴とするソフトウェアモジ
ュール間通信管理方法。
When a plurality of software modules having a communication function are resident on memories of a plurality of computers connected to a computer network, and the plurality of software modules are communicating with each other, the software modules are connected to each other. Is a method for managing communication between software modules when an arbitrary software module among the software modules moves between computers connected to a network, wherein the first movement of the software module is performed on a memory of a source computer memory. A step of duplicating the software module on the memory of the destination computer and confirming the existence of the communication relay module according to a command of the software module, and creating the communication relay module if the module does not exist; a communication relay on the source computer Transfer the module to the software Changing from the core module to the communication relay module on the destination computer; registering the transfer destination of the communication relay module on the destination computer as a transfer between the communication relay module on the source computer and the software module And a step of deleting the software module on the source computer in accordance with the command of the software module on the destination computer after the movement, and the second and subsequent m-th (m is a natural number not less than 2) times Movement of the software module is performed by copying the software module onto the memory of the m-th destination computer according to an instruction of the software module on the (m-1) -th destination computer memory, and
The step of confirming the existence of the communication relay module and creating it if it does not exist;
The step of changing the communication relay module on the first destination computer to the communication relay module on the m-th destination computer; the transfer destination of the communication relay module on the m-th destination computer to the communication on the source computer Registering the transfer as a transfer between the relay module and the software module, deleting the relay information of the communication relay module on the (m-1) th destination computer, and registering the software module on the mth destination computer. A method for managing communication between software modules, comprising the step of deleting the software module on the (m-1) th destination computer by a command.
JP17540197A 1997-07-01 1997-07-01 Communication management method between software modules Expired - Fee Related JP3773624B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17540197A JP3773624B2 (en) 1997-07-01 1997-07-01 Communication management method between software modules

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17540197A JP3773624B2 (en) 1997-07-01 1997-07-01 Communication management method between software modules

Publications (2)

Publication Number Publication Date
JPH1124951A true JPH1124951A (en) 1999-01-29
JP3773624B2 JP3773624B2 (en) 2006-05-10

Family

ID=15995455

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17540197A Expired - Fee Related JP3773624B2 (en) 1997-07-01 1997-07-01 Communication management method between software modules

Country Status (1)

Country Link
JP (1) JP3773624B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9686849B2 (en) 2012-07-13 2017-06-20 Perkinelmer Health Sciences, Inc. Torches and methods of using them

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9686849B2 (en) 2012-07-13 2017-06-20 Perkinelmer Health Sciences, Inc. Torches and methods of using them

Also Published As

Publication number Publication date
JP3773624B2 (en) 2006-05-10

Similar Documents

Publication Publication Date Title
US7032226B1 (en) Methods and apparatus for managing a buffer of events in the background
US9348662B2 (en) Network system and communication control method
CN103118148B (en) A kind of ARP buffering updating method and equipment
US6430645B1 (en) Fibre channel and SCSI address mapping for multiple initiator support
JPH1124951A (en) Inter-software module communication management method
KR100592873B1 (en) Method for Managing Forwarding Table of Network Processor according to Address Learning in the Linecard Processor composing of Multiple Network Processors and Multiplexing/Demultiplexing Module
KR20030083864A (en) A Processing Method of the Distributed Forwarding Table in the High Speed Router
US5117419A (en) System for controlling data transmission and reception in a network
JPS58166849A (en) Route setting system between network nodes
US20020161453A1 (en) Collective memory network for parallel processing and method therefor
JPH0378659B2 (en)
JP2001202199A (en) Storage controller
JP2003234822A (en) Method for transferring subscriber data between service control nodes
US20230051003A1 (en) Control apparatus, control method and program
JPH05244225A (en) Uninterruptible system changeover method
JPS61127245A (en) Communication network
JPS62297960A (en) Data transfer system
JPH05324505A (en) Method and system for file transfer
JP2019029920A (en) Monitoring device, communication system, and control method
JPH11345189A (en) Network system provided with disk drive bypass circuit
JP2008182326A (en) Line card device, switch device, and route information learning method
JP2002351851A (en) Data management system
JP2010146235A (en) System switching method in duplex system and duplex system
JPH0512221A (en) Data exchange speeding up system between multi cpu
JPS6159022B2 (en)

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Effective date: 20041124

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Effective date: 20050120

Free format text: JAPANESE INTERMEDIATE CODE: A523

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050426

A521 Written amendment

Effective date: 20050624

Free format text: JAPANESE INTERMEDIATE CODE: A523

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060214

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060215

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090224

Year of fee payment: 3

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100224

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees