JP2002064562A - Method for establishing communication connection - Google Patents

Method for establishing communication connection

Info

Publication number
JP2002064562A
JP2002064562A JP2001045351A JP2001045351A JP2002064562A JP 2002064562 A JP2002064562 A JP 2002064562A JP 2001045351 A JP2001045351 A JP 2001045351A JP 2001045351 A JP2001045351 A JP 2001045351A JP 2002064562 A JP2002064562 A JP 2002064562A
Authority
JP
Japan
Prior art keywords
proxy
communication
session
communication connection
management 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.)
Granted
Application number
JP2001045351A
Other languages
Japanese (ja)
Other versions
JP3732745B2 (en
Inventor
耕一 ▲高▼杉
Koichi Takasugi
Minoru Katayama
穣 片山
Minoru Kubota
稔 久保田
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 JP2001045351A priority Critical patent/JP3732745B2/en
Publication of JP2002064562A publication Critical patent/JP2002064562A/en
Application granted granted Critical
Publication of JP3732745B2 publication Critical patent/JP3732745B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a method for establishing communication between a server application and a client application by which communication paths or these applications can be switched over without terminating communication between the applications. SOLUTION: This invention provides the communication connection establishing method that is used to control a communication system where proxies relaying communication with applications and a network interconnecting them are provided, and when the applications make communication via a communication path passing through two proxies or more, the 1st proxy placed on the communication path switches a 2nd proxy being a connection destination to a 3rd proxy so as to continue the communication in response to a prescribed switching request.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワーク上で
接続された複数の端末同士がサーバアプリケーション及
びクライアントアプリケーションにより通信する場合
に、通信経路の切替などのために用いられる通信コネク
ション確立方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication connection establishing method used for switching communication paths when a plurality of terminals connected on a network communicate with each other by a server application and a client application.

【0002】[0002]

【従来の技術】利用者が通信を行っているアプリケーシ
ョンの利用をやめて他のアプリケーションで通信を行お
うとする場合には、通信を中断してから、他のアプリケ
ーションで通信を再開する必要がある。しかしながら、
この場合は通信が切断されてしまうので、相手のアプリ
ケーションとの通信手続きを最初からやり直す必要があ
る。すなわち、あるアプリケーションに対する通信サー
ビスを途中から他のアプリケーションに切り替えること
はできない。
2. Description of the Related Art When a user stops using a communication application and tries to communicate with another application, it is necessary to interrupt communication and then resume communication with another application. However,
In this case, the communication is disconnected, and it is necessary to restart the communication procedure with the application of the other party from the beginning. That is, it is not possible to switch the communication service for a certain application to another application halfway.

【0003】例えば、ノートパソコンやPDAのような
移動端末は持ち運びができるため様々な場所で利用され
る可能性があるし、移動しながら利用される場合もあ
る。このような移動端末をオンラインで利用する場合に
は、例えばイーサネット(登録商標),構内無線LAN
(Local Area Network),公衆無線通信(例えばPHS
(Personal Handy-phone System))等に対応する通信
アダプタを用いて移動端末をネットワークに接続する必
要がある。
For example, mobile terminals such as notebook personal computers and PDAs are portable and can be used in various places, and may be used while moving. When such a mobile terminal is used online, for example, Ethernet (registered trademark), private wireless LAN
(Local Area Network), public wireless communication (for example, PHS
(Personal Handy-phone System)) and the like, and it is necessary to connect the mobile terminal to the network using a communication adapter.

【0004】移動端末が利用される様々な場所において
は、1つ又は複数の通信媒体を利用して移動端末をネッ
トワークに接続することが可能である。予め複数種類の
通信媒体に対応する複数の通信アダプタを搭載しておけ
ば、1台の移動端末を様々な場所で、必要に応じて通信
方式を切り替えてネットワークに接続することができ
る。
In various places where a mobile terminal is used, it is possible to connect the mobile terminal to a network using one or more communication media. If a plurality of communication adapters corresponding to a plurality of types of communication media are installed in advance, one mobile terminal can be connected to a network at various places by switching the communication method as needed.

【0005】実際に複数の端末同士がサーバアプリケー
ション及びクライアントアプリケーションにより通信す
る場合には、まず端末のハードウェアをネットワークに
接続し、サービスを提供するサーバアプリケーションと
前記サービスを利用するクライアントアプリケーション
との間に通信コネクションを確立する必要がある。ま
た、例えば障害などによって一時的に通信が途絶えた場
合でも通信の継続を可能にするために、サーバアプリケ
ーションとクライアントアプリケーションとの間にプロ
キシと呼ばれる中継装置を介在するように通信経路を構
築するのが一般的である。
When a plurality of terminals actually communicate with each other by a server application and a client application, first, the hardware of the terminal is connected to a network, and a service is provided between the server application providing the service and the client application using the service. It is necessary to establish a communication connection. In addition, in order to enable continuation of communication even when communication is temporarily interrupted due to, for example, a failure, a communication path is constructed so that a relay device called a proxy is interposed between the server application and the client application. Is common.

【0006】[0006]

【発明が解決しようとする課題】上記のような従来の通
信システムにおいては、サーバアプリケーションとクラ
イアントアプリケーションとの間の通信を開始する際に
その通信経路が決定される。従って、通信の途中では利
用するサーバアプリケーション,クライアントアプリケ
ーション及びプロキシの組み合わせを変更することはで
きない。
In the conventional communication system as described above, a communication path is determined when communication between a server application and a client application is started. Therefore, the combination of the server application, the client application, and the proxy to be used cannot be changed during the communication.

【0007】サーバアプリケーション,クライアントア
プリケーション又はプロキシを変更する場合には、通信
を一旦終了し、通信コネクションを解放し、サーバアプ
リケーションとクライアントアプリケーションとの間の
各通信コネクションをつなぎ直す必要がある。しかしな
がら、移動端末が移動しながら通信する場合には、移動
に伴ってサーバアプリケーション,クライアントアプリ
ケーション及びプロキシの位置関係が変わるため、冗長
な通信経路が形成される可能性がある。例えば、不必要
なプロキシを中継して通信を継続する場合が生じる。
When changing the server application, the client application, or the proxy, it is necessary to terminate the communication once, release the communication connection, and reconnect each communication connection between the server application and the client application. However, when the mobile terminal communicates while moving, the positional relationship between the server application, the client application, and the proxy changes as the mobile terminal moves, so that a redundant communication path may be formed. For example, there is a case where communication is continued by relaying unnecessary proxies.

【0008】また、例えば通信中の端末に障害が発生し
た場合には、通信を一旦終了し、通信コネクションを解
放し、障害が生じた端末のアプリケーションやプロキシ
の機能を他の端末で置き換えるように通信経路を再構築
して最初から通信をやり直す必要がある。また、例えば
ユーザが利用する端末を画面の小さい移動端末から画面
の大きい固定端末(例えばデスクトップパソコン)に切
り替えようとする場合にも、移動端末の通信を終了し、
通信コネクションを解放し、固定端末を用いて新たな通
信経路を構築し、通信を最初からやり直す必要がある。
Further, for example, when a failure occurs in a terminal under communication, the communication is temporarily terminated, the communication connection is released, and the application or proxy function of the failed terminal is replaced with another terminal. It is necessary to reconstruct the communication path and restart communication from the beginning. In addition, for example, when the user wants to switch the terminal to be used from a mobile terminal having a small screen to a fixed terminal having a large screen (for example, a desktop personal computer), the communication of the mobile terminal is terminated,
It is necessary to release the communication connection, construct a new communication path using the fixed terminal, and restart communication from the beginning.

【0009】そこで、本発明はサーバアプリケーション
とクライアントアプリケーションとの間の通信を終了す
ることなく、それらのアプリケーションの切替や通信経
路の切替を可能にすることを目的とする。
Accordingly, an object of the present invention is to enable switching between applications and communication paths without terminating communication between a server application and a client application.

【0010】[0010]

【課題を解決するための手段】請求項1は、複数のアプ
リケーションと、通信を中継する複数のプロキシと、そ
れらを接続するネットワークとが設けられた通信システ
ムの制御に用いる通信コネクション確立方法であって、
複数のアプリケーションが2つ以上のプロキシを通る通
信経路を介して互いに通信している場合に、所定の切替
要求に応答して、前記通信経路上に配置された第1のプ
ロキシが接続先の第2のプロキシを第3のプロキシに切
り替えて通信を継続することを特徴とする。
A first aspect of the present invention is a communication connection establishing method used for controlling a communication system provided with a plurality of applications, a plurality of proxies for relaying communication, and a network connecting them. hand,
In a case where a plurality of applications are communicating with each other via a communication path passing through two or more proxies, in response to a predetermined switching request, the first proxy arranged on the communication path is connected to the first proxy of the connection destination. The second proxy is switched to the third proxy to continue communication.

【0011】請求項1においては、通信経路を切り替え
る必要が生じた場合には、第1のプロキシの制御によ
り、第1のプロキシの接続先が第2のプロキシから第3
のプロキシに切り替わる。従って、切替後は第2のプロ
キシを利用せずに通信を継続することができる。なお、
切替先の第3のプロキシについては切替の際に指定する
か、あるいは予め定めておく必要がある。
In the first aspect, when it is necessary to switch the communication path, the connection destination of the first proxy is changed from the second proxy to the third proxy by the control of the first proxy.
Switch to proxy. Therefore, after switching, communication can be continued without using the second proxy. In addition,
The third proxy to be switched to must be specified at the time of switching or must be determined in advance.

【0012】請求項2は、複数のアプリケーションと、
通信を中継する複数のプロキシと、それらを接続するネ
ットワークとが設けられた通信システムの制御に用いる
通信コネクション確立方法であって、第1のアプリケー
ションと第2のアプリケーションとが2つ以上のプロキ
シを通る通信経路を介して互いに通信している場合に、
前記通信経路上に配置され第1のアプリケーションと第
1のプロキシとの間で中継を行う第2のプロキシが、所
定の切替要求に応答して通信相手の第1のアプリケーシ
ョンを他の第3のアプリケーションに切り替えて通信を
継続することを特徴とする。
[0012] Claim 2 includes a plurality of applications,
A communication connection establishment method used for controlling a communication system provided with a plurality of proxies for relaying communication and a network connecting them, wherein a first application and a second application establish two or more proxies. When communicating with each other via a communication path
A second proxy, which is located on the communication path and relays between the first application and the first proxy, responds to a predetermined switching request by switching the first application of the communication partner to another third application. It is characterized by switching to an application and continuing communication.

【0013】請求項2においては、利用するアプリケー
ションを切り替える必要が生じた場合には、第2のプロ
キシの制御により、第2のプロキシとの間で通信を行う
アプリケーションが第1のアプリケーションから第3の
アプリケーションに切り替わり、そのまま通信が継続さ
れる。従って、利用者は通信を切断することなく通信に
使用するアプリケーションを切り替えることができる。
なお、切替先の第3のアプリケーションについては切替
の際に指定するか、あるいは予め定めておく必要があ
る。
According to the second aspect, when it is necessary to switch the application to be used, the application that communicates with the second proxy is controlled by the second proxy from the first application to the third application. The application is switched to and the communication is continued as it is. Therefore, the user can switch the application used for communication without disconnecting the communication.
The third application to be switched needs to be specified at the time of switching or to be determined in advance.

【0014】請求項3は、請求項1の通信コネクション
確立方法において、クライアントアプリケーションとサ
ーバアプリケーションとが複数のプロキシを介して通信
する場合に、クライアントアプリケーションの接続要求
に対してサーバアプリケーションからの応答がクライア
ントアプリケーションに転送された場合にその転送経路
をセッションとして管理するとともに、それぞれのセッ
ションにセッションIDを割り当てておき、前記第1の
プロキシは、サービス移動のための切替要求を受け付け
た場合に、通信の中継を中断してから移動先の前記第3
のプロキシに接続し、その後で中継を再開し、前記第3
のプロキシは、該当するセッションIDを含む引数を用
いて新たなクライアントアプリケーションを起動し、起
動された新たなクライアントアプリケーションは、前記
第3のプロキシに接続して指定されたセッションIDを
含む情報を前記第3のプロキシに送信し、前記第3のプ
ロキシは、セッションIDに基づいて、前記第1のプロ
キシの通信と前記新たなクライアントアプリケーション
の通信とを結びつけてデータの中継を行うことを特徴と
する。
According to a third aspect of the present invention, in the communication connection establishing method according to the first aspect, when the client application and the server application communicate via a plurality of proxies, a response from the server application to a connection request of the client application is received. When transferred to a client application, the transfer path is managed as a session, and a session ID is assigned to each session. When the first proxy receives a switching request for service transfer, the first proxy performs communication. The relay of the third
Connect to the proxy, and then resume relaying,
Launches a new client application using an argument including the corresponding session ID, and the launched new client application connects to the third proxy and transmits information including the specified session ID to the third proxy. The third proxy transmits data to the third proxy by linking the communication of the first proxy and the communication of the new client application based on a session ID. .

【0015】請求項3においては、セッションIDを用
いて複数のセッションをそれぞれ区別している。また、
前記第1のプロキシの制御により、第1のプロキシの接
続先が移動先の第3のプロキシに切り替わる。更に、前
記第3のプロキシの制御により新たなクライアントアプ
リケーションが自動的に起動され、この新たなクライア
ントアプリケーションの通信と前記第1のプロキシの通
信とが自動的に結び付けられる。
In the third aspect, a plurality of sessions are distinguished from each other by using a session ID. Also,
Under the control of the first proxy, the connection destination of the first proxy is switched to the third proxy at the destination. Further, a new client application is automatically started under the control of the third proxy, and the communication of the new client application and the communication of the first proxy are automatically linked.

【0016】このため、サーバアプリケーションの通信
サービスの提供先を、通信を切断することなく元のクラ
イアントアプリケーションから新たなクライアントアプ
リケーションに移動することができる。また、通信サー
ビスの連続性を確保することができる。請求項4は、請
求項2の通信コネクション確立方法において、クライア
ントアプリケーションとサーバアプリケーションとが複
数のプロキシを介して通信する場合に、クライアントア
プリケーションの接続要求に対してサーバアプリケーシ
ョンからの応答がクライアントアプリケーションに転送
された場合にその転送経路をセッションとして管理する
とともに、それぞれのセッションにセッションIDを割
り当てておき、前記第2のプロキシは、サービス移動の
ための切替要求を受け付けた場合に、通信の中継を中断
して該当するセッションIDを含む引数を用いて新たな
クライアントアプリケーションを起動し、起動された新
たなクライアントアプリケーションは、前記第2のプロ
キシに接続して指定されたセッションIDを含む情報を
前記第2のプロキシに送信し、前記第2のプロキシは、
セッションIDに基づいて、サーバアプリケーションと
の間に通信路を持つプロキシの通信と前記新たなクライ
アントアプリケーションの通信とを結びつけてデータの
中継を再開することを特徴とする。
Therefore, the communication service providing destination of the server application can be moved from the original client application to the new client application without disconnecting the communication. In addition, continuity of communication service can be ensured. According to a fourth aspect, in the communication connection establishing method according to the second aspect, when the client application and the server application communicate via a plurality of proxies, a response from the server application to a connection request of the client application is transmitted to the client application. When transferred, the transfer path is managed as a session, and a session ID is assigned to each session. When the second proxy receives a switching request for service transfer, it relays the communication. The new client application is started by using the argument including the corresponding session ID after the interruption, and the started new client application connects to the second proxy and retrieves the information including the specified session ID. Transmitted to the second proxy, the second proxy,
The relay of the data is resumed by linking the communication of the proxy having a communication path with the server application and the communication of the new client application based on the session ID.

【0017】請求項4においては、セッションIDを用
いて複数のセッションをそれぞれ区別している。また、
要求が発生した場合には前記第2のプロキシの制御によ
り新たなクライアントアプリケーションが自動的に起動
される。更に、起動した新たなクライアントアプリケー
ションの制御により、それと第2のプロキシとの間に通
信経路が形成される。また、第2のプロキシの制御によ
り、該当するセッションを利用してサーバアプリケーシ
ョンと起動された新たなクライアントアプリケーション
との間で通信が行われるように通信サービスの経路が切
り替わる。
In the present invention, a plurality of sessions are distinguished by using a session ID. Also,
When a request occurs, a new client application is automatically started under the control of the second proxy. Further, a communication path is formed between the newly activated client application and the second proxy under the control of the newly activated client application. Further, under the control of the second proxy, the path of the communication service is switched so that communication is performed between the server application and the started new client application using the corresponding session.

【0018】このため、サーバアプリケーションの通信
サービスの提供先を、通信を切断することなく元のクラ
イアントアプリケーションから新たなクライアントアプ
リケーションに移動することができる。また、通信サー
ビスの連続性を確保することができる。請求項5の通信
コネクション確立方法は、サービスを要求するクライア
ントアプリケーションを含む端末と、サービスを提供す
るサーバアプリケーションを含む端末と、通信の内容を
蓄積及び中継するプロキシを含む端末とが接続された通
信システムの制御に用いる通信コネクション確立方法で
あって、各々の端末に存在するクライアントアプリケー
ション又はサーバアプリケーション及びプロキシを表す
第1の情報と、各々の端末の特定に利用される第2の情
報とを保持しておき、1つ以上のプロキシを中継して形
成されるサーバアプリケーションとクライアントアプリ
ケーションとの間の通信経路をセッションとして管理
し、セッション毎に、少なくともセッションの識別子,
当該セッションを利用しているクライアントアプリケー
ション及びサーバアプリケーションを特定する第3の情
報,当該セッションが利用しているプロキシを特定する
第4の情報及び当該セッションが利用しているプロキシ
の接続点を表す第5の情報を保持し、利用するサーバア
プリケーション又はクライアントアプリケーションを提
供する端末の切替、もしくはサーバアプリケーションと
クライアントアプリケーションとの間の通信に利用して
いる通信経路上のプロキシの切替が必要な場合に、該当
するセッションの情報と前記第1の情報及び第2の情報
とを利用して、サーバアプリケーションとそれに接続さ
れたプロキシとの間、クライアントアプリケーションと
それに接続されたプロキシとの間、サーバアプリケーシ
ョンとクライアントアプリケーションとの間を中継する
複数プロキシの間の少なくとも1つの通信コネクション
を自動的に切り替えることを特徴とする。
Therefore, the communication service providing destination of the server application can be moved from the original client application to a new client application without disconnecting the communication. In addition, continuity of communication service can be ensured. A communication connection establishing method according to claim 5, wherein a terminal including a client application for requesting a service, a terminal including a server application for providing a service, and a terminal including a proxy for storing and relaying communication contents are connected. A communication connection establishment method used for controlling a system, wherein first information indicating a client application or a server application and a proxy existing in each terminal and second information used for specifying each terminal are stored. In addition, a communication path between a server application and a client application formed by relaying one or more proxies is managed as a session, and at least a session identifier,
Third information for specifying a client application and a server application using the session, fourth information for specifying a proxy used by the session, and a fourth information indicating a connection point of the proxy used by the session. In the case where it is necessary to switch the terminal that provides the server application or the client application to be used and retains the information of No. 5 or to switch the proxy on the communication path used for the communication between the server application and the client application, Utilizing the corresponding session information and the first information and the second information, between the server application and the proxy connected thereto, between the client application and the proxy connected thereto, and between the server application and the client. Wherein the automatic switching at least one communication connection between multiple proxy for relaying between the application.

【0019】請求項5においては、サーバアプリケーシ
ョンとクライアントアプリケーションとの間の通信経路
がセッションとして管理され、セッション毎に、セッシ
ョンの識別子,当該セッションを利用しているクライア
ントアプリケーション及びサーバアプリケーションを特
定する第3の情報,当該セッションが利用しているプロ
キシを特定する第4の情報及び当該セッションが利用し
ているプロキシの接続点を表す第5の情報を保持する。
また、各々の端末に存在するクライアントアプリケーシ
ョン又はサーバアプリケーション及びプロキシを表す第
1の情報と、各々の端末の特定に利用される第2の情報
とを保持する。
In the present invention, a communication path between the server application and the client application is managed as a session, and for each session, a session identifier, a client application and a server application that use the session are specified. No. 3 information, fourth information for specifying the proxy used by the session, and fifth information indicating the connection point of the proxy used by the session.
Also, it holds first information indicating a client application or a server application and a proxy existing in each terminal, and second information used for specifying each terminal.

【0020】前記第1の情報を参照することにより、各
々の端末に存在するクライアントアプリケーション,サ
ーバアプリケーション及びプロキシを調べることができ
る。従って、例えばクライアントアプリケーション又は
サーバアプリケーションを切り替える場合に、同じアプ
リケーションが存在する端末を自動的に検出することが
できる。
By referring to the first information, it is possible to check the client application, server application, and proxy existing in each terminal. Therefore, for example, when switching between the client application and the server application, it is possible to automatically detect a terminal where the same application exists.

【0021】また、前記第2の情報を参照することによ
り、各々の端末のアドレスなどを特定することができ
る。更に、セッションの識別子で区別されるそれぞれの
セッションの情報から、利用しているクライアントアプ
リケーション,サーバアプリケーション及びプロキシを
特定するとともにプロキシの接続点を検出することがで
きるので、例えば現在利用しているセッションに含まれ
ている特定のプロキシを他のプロキシに切り替えること
ができる。
Further, by referring to the second information, it is possible to specify the address of each terminal and the like. Furthermore, the client application, the server application, and the proxy being used can be specified and the connection point of the proxy can be detected from the information of each session distinguished by the session identifier. Can switch from one proxy to another.

【0022】この場合の切替は自動的に行われるので、
通信の途中で、その通信を終了することなく通信経路を
切り替えることができる。切替の間の通信の内容は必要
に応じてプロキシに蓄積され、切替が完了した後で通信
が継続するようにプロキシが中継動作を行う。このた
め、例えば利用しているサーバアプリケーションを含む
端末(切替元)に障害が発生した場合には、それと同じ
サーバアプリケーションを含む他の端末(切替先)に切
り替えるようにセッションの構成を変更し、切替先の端
末を利用してそのまま通信を継続することができる。こ
のような切替を行う場合であっても、通信サービスの連
続性は保証される。
In this case, the switching is automatically performed.
The communication path can be switched during the communication without terminating the communication. The contents of the communication during the switching are accumulated in the proxy as necessary, and the proxy performs a relay operation so that the communication is continued after the switching is completed. For this reason, for example, when a failure occurs in the terminal (switch source) including the server application being used, the session configuration is changed so as to switch to another terminal (switch destination) including the same server application, The communication can be continued as it is using the switching destination terminal. Even when such switching is performed, continuity of the communication service is guaranteed.

【0023】同様に、クライアントアプリケーションを
切り替えることもできるし、セッションを構成するプロ
キシの数や中継経路を変更することもできる。請求項6
は、請求項5の通信コネクション確立方法において、プ
ロキシとサーバアプリケーション又はクライアントアプ
リケーションとを同一の端末上に備えた少なくとも1台
の移動端末を前記通信システムの端末として利用し、前
記移動端末が実際の通信に利用する通信装置の切替に伴
う前記第2の情報の変化を同じ移動端末上に配置される
プロキシにより吸収することを特徴とする。
Similarly, the client application can be switched, and the number of proxies constituting a session and the relay route can be changed. Claim 6
The method according to claim 5, wherein at least one mobile terminal provided with a proxy and a server application or a client application on the same terminal is used as a terminal of the communication system, and the mobile terminal The change of the second information accompanying the switching of the communication device used for communication is absorbed by a proxy arranged on the same mobile terminal.

【0024】請求項6においては、利用する同一の端末
上にプロキシとサーバアプリケーション又はクライアン
トアプリケーションとが存在するので、端末の移動に伴
ってその端末のアドレスなどに変化が生じた場合であっ
ても、その端末上ではサーバアプリケーション又はクラ
イアントアプリケーションとプロキシとの間の通信コネ
クションを変更する必要はない。
According to the sixth aspect, since the proxy and the server application or the client application exist on the same terminal to be used, even if the address of the terminal changes due to the movement of the terminal, it is possible to use the same. On the terminal, there is no need to change the communication connection between the server application or the client application and the proxy.

【0025】このため、他の通信コネクションを切り替
える時には前記プロキシの蓄積機能によって通信内容が
保持されるので、通信コネクションを切り替えた後で通
信を継続することができる。請求項7は、請求項5の通
信コネクション確立方法において、前記セッションの情
報を管理するセッション管理部が存在し、あるセッショ
ンについて実際に中継をしているプロキシである第1の
プロキシから別のプロキシである第2のプロキシへの切
替要求が発生した場合に、その切替要求をいずれか1つ
の端末が前記セッション管理部に通知し、前記セッショ
ン管理部から切替先の第2のプロキシに対して切替の準
備状況に関する問い合わせを行い、第2のプロキシから
切替準備が完了したことを示す通知が前記セッション管
理部に届いた場合に、第1のプロキシとの間で通信コネ
クションを確立している第3のプロキシに対して、前記
セッション管理部から切替先の第2のプロキシに関する
情報とともに切替要求を送信し、第3のプロキシが、セ
ッションの識別子を用いて切替先の第2のプロキシとの
間で新たな通信コネクションを確立し、第1のプロキシ
と第3のプロキシとの間の通信コネクションを介して行
われていた通信が第3のプロキシと第2のプロキシとの
間の通信コネクションを通るように切替え、全ての通信
コネクションの切替が完了した場合に、前記セッション
管理部に対して切替完了を通知し、切替先の第2のプロ
キシは、第3のプロキシとの間の第1の通信コネクショ
ンの確立が完了した場合に、通知されたセッションの識
別子に基づいて、第2のプロキシとサーバアプリケーシ
ョン又はクライアントアプリケーションとの間に確立さ
れた第2の通信コネクションと前記第1の通信コネクシ
ョンとを関連付けて当該セッションの通信経路を切り替
えることを特徴とする。
Therefore, when another communication connection is switched, the communication content is held by the storage function of the proxy, so that communication can be continued after the communication connection is switched. According to a seventh aspect of the present invention, in the communication connection establishing method according to the fifth aspect, a session management unit for managing the information of the session exists, and a first proxy, which is a relay actually relaying a certain session, is different from another proxy. When a switch request to the second proxy is generated, any one terminal notifies the switch request to the session management unit, and the session management unit switches to the switch destination second proxy. When a notification indicating that the switching preparation is completed is received from the second proxy to the session management unit, a communication connection with the first proxy is established. A switch request is transmitted from the session management unit to the second proxy together with information on the second proxy to be switched to, and the third proxy Establishes a new communication connection with the second proxy at the switching destination using the session identifier, and performs communication via the communication connection between the first proxy and the third proxy. Is switched to pass through the communication connection between the third proxy and the second proxy, and when the switching of all communication connections is completed, the switching completion is notified to the session management unit, and the switching destination The second proxy establishes a connection between the second proxy and the server application or the client application based on the notified session identifier when the establishment of the first communication connection with the third proxy is completed. Switching the communication path of the session by associating the second communication connection established with the first communication connection with the first communication connection And it features.

【0026】請求項7においては、1つのセッションに
ついて第1のプロキシから第2のプロキシへの切替を自
動的に行うことができる。これにより、第1のプロキシ
に接続されたアプリケーションの機能(サービス)を第
2のプロキシに接続されたアプリケーションに移動する
ことができる。請求項8は、請求項5の通信コネクショ
ン確立方法において、前記セッションの情報を管理する
セッション管理部が存在し、あるセッションについて、
実際に通信を中継している第1のプロキシと第2のプロ
キシとの間に、新たな第3のプロキシを追加するための
プロキシの追加要求が発生した場合に、その追加要求を
いずれか1つの端末が前記セッション管理部に通知し、
前記セッション管理部から追加される第3のプロキシに
対して追加の準備状況に関する問い合わせを行い、第3
のプロキシから準備完了を示す通知を前記セッション管
理部が受けた場合に、前記セッション管理部は、第1の
プロキシ及び第2のプロキシのそれぞれに対して追加要
求を送信し、第1のプロキシ及び第2のプロキシのそれ
ぞれは、前記追加要求に応答して、セッションの識別子
を用いて第3のプロキシとの間で新たな第1の通信コネ
クション又は第2の通信コネクションを確立し、第1の
プロキシ及び第2のプロキシが中継している通信が第1
の通信コネクション又は第2の通信コネクションを通る
ように切り替えて、全ての通信について利用する通信コ
ネクションの切替が完了した場合に、前記セッション管
理部に対して切替完了を通知し、第1のプロキシと第3
のプロキシとの間の第1の通信コネクション及び第2の
プロキシと第3のプロキシとの間の第2の通信コネクシ
ョンの両方が確立された場合に、通知されたセッション
の識別子に基づいて、第1の通信コネクションと第2の
通信コネクションとを関連付けることを特徴とする。
According to the seventh aspect, the switching from the first proxy to the second proxy can be automatically performed for one session. Thereby, the function (service) of the application connected to the first proxy can be moved to the application connected to the second proxy. According to a eighth aspect, in the communication connection establishment method according to the fifth aspect, a session management unit that manages the information of the session exists.
When a request for adding a proxy for adding a new third proxy occurs between the first proxy and the second proxy that are actually relaying communication, any one of the additional requests is sent. One terminal notifies the session management unit,
The session management unit inquires of the third proxy added about the additional preparation status,
When the session management unit receives a notification indicating preparation completion from the proxy, the session management unit transmits an addition request to each of the first proxy and the second proxy, and Each of the second proxies establishes a new first communication connection or a second communication connection with the third proxy using the session identifier in response to the addition request, The communication relayed by the proxy and the second proxy is the first
When the switching of the communication connection to be used for all communications is completed, the switching is notified to the session management unit, and the first proxy is communicated with the first proxy. Third
When both the first communication connection with the proxy and the second communication connection between the second proxy and the third proxy are established, the second communication connection is established based on the notified session identifier. The first communication connection and the second communication connection are associated with each other.

【0027】請求項8においては、1つのセッションに
ついて実際に通信を中継している第1のプロキシと第2
のプロキシとの間に、新たな第3のプロキシを追加する
ことができる。また、請求項8では切替を行う前に切替
先のプロキシの状態を確認するので、確実に切替可能な
プロキシに対して切替を実行することができる。また、
切替の後で完了の通知を行うので、切替元のプロキシは
切替の後でそれまで使用していたリソースを開放するこ
とができる。
According to the present invention, the first proxy and the second proxy that are actually relaying communication for one session are provided.
A new third proxy can be added to the third proxy. In addition, since the state of the proxy at the switching destination is checked before switching, the switching can be executed for the proxy that can be switched reliably. Also,
Since the completion notification is performed after the switching, the switching source proxy can release the resources that have been used until then after the switching.

【0028】請求項9は、請求項5の通信コネクション
確立方法において、前記セッションの情報を管理するセ
ッション管理部が存在し、あるセッションについて、実
際に通信を中継している第1のプロキシに関する削除要
求が発生した場合に、その削除要求をいずれか1つの端
末が前記セッション管理部に通知し、前記セッション管
理部は、第1のプロキシとの間で第1の通信コネクショ
ン及び第2の通信コネクションを確立している第2のプ
ロキシ及び第3のプロキシのそれぞれに対して削除要求
を送信し、第2のプロキシ及び第3のプロキシは、それ
らの間に第3の通信コネクションを確立し、第1の通信
コネクション及び第2の通信コネクションを利用してい
る通信を第3の通信コネクションに切り替えて、通信コ
ネクションの切替が完了した場合には、第2のプロキシ
及び第3のプロキシは、それぞれ前記セッション管理部
に対して切替完了を通知することを特徴とする。
According to a ninth aspect of the present invention, there is provided the communication connection establishing method according to the fifth aspect, wherein a session management unit for managing the information of the session exists, and for a certain session, the deletion related to the first proxy that is actually relaying communication. When a request occurs, one of the terminals notifies the session management unit of the deletion request, and the session management unit communicates with the first proxy through a first communication connection and a second communication connection. Sending a delete request to each of the second and third proxies establishing a third communication connection between them, the second proxy and the third proxy establishing a third communication connection between them, Switching the communication using the first communication connection and the second communication connection to the third communication connection, and switching the communication connection If completed, the second proxy, and the third proxy and notifies the completion of switching to each said session management unit.

【0029】請求項9においては、1つのセッションに
ついて、実際に通信を中継している第1のプロキシをそ
のセッションから除外することができる。例えば、第1
のプロキシを削除した方が通信経路が短くなる場合や、
第1のプロキシが不必要になった場合には、第1のプロ
キシを削除して通信経路を最適化することができる。通
信の途中で第1のプロキシを削除した場合でも、その通
信サービスの連続性は請求項9の制御シーケンス及び他
のプロキシの働きにより保証される。
According to the ninth aspect, for one session, the first proxy that is actually relaying communication can be excluded from the session. For example, the first
If removing the proxy will shorten the communication path,
When the first proxy becomes unnecessary, the first proxy can be deleted to optimize the communication path. Even if the first proxy is deleted during the communication, the continuity of the communication service is guaranteed by the control sequence of claim 9 and the operation of the other proxies.

【0030】請求項10は、請求項5の通信コネクショ
ン確立方法において、前記セッションの情報を管理する
セッション管理部が存在し、あるセッションについて、
第1のプロキシと第2のプロキシとの間に第1の通信コ
ネクションが確立され、第2のプロキシと第3のプロキ
シとの間に第2の通信コネクションが確立され、第1の
通信コネクション及び第2の通信コネクションを利用
し、第1のプロキシ,第2のプロキシ及び第3のプロキ
シを中継して通信を行っている状態で、第2のプロキシ
から新たな第4のプロキシへの置換要求が発生した場合
に、その置換要求をいずれか1つの端末が前記セッショ
ン管理部に通知し、前記セッション管理部は、第4のプ
ロキシに対して置換の準備に関する問い合わせを行い、
第4のプロキシから準備完了を示す通知を前記セッショ
ン管理部が受けた場合には、前記セッション管理部は第
1のプロキシ及び第3のプロキシに対して切替要求を送
信し、第1のプロキシ及び第3のプロキシのそれぞれ
は、前記切替要求に応答して、セッションの識別子に基
づき置換先の第4のプロキシとの間に第3の通信コネク
ション及び第4の通信コネクションを確立し、第1のプ
ロキシ及び第3のプロキシのそれぞれは、第1の通信コ
ネクション及び第2の通信コネクションを介して行われ
ていた通信を第3の通信コネクション及び第4の通信コ
ネクションを通るように切り替えて、切り替えた全ての
通信コネクションについて通信に利用する通信コネクシ
ョンの切替が完了した後で、第1のプロキシ及び第3の
プロキシのそれぞれが前記セッション管理部に対して切
替完了を通知し、第3の通信コネクション及び第4の通
信コネクションが確立された後で、通知されたセッショ
ンの識別子に基づいて第3の通信コネクションと第4の
通信コネクションとを関連付けることを特徴とする。
According to a tenth aspect of the present invention, in the communication connection establishing method of the fifth aspect, a session management unit for managing the information of the session exists.
A first communication connection is established between the first proxy and the second proxy, a second communication connection is established between the second proxy and the third proxy, and the first communication connection and A request for replacement from the second proxy to a new fourth proxy in a state where communication is performed using the second communication connection and relaying the first proxy, the second proxy, and the third proxy. Occurs, any one of the terminals notifies the session management unit of the replacement request, and the session management unit makes an inquiry about preparation for replacement to the fourth proxy,
When the session management unit receives a notification indicating the completion of preparation from the fourth proxy, the session management unit transmits a switching request to the first proxy and the third proxy, and transmits the switching request to the first proxy and the third proxy. Each of the third proxies establishes a third communication connection and a fourth communication connection with the replacement fourth proxy based on the session identifier in response to the switching request, Each of the proxy and the third proxy switches the communication performed via the first communication connection and the second communication connection so as to pass through the third communication connection and the fourth communication connection. After the switching of the communication connection used for communication is completed for all communication connections, each of the first proxy and the third proxy is After the completion of switching is notified to the session management unit, and after the third communication connection and the fourth communication connection are established, the third communication connection and the fourth communication are performed based on the notified session identifier. It is characterized by associating with a connection.

【0031】請求項10においては、1つのセッション
について、第1のプロキシ,第2のプロキシ及び第3の
プロキシを中継して通信を行っている状態で、第2のプ
ロキシから新たな第4のプロキシへの置換を行うことが
できる。例えば、第2のプロキシから第4のプロキシへ
置換した方が通信経路が短くなる場合には、置換を行う
ことにより通信経路を最適化することができる。
In a tenth aspect, for one session, a new fourth session is transmitted from the second proxy in a state where communication is performed via the first proxy, the second proxy, and the third proxy. A proxy can be substituted. For example, when the communication path becomes shorter when the second proxy is replaced with the fourth proxy, the communication path can be optimized by performing the replacement.

【0032】通信の途中で置換を行った場合でも、その
通信サービスの連続性は請求項10の制御シーケンス及
びプロキシの働きにより保証される。なお、本発明を適
用するネットワークについては、例えば図21に示すよ
うに様々な形態が考えられる。互いに通信を行うアプリ
ケーション1,3は、プロキシ2を介して通信路を確立
する。プロキシ2は、通信の中継を行う。
Even when the replacement is performed during the communication, the continuity of the communication service is guaranteed by the control sequence and the function of the proxy. It should be noted that the network to which the present invention is applied may take various forms as shown in FIG. The applications 1 and 3 communicating with each other establish a communication path via the proxy 2. The proxy 2 relays communication.

【0033】図21の(a)では、2つのアプリケーシ
ョン1,3の間に1つのプロキシ2を介在して通信路を
確立してある。また、図21の(b)では、2つのアプ
リケーション1,3の間に2つのプロキシ2(1),2
(2)を介在して通信路を確立してある。
In FIG. 21A, a communication path is established between two applications 1 and 3 with one proxy 2 interposed. Also, in FIG. 21B, two proxies 2 (1), 2
A communication path is established via (2).

【0034】アプリケーション1,3やプロキシ2は、
現実にはコンピュータなどの通信ノード(以下、ノード
と記載する)の内部にプロセスとして存在する。ノード
の配置や構成については様々な形態が考えられる。図2
1の(c)では、アプリケーション1及びプロキシ2
(1)が同じノード4(1)上に配置され、プロキシ2
(2)はノード4(2)上に配置され、アプリケーショ
ン3はノード4(3)上に配置されている。
The applications 1 and 3 and the proxy 2
In reality, it exists as a process inside a communication node such as a computer (hereinafter, referred to as a node). Various forms can be considered for the arrangement and configuration of the nodes. FIG.
1 (c), application 1 and proxy 2
(1) is located on the same node 4 (1) and proxy 2
(2) is located on node 4 (2), and application 3 is located on node 4 (3).

【0035】図21の(c)に示すように、各ノードに
は、プロキシ又はアプリケーションあるいはそれらの両
方を搭載することができる。複数のアプリケーションの
間の通信は少なくとも1つのプロキシを介して行われ
る。また、互いに通信する複数のアプリケーションの間
に複数のプロキシを介在することにより、プロキシ間で
発生する通信の切断や通信媒体の変化などを吸収するこ
とが可能であり、ノードの移動が可能になる。
As shown in FIG. 21C, each node can be equipped with a proxy, an application, or both. Communication between the plurality of applications is performed via at least one proxy. In addition, by interposing a plurality of proxies between a plurality of applications that communicate with each other, it is possible to absorb a disconnection of communication or a change in a communication medium that occurs between the proxies, and the node can be moved. .

【0036】また、通信経路上のプロキシやアプリケー
ションの接続関係を変更することにより、ネットワーク
サービスをノード間にまたがって移動させることが可能
になる。請求項1はプロキシの按続関係を変吏すること
を特徴としている。また、請求項2はアプリケーション
の按続閑係を変吏することを特徴としている。按続関係
を様々に変更することにより、通信に用いるノードやア
プリケーションの自由な変更が可能になり、ユーザの利
便性を高めることができる。
Also, by changing the connection relationship between proxies and applications on the communication path, it becomes possible to move network services across nodes. Claim 1 is characterized in that the proxy relation is changed. Claim 2 is characterized in that the application clerk is changed. By changing the cascading relationship in various ways, nodes and applications used for communication can be freely changed, and user convenience can be improved.

【0037】例えば、ユーザが屋内にいる場合には有線
の広帯域の回線を用いて大画面のノードでサービスを受
け、ユーザが屋外に移動した場合には携帯端末のノード
にサービスを移すとともに、サービスの質よりもモビリ
ティを優先させるように通信環境を対応させることがで
きる。
For example, when the user is indoors, the service is received by a large-screen node using a wired broadband line, and when the user moves outdoors, the service is transferred to the node of the portable terminal. The communication environment can be adapted to give priority to mobility over quality of communication.

【0038】[0038]

【発明の実施の形態】(第1の実施の形態)本発明の通
信コネクション確立方法の1つの実施の形態について図
1〜図20を参照して説明する。この形態は、請求項
1,請求項2及び請求項5〜請求項10に対応する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment) One embodiment of a communication connection establishing method according to the present invention will be described with reference to FIGS. This embodiment corresponds to claims 1, 2, and 5 to 10.

【0039】図1はプロキシ及びアプリケーションを切
り替える場合の制御シーケンスを示すシーケンス図であ
る。図2はプロキシ及びアプリケーションを切り替える
場合の通信経路の例を示すブロック図である。図3はセ
ッションにプロキシを追加する場合の制御シーケンスを
示すシーケンス図である。図4はセッションにプロキシ
を追加する場合の通信経路の例を示すブロック図であ
る。
FIG. 1 is a sequence diagram showing a control sequence when switching between a proxy and an application. FIG. 2 is a block diagram illustrating an example of a communication path when switching between a proxy and an application. FIG. 3 is a sequence diagram showing a control sequence when a proxy is added to a session. FIG. 4 is a block diagram illustrating an example of a communication path when a proxy is added to a session.

【0040】図5はセッションからプロキシを削除する
場合の制御シーケンスを示すシーケンス図である。図6
はセッションからプロキシを削除する場合の通信経路の
例を示すブロック図である。図7はセッション上のプロ
キシを置換する場合の制御シーケンスを示すシーケンス
図である。図8はセッション上のプロキシを置換する場
合の通信経路の例を示すブロック図である。
FIG. 5 is a sequence diagram showing a control sequence when a proxy is deleted from a session. FIG.
FIG. 4 is a block diagram illustrating an example of a communication path when a proxy is deleted from a session. FIG. 7 is a sequence diagram showing a control sequence when a proxy on a session is replaced. FIG. 8 is a block diagram illustrating an example of a communication path when a proxy on a session is replaced.

【0041】図9は通信システムの構成例を示すブロッ
ク図である。図10は移動端末の構成例を示すブロック
図である。図11はサービス管理部SRが保持する情報
の例を示す模式図である。図12は位置管理部LRが保
持する情報の例を示す模式図である。図13はセッショ
ン管理部SMが保持する情報の例を示す模式図である。
図14は通信システムの構成例を示すブロック図であ
る。図15はネットワークの構成例を示すブロック図で
ある。図16はノード及びサービスの移動モデルを示す
ブロック図である。図17は端末の移動時の位置情報更
新手順を示すシーケンス図である。
FIG. 9 is a block diagram showing a configuration example of a communication system. FIG. 10 is a block diagram illustrating a configuration example of a mobile terminal. FIG. 11 is a schematic diagram illustrating an example of information held by the service management unit SR. FIG. 12 is a schematic diagram illustrating an example of information held by the position management unit LR. FIG. 13 is a schematic diagram illustrating an example of information held by the session management unit SM.
FIG. 14 is a block diagram illustrating a configuration example of a communication system. FIG. 15 is a block diagram illustrating a configuration example of a network. FIG. 16 is a block diagram showing a movement model of nodes and services. FIG. 17 is a sequence diagram showing a procedure for updating location information when the terminal moves.

【0042】この形態では、請求項5の第1の情報は図
11のB11〜B13及びC11〜C13に相当し、第
2の情報は図12のE10,E12に相当する。また、
請求項5のセッションの識別子は図13のG11に相当
し、第3の情報は図13のG12〜G15に相当し、第
4の情報は図13のG16に相当し、第5の情報は図1
3のG17に相当する。
In this embodiment, the first information in claim 5 corresponds to B11 to B13 and C11 to C13 in FIG. 11, and the second information corresponds to E10 and E12 in FIG. Also,
The session identifier according to claim 5 corresponds to G11 in FIG. 13, the third information corresponds to G12 to G15 in FIG. 13, the fourth information corresponds to G16 in FIG. 13, and the fifth information corresponds to FIG. 1
3 corresponds to G17.

【0043】この形態では、例えば図9に示すような通
信システムに本発明を適用する場合を想定している。図
9の例では、3種類のサブネットワーク51,52,5
3が広域ネットワーク54を介して互いに接続されてい
る。サブネットワーク51においては、イーサネットの
規格に沿って構成された通信インタフェースを介して、
有線で多数の端末(55,56)を互いに通信可能な状
態で接続することができる。
In this embodiment, it is assumed that the present invention is applied to a communication system as shown in FIG. In the example of FIG. 9, three types of sub-networks 51, 52, 5
3 are connected to each other via a wide area network 54. In the sub-network 51, via a communication interface configured according to the Ethernet standard,
Many terminals (55, 56) can be connected in a communicable state by wire.

【0044】サブネットワーク52は無線LANを構成
している。この規格に適合する無線通信インタフェース
を備える移動端末59,60は、基地局57,58との
間で無線通信が可能であり、無線でサブネットワーク5
2と接続される。勿論、特定の通信可能エリアの外では
基地局57,58との通信はできない。サブネットワー
ク53は、公衆無線通信システムであるPHSのネット
ワークである。図9の例では、サブネットワーク53に
は移動端末61,固定端末62及びTAP(PIAFS
用ターミナルアダプタ)63が接続され、TAP63に
は基地局64,65が接続されている。PHSの通信規
格に沿って構成された無線通信インタフェースを備える
移動端末66,67は、基地局64,65との間で無線
通信が可能である。勿論、特定の通信可能エリアの外で
は基地局64,65との通信はできない。
The sub-network 52 constitutes a wireless LAN. The mobile terminals 59 and 60 having a wireless communication interface conforming to this standard can perform wireless communication with the base stations 57 and 58 and wirelessly communicate with the sub-network 5.
2 is connected. Of course, communication with the base stations 57 and 58 cannot be performed outside the specific communicable area. The subnetwork 53 is a network of a PHS which is a public wireless communication system. In the example of FIG. 9, the sub-network 53 includes a mobile terminal 61, a fixed terminal 62, and a TAP (PIAFS).
TAP 63 is connected to base stations 64 and 65. The mobile terminals 66 and 67 having a wireless communication interface configured according to the PHS communication standard can perform wireless communication with the base stations 64 and 65. Of course, communication with the base stations 64 and 65 cannot be performed outside the specific communicable area.

【0045】例えば、図9に示す移動端末59が移動端
末55の近傍に移動した場合には、移動端末59は基地
局57との無線通信ができなくなる可能性がある。しか
し、その位置では移動端末59を有線でサブネットワー
ク51に接続することができる。一般的なシステムの場
合、端末が通信のために利用するネットワークをサブネ
ットワーク51,52,53の間で切り替える場合に
は、アプリケーションの通信を一旦終了して通信経路を
再構築する必要があるため手間がかかる。
For example, when the mobile terminal 59 shown in FIG. 9 moves near the mobile terminal 55, the mobile terminal 59 may not be able to perform wireless communication with the base station 57. However, at that position, the mobile terminal 59 can be connected to the sub-network 51 by wire. In the case of a general system, when a terminal switches a network used for communication among the sub-networks 51, 52, and 53, it is necessary to temporarily end application communication and reconstruct a communication path. It takes time and effort.

【0046】本発明を実施する場合には、端末が通信の
ために利用するネットワークをサブネットワーク51,
52,53の間で切り替える場合であっても、アプリケ
ーションの通信を終了することなく自動的に切替を行う
ことができる。また、例えば移動端末55及び固定端末
56に同一のアプリケーションプログラムが存在する場
合には、一人のユーザが移動端末55上のアプリケーシ
ョンプログラムを利用して通信している途中で、固定端
末56上のアプリケーションプログラムに切り替えて継
続的に通信を行うこともできる。
In practicing the present invention, the network used by the terminal for communication is connected to the sub-network 51,
Even when switching between 52 and 53, the switching can be performed automatically without terminating the communication of the application. Further, for example, when the same application program exists in the mobile terminal 55 and the fixed terminal 56, while one user is communicating using the application program on the mobile terminal 55, It is also possible to switch to a program for continuous communication.

【0047】本発明を実施するために用いる各端末(こ
の例では移動端末)は、図10のように構成される。図
10の移動端末は、サブネットワーク51との接続を可
能にするためにイーサネット通信アダプタ21を備え、
サブネットワーク52との接続を可能にするために無線
LANアダプタ22を備え、サブネットワーク53との
接続を可能にするためにPHS通信アダプタ23を備え
ている。
Each terminal (mobile terminal in this example) used to carry out the present invention is configured as shown in FIG. The mobile terminal of FIG. 10 includes an Ethernet communication adapter 21 to enable connection with the sub-network 51,
The wireless LAN adapter 22 is provided to enable connection to the sub-network 52, and the PHS communication adapter 23 is provided to enable connection to the sub-network 53.

【0048】また、図10の移動端末はソフトウェア1
0としてサーバアプリケーション11,クライアントア
プリケーション12,プロキシ13,エージェント1
4,リンク切替部15,リンク16,17,18,位置
管理部LR,セッション管理部SM及びサービス管理部
SRを備えている。サーバアプリケーション11は、特
定のアプリケーションのサービスを提供するためのプロ
グラムである。クライアントアプリケーション12は、
特定のアプリケーションについてサーバが提供するサー
ビスを利用するためのプログラムである。
The mobile terminal shown in FIG.
0, server application 11, client application 12, proxy 13, agent 1
4, a link switching unit 15, links 16, 17, 18, a position management unit LR, a session management unit SM, and a service management unit SR. The server application 11 is a program for providing a service of a specific application. The client application 12
This is a program for using the service provided by the server for a specific application.

【0049】プロキシ13は、ある送信元からある受信
先への通信の中継を行うとともに通信の内容をそれ自身
の記憶装置に蓄積する。例えば、一時的にプロキシ13
と受信先との間の通信が不能になった場合であっても、
送信元からプロキシ13に入力される通信の内容はプロ
キシ13に蓄積されるので、プロキシ13と受信先との
間の通信が回復した場合には、プロキシ13に蓄積され
た情報を受信先に送信し通信を継続することができる。
The proxy 13 relays communication from a certain transmission source to a certain reception destination and stores the contents of the communication in its own storage device. For example, temporarily proxy 13
Even if communication between the recipient and the recipient becomes unavailable,
Since the content of the communication input from the transmission source to the proxy 13 is stored in the proxy 13, when the communication between the proxy 13 and the reception destination is restored, the information stored in the proxy 13 is transmitted to the reception destination. Communication can be continued.

【0050】図10のプロキシ13は、サーバアプリケ
ーション11の通信又はクライアントアプリケーション
12の通信を中継することができる。リンク切替部15
は他の端末との間の通信に利用するリンク16,17,
18を切り替える。リンク16はイーサネット通信アダ
プタ21と接続され、リンク17は無線LANアダプタ
22と接続され、リンク18はPHS通信アダプタ23
と接続されている。
The proxy 13 in FIG. 10 can relay the communication of the server application 11 or the communication of the client application 12. Link switching unit 15
Are links 16, 17, which are used for communication with other terminals,
Switch 18. The link 16 is connected to an Ethernet communication adapter 21, the link 17 is connected to a wireless LAN adapter 22, and the link 18 is a PHS communication adapter 23.
Is connected to

【0051】リンク16及びイーサネット通信アダプタ
21を利用して通信する場合には、サブネットワーク5
1を介して通信することができ、リンク17及び無線L
ANアダプタ22を介して通信する場合には、サブネッ
トワーク52を介して通信することができ、リンク18
及びPHS通信アダプタ23を利用する場合には、サブ
ネットワーク53を介して通信することができる。
When communication is performed using the link 16 and the Ethernet communication adapter 21, the sub-network 5
1 and can communicate over link 17 and wireless L
When communication is performed via the AN adapter 22, communication can be performed via the sub-network 52 and the link 18
When using the PHS communication adapter 23, the communication can be performed via the sub-network 53.

【0052】つまり、リンク切替部15で使用するリン
ク16,17,18を切り替えることにより通信方式を
切り替えて、サブネットワーク51,52,53のいず
れかに接続することができる。通信を行う各端末には、
それぞれIP(Internet Protocol)アドレスが割り当
てられる。また、端末が通信方式を切り替える際には、
アドレスの割り当て単位であるサブネットの境界を超え
て端末がネットワーク上を移動することになるため、切
替のたびに新たなアドレスを用いる。
That is, by switching the links 16, 17, and 18 used by the link switching unit 15, the communication system can be switched to connect to any of the sub-networks 51, 52, and 53. Each terminal that communicates has
Each is assigned an IP (Internet Protocol) address. Also, when the terminal switches the communication method,
Since the terminal moves on the network beyond the boundary of the subnet, which is the unit of address allocation, a new address is used each time switching is performed.

【0053】サービス管理部SRは各端末に備わってい
るサーバアプリケーション11,クライアントアプリケ
ーション12及びプロキシ13の種類や機能の情報を管
理している。実際には、例えば図11に示す内容がサー
ビス管理部SRに保持される。図11の例では、端末A
11はアプリケーションプログラムとしてサーバB11
を保持し、プロキシC11を備えている。また、端末A
12はアプリケーションプログラムとしてサーバB12
を保持し、プロキシC12を備えている。更に、端末A
13はアプリケーションプログラムとしてクライアント
B13を保持し、プロキシC13を備えている。
The service management unit SR manages information on the types and functions of the server application 11, client application 12, and proxy 13 provided in each terminal. Actually, for example, the contents shown in FIG. 11 are held in the service management unit SR. In the example of FIG.
11 is a server B11 as an application program
And a proxy C11 is provided. Terminal A
Reference numeral 12 denotes a server B12 as an application program.
And a proxy C12 is provided. Further, terminal A
Reference numeral 13 holds a client B13 as an application program and includes a proxy C13.

【0054】位置管理部LRは端末毎にIPアドレスを
管理する。位置管理部LRは、それを備えた端末だけで
なく、多数の端末のIPアドレスを管理することができ
る。但し、位置管理の効率向上のため、ならびにリソー
スの少ない端末でも位置の管理ができるようにするた
め、端末の移動量及び位置管理に関する記憶可能容量の
管理も行う。更に、管理する端末の範囲を限定するため
に複数の端末をグループで区分して管理する。
The location management unit LR manages an IP address for each terminal. The location management unit LR can manage the IP addresses of a large number of terminals as well as the terminals having the same. However, in order to improve the efficiency of location management and to enable location management even for terminals with few resources, management of the amount of movement of the terminals and the storable capacity related to location management is also performed. Furthermore, in order to limit the range of terminals to be managed, a plurality of terminals are divided and managed in groups.

【0055】実際には、例えば図12に示すように、端
末の識別名E10,グループ名E11,IPアドレスE
12,各IPアドレスの状態(利用可否)E13,移動
量E14,LRの記憶容量及び更新時刻の情報が管理し
ている特定グループの端末毎に保持される。また、端末
の移動などに伴って通信デバイスを切り替えた場合には
その端末のIPアドレスが変化するので、この場合には
位置管理部LRの保持する内容を更新する。同時に、通
信相手が存在する場合には、その通信相手に対して位置
情報の更新命令を送信する。すなわち、図17に示す更
新手順を実行する。
In practice, as shown in FIG. 12, for example, the terminal identification name E10, group name E11, and IP address E
12, the state (usability) of each IP address E13, the movement amount E14, the storage capacity of the LR, and the information of the update time are held for each terminal of a specific group managed. Further, when a communication device is switched due to movement of a terminal or the like, the IP address of the terminal changes. In this case, the content held by the location management unit LR is updated. At the same time, if there is a communication partner, an update instruction of the position information is transmitted to the communication partner. That is, the update procedure shown in FIG. 17 is executed.

【0056】また、各端末が位置情報の更新命令を送信
する場合には、所定の優先順位を考慮して命令を送信す
る順序を決定する。例えば、固定端末(デスクトップパ
ソコンなど)56のように移動量の少ない端末について
は高い優先順位を与える。また、位置情報の記憶容量
(E15)が大きい端末についても高い優先順位を与え
る。
When each terminal transmits a position information update instruction, the order in which the instructions are transmitted is determined in consideration of a predetermined priority. For example, a terminal having a small amount of movement, such as a fixed terminal (such as a desktop personal computer) 56, is given a high priority. Also, a high priority is given to a terminal having a large storage capacity (E15) of position information.

【0057】位置管理部LRの管理に用いられる各々の
グループには、サブネットの境界を超える範囲に存在す
る複数の端末を含めることができる。また、1つのサブ
ネット内には複数のグループを共存させることができ
る。
Each group used for the management of the location management unit LR can include a plurality of terminals existing in a range beyond the boundary of the subnet. Also, a plurality of groups can coexist in one subnet.

【0058】新たにグループに加入しようとする端末
(X1)は、そのIPアドレスを取得し、グループ検索
要求をサブネットワーク内にブロードキャストするか、
又は既知の特定の端末(X2)に対してグループ検索要
求を送信する。その後、端末(X1)はグループ検索要
求を受け取った端末(X2)からの応答を受信すると、
その内容からグループの情報を取得し、加入するグルー
プを選択する。
The terminal (X1) that intends to newly join the group acquires its IP address and broadcasts a group search request in the sub-network,
Alternatively, a group search request is transmitted to a known specific terminal (X2). Thereafter, when the terminal (X1) receives a response from the terminal (X2) that has received the group search request,
The group information is acquired from the contents, and the group to be joined is selected.

【0059】また、端末(X1)は端末(X2)に対し
て選択したグループへの登録要求を送信する。端末(X
2)はこの登録要求を送信した端末(X1)の位置情報
を取得する。また、登録要求を受信した端末(X2)が
それに含まれる位置管理部LRの情報を端末(X1)に
送信し、加入した端末(X1)の位置情報を位置管理部
LRの内容に追加することによりグループへの加入手続
きが完了する。
The terminal (X1) transmits a registration request to the selected group to the terminal (X2). Terminal (X
2) obtains the position information of the terminal (X1) that has transmitted the registration request. Further, the terminal (X2) that has received the registration request transmits the information of the location management unit LR included therein to the terminal (X1), and adds the location information of the subscribed terminal (X1) to the content of the location management unit LR. Completes the procedure for joining the group.

【0060】各端末に関する位置情報の検索を行う場合
には、その端末自身に含まれる位置管理部LRの保持し
ている情報から位置情報の検索を行う。検索できなかっ
た場合には、位置管理部LRの保持している情報に含ま
れる任意の端末に対して検索要求を送出する。この検索
要求に対して結果が返ってきたら、その位置情報を位置
管理部LRに追加する。
When searching for location information on each terminal, the location information is searched for from information held by the location management unit LR included in the terminal itself. If the search is not successful, a search request is sent to any terminal included in the information held by the location management unit LR. When a result is returned in response to the search request, the position information is added to the position management unit LR.

【0061】また、サブネット内の同じグループに属し
ている端末を検索する場合には、ブロードキャストパケ
ットを送信し、それに対する応答に基づいて位置管理部
LRに位置情報を登録する。位置管理部LRには、次に
示す機能が含まれている。 (1)端末位置の移動などに伴うIPアドレスの変更 (2)ノードの離脱,回線断,障害などに伴うIPアド
レスの状態の変更 (3)エージェント14に対する変更の通知 (4)グループへの参加及び離脱 (5)グループ内のノードの位置管理部LRとの間の位
置情報の送受信 図10のセッション管理部SMは、各々の通信について
その通信経路の全体をセッションとして管理している。
例えば、図15においては、セッション103を用いて
アプリケーション101とアプリケーション102との
間で通信することができる。この場合、セッション10
3にはプロキシ104,105,106が含まれてい
る。
When searching for a terminal belonging to the same group in the subnet, a broadcast packet is transmitted, and location information is registered in the location management unit LR based on a response to the broadcast packet. The position management unit LR includes the following functions. (1) Change of IP address due to movement of terminal position, etc. (2) Change of IP address state due to node disconnection, line disconnection, failure, etc. (3) Notification of change to agent 14 (4) Participation in group (5) Transmission / reception of position information with the position management unit LR of a node in the group The session management unit SM in FIG. 10 manages the entire communication path of each communication as a session.
For example, in FIG. 15, communication can be performed between the application 101 and the application 102 using the session 103. In this case, session 10
3 includes proxies 104, 105, and 106.

【0062】また、セッション103は通信コネクショ
ン107,108,109,110を利用する。通信コ
ネクション107は、アプリケーション102とプロキ
シ104との間に確立された通信路である。通信コネク
ション108は、プロキシ104,105の間に確立さ
れた通信路である。通信コネクション109は、プロキ
シ105,106の間に確立された通信路である。通信
コネクション110は、アプリケーション101とプロ
キシ106との間に確立された通信路である。
The session 103 uses the communication connections 107, 108, 109, 110. The communication connection 107 is a communication path established between the application 102 and the proxy 104. The communication connection 108 is a communication path established between the proxies 104 and 105. The communication connection 109 is a communication path established between the proxies 105 and 106. The communication connection 110 is a communication path established between the application 101 and the proxy 106.

【0063】実際のセッション管理部SMは、例えば図
13に示すような情報G11〜G18を保持している。
情報G11は、複数のセッションを区別するための識別
子である。情報G12は、利用するサーバアプリケーシ
ョンが存在するノード(端末)の名称を表す。情報G1
3は、利用するサーバアプリケーションに与えられたポ
ート番号を表す。
The actual session management section SM holds information G11 to G18 as shown in FIG. 13, for example.
Information G11 is an identifier for distinguishing a plurality of sessions. The information G12 indicates the name of the node (terminal) where the server application to be used exists. Information G1
3 represents a port number given to the server application to be used.

【0064】また、情報G14は利用するクライアント
アプリケーションが存在するノードの名称を表す。情報
G15は、利用するクライアントアプリケーションに与
えられたポート番号を表す。情報G16は、利用するプ
ロキシが存在するノードの名称を表す。情報G17は、
利用するプロキシに与えられたポートの番号を表す。ま
た、複数のプロキシを中継するように1つのセッション
の通信経路を構成している場合には、利用する複数プロ
キシのそれぞれのノード名,ポート番号及び複数プロキ
シの接続状態が1つのセッションID(G11)に関連
付けられてセッション管理部SMに保持される。
The information G14 indicates the name of the node where the client application to be used exists. The information G15 indicates a port number given to the client application to be used. Information G16 represents the name of the node where the proxy to be used exists. Information G17 is
Indicates the port number assigned to the proxy to be used. When the communication path of one session is configured to relay a plurality of proxies, each node name and port number of the plurality of proxies to be used and the connection status of the plurality of proxies are one session ID (G11 ) Is held in the session management unit SM.

【0065】セッション管理部SMが実行する機能とし
ては、各セッションに対するプロキシの追加,プロキシ
の削除,プロキシの切替や、他の端末に存在するセッシ
ョン管理部SMとの間の通信がある。図10のエージェ
ント14は、位置管理部LR,セッション管理部SM,
サービス管理部SRが保持している様々な情報を仲介
し、それらの情報の総合的な判断により、プロキシ13
及びリンク切替部15を制御する。
The functions performed by the session management unit SM include adding a proxy to each session, deleting a proxy, switching proxies, and communicating with the session management unit SM existing in another terminal. The agent 14 in FIG. 10 includes a location management unit LR, a session management unit SM,
It mediates various information held by the service management unit SR, and determines the proxy 13 by comprehensive judgment of the information.
And the link switching unit 15.

【0066】例えば、所定の通信サービスを継続した状
態でそのサービスを現在提供しているサーバアプリケー
ションを終了させたい場合には、それと同じ種類の代わ
りのサーバアプリケーションについてサービス管理部S
Rを用いて検索することができる。また、位置管理部L
Rには端末の識別名及びそのIPアドレスが保持されて
いるので、切替先のサーバアプリケーションが存在する
端末の位置を特定できる。更に、セッション管理部SM
で管理されている特定のセッションの情報を利用して後
述する処理を行うことにより、サーバアプリケーション
を切り替えて通信サービスを継続することができる。
For example, when it is desired to terminate a server application that is currently providing a predetermined communication service while continuing the service, the service management unit S may execute a substitute server application of the same type.
The search can be performed using R. Also, the location management unit L
Since the identification name of the terminal and its IP address are held in R, the position of the terminal where the server application to be switched exists can be specified. Further, the session management unit SM
By performing the processing described later using the information of the specific session managed by the server, the server application can be switched and the communication service can be continued.

【0067】エージェント14は、リンク切替部15に
対してリンク切替を命令するとともに、リンク切替後、
プロキシに通信コネクションの再開処理を依頼する。リ
ンク切替部15は、新しいリンクへの接続,リンクの切
断,ルーティング管理などの機能を有している。また、
プロキシは、コネクション下のリンクの切断や変更を隠
蔽する機能を有している(図16参照)。
The agent 14 instructs the link switching unit 15 to switch the link, and after the link is switched,
Request the proxy to restart the communication connection. The link switching unit 15 has functions such as connection to a new link, disconnection of a link, and routing management. Also,
The proxy has a function of hiding the disconnection or change of the link under the connection (see FIG. 16).

【0068】ある移動元からある移動先にサービスを移
動する場合には、そのサービスの通信で利用しているセ
ッションから、移動先のアプリケーション又はプロキシ
上に構築されるサービスに対して移動元のサービスの状
態を転送することで実現することができる。転送すべき
サービスの状態としては、セッションを構成しているア
プリケーション及びプロキシの接続状態,送受信してい
るデータのバイト数,フレーム数などがある。
When a service is moved from a certain source to a certain destination, the session used in the communication of the service starts with the service of the source or the service built on the proxy. Can be realized by transferring the state of The state of the service to be transferred includes the connection state of the application and the proxy constituting the session, the number of bytes of transmitted / received data, the number of frames, and the like.

【0069】例えば、携帯型の移動端末を用い、無線回
線及びネットワークを介して特定のサーバアプリケーシ
ョンからストリームデータを受信し閲覧している場合に
は、端末の表示能力が低いため品質の高いサービスを受
けることができない。しかし、ユーザが移動端末から画
面の大きい固定端末にサービスを移動すれば、品質の高
いサービスを受けることができる。このような移動の場
合でも、継続的にサービスを利用することができる。
For example, when a portable mobile terminal is used to receive and view stream data from a specific server application via a wireless line and a network, a high quality service is provided because the terminal has low display capability. I can't get it. However, if the user moves the service from the mobile terminal to the fixed terminal having a large screen, high quality service can be received. Even in the case of such a movement, the service can be continuously used.

【0070】また、同じサーバアプリケーションが複数
の端末に存在する場合には、サーバ側の端末及びアプリ
ケーションを切り替えるようにサービスの提供に利用さ
れる通信経路を切り替えることもできる。端末の切替に
より、サービスの通信速度を改善することも可能であ
る。サービスの提供に利用される通信経路を切り替える
場合や、サーバアプリケーション又はクライアントアプ
リケーションを切り替える場合の具体例について以下に
説明する。ここでは、図14に示すような通信システム
を想定する。
When the same server application exists in a plurality of terminals, the communication path used for providing the service can be switched so as to switch the terminal and the application on the server side. The communication speed of the service can be improved by switching the terminals. Specific examples of switching communication paths used for providing services and switching between server applications or client applications will be described below. Here, a communication system as shown in FIG. 14 is assumed.

【0071】図14においては移動端末30(1)〜30
(5)のそれぞれの機能を簡略化して表してある。実際に
は、移動端末30(1)〜30(5)のそれぞれは図10に示
す移動端末と同様の機能を有している。但し、サーバア
プリケーション11は移動端末30(1)だけに設けてあ
り、クライアントアプリケーション12は移動端末30
(2)及び30(3)だけに設けてある。また、移動端末30
(5)にはセッション管理部SMが備わっていない。な
お、移動端末30(5)のプロキシ13を利用する場合に
は、移動端末30(5)以外の移動端末30に備わったセ
ッション管理部SMを利用して制御を行えばよい。
In FIG. 14, mobile terminals 30 (1) to 30 (1) to 30
Each function of (5) is shown in a simplified manner. Actually, each of the mobile terminals 30 (1) to 30 (5) has the same function as the mobile terminal shown in FIG. However, the server application 11 is provided only on the mobile terminal 30 (1), and the client application 12 is provided on the mobile terminal 30 (1).
It is provided only in (2) and 30 (3). The mobile terminal 30
(5) does not include the session management unit SM. When using the proxy 13 of the mobile terminal 30 (5), the control may be performed using the session management unit SM provided in the mobile terminal 30 other than the mobile terminal 30 (5).

【0072】まず、プロキシ及びアプリケーションを切
り替える場合について説明する。具体的には、切替前の
状態では図2において移動端末30(1)のサーバアプリ
ケーション11(1)とプロキシ13(1)との間に通信コネ
クション201が確立され、プロキシ13(1)とプロキ
シ13(2)との間に通信コネクション202が確立さ
れ、クライアントアプリケーション12(2)とプロキシ
13(2)との間に通信コネクション203が確立され、
サーバアプリケーション11(1)−プロキシ13(1)−プ
ロキシ13(2)−クライアントアプリケーション12(2)
の通信経路を通るようにセッションが形成されている場
合を想定している。
First, the case where the proxy and the application are switched will be described. Specifically, in the state before switching, the communication connection 201 is established between the server application 11 (1) of the mobile terminal 30 (1) and the proxy 13 (1) in FIG. 13 (2), a communication connection 203 is established between the client application 12 (2) and the proxy 13 (2),
Server application 11 (1) -proxy 13 (1) -proxy 13 (2) -client application 12 (2)
It is assumed that a session is formed so as to pass through the communication path of.

【0073】ここで、移動端末30(2)上のクライアン
トアプリケーション12(2)の代わりに移動端末30(3)
上のクライアントアプリケーション12(3)を利用して
継続的にサーバアプリケーション11(1)のサービスを
受けようとする場合には、セッション管理部SM(2)の
機能を利用して、図1に示す制御シーケンスを実行す
る。すなわち、プロキシ13(2)からプロキシ13(3)に
切り替える。
Here, instead of the client application 12 (2) on the mobile terminal 30 (2), the mobile terminal 30 (3)
When it is desired to continuously receive the service of the server application 11 (1) using the above client application 12 (3), the function of the session management unit SM (2) is used as shown in FIG. Execute the control sequence. That is, the proxy 13 (2) is switched to the proxy 13 (3).

【0074】ユーザの利用状態及び端末間の接続状態を
管理している端末のエージェント14は、必要に応じて
(例えばユーザの指示により)アプリケーション(A
P)の切替要求を発生する。この切替要求は、例えばセ
ッション管理部SM(2)に通知される。この場合、セッ
ション管理部SM(2)は図1のステップS11を実行す
る。すなわち、切替先のクライアントアプリケーション
12(3)との間で通信コネクション204が確立された
切替先のプロキシ13(3)に切り替えるために、プロキ
シ13(3)に対して切替に関する問い合わせを行う。こ
の問い合わせの際には、該当するセッションのセッショ
ンIDやプロキシの接続状態の情報もパラメータとして
セッション管理部SM(2)からプロキシ13(3)に送信す
る。
The agent 14 of the terminal which manages the use state of the user and the connection state between the terminals may transmit the application (A
A switching request P) is generated. This switching request is notified, for example, to the session management unit SM (2). In this case, the session management unit SM (2) executes step S11 in FIG. That is, in order to switch to the switching destination proxy 13 (3) for which the communication connection 204 has been established with the switching destination client application 12 (3), an inquiry regarding the switching is made to the proxy 13 (3). At the time of this inquiry, the session management unit SM (2) also transmits the session ID of the corresponding session and information on the connection status of the proxy as parameters to the proxy 13 (3).

【0075】このパラメータには、切替元のプロキシ1
3(2)が転送を中継しているファイルのファイル名及び
転送を終了したバイト数(ファイル上の現在の転送位
置)も含まれている。問い合わせを受けたプロキシ13
(3)は、受信したパラメータに基づいて、必要なプロセ
ス等を起動し、ステップS12で通信の中継をするため
の準備を行う。このプロキシ13(3)は、受信したパラ
メータに基づいて切替元のプロキシ13(2)の状態を継
承する。
This parameter includes the proxy 1 of the switching source.
3 (2) also includes the file name of the file relaying the transfer and the number of bytes (the current transfer position on the file) at which the transfer has been completed. Proxy 13 that was queried
In (3), necessary processes and the like are started based on the received parameters, and preparations are made for relaying communication in step S12. This proxy 13 (3) inherits the state of the switching source proxy 13 (2) based on the received parameters.

【0076】また、この準備においては、必要なアプリ
ケーション12(3)が起動していない場合には、そのア
プリケーション12(3)をプロキシ13(3)が起動する。
また、アプリケーション12(3)とプロキシ13(3)との
間の通信コネクション204が確立していない場合に
は、通信コネクション204を確立する。準備が完了し
たら、ステップS13でプロキシ13(3)はセッション
管理部SM(2)に対して準備完了通知を送信する。
In this preparation, if the required application 12 (3) is not activated, the proxy 13 (3) activates the application 12 (3).
If the communication connection 204 between the application 12 (3) and the proxy 13 (3) has not been established, the communication connection 204 is established. When the preparation is completed, in step S13, the proxy 13 (3) transmits a preparation completion notification to the session management unit SM (2).

【0077】セッション管理部SM(2)は、準備完了通
知を受信するとステップS14で、切替元のプロキシ1
3(2)との間で通信コネクション202を確立していた
プロキシ13(1)に対して切替要求を送信する。この切
替要求には、パラメータとして切替先のプロキシ13
(3)に関するノード名(G16)及びポート番号(G1
7)が含まれている。
When the session management unit SM (2) receives the preparation completion notification, in step S14, the switching source proxy 1
A switching request is transmitted to the proxy 13 (1) that has established the communication connection 202 with the proxy 3 (2). This switching request includes, as a parameter,
Node name (G16) and port number (G1) for (3)
7) is included.

【0078】プロキシ13(1)は、切替要求を受信した
場合には、切替要求のパラメータ及びセッションIDを
利用して、プロキシ13(3)の接続ポイント(端末のI
Pアドレスとプロキシ13(3)のポート番号)に対して
通信コネクション205を確立する(S15)。プロキ
シ13(3)はプロキシ13(1)との間で通信コネクション
205が確立すると、通信コネクション205の確立の
際に受信したセッションIDで定まる特定のセッション
について、通信コネクション204及びクライアントア
プリケーション12(3)を関連付ける(S16)。これ
により、通信コネクション205と通信コネクション2
04との間の通信を中継(蓄積転送)するためのプロキ
シ13(3)の準備が完了する。
When the proxy 13 (1) receives the switching request, the proxy 13 (3) uses the connection request parameter and the session ID to connect to the connection point of the proxy 13 (3).
The communication connection 205 is established for the P address and the port number of the proxy 13 (3) (S15). When the communication connection 205 is established with the proxy 13 (1), the proxy 13 (3) sets the communication connection 204 and the client application 12 (3) for a specific session determined by the session ID received when the communication connection 205 is established. ) Is associated (S16). Thereby, the communication connection 205 and the communication connection 2
The preparation of the proxy 13 (3) for relaying (accumulating and transferring) the communication with the proxy 04 is completed.

【0079】また、プロキシ13(1)はそれまでに通信
コネクション202を介して行っていた全ての通信を通
信コネクション205に切り替える(S17)。この切
替が完了した後、プロキシ13(1)はセッション管理部
SM(2)に対して切替の完了通知を送信する(S1
8)。
Further, the proxy 13 (1) switches all communication that has been performed through the communication connection 202 to the communication connection 205 (S 17). After this switching is completed, the proxy 13 (1) transmits a switching completion notification to the session management unit SM (2) (S1).
8).

【0080】セッション管理部SM(2)は、完了通知を
受信すると管理しているテーブルの内容を更新する(S
19)。すなわち、セッションIDで定まる特定のセッ
ション(今回の処理で切替を行ったセッション)につい
て、切替後のクライアントアプリケーション12(3)及
びプロキシ13(3)のノード名及びポート番号ならびに
それらの接続関係を反映するように情報を更新する。
Upon receiving the completion notification, the session management unit SM (2) updates the contents of the managed table (S
19). That is, for a specific session determined by the session ID (the session switched in this process), the node names and port numbers of the switched client application 12 (3) and proxy 13 (3) and their connection relations are reflected. Update the information to do so.

【0081】また、セッション管理部SM(2)は、変更
を行ったセッションの情報を管理している他のセッショ
ン管理部SM(1),SM(3),SM(4)に対して変更した
情報を通知する(S21)。以上の制御シーケンスの結
果、図2に示すようにサーバアプリケーション11(1)
とクライアントアプリケーション12(2)との間の通信
で提供していたサービスが、サーバアプリケーション1
1(1)とクライアントアプリケーション12(3)との間の
通信に切り替わるようにセッション(通信経路)の内容
が変更される。
The session management unit SM (2) changes the other session management units SM (1), SM (3), and SM (4) that manage the information of the changed session. The information is notified (S21). As a result of the above control sequence, as shown in FIG. 2, the server application 11 (1)
The service provided by the communication between the client application 12 (2) and the
The contents of the session (communication path) are changed so as to switch to communication between 1 (1) and the client application 12 (3).

【0082】次に、セッションにプロキシを追加する場
合について説明する。具体的には、追加前の状態では図
4に示すようにサーバアプリケーション11(1)とプロ
キシ13(1)との間に通信コネクション211が確立さ
れ、プロキシ13(1),13(2)の間に通信コネクション
212が確立され、プロキシ13(2)とクライアントア
プリケーション12(2)との間に通信コネクション21
3が確立され、2つのプロキシ13(1),13(2)がサー
バアプリケーション11(1)とクライアントアプリケー
ション12(2)との間の通信をを中継するようにセッシ
ョンが構築されている。
Next, a case where a proxy is added to a session will be described. Specifically, before the addition, the communication connection 211 is established between the server application 11 (1) and the proxy 13 (1) as shown in FIG. A communication connection 212 is established between the proxy 13 (2) and the client application 12 (2).
3 is established, and a session is established so that the two proxies 13 (1) and 13 (2) relay the communication between the server application 11 (1) and the client application 12 (2).

【0083】その状態から、通信を継続したままプロキ
シ13(1)とプロキシ13(2)との間にプロキシ13(3)
を追加する場合には、セッション管理部SM(2)の機能
を利用して、図3に示す制御シーケンスを実行する。端
末のエージェント14は、必要に応じて(例えばユーザ
の指示により)プロキシの追加要求を発生する。この追
加要求は、例えばセッション管理部SM(2)に通知され
る。この場合、セッション管理部SM(2)は図3のステ
ップS31を実行する。
From this state, the proxy 13 (3) is placed between the proxy 13 (1) and the proxy 13 (2) while the communication is continued.
Is added, the control sequence shown in FIG. 3 is executed using the function of the session management unit SM (2). The terminal agent 14 generates a proxy addition request as needed (for example, according to a user's instruction). This addition request is notified to, for example, the session management unit SM (2). In this case, the session management unit SM (2) executes step S31 in FIG.

【0084】すなわち、追加すべきプロキシ13(3)に
追加の準備をさせるために、セッション管理部SM(2)
は追加の問い合わせを行う。この問い合わせの際には、
該当するセッションのセッションIDやプロキシの接続
状態の情報もパラメータとしてセッション管理部SM
(2)からプロキシ13(3)に送信する。このパラメータに
は、プロキシ13(2)が転送を中継しているファイルの
ファイル名及び転送を終了したバイト数(ファイル上の
現在の転送位置)も含まれている。
That is, in order to make the proxy 13 (3) to be added prepare for addition, the session management unit SM (2)
Makes an additional query. When making this inquiry,
The session ID of the corresponding session and the information on the connection state of the proxy are also used as parameters in the session
The packet is transmitted from (2) to the proxy 13 (3). This parameter also includes the file name of the file to which the proxy 13 (2) is relaying the transfer and the number of bytes that have completed the transfer (the current transfer position on the file).

【0085】問い合わせを受けたプロキシ13(3)は、
受信したパラメータに基づいて、必要なプロセス等を起
動し、ステップS32で通信の中継をするための準備を
行う。このプロキシ13(3)は、受信したパラメータに
基づいてプロキシ13(2)の状態を継承する。準備が完
了したら、ステップS33でプロキシ13(3)はセッシ
ョン管理部SM(2)に対して準備完了通知を送信する。
The proxy 13 (3) receiving the inquiry,
Based on the received parameters, necessary processes and the like are started, and preparations for relaying communication are made in step S32. The proxy 13 (3) inherits the state of the proxy 13 (2) based on the received parameters. When the preparation is completed, in step S33, the proxy 13 (3) transmits a preparation completion notification to the session management unit SM (2).

【0086】セッション管理部SM(2)は、準備完了通
知を受信すると、ステップS34,S35で、追加する
プロキシ13(3)と接続すべきプロキシ13(1),13
(2)に対して切替要求を送信する。この切替要求には、
パラメータとして追加するプロキシ13(3)に関するノ
ード名(G16)及びポート番号(G17)が含まれ
る。プロキシ13(1)及び13(2)は、切替要求を受信す
ると、切替要求のパラメータ及びセッションIDを利用
して、プロキシ13(3)の接続ポイント(端末のIPア
ドレスとプロキシ13(3)のポート番号)に対して通信
コネクション214又は215を確立する(S36,S
37)。
When the session management unit SM (2) receives the preparation completion notification, in steps S34 and S35, the proxies 13 (1) and 13 (13) to be connected to the proxy 13 (3) to be added are set.
A switching request is transmitted to (2). This switching request includes:
The node name (G16) and the port number (G17) of the proxy 13 (3) to be added are included as parameters. Upon receiving the switching request, the proxies 13 (1) and 13 (2) receive the connection point (the IP address of the terminal and the proxy 13 (3)) using the parameters of the switching request and the session ID. The communication connection 214 or 215 is established for the port number (S36, S36).
37).

【0087】プロキシ13(3)は通信コネクション21
4,215が確立すると、それらのコネクションの確立
の際に受信したセッションIDで定まる特定のセッショ
ンについて、通信コネクション214と通信コネクショ
ン215とを関連付ける(S38)。これにより、通信
コネクション214と通信コネクション215との間の
通信を中継(蓄積転送)するためのプロキシ13(3)の
準備が完了する。
The proxy 13 (3) communicates with the communication connection 21.
When the connection 4, 215 is established, the communication connection 214 and the communication connection 215 are associated with each other for a specific session determined by the session ID received when the connection is established (S38). This completes the preparation of the proxy 13 (3) for relaying (accumulating and transferring) the communication between the communication connection 214 and the communication connection 215.

【0088】一方、プロキシ13(1)はそれまでに通信
コネクション212を介して行っていた全ての通信を通
信コネクション214に切り替える(S41)。この切
替が完了した後、プロキシ13(1)はセッション管理部
SM(2)に対して切替の完了通知を送信する(S4
4)。同様に、プロキシ13(2)はそれまでに通信コネ
クション212を介して行っていた全ての通信を通信コ
ネクション215に切り替える(S40)。この切替が
完了した後、プロキシ13(2)はセッション管理部SM
(2)に対して切替の完了通知を送信する(S42)。
On the other hand, the proxy 13 (1) switches all the communications that have been performed via the communication connection 212 to the communication connection 214 (S41). After this switching is completed, the proxy 13 (1) transmits a switching completion notification to the session management unit SM (2) (S4).
4). Similarly, the proxy 13 (2) switches all communication that has been performed via the communication connection 212 to the communication connection 215 (S40). After this switching is completed, the proxy 13 (2) sets the session management unit SM
A switching completion notification is transmitted to (2) (S42).

【0089】セッション管理部SM(2)は、完了通知を
受信すると管理しているテーブルの内容を更新する(S
45)。すなわち、セッションIDで定まる特定のセッ
ション(今回の処理でプロキシの追加を行ったセッショ
ン)について、追加したプロキシ13(3)のノード名及
びポート番号ならびにプロキシ間の接続関係を反映する
ように情報を更新する。
When receiving the completion notification, the session management unit SM (2) updates the contents of the managed table (S
45). That is, for a specific session determined by the session ID (the session in which the proxy was added in the current process), information is reflected so as to reflect the node name and port number of the added proxy 13 (3) and the connection relationship between the proxies. Update.

【0090】また、セッション管理部SM(2)は、変更
を行ったセッションの情報を管理している他のセッショ
ン管理部SM(1),SM(3),SM(4)に対して変更した
情報を通知する(S46)。以上の制御シーケンスの結
果、図4に示すようにサーバアプリケーション11(1)
とクライアントアプリケーション12(2)との間の通信
がプロキシ13(1)−プロキシ13(3)−プロキシ13
(2)の経路で中継されるようにセッションの内容が変更
される。
Further, the session management unit SM (2) changes the other session management units SM (1), SM (3), and SM (4) that manage the information of the changed session. The information is notified (S46). As a result of the above control sequence, as shown in FIG. 4, the server application 11 (1)
Communication between the client application 12 (2) and the proxy 13 (1) -proxy 13 (3) -proxy 13
The contents of the session are changed so as to be relayed on the route (2).

【0091】次に、セッションからそれまで利用してい
たプロキシを削除する場合について説明する。具体的に
は、追加前の状態では図6に示すようにサーバアプリケ
ーション11(1)とプロキシ13(1)との間に通信コネク
ション221が確立され、プロキシ13(1),13(3)の
間に通信コネクション222が確立され、プロキシ13
(3),13(2)の間に通信コネクション223が確立さ
れ、プロキシ13(2)とクライアントアプリケーション
12(2)との間に通信コネクション224が確立され、
3つのプロキシ13(1),13(3),13(2)がサーバア
プリケーション11(1)とクライアントアプリケーショ
ン12(2)との間の通信をを中継するようにセッション
が構築されている。
Next, a case where a proxy used so far from a session is deleted will be described. Specifically, before the addition, the communication connection 221 is established between the server application 11 (1) and the proxy 13 (1) as shown in FIG. A communication connection 222 is established between the
A communication connection 223 is established between (3) and 13 (2), and a communication connection 224 is established between the proxy 13 (2) and the client application 12 (2).
A session is established so that the three proxies 13 (1), 13 (3), and 13 (2) relay communication between the server application 11 (1) and the client application 12 (2).

【0092】その状態から、通信を継続したままプロキ
シ13(1)とプロキシ13(2)との間のプロキシ13(3)
を削除(セッションから除外)する場合には、セッショ
ン管理部SM(2)の機能を利用して、図5に示す制御シ
ーケンスを実行する。端末のエージェント14は、必要
に応じて(例えばユーザの指示により)プロキシの削除
要求を発生する。この削除要求は、例えばセッション管
理部SM(2)に通知される。この場合、セッション管理
部SM(2)は図5のステップS51から順に処理を実行
する。
From that state, the proxy 13 (3) between the proxy 13 (1) and the proxy 13 (2) while the communication is continued.
Is deleted (excluded from the session), the control sequence shown in FIG. 5 is executed using the function of the session management unit SM (2). The terminal agent 14 generates a proxy deletion request as needed (for example, according to a user's instruction). This deletion request is notified, for example, to the session management unit SM (2). In this case, the session management unit SM (2) executes the processing in order from step S51 in FIG.

【0093】セッション管理部SM(2)は、削除対象の
プロキシ13(3)との間で通信コネクション222,2
23を確立しているプロキシ13(1)及び13(2)のそれ
ぞれに対して、プロキシ13(3)に関する削除要求を送
信する(S51,S52)。プロキシ13(2)は、削除
要求を受信すると、セッションIDを利用して、プロキ
シ13(2)とプロキシ13(1)との間の通信コネクション
225を確立する(S53)。
The session management unit SM (2) communicates with the proxy 13 (3) to be deleted by the communication connection 222,2.
A deletion request relating to the proxy 13 (3) is transmitted to each of the proxies 13 (1) and 13 (2) that have established 23 (S51, S52). Upon receiving the deletion request, the proxy 13 (2) establishes a communication connection 225 between the proxy 13 (2) and the proxy 13 (1) using the session ID (S53).

【0094】更に、プロキシ13(2)はそれまでに通信
コネクション223を介して行っていた全ての通信を通
信コネクション225に切り替える(S54)。この切
替が完了した後、プロキシ13(2)はセッション管理部
SM(2)に対して切替の完了通知を送信する(S5
8)。プロキシ13(2)とプロキシ13(3)との間の通信
コネクション223はプロキシ13(2)によって切断さ
れる(S56)。
Further, the proxy 13 (2) switches all the communication which has been performed through the communication connection 223 to the communication connection 225 (S54). After this switching is completed, the proxy 13 (2) transmits a switching completion notification to the session management unit SM (2) (S5).
8). The communication connection 223 between the proxy 13 (2) and the proxy 13 (3) is disconnected by the proxy 13 (2) (S56).

【0095】同様に、プロキシ13(1)はそれまでに通
信コネクション222を介して行っていた全ての通信を
通信コネクション225に切り替える(S55)。この
切替が完了した後、プロキシ13(1)はセッション管理
部SM(2)に対して切替の完了通知を送信する(S5
9)。プロキシ13(1)とプロキシ13(3)との間の通信
コネクション222はプロキシ13(1)によって切断さ
れる(S57)。
Similarly, the proxy 13 (1) switches all the communications that have been performed through the communication connection 222 to the communication connection 225 (S55). After this switching is completed, the proxy 13 (1) transmits a switching completion notification to the session management unit SM (2) (S5).
9). The communication connection 222 between the proxy 13 (1) and the proxy 13 (3) is disconnected by the proxy 13 (1) (S57).

【0096】セッション管理部SM(2)は、完了通知を
受信すると管理しているテーブルの内容を更新する(S
60)。すなわち、セッションIDで定まる特定のセッ
ション(今回の処理でプロキシの削除を行ったセッショ
ン)について、プロキシ間の接続関係に削除の結果を反
映するように情報を更新する。また、セッション管理部
SM(2)は、変更を行ったセッションの情報を管理して
いる他のセッション管理部SM(1),SM(3),SM(4)
に対して変更した情報を通知する(S61)。
When receiving the completion notification, the session management unit SM (2) updates the contents of the managed table (S
60). That is, for a specific session determined by the session ID (the session in which the proxy was deleted in the current process), the information is updated so that the connection result between the proxies reflects the result of the deletion. Further, the session management unit SM (2) manages the information of the changed session by the other session management units SM (1), SM (3), SM (4).
Is notified of the changed information (S61).

【0097】以上の制御シーケンスの結果、図6に示す
ようにサーバアプリケーション11(1)とクライアント
アプリケーション12(2)との間の通信がプロキシ13
(1)−プロキシ13(2)の経路で中継されるようにセッシ
ョンの内容が変更される。次に、特定のセッション上で
利用しているプロキシを他のプロキシに置き換える場合
について説明する。具体的には、追加前の状態では図8
に示すようにサーバアプリケーション11(1)とプロキ
シ13(1)との間に通信コネクション231が確立さ
れ、プロキシ13(1),13(4)の間に通信コネクション
232が確立され、プロキシ13(4),13(2)の間に通
信コネクション233が確立され、プロキシ13(2)と
クライアントアプリケーション12(2)との間に通信コ
ネクション234が確立され、3つのプロキシ13
(1),13(4),13(2)がサーバアプリケーション11
(1)とクライアントアプリケーション12(2)との間の通
信をを中継するようにセッションが構築されている。
As a result of the above control sequence, the communication between the server application 11 (1) and the client application 12 (2) is established by the proxy 13 as shown in FIG.
(1) The content of the session is changed so as to be relayed on the route of the proxy 13 (2). Next, a case where a proxy used in a specific session is replaced with another proxy will be described. Specifically, in the state before addition, FIG.
As shown in the figure, a communication connection 231 is established between the server application 11 (1) and the proxy 13 (1), a communication connection 232 is established between the proxies 13 (1) and 13 (4), and the proxy 13 ( A communication connection 233 is established between 4) and 13 (2), a communication connection 234 is established between the proxy 13 (2) and the client application 12 (2), and the three proxies 13
(1), 13 (4) and 13 (2) are server applications 11
A session is established to relay the communication between (1) and the client application 12 (2).

【0098】その状態から、通信を継続したまま利用し
ているプロキシ13(4)をプロキシ13(5)に置換する場
合には、セッション管理部SM(2)の機能を利用して、
図7に示す制御シーケンスを実行する。
In this state, when replacing the proxy 13 (4) used while continuing communication with the proxy 13 (5), the function of the session management unit SM (2) is used.
The control sequence shown in FIG. 7 is executed.

【0099】端末のエージェント14は、必要に応じて
(例えばユーザの指示により)プロキシの置換要求を発
生する。この置換要求は、例えばセッション管理部SM
(2)に通知される。この場合、セッション管理部SM(2)
は図7のステップS71を実行する。すなわち、置換先
のプロキシ13(5)に中継の準備をさせるために、セッ
ション管理部SM(2)は置換の問い合わせを行う。この
問い合わせの際には、該当するセッションのセッション
IDやプロキシの接続状態の情報もパラメータとしてセ
ッション管理部SM(2)からプロキシ13(5)に送信す
る。
The agent 14 of the terminal issues a proxy replacement request as required (for example, according to a user's instruction). This replacement request is sent to the session management unit SM
(2) is notified. In this case, the session management unit SM (2)
Executes step S71 in FIG. That is, the session management unit SM (2) makes an inquiry about replacement in order to prepare the replacement proxy 13 (5) for relay. At the time of this inquiry, the session ID of the corresponding session and information on the connection state of the proxy are also transmitted as parameters from the session management unit SM (2) to the proxy 13 (5).

【0100】このパラメータには、置換元のプロキシ1
3(4)が転送を中継しているファイルのファイル名及び
転送を終了したバイト数(ファイル上の現在の転送位
置)も含まれている。問い合わせを受けたプロキシ13
(5)は、受信したパラメータに基づいて、必要なプロセ
ス等を起動し、ステップS72で通信の中継をするため
の準備を行う。このプロキシ13(5)は、受信したパラ
メータに基づいて置換元のプロキシ13(4)の状態を継
承する。準備が完了したら、ステップS73でプロキシ
13(5)はセッション管理部SM(2)に対して準備完了通
知を送信する。
This parameter includes the proxy 1 of the replacement source.
3 (4) also includes the file name of the file relaying the transfer and the number of bytes (the current transfer position on the file) at which the transfer has been completed. Proxy 13 that was queried
In (5), necessary processes and the like are started based on the received parameters, and preparations are made for relaying communication in step S72. This proxy 13 (5) inherits the state of the replacement proxy 13 (4) based on the received parameters. When the preparation is completed, in step S73, the proxy 13 (5) transmits a preparation completion notification to the session management unit SM (2).

【0101】セッション管理部SM(2)は、準備完了通
知を受信すると、ステップS74,S75で、置換元の
プロキシ13(4)との間に通信コネクション232,2
33を確立しているプロキシ13(1),13(2)に対して
切替要求を送信する。この切替要求には、パラメータと
して置換先のプロキシ13(5)に関するノード名(G1
6)及びポート番号(G17)が含まれる。
When the session management unit SM (2) receives the preparation completion notification, in steps S74 and S75, the communication connection 232,2 is established between the session management unit SM (2) and the replacement proxy 13 (4).
The switching request is transmitted to the proxies 13 (1) and 13 (2) that have established the connection 33. This switching request includes, as a parameter, the node name (G1
6) and the port number (G17).

【0102】プロキシ13(1)及び13(2)は、切替要求
を受信すると、切替要求のパラメータ及びセッションI
Dを利用して、プロキシ13(5)の接続ポイント(端末
のIPアドレスとプロキシ13(3)のポート番号)に対
して通信コネクション235又は236を確立する(S
76,S77)。
When the proxies 13 (1) and 13 (2) receive the switching request, the proxies 13 (1) and 13 (2)
Using D, a communication connection 235 or 236 is established to the connection point of the proxy 13 (5) (the IP address of the terminal and the port number of the proxy 13 (3)) (S
76, S77).

【0103】置換先のプロキシ13(5)は、通信コネク
ション235,236が確立すると、それらのコネクシ
ョンの確立の際に受信したセッションIDで定まる特定
のセッションについて、通信コネクション235と通信
コネクション236とを関連付ける(S78)。これに
より、通信コネクション235と通信コネクション23
6との間の通信を中継(蓄積転送)するためのプロキシ
13(5)の準備が完了する。
When the communication connections 235 and 236 are established, the replacement proxy 13 (5) establishes a connection between the communication connection 235 and the communication connection 236 for a specific session determined by the session ID received when the connections are established. Associate (S78). Thereby, the communication connection 235 and the communication connection 23
The preparation of the proxy 13 (5) for relaying (accumulating and transferring) the communication with the proxy 6 is completed.

【0104】一方、プロキシ13(2)はそれまでに通信
コネクション233を介して行っていた全ての通信を通
信コネクション236に切り替える(S80)。この切
替が完了した後、プロキシ13(2)はセッション管理部
SM(2)に対して切替の完了通知を送信する(S8
2)。同様に、プロキシ13(1)はそれまでに通信コネ
クション232を介して行っていた全ての通信を通信コ
ネクション235に切り替える(S81)。この切替が
完了した後、プロキシ13(1)はセッション管理部SM
(2)に対して切替の完了通知を送信する(S83)。
On the other hand, the proxy 13 (2) switches all the communications that have been performed through the communication connection 233 to the communication connection 236 (S80). After this switching is completed, the proxy 13 (2) transmits a switching completion notification to the session management unit SM (2) (S8).
2). Similarly, the proxy 13 (1) switches all the communications that have been performed via the communication connection 232 to the communication connection 235 (S81). After this switching is completed, the proxy 13 (1) sets the session management unit SM
A switching completion notification is transmitted to (2) (S83).

【0105】通信コネクション232,233から通信
コネクション235,236への切替が終了した後で、
不要になった通信コネクション232,233は切断さ
れる(S84,S85)。セッション管理部SM(2)
は、完了通知を受信すると管理しているテーブルの内容
を更新する(S86)。すなわち、セッションIDで定
まる特定のセッション(今回の処理でプロキシの置換を
行ったセッション)について、プロキシ間の接続関係に
置換の結果を反映するように情報を更新する。
After the switching from the communication connections 232 and 233 to the communication connections 235 and 236 is completed,
The unnecessary communication connections 232, 233 are disconnected (S84, S85). Session management unit SM (2)
Updates the contents of the managed table upon receiving the completion notification (S86). That is, for a specific session determined by the session ID (the session in which the proxy was replaced in the current process), the information is updated so that the connection result between the proxies reflects the result of the replacement.

【0106】また、セッション管理部SM(2)は、変更
を行ったセッションの情報を管理している他のセッショ
ン管理部SM(1),SM(3),SM(4)に対して変更した
情報を通知する(S87)。以上の制御シーケンスの結
果、図8に示すようにサーバアプリケーション11(1)
とクライアントアプリケーション12(2)との間の通信
がプロキシ13(1)−プロキシ13(5)−プロキシ13
(2)の経路で中継されるようにセッションの内容が変更
される。
The session management unit SM (2) has changed the other session management units SM (1), SM (3) and SM (4) which manage the information of the changed session. The information is notified (S87). As a result of the above control sequence, as shown in FIG. 8, the server application 11 (1)
Communication between the client application 12 (2) and the proxy 13 (1) -proxy 13 (5) -proxy 13
The contents of the session are changed so as to be relayed on the route (2).

【0107】なお、サーバアプリケーション11とクラ
イアントアプリケーション12との間で行われる通信に
は、セッション毎に異なる固有のセッションIDが割り
当てられる。また、プロキシの接続ポイントは、ネット
ワーク上での位置と接続要求の受付ポートを表す。プロ
トコルとしてTCP/IPを想定する場合には、接続ポ
イントはIPアドレスとプロキシがリッスンしているポ
ート番号になる。
[0107] Communication performed between the server application 11 and the client application 12 is assigned a unique session ID that is different for each session. The connection point of the proxy indicates a position on the network and a port for receiving a connection request. When TCP / IP is assumed as the protocol, the connection point is the IP address and the port number on which the proxy is listening.

【0108】また、例えばセッションの通信経路を切り
替えるために通信コネクションを切り替える際には一時
的に通信ができなくなるが、そのセッションに含まれて
いる少なくとも1つのプロキシがアプリケーションの送
出する通信内容を蓄積し、通信が可能になったときには
蓄積された情報を送信して通信回復作業を自動的に行
う。従って、通信の途中で通信経路を切り替える場合で
あっても、ユーザが特別な操作を行うことなくそのまま
通信を継続することができる。
Further, for example, when a communication connection is switched to switch a communication path of a session, communication is temporarily disabled, but at least one proxy included in the session stores communication contents transmitted by the application. Then, when communication becomes possible, the stored information is transmitted to automatically perform a communication recovery operation. Therefore, even when the communication path is switched during the communication, the communication can be continued without any special operation by the user.

【0109】本発明の機能の概略は、図16に示す移動
モデルで表すことができる。すなわち、ユーザが使用す
る端末が移動して通信方式が切り替わった場合や、ユー
ザが使用する端末を切り替えた場合でも、同じサービス
を継続的に同じユーザに提供することができる。ここで
扱うサービスとは、各セッションを通してアプリケーシ
ョン間で送受信される通信内容,それに付随する通信プ
ロトコル(http等)及び表現方法(再生,ブラウジ
ング等)を意味する。
An outline of the function of the present invention can be represented by a movement model shown in FIG. That is, even when the terminal used by the user moves and the communication system is switched, or when the terminal used by the user is switched, the same service can be continuously provided to the same user. The services handled here mean communication contents transmitted and received between applications through each session, communication protocols (such as http) and expression methods (such as reproduction and browsing) associated therewith.

【0110】サービスを移動する場合には、同じセッシ
ョンIDで示される移動元のセッションから移動先のセ
ッションに対してサービスの状態を転送することによ
り、同じ状態でサービスを継続することができる。各端
末(ノード)は、図16に示すようにリンク層のアドレ
ス空間にマッピングされる。従って、ノードの移動はノ
ードとアドレスとの対応関係を変更することで実現でき
る。また、各端末は複数の通信デバイスをもつことが可
能であり、それぞれが固有のアドレスを保持することが
できる。
When the service is moved, the service state can be continued in the same state by transferring the state of the service from the source session indicated by the same session ID to the destination session. Each terminal (node) is mapped to a link layer address space as shown in FIG. Therefore, the movement of the node can be realized by changing the correspondence between the node and the address. Also, each terminal can have a plurality of communication devices, each of which can hold a unique address.

【0111】上記実施の形態の通信システムにおける位
置管理の方式について性能を評価するために、計算機を
用いてシミュレーションを実施した。シミュレーション
の条件は次の通りである。 (1)端末の移動間隔:グループを構成している多数の
端末のうち(1/3)は平均移動時間が30分、残りの
(2/3)の端末は平均移動時間を10分とする。
In order to evaluate the performance of the position management method in the communication system of the above embodiment, a simulation was performed using a computer. The simulation conditions are as follows. (1) Terminal movement interval: Among many terminals constituting the group, (1/3) has an average movement time of 30 minutes and the remaining
The terminal (2/3) has an average moving time of 10 minutes.

【0112】(2)端末の通信待機時間は20分とし、
通信時間は50分とする。 (3)位置管理部LRの記憶容量:多数の端末のうち
(1/3)のLRは全ての端末の位置情報を保持可能、他
の(1/3)の端末のLRは(1/2)の端末の位置情報を
保持可能、残りの(1/3)の端末のLRは(1/4)の端
末の位置情報を保持可能と仮定する。
(2) The communication standby time of the terminal is 20 minutes,
The communication time is 50 minutes. (3) Storage capacity of location management unit LR: out of many terminals
The (1/3) LR can hold the location information of all the terminals, the LRs of the other (1/3) terminals can hold the (1/2) terminal location information, and the remaining (1/3) It is assumed that the LR of the terminal () can hold the position information of the terminal (1 /).

【0113】(4)1200分間に発行された位置情報
更新命令の数及び位置管理部LRの検索成功率を400
試行分測定した。但し、最初の100分間については統
計から除外。 (5)位置管理部LRが位置情報更新命令を送出する際
には、自らが保持している全ての位置情報を送信する。
受信側のLRでは、位置情報のタイムスタンプにより取
捨選択して保持している位置情報を更新する。
(4) The number of location information update commands issued in 1200 minutes and the search success rate of the location management unit LR are set to 400
Trial measurements were taken. However, the first 100 minutes are excluded from statistics. (5) When transmitting the position information update command, the position management unit LR transmits all the position information held by itself.
The LR on the receiving side updates the positional information that is selectively stored based on the time stamp of the positional information.

【0114】(6)位置情報更新命令を発行する際の端
末の優先順位については2種類の方式を評価する。「Me
thod A」の方式では位置管理部LRが自らの保持する位
置情報を更新した場合に全ての端末に対して位置情報更
新命令を発行する。「Method B」の方式では、移動間隔
が30分でかつ全ての端末の位置情報を保持可能な記憶
容量を有する端末のLRのみが全ての端末に対して位置
情報更新命令を発行し、残りの端末の位置管理部LRに
ついては、移動間隔が30分でかつ全ての端末の位置情
報を保持可能な記憶容量を有する端末のみに対して位置
情報更新命令を発行する。
(6) Two types of methods are evaluated for the priority of the terminal when issuing the position information update command. "Me
In the method of “thod A”, when the location management unit LR updates the location information held by itself, it issues a location information update command to all terminals. In the method of “Method B”, only the LR of the terminal having a movement interval of 30 minutes and having a storage capacity capable of holding the position information of all terminals issues a position information update command to all terminals, The position management unit LR of the terminal issues a position information update command only to terminals having a movement interval of 30 minutes and a storage capacity capable of holding the position information of all terminals.

【0115】なお、「Method A」の方式では各端末の位
置が更新されるたびに全ての端末に位置更新命令が発行
されるので通信量は多くなるが、優れた位置管理能力が
得られる。上記シミュレーションの結果が図18〜図2
0に示されている。図18は、位置情報更新命令の発行
数を示している。また、図19及び図20は位置検索成
功率を示している。図19の位置検索成功率は、特定の
端末の位置管理部LRが保持している位置情報の検索及
び他の端末の位置管理部LRの検索によって相手端末の
位置情報の取得に成功した割合である。また、図20の
位置検索成功率は、特定の端末の位置管理部LRが保持
している位置情報のみを検索して相手端末の位置情報の
取得に成功した割合である。
In the method of "Method A", a location update command is issued to every terminal every time the location of each terminal is updated, so that the communication amount increases, but excellent location management capability can be obtained. 18 to 2 show the results of the above simulation.
0 is shown. FIG. 18 shows the number of issued position information update instructions. 19 and 20 show the location search success rates. The location search success rate in FIG. 19 is a rate at which the location information of the partner terminal is successfully acquired by searching the location information held by the location management unit LR of the specific terminal and by searching the location management unit LR of another terminal. is there. The position search success rate in FIG. 20 is a rate at which only the position information held by the position management unit LR of the specific terminal is searched and the position information of the partner terminal is successfully obtained.

【0116】図18,図19を参照すると、「Method
A」に比べて「Method B」の方が通信コストが低減(6
0〜80%減)され、位置検索能力の劣化も許容できる
範囲であることが分かる。また、この効果はグループを
構成している端末数が大きいほど顕著であり、位置検索
成功率の差も小さくなる。従って、各端末の移動量や位
置管理部LRの記憶容量を考慮して位置情報更新命令の
発行対象となる端末を制限することにより、各端末の位
置管理の負荷を分担するとともに通信量を抑制すること
ができる。
Referring to FIGS. 18 and 19, "Method
"Method B" has lower communication cost than "A" (6
0 to 80%), and it can be seen that the deterioration of the position search capability is also within an allowable range. This effect is more remarkable as the number of terminals forming the group is larger, and the difference in the location search success rate is smaller. Therefore, by limiting the terminals to which the position information update command is issued in consideration of the movement amount of each terminal and the storage capacity of the position management unit LR, the load of the position management of each terminal is shared and the communication amount is suppressed. can do.

【0117】また、図20から分かるように、他の端末
に存在する位置情報を検索しなくても、25〜45%の
端末の位置を正しく検出することができる。従って、端
末が一時的にネットワークから離脱している場合であっ
ても、それ自身の位置管理部LRが保持する位置情報の
みの検索により、ネットワークへの再接続の手がかりを
得ることが可能である。
Further, as can be seen from FIG. 20, it is possible to correctly detect 25 to 45% of terminal positions without searching for position information existing in other terminals. Therefore, even when the terminal is temporarily disconnected from the network, it is possible to obtain a clue to reconnect to the network by searching only the position information held by the own position management unit LR. .

【0118】(第2の実施の形態)本発明の通信コネク
ション確立方法のもう1つの実施の形態について、図2
2及び図23を参照して説明する。この形態は、請求項
1〜請求項4に対応する。図22及び図23は、それぞ
れサービスの移動例(1,2)を示すシーケンス図であ
る。
(Second Embodiment) Another embodiment of the communication connection establishing method according to the present invention will be described with reference to FIG.
2 and FIG. This embodiment corresponds to claims 1 to 4. FIG. 22 and FIG. 23 are sequence diagrams showing service movement examples (1, 2), respectively.

【0119】この形態では、HTTPの通信を行うこと
を想定しているので、アプリケーションとしてブラウザ
5及びWebサーバ7を用いる。図22の例では、ノー
ド8(A),8(B)にはクライアントアプリケーショ
ンとして動作するブラウザ5が配置されているので、ノ
ード8(A),8(B)はクライアントノードとして機
能する。また、ノード8(C)にはサーバアプリケーシ
ョンとして動作するWebサーバ7が配置されているの
で、ノード8(C)はサーバノードとして機能する。
In this embodiment, since it is assumed that HTTP communication is performed, the browser 5 and the Web server 7 are used as applications. In the example of FIG. 22, since the browsers 5 operating as client applications are arranged at the nodes 8 (A) and 8 (B), the nodes 8 (A) and 8 (B) function as client nodes. In addition, since the Web server 7 operating as a server application is arranged in the node 8 (C), the node 8 (C) functions as a server node.

【0120】また、図23の例では、ノード8(A)に
はクライアントアプリケーションとして動作するブラウ
ザ5(A),5(B)が配置されているので、ノード8
(A)はクライアントノードとして機能する。また、図
23のノード8(C)にはサーバアプリケーションとし
て動作するWebサーバ7が配置されているので、ノー
ド8(C)はサーバノードとして機能する。
In the example of FIG. 23, the browsers 5 (A) and 5 (B) operating as client applications are arranged in the node 8 (A).
(A) functions as a client node. Further, since the Web server 7 operating as a server application is arranged in the node 8 (C) in FIG. 23, the node 8 (C) functions as a server node.

【0121】図22の例について動作を説明する。ま
ず、ブラウザ5(A)からプロキシ6(A),6(B)
を介してWebサーバ7に要求を行う(C11)。この
要求に対するWebサーバ7の応答が、プロキシ6
(C),6(A)を介してブラウザ5(A)に伝送され
る(C12)。このとき、セッションが成立する。ま
た、セッション毎にそれを区別するためのセッションI
Dが割り当てられる。
The operation of the example shown in FIG. 22 will be described. First, the proxy 5 (A), 6 (B) from the browser 5 (A)
A request is made to the Web server 7 via (C11). The response of the Web server 7 to this request is
The data is transmitted to the browser 5 (A) via (C) and 6 (A) (C12). At this time, a session is established. Also, a session I for distinguishing each session
D is assigned.

【0122】この後で、プロキシ6(C)がサービス移
動要求を受け付ける(C13)。その場合、プロキシ6
(C)は通信を中断し(C14)、移動先のノード8
(B)のプロキシ6(B1)に接続する(C15)。こ
の場合、移動先のプロキシ6(B1)は該当するセッシ
ョンのセッションIDを含むURLを引数として、ブラ
ウザ5(B)を起動する(C16)。
Thereafter, the proxy 6 (C) receives the service transfer request (C13). In that case, proxy 6
(C) interrupts the communication (C14), and moves to the destination node 8.
It connects to the proxy 6 (B1) of (B) (C15). In this case, the proxy 6 (B1) of the movement destination activates the browser 5 (B) using the URL including the session ID of the corresponding session as an argument (C16).

【0123】起動されたブラウザ5(B)は、起動の際
に指定されたURLを用いてプロキシ6(B2)に接続
する(C17)。このプロキシ6(B2)は、セッショ
ンIDに基づいて、ブラウザ5(B)の通信とサーバノ
ードであるノード8(C)のプロキシ6(C)とを結び
付けてデータの転送を行う(C18)。このようにし
て、サービスの連続性を確保したまま、クライアントノ
ード簡をサービスが移動する。
The activated browser 5 (B) connects to the proxy 6 (B2) using the URL specified at the time of activation (C17). The proxy 6 (B2) connects the communication of the browser 5 (B) and the proxy 6 (C) of the node 8 (C), which is a server node, to transfer data based on the session ID (C18). In this way, the service moves through the client node while maintaining the continuity of the service.

【0124】次に、図23の例について動作を説明す
る。まず、ブラウザ5(A)からプロキシ6(A),6
(C)を介してWebサーバ7に要求を行う(C2
1)。それに対するWebサーバ7の応答が、プロキシ
6(C),6(A)を介してブラウザ5(A)に転送さ
れる(C22)。このとき、セッションが設立する。ま
た、セッション毎にそれを区別するためのセッションI
Dが割り当てられる。
Next, the operation of the example shown in FIG. 23 will be described. First, the proxy 6 (A), 6 from the browser 5 (A)
Make a request to the Web server 7 via (C) (C2
1). The response from the Web server 7 is transferred to the browser 5 (A) via the proxies 6 (C) and 6 (A) (C22). At this time, a session is established. Also, a session I for distinguishing each session
D is assigned.

【0125】この後で、プロキシ6(A)がサービス移
動要求を受け付ける(C23)。その場合、プロキシ6
(A)は該当するセッションのセッションIDを含むU
RLを引数として、ブラウザ5(B)を起動する(C2
4)。起動されたブラウザ5(B)は、起動の際に指定
されたURLを用いてプロキシ6(B2)に接続する
(C25)。このプロキシ6(B2)は、セッションI
Dに基づいて、ブラウザ5(B)の通信とサーバノード
であるノード8(C)のプロキシ6(C)とを結び付け
てデータの転送を行う(C26)。
Thereafter, the proxy 6 (A) receives the service transfer request (C23). In that case, proxy 6
(A) is a U including the session ID of the corresponding session.
The browser 5 (B) is started using the RL as an argument (C2
4). The activated browser 5 (B) connects to the proxy 6 (B2) using the URL specified at the time of activation (C25). This proxy 6 (B2)
Based on D, the communication of the browser 5 (B) and the proxy 6 (C) of the node 8 (C), which is a server node, are linked to transfer data (C26).

【0126】このようにして、サービスの連続性を確保
したまま、クライアントノード簡をサービスが移動す
る。 (第3の実施の形態)本発明のもう1つの実施の形態に
ついて、図24〜図26を参照して説明する。この形態
は、請求項1及び請求項2に対応する。
In this way, the service moves from one client node to another while maintaining the continuity of the service. (Third Embodiment) Another embodiment of the present invention will be described with reference to FIGS. This embodiment corresponds to claims 1 and 2.

【0127】図24は、セッションにプロキシを追加す
る場合の簡略化された制御シーケンスを示すシーケンス
図である。図25は、セッションからプロキシを削除す
る場合の簡略化された制御シーケンスを示すシーケンス
図である。図26は、セッション上のプロキシを置換す
る場合の簡略化された制御シーケンスを示すシーケンス
図である。
FIG. 24 is a sequence diagram showing a simplified control sequence when a proxy is added to a session. FIG. 25 is a sequence diagram showing a simplified control sequence when a proxy is deleted from a session. FIG. 26 is a sequence diagram showing a simplified control sequence when a proxy on a session is replaced.

【0128】この形態は、第1の実施の形態の変形例で
あり、制御シーケンスの内容が第1の実施の形態よりも
簡略化されている。また、この形態においても図10に
示すような構成の移動端末を用いることを想定してい
る。但し、図10に示す位置管理部LR,サービス管理
部SR,リンク切替部15については必ずしも必要とは
しない。
This embodiment is a modification of the first embodiment, and the contents of the control sequence are simpler than those of the first embodiment. Also in this embodiment, it is assumed that a mobile terminal having a configuration as shown in FIG. 10 is used. However, the position management unit LR, service management unit SR, and link switching unit 15 shown in FIG. 10 are not necessarily required.

【0129】図24〜図26に示す動作の内容について
は第1の実施の形態と同様であるが、各図の制御の内容
について以下に説明する。まず、図4の場合と同様にセ
ッションにプロキシ13(3)を追加する場合につい
て、図24を参照して説明する。この例では、図4にお
いて、クライアントアプリケーション12(2),プロ
キシ13(2),プロキシ13(1),サーバアプリケ
ーション11(1)の順に通信コネクションが確立さ
れ、クライアントアプリケーション12(2)とサーバ
アプリケーション11(1)との間にセッションが構築
されている状態から、クライアントアプリケーション1
2(2),プロキシ13(2),プロキシ13(3),
プロキシ13(1),サーバアプリケーション11
(1)の順に通信コネクションが確立されて、クライア
ントアプリケーション12(2)とサーバアプリケーシ
ョン11(1)との間のセッションの経路が変更される
場合を想定している。
The contents of the operations shown in FIGS. 24 to 26 are the same as those in the first embodiment, but the contents of the control in each figure will be described below. First, a case where the proxy 13 (3) is added to the session as in the case of FIG. 4 will be described with reference to FIG. In this example, in FIG. 4, a communication connection is established in the order of the client application 12 (2), the proxy 13 (2), the proxy 13 (1), and the server application 11 (1). 11 (1), the client application 1
2 (2), proxy 13 (2), proxy 13 (3),
Proxy 13 (1), server application 11
It is assumed that a communication connection is established in the order of (1) and the path of a session between the client application 12 (2) and the server application 11 (1) is changed.

【0130】すなわち、プロキシ13(2)とプロキシ
13(1)との間にもう1つのプロキシ13(3)を追
加するための動作を表している。エージェントソフトウ
ェア(図10の14)は、ユーザ又は端末間の接続状態
に関する命令や管理を制御している。このエージェント
ソフトウェアからのプロキシ切替要求を移動端末30
(2)が受信すると、移動端末30(2)はそれをセッ
ション管理部SM(2)に通知する。
In other words, the operation for adding another proxy 13 (3) between the proxy 13 (2) and the proxy 13 (1) is shown. The agent software (14 in FIG. 10) controls commands and management related to the connection state between the user or the terminal. The proxy switching request from the agent software is transmitted to the mobile terminal 30.
Upon receiving (2), the mobile terminal 30 (2) notifies the session management unit SM (2) of the reception.

【0131】この場合、セッション管理部SM(2)
は、追加されるプロキシ13(3)に接続されるプロキ
シ13(1),13(2)に対して、プロキシ13
(3)の名前と接続ポイントをパラメータとして切替要
求を送信する(S34,S35)。切替要求を受信した
プロキシ13(1),13(2)は、受信したパラメー
タとセッション識別子(ID)を用いてプロキシ13
(3)の接続ポイントに対して、セッション識別子に対
応する通信コネクションを確立する(S36,S3
7)。
In this case, the session management unit SM (2)
The proxy 13 (1) and 13 (2) connected to the added proxy 13 (3)
A switching request is transmitted using the name and connection point of (3) as parameters (S34, S35). The proxies 13 (1) and 13 (2) that have received the switch request use the received parameters and the session identifier (ID) to perform the proxy 13 (1) and 13 (2).
A communication connection corresponding to the session identifier is established for the connection point (3) (S36, S3).
7).

【0132】その後、プロキシ13(1)はプロキシ1
3(2)との間の通信コネクションで行っていた通信を
全てプロキシ13(3)の通信コネクションに切り替え
る(S40,S41)。追加されるプロキシ13(3)
には2つの通信コネクションが確立される。このプロキ
シ13(3)は、通信コネクションの確立時に受信した
セッション識別子に基づいて、2つの通信コネクション
を関連付け、蓄積転送が可能な状態にする。
Thereafter, the proxy 13 (1)
All the communication performed through the communication connection with 3 (2) is switched to the communication connection with the proxy 13 (3) (S40, S41). Proxy 13 (3) to be added
, Two communication connections are established. The proxy 13 (3) associates two communication connections based on the session identifier received at the time of establishing the communication connection, and makes a state in which accumulation and transfer are possible.

【0133】次に、図6の場合と同様にセッションから
プロキシ13(3)を削除する場合について、図25を
参照して説明する。この例では、図6において、クライ
アントアプリケーション12(2),プロキシ13
(2),プロキシ13(3),プロキシ13(1),サ
ーバアプリケーション11(1)の順に通信コネクショ
ンが確立され、クライアントアプリケーション12
(2)とサーバアプリケーション11(1)との間のセ
ッションが構築されている状態から、クライアントアプ
リケーション12(2),プロキシ13(2),プロキ
シ13(1),サーバアプリケーション11(1)の順
に通信コネクションが確立されて、クライアントアプリ
ケーション12(2)とサーバアプリケーション11
(1)との間にセッションの経路が変更される場合を想
定している。
Next, a case where the proxy 13 (3) is deleted from the session as in the case of FIG. 6 will be described with reference to FIG. In this example, in FIG. 6, the client application 12 (2), the proxy 13
A communication connection is established in the order of (2), the proxy 13 (3), the proxy 13 (1), and the server application 11 (1).
From the state where a session between (2) and the server application 11 (1) is established, the client application 12 (2), the proxy 13 (2), the proxy 13 (1), and the server application 11 (1) are arranged in this order. A communication connection is established, and the client application 12 (2) and the server application 11
It is assumed that the session route is changed between (1).

【0134】すなわち、セッションからプロキシ13
(3)を削除するための動作を表している。エージェン
トソフトウェアからのプロキシ削除要求を移動端末30
(2)が受信すると、移動端末30(2)はそれをセッ
ション管理部SM(2)に通知する。この場合、セッシ
ョン管理部SM(2)は、プロキシ13(1),13
(2)に対して削除要求を送信する(S51,S5
2)。
That is, from the session to the proxy 13
This represents an operation for deleting (3). The mobile terminal 30 transmits a proxy deletion request from the agent software.
Upon receiving (2), the mobile terminal 30 (2) notifies the session management unit SM (2) of the reception. In this case, the session management unit SM (2) sends the proxy 13 (1), 13
A deletion request is transmitted to (2) (S51, S5
2).

【0135】プロキシ13(2)は、削除要求を受信す
ると、セッション識別子を用いてプロキシ13(1)と
の間でコネクションを確立する。また、プロキシ13
(3)との間で行われていた通信を全てプロキシ13
(1)との間の通信コネクションに切り替える。また、
プロキシ13(1)が削除要求を受信するとともにプロ
キシ13(2)から通信コネクションを確立された場合
には、プロキシ13(1)はプロキシ13(3)との間
の通信コネクションで行われていた通信を全てプロキシ
13(2)との間の通信コネクションに切り替える。
Upon receiving the deletion request, the proxy 13 (2) establishes a connection with the proxy 13 (1) using the session identifier. Also, proxy 13
(3) All communications performed with the proxy 13
Switch to communication connection with (1). Also,
When the proxy 13 (1) receives the deletion request and establishes a communication connection from the proxy 13 (2), the proxy 13 (1) has been performing the communication connection with the proxy 13 (3). All communication is switched to the communication connection with the proxy 13 (2).

【0136】次に、図8の場合と同様にセッション上の
プロキシ13(4),13(5)を置換する場合につい
て、図26を参照して説明する。この例では、図8にお
いて、クライアントアプリケーション12(2),プロ
キシ13(2),プロキシ13(4),プロキシ13
(1),サーバアプリケーション11(1)の順に通信
コネクションが確立され、クライアントアプリケーショ
ン12(2)とサーバアプリケーション11(1)との
間にセッションが構築されている状態から、クライアン
トアプリケーション12(2),プロキシ13(2),
プロキシ13(5),プロキシ13(1),サーバアプ
リケーション11(1)の順に通信コネクションが確立
されて、クライアントアプリケーション12(2)とサ
ーバアプリケーション11(1)との間のセッションの
経路が変更される場合を想定している。
Next, a case where the proxies 13 (4) and 13 (5) on the session are replaced as in the case of FIG. 8 will be described with reference to FIG. In this example, in FIG. 8, the client application 12 (2), proxy 13 (2), proxy 13 (4), proxy 13
(1) A communication connection is established in the order of the server application 11 (1), and the client application 12 (2) starts from a state in which a session is established between the client application 12 (2) and the server application 11 (1). , Proxy 13 (2),
A communication connection is established in the order of the proxy 13 (5), the proxy 13 (1), and the server application 11 (1), and the path of the session between the client application 12 (2) and the server application 11 (1) is changed. Is assumed.

【0137】すなわち、セッション上のプロキシ13
(4)をプロキシ13(5)に置換するための動作を表
している。エージェントソフトウェアからのプロキシ置
き換え要求を移動端末30(2)が受信すると、移動端
末30(2)はそれをセッション管理部SM(2)に通
知する。
That is, the proxy 13 on the session
This represents an operation for replacing (4) with the proxy 13 (5). When the mobile terminal 30 (2) receives the proxy replacement request from the agent software, the mobile terminal 30 (2) notifies the session management unit SM (2) of the request.

【0138】この場合、セッション管理部SM(2)
は、通信コネクションを持っているプロキシ13
(1),13(2)に対してプロキシ13(5)の名前
及び接続ポイントをパラメータとして含む切替要求を送
信する(S74,S75)。切替要求を受信したプロキ
シ13(1),13(2)は、受信したパラメータに基
づいて、プロキシ13(5)の接続ポイントに対してセ
ッション識別子に対応する通信コネクションを確立す
る。
In this case, the session management unit SM (2)
Is a proxy 13 that has a communication connection
A switching request including the name of the proxy 13 (5) and the connection point as parameters is transmitted to (1) and 13 (2) (S74, S75). The proxies 13 (1) and 13 (2) that have received the switching request establish a communication connection corresponding to the session identifier to the connection point of the proxy 13 (5) based on the received parameters.

【0139】その後、プロキシ13(1)はプロキシ1
3(4)との間の通信コネクションで行っていた通信を
全てプロキシ13(5)との間の通信コネクションに切
り替える。同様に、プロキシ13(2)はプロキシ13
(4)との間の通信コネクションで行っていた通信を全
てプロキシ13(5)との間の通信コネクションに切り
替える。
Thereafter, the proxy 13 (1)
The communication that has been performed through the communication connection with the proxy 3 (4) is all switched to the communication connection with the proxy 13 (5). Similarly, the proxy 13 (2)
All the communication that has been performed through the communication connection with (4) is switched to the communication connection with the proxy 13 (5).

【0140】セッションに追加されるプロキシ13
(5)は、2つの通信コネクションが確立された後で、
コネクション確立時に受信したセッション識別子に基づ
いて2つの通信コネクションを関連付け、蓄積転送が可
能な状態にする。
Proxy 13 added to session
(5) after two communication connections are established,
The two communication connections are associated with each other based on the session identifier received at the time of establishing the connection, and a state in which accumulation and transfer are possible.

【0141】[0141]

【発明の効果】以上の通り、本発明の通信コネクション
確立方法によれば、通信の途中であっても、ユーザが利
用するアプリケーションが実行される端末を切り替えた
り、利用している通信経路を切り替えることができる。
しかも、このような切替を行う場合でも、アプリケーシ
ョンを再起動したり通信コネクションを確立するための
特別な操作をユーザが行う必要はなく、ユーザは継続的
に通信サービスを受けることができる。
As described above, according to the communication connection establishing method of the present invention, even during communication, the terminal on which the application used by the user is executed is switched or the communication path used is switched. be able to.
Moreover, even when such switching is performed, there is no need for the user to restart the application or perform a special operation for establishing a communication connection, and the user can continuously receive the communication service.

【0142】また、通信経路等を切り替える際には、サ
ービスの連続性が損なわれないように予め定めた手順で
複数のプロキシ間の通信コネクションを切り替えるの
で、同じユーザに対するサービスの連続性が保証され
る。また、通信経路中のプロキシの切替え,追加,削除
及び置き換えができるので、同じ端末を移動しながら様
々な位置で利用する場合には、冗長な経路が回避される
ように通信経路を切り替えたり、不要な中継処理を行う
プロキシを通信経路から削除することができるので、通
信効率の向上,ネットワークリソースの低減,プロキシ
の動作している端末のネットワークからの離脱のサービ
ス継続性の確保,障害発生時のフォールトトレラント性
の向上等が実現する。
When switching communication paths and the like, the communication connection between a plurality of proxies is switched according to a predetermined procedure so that the continuity of service is not impaired. Therefore, continuity of service for the same user is guaranteed. You. In addition, since switching, addition, deletion, and replacement of proxies in a communication path can be performed, when the same terminal is used at various positions while moving, the communication path is switched so that a redundant path is avoided. Since a proxy that performs unnecessary relay processing can be deleted from the communication path, communication efficiency can be improved, network resources can be reduced, service continuity can be maintained when the terminal on which the proxy is operating leaves the network, and when a failure occurs. This improves the fault-tolerance of the system.

【0143】更に、通信中に利用しているアプリケーシ
ョンを切替えることができるので、移動環境では各時点
でもっとも適するアプリケーションをユーザが選択的に
利用することができ、利便性が向上する。アプリケーシ
ョンを切り替える場合でも、通信サービスの連続性は保
証される。
Further, since the application used during the communication can be switched, the user can selectively use the most suitable application at each time point in the mobile environment, and the convenience is improved. Even when switching applications, continuity of communication services is guaranteed.

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

【図1】プロキシ及びアプリケーションを切り替える場
合の制御シーケンスを示すシーケンス図である。
FIG. 1 is a sequence diagram showing a control sequence when switching between a proxy and an application.

【図2】プロキシ及びアプリケーションを切り替える場
合の通信経路の例を示すブロック図である。
FIG. 2 is a block diagram illustrating an example of a communication path when switching between a proxy and an application.

【図3】セッションにプロキシを追加する場合の制御シ
ーケンスを示すシーケンス図である。
FIG. 3 is a sequence diagram showing a control sequence when a proxy is added to a session.

【図4】セッションにプロキシを追加する場合の通信経
路の例を示すブロック図である。
FIG. 4 is a block diagram illustrating an example of a communication path when a proxy is added to a session.

【図5】セッションからプロキシを削除する場合の制御
シーケンスを示すシーケンス図である。
FIG. 5 is a sequence diagram showing a control sequence when a proxy is deleted from a session.

【図6】セッションからプロキシを削除する場合の通信
経路の例を示すブロック図である。
FIG. 6 is a block diagram illustrating an example of a communication path when a proxy is deleted from a session.

【図7】セッション上のプロキシを置換する場合の制御
シーケンスを示すシーケンス図である。
FIG. 7 is a sequence diagram showing a control sequence when a proxy on a session is replaced.

【図8】セッション上のプロキシを置換する場合の通信
経路の例を示すブロック図である。
FIG. 8 is a block diagram illustrating an example of a communication path when a proxy on a session is replaced.

【図9】通信システムの構成例を示すブロック図であ
る。
FIG. 9 is a block diagram illustrating a configuration example of a communication system.

【図10】移動端末の構成例を示すブロック図である。FIG. 10 is a block diagram illustrating a configuration example of a mobile terminal.

【図11】サービス管理部SRが保持する情報の例を示
す模式図である。
FIG. 11 is a schematic diagram illustrating an example of information held by a service management unit SR.

【図12】位置管理部LRが保持する情報の例を示す模
式図である。
FIG. 12 is a schematic diagram illustrating an example of information held by a position management unit LR.

【図13】セッション管理部SMが保持する情報の例を
示す模式図である。
FIG. 13 is a schematic diagram illustrating an example of information held by a session management unit SM.

【図14】通信システムの構成例を示すブロック図であ
る。
FIG. 14 is a block diagram illustrating a configuration example of a communication system.

【図15】ネットワークの構成例を示すブロック図であ
る。
FIG. 15 is a block diagram illustrating a configuration example of a network.

【図16】ノード及びサービスの移動モデルを示すブロ
ック図である。
FIG. 16 is a block diagram showing a movement model of nodes and services.

【図17】端末の移動時の位置情報更新手順を示すシー
ケンス図である。
FIG. 17 is a sequence diagram showing a procedure for updating position information when a terminal moves.

【図18】位置情報更新命令の発行数を示すグラフであ
る。
FIG. 18 is a graph showing the number of issued position information update instructions.

【図19】位置検索成功率を示すグラフである。FIG. 19 is a graph showing a position search success rate.

【図20】位置検索成功率を示すグラフである。FIG. 20 is a graph showing a position search success rate.

【図21】ネットワークの構成例を示すブロック図であ
る。
FIG. 21 is a block diagram illustrating a configuration example of a network.

【図22】サービスの移動例(1)を示すシーケンス図
である。
FIG. 22 is a sequence diagram showing a service movement example (1).

【図23】サービスの移動例(2)を示すシーケンス図
である。
FIG. 23 is a sequence diagram showing an example of service movement (2).

【図24】セッションにプロキシを追加する場合の簡略
化された制御シーケンスを示すシーケンス図である。
FIG. 24 is a sequence diagram showing a simplified control sequence when a proxy is added to a session.

【図25】セッションからプロキシを削除する場合の簡
略化された制御シーケンスを示すシーケンス図である。
FIG. 25 is a sequence diagram showing a simplified control sequence when a proxy is deleted from a session.

【図26】セッション上のプロキシを置換する場合の簡
略化された制御シーケンスを示すシーケンス図である。
FIG. 26 is a sequence diagram showing a simplified control sequence when a proxy on a session is replaced.

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

1,3 アプリケーション 2 プロキシ 4 ノード 5 ブラウザ 6 プロキシ 7 Webサーバ 8 ノード 9 データベース 10 ソフトウェア 11 サーバアプリケーション 12 クライアントアプリケーション 13 プロキシ 14 エージェント 15 リンク切替部 16,17,18 リンク 21 イーサネット通信アダプタ 22 無線LANアダプタ 23 PHS通信アダプタ 30 移動端末 40 ネットワーク 51,52,53 サブネットワーク 54 広域ネットワーク 55,59,60,61,66,67 移動端末 56,62 固定端末 57,58,64,65 基地局 63 TAP 101,102 アプリケーション 103 セッション 104,105,106 プロキシ 107,108,109,110 通信コネクション LR 位置管理部 SM セッション管理部 SR サービス管理部 1, 3 application 2 proxy 4 node 5 browser 6 proxy 7 Web server 8 node 9 database 10 software 11 server application 12 client application 13 proxy 14 agent 15 link switching unit 16, 17, 18 link 21 Ethernet communication adapter 22 wireless LAN adapter 23 PHS communication adapter 30 Mobile terminal 40 Network 51, 52, 53 Subnetwork 54 Wide area network 55, 59, 60, 61, 66, 67 Mobile terminal 56, 62 Fixed terminal 57, 58, 64, 65 Base station 63 TAP 101, 102 Application 103 Session 104, 105, 106 Proxy 107, 108, 109, 110 Communication connection LR Location management unit S Session management unit SR service management unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 久保田 稔 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 Fターム(参考) 5K030 GA11 HA08 HC01 HC09 JL01 JL07 JT03 KA01 KA05 KA13 LE03 5K033 AA09 CB01 DA01 DA19 DB20 EA07 5K034 AA05 AA17 DD03 EE03 EE09 FF01 HH01 HH02 LL01 MM05 ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor Minoru Kubota 2-3-1 Otemachi, Chiyoda-ku, Tokyo F-term in Nippon Telegraph and Telephone Corporation (reference) 5K030 GA11 HA08 HC01 HC09 JL01 JL07 JT03 KA01 KA05 KA13 LE03 5K033 AA09 CB01 DA01 DA19 DB20 EA07 5K034 AA05 AA17 DD03 EE03 EE09 FF01 HH01 HH02 LL01 MM05

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 複数のアプリケーションと、通信を中継
する複数のプロキシと、それらを接続するネットワーク
とが設けられた通信システムの制御に用いる通信コネク
ション確立方法であって、 複数のアプリケーションが2つ以上のプロキシを通る通
信経路を介して互いに通信している場合に、 所定の切替要求に応答して、前記通信経路上に配置され
た第1のプロキシが接続先の第2のプロキシを第3のプ
ロキシに切り替えて通信を継続することを特徴とする通
信コネクション確立方法。
1. A communication connection establishment method used for controlling a communication system provided with a plurality of applications, a plurality of proxies for relaying communication, and a network connecting the plurality of applications, wherein the plurality of applications are two or more. When communicating with each other via a communication path passing through the proxy, the first proxy arranged on the communication path, in response to the predetermined switching request, A communication connection establishment method characterized by switching to a proxy and continuing communication.
【請求項2】 複数のアプリケーションと、通信を中継
する複数のプロキシと、それらを接続するネットワーク
とが設けられた通信システムの制御に用いる通信コネク
ション確立方法であって、 第1のアプリケーションと第2のアプリケーションとが
2つ以上のプロキシを通る通信経路を介して互いに通信
している場合に、 前記通信経路上に配置され第1のアプリケーションと第
1のプロキシとの間で中継を行う第2のプロキシが、所
定の切替要求に応答して通信相手の第1のアプリケーシ
ョンを他の第3のアプリケーションに切り替えて通信を
継続することを特徴とする通信コネクション確立方法。
2. A method for establishing a communication connection used for controlling a communication system provided with a plurality of applications, a plurality of proxies for relaying communication, and a network connecting the plurality of proxies, the first application and the second application. A second application that is located on the communication path and relays between the first application and the first proxy when the applications are communicating with each other via a communication path that passes through two or more proxies. A communication connection establishment method, wherein a proxy switches a first application of a communication partner to another third application and continues communication in response to a predetermined switching request.
【請求項3】 請求項1の通信コネクション確立方法に
おいて、 クライアントアプリケーションとサーバアプリケーショ
ンとが複数のプロキシを介して通信する場合に、 クライアントアプリケーションの接続要求に対してサー
バアプリケーションからの応答がクライアントアプリケ
ーションに転送された場合にその転送経路をセッション
として管理するとともに、それぞれのセッションにセッ
ションIDを割り当てておき、 前記第1のプロキシは、サービス移動のための切替要求
を受け付けた場合に、通信の中継を中断してから移動先
の前記第3のプロキシに接続し、その後で中継を再開
し、 前記第3のプロキシは、該当するセッションIDを含む
引数を用いて新たなクライアントアプリケーションを起
動し、 起動された新たなクライアントアプリケーションは、前
記第3のプロキシに接続して指定されたセッションID
を含む情報を前記第3のプロキシに送信し、 前記第3のプロキシは、セッションIDに基づいて、前
記第1のプロキシの通信と前記新たなクライアントアプ
リケーションの通信とを結びつけてデータの中継を行う
ことを特徴とする通信コネクション確立方法。
3. The communication connection establishment method according to claim 1, wherein when the client application and the server application communicate via a plurality of proxies, a response from the server application to the connection request of the client application is transmitted to the client application. When transferred, the transfer path is managed as a session, and a session ID is assigned to each session. When the first proxy receives a switching request for moving a service, the first proxy relays the communication. After the interruption, connect to the third proxy of the movement destination, and then resume the relay. The third proxy starts a new client application using an argument including the corresponding session ID, and is started. New client Application, the third session ID specified by connecting to the proxy
Is transmitted to the third proxy, and the third proxy relays data by linking the communication of the first proxy and the communication of the new client application based on a session ID. A method for establishing a communication connection, comprising:
【請求項4】 請求項2の通信コネクション確立方法に
おいて、 クライアントアプリケーションとサーバアプリケーショ
ンとが複数のプロキシを介して通信する場合に、 クライアントアプリケーションの接続要求に対してサー
バアプリケーションからの応答がクライアントアプリケ
ーションに転送された場合にその転送経路をセッション
として管理するとともに、それぞれのセッションにセッ
ションIDを割り当てておき、 前記第2のプロキシは、サービス移動のための切替要求
を受け付けた場合に、通信の中継を中断して該当するセ
ッションIDを含む引数を用いて新たなクライアントア
プリケーションを起動し、 起動された新たなクライアントアプリケーションは、前
記第2のプロキシに接続して指定されたセッションID
を含む情報を前記第2のプロキシに送信し、 前記第2のプロキシは、セッションIDに基づいて、サ
ーバアプリケーションとの間に通信路を持つプロキシの
通信と前記新たなクライアントアプリケーションの通信
とを結びつけてデータの中継を再開することを特徴とす
る通信コネクション確立方法。
4. A communication connection establishing method according to claim 2, wherein when the client application and the server application communicate via a plurality of proxies, a response from the server application to the connection request of the client application is transmitted to the client application. When transferred, the transfer path is managed as a session, and a session ID is assigned to each session. When the second proxy receives a switching request for service transfer, it relays communication. Suspending and launching a new client application using the argument including the corresponding session ID, and launching the new client application by connecting to the second proxy and specifying the session ID
To the second proxy, wherein the second proxy links the communication of the proxy having a communication path with the server application and the communication of the new client application based on the session ID. A communication connection establishment method characterized by restarting data relay by using a communication connection.
【請求項5】 サービスを要求するクライアントアプリ
ケーションを含む端末と、サービスを提供するサーバア
プリケーションを含む端末と、通信の内容を蓄積及び中
継するプロキシを含む端末とが接続された通信システム
の制御に用いる通信コネクション確立方法であって、 各々の端末に存在するクライアントアプリケーション又
はサーバアプリケーション及びプロキシを表す第1の情
報と、各々の端末の特定に利用される第2の情報とを保
持しておき、 1つ以上のプロキシを中継して形成されるサーバアプリ
ケーションとクライアントアプリケーションとの間の通
信経路をセッションとして管理し、 セッション毎に、少なくともセッションの識別子,当該
セッションを利用しているクライアントアプリケーショ
ン及びサーバアプリケーションを特定する第3の情報,
当該セッションが利用しているプロキシを特定する第4
の情報及び当該セッションが利用しているプロキシの接
続点を表す第5の情報を保持し、 利用するサーバアプリケーション又はクライアントアプ
リケーションを提供する端末の切替、もしくはサーバア
プリケーションとクライアントアプリケーションとの間
の通信に利用している通信経路上のプロキシの切替が必
要な場合に、該当するセッションの情報と前記第1の情
報及び第2の情報とを利用して、サーバアプリケーショ
ンとそれに接続されたプロキシとの間、クライアントア
プリケーションとそれに接続されたプロキシとの間、サ
ーバアプリケーションとクライアントアプリケーション
との間を中継する複数プロキシの間の少なくとも1つの
通信コネクションを自動的に切り替えることを特徴とす
る通信コネクション確立方法。
5. A method for controlling a communication system in which a terminal including a client application for requesting a service, a terminal including a server application for providing a service, and a terminal including a proxy for storing and relaying communication contents are connected. A communication connection establishment method, wherein first information indicating a client application or a server application and a proxy existing in each terminal, and second information used for specifying each terminal are stored, and 1 A communication path between a server application and a client application formed by relaying one or more proxies is managed as a session, and for each session, at least a session identifier, a client application and a server application using the session. Third information identifying the location,
The fourth that identifies the proxy used by the session
Information and the fifth information indicating the connection point of the proxy used by the session, for switching the terminal that provides the server application or the client application to be used, or for communication between the server application and the client application. When it is necessary to switch the proxy on the communication path being used, the server application and the proxy connected thereto are used by using the information of the corresponding session and the first information and the second information. A communication connection establishing method for automatically switching at least one communication connection between a client application and a proxy connected thereto and between a plurality of proxies relaying between a server application and a client application.
【請求項6】 請求項5の通信コネクション確立方法に
おいて、プロキシとサーバアプリケーション又はクライ
アントアプリケーションとを同一の端末上に備えた少な
くとも1台の移動端末を前記通信システムの端末として
利用し、前記移動端末が実際の通信に利用する通信装置
の切替に伴う前記第2の情報の変化を同じ移動端末上に
配置されるプロキシにより吸収することを特徴とする通
信コネクション確立方法。
6. The communication terminal according to claim 5, wherein at least one mobile terminal provided with a proxy and a server application or a client application on the same terminal is used as a terminal of the communication system. A change in the second information associated with switching of a communication device used for actual communication is absorbed by a proxy arranged on the same mobile terminal.
【請求項7】 請求項5の通信コネクション確立方法に
おいて、前記セッションの情報を管理するセッション管
理部が存在し、あるセッションについて実際に中継をし
ているプロキシである第1のプロキシから別のプロキシ
である第2のプロキシへの切替要求が発生した場合に、 その切替要求をいずれか1つの端末が前記セッション管
理部に通知し、 前記セッション管理部から切替先の第2のプロキシに対
して切替の準備状況に関する問い合わせを行い、 第2のプロキシから切替準備が完了したことを示す通知
が前記セッション管理部に届いた場合に、第1のプロキ
シとの間で通信コネクションを確立している第3のプロ
キシに対して、前記セッション管理部から切替先の第2
のプロキシに関する情報とともに切替要求を送信し、 第3のプロキシが、セッションの識別子を用いて切替先
の第2のプロキシとの間で新たな通信コネクションを確
立し、 第1のプロキシと第3のプロキシとの間の通信コネクシ
ョンを介して行われていた通信が第3のプロキシと第2
のプロキシとの間の通信コネクションを通るように切替
え、 全ての通信コネクションの切替が完了した場合に、前記
セッション管理部に対して切替完了を通知し、 切替先の第2のプロキシは、第3のプロキシとの間の第
1の通信コネクションの確立が完了した場合に、通知さ
れたセッションの識別子に基づいて、第2のプロキシと
サーバアプリケーション又はクライアントアプリケーシ
ョンとの間に確立された第2の通信コネクションと前記
第1の通信コネクションとを関連付けて当該セッション
の通信経路を切り替えることを特徴とする通信コネクシ
ョン確立方法。
7. The communication connection establishing method according to claim 5, further comprising a session management unit for managing the information of the session, wherein a first proxy, which is a proxy actually relaying a certain session, is different from another proxy. When a switching request to the second proxy is generated, any one terminal notifies the switching request to the session management unit, and the session management unit switches to the switching destination second proxy. When a notification indicating that the switching preparation has been completed arrives from the second proxy to the session management unit, a communication connection with the first proxy is established. The session management unit switches the second proxy
The third proxy establishes a new communication connection with the second proxy at the switching destination using the session identifier, and transmits the first proxy and the third proxy. The communication performed via the communication connection between the proxy and the third proxy
Is switched so as to pass through the communication connection with the proxy, and when the switching of all communication connections is completed, the completion of the switching is notified to the session management unit. A second communication established between the second proxy and the server application or the client application based on the notified session identifier when the establishment of the first communication connection with the second proxy is completed. A communication connection establishing method, wherein a connection is associated with the first communication connection to switch a communication path of the session.
【請求項8】 請求項5の通信コネクション確立方法に
おいて、前記セッションの情報を管理するセッション管
理部が存在し、あるセッションについて、実際に通信を
中継している第1のプロキシと第2のプロキシとの間
に、新たな第3のプロキシを追加するためのプロキシの
追加要求が発生した場合に、 その追加要求をいずれか1つの端末が前記セッション管
理部に通知し、 前記セッション管理部から追加される第3のプロキシに
対して追加の準備状況に関する問い合わせを行い、 第3のプロキシから準備完了を示す通知を前記セッショ
ン管理部が受けた場合に、前記セッション管理部は、第
1のプロキシ及び第2のプロキシのそれぞれに対して追
加要求を送信し、 第1のプロキシ及び第2のプロキシのそれぞれは、前記
追加要求に応答して、セッションの識別子を用いて第3
のプロキシとの間で新たな第1の通信コネクション又は
第2の通信コネクションを確立し、第1のプロキシ及び
第2のプロキシが中継している通信が第1の通信コネク
ション又は第2の通信コネクションを通るように切り替
えて、 全ての通信について利用する通信コネクションの切替が
完了した場合に、前記セッション管理部に対して切替完
了を通知し、 第1のプロキシと第3のプロキシとの間の第1の通信コ
ネクション及び第2のプロキシと第3のプロキシとの間
の第2の通信コネクションの両方が確立された場合に、
通知されたセッションの識別子に基づいて、第1の通信
コネクションと第2の通信コネクションとを関連付ける
ことを特徴とする通信コネクション確立方法。
8. The communication connection establishing method according to claim 5, further comprising a session management unit that manages the session information, wherein a first proxy and a second proxy that are actually relaying communication for a session are provided. A request to add a proxy for adding a new third proxy is generated between any two terminals, and any one of the terminals notifies the session management unit of the addition request; Inquiry about the additional preparation state to the third proxy to be performed, and when the session management unit receives a notification indicating completion of preparation from the third proxy, the session management unit Sending an add request to each of the second proxies, each of the first proxy and the second proxy responding to the add request Te, the third by using the identifier of the session
A new first communication connection or a second communication connection is established with the first proxy, and the communication relayed by the first proxy and the second proxy is the first communication connection or the second communication connection. When the switching of communication connections used for all communications is completed, the switching completion is notified to the session management unit, and the switching between the first proxy and the third proxy is performed. When both the first communication connection and the second communication connection between the second proxy and the third proxy are established,
A method for establishing a communication connection, wherein a first communication connection and a second communication connection are associated based on the notified session identifier.
【請求項9】 請求項5の通信コネクション確立方法に
おいて、前記セッションの情報を管理するセッション管
理部が存在し、あるセッションについて、実際に通信を
中継している第1のプロキシに関する削除要求が発生し
た場合に、 その削除要求をいずれか1つの端末が前記セッション管
理部に通知し、 前記セッション管理部は、第1のプロキシとの間で第1
の通信コネクション及び第2の通信コネクションを確立
している第2のプロキシ及び第3のプロキシのそれぞれ
に対して削除要求を送信し、 第2のプロキシ及び第3のプロキシは、それらの間に第
3の通信コネクションを確立し、第1の通信コネクショ
ン及び第2の通信コネクションを利用している通信を第
3の通信コネクションに切り替えて、 通信コネクションの切替が完了した場合には、第2のプ
ロキシ及び第3のプロキシは、それぞれ前記セッション
管理部に対して切替完了を通知することを特徴とする通
信コネクション確立方法。
9. The communication connection establishment method according to claim 5, further comprising a session management unit that manages the session information, wherein a deletion request for a first proxy that is actually relaying communication is generated for a certain session. In this case, any one of the terminals notifies the session management unit of the deletion request, and the session management unit communicates with the first proxy with the first proxy.
Sending a delete request to each of the second proxy and the third proxy that have established the first communication connection and the second communication connection, and the second proxy and the third proxy transmit a delete request between them. The third communication connection is established, the communication using the first communication connection and the second communication connection is switched to the third communication connection, and when the switching of the communication connection is completed, the second proxy is established. A communication connection establishment method, wherein the third proxy and the third proxy respectively notify the session management unit of the completion of switching.
【請求項10】 請求項5の通信コネクション確立方法
において、前記セッションの情報を管理するセッション
管理部が存在し、あるセッションについて、第1のプロ
キシと第2のプロキシとの間に第1の通信コネクション
が確立され、第2のプロキシと第3のプロキシとの間に
第2の通信コネクションが確立され、第1の通信コネク
ション及び第2の通信コネクションを利用し、第1のプ
ロキシ,第2のプロキシ及び第3のプロキシを中継して
通信を行っている状態で、第2のプロキシから新たな第
4のプロキシへの置換要求が発生した場合に、 その置換要求をいずれか1つの端末が前記セッション管
理部に通知し、 前記セッション管理部は、第4のプロキシに対して置換
の準備に関する問い合わせを行い、 第4のプロキシから準備完了を示す通知を前記セッショ
ン管理部が受けた場合には、前記セッション管理部は第
1のプロキシ及び第3のプロキシに対して切替要求を送
信し、 第1のプロキシ及び第3のプロキシのそれぞれは、前記
切替要求に応答して、セッションの識別子に基づき置換
先の第4のプロキシとの間に第3の通信コネクション及
び第4の通信コネクションを確立し、 第1のプロキシ及び第3のプロキシのそれぞれは、第1
の通信コネクション及び第2の通信コネクションを介し
て行われていた通信を第3の通信コネクション及び第4
の通信コネクションを通るように切り替えて、 切り替えた全ての通信コネクションについて通信に利用
する通信コネクションの切替が完了した後で、第1のプ
ロキシ及び第3のプロキシのそれぞれが前記セッション
管理部に対して切替完了を通知し、 第3の通信コネクション及び第4の通信コネクションが
確立された後で、通知されたセッションの識別子に基づ
いて第3の通信コネクションと第4の通信コネクション
とを関連付けることを特徴とする通信コネクション確立
方法。
10. The communication connection establishing method according to claim 5, further comprising a session management unit for managing the information of the session, wherein a first communication is performed between a first proxy and a second proxy for a session. A connection is established, a second communication connection is established between the second proxy and the third proxy, and the first proxy and the second proxy are used by using the first communication connection and the second communication connection. When a request for replacement from the second proxy to a new fourth proxy is issued in a state where communication is performed by relaying the proxy and the third proxy, any one of the terminals transmits the replacement request to the fourth proxy. Notifying the session management unit, the session management unit makes an inquiry about the preparation for replacement to the fourth proxy, and notifies the fourth proxy of the completion of preparation. When the session management unit receives the notification indicating the change, the session management unit transmits a switching request to the first proxy and the third proxy, and each of the first proxy and the third proxy In response to the switching request, a third communication connection and a fourth communication connection are established with the replacement fourth proxy based on the session identifier, and the first proxy and the third proxy respectively Is the first
The communication performed through the third communication connection and the fourth communication connection is performed through the third communication connection and the fourth communication connection.
After the switching of the communication connection used for communication is completed for all the switched communication connections, each of the first proxy and the third proxy communicates with the session management unit. The switching completion is notified, and after the third communication connection and the fourth communication connection are established, the third communication connection is associated with the fourth communication connection based on the notified session identifier. Communication connection establishment method.
JP2001045351A 2000-06-07 2001-02-21 Communication connection establishment method Expired - Fee Related JP3732745B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001045351A JP3732745B2 (en) 2000-06-07 2001-02-21 Communication connection establishment method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2000-170245 2000-06-07
JP2000170245 2000-06-07
JP2001045351A JP3732745B2 (en) 2000-06-07 2001-02-21 Communication connection establishment method

Publications (2)

Publication Number Publication Date
JP2002064562A true JP2002064562A (en) 2002-02-28
JP3732745B2 JP3732745B2 (en) 2006-01-11

Family

ID=26593464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001045351A Expired - Fee Related JP3732745B2 (en) 2000-06-07 2001-02-21 Communication connection establishment method

Country Status (1)

Country Link
JP (1) JP3732745B2 (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003244204A (en) * 2002-02-13 2003-08-29 Nippon Telegr & Teleph Corp <Ntt> Communication connection establishing method, communication controller, recording medium and control program
JP2005303927A (en) * 2004-04-15 2005-10-27 Sony Corp Information processing system, information processing apparatus and method, recording medium, and program
WO2006088035A1 (en) * 2005-02-17 2006-08-24 Sharp Kabushiki Kaisha Communication network control system, communication terminal, and communication network control method
US7464170B2 (en) 2003-05-29 2008-12-09 Hitachi, Ltd. Content delivery server and terminal apparatus
JP2009522690A (en) * 2006-01-04 2009-06-11 マイクロソフト コーポレーション Optimize communication using scalable peer groups
JP2011034341A (en) * 2009-07-31 2011-02-17 Casio Computer Co Ltd Server device, server-based computing system and program
JP4811884B2 (en) * 2006-04-13 2011-11-09 インターナショナル・ビジネス・マシーンズ・コーポレーション Method and apparatus for routing data packets between different Internet communication stack instances
JP2013168180A (en) * 2013-05-20 2013-08-29 Casio Comput Co Ltd Server device and program
JP2013182397A (en) * 2012-03-01 2013-09-12 Nippon Telegr & Teleph Corp <Ntt> Cluster system
CN108877360A (en) * 2018-07-16 2018-11-23 深圳市本牛科技有限责任公司 Educational interaction system and equipment
WO2019030983A1 (en) * 2017-08-08 2019-02-14 株式会社Nttドコモ Session control device
US10856186B2 (en) 2002-09-03 2020-12-01 Interdigital Technology Corporation Method and system for user initiated inter-device, inter-system, and inter-internet protocol address handoff
CN112261627A (en) * 2020-10-20 2021-01-22 河南省四通锅炉有限公司 High-speed transmission method and system of boiler temperature wireless monitoring data based on Internet of things
CN112261627B (en) * 2020-10-20 2024-04-23 河南省四通锅炉有限公司 High-speed transmission method and system for wireless monitoring data of boiler temperature based on Internet of things

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003244204A (en) * 2002-02-13 2003-08-29 Nippon Telegr & Teleph Corp <Ntt> Communication connection establishing method, communication controller, recording medium and control program
US10856186B2 (en) 2002-09-03 2020-12-01 Interdigital Technology Corporation Method and system for user initiated inter-device, inter-system, and inter-internet protocol address handoff
US7464170B2 (en) 2003-05-29 2008-12-09 Hitachi, Ltd. Content delivery server and terminal apparatus
JP2005303927A (en) * 2004-04-15 2005-10-27 Sony Corp Information processing system, information processing apparatus and method, recording medium, and program
WO2006088035A1 (en) * 2005-02-17 2006-08-24 Sharp Kabushiki Kaisha Communication network control system, communication terminal, and communication network control method
US8023499B2 (en) 2005-02-17 2011-09-20 Sharp Kabushiki Kaisha Communication network control system, communication terminal, and communication network control method
JP2009522690A (en) * 2006-01-04 2009-06-11 マイクロソフト コーポレーション Optimize communication using scalable peer groups
JP4811884B2 (en) * 2006-04-13 2011-11-09 インターナショナル・ビジネス・マシーンズ・コーポレーション Method and apparatus for routing data packets between different Internet communication stack instances
JP2011034341A (en) * 2009-07-31 2011-02-17 Casio Computer Co Ltd Server device, server-based computing system and program
JP2013182397A (en) * 2012-03-01 2013-09-12 Nippon Telegr & Teleph Corp <Ntt> Cluster system
JP2013168180A (en) * 2013-05-20 2013-08-29 Casio Comput Co Ltd Server device and program
WO2019030983A1 (en) * 2017-08-08 2019-02-14 株式会社Nttドコモ Session control device
JPWO2019030983A1 (en) * 2017-08-08 2020-07-09 株式会社Nttドコモ Session controller
CN108877360A (en) * 2018-07-16 2018-11-23 深圳市本牛科技有限责任公司 Educational interaction system and equipment
CN108877360B (en) * 2018-07-16 2023-07-11 深圳市本牛科技有限责任公司 Education interaction system and equipment
CN112261627A (en) * 2020-10-20 2021-01-22 河南省四通锅炉有限公司 High-speed transmission method and system of boiler temperature wireless monitoring data based on Internet of things
CN112261627B (en) * 2020-10-20 2024-04-23 河南省四通锅炉有限公司 High-speed transmission method and system for wireless monitoring data of boiler temperature based on Internet of things

Also Published As

Publication number Publication date
JP3732745B2 (en) 2006-01-11

Similar Documents

Publication Publication Date Title
US5572528A (en) Mobile networking method and apparatus
EP1542409A1 (en) Protocol for multi-hop ad-hoc networks
JP6388955B2 (en) Graceful restart processing method of OpenFlow switch and OpenFlow controller
JP2009525632A (en) Selective service update method for communication network
JP3732745B2 (en) Communication connection establishment method
CN104980355A (en) Source controllable multicast data transmission method and system thereof under SDN Environment
US20220345872A1 (en) Method and system for controlling id identifier network mobility based on programmable switch
JP2005109539A (en) System, method, and program for retrieving and distributing contents
JP3785101B2 (en) Communication connection establishment method, communication control device, recording medium, and control program
CN102271080A (en) Method for preventing BGP (Border Gateway Protocol) session from being disconnected in the event of changing service, and applicable system thereof
CN104660550A (en) Method for performing session migration among plurality of servers
CN103107942B (en) The tracking of a kind of static routing and equipment
JP3672534B2 (en) Routing control method, routing control device, recording medium, and control program
WO2020189003A1 (en) Voice communication system and redundancy method for call control server
JP4387937B2 (en) Telephone system and switching system
JP2002199004A (en) Mobile communication method through ip network
JPH1155326A (en) Mobile ip communication system and mobile ip communication method and router and terminal management server
EP2482585A1 (en) Method and system for realizing terminal handover
US6625256B1 (en) Failover mechanisms for remote networked phones
JP2748871B2 (en) Location registration method and location registration method
JP3712983B2 (en) Multicast communication control method, communication control apparatus, recording medium, and control program
JP3651120B2 (en) Mobile communication system and mobile communication method
JP3464775B2 (en) Service continuity systems and mobile terminals
JP3947435B2 (en) Node, communication node, mobility anchor point, home agent, packet communication system, and route MTU search method in packet communication system
JP2002261792A (en) Communication system, its packet exchanging method, and recording medium with exchange program recorded thereon

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050208

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: 20051011

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051013

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20091021

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101021

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101021

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111021

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees