JPH1132084A - Communication connection control system - Google Patents
Communication connection control systemInfo
- Publication number
- JPH1132084A JPH1132084A JP9202474A JP20247497A JPH1132084A JP H1132084 A JPH1132084 A JP H1132084A JP 9202474 A JP9202474 A JP 9202474A JP 20247497 A JP20247497 A JP 20247497A JP H1132084 A JPH1132084 A JP H1132084A
- Authority
- JP
- Japan
- Prior art keywords
- connection
- time
- communication
- partner
- request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Telephone Function (AREA)
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、通信接続制御方式
に関し、特に、コンピュータ間の接続用プロトコルとし
て利用されるTCP/IP(Transport Control P
rotocol/Internet Protocol)の接続制御方式に用
いて好適な接続エラーリトライの方式に関する。The present invention relates to a communication connection control method, and more particularly, to a TCP / IP (Transport Control Protocol) used as a connection protocol between computers.
The present invention relates to a connection error retry method suitable for use in a connection control method of an Internet Protocol (Internet Protocol / Internet Protocol).
【0002】[0002]
【従来の技術】従来の通信接続制御方式では、通信接続
エラー時の、接続リトライは、一定時間の間、あるいは
予め定められた一定回数行う方式とされていた。そし
て、予め定めた回数接続リトライを行ってもなお、接続
エラーの時に、上位装置に接続エラーが通知される。2. Description of the Related Art In a conventional communication connection control system, a connection retry in the case of a communication connection error is performed for a predetermined time or a predetermined number of times. Then, even if the connection retry is performed a predetermined number of times, when a connection error occurs, the connection error is notified to the host device.
【0003】なお、この種のリトライ制御として、例え
ば特開平1−206475号公報には、予め設定した回
数を最大として、予め設定されている時間の間、待機し
た後、再度接続動作を行い、予め設定されたリトライ回
数まで接続作業を繰り返す携帯型電子機器が開示されて
いる。[0003] As this kind of retry control, for example, Japanese Patent Laid-Open Publication No. Hei 1-206475 discloses that a predetermined number of times is set to a maximum, a standby is performed for a predetermined time, and a connection operation is performed again. A portable electronic device that repeats a connection operation up to a preset number of retries is disclosed.
【0004】[0004]
【発明が解決しようとする課題】上記した従来の通信接
続制御方式においては、接続エラーを上位モジュールに
通知するまでのターンアラウンドタイムが遅い、という
問題点を有している。The above-mentioned conventional communication connection control method has a problem that a turnaround time until a connection error is notified to an upper module is slow.
【0005】その理由は、短い時間で接続相手または通
信経路に問題があると判断可能な場合でも、一定時間の
間あるいは一定回数の間、接続エラーリトライを行って
いるためである。[0005] The reason is that even if it is possible to determine in a short time that there is a problem with the connection partner or the communication path, the connection error retry is performed for a certain time or a certain number of times.
【0006】したがって、本発明は、上記問題点に鑑み
てなされたものであって、その目的は、接続エラーを上
位モジュールに通知するまでのターンアラウンドタイム
を短縮する、通信接続制御方式を提供することにある。SUMMARY OF THE INVENTION Accordingly, the present invention has been made in view of the above problems, and an object of the present invention is to provide a communication connection control method for shortening a turnaround time until a connection error is notified to an upper module. It is in.
【0007】[0007]
【課題を解決するための手段】前記目的を達成するた
め、本発明の通信接続制御方式は、接続相手との接続成
功時に要した時間(「接続成功時間」という)を接続相
手毎に記憶手段に記憶しておき、前記接続相手に通信接
続要求を送信した後、前記記憶手段に記憶されている前
記接続成功時間から求めた平均時間を予め定めた所定倍
した時間経過しても、なお前記接続相手より応答を受信
しない場合に、上位装置に通信エラーを通知する、こと
を特徴とする。In order to achieve the above object, according to the communication connection control method of the present invention, a time required for successful connection with a connection partner (referred to as "connection success time") is stored for each connection partner. After transmitting a communication connection request to the connection partner, even if a predetermined multiple of the average time obtained from the connection success time stored in the storage means has elapsed, the time has elapsed. When a response is not received from the connection partner, a communication error is notified to the host device.
【0008】また、本発明は、前記接続相手に接続要求
送信時において前記接続相手から応答受信して接続が成
功するまでの時間を計測し、前記接続に要した時間に基
づき、前記記憶手段に記憶される前記接続相手の接続成
功時間を更新する手段を備えた、ことを特徴とする。Further, the present invention measures the time from when a response is received from the connection partner until the connection succeeds when transmitting a connection request to the connection partner, and based on the time required for the connection, the storage means Means for updating the stored connection success time of the connection partner.
【0009】さらに、本発明は、前記記憶手段には前記
接続相手毎に前記接続成功時間の初期値を設定する手段
を備えたことを特徴とする。Further, the present invention is characterized in that the storage means includes means for setting an initial value of the connection success time for each connection partner.
【0010】[0010]
【発明の実施の形態】本発明の実施の形態について以下
に説明する。本発明は、その好ましい実施の形態におい
て、通信接続リクエストを送信する手段(図1の1)
と、通信接続のレスポンスを受信する手段(図1の2)
と、時間計測手段(図1の3)と、接続相手毎の接続成
功時間を記憶する記憶手段(図1の4)と、記憶手段に
格納される接続成功時間の初期値を設定する手段(図1
の5)と、演算手段(図1の6)と、を備え、接続成功
時間初期値設定手段により接続相手毎の接続の成功に要
する初期値を記憶手段に設定しておき、リクエスト送信
手段(図1の1)から通信の接続相手に通信接続リクエ
ストを送信した際に、接続の成功に要した時間を、時間
計測手段(図1の3)で計測して接続相手毎に記憶手段
(図1の4)に記憶し、リクエスト送信手段から通信接
続リクエストを送信後、接続相手に対し接続の成功に要
した時間の平均値の2倍を経過しても、レスポンス受信
手段によりレスポンスを受信できない場合には、上位モ
ジュール(図1の8)に通信エラーを通知する。Embodiments of the present invention will be described below. The present invention, in a preferred embodiment thereof, means for transmitting a communication connection request (1 in FIG. 1)
And means for receiving a communication connection response (2 in FIG. 1)
, Time measuring means (3 in FIG. 1), storage means (4 in FIG. 1) for storing the connection success time for each connection partner, and means for setting the initial value of the connection success time stored in the storage means (4). FIG.
5) and arithmetic means (6 in FIG. 1), and an initial value required for successful connection for each connection partner is set in the storage means by the connection success time initial value setting means, and the request transmission means ( When a communication connection request is transmitted from 1) in FIG. 1 to a communication partner, the time required for successful connection is measured by a time measuring unit (3 in FIG. 1), and a storage unit (FIG. After the communication connection request is transmitted from the request transmitting unit, the response receiving unit cannot receive a response even if twice the average value of the time required for successful connection has elapsed after transmission of the communication connection request from the request transmitting unit. In this case, a communication error is notified to the upper module (8 in FIG. 1).
【0011】[0011]
【実施例】上記した本発明の実施の形態について更に詳
細に説明すべく、本発明の実施例を図面を参照して以下
に説明する。図1は、本発明の一実施例の構成を示す図
である。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of the present invention; FIG. 1 is a diagram showing the configuration of one embodiment of the present invention.
【0012】図1を参照すると、本発明の一実施例にお
いて、通信接続手段7は、リクエスト送信手段1と、レ
スポンス受信手段2と、時間計測手段3と、記憶手段4
と、接続成功時間初期値設定手段5と、演算手段6と、
を含んで構成されており、演算手段6を介して上位モジ
ュール8とインタフェースを有している。Referring to FIG. 1, in one embodiment of the present invention, communication connection means 7 includes request transmission means 1, response reception means 2, time measurement means 3, and storage means 4.
Connection success time initial value setting means 5, calculation means 6,
, And has an interface with the upper-level module 8 via the arithmetic means 6.
【0013】図2は、本発明の一実施例における演算手
段6における処理フローを示すフローチャートである。FIG. 2 is a flowchart showing a processing flow in the calculating means 6 in one embodiment of the present invention.
【0014】まず演算手段6は、接続成功時間初期値設
定手段5から接続相手毎の接続の成功に要する時間の初
期値を得て記憶手段4に設定する(ステップ11)。First, the calculating means 6 obtains the initial value of the time required for successful connection for each connection partner from the connection success time initial value setting means 5 and sets the initial value in the storage means 4 (step 11).
【0015】次に、処理を終了するか否かを判定し(ス
テップ12)、終了判定の場合、処理を終了する。Next, it is determined whether or not to end the processing (step 12), and when it is determined that the processing is to be ended, the processing is ended.
【0016】ステップ12において終了しないという判
定の場合には、上位モジュール8から通信接続要求があ
るか否か判定する(ステップ13)。上位モジュール8
から通信接続要求がない場合(ステップ13のNo分
岐)、ステップ12に戻り、上位モジュール8から通信
接続要求がある場合(ステップ13のYes分岐)、ス
テップ54にうつる。If it is determined in step 12 that the process is not to be terminated, it is determined whether or not there is a communication connection request from the upper module 8 (step 13). Upper module 8
If there is no communication connection request (No in step 13), the process returns to step 12, and if there is a communication connection request from the upper module 8 (Yes in step 13), the process goes to step 54.
【0017】リクエスト送信手段1により通信接続相手
に対して通信接続リクエストを送信する(ステップ1
4)。The communication connection request is transmitted to the communication connection partner by the request transmission means 1 (step 1).
4).
【0018】次に、レスポンス受信手段2により通信接
続相手からレスポンスを受信したかの判定を行う(ステ
ップ15)。Next, it is determined by the response receiving means 2 whether a response has been received from the communication partner (step 15).
【0019】通信接続相手からレスポンスを受信した場
合、続いて、接続に成功したか否かの判定を行う(ステ
ップ16)。When a response is received from the communication partner, it is determined whether or not the connection has succeeded (step 16).
【0020】接続に失敗した場合(ステップ16のNO
分岐)、上位モジュール8に対し通信接続エラー通知を
行い(ステップ17)、ステップ12に戻る。If the connection fails (NO in step 16)
(Branch), a communication connection error notification is sent to the upper module 8 (step 17), and the process returns to step 12.
【0021】ステップ16における判定がYESの場
合、時間計測手段3により接続の成功に要した時間を得
て、記憶手段4に記憶するとともに、記憶手段4に記録
されている記憶されている接続成功時間から接続成功時
間の平均を計算し(ステップ20)、上位モジュール8
に対し、通信接続の正常終了を通知する(ステップ2
1)。If the determination in step 16 is YES, the time required for successful connection is obtained by the time measuring means 3 and stored in the storage means 4 and the connection success stored in the storage means 4 is stored. The average of the connection success time is calculated from the time (step 20), and the upper module 8
Is notified of the normal end of the communication connection (step 2
1).
【0022】通信接続のレスポンスを受信しない場合
(ステップ15のNo分岐)、続いて当該接続相手の接
続成功時間の平均時間に2倍の時間が経過したか否かを
判定する(ステップ18)。If the response of the communication connection is not received (No branch of step 15), it is determined whether or not twice the average time of the connection success time of the connection partner has elapsed (step 18).
【0023】接続相手の接続成功時間の平均時間に2倍
の時間が経過していない場合には、ステップ55に戻
り、通信接続のレスポンスを受信待ちの状態で、接続相
手の接続成功時間の平均時間に2倍の時間が経過した場
合(ステップ18のYes分岐)、上位モジュール8に
通信接続のエラーの通知を行う(ステップ19)。If twice the average time of the connection success time of the connection partner has not elapsed, the process returns to step 55 and waits for a response of the communication connection, and waits for the average of the connection success time of the connection partner. If twice the time has elapsed (Yes branch of step 18), the upper module 8 is notified of an error in communication connection (step 19).
【0024】本実施例によれば、上位モジュール8に対
して通信接続のエラー通知をするまでのターンアラウン
ドタイムを、当該接続相手の接続成功に要する時間の平
均の2倍にまで短縮することができる。According to the present embodiment, the turnaround time for notifying the upper module 8 of a communication connection error can be reduced to twice the average time required for successful connection of the connection partner. it can.
【0025】[0025]
【発明の効果】以上説明したように、本発明によれば、
上位モジュールに対して通信接続のエラー通知をするま
でのターンアラウンドタイムを、従来技術よりも大幅に
短縮することができる、という効果を奏する。例えば、
本発明によれば、上位モジュールに対して通信接続のエ
ラー通知をするまでのターンアラウンドタイムを、接続
相手の接続成功に要する時間の平均の2倍にまで短縮す
ることができる。As described above, according to the present invention,
This has the effect that the turnaround time required for notifying the higher-level module of a communication connection error can be significantly reduced as compared with the related art. For example,
According to the present invention, it is possible to reduce the turnaround time required for notifying a higher-level module of a communication connection error to twice the average time required for successful connection of a connection partner.
【0026】その理由は、本発明においては、接続成功
時間初期値設定手段により通信の接続相手毎に接続の成
功に要した時間を接続相手毎に記憶手段に記憶してお
き、リクエスト送信手段からリクエストを送信後当該接
続相手に対し接続の成功に要した時間の平均値の例えば
2倍を経過してもレスポンス受信手段によりレスポンス
を受信できない場合は、通信エラーを通知するよう構成
されているためである。The reason for this is that, in the present invention, the time required for successful connection for each communication partner is stored in the storage means by the connection success time initial value setting means, and the time required for connection is stored in the storage means. If a response cannot be received by the response receiving unit even after elapse of, for example, twice the average value of the time required for successful connection to the connection partner after transmitting the request, a communication error is notified. It is.
【図1】本発明の一実施例の構成を示す図である。FIG. 1 is a diagram showing a configuration of an embodiment of the present invention.
【図2】本発明の一実施例の処理フローを示すフローチ
ャートである。FIG. 2 is a flowchart illustrating a processing flow according to an embodiment of the present invention.
1 リクエスト送信手投 2 レスポンス受信手段 3 時間計測手段 4 記憶手投 5 接続成功時間初期値設定手段 6 演算手段 7 通信制御手段 8 上位モジュール 51〜72 処理ステップ DESCRIPTION OF REFERENCE NUMERALS 1 Request sending throw 2 Response receiving means 3 Time measuring means 4 Memory throwing 5 Connection success time initial value setting means 6 Computing means 7 Communication control means 8 Upper module 51-72 Processing steps
Claims (5)
(「接続成功時間」という)を接続相手毎に記憶手段に
記憶しておき、 前記接続相手に通信接続要求を送信した後、前記記憶手
段に記憶されている前記接続成功時間から求めた平均時
間を予め定めた所定倍した時間経過しても、なお前記接
続相手より応答を受信しない場合に、上位モジュールに
通信エラーを通知する、ことを特徴とする通信接続制御
方式。1. A time required for successful connection with a connection partner (referred to as "connection success time") is stored in a storage unit for each connection partner, and after a communication connection request is transmitted to the connection partner, the storage is performed. Notifying a higher-level module of a communication error when a response has not been received from the connection partner even after a lapse of a predetermined multiple of the average time obtained from the connection success time stored in the means, A communication connection control method characterized by the following.
記接続相手から応答受信して接続が成功するまでの時間
を計測し、前記接続に要した時間に基づき、前記記憶手
段に記憶される前記接続相手の接続成功時間を更新する
手段を備えた、ことを特徴とする請求項1記載の通信接
続制御方式。2. When the connection request is transmitted to the connection partner, a time period from when a response is received from the connection partner until the connection succeeds is measured, and the time stored in the storage means is stored based on the time required for the connection. 2. The communication connection control method according to claim 1, further comprising means for updating a connection success time of a connection partner.
続成功時間の初期値を設定する手段を備えたことを特徴
とする請求項1記載の通信接続制御方式。3. The communication connection control method according to claim 1, wherein said storage means includes means for setting an initial value of the connection success time for each connection partner.
方式であって、 リクエスト送信手段と、 レスポンス受信手段と、 時間計測手段と、 記憶手段と、 接続成功時間初期値設定手段と、 演算手段と、 を有し、 前記接続成功時間初期値設定手段により接続相手毎の接
続の成功に要する初期値を前記記憶手段に設定してお
き、 前記リクエスト送信手段から通信の接続相手に通信接続
リクエストを送信した際に、接続の成功に要した時間
を、前記時間計測手段で計測して接続相手毎に前記記憶
手段に記憶し、 前記リクエスト送信手段から通信接続リクエストを送信
後、前記接続相手に対し接続の成功に要した時間の平均
値の所定倍を経過しても、前記レスポンス受信手段によ
りレスポンスを受信できない場合は、通信エラーを通知
する、ことを特徴とする通信接続制御方式。4. A communication control method in a TCP / IP protocol, comprising: a request transmitting unit, a response receiving unit, a time measuring unit, a storage unit, a connection success time initial value setting unit, and an arithmetic unit. The connection success time initial value setting means sets an initial value required for successful connection for each connection partner in the storage means, and transmits a communication connection request to the communication connection partner from the request transmission means. The time required for successful connection is measured by the time measurement means and stored in the storage means for each connection partner. After transmitting a communication connection request from the request transmission means, the connection to the connection partner is successfully completed. If a response cannot be received by the response receiving unit even after a predetermined multiple of the average value of the time required for the communication has elapsed, a communication error is notified. A communication connection control method characterized by the following.
エストを送信後、前記接続相手に対し接続の成功に要し
た時間の平均値の2倍を経過しても、前記レスポンス受
信手段によりレスポンスを受信できない場合は、上位モ
ジュールに通信エラーを通知する、ことを特徴とする請
求項4記載の通信接続制御方式。5. A response cannot be received by the response receiving means even if twice the average value of the time required for successful connection to the connection partner has elapsed after transmitting the communication connection request from the request transmitting means. 5. The communication connection control method according to claim 4, wherein in the case, a communication error is notified to an upper module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9202474A JPH1132084A (en) | 1997-07-11 | 1997-07-11 | Communication connection control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9202474A JPH1132084A (en) | 1997-07-11 | 1997-07-11 | Communication connection control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH1132084A true JPH1132084A (en) | 1999-02-02 |
Family
ID=16458125
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9202474A Pending JPH1132084A (en) | 1997-07-11 | 1997-07-11 | Communication connection control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH1132084A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7532577B2 (en) | 2004-02-13 | 2009-05-12 | Samsung Electronics Co., Ltd. | Managing transmission control protocol (TCP) connections |
JP2017097764A (en) * | 2015-11-27 | 2017-06-01 | 京セラドキュメントソリューションズ株式会社 | Electronic apparatus, session continuation determination program, and data transmission/reception system |
US12011737B2 (en) | 2018-06-29 | 2024-06-18 | Seiren Co., Ltd | Printed matter, gloss imparting method, and method for manufacturing printed matter |
-
1997
- 1997-07-11 JP JP9202474A patent/JPH1132084A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7532577B2 (en) | 2004-02-13 | 2009-05-12 | Samsung Electronics Co., Ltd. | Managing transmission control protocol (TCP) connections |
JP2017097764A (en) * | 2015-11-27 | 2017-06-01 | 京セラドキュメントソリューションズ株式会社 | Electronic apparatus, session continuation determination program, and data transmission/reception system |
US12011737B2 (en) | 2018-06-29 | 2024-06-18 | Seiren Co., Ltd | Printed matter, gloss imparting method, and method for manufacturing printed matter |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2007526666A (en) | System and method for providing notification to a remote device | |
EP1423791A2 (en) | Block data storage within a computer network | |
AU2002322624A1 (en) | Block data storage within a computer network | |
EP1351473B1 (en) | Software upgrade method for a switching device in a two-layer network environment | |
JPH10111856A (en) | Data providing device, terminal equipment to be connected thereto and program storage medium | |
JP3420006B2 (en) | Data transmission device and communication system using the same | |
CN110060124A (en) | Order processing method, apparatus, storage medium and electronic equipment | |
JP3507824B2 (en) | Data transmission device and data transmission method | |
JPH1132084A (en) | Communication connection control system | |
JP3945390B2 (en) | Network device control system, server, and transmission control method | |
JP2002185552A (en) | Communication processor and communication processing method | |
EP1076438A2 (en) | Log-in device and logged-in device | |
JP2020013324A (en) | Settlement system, settlement terminal, service provider terminal, user terminal, information processing method, and program | |
JPH06290144A (en) | Receiving buffer controller | |
JPH08287020A (en) | Time adjusting device for distributed system | |
CN116233898A (en) | Data transmission method and device based on microwave equipment, storage medium and electronic equipment | |
KR100319480B1 (en) | Radio communication method between meter and hand terminal in the hand terminal | |
JP2713271B2 (en) | Transport communication control method | |
JPS6196849A (en) | Transmission system control system | |
WO2002076046A2 (en) | System for and method of temporarily storing data for later forwarding | |
JPS6130842A (en) | Communication terminal equipment | |
JP2513261B2 (en) | Terminal attribute determination control method | |
KR100794415B1 (en) | TCP disconnecting system and method be able to reduce exhaustion of mobile resources | |
JPH1115670A (en) | Down-load method for program data | |
JP2676609B2 (en) | Data transmission method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20010703 |