JP2009164758A - Communication system, communication terminal, and network switching method - Google Patents
Communication system, communication terminal, and network switching method Download PDFInfo
- Publication number
- JP2009164758A JP2009164758A JP2007340089A JP2007340089A JP2009164758A JP 2009164758 A JP2009164758 A JP 2009164758A JP 2007340089 A JP2007340089 A JP 2007340089A JP 2007340089 A JP2007340089 A JP 2007340089A JP 2009164758 A JP2009164758 A JP 2009164758A
- Authority
- JP
- Japan
- Prior art keywords
- network
- isdn
- data
- host system
- transmission data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
本発明は通信システムと通信端末、及びネットワーク切り替え方法に係わり、特に、ネットワーク切り替え機能を有する通信システムと通信端末、及びこれらに用いるネットワーク切り替え方法に関する。 The present invention relates to a communication system, a communication terminal, and a network switching method, and more particularly, to a communication system and a communication terminal having a network switching function, and a network switching method used therefor.
オンライン決済処理はこれまで、公衆電話回線あるいはISDN回線(Bchダイヤルアップ/Dchパケット)において実施されてきた。 Until now, online payment processing has been carried out on public telephone lines or ISDN lines (Bch dial-up / Dch packets).
この場合、Dchパケットを利用する場合が一番安価で1回の処理を数パケットで実施できるため、2〜3円となる。 In this case, the use of a Dch packet is the cheapest and one processing can be performed with several packets, so it costs 2-3 yen.
公衆回線、あるいはISDN回線上のBchダイヤルアップ接続では、距離による課金と通話時間によって最低でも10円前後の通話料金が必要となる。 For Bch dial-up connection on public lines or ISDN lines, a call charge of around 10 yen is required at a minimum depending on the billing by distance and call time.
ADSL、光ファイバーを利用した定額なブロードバンド接続が主流となりつつある現在、他の用途で導入する定額IPネットワーク接続をオンライン決済処理でも利用することで、さらにオンライン決済処理にかかる費用を低減できる可能性がでてきている。 A flat-rate broadband connection using ADSL and optical fiber is becoming mainstream, and the use of a flat-rate IP network connection introduced for other purposes in online payment processing can further reduce the cost of online payment processing. Is coming out.
このようにしてTCP/IPを利用してIP-VPN接続などのセキュリティを重視したネットワーク上でオンライン決済処理を実施する動きが高まってきている。 In this way, there is a growing movement to implement online payment processing on networks that emphasize security such as IP-VPN connections using TCP / IP.
しかし、現状では通信事業者の局からの距離に通信品質が依存するADSL接続や、日本全国に配備中の光ファイバー接続を利用したIPネットワークはISDN回線ほどの信頼性を確保できていないといえる。 However, at present, it can be said that the ADSL connection, whose communication quality depends on the distance from the carrier's station, and the IP network using the optical fiber connection currently deployed throughout Japan, are not as reliable as the ISDN line.
本発明に関連する技術としては、特許文献1に、ネットワークコントローラが、第1のネットワークで障害が発生したと判定した場合に、第2のネットワークに切り替え、復旧した場合は第1のネットワークに切り替えることの記載がある。また、特許文献2には、端末がIPパケットを送信し、ルータがDチャネルパケットに変換してホストシステムに送信し、ホストシステムからの回答用DチャネルパケットをルータがIPパケットに変換して端末に転送することの記載がある。
オンライン決済処理では、ブロードバンド回線、ISDN回線、公衆電話回線等をネットワークインフラとして利用しているが回線障害等でオンライン決済処理が困難となった場合に、回線障害が復旧するまで代替手段がなかった。 In online payment processing, broadband line, ISDN line, public telephone line, etc. are used as network infrastructure, but when online payment processing becomes difficult due to line failure, there was no alternative until line failure was recovered .
本発明の通信システムは、少なくとも二つのネットワークで、通信端末とホストシステムとの間が接続される通信システムにおいて、
前記通信端末は、
一のネットワークを介して前記ホストシステム宛に送信した送信データと、前記一のネットワークを介して前記ホストシステムが返信した応答データとを比較する比較手段と、
前記送信データと前記応答データとが不一致の場合又は前記応答データを受信しない場合は他のネットワークに切り替える制御手段と、を備えたことを特徴とする。
The communication system of the present invention is a communication system in which a communication terminal and a host system are connected by at least two networks.
The communication terminal is
Comparing means for comparing transmission data transmitted to the host system via one network and response data returned by the host system via the one network;
And control means for switching to another network when the transmission data and the response data do not match or when the response data is not received.
本発明のネットワーク切り替え方法は、少なくとも二つのネットワークで、通信端末とホストシステムとの間が接続される通信システムのネットワーク切り替え方法において、
前記通信端末は、
一のネットワークを介して前記ホストシステム宛に送信した送信データと、前記一のネットワークを介して前記ホストシステムが返信した応答データとを比較し、
前記送信データと前記応答データとが不一致の場合又は前記応答データを受信しない場合は他のネットワークに切り替えることを特徴とする。
The network switching method of the present invention is a network switching method for a communication system in which a communication terminal and a host system are connected by at least two networks.
The communication terminal is
Comparing the transmission data sent to the host system via one network and the response data returned by the host system via the one network;
When the transmission data and the response data do not match, or when the response data is not received, the network is switched to another network.
本発明の通信端末は、少なくとも二つのネットワークで、ホストシステムと接続される通信端末であって、
一のネットワークを介して前記ホストシステム宛に送信した送信データと、前記一のネットワークを介して前記ホストシステムから受信した応答データとを比較する比較手段と、
前記送信データと前記応答データとが不一致の場合又は前記応答データを受信しない場合は他のネットワークに切り替える制御手段と、を備えたことを特徴とする。
The communication terminal of the present invention is a communication terminal connected to a host system in at least two networks,
Comparison means for comparing transmission data transmitted to the host system via one network and response data received from the host system via the one network;
And control means for switching to another network when the transmission data and the response data do not match or when the response data is not received.
本発明によれば、障害時等の状況で自動あるいは手動でネットワークインフラの切り替えを可能とすることで耐障害性を高めたシステムを提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the system which raised fault tolerance can be provided by enabling switching of a network infrastructure automatically or manually by the situation at the time of a failure.
以下、本発明の実施の形態について図面を用いて詳細に説明する。
(第1の実施形態)
図1はPOS端末を利用したオンライン決済システムの一例を示す図である。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
(First embodiment)
FIG. 1 is a diagram showing an example of an online payment system using a POS terminal.
ブロードバンドルータ103はISDN交換機網109と閉域IP網(IP-VPN)108を収容するルータを選択している。
The
閉域IP網108では、TCP/IPパケットを利用するために定額IP-VPNの契約している。物理的な閉域IP網との接続は、光ファイバーケーブル107を用いる。ISDN交換機網109はDchパケットを利用するためにISDN回線パケット契約をしている。
The closed
通常のオンライン決済処理は、閉域IP網108を利用し、TCP/IPパケットを利用して行う。
Normal online payment processing is performed using the closed
すなわち、通常時では、POS端末101より送信されたTCPパケットはブロードバンドルータ103でルーティングされ、閉域IP網108を展開する通信事業者を経由して、オンライン決済センター(ホストシステムとなる)側のブロードバンドルータ116へルーティングされる。さらにスイッチングHUB120などを経由して、オンライン決済センターホストシステム122へと転送される。この場合、オンライン決済処理における料金は、定額IP-VPNの契約によりオンライン決済処理数(パケット数)に依存しない。
In other words, in normal times, TCP packets transmitted from the
閉域IP網108に障害等発生した場合は、インフラをISDN交換機網109に切り替え、TCP/IPパケットの代わりにDchパケットを利用して、オンライン決済処理を継続可能とする。
When a failure or the like occurs in the closed
すなわち、傷害時には、POS端末101より送信されたTCPパケットは、ブロードバンドルータ103でDchパケットに変換され、ISDN交換機網109を展開する通信事業者を経由してISDN回線収容端末117へ転送される。このISDN回線収容端末117はDchパケットをTCPパケットに変換し、オンライン決済センターホストシステム122へと転送する。この場合、オンライン決済処理における料金は、Dchパケット数による従量課金(1パケットあたり0.4円あるいは0.8円)となる。
That is, at the time of injury, the TCP packet transmitted from the
図15はPOS端末101のネットワーク切替処理に係わる構成部分について売上処理ソフトウエアを例に示す図である。
FIG. 15 is a diagram showing sales processing software as an example of the components related to the network switching processing of the
POS端末101は画面および、キー入力、タッチパネル入力などユーザーインターフェースを持つ端末であり、売上処理ソフトウエア1002においては、ユーザーインターフェース1001から起動される。
The
売上処理1002はISDN通信ライブラリ1004をリンクされたクレジット処理ソフトウエアモジュール1003を内部に処理モジュールとして内包している。クレジット処理ソフトウエアモジュール1003はオンライン決済センター122とデータ通信を行うことを目的として、回線制御ソフトウエア1005を利用するために、ISDN通信ライブラリ1004をリンクしている。回線制御ソフトウエア1005はTCP/IPソケットライブラリ1006をリンクし、TCP/IPプロトコルスタック1007、LANアダプタドライバ1008、LANアダプタ1009を経由してイーサネット(登録商標)LANに接続され、物理的にブロードバンドルータ103とイーサネットLAN上でTCP/IP通信を可能とする。
The
図16は売上処理ソフトウエア1002の処理ルーチンの例として、クレジット処理に関するフローを示している。画面表示、売り上げ入力、及び売上データ作成については説明を省略する。クレジットカードデータをカードリーダなどで、読み取る処理を[カード入力]1101と表現しているが、ここで入力されたクレジットカードデータを元に、[売上要求電文作成]1102が実施され、[売上要求電文]1103がメモリに格納される。
FIG. 16 shows a flow related to credit processing as an example of the processing routine of the
ISDN通信ライブラリであるisdn_call関数を利用して、ホストへ発呼1104が実施され、isdn_sense関数を利用して、回線接続確認をし、isdn_status関数を利用して、データ通信状態確認をし、isdn_send関数に、先の[売上要求電文]1103を指定して[売上要求電文送信]1105が実施される。そして、isdn_receive関数を利用して、売上応答電文受信を行い、クレジット決済がOKならば売上正常で終了する。クレジット決済がNGならば売上異常で終了する(決済拒否)。
The ISDN communication library isdn_call function is used to make a
図17はisdn_call関数の処理フローの概要を示す図である。 FIG. 17 is a diagram showing an outline of the processing flow of the isdn_call function.
[ルータのPORT=30020へ接続]1201を実施することで、ダイヤルアップルータ113から自動的に発呼される仕組みとなっている。
By executing [Connect to PORT = 30020 of router] 1201, the dial-up
[接続OK?]1202で判定され、接続処理が正常であれば、[return OK]1203の結果が呼び出し元に返却される。 [Connection OK?] 1202 determines, and if the connection process is normal, the result of [return OK] 1203 is returned to the caller.
また、接続処理が異常の場合は、[return NG]1204の結果が呼び出し元に返却されることになる。 If the connection process is abnormal, the result of [return NG] 1204 is returned to the caller.
図18は図17のisdn_call関数に回線選択の自動検出機能を加え改良したisdn_call関数を示す図である。 FIG. 18 is a diagram showing an improved isdn_call function obtained by adding an automatic detection function of line selection to the isdn_call function of FIG.
[通常 or 障害]1205は現在の回線選択先を示す内部状態を検出している。 [Normal or failure] 1205 detects an internal state indicating the current line selection destination.
正常時はブロードバンド回線への接続となる、[ルータのPORT=30030へ接続]1201を実施し、[接続OK?]1202の判定がOKとなった場合、[return OK]1203を呼び出し元へ返却する。[接続OK?]1202の判定がNGとなった場合、ブロードバンド回線が使用不能と判定し、[ルータのPORT=30020へ接続]1206を実施し、[接続OK?]1207の判定がOKであれば、内部状態を障害時へと変更し、[return OK]1203を呼び出し元に返却する。[接続OK?]1207の判定がNGであれば、[return NG]1204を呼び出し元へ返却し、内部状態は通常時のまま返却しないものとしている。 If it is normal, it will connect to the broadband line, [Connect to router PORT = 30030] 1201 is executed, and if [Connection OK?] 1202 is OK, [return OK] 1203 is returned to the caller To do. [Connection OK?] If the determination of 1202 is NG, it is determined that the broadband line cannot be used, [Connect to router PORT = 30020] 1206 is executed, and [Connection OK?] 1207 determination is OK. For example, the internal state is changed to the time of failure, and [return OK] 1203 is returned to the caller. If the determination of [Connection OK?] 1207 is NG, [return NG] 1204 is returned to the caller, and the internal state is not returned as normal.
図19はisdn_send関数の処理フローの概要を示す図である。 FIG. 19 is a diagram showing an outline of the processing flow of the isdn_send function.
[ルータへデータ送信]1301にて、呼び出し元から受け取った送信データを送信し、処理結果を[送信OK?]1302で判定し、OKであれば[return OK]1303を呼び出し元へ返却する。[送信OK?]1302で判定し、NGであれば[return NG]1304を返却する。 [Transmission data to router] 1301 transmits the transmission data received from the caller, and the processing result is determined by [transmission OK?] 1302. If OK, [return OK] 1303 is returned to the caller. [Send OK?] Is determined in 1302, and if it is NG, [return NG] 1304 is returned.
図20は図19のisdn_send関数に図18で示したisdn_call関数による再発呼処理を加え、通常時から障害時に自動的にデータの送信先を変更する処理を加え改良したものである。呼び出しもとより要求のあった送信データを[ルータへデータ送信]1301で送信し、[送信OK?]1302で判定がOKの場合、[return OK]1303を呼び出し元へ返却するフローは同様となる。判定結果がNGとなった場合は、さらに[障害 or 通常]1305で判定を実施し、障害時となった場合は、すでに内部状態が障害時に移行しているので、ISDN回線でエラーとなったものとし、[return NG]1304を呼び出しもとに返却する。 FIG. 20 is an improvement of the isdn_send function shown in FIG. 19 by adding the re-call processing by the isdn_call function shown in FIG. 18 and automatically changing the data transmission destination in the event of a failure from the normal time. If the transmission data requested by the caller is transmitted by [data transmission to router] 1301, and the determination is OK by [transmission OK?] 1302, the flow for returning [return OK] 1303 to the caller is the same. When the judgment result is NG, the judgment is further carried out with [Failure or Normal] 1305. When the trouble occurs, the internal state has already shifted to the trouble, so an error occurred on the ISDN line. Assume that [return NG] 1304 is returned to the caller.
[障害 or 通常]1305の判定が通常時の場合は、isdn_call関数を内部で実施する、図18によれば自動的に[ルータのPORT=30020への接続]1206が実施され、障害時に以降し、OKあるいはNGを返却することになる。このisdn_callの戻り値を[OK?]1307で判定し、OKであればisdn_send関数の呼び出し元から要求のあった送信データを[ルータへデータ送信]1308で送信する。[送信OK?]1309でさらに判定し、OKであれば[送信OK?]1302と同様に、[return OK]1303を呼び出し元へ返却する。[送信OK?]1309がNGの場合は、尚、図20のisdn_send関数でのisdn_call関数の再発呼処理は従来のisdn_send関数でもリトライ処理として効果あるが、一般的にこの処理は呼び出しもとで実施されることが多く、isdn_sendに実装されることは少ない。 [Failure or normal] When the determination of 1305 is normal, the isdn_call function is executed internally. According to FIG. 18, [connection of router to PORT = 30020] 1206 is automatically executed. , OK or NG will be returned. The return value of this isdn_call is determined by [OK?] 1307, and if it is OK, the transmission data requested by the caller of the isdn_send function is transmitted by [Data transmission to router] 1308. [Send OK?] 1309 makes a further determination, and if OK, similarly to [Send OK?] 1302, [return OK] 1303 is returned to the caller. When [Send OK?] 1309 is NG, the isdn_call function re-call process in the isdn_send function in FIG. 20 is effective as a retry process in the conventional isdn_send function. Often implemented and rarely implemented in isdn_send.
このように、呼び出しもととなる図15のクレジット処理ソフトウエアモジュール1003などを変更することなく、あるいは軽微な変更で、回線の自動選択方式の導入を可能としている。
In this way, it is possible to introduce an automatic line selection method without changing the credit
以下、ISDN通信ライブラリの関数一覧(概要)を示す。
FRAPI-Aライブラリ
isdn_open ISDN回線制御を開始する
isdn_close ISDN回線制御を終了する
isdn_call ISDN回線で発呼する
isdn_accept ISDN回線に着呼許可する
isdn_response: ISDN回線に着呼する
isdn_release ISDN回線を解放する
isdn_send ISDN回線でデータを送信する
isdn_receive ISDN回線でデータを受信する
isdn_status ISDN回線のレイヤ3ステータス取得する
isdn_sense ISDN回線の回線状態を取得する
(動作の説明)
オンライン決済処理には、カード残高確認処理、カード売上処理、カード入金処理、取消処理などがある。ここでは、通常時のカード残高確認処理、障害時のカード売上処理を例に2つネットワークインフラを利用したデータ交換について説明する。
Below is a list of ISDN communication library functions (outline).
FRAPI-A library
isdn_open Starts ISDN line control
isdn_close End ISDN line control
isdn_call Place a call on an ISDN line
isdn_accept Allows incoming call to ISDN line
isdn_response: Incoming call to ISDN line
isdn_release Releases an ISDN line
isdn_send Sends data via ISDN line
isdn_receive Receive data via ISDN line
isdn_status
isdn_sense Get ISDN line status (Description of operation)
Online payment processing includes card balance confirmation processing, card sales processing, card deposit processing, and cancellation processing. Here, data exchange using two network infrastructures will be described taking a card balance confirmation process at the normal time and a card sales process at the time of failure as examples.
図2はPOS端末101とオンライン決済センター122で交換されるカード残高確認処理201に関わるシーケンスを示している。
FIG. 2 shows a sequence related to the card
通常時のカード残高確認処理201では、
まず、セッション(接続)を確立する為に、POS端末101はTCP-SYN(セッション確立のためのパケット)をブロードバンドルータ103のTCPポート番号30030へ送信する。ブロードバンドルータ103はそのまま、相手側ブロードバンドルータ116に対してTCP-SYN を転送し、オンライン決済センター122へとデータが転送される。この場合のオンライン決済センター122が待ち受けているTCPポート番号も30030となる。オンライン決済センター122は接続可能であれば、TCP-ACK-SYN(セッション確立確認応答のためのパケット)を、ブロードバンドルータ116、103を介して返信する。そして、TCP-ACK-SYN を受信したPOS端末101はTCP-ACK(確認応答のためのパケット)を、ブロードバンドルータ103、116を介して、オンライン決済センター122へ送信する。
In the normal card
First, in order to establish a session (connection), the
セッションが確立されたら、POS端末101はブロードバンドルータ103のTCPポート番号30030へ残高要求電文をデータとして送信する。ブロードバンドルータ103はそのまま、相手側ブロードバンドルータ116に対してTCPパケットを転送し、オンライン決済センター122へとデータが転送される。この場合のオンライン決済センター122が待ち受けているTCPポート番号も30030となる。
When the session is established, the
オンライン決済センター122はネガカードデータ、カード残高データなどをもとに、要求のあったカードに対する残高確認、ネガチェック実施し、カード残高を残高応答電文にセットして返信する。残高応答電文はブロードバンドルータ116、ブロードバンドルータ103を経由して転送され、POS端末101はこの電文を受信する。
The
セッションを切断する場合には、TCP-FIN(セッション終了のためのパケット)を、ブロードバンドルータ103、116を介して、接続先となるオンライン決済センター122へ送信する。オンライン決済センター122は終了を認識し、TCP-ACK-FIN(セッション終了確認応答のためのパケット)を、ブロードバンドルータ116、103を介して返信する。そして、TCP-ACK-FIN を受信したPOS端末101はTCP-ACK(確認応答のためのパケット)を、ブロードバンドルータ103、116を介して、オンライン決済センター122へ送信する。
When the session is disconnected, TCP-FIN (packet for session termination) is transmitted to the
図3はPOS端末101とオンライン決済センター122で交換されるカード売上処理301に関わるシーケンスを示している。
FIG. 3 shows a sequence related to the
障害時のカード売上処理202では、ブロードバンドルータ103のTCPポート番号30020へ、セッションを確立する為に、TCP-SYN(セッション確立のためのパケット)を送信する。ブロードバンドルータ103は、この専用TCPポートで受信したデータをDchパケットで転送するために、ISDN交換機網109へISDN回線収容端末119の電話番号をセットして発呼要求(CRパケット)を送信する。ISDN交換機網109はISDN回線収容端末119へ着呼指示(CNパケット)を送信し、ISDN回線収容端末119はTCP-SYNをオンライン決済センター122へ送信する。オンライン決済センター122は接続可能であれば、TCP-ACK−SYN(セッション確立確認応答のためのパケット)をISDN回線収容端末119へ送信し、ISDN回線収容端末119は着呼確認(CAパケット)をISDN交換機網109へ送信する。ISDN交換機網109はブロードバンドレータ103へ接続完了(CCパケット)を送信する。接続完了(CCパケット)を受信したブロードバンドルータ103は、POS端末101へTCP-ACK−SYNを送信する。TCP-ACK−SYNを受けたPOS端末101はTCP-ACK(確認応答のためのパケット)をブロードバンドルータ103へ送信し、ISDN回線DchのVC接続を確立する。
In the card sales process 202 at the time of failure, TCP-SYN (packet for session establishment) is transmitted to the
VC接続が確立されたら、POS端末101はブロードバンドルータ103のTCPポート番号30020へ売上要求電文(TCPパケット)をデータとして送信する。ブロードバンドルータ103は売上要求電文(DTパケット)をISDN交換機網109を経由してISDN回線収容端末119へ転送する。ISDN回線収容端末119は受信したDTパケットをTCPパケットに変換し、通常時と同様にオンライン決済センター122が待ち受けしているTCPポート番号30030へ送信する。オンライン決済センター122は売上要求電文を受信すると、ネガカードデータ、カード残高データなどをもとに、カードデータおよび売上金額を照合し、売上データを作成して売上応答電文(TCPパケット)をISDN回線収容端末119へ返信する。
When the VC connection is established, the
ISDN回線収容端末119は受信したTCPパケットをDTパケットに変換し売上応答電文(DTパケット)として、ISDN交換機網109を経由しブロードバンドルータ103へ転送する。ブロードバンドルータ103は受信したDTパケットをTCPパケットに変換し、POS端末101へ売上応答電文(TCPパケット)として送信することになる。
The ISDN
VCを切断する場合には、TCP-FIN(VC接続終了のためのパケット)を、ブロードバンドルータ103へ送信する。ブロードバンドルータ103は復旧要求(CQパケット)をISDN交換機網109を送信する。そして、ISDN交換機網109はISDN回線収容端末119へ切断指示(CIパケット)を送信し、ISDN回線収容端末119はTCP-FINをオンライン決済センター122へ送信する。オンライン決済センター122は終了を認識し、TCP-ACK−FIN(VC接続終了確認応答のためのパケット)を、ISDN回線収容端末119へ返信する。ISDN回線収容端末119は復旧確認(CFパケット)をISDN交換機網109を介してブロードバンドルータ103へを送信する。復旧確認(CFパケット)を受信したブロードバンドルータ103は、POS端末101へTCP-ACK−FINを送信する。TCP-ACK−FINを受けたPOS端末101はTCP-ACK(確認応答のためのパケット)をブロードバンドルータ103へ送信する。
When the VC is disconnected, TCP-FIN (packet for VC connection termination) is transmitted to the
上記の方法で述べたように、ブロードバンドルータ103はTCPポート番号30030でデータを受信した場合はTCPパケットを閉域IP網108を経由してオンライン決済センター122へ転送する。
As described in the above method, when the
代替処理では、ブロードバンドルータ103はTCPポート番号30020でデータを受信した場合はTCPパケットをDchパケットに変換しISDN交換機網109を経由してオンライン決済センター122へ転送されることになる。
In the alternative processing, when the
このように、TCPポート番号によって通常時と障害時を区別する仕組みを実現している。 In this way, a mechanism for distinguishing between a normal time and a failure time is realized by the TCP port number.
図4に障害を自動的に検出する傷害検知処理401の機能を示す。
FIG. 4 shows the function of the
POS端末101はインターネット制御通知プロトコルを利用して、ICMPメッセージの送受信で障害を検知する。
The
ここでは、POS端末101のIPアドレスを192.168.0.101、オンライン決済センター122のIPアドレスを192.168.1.101とし、障害検知処理401では、エコー要求通知(ICMPメッセージ)をオンライン決済センター122へ送信する。ブロードバンドルータ103および116はこのICMPメッセージを転送する。エコー要求通知を受信したオンライン決済センター122は受信したデータを設定したエコー応答通知(ICMPメッセージ)を、ブロードバンドルータ116および103を介してPOS端末101へ返信する。このICMPメッセージが正常に転送された場合、POS端末101はこのメッセージ中の受信データとエコー要求通知でセットした送信データを比較し、一致した場合正常と判断する。正常と判断した場合にはインターバルタイマ403が30秒を経過した後に、次の障害検知処理402を行う。
Here, the IP address of the
仮に、受信データが送信データと不一致の場合は障害を検知し、代替処理を行うこととなる。 If the received data does not match the transmitted data, a failure is detected and an alternative process is performed.
障害検知処理402において、POS端末101とオンライン決済センター122の間で何らかの障害が発生した場合、POS端末101は送信したエコー要求通知に対するエコー応答通知を受信できないので、タイムアウトする(図4では10秒後にタイムアウトする)。このタイムアウト発生によって障害検知となり、代替処理を実施する。
In the
障害検知処理はインターバルタイマ403で規定される時間で定期的に実施され、定常的にオンライン決済センター122を監視する。
The failure detection process is periodically performed at a time defined by the
図5に障害復旧を自動的に検出する復旧検知処理501の機能を示す。
FIG. 5 shows the function of the
POS端末101は障害時も図4と同様にインターバルタイマ503の間隔で復旧検知処理501を実施し、エコー要求通知を定期的に送信する。障害時は常に応答待ちタイマはタイムアウトするので継続的に障害は継続することになる。すなわち、障害検知処理501において、POS端末101とオンライン決済センター122の間で何らかの障害が発生した場合、POS端末101は送信したエコー要求通知に対するエコー応答通知を受信できないので、タイムアウトする(図5では10秒後にタイムアウトする)。タイムアウトが発生するとインターバルタイマ403が30秒を経過した後に、次の障害検知処理502を行う。
In the event of a failure, the
POS端末101とオンライン決済センター122の間の障害が復旧した場合、復旧検知処理502によって送信されたエコー要求通知に対するエコー応答通知を受信し、データ比較を行った後一致した場合、復旧検知となり復旧処理が実施される。データ比較を行った後不一致の場合は障害検知となる。
When the failure between the
図4、図5は通常時、障害時の状態の区別を除けば、POS端末101として同様の手順で障害と正常を認識していることになる。
4 and 5, the
このようにPOS端末101はオンライン決済センター122との通信状態の異常を常に監視することによって、その状態をPOS端末画面上に表示することができる。
As described above, the
図6に通常時のPOS端末101の画面を示し、図7に障害時のPOS端末101の画面を示す。
FIG. 6 shows a screen of the
図6はPOS端末101における売上画面の一例であるが、601部分にブロードバンド回線が正常である「BB-OK」を表示している(通常時)。
FIG. 6 is an example of a sales screen in the
図7はブロードバンド回線が障害のため代替処理によって、701部分にISDN回線が選択されていることを示す、「ISDN」を表示している(障害時)。 FIG. 7 displays “ISDN” indicating that the ISDN line is selected in the portion 701 by the substitute processing due to the failure of the broadband line (at the time of failure).
一般的にICMPメッセージを利用したエコー要求通知−エコー応答通知による障害確認は効果的な手法であるが、多大数によるICMPメッセージはインターネット上などで禁止されている場合もある。 In general, failure confirmation by echo request notification-echo response notification using an ICMP message is an effective method, but a large number of ICMP messages may be prohibited on the Internet or the like.
この場合、障害検知ができないため、オンライン決済処理がタイムアウトなどでエラー終了した場合に手動で代替処理を選択するケースも考えられる。 In this case, since failure detection cannot be performed, there is a case where an alternative process is manually selected when the online payment process ends in error due to a timeout or the like.
そのため、POS端末101は通常時のオンライン決済処理が通信エラーとなった場合に手動で代替処理を選択するユーザーインターフェースを備えている。
Therefore, the
この状況を示したPOS端末101の画面を例として図8に示す。
An example of the screen of the
801の「はい(推奨)」ボタンを押下した場合、代替処理が実行される。802の「いいえ」ボタンを押下した場合は、代替処理は実行されない。このようにユーザーは状況に応じてネットワークを自由に選択することができる。 When the “Yes (recommended)” button 801 is pressed, an alternative process is executed. When the “No” button 802 is pressed, the substitution process is not executed. In this way, the user can freely select a network according to the situation.
本実施形態の構成によれば以下の効果を得ることができる。
(1)オンライン決済処理のネットワークインフラを複数収容することで、障害時でもオンライン決済処理を継続利用できる。
(2)自動的に障害を検出することで、オンライン決済処理を継続運用できる。
(3)自動的に復旧を検出することで、通常のオンライン決済処理を履行できる。
(4)適宜手動でネットワークを切り替えることも可能とし、自動的に検出できない障害にも対応できる。
(5)POS画面上などに選択しているネットワーク分類を表示可能とする。
According to the configuration of the present embodiment, the following effects can be obtained.
(1) By accommodating multiple network infrastructures for online payment processing, online payment processing can be used continuously even in the event of a failure.
(2) The online payment process can be continuously operated by automatically detecting a failure.
(3) A normal online payment process can be performed by automatically detecting recovery.
(4) The network can be switched manually as appropriate, and it is possible to deal with failures that cannot be automatically detected.
(5) The selected network classification can be displayed on the POS screen.
(第2の実施形態)
図1に示すブロードバンドルータ103を、図9に示すようにブロードバンドルータ103とダイヤルアップルータ912に分割してもよい。S/W−HUB911はイーサネットHUBとして利用している。
(Second Embodiment)
The
図12はゲートウエイシステムA01による複数端末接続の例をガソリンスタンドのPOSシステムで示している。 FIG. 12 shows an example of connection of a plurality of terminals by the gateway system A01 in a POS system at a gas station.
POS端末101は図9と同様にS/W-HUB A03とイーサネットケーブルによって接続され、ブロードバンドルータ103と接続している。
As in FIG. 9, the
屋外で使用されるPOSに相当する注文機A02(ここでは、外設POST #1〜#n)のいずれもS/W-HUB A03でブロードバンドルータ103に接続されている。オンライン決済を中継するゲートウエイシステムA01も同様にS/W-HUB A03を介してブロードバンドルータ103と接続している。
All of the order machines A02 (here,
オンライン決済処理の通信データは全てゲートウエイシステムA01で変換あるいはルーティングされブロードバンドルータ103を経由して送受信される。
All communication data for online payment processing is converted or routed by the gateway system A01 and transmitted / received via the
図13は通常時のゲートウエイシステムを利用したオンライン決済処理に関連するデータシーケンスとしてカード残高確認処理A21を例に示す。 FIG. 13 shows a card balance confirmation process A21 as an example of a data sequence related to an online payment process using a normal gateway system.
TCPポート番号が30020であることを除いて、POS端末101〜ゲートウエイシステムA01間のデータシーケンスは、図2に示すPOS端末101〜ブロードバンドルータ103間のデータシーケンスと同様の手続きである。例えば、セッション(接続)を確立する為に、POS端末101はTCP-SYN(セッション確立のためのパケット)をゲートウエイシステムA01のTCPポート番号30020へ送信する。TCP-SYNを受信したゲートウエイシステムA01はTCP-SYNをブロードバンドルータ103のTCPポート番号30030へ送信する。
Except that the TCP port number is 30020, the data sequence between the
図14は障害時のゲートウエイシステムを利用したオンライン決済処理に関連するデータシーケンスとしてカード売上処理A31を例に示す。 FIG. 14 shows an example of card sales processing A31 as a data sequence related to online payment processing using the gateway system at the time of failure.
外設POST A02(外設POST #1〜#n)〜ゲートウエイシステムA01間のデータシーケンスは、図3に示すPOS端末101〜ブロードバンドルータ103間のデータシーケンスと同様の手続きである。
The data sequence between the external POST A02 (
POS端末101および外設POST A02は、ゲートウエイシステムA01に対して同一の手順でオンライン決済処理を実現できるため、オンライン処理が通常時であるか障害時であるかを認識する必要がなく自動的にゲートウエイシステムA01によって変換および転送が実施される。
Since the
(第3の実施形態)
図1の閉域IP網108への接続を光ファイバー接続から図10のようにADSLモデム921を利用したADSL接続に変更してもよい。
(Third embodiment)
The connection to the
(第4の実施形態)
図1の閉域IP網(IP-VPN接続)108をプロバイダ地域IP網を経由したインターネット接続にしてもよくこの場合は図11の構成となる。
(Fourth embodiment)
The closed IP network (IP-VPN connection) 108 shown in FIG. 1 may be connected to the Internet via the provider area IP network. In this case, the configuration shown in FIG.
以上説明した各実施形態の構成では、クレジットカード、デビッドカード等を用いたカード決済におけるオンライン決済処理において、2つのネットワークを利用したオンライン決済処理を可能とする機能を有し、障害時等の状況で自動あるいは手動でネットワークインフラの切り替えを可能とすることで耐障害性を高めたシステムを構成することができる。 The configuration of each embodiment described above has a function that enables online payment processing using two networks in online payment processing in card payment using a credit card, David card, etc. By enabling automatic or manual switching of network infrastructure, a system with improved fault tolerance can be configured.
さらに、現在選択されているネットワークをPOS端末画面上に表示することができる。 In addition, the currently selected network can be displayed on the POS terminal screen.
POS端末は専用端末を用いてもよいが、POS機能はコンピュータを用いてソフトウエアによって実現することができる。 Although a dedicated terminal may be used as the POS terminal, the POS function can be realized by software using a computer.
本発明は、小中規模店舗に導入されるPOS端末のオンライン決済処理やオンライン決済用専用端末に用いることができる。 The present invention can be used for an online payment processing of a POS terminal or an online payment dedicated terminal installed in a small to medium-sized store.
101 POS(Point Of Sales)端末
102 イーサネットケーブル
103 ブロードバンドルータ(ダイヤルアップルータ機能あり)
104 電話ケーブル
105 イーサネットケーブル
106 ONU(Optical Network Unit:光終端装置)
107 光ケーブル
108 閉域IP網(IP-VPN網)
109 ISDN交換機網(X.25 Dchパケット網)
110 光ケーブル
111 電話ケーブル
112 ONU(Optical Network Unit:光終端装置)
113 DSU(Digital Service Unit:加入者回線終端装置)
114 光ケーブル
115 ISDNケーブル
116 ブロードバンドルータ
117 ISDN回線収容端末
118 イーサネットケーブル
119 イーサネットケーブル
120 S/W-HUB(スイッチングHUB)
121 イーサネットケーブル
122 オンライン決済センターホストシステム
101 POS (Point Of Sales) terminal 102
104
107
109 ISDN switching network (X.25 Dch packet network)
110
113 DSU (Digital Service Unit)
114 Optical cable 115
121
Claims (6)
前記通信端末は、
一のネットワークを介して前記ホストシステム宛に送信した送信データと、前記一のネットワークを介して前記ホストシステムが返信した応答データとを比較する比較手段と、
前記送信データと前記応答データとが不一致の場合又は前記応答データを受信しない場合は他のネットワークに切り替える制御手段と、を備えたことを特徴とする通信システム。 In a communication system in which a communication terminal and a host system are connected by at least two networks,
The communication terminal is
Comparing means for comparing transmission data transmitted to the host system via one network and response data returned by the host system via the one network;
And a control means for switching to another network when the transmission data does not match the response data or when the response data is not received.
前記通信端末は、前記他のネットワークへ切り替え後に、前記一のネットワークを介して前記ホストシステム宛に送信データを送り、
前記制御手段は、前記比較手段が前記送信データと前記応答データとの一致を検出した場合に、前記一のネットワークに切り替えることを特徴とする通信システム。 The communication system according to claim 1,
The communication terminal, after switching to the other network, sends transmission data to the host system via the one network,
The control means switches to the one network when the comparison means detects a match between the transmission data and the response data.
前記通信端末は、
一のネットワークを介して前記ホストシステム宛に送信した送信データと、前記一のネットワークを介して前記ホストシステムが返信した応答データとを比較し、
前記送信データと前記応答データとが不一致の場合又は前記応答データを受信しない場合は他のネットワークに切り替えることを特徴とするネットワーク切り替え方法。 In a network switching method of a communication system in which a communication terminal and a host system are connected by at least two networks,
The communication terminal is
Comparing the transmission data sent to the host system via one network and the response data returned by the host system via the one network;
A network switching method characterized by switching to another network when the transmission data and the response data do not match or when the response data is not received.
前記通信端末は、前記他のネットワークへ切り替え後に、前記一のネットワークを介して前記ホストシステム宛に送信データを送り、
前記送信データと前記応答データとの一致を検出した場合に、前記一のネットワークに切り替えることを特徴とする通信システム。 In the network switching method according to claim 3,
The communication terminal, after switching to the other network, sends transmission data to the host system via the one network,
A communication system characterized by switching to the one network when a match between the transmission data and the response data is detected.
一のネットワークを介して前記ホストシステム宛に送信した送信データと、前記一のネットワークを介して前記ホストシステムから受信した応答データとを比較する比較手段と、
前記送信データと前記応答データとが不一致の場合又は前記応答データを受信しない場合は他のネットワークに切り替える制御手段と、を備えた通信端末。 A communication terminal connected to a host system in at least two networks,
Comparison means for comparing transmission data transmitted to the host system via one network and response data received from the host system via the one network;
And a control means for switching to another network when the transmission data and the response data do not match or when the response data is not received.
前記制御手段は、前記他のネットワークへ切り替え後に、前記一のネットワークを介して前記ホストシステム宛に送信データを送り、前記比較手段が前記送信データと応答データとの一致を検出した場合に、前記一のネットワークに切り替えることを特徴とする通信端末。 The communication terminal according to claim 5,
The control means sends the transmission data addressed to the host system via the one network after switching to the other network, and when the comparison means detects a match between the transmission data and the response data, A communication terminal characterized by switching to a single network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007340089A JP4569910B2 (en) | 2007-12-28 | 2007-12-28 | Communication system, POS terminal, and network switching method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007340089A JP4569910B2 (en) | 2007-12-28 | 2007-12-28 | Communication system, POS terminal, and network switching method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009164758A true JP2009164758A (en) | 2009-07-23 |
JP4569910B2 JP4569910B2 (en) | 2010-10-27 |
Family
ID=40966883
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007340089A Active JP4569910B2 (en) | 2007-12-28 | 2007-12-28 | Communication system, POS terminal, and network switching method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4569910B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102959900A (en) * | 2011-06-22 | 2013-03-06 | 三菱重工业株式会社 | Remote monitoring device, power generation system, and remote monitoring device control method |
US8977403B2 (en) | 2011-06-22 | 2015-03-10 | Mitsubishi Heavy Industries, Ltd. | Remote monitoring apparatus, wind turbine generator system, and method of controlling remote monitoring apparatus |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001053794A (en) * | 1999-08-09 | 2001-02-23 | Nec Corp | Real time backup communication method for ip communication |
JP2003283543A (en) * | 2002-03-27 | 2003-10-03 | Fujitsu Ltd | Information processing system provided with route switching function in case of fault, and information terminal therefor |
JP2004201246A (en) * | 2002-12-20 | 2004-07-15 | Hitachi Communication Technologies Ltd | Adsl modem with back-up function |
JP2007060586A (en) * | 2005-08-26 | 2007-03-08 | Ntt Fanet Systems Corp | Automatic switching method and system for communication path |
-
2007
- 2007-12-28 JP JP2007340089A patent/JP4569910B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001053794A (en) * | 1999-08-09 | 2001-02-23 | Nec Corp | Real time backup communication method for ip communication |
JP2003283543A (en) * | 2002-03-27 | 2003-10-03 | Fujitsu Ltd | Information processing system provided with route switching function in case of fault, and information terminal therefor |
JP2004201246A (en) * | 2002-12-20 | 2004-07-15 | Hitachi Communication Technologies Ltd | Adsl modem with back-up function |
JP2007060586A (en) * | 2005-08-26 | 2007-03-08 | Ntt Fanet Systems Corp | Automatic switching method and system for communication path |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102959900A (en) * | 2011-06-22 | 2013-03-06 | 三菱重工业株式会社 | Remote monitoring device, power generation system, and remote monitoring device control method |
US8977403B2 (en) | 2011-06-22 | 2015-03-10 | Mitsubishi Heavy Industries, Ltd. | Remote monitoring apparatus, wind turbine generator system, and method of controlling remote monitoring apparatus |
CN102959900B (en) * | 2011-06-22 | 2016-08-03 | 三菱重工业株式会社 | Remote monitoring device, electricity generation system and the control method of remote monitoring device |
Also Published As
Publication number | Publication date |
---|---|
JP4569910B2 (en) | 2010-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7127506B1 (en) | PC configuration fault analysis | |
US20010046212A1 (en) | Communication system, relay apparatus, end system, and communicating method | |
CN101094114A (en) | Method and device for processing bound link | |
JP2005006121A (en) | Ip-pbx backup device, ip-pbx backup system, and method for countermeasure against fault of system | |
JP2001127761A (en) | Communication data confirmation test method in mpls communication system, and router, exchange and communication system utilizing the method | |
CN101355559A (en) | Interface apparatus, main apparatus and control method for use in the interface apparatus | |
JP4569910B2 (en) | Communication system, POS terminal, and network switching method | |
JP2009159322A (en) | Telephone system and its terminal device and method for confirming presence of terminal | |
US20100067372A1 (en) | System and method for using an alternative wire pair for communication on initial wire pair failure | |
JP2000242589A (en) | Computer system for control of transfer of data | |
JP4607710B2 (en) | Communication path automatic switching method and communication path automatic switching system | |
Cisco | Troubleshooting ISDN Connections | |
JP3964589B2 (en) | Information communication system and call control device connection method | |
EP1275221A2 (en) | Pc configuration fault analysis | |
Cisco | Release Notes, Cisco 750 and 760 Series Routers Software Releas | |
Cisco | Release Notes for Cisco 750 Series and Cisco 760 Series Routers Software Release 3.2(2) | |
Cisco | Release Notes for Cisco 750 Series and Cisco 760 Series Routers Software Release 3.2(2) | |
Cisco | Release Notes for Cisco 750 Series and Cisco 760 Series Routers Software Release 3.2(2) | |
Cisco | Release Notes for Cisco 750 Series and Cisco 760 Series Routers Software Release 3.2(2) | |
Cisco | Release Notes for Cisco 750 Series and Cisco 760 Series Routers Software Release 3.2(2) | |
Cisco | Release Notes for Cisco 750 Series and Cisco 760 Series Routers Software Release 3.2(2) | |
Cisco | Release Notes for Cisco 750 Series and Cisco 760 Series Routers Software Release 3.2(2) | |
Cisco | Release Notes for Cisco 760 Series Routers Software Release 3.2(5) | |
Cisco | Release Notes for Cisco 750 Series and Cisco 760 Series Routers Software Release 3.2(4) | |
Cisco | Release Notes for Cisco 750 Series and Cisco 760 Series Routers Software Release 3.2(4) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091013 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091020 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091221 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100317 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100610 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20100624 |
|
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: 20100716 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100802 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130820 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4569910 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |