JP2002368778A - Communication terminal and method for reconnecting communication terminal - Google Patents

Communication terminal and method for reconnecting communication terminal

Info

Publication number
JP2002368778A
JP2002368778A JP2001177117A JP2001177117A JP2002368778A JP 2002368778 A JP2002368778 A JP 2002368778A JP 2001177117 A JP2001177117 A JP 2001177117A JP 2001177117 A JP2001177117 A JP 2001177117A JP 2002368778 A JP2002368778 A JP 2002368778A
Authority
JP
Japan
Prior art keywords
address
tcp
connection
ppp
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001177117A
Other languages
Japanese (ja)
Inventor
Yuichi Ueki
雄一 植木
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2001177117A priority Critical patent/JP2002368778A/en
Publication of JP2002368778A publication Critical patent/JP2002368778A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a method for reconnecting a communication terminal by which data can be immediately transmitted/received when the connection of the communication terminal is temporarily interrupted by a hand-over and the connection is recovered thereafter by reducing the amount of TCP(Transmission Control Protocol) processing requiring a very long processing time to the utmost. SOLUTION: In the method for reconnecting the communication terminal which can perform data communication by the TCP/IP connection, the line connection and a PPP(Point-To-Point Protocol) connection are disconnected when the communication is temporarily interrupted. An IP address used at present is stored, and the TCP connection is maintained. When the communication system recovers from the interruption, the line connection and the PPP connection are connected, an IP address obtained by the PPP connection after communication system recovers from the interruption is compared with the IP address before the communication is temporarily interrupted, and the TCP connection used before the communication is temporarily interrupted is used again when both IP addresses are discriminated identical to each other.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は通信端末が一時的に
切断されたときの再接続方法およびそのような再接続方
法を用いる通信端末に関するものである。より詳細に
は、一時的に切断された場合に再接続をする時に、回線
接続およびPPPコネクションの接続を行った後に、P
PPプロトコル処理によって取得されたIPアドレスが
一時的に切断された直前のIPアドレスと同一の場合に
は以前のTCPコネクションを用いて、新たなTCPコ
ネクションを構築しない通信端末の再接続方法およびそ
のような再接続方法を用いた通信端末に関するものであ
る。
The present invention relates to a reconnection method when a communication terminal is temporarily disconnected, and a communication terminal using such a reconnection method. More specifically, when reconnection is performed after a temporary disconnection, after the line connection and the PPP connection are connected, the P
When the IP address obtained by the PP protocol processing is the same as the IP address immediately before the temporary disconnection, the previous TCP connection is used to reconnect the communication terminal that does not establish a new TCP connection, and the like. The present invention relates to a communication terminal using a simple reconnection method.

【0002】[0002]

【従来の技術】本発明は、通信端末が一時的に切断され
たときの再接続方法に関するものであるが、その一例と
して、以下に通信端末のハンドオーバを例にとって説明
する。
2. Description of the Related Art The present invention relates to a reconnection method when a communication terminal is temporarily disconnected. As an example, a handover of the communication terminal will be described below as an example.

【0003】図4は、通信端末(ここでは、携帯電話
機)のハンドオーバを説明する図である。図4におい
て、セル20内の基地局21と通信端末22が通信を行
っているときに、通信端末22がセル20からセル間の
境界を通り越してセル23に移動すると、通信端末22
は基地局21との接続が切断され、新たに基地局24と
の間で再接続される。
FIG. 4 is a diagram for explaining handover of a communication terminal (here, a portable telephone). In FIG. 4, when the communication terminal 22 moves from the cell 20 to the cell 23 through the boundary between the cells while the base station 21 in the cell 20 is communicating with the communication terminal 22, the communication terminal 22
Is disconnected from the base station 21 and is newly reconnected to the base station 24.

【0004】図5は、通信端末がセル間を移動するとき
の通信端末の切断および再接続処理を示す図である。図
5において、最初、基地局21と通信端末22とが通信
をしている状態にあるものとする。通信端末22がセル
の境界に近づくと、基地局21からの受信電界強度が低
下する。通信端末22はこの状態になると、基地局21
からの電界強度よりも電界強度の高い基地局24をサー
チするので、その後基地局24を捕捉する。次に、通信
端末22がセル23に移動すると、基地局21からの電
界強度がさらに低下し、基地局21との通信が切断され
る。次に、基地局24との再接続処理がなされ、通信端
末22は基地局24と接続され、基地局24との間で通
信が再開される。
FIG. 5 is a diagram showing disconnection and reconnection processing of a communication terminal when the communication terminal moves between cells. In FIG. 5, it is assumed that the base station 21 and the communication terminal 22 are in communication at first. As the communication terminal 22 approaches the cell boundary, the electric field strength received from the base station 21 decreases. When the communication terminal 22 enters this state, the base station 21
Since the base station 24 having a higher electric field strength than the electric field strength is searched for, the base station 24 is acquired thereafter. Next, when the communication terminal 22 moves to the cell 23, the electric field intensity from the base station 21 further decreases, and the communication with the base station 21 is cut off. Next, reconnection processing with the base station 24 is performed, the communication terminal 22 is connected to the base station 24, and communication with the base station 24 is resumed.

【0005】図6は、通信端末とサーバとの接続切断を
行う従来の通信システムの構成を示す図である。図6に
おいて、この通信システムは、通信端末1、交換機2、
認証サーバ3、ゲートウエイ4、通信網5、サーバ6か
ら構成される。
FIG. 6 is a diagram showing a configuration of a conventional communication system for disconnecting a communication terminal from a server. In FIG. 6, the communication system includes a communication terminal 1, an exchange 2,
It comprises an authentication server 3, a gateway 4, a communication network 5, and a server 6.

【0006】次に、この通信システムにおいて、通信端
末1における通信アプリケーション11(例えば、メール
ソフト)が、サーバ6からメールをダウンロードする例
を用いて、この通信システムの動作について説明する。
通信アプリケーション11が起動されると、回線接続プ
ロトコル14は交換機2との間で回線接続を構築し、そ
の後、PPPプロトコル13は認証サーバ3からIPア
ドレスを取得し、その後そのIPアドレスに基づいて、
TCP/IPプロトコル12はサーバ6との間でTCP
コネクション構築し、その後通信アプリケーション11
はサーバ6との間でデータを送受信する。
Next, the operation of this communication system will be described using an example in which the communication application 11 (for example, mail software) in the communication terminal 1 downloads mail from the server 6 in this communication system.
When the communication application 11 is started, the line connection protocol 14 establishes a line connection with the exchange 2, and thereafter, the PPP protocol 13 acquires an IP address from the authentication server 3, and then, based on the IP address,
TCP / IP protocol 12 communicates with server 6 via TCP.
Build a connection and then the communication application 11
Transmits and receives data to and from the server 6.

【0007】このように通信端末1とサーバ6が接続さ
れているときに、たとえば、通信端末1が一時的に通話
が切断されたと仮定する。このときに通信システムにお
いては、回線接続プロトコル14が切断されるために、
その上位レイヤのPPPコネクション、TCPコネクシ
ョンは全て切断される。
[0007] When the communication terminal 1 and the server 6 are connected as described above, for example, it is assumed that the communication terminal 1 is temporarily disconnected from the call. At this time, in the communication system, since the line connection protocol 14 is disconnected,
The upper layer PPP connection and TCP connection are all disconnected.

【0008】この時点で、通信端末1の一時的な切断が
回復したときには、通信端末1は回線接続プロトコル1
4の接続処理の後に、PPPプロトコル13およびTC
P/IPプロトコル12はそれぞれPPPコネクショ
ン、TCPコネクションの再接続を行う必要があった。
At this time, when the temporary disconnection of the communication terminal 1 is recovered, the communication terminal 1
4 and the PPP protocol 13 and TC
The P / IP protocol 12 needed to reconnect the PPP connection and the TCP connection, respectively.

【0009】図7は、従来の通信システムにおける通信
端末1とサーバ6の接続、切断、および再接続を示すフ
ローチャートである。図7を用いて、通信端末1とサー
バ6の接続、切断、および再接続をさらに詳しく説明す
る。図7において、通信端末1は、ステップS21にお
いて、通信アプリケーション11から回線接続要求が発
生すると、ステップS22において、回線接続プロトコ
ル14は交換機2との間で回線接続を構築し、PPPプ
ロトコル13は認証サーバ3からIPアドレスを取得す
る。ステップS23において、そのIPアドレスに基づ
いて、TCP/IPプロトコル12は、交換機2、認証
サーバ3、ゲートウエイ4、通信網5を介して、サーバ
6との間でTCPコネクションを構築し、ステップS2
4において、通信アプリケーション11はサーバ6との
間でデータを送受信する。
FIG. 7 is a flowchart showing connection, disconnection, and reconnection between the communication terminal 1 and the server 6 in the conventional communication system. The connection, disconnection, and reconnection of the communication terminal 1 and the server 6 will be described in more detail with reference to FIG. In FIG. 7, when the communication terminal 1 issues a line connection request from the communication application 11 in step S21, the line connection protocol 14 establishes a line connection with the exchange 2 in step S22, and the PPP protocol 13 An IP address is obtained from the server 3. In step S23, based on the IP address, the TCP / IP protocol 12 establishes a TCP connection with the server 6 via the exchange 2, the authentication server 3, the gateway 4, and the communication network 5, and in step S2
In 4, the communication application 11 sends and receives data to and from the server 6.

【0010】次に、ステップS25で通信の一時切断が
発生したものと仮定する。この場合に、ステップS26
において、回線およびPPPコネクションが切断され、
ステップS27においてTCPコネクションが切断され
る。TCP切断処理時間は、後述のように約1.5秒程
度かかる。
Next, it is assumed that a temporary disconnection of communication has occurred in step S25. In this case, step S26
In, the line and the PPP connection are disconnected,
In step S27, the TCP connection is disconnected. The TCP disconnection processing time takes about 1.5 seconds as described later.

【0011】次に、ステップS28において、一時切断
の回復が確認されると、ステップS29で、回線接続プ
ロトコル14は回線接続を行い、PPPプロトコル13
は認証サーバ3との間でPPPコネクションを行い、ス
テップS30でTCP/IPプロトコル12は、サーバ
6との間でTCPコネクションの再構築を行う。ステッ
プS31で通信アプリケーション11はサーバ6との間
でデータを送受信する。
Next, in step S28, when the recovery from the temporary disconnection is confirmed, in step S29, the line connection protocol 14 makes a line connection and the PPP protocol 13
Performs a PPP connection with the authentication server 3, and the TCP / IP protocol 12 reestablishes a TCP connection with the server 6 in step S30. In step S31, the communication application 11 transmits and receives data to and from the server 6.

【0012】図8は、通信システムにおけるTCPコネ
クションの構築時および切断時の制御信号を示す図であ
る。図8(a)は、通信端末1がサーバ6との間でTC
Pコネクションの構築を行う場合の制御信号を示す図で
ある。図8(b)は、通信端末1がサーバ6との間でT
CPコネクションを切断する場合の制御信号を示す図で
ある。これは、3ウェイハンドシェイクと呼ばれる。
FIG. 8 is a diagram showing control signals when a TCP connection is established and disconnected in a communication system. FIG. 8 (a) shows that the communication terminal 1
It is a figure which shows the control signal at the time of establishing a P connection. FIG. 8 (b) shows that the communication terminal 1
It is a figure which shows the control signal when disconnecting a CP connection. This is called a three-way handshake.

【0013】図8(a)において、通信端末1のTCP
/IPプロトコル12は、サーバ6との接続を行うとき
に、SYN信号をサーバ6に送信し、サーバ6はACK
信号を通信端末1のTCP/IPプロトコル12に送信
する。一方、TCP/IPプロトコル12はACK信号
をサーバ6に送信し、TCPコネクション接続処理は終
了する。このTCP/IPプロトコル12におけるTC
Pコネクション接続処理は、約500msから1秒程度
の時間がかかる。
In FIG. 8A, the TCP of the communication terminal 1
The / IP protocol 12 transmits a SYN signal to the server 6 when making a connection with the server 6, and the server 6
The signal is transmitted to the TCP / IP protocol 12 of the communication terminal 1. On the other hand, the TCP / IP protocol 12 transmits an ACK signal to the server 6, and the TCP connection connection processing ends. TC in the TCP / IP protocol 12
The P connection connection process takes about 500 ms to about 1 second.

【0014】一方、図8(b)において、通信端末1の
TCP/IPプロトコル12は、サーバ6とのTCPコ
ネクションを切断するときに、FIN信号をサーバ6に
送信し、サーバ6はACK信号を通信端末1のTCP/
IPプロトコル12に送信する。さらに、サーバ6は、
FIN信号を通信端末1のTCP/IPプロトコル12
に送信し、TCP/IPプロトコル12はACK信号を
サーバ6に送信し、TCPコネクション切断処理は終了
する。このTCP/IPプロトコルにおけるTCPセル
の切断処理は、約1.5秒から2秒程度の時間がかか
る。
On the other hand, in FIG. 8B, the TCP / IP protocol 12 of the communication terminal 1 transmits a FIN signal to the server 6 when disconnecting the TCP connection with the server 6, and the server 6 transmits an ACK signal. TCP / of communication terminal 1
Sent to IP protocol 12. Further, the server 6
Sends the FIN signal to the TCP / IP protocol 12 of the communication terminal 1.
, And the TCP / IP protocol 12 transmits an ACK signal to the server 6, and the TCP connection disconnection process ends. The TCP cell disconnection process in the TCP / IP protocol takes about 1.5 to 2 seconds.

【0015】[0015]

【発明が解決しようとする課題】このように、従来の通
信システムにおいては、TCPコネクションの切断処理
および接続処理の処理時間は合計すると2秒から3秒程
度もの長い時間がかかるという弊害があった。
As described above, in the conventional communication system, there is a problem that the total processing time of the disconnection processing and the connection processing of the TCP connection takes a long time of about 2 to 3 seconds. .

【0016】本発明は、上述の課題に鑑みてなされたも
ので、その目的とするところは、上記のように非常に長
い処理時間を要するTCP処理をできるだけ少なくし、
一時切断終了後のPPPプロトコル処理において、通信
端末1が認証サーバ3から取得したIPアドレスが、一
時切断前に認証サーバ3から取得したIPアドレスと同
一であった場合には、TCPコネクションの切断処理お
よびTCPコネクションの再接続処理をしないようにし
た通信端末の再接続方法を提供するものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems, and has as its object to minimize TCP processing requiring an extremely long processing time as described above.
In the PPP protocol processing after the temporary disconnection, if the IP address acquired by the communication terminal 1 from the authentication server 3 is the same as the IP address acquired from the authentication server 3 before the temporary disconnection, the TCP connection disconnection processing And a method of reconnecting a communication terminal so as not to perform reconnection processing of a TCP connection.

【0017】[0017]

【課題を解決するための手段】上記の目的を達成するた
め、本発明は、TCP/IP接続によってデータ通信が
可能な通信端末の再接続方法において、通信が一時的に
切断されたとき、PPPコネクションを切断するPPP
切断ステップと、現在使用しているIPアドレスを記憶
するIPアドレス記憶ステップと、TCPコネクション
を保持するTCP保持ステップとを有し、通信の切断が
回復したとき、PPPコネクションを再接続するPPP
再接続ステップと、上記PPP再接続ステップによって
得られたIPアドレスが、上記IPアドレス記憶ステッ
プによって記憶されたIPアドレスと同一か否かを比較
する比較ステップと、上記比較ステップにおいて、上記
PPP再接続ステップによって得られたIPアドレス
が、上記IPアドレス記憶ステップによって記憶された
IPアドレスと同一か否かを比較する比較ステップと、
同一と判断された場合には、上記TCP保持ステップで
保持しているTCPコネクションを再利用するTCP再
利用ステップとを有することを特徴とする。
In order to achieve the above object, the present invention relates to a method for reconnecting a communication terminal capable of performing data communication by TCP / IP connection, the method comprising the steps of: PPP to disconnect the connection
A disconnection step, an IP address storage step for storing the currently used IP address, and a TCP holding step for holding a TCP connection, and a PPP for reconnecting the PPP connection when communication is restored
A reconnection step, a comparison step of comparing whether an IP address obtained in the PPP reconnection step is the same as the IP address stored in the IP address storage step, and a step of comparing the PPP connection in the comparison step. A comparing step of comparing whether the IP address obtained in the step is the same as the IP address stored in the IP address storing step,
If it is determined that they are the same, a TCP reusing step of reusing the TCP connection held in the TCP holding step is provided.

【0018】また、本発明は、上記比較ステップにおい
て、上記PPP再接続ステップによって得られたIPア
ドレスが、上記IPアドレス記憶ステップによって記憶
されたIPアドレスと同一でないと判断された場合に
は、さらに、上記TCP保持ステップで保持しているT
CPコネクションを切断するTCP切断ステップと、上
記PPP再接続ステップによって得られたIPアドレス
に基づいて再度TCPコネクションを構築するTCP再
構築ステップとを有することを特徴とする。
Further, the present invention further comprises the step of, if it is determined in the comparing step that the IP address obtained in the PPP reconnecting step is not the same as the IP address stored in the IP address storing step, , T held in the TCP holding step
A TCP disconnection step of disconnecting the CP connection and a TCP reestablishment step of establishing a TCP connection again based on the IP address obtained in the PPP reconnection step.

【0019】[0019]

【発明の実施の形態】図1は、本発明の一実施の形態の
通信端末とサーバとが接続される通信システムの構成を
示す図である。図1に示されるシステム構成は、図6と
比べて、通信アプリケーション11とTCP/IPプロ
トコル12との間でコネクションの切断が行われること
を除いて、図6の構成と同じであるので、図1の構成の
詳細な説明は省略する。
FIG. 1 is a diagram showing a configuration of a communication system in which a communication terminal and a server according to an embodiment of the present invention are connected. The system configuration shown in FIG. 1 is the same as that of FIG. 6 except that the connection between the communication application 11 and the TCP / IP protocol 12 is disconnected, as compared with FIG. A detailed description of the configuration of No. 1 is omitted.

【0020】図2は、本発明の一実施の形態の通信シス
テムにおける通信端末1とサーバ6の接続、切断、およ
び再接続を示すフローチャートである。図2において、
通信端末1は、ステップS1において、通信アプリケー
ション11から回線接続要求が発生すると、ステップS
2において、回線接続プロトコル14は交換機2との間
で回線接続を構築し、PPPプロトコル13は認証サー
バ3からIPアドレスを取得する。ステップS3におい
て、TCP/IPプロトコル12は、そのIPアドレス
に基づいて、交換機2、認証サーバ3、ゲートウエイ
4、通信網5を介して、サーバ6との間でTCPコネク
ションを構築し、ステップS4において、通信アプリケ
ーション11はサーバ6との間でデータを送受信する。
FIG. 2 is a flowchart showing connection, disconnection, and reconnection between the communication terminal 1 and the server 6 in the communication system according to the embodiment of the present invention. In FIG.
When the communication terminal 1 generates a line connection request from the communication application 11 in step S1, the communication terminal 1 executes step S1.
In 2, the line connection protocol 14 establishes a line connection with the exchange 2, and the PPP protocol 13 acquires an IP address from the authentication server 3. In step S3, the TCP / IP protocol 12 establishes a TCP connection with the server 6 via the exchange 2, the authentication server 3, the gateway 4, and the communication network 5 based on the IP address. The communication application 11 transmits and receives data to and from the server 6.

【0021】次に、ステップS5で通信の一時切断が発
生したものと仮定するこの場合に、ステップS6におい
て、回線およびPPPコネクションが切断される。ステ
ップS7おいて、TCPセルが保持される。図2おいて
は、図7に示される従来のフローチャートのステップS
27に相当するTCPコネクションの切断がなく、この
時点では、TCPセルが保持される点が特徴である。こ
のために、TCPコネクションの切断処理時間の約1.
5秒が不要となる。
Next, assuming that a temporary disconnection of communication has occurred in step S5, the line and the PPP connection are disconnected in step S6. In step S7, the TCP cell is held. In FIG. 2, step S in the conventional flowchart shown in FIG.
There is no disconnection of the TCP connection corresponding to No. 27, and at this point, the TCP cell is held. For this reason, about 1.
5 seconds are not required.

【0022】次に、ステップS8で、一時切断の回復が
確認されると、通信端末1は、ステップS9で、回線接
続プロトコル14は回線接続を行い、PPPプロトコル
13は認証サーバ3との間でPPPコネクションを行
う。ステップS10おいて、通信端末1は、PPP接続
によって認証サーバ3から取得されたIPアドレスが、
ステップS2で取得されたIPアドレスと同一か否かを
判断し、同一の時には、TCPコネクションの再接続を
行うことなく、ステップS13でサーバ6との間でデー
タを送受信する。一方、ステップS10で、IPアドレ
スがステップS2で取得されたアドレスと同一でない時
には、ステップS11で以前のTCPコネクションを切
断し、ステップS12でTCPセルの再接続を行った後
に、ステップS13でサーバ6との間でデータを送受信
する。
Next, when the recovery from the temporary disconnection is confirmed in step S8, the communication terminal 1 establishes a line connection in step S9, and the PPP protocol 13 establishes a connection with the authentication server 3 in step S9. Make a PPP connection. In step S10, the communication terminal 1 confirms that the IP address acquired from the authentication server 3 by the PPP connection is
It is determined whether the IP address is the same as the IP address acquired in step S2. If the IP address is the same, data is transmitted to and received from the server 6 in step S13 without reconnecting the TCP connection. On the other hand, if the IP address is not the same as the address obtained in step S2 in step S10, the previous TCP connection is disconnected in step S11, and the TCP cell is reconnected in step S12. Send and receive data to and from

【0023】このように、一時切断が回復した後のPP
P接続によって認証サーバ3から取得されたIPアドレ
スが、ステップS2で取得されたIPアドレスと同一で
あるときには、TCPコネクションの切断および再接続
を行わないで、以前に接続されているTCPコネクショ
ンを用いることによって、全体として約2〜3秒程度再
接続時間を早めることができる。
Thus, the PP after the temporary disconnection is recovered
When the IP address obtained from the authentication server 3 by the P connection is the same as the IP address obtained in step S2, the previously connected TCP connection is used without disconnecting and reconnecting the TCP connection. As a result, the reconnection time can be shortened by about 2 to 3 seconds as a whole.

【0024】図3は、本発明の再接続を行う通信端末の
構成を示す図である。図3において、通信先より受信さ
れたディジタル音声データは通信回路34へ送信され
る。通信回路34は、アンテナ33より送信されてきた
音声データを復調および復号化して、A/D・D/A変換
器37に送られ、A/D・D/A変換器37は通信回路
34から受領したディジタルの音声データをアナログデ
ータに変換し、スピーカ36に送る。スピーカ36は、
音声データを聴取可能に出力する。これらの動作は、C
PU46の命令に従って実行される。
FIG. 3 is a diagram showing a configuration of a communication terminal for performing reconnection according to the present invention. In FIG. 3, digital voice data received from a communication destination is transmitted to a communication circuit 34. The communication circuit 34 demodulates and decodes the audio data transmitted from the antenna 33 and sends it to the A / D / D / A converter 37. The A / D / D / A converter 37 The received digital voice data is converted into analog data and sent to the speaker 36. The speaker 36 is
Outputs audio data audibly. These operations are C
It is executed according to the instruction of PU46.

【0025】一方、マイク35から入力された音声デー
タは、A/D・D/A変換器37によって、ディジタル
データに変換され、通信回路34に送られる。通信回路
34は、マイク35から送られてきたディジタル音声デ
ータを符号化し、さらに対応する周波数に変調してアン
テナ33を介して通信先へ送信する。
On the other hand, the audio data input from the microphone 35 is converted into digital data by the A / D / D / A converter 37 and sent to the communication circuit 34. The communication circuit 34 encodes the digital audio data transmitted from the microphone 35, modulates the digital audio data into a corresponding frequency, and transmits the modulated data to the communication destination via the antenna 33.

【0026】次に、通信端末の各部の構成について説明
する。RAM38は、電話帳データやメール等のデータ
を記憶する。さらに、データ通信時に再接続したときに
得られるIPアドレスを一時的に記憶する。また、RO
M39は、CPU46を動作させるための実行プログラ
ム、通信方式に従ったプログラム(TDMAの場合、タ
イムスロットの制御など)やハンドオフ等の種々の実行
プログラムが記憶されている。
Next, the configuration of each part of the communication terminal will be described. The RAM 38 stores data such as telephone directory data and mail. Further, an IP address obtained when reconnecting during data communication is temporarily stored. Also, RO
The M39 stores an execution program for operating the CPU 46, a program according to a communication method (for TDMA, time slot control, etc.), and various execution programs such as handoff.

【0027】操作部40は、電話番号やメールアドレ
ス、本文などを入力するテンキーや、送信キー、終話キ
ーなどを有し、ユーザの入力に従って、コマンドをCP
U46に通知する。表示制御部41は、種々のデータを
表示させるのに必要なドライバなどで構成され、データ
を表示部42に表示可能な形に変換する。表示部42
は、例えばLCDなどで構成され、種々のデータを表示
する。
The operation unit 40 has ten keys for inputting a telephone number, a mail address, a text, etc., a transmission key, an end key, and the like.
Notify U46. The display control unit 41 includes a driver or the like necessary to display various data, and converts the data into a form that can be displayed on the display unit 42. Display section 42
Is composed of, for example, an LCD and displays various data.

【0028】IPアドレス比較回路43は、IPアドレ
ス記憶部44に記憶されているIPアドレスと、取得し
たIPアドレスとが同一かどうかを比較し、その結果を
CPU46に通知する。これについては後で詳述する。
IPアドレス記憶部44は、図1に示すPPPプロトコ
ル13によって認証サーバ3から取得されたIPアドレ
スを記憶する。CPU46は、上記の構成を全体的に制
御する。
The IP address comparison circuit 43 compares the IP address stored in the IP address storage unit 44 with the acquired IP address to determine whether the IP address is the same, and notifies the CPU 46 of the result. This will be described later in detail.
The IP address storage unit 44 stores the IP address obtained from the authentication server 3 by the PPP protocol 13 shown in FIG. The CPU 46 controls the entire configuration described above.

【0029】次に、上述した通信端末を用いて、メール
送信を行う場合について説明する。もちろん、インター
ネットのようなデータ通信も同様に可能である。まず、
操作部40によってメール文書を作成する。この作成さ
れたメールはRAM38に一時的に蓄積される。その
後、操作部40の図示されない送信キーを操作すると、
CPU46は、ROM39に蓄積されている図2のフロ
ーチャートに従ったプログラムに基づいて、通信回路3
4を制御する。即ち、通信回路34では、回線接続プロ
トコル14に基づいてメールサーバと電話回線を接続す
る。このとき、通信回路34には、受信電界強度を測定
する回路が備えつけられており、通信端末1は、回線接
続プロトコル14によって最も受信電界強度レベルが大
きい基地局と接続される。
Next, a case where mail is transmitted using the above-described communication terminal will be described. Of course, data communication like the Internet is possible as well. First,
A mail document is created by the operation unit 40. The created mail is temporarily stored in the RAM 38. After that, when a transmission key (not shown) of the operation unit 40 is operated,
The CPU 46 controls the communication circuit 3 based on the program stored in the ROM 39 according to the flowchart of FIG.
4 is controlled. That is, the communication circuit 34 connects the mail server to the telephone line based on the line connection protocol 14. At this time, the communication circuit 34 is provided with a circuit for measuring the received electric field strength, and the communication terminal 1 is connected to the base station having the highest received electric field strength level by the line connection protocol 14.

【0030】その後、同様に通信回路34は、上位レイ
ヤのプロトコルに従って、PPPコネクションを認証サ
ーバ3との間で構築し、上記メールサーバ6と通信を行
う為のIPアドレスを取得する。このIPアドレスは、
データライン32を介してIPアドレス記憶部44に送
られ、そこに記憶される。このIPアドレスを用いて、
TCP/IPプロトコル12はTCPコネクションを上
記メールサーバ6との間で構築し、RAM38に記憶さ
れているメールデータ(本文)を送信する。
Thereafter, the communication circuit 34 similarly establishes a PPP connection with the authentication server 3 according to the protocol of the upper layer, and acquires an IP address for communicating with the mail server 6. This IP address is
The data is sent to the IP address storage unit 44 via the data line 32 and stored there. Using this IP address,
The TCP / IP protocol 12 establishes a TCP connection with the mail server 6 and transmits mail data (text) stored in the RAM 38.

【0031】ここで、上記受信電界強度レベルが小さく
なると、通信端末1は一時切断(ここでは、たとえば、
ハンドオフ)の動作に移行する。ハンドオフの動作プロ
グラムは、ROM39に蓄積されており、このプログラ
ムに従ってハンドオフを行う。即ち、通信端末1は、今
まで接続されていた基地局との電話回線およびPPPコ
ネクションを切断する。このとき、CPU46は、通信
回路34に対して、TCPコネクションを保持するよう
命令するとともに、再度電話回線接続およびPPPコネ
クションを構築するよう命令する。通信回路34は、C
PU46の命令に従って、TCPコネクションを保持し
たまま、再度電話回線接続およびPPPコネクションの
構築を試みる。
Here, when the received electric field strength level decreases, the communication terminal 1 is temporarily disconnected (here, for example,
(Handoff) operation. The handoff operation program is stored in the ROM 39, and the handoff is performed according to this program. That is, the communication terminal 1 disconnects the telephone line and the PPP connection with the base station that has been connected up to now. At this time, the CPU 46 instructs the communication circuit 34 to hold the TCP connection and instruct the telephone circuit connection and the PPP connection to be established again. The communication circuit 34
In accordance with the instruction from the PU 46, the telephone line connection and the PPP connection are attempted again while holding the TCP connection.

【0032】回線接続プロトコル14は交換機2との間
で回線を接続、その後、PPPプロトコル13は、認証
サーバ3との間でPPPコネクションを構築し、再度新
たなIPアドレスを取得する。この新たなIPアドレス
が取得されると、CPU46は、その新たなIPアドレ
スをIPアドレス比較回路43に送る。一方、CPU4
6は、IPアドレス記憶部に記憶されているハンドオフ
前に使用されていたIPアドレスを読み出して、IPア
ドレス比較回路43に送る。IPアドレス比較回路43
は、送られてきた両方のIPアドレスを比較してそれら
が同一かどうかをチェックし、その結果をCPU46に
通知する。CPU46は、比較回路43より送られてき
た結果が、同一であった場合には、IPアドレス記憶部
44に記憶されている以前のIPアドレスを用いるとと
もに、保持中のTCPコネクションを利用して再度デー
タ通信を実行するよう通信回路34、IPアドレス記憶
部44を制御する。一方、2つのIPアドレスが同一で
ない場合には、CPU46は、RAM38に一時的に記
憶された新たなIPアドレスを、IPアドレス記憶部4
4に上書きするようRAM38およびIPアドレス記憶
部44を制御する。この場合には、通信回路34に対し
て保持しているTCPコネクションを切断し、再度TC
Pコネクションを構築するよう命令する。
The line connection protocol 14 connects a line with the exchange 2, and then the PPP protocol 13 establishes a PPP connection with the authentication server 3 and acquires a new IP address again. When the new IP address is obtained, the CPU 46 sends the new IP address to the IP address comparison circuit 43. On the other hand, CPU4
6 reads out the IP address used before the handoff stored in the IP address storage unit and sends it to the IP address comparison circuit 43. IP address comparison circuit 43
Compares the two transmitted IP addresses to check whether they are the same, and notifies the CPU 46 of the result. If the result sent from the comparison circuit 43 is the same, the CPU 46 uses the previous IP address stored in the IP address storage unit 44 and re-uses the held TCP connection. The communication circuit 34 and the IP address storage unit 44 are controlled to execute data communication. On the other hand, if the two IP addresses are not the same, the CPU 46 stores the new IP address temporarily stored in the RAM 38 in the IP address storage unit 4.
The CPU 38 controls the RAM 38 and the IP address storage unit 44 so as to overwrite the IP address of the RAM 38. In this case, the TCP connection held for the communication circuit 34 is disconnected, and the
Instructs to establish a P connection.

【0033】本明細書においては、本発明は、通信端末
が一時的に切断されたときの再接続方法に関するもので
あり、無線系の携帯電話機のハンドオフの場合のみでな
く、有線の回線を用いたTCP/IP接続についても適
用できる。例えば、家庭内のパソコン(PC)でインタ
ーネットを行った場合に、回線の状況によって接続が瞬
断されることがあり、このときにも本発明が適用可能で
ある。
In the present specification, the present invention relates to a method for reconnecting when a communication terminal is temporarily disconnected, not only in the case of hand-off of a wireless cellular phone, but also in the case of using a wired line. It can be applied to the existing TCP / IP connection. For example, when the Internet is performed on a personal computer (PC) at home, the connection may be momentarily interrupted depending on the state of the line.

【0034】[0034]

【発明の効果】以上説明したように、本発明によれば、
通信端末1が一時的に切断された場合に、TCP接続を
保留し、短時間の後に回線が回復した時には、回線接続
およびPPPコネクション接続のみを行い、TCPコネ
クションの再接続は行わないようにしたものである。そ
れによって長い時間を必要とするTCPコネクションの
切断および接続が不要となるために、通信端末1は、回
線が回復するとすぐにデータの受信が可能となる。
As described above, according to the present invention,
When the communication terminal 1 is temporarily disconnected, the TCP connection is suspended, and when the line is recovered after a short time, only the line connection and the PPP connection are connected, and the TCP connection is not reconnected. Things. This eliminates the need to disconnect and connect the TCP connection, which requires a long time, so that the communication terminal 1 can receive data as soon as the line is restored.

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

【図1】 本発明の一実施の形態の通信端末とサーバと
が接続される通信システムの構成を示す図である。
FIG. 1 is a diagram illustrating a configuration of a communication system in which a communication terminal and a server according to an embodiment of the present invention are connected.

【図2】 本発明の一実施の形態の通信システムにおけ
る通信端末とサーバの接続、切断、および再接続を示す
フローチャートである。
FIG. 2 is a flowchart showing connection, disconnection, and reconnection of a communication terminal and a server in the communication system according to the embodiment of the present invention.

【図3】 本発明の再接続を行う通信端末の構成を示す
図である。
FIG. 3 is a diagram illustrating a configuration of a communication terminal that performs reconnection according to the present invention.

【図4】 通信端末のハンドオーバを説明する図であ
る。
FIG. 4 is a diagram illustrating handover of a communication terminal.

【図5】 通信端末がセル間を移動するときの通信端末
の切断および再接続処理を示す図である。
FIG. 5 is a diagram illustrating disconnection and reconnection processing of a communication terminal when the communication terminal moves between cells.

【図6】 通信端末とサーバとの接続切断を行う従来の
通信システムの構成を示す図である。
FIG. 6 is a diagram illustrating a configuration of a conventional communication system that disconnects a connection between a communication terminal and a server.

【図7】 従来の通信システムにおける通信端末とサー
バの接続、切断、および再接続を示すフローチャートで
ある。
FIG. 7 is a flowchart showing connection, disconnection, and reconnection of a communication terminal and a server in a conventional communication system.

【図8】 通信システムにおけるTCPコネクションの
接続時および切断時の制御信号を示す図である。
FIG. 8 is a diagram illustrating control signals when a TCP connection is connected and disconnected in a communication system.

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

1・・・通信端末 2・・・交換機 3・・・認証サーバ 4・・・ゲートウエイ 5・・・通信網 6・・・サーバ 11・・・通信アプリケーション 12・・・TCP/IPプロトコル 13・・・PPPプロトコル 14・・・回線接続プロトコル 34・・・通信回路 38・・・RAM 39・・・ROM 43・・・IPアドレス比較回路 44・・・IPアドレス記憶部 DESCRIPTION OF SYMBOLS 1 ... Communication terminal 2 ... Exchanger 3 ... Authentication server 4 ... Gateway 5 ... Communication network 6 ... Server 11 ... Communication application 12 ... TCP / IP protocol 13 ...・ PPP protocol 14 ・ ・ ・ Line connection protocol 34 ・ ・ ・ Communication circuit 38 ・ ・ ・ RAM 39 ・ ・ ・ ROM 43 ・ ・ ・ IP address comparison circuit 44 ・ ・ ・ IP address storage unit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 TCP/IP接続によってデータ通信が
可能な通信端末の再接続方法において、通信が一時的に
切断されたとき、PPPコネクションを切断するPPP
切断ステップと、現在使用しているIPアドレスを記憶
するIPアドレス記憶ステップと、TCPコネクション
を保持するTCP保持ステップとを有し、通信の切断が
回復したとき、PPPコネクションを再接続するPPP
再接続ステップと、上記PPP再接続ステップによって
得られたIPアドレスが、上記IPアドレス記憶ステッ
プによって記憶されたIPアドレスと同一か否かを比較
する比較ステップと、上記比較ステップにおいて、上記
PPP再接続ステップによって得られたIPアドレス
が、上記IPアドレス記憶ステップによって記憶された
IPアドレスと同一か否かを比較する比較ステップと、
同一と判断された場合には、上記TCP保持ステップで
保持しているTCPコネクションを再利用するTCP再
利用ステップとを有することを特徴とする通信端末の再
接続方法。
1. A method for reconnecting a communication terminal capable of performing data communication through a TCP / IP connection, wherein the PPP connection is disconnected when the communication is temporarily disconnected.
A disconnection step, an IP address storage step for storing the currently used IP address, and a TCP holding step for holding a TCP connection, and a PPP for reconnecting the PPP connection when communication is restored
A reconnection step, a comparison step of comparing whether an IP address obtained in the PPP reconnection step is the same as the IP address stored in the IP address storage step, and a step of comparing the PPP connection in the comparison step. A comparing step of comparing whether the IP address obtained in the step is the same as the IP address stored in the IP address storing step,
A TCP reuse step of reusing the TCP connection held in the TCP holding step when it is determined that they are the same, a communication terminal reconnection method.
【請求項2】 上記比較ステップにおいて、上記PPP
再接続ステップによって得られたIPアドレスが、上記
IPアドレス記憶ステップによって記憶されたIPアド
レスと同一でないと判断された場合には、さらに、上記
TCP保持ステップで保持しているTCPコネクション
を切断するTCP切断ステップと、上記PPP再接続ス
テップによって得られたIPアドレスに基づいて再度T
CPコネクションを構築するTCP再構築ステップとを
有することを特徴とする請求項1記載の通信端末の再接
続方法。
2. In the comparing step, the PPP
If it is determined that the IP address obtained in the reconnecting step is not the same as the IP address stored in the IP address storing step, the TCP further disconnects the TCP connection held in the TCP holding step. A disconnection step and a re-execution of T based on the IP address obtained by the PPP reconnection step
2. The method according to claim 1, further comprising a TCP reestablishment step of establishing a CP connection.
【請求項3】 TCP/IP接続によってデータ通信が
可能な通信端末において、通信が一時的に切断されたと
き、PPPコネクションを切断するPPP切断手段と、
現在使用しているIPアドレスを記憶するIPアドレス
記憶手段と、TCPコネクションを保持するTCP保持
手段とを有し、通信の切断が回復したとき、PPPコネ
クションを再接続するPPP再接続手段と、上記PPP
再接続手段によって得られたIPアドレスが、上記IP
アドレス記憶手段によって記憶されたIPアドレスと同
一か否かを比較する比較手段と、上記比較手段におい
て、上記PPP再接続手段によって得られたIPアドレ
スが、上記IPアドレス記憶手段によって記憶されたI
Pアドレスと同一か否かを比較する比較手段と、同一と
判断された場合には、上記TCP保持手段で保持してい
るTCPコネクションを再利用するTCP再利用手段と
を有することを特徴とする通信端末。
3. A communication terminal capable of data communication through a TCP / IP connection, a PPP disconnection means for disconnecting the PPP connection when the communication is temporarily disconnected,
An IP address storage unit for storing an IP address currently used, a TCP holding unit for holding a TCP connection, and a PPP reconnecting unit for reconnecting the PPP connection when the disconnection of the communication is restored; PPP
The IP address obtained by the reconnection means is
Comparing means for comparing whether or not the IP address is the same as the IP address stored by the address storing means; and in the comparing means, the IP address obtained by the PPP reconnecting means is stored in the IP address stored by the IP address storing means.
It has a comparing means for comparing whether or not it is the same as the P address, and a TCP reusing means for reusing the TCP connection held by the TCP holding means when it is determined that the P address is the same. Communication terminal.
【請求項4】 上記比較出手段において、上記PPP再
接続手段によって得られたIPアドレスが、上記IPア
ドレス記憶手段によって記憶されたIPアドレスと同一
でないと判断された場合には、さらに、上記TCP保持
手段で保持しているTCPコネクションを切断するTC
P切断手段と、上記PPP再接続手段によって得られた
IPアドレスに基づいて再度TCPコネクションを構築
するTCP再構築手段とを有することを特徴とする請求
項3記載の通信端末。
4. If the comparing means determines that the IP address obtained by the PPP reconnecting means is not the same as the IP address stored by the IP address storing means, the TCP further comprises TC for disconnecting the TCP connection held by the holding means
4. The communication terminal according to claim 3, further comprising: P disconnection means; and TCP reconstructing means for reconstructing a TCP connection based on the IP address obtained by said PPP reconnecting means.
JP2001177117A 2001-06-12 2001-06-12 Communication terminal and method for reconnecting communication terminal Pending JP2002368778A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001177117A JP2002368778A (en) 2001-06-12 2001-06-12 Communication terminal and method for reconnecting communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001177117A JP2002368778A (en) 2001-06-12 2001-06-12 Communication terminal and method for reconnecting communication terminal

Publications (1)

Publication Number Publication Date
JP2002368778A true JP2002368778A (en) 2002-12-20

Family

ID=19018011

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001177117A Pending JP2002368778A (en) 2001-06-12 2001-06-12 Communication terminal and method for reconnecting communication terminal

Country Status (1)

Country Link
JP (1) JP2002368778A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007336247A (en) * 2006-06-15 2007-12-27 Oki Electric Ind Co Ltd Voip network system for performing packet communication by multicast and its constructing method
WO2015184656A1 (en) * 2014-01-17 2015-12-10 中兴通讯股份有限公司 Connection method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61292444A (en) * 1985-06-20 1986-12-23 Fujitsu Ltd Communication control system
JPH08298535A (en) * 1995-04-27 1996-11-12 Nec Corp Osi communication system
WO1997033387A1 (en) * 1996-03-07 1997-09-12 Ntt Mobile Communications Network Inc. Data relay transmitter, data transmission system, and data transmitting method
JP2000151749A (en) * 1998-11-12 2000-05-30 Ntt Mobil Communication Network Inc Communication control method, device for the same, storage medium and data terminal
JP2000242589A (en) * 1999-02-25 2000-09-08 Mitsubishi Electric Corp Computer system for control of transfer of data
JP2000307650A (en) * 1999-04-20 2000-11-02 Fujitsu Ltd Data communication system and recording medium
JP2001016253A (en) * 1999-06-29 2001-01-19 Hitachi Ltd Method for interrupting remaining tcp connection
JP2001077855A (en) * 1999-09-06 2001-03-23 Canon Inc Device, system, and method for information processing, and storage medium storing information processing program
JP2001217898A (en) * 2000-02-02 2001-08-10 Nec Corp Connection controller, connection control method, recording medium recording connection control program and data communication system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61292444A (en) * 1985-06-20 1986-12-23 Fujitsu Ltd Communication control system
JPH08298535A (en) * 1995-04-27 1996-11-12 Nec Corp Osi communication system
WO1997033387A1 (en) * 1996-03-07 1997-09-12 Ntt Mobile Communications Network Inc. Data relay transmitter, data transmission system, and data transmitting method
JP2000151749A (en) * 1998-11-12 2000-05-30 Ntt Mobil Communication Network Inc Communication control method, device for the same, storage medium and data terminal
JP2000242589A (en) * 1999-02-25 2000-09-08 Mitsubishi Electric Corp Computer system for control of transfer of data
JP2000307650A (en) * 1999-04-20 2000-11-02 Fujitsu Ltd Data communication system and recording medium
JP2001016253A (en) * 1999-06-29 2001-01-19 Hitachi Ltd Method for interrupting remaining tcp connection
JP2001077855A (en) * 1999-09-06 2001-03-23 Canon Inc Device, system, and method for information processing, and storage medium storing information processing program
JP2001217898A (en) * 2000-02-02 2001-08-10 Nec Corp Connection controller, connection control method, recording medium recording connection control program and data communication system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007336247A (en) * 2006-06-15 2007-12-27 Oki Electric Ind Co Ltd Voip network system for performing packet communication by multicast and its constructing method
JP4520432B2 (en) * 2006-06-15 2010-08-04 Okiセミコンダクタ株式会社 VoIP network system for packet communication by multicast and its construction method
WO2015184656A1 (en) * 2014-01-17 2015-12-10 中兴通讯股份有限公司 Connection method and device

Similar Documents

Publication Publication Date Title
US8868082B2 (en) Adjusting coverage regions of wireless access points serving as handoff indication mechanism in wireless local area networks
CN100380361C (en) Method and apparatus for effecting a handoff between two IP connections for time critical communications
EP1527635B1 (en) Method and apparatus for reestablishing a data connection with a wireless communication network
US20150201440A1 (en) BLUETOOTH Device Connection Method and Device
US20030114107A1 (en) Wireless communication apparatus
KR100511675B1 (en) method for processing a dual mode call of the mobile communication terminal using a dual mode
US6990349B1 (en) System and method for reconnecting a mobile station to an emergency operator
CN101610533B (en) Method and device for realizing backup switching of access controller
WO2012083820A1 (en) Short-range wireless mobile terminal method and system
JP2002335345A (en) Communication system
US20080014926A1 (en) Mobile communication terminal and call handover method
JP2007143038A (en) Wireless terminal having wireless telephone function and ip telephone function, and roaming method between public wireless line and wireless local area network
JP2001258068A (en) Mobile communication terminal and its control method
EP1192827A1 (en) SELECTIVELY FRAMING AND UNFRAMING PPP PACKETS DEPENDING ON NEGOTIATED OPTIONS ON THE U m? AND R m? INTERFACES
JP2002368778A (en) Communication terminal and method for reconnecting communication terminal
CA2630390C (en) Adaptive beamforming configuration methods and apparatus for wireless access points serving as handoff indication mechanisms in wireless local area networks
JP2004336256A (en) Data communication system
JP2005094138A (en) Mobile terminal, communication system, protocol terminator, and communication control method
JP4030271B2 (en) Mobile communication terminal
JPH10178462A (en) Radio data communication system
JP2001036460A (en) Radio data communication equipment and radio data communication method
KR20040042282A (en) Communication protocol session shareing method for mobile terminal
CN107509218A (en) A kind of information transferring method, device and wireless communication system
CN114071589B (en) Link switching indication method, device, apparatus and storage medium
KR101732513B1 (en) Apparatus and method for supporting handoff between heterogeneous communication in portable terminal

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20050401

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20050408

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080307

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100302

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100423

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100831