JP2009284206A - Connection device for communications equipment - Google Patents

Connection device for communications equipment Download PDF

Info

Publication number
JP2009284206A
JP2009284206A JP2008134035A JP2008134035A JP2009284206A JP 2009284206 A JP2009284206 A JP 2009284206A JP 2008134035 A JP2008134035 A JP 2008134035A JP 2008134035 A JP2008134035 A JP 2008134035A JP 2009284206 A JP2009284206 A JP 2009284206A
Authority
JP
Japan
Prior art keywords
communication
connection
packet
address
communication module
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
JP2008134035A
Other languages
Japanese (ja)
Inventor
Hiroaki Saito
弘明 斉藤
Masato Yoshii
正人 吉井
Masakazu Suga
正和 須賀
Wataru Iwasaki
渉 岩崎
Takahiro Ikeda
貴大 池田
Tetsuya Mashita
哲哉 真下
Munenori Fukamachi
宗徳 深町
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.)
Sanden Corp
Original Assignee
Sanden 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 Sanden Corp filed Critical Sanden Corp
Priority to JP2008134035A priority Critical patent/JP2009284206A/en
Publication of JP2009284206A publication Critical patent/JP2009284206A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a connection device for communications equipment capable of utilizing a plurality of host devices at low cost. <P>SOLUTION: In the connection devices 1 and 1' for connecting the host devices 10 and 10' and a communication module 20, the respective connection devices 1 and 1' are connected via a private branch LAN 70, and the communication module 20 is connected only to one connection device 1. The connection devices 1 and 1' are provided with a route control part 120 for distributing IP packets received from the communication module 20 to the host devices 10 and 10' which are connected to themselves or to the other connection devices 1' and 1 which are connected via the private branch LAN 70. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、自動販売機の販売情報収集などのテレメトリングの分野や移動体への交通情報配信などのテレマティクスの分野などで用いられる通信機器と、該通信機器を用いる上位装置とを接続する接続装置に関する。   The present invention relates to a connection for connecting a communication device used in the field of telemetering such as collection of sales information of vending machines and the field of telematics such as distribution of traffic information to a mobile body, and a host device using the communication device. Relates to the device.

近年、無線パケット通信網を介して情報の収集や配信等を行うテレメトリングやテレマティクスが普及してきている。テレメトリングとは、元来は、通信回線を使って計量器の計量値を読み出す仕組みのことの総称であった。しかし、近年は、一般的に、データの読み取りだけでなく、機器の動作監視や遠隔制御にも用いる用語である。テレメトリングの代表的な例としては、自動販売機の販売管理システム,ガス・水道などの使用量管理システム、無人駐車場における管理システムなどが挙げられる。自動販売機の販売管理システムについては特許文献1を参照されたい。また、テレマティクスとは、自動車などの移動体に通信システムを組み合わせてリアルタイムに情報サービスを提供することを意味する。テレマティクスの代表的な例としては、自動車に設置した端末に交通情報やナビゲーション情報をリアルタイムに提供する車載情報システムなどが挙げられる。   In recent years, telemetering and telematics for collecting and distributing information via a wireless packet communication network have become widespread. Telemetering was originally a general term for a mechanism for reading out the measurement value of a measuring instrument using a communication line. However, in recent years, the term is generally used not only for reading data but also for monitoring the operation of devices and for remote control. Representative examples of telemetering include a vending machine sales management system, a usage management system for gas and water, a management system in an unmanned parking lot, and the like. For the sales management system of the vending machine, refer to Patent Document 1. Telematics means providing information services in real time by combining a communication system with a mobile body such as an automobile. A typical example of telematics is an in-vehicle information system that provides traffic information and navigation information in real time to a terminal installed in a car.

このような分野においては、遠隔地において無線パケット通信網に接続するための通信機器と該通信機器を用いる上位装置とを配置している。前記上位装置はデータ端末装置(DTE:Data Terminal Equipment)に相当する。また、前記通信機器はデータ通信装置(DCE:Data Circuit-terminating Equipment)に相当する。   In such a field, a communication device for connecting to a wireless packet communication network in a remote place and a host device using the communication device are arranged. The host device corresponds to a data terminal equipment (DTE). The communication device corresponds to a data communication device (DCE: Data Circuit-terminating Equipment).

例えば、自動販売機の販売管理システムにおいては、販売制御や庫内の温度制御を行う制御装置が上位装置に相当する。各上位装置は、定期的に又は任意時に、通信機器を介して所定のネットワークに接続し、該ネットワークを介して所定の管理コンピュータに接続する。そして、管理コンピュータに接続した上位装置は、種々の管理対象データを送信する。
特開2003−51056号公報
For example, in a sales management system of a vending machine, a control device that performs sales control and temperature control in a warehouse corresponds to a host device. Each upper apparatus connects to a predetermined network via a communication device periodically or at any time, and connects to a predetermined management computer via the network. Then, the host device connected to the management computer transmits various management target data.
JP 2003-51056 A

ところで自動販売機の販売管理システムなどで複数の自動販売機が並設又は比較的近くに設置されていることが多々ある。このような場合、従来のシステムでは、各自動販売機にそれぞれ通信機器を設置していた。このため、高価な通信機器を多数必要とするだけでなく、各自動販売機の制御装置(上位装置)がそれぞれ別個に通信を行うので通信コストも高くなるという問題があった。   By the way, there are many cases where a plurality of vending machines are installed side by side or relatively close to each other in a vending machine sales management system or the like. In such a case, in the conventional system, a communication device is installed in each vending machine. For this reason, there is a problem that not only a large number of expensive communication devices are required, but also the control device (host device) of each vending machine performs communication separately, so that the communication cost increases.

本発明は、上記事情に鑑みてなされたものであり、その目的とするところは、低コストで複数の上位装置を利用可能な通信機器用の接続装置を提供することにある。   The present invention has been made in view of the above circumstances, and an object thereof is to provide a connection device for communication equipment that can use a plurality of host devices at low cost.

上記目的を達成するために、本発明は、無線パケット通信網との接続用の通信機器と、該通信機器を介してTCP/IPを用いた通信を行う上位装置とを相互に接続する接続装置であって、通信機器との接続用の第1のインタフェイスと、上位装置との接続用の第2のインタフェイスと、他の接続装置との接続用の第3のインタフェイスと、第1のインタフェイスを介して通信機器から受信したIPパケットを第2のインタフェイスに接続された上位装置又は前記通信インタフェイスを介して接続された他の接続装置に振り分ける経路制御手段とを備えたことを特徴とする。   In order to achieve the above object, the present invention provides a connection device that connects a communication device for connection to a wireless packet communication network and a host device that performs communication using TCP / IP via the communication device. A first interface for connection with a communication device, a second interface for connection with a host device, a third interface for connection with another connection device, and a first interface Route control means for distributing the IP packet received from the communication device via the interface to the upper device connected to the second interface or the other connection device connected via the communication interface It is characterized by.

本発明によれば、複数の上位装置にそれぞれ本願発明に係る接続装置を接続し、複数の接続装置間を第3のインタフェイスを介して接続し、さらに何れか1つの接続装置にのみ通信機器を接続することにより、各上位装置が共通の通信機器を用いた通信が可能となる。これにより通信機器の数及び通信費用を削減することができる。   According to the present invention, the connection device according to the present invention is connected to each of a plurality of higher-level devices, the plurality of connection devices are connected via the third interface, and the communication device is connected to only one of the connection devices. By connecting the two, each host device can communicate using a common communication device. As a result, the number of communication devices and communication costs can be reduced.

本発明の好適な態様の一例としては、前記経路制御手段が、IPパケットのアドレス情報及び該IPパケットに格納されたTCP/UDPパケットのポート番号に基づきIPパケットのアドレス情報を書き換えることを特徴とするものが挙げられる。本発明によれば、通信機器に割り当てられたIPアドレスが1つであってもポート番号に基づき複数の上位装置を識別可能となるので、各上位装置には適切なIPパケットが到達する。したがって、複数の上位装置は共通の通信機器を用いた通信が可能となる。   As an example of a preferred aspect of the present invention, the route control means rewrites the IP packet address information based on the IP packet address information and the port number of the TCP / UDP packet stored in the IP packet. To do. According to the present invention, even if there is only one IP address assigned to a communication device, a plurality of higher-level devices can be identified based on the port number, so that an appropriate IP packet reaches each higher-level device. Therefore, a plurality of higher-level devices can communicate using a common communication device.

また、本発明の他の態様の一例としては、更に、前記上位装置による通信機器を用いた通信を制御する通信制御手段を備えたことを特徴とするものが挙げられる。本発明によれば、通信制御手段に種々の機能を実装することにより拡張性を向上させることができる。例えば、上位装置が対応しているプロトコル・ネットワークサービスと、通信機器が対応しているプロトコル・ネットワークサービスが異なる場合であっても、通信制御手段が該相違を吸収するよう変換処理等を行うことにより、上位装置は該通信機器を用いた通信が可能となる。これにより、上位装置に改造を加えることなく種々の通信機器やネットワークサービスを採用することができる。   Further, as another example of the present invention, there is further provided a communication control means for controlling communication using a communication device by the host device. According to the present invention, expandability can be improved by implementing various functions in the communication control means. For example, even if the protocol / network service supported by the host device is different from the protocol / network service supported by the communication device, the communication control means performs conversion processing to absorb the difference. As a result, the host device can communicate using the communication device. As a result, various communication devices and network services can be employed without modifying the host device.

以上説明したように本発明によれば、複数の上位装置にそれぞれ本願発明に係る接続装置を接続し、複数の接続装置間を第3のインタフェイスを介して接続し、さらに何れか1つの接続装置にのみ通信機器を接続することにより、各上位装置が共通の通信機器を用いた通信が可能となる。これにより通信機器の数及び通信費用を削減することができる。   As described above, according to the present invention, the connection device according to the present invention is connected to each of a plurality of higher-level devices, the plurality of connection devices are connected via the third interface, and any one connection is made. By connecting a communication device only to the device, each higher-level device can communicate using a common communication device. As a result, the number of communication devices and communication costs can be reduced.

本発明の一実施の形態に係る通信機器用の接続装置について図面を参照して説明する。まず、本発明に係る接続装置を用いた通信システムについて図面を参照して説明する。図1は本発明に係る通信システムを用いたテレメトリングシステムの構成図である。   A connection device for a communication device according to an embodiment of the present invention will be described with reference to the drawings. First, a communication system using the connection device according to the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram of a telemetering system using a communication system according to the present invention.

本システムは、図1に示すように、複数の上位装置10,10’と企業内LAN50とを無線パケット通信網40を介して接続したネットワーク環境を提供する。上位装置10,10’の例としては、それぞれ自動販売機の制御装置が挙げられる。各上位装置10,10’には本発明に係る接続装置1,1’が接続されている。また、各接続装置1,1’は構内LAN70を介して通信可能に接続されている。さらに、複数の接続装置1,1’のうち1つの接続装置1のみに、通信モジュール20が内蔵されている。本発明に係る接続装置1,1’は、各上位装置10,10’が共通の1つの通信モジュール20を用いて、企業内LAN50内の端末(図1の例では管理用コンピュータ51)と通信可能とすることを第1の目的としている。   As shown in FIG. 1, this system provides a network environment in which a plurality of higher-level devices 10 and 10 ′ and an in-house LAN 50 are connected via a wireless packet communication network 40. Examples of the host devices 10 and 10 'are vending machine control devices. Connected to each higher level device 10, 10 'is a connection device 1, 1' according to the present invention. Each of the connection devices 1 and 1 ′ is connected to be communicable via the local area LAN 70. Furthermore, the communication module 20 is built in only one connection device 1 among the plurality of connection devices 1 and 1 ′. The connection device 1, 1 ′ according to the present invention communicates with a terminal (management computer 51 in the example of FIG. 1) in the corporate LAN 50, using a single communication module 20 common to the host devices 10, 10 ′. The first purpose is to make it possible.

また、本システムでは、上位装置10や企業内LAN50内の端末(図1の例では管理用コンピュータ51)は、固定的にIPアドレスを付与するネットワーク接続サービス用に設定されているとする。一方、無線パケット通信網40では動的にIPアドレスを付与するネットワークサービスを提供しているとする。本発明では、上位装置10,10’と通信モジュール20の間に接続装置1,1’を介在させ、この接続装置1,1’によりネットワーク環境の相違を吸収させている。   In this system, it is assumed that the host device 10 and the terminal in the corporate LAN 50 (the management computer 51 in the example of FIG. 1) are set for a network connection service that gives a fixed IP address. On the other hand, it is assumed that the wireless packet communication network 40 provides a network service that dynamically assigns an IP address. In the present invention, the connection devices 1 and 1 ′ are interposed between the host devices 10 and 10 ′ and the communication module 20, and the connection devices 1 and 1 ′ absorb differences in the network environment.

上位装置10,10’は、データ端末装置(DTE:Data Terminal Equipment)に相当する。この上位装置10,10’は、特定のキャリア及びそのキャリアが提供するネットワーク接続サービスに対応するように設計されている。具体的には、接続端末に対して固定IPアドレスを付与するネットワーク接続サービスの利用を前提としており、該サービスに対応した通信モジュールを接続するとともに、該サービスに対応した接続プロトコル・認証プロトコル等に対応するよう設計されている。   The host devices 10 and 10 'correspond to data terminal equipment (DTE). The host devices 10 and 10 'are designed to support a specific carrier and a network connection service provided by the carrier. Specifically, it is premised on the use of a network connection service that assigns a fixed IP address to the connection terminal, and a communication module corresponding to the service is connected and a connection protocol / authentication protocol corresponding to the service is used. Designed to accommodate.

上述した上位装置10,10’が前提としているネットワーク接続サービスについて説明する。このネットワーク接続サービスでは、通信モジュールに予めキャリアにより電話番号が割り当てられる。このネットワーク接続サービスの提供下にある無線パケット通信網には、回線制御やパケット中継等を行う中継装置が設けられている。中継装置には、接続先ネットワークである企業内LANに対応して電話番号が割り当てられている。通信モジュールを接続した端末は、無線パケット通信網内の中継装置の電話番号宛に発呼すると、企業内LANなどの所定のネットワークに接続する。中継装置への接続は、予め電話番号を割り当てた通信モジュールからのみ許可される。   The network connection service that is assumed by the above-described upper devices 10 and 10 'will be described. In this network connection service, a telephone number is assigned to a communication module in advance by a carrier. A wireless packet communication network provided with this network connection service is provided with a relay device that performs line control, packet relay, and the like. The relay device is assigned a telephone number corresponding to the corporate LAN that is the connection destination network. When a terminal connected to the communication module makes a call to a telephone number of a relay device in the wireless packet communication network, the terminal is connected to a predetermined network such as a corporate LAN. Connection to the relay device is permitted only from a communication module to which a telephone number is assigned in advance.

本発明は、このような上位装置10,10’及び管理用コンピュータ51をそのまま利用することを前提とし、動的IPを付与するネットワーク接続サービス提供下の無線パケット通信網40においてもネットワークシステムを構築可能とすることを第2の目的としている。   The present invention is based on the premise that such higher-level devices 10 and 10 ′ and the management computer 51 are used as they are, and a network system is constructed also in the wireless packet communication network 40 provided with a network connection service that provides a dynamic IP. The second purpose is to make it possible.

次に、本実施の形態で利用する、動的IPアドレスを付与するネットワーク接続サービスについて説明する。このネットワーク接続サービスでは、通信モジュール20に予めキャリアにより電話番号が割り当てられる。無線パケット通信網40には、図1に示すように、回線制御やパケット中継等を行う中継装置41が設けられている。通信モジュール20を接続した端末は、予め定められている特別な番号を指定して発呼することにより無線パケット通信網40に接続する。そして、該端末は、中継装置41との間でPAP(Password Authentication Protocol)を用いた認証処理を行うことにより、接続先ネットワークである企業内LAN50に接続可能となる。なお、前記PAP認証では、接続先を特定する情報をユーザ名に含ませることにより、接続先ネットワークを特定する。このネットワーク接続サービスでは、キャリアから無線パケット通信網40に対して所定の範囲のIPアドレス群が割り当てられており、通信モジュール20にはそれぞれ該IPアドレス群に含まれるIPアドレスがIPCP(Internet Protocol Control Protocol)により動的に割り当てられる。   Next, a network connection service for assigning a dynamic IP address used in the present embodiment will be described. In this network connection service, a telephone number is assigned to the communication module 20 by a carrier in advance. As shown in FIG. 1, the wireless packet communication network 40 is provided with a relay device 41 that performs line control, packet relay, and the like. The terminal connected to the communication module 20 connects to the wireless packet communication network 40 by making a call by designating a predetermined special number. The terminal can connect to the corporate LAN 50 as a connection destination network by performing authentication processing using the PAP (Password Authentication Protocol) with the relay device 41. In the PAP authentication, the connection destination network is specified by including information for specifying the connection destination in the user name. In this network connection service, a predetermined range of IP address groups is assigned from the carrier to the wireless packet communication network 40, and each IP address included in the IP address group is assigned to each communication module 20 as an IPCP (Internet Protocol Control). Protocol).

ここで、接続端末に付与するIPアドレスは予め定められたものである。図1に示すように、無線パケット通信網40にはアドレス管理サーバ43が設置されている。このアドレス管理サーバ43は、接続端末の電話番号と、当該電話番号を有する端末に対して配布するIPアドレスのリストを管理する。具体的には、アドレス管理サーバ43は、電話番号とIPアドレスとの対応を記述したアドレス対応テーブルを備えている。また、このアドレス管理サーバ43は、アドレス対応テーブルを更新できるようユーザに対してインタフェイスを提供している。   Here, the IP address assigned to the connection terminal is predetermined. As shown in FIG. 1, an address management server 43 is installed in the wireless packet communication network 40. The address management server 43 manages a telephone number of a connection terminal and a list of IP addresses distributed to terminals having the telephone number. Specifically, the address management server 43 is provided with an address correspondence table describing correspondence between telephone numbers and IP addresses. The address management server 43 provides an interface to the user so that the address correspondence table can be updated.

本接続サービスでは、無線パケット通信網40は、端末が接続してきた際に該接続端末の電話番号を取得する。そして、当該電話番号に対応するIPアドレスをアドレス対応テーブルから取得し、取得したIPアドレスを接続端末に配布する。このアドレス配布にはIPCPが用いられる。すなわち、本実施の形態では、IPCPという動的IP付与技術を用いているものの、配布IPアドレスは所定の静的なものである。   In this connection service, the wireless packet communication network 40 acquires the telephone number of the connection terminal when the terminal is connected. Then, the IP address corresponding to the telephone number is acquired from the address correspondence table, and the acquired IP address is distributed to the connection terminal. IPCP is used for this address distribution. That is, in this embodiment, although a dynamic IP assignment technique called IPCP is used, the distribution IP address is a predetermined static one.

また、本接続サービスでは、無線パケット通信網40は、端末に対応したIPアドレス宛のIPパケットを企業内LAN50から受信し、且つ、当該端末が無線パケット通信網40に接続してない状態の時には、メッセージングサーバ42が当該IPパケットに対応する電話番号をアドレス管理サーバ43から取得し、当該電話番号に対してメッセージを送信する。このメッセージングサービスは、TCP/IPを用いたネットワーク接続サービスではなく、無線通信網を利用した独自プロトコルにより実装されたものである。これにより端末は、企業内LAN50からの接続要求があったことを認識できる。   In this connection service, the wireless packet communication network 40 receives an IP packet addressed to the IP address corresponding to the terminal from the corporate LAN 50 and the terminal is not connected to the wireless packet communication network 40. The messaging server 42 acquires a telephone number corresponding to the IP packet from the address management server 43 and transmits a message to the telephone number. This messaging service is not a network connection service using TCP / IP, but is implemented by a unique protocol using a wireless communication network. Accordingly, the terminal can recognize that there is a connection request from the corporate LAN 50.

次に、接続装置1,1’について詳述する。この接続装置1,1’は、データ端末装置に相当する上位装置10,10’と、データ通信装置(DCE:Data Circuit-terminating Equipment)に相当とする通信機器20とを接続する装置である。本実施の形態に係る接続装置1,1’では、CDMA規格の通信モジュール20に対応する。通信モジュール20は、それぞれ対応するキャリアが構築する無線パケット通信網40に接続する通信機器であり、各キャリアが独自に定めた通信規格・通信プロトコル・サービスに対応している。上位装置10,10’は、前述したように、特定のキャリア及びそのキャリアが提供するサービスに対応するように設計されている。具体的には、当該サービスに対応した通信モジュールを接続するとともに、該サービスに対応した接続プロトコル・認証プロトコル等に対応するよう設計されている。本実施の形態に係る上位装置10,10’は、PDC規格の通信モジュール及びPHS規格の通信モジュールと直接接続可能であるとする。そして、該通信モジュールを用いることにより、各無線パケット通信網を介して企業内LAN50に接続可能となっているとする。本実施の形態に係る接続装置1,1’は、当該上位装置10,10’を改造・変更することなく、CDMA規格の通信モジュール20を用いて、無線パケット通信網40を介して企業内LAN50に接続可能とする。以下、接続装置1,1’についてさらに詳しく説明する。   Next, the connection devices 1 and 1 'will be described in detail. The connection devices 1 and 1 ′ are devices that connect the higher-level devices 10 and 10 ′ corresponding to the data terminal device and the communication device 20 corresponding to the data communication device (DCE: Data Circuit-terminating Equipment). The connection devices 1 and 1 ′ according to the present embodiment correspond to the CDMA standard communication module 20. The communication module 20 is a communication device connected to the wireless packet communication network 40 constructed by each corresponding carrier, and corresponds to a communication standard / communication protocol / service uniquely determined by each carrier. As described above, the host devices 10 and 10 'are designed to correspond to a specific carrier and a service provided by the carrier. Specifically, the communication module corresponding to the service is connected, and the connection protocol / authentication protocol corresponding to the service is designed. It is assumed that the higher-level devices 10 and 10 'according to the present embodiment can be directly connected to a PDC standard communication module and a PHS standard communication module. Then, it is assumed that the communication module can be used to connect to the corporate LAN 50 via each wireless packet communication network. The connection device 1, 1 ′ according to the present embodiment uses the communication module 20 of the CDMA standard via the wireless packet communication network 40 without modifying or changing the host device 10, 10 ′. Can be connected to. Hereinafter, the connection devices 1 and 1 ′ will be described in more detail.

図2を参照して本実施の形態に係る接続装置1の構成図について説明する。図2は接続装置1の機能ブロック図である。なお、ここでは本発明の要旨に係るもののみを記載し、他の構成については省略した。   A configuration diagram of the connection device 1 according to the present embodiment will be described with reference to FIG. FIG. 2 is a functional block diagram of the connection device 1. Here, only those related to the gist of the present invention are described, and other configurations are omitted.

接続装置1は物理的には通信モジュール20を内蔵可能としているが、機能的には図2に示すように通信モジュール20と上位装置10とを相互に接続する装置である。また、図1に示すしたように、上位装置10’と接続する接続装置1’には通信モジュール20は接続されておらず、すなわち接続装置1は通信モジュール20が接続されていない形態においても動作する。接続装置1,1’はそれぞれ上位装置10,10’に対してはデータ通信装置として動作する。   Although the connection device 1 can physically incorporate the communication module 20, it is functionally a device that connects the communication module 20 and the host device 10 to each other as shown in FIG. Further, as shown in FIG. 1, the communication module 20 is not connected to the connection device 1 ′ connected to the host device 10 ′, that is, the connection device 1 operates even in a form in which the communication module 20 is not connected. To do. The connection devices 1 and 1 'operate as data communication devices for the host devices 10 and 10', respectively.

接続装置1,1’は、図2に示すように、通信モジュール20を接続するためのインタフェイス111と、上位装置10,10’と接続するためのインタフェイス112と、構内LAN70と接続するためのインタフェイス113と、IPパケットの送出先経路を制御する経路制御部120と、自身に接続された上位装置10,10’による通信モジュール20を用いた通信を制御する通信制御部130とを備えている。各インタフェイス111〜113は、それぞれ接続先の規格に応じて実装されている。本実施の形態では、上位装置10,10’及び通信モジュール20との間はRS−232Cの規格により接続されるものとし、したがってインタフェイス111,112も該規格に準拠する。また、本実施の形態では、構内LAN70はイーサネット(登録商標)により構築するものとし、したがってインタフェイス113も該規格に準拠するものとする。   As shown in FIG. 2, the connection devices 1 and 1 ′ are used to connect the interface 111 for connecting the communication module 20, the interface 112 for connecting to the host devices 10 and 10 ′, and the local LAN 70. Interface 113, a route control unit 120 that controls the destination route of the IP packet, and a communication control unit 130 that controls communication using the communication module 20 by the higher-level devices 10 and 10 ′ connected thereto. ing. Each of the interfaces 111 to 113 is mounted according to the connection destination standard. In the present embodiment, the host devices 10 and 10 'and the communication module 20 are connected according to the RS-232C standard, and therefore the interfaces 111 and 112 also conform to the standard. In the present embodiment, the local LAN 70 is constructed by Ethernet (registered trademark), and therefore the interface 113 is also compliant with the standard.

経路制御部120について図3を参照して説明する。図3は経路制御部の機能ブロック図である。図3に示すように、経路制御部120は、入力されたIPパケットのアドレス情報を変換するアドレス変換部121と、アドレス変換部121により変換されたIPパケットの送出先を制御するルーティング処理部123とを備えている。アドレス変換部121には、上位装置10,通信モジュール20,構内LAN70からそれぞれIPパケットが入力される。アドレス変換部121は、予め所定の記憶手段に設定されているアドレス変換テーブル122に基づき宛先IPアドレス,送信元IPアドレス,上位プロトコルであるTCP/UDPの宛先ポート番号,送信元ポート番号(以下、これらの組をアドレス情報と言う。)の変換処理を行う。図4にアドレス変換テーブルの一例を示す。図4に示すように、アドレス変換テーブル122は、変換前の上記アドレス情報と変換後のアドレス情報との組が記憶されている。なお、図中、変換前のアドレス情報における記号「*」は何れのIPアドレス又はポート番号とも一致することを意味する。また、変換後のアドレス情報における記号「*」は変換を行わないことを意味する。アドレス変換部121は、入力されたIPパケットのアドレス情報がアドレス変換テーブル122の変換前のアドレス情報の組の何れかにマッチしている場合、当該IPパケットのアドレス情報をアドレス変換テーブル122の変換後のアドレス情報に書き換え、ルーティング処理部123に送る。一方、アドレス変換部121は、入力されたIPパケットのアドレス情報がアドレス変換テーブル122の変換前のアドレス情報の組の何れにもマッチしていない場合、当該IPパケットをそのままルーティング処理部123に送る。   The route control unit 120 will be described with reference to FIG. FIG. 3 is a functional block diagram of the path control unit. As shown in FIG. 3, the route controller 120 includes an address converter 121 that converts the address information of the input IP packet, and a routing processor 123 that controls the destination of the IP packet converted by the address converter 121. And. An IP packet is input to the address conversion unit 121 from the higher-level device 10, the communication module 20, and the local area LAN 70. The address conversion unit 121 is based on an address conversion table 122 set in advance in a predetermined storage means, and includes a destination IP address, a source IP address, a TCP / UDP destination port number and a source port number (hereinafter referred to as a higher-level protocol). These sets are referred to as address information). FIG. 4 shows an example of the address conversion table. As shown in FIG. 4, the address conversion table 122 stores a set of the address information before conversion and the address information after conversion. In the figure, the symbol “*” in the address information before conversion means that it matches any IP address or port number. Further, the symbol “*” in the converted address information means that no conversion is performed. When the address information of the input IP packet matches one of the address information sets before conversion in the address conversion table 122, the address conversion unit 121 converts the address information of the IP packet in the address conversion table 122. The address information is rewritten and sent to the routing processing unit 123. On the other hand, when the address information of the input IP packet does not match any of the address information sets before conversion in the address conversion table 122, the address conversion unit 121 sends the IP packet to the routing processing unit 123 as it is. .

ルーティング処理部123は、アドレス変換部121から受け取ったIPパケットをルーティングテーブル124を参照して適切な宛先に送出する。図5にルーティングテーブル124の一例を示す。ルーティングテーブル124には、図5に示すように、IPパケットのアドレス情報と、IPパケットの送出先が記憶されている。IPパケットの送出先は、上位装置10,10’向け、通信モジュール20向け、構内LAN70向けの何れかである。なお、図1に示す接続装置1’は通信モジュール20を内蔵しないので、該接続装置1’におけるルーティングテーブル124には送出先として通信モジュール20向けは存在しない点に留意されたい。ルーティング処理部123は、アドレス変換部121から受け取ったIPパケットのアドレス情報についてルーティングテーブル124からマッチする送出先を取得し、該送出先にIPパケットを送出する。なお、ルーティング処理部123は、送出先が上位装置10,10’向けの場合には通信制御部130にIPパケットを送出する。   The routing processor 123 sends the IP packet received from the address translator 121 to an appropriate destination with reference to the routing table 124. FIG. 5 shows an example of the routing table 124. As shown in FIG. 5, the routing table 124 stores the address information of the IP packet and the destination of the IP packet. The transmission destination of the IP packet is any one of the host devices 10 and 10 ′, the communication module 20, and the local LAN 70. It should be noted that the connection device 1 ′ shown in FIG. 1 does not include the communication module 20, so that the communication module 20 does not exist as a transmission destination in the routing table 124 of the connection device 1 ′. The routing processing unit 123 acquires a destination that matches the address information of the IP packet received from the address conversion unit 121 from the routing table 124, and sends the IP packet to the destination. Note that the routing processing unit 123 sends an IP packet to the communication control unit 130 when the sending destination is for the higher-level devices 10 and 10 ′.

次に、経路制御部120の動作について図面を参照して説明する。ここでは、上位装置10に予め割り当てられたIPアドレスが192.168.0.1、接続装置1の構内LAN500側のIPアドレスが192.168.200.10、通信モジュール20が無線パケット通信網40に接続した際に付与されたIPアドレスが10.20.142.8、通信相手先である管理用コンピュータ51のIPアドレスが10.20.0.1であるとする。また、アドレス変換テーブル122及びルーティングテーブル124には図4及び図5に示すデータが予め記憶されているものとする。   Next, the operation of the route control unit 120 will be described with reference to the drawings. Here, the IP address previously assigned to the host device 10 is 192.168.0.1, the IP address on the local LAN 500 side of the connection device 1 is 192.168.200.10, and the communication module 20 is the wireless packet communication network 40. It is assumed that the IP address given when connecting to is 10.20.142.8 and the IP address of the management computer 51 that is the communication partner is 10.20.0.1. Further, it is assumed that the data shown in FIGS. 4 and 5 are stored in advance in the address conversion table 122 and the routing table 124.

まず、管理用コンピュータ51から上位装置10に向けたIPパケットの処理について図6を参照して説明する。図6に示すように、通信モジュール20から経路制御部120に入力されるパケットの送信元のアドレス情報は管理用コンピュータ51のIPアドレス及び適当なポート番号となっている。一方、宛先のアドレス情報は通信モジュール20に付与されたIPアドレス及び上位装置10に対応するポート番号となっている。経路制御部120のアドレス変換部121は、図4に示すアドレス変換テーブル122を参照してアドレス変換処理を行う。具体的には、図4のアドレス変換テーブル122の1番のエントリを適用する。該アドレス変換処理の結果、図6に示すように、IPパケットの宛先IPアドレスは上位装置10のIPアドレスとなる。アドレス変換部121は、該IPパケットをルーティング処理部123に渡す。ルーティング処理部123は、入力されたIPパケットの宛先のアドレス情報及び図5に示すルーティングテーブル124を参照し、IPパケットを適切な送出先に送出する。具体的には、ルーティングテーブル124の1番のエントリを適用し、上位装置10側(すなわち通信制御部130)にIPパケットを送出する。   First, IP packet processing from the management computer 51 to the higher-level device 10 will be described with reference to FIG. As shown in FIG. 6, the address information of the transmission source of the packet input from the communication module 20 to the route control unit 120 is the IP address of the management computer 51 and an appropriate port number. On the other hand, the address information of the destination is an IP address assigned to the communication module 20 and a port number corresponding to the higher-level device 10. The address conversion unit 121 of the route control unit 120 performs address conversion processing with reference to the address conversion table 122 shown in FIG. Specifically, the first entry in the address conversion table 122 of FIG. 4 is applied. As a result of the address conversion process, the destination IP address of the IP packet becomes the IP address of the host device 10 as shown in FIG. The address translation unit 121 passes the IP packet to the routing processing unit 123. The routing processing unit 123 refers to the destination address information of the input IP packet and the routing table 124 shown in FIG. 5 and sends the IP packet to an appropriate destination. Specifically, the first entry of the routing table 124 is applied, and the IP packet is sent to the higher-level device 10 side (that is, the communication control unit 130).

次に、上位装置10から管理用コンピュータ51に向けたIPパケットの処理について図7を参照して説明する。図7に示すように、上位装置10から経路制御部120に入力されるパケットの送信元のアドレス情報は上位装置10のIPアドレス及び適当なポート番号となっている。一方、宛先のアドレス情報は管理用コンピュータ51のIPアドレス及び所定のアプリケーションのポート番号となっている。経路制御部120のアドレス変換部121は、図4に示すアドレス変換テーブル122を参照してアドレス変換処理を行う。具体的には、図4のアドレス変換テーブル122の2番のエントリを適用する。該アドレス変換処理の結果、図7に示すように、IPパケットの送信元IPアドレスは通信モジュール20のIPアドレスとなる。アドレス変換部121は、該IPパケットをルーティング処理部123に渡す。ルーティング処理部123は、入力されたIPパケットの宛先のアドレス情報及び図5に示すルーティングテーブル124を参照し、IPパケットを適切な送出先に送出する。具体的には、ルーティングテーブル124の2番のエントリを適用し、通信モジュール20側にIPパケットを送出する。   Next, processing of IP packets from the upper level device 10 to the management computer 51 will be described with reference to FIG. As shown in FIG. 7, the address information of the transmission source of the packet input from the higher level device 10 to the route control unit 120 is the IP address of the higher level device 10 and an appropriate port number. On the other hand, the destination address information is the IP address of the management computer 51 and the port number of a predetermined application. The address conversion unit 121 of the route control unit 120 performs address conversion processing with reference to the address conversion table 122 shown in FIG. Specifically, the second entry in the address conversion table 122 in FIG. 4 is applied. As a result of the address conversion process, the source IP address of the IP packet becomes the IP address of the communication module 20 as shown in FIG. The address translation unit 121 passes the IP packet to the routing processing unit 123. The routing processing unit 123 refers to the destination address information of the input IP packet and the routing table 124 shown in FIG. 5 and sends the IP packet to an appropriate destination. Specifically, the second entry in the routing table 124 is applied and an IP packet is sent to the communication module 20 side.

次に、接続装置1及び接続装置1’を介して上位装置10’が管理用コンピュータ51と通信する場合について説明する。ここでは、上位装置10’に予め割り当てられたIPアドレスが192.168.200.1であるとする。なお、上位装置10,接続装置1,通信モジュール20の各IPアドレスについては上述と同様とする。また、接続装置1’のアドレス変換テーブル122には何も記憶されておらず、ルーティングテーブル124’には図8に示すデータが予め記憶されているものとする。   Next, a case where the higher-level device 10 ′ communicates with the management computer 51 via the connection device 1 and the connection device 1 ′ will be described. Here, it is assumed that the IP address assigned in advance to the higher-level device 10 ′ is 192.168.200.1. The IP addresses of the host device 10, the connection device 1, and the communication module 20 are the same as described above. Further, it is assumed that nothing is stored in the address conversion table 122 of the connection device 1 ′, and the data shown in FIG. 8 is stored in advance in the routing table 124 ′.

まず、管理用コンピュータ51から上位装置10’に向けたIPパケットの処理について図9を参照して説明する。図9に示すように、通信モジュール20から接続装置1の経路制御部120に入力されるパケットの送信元のアドレス情報は管理用コンピュータ51のIPアドレス及び適当なポート番号となっている。一方、宛先のアドレス情報は通信モジュール20に付与されたIPアドレス及び上位装置10’に対応するポート番号となっている。経路制御部120のアドレス変換部121は、図4に示すアドレス変換テーブル122を参照してアドレス変換処理を行う。具体的には、図4のアドレス変換テーブル122の3番のエントリを適用する。該アドレス変換処理の結果、図9に示すように、IPパケットの宛先IPアドレスは上位装置10’のIPアドレスとなる。アドレス変換部121は、該IPパケットをルーティング処理部123に渡す。ルーティング処理部123は、入力されたIPパケットの宛先のアドレス情報及び図5に示すルーティングテーブル124を参照し、IPパケットを適切な送出先に送出する。具体的には、ルーティングテーブル124の3番のエントリを適用し、構内LAN70側にIPパケットを送出する。該IPパケットは構内LAN70を介して接続装置1’の経路制御部120’に入力される。経路制御部120’のアドレス変換部121’はアドレス変換テーブル122が空のため該IPパケットをそのままルーティング処理部123’に渡す。ルーティング処理部123’は、入力されたIPパケットの宛先のアドレス情報及び図8に示すルーティングテーブル124’を参照し、IPパケットを適切な送出先に送出する。具体的には、ルーティングテーブル124’の1番のエントリを適用し、上位装置10’側(すなわち通信制御部130’)にIPパケットを送出する。   First, IP packet processing from the management computer 51 to the host apparatus 10 'will be described with reference to FIG. As shown in FIG. 9, the address information of the transmission source of the packet input from the communication module 20 to the path control unit 120 of the connection device 1 is the IP address of the management computer 51 and an appropriate port number. On the other hand, the address information of the destination is an IP address given to the communication module 20 and a port number corresponding to the higher-level device 10 '. The address conversion unit 121 of the route control unit 120 performs address conversion processing with reference to the address conversion table 122 shown in FIG. Specifically, the third entry in the address conversion table 122 of FIG. 4 is applied. As a result of the address conversion process, as shown in FIG. 9, the destination IP address of the IP packet is the IP address of the host device 10 '. The address translation unit 121 passes the IP packet to the routing processing unit 123. The routing processing unit 123 refers to the destination address information of the input IP packet and the routing table 124 shown in FIG. 5 and sends the IP packet to an appropriate destination. Specifically, the third entry in the routing table 124 is applied and an IP packet is sent to the local LAN 70 side. The IP packet is input to the route control unit 120 ′ of the connection device 1 ′ via the local area LAN 70. The address translation unit 121 ′ of the route control unit 120 ′ passes the IP packet as it is to the routing processing unit 123 ′ because the address translation table 122 is empty. The routing processing unit 123 'refers to the address information of the destination of the input IP packet and the routing table 124' shown in FIG. 8, and sends the IP packet to an appropriate destination. Specifically, the first entry in the routing table 124 ′ is applied, and an IP packet is transmitted to the higher-level device 10 ′ (that is, the communication control unit 130 ′).

次に、上位装置10’から管理用コンピュータ51に向けたIPパケットの処理について図10を参照して説明する。図10に示すように、上位装置10’から接続装置1’の経路制御部120’に入力されるパケットの送信元のアドレス情報は上位装置10’のIPアドレス及び適当なポート番号となっている。一方、宛先のアドレス情報は管理用コンピュータ51のIPアドレス及び所定のアプリケーションのポート番号となっている。経路制御部120’のアドレス変換部121’はアドレス変換テーブル122が空のため該IPパケットをそのままルーティング処理部123’に渡す。ルーティング処理部123’は、入力されたIPパケットの宛先のアドレス情報及び図8に示すルーティングテーブル124’を参照し、IPパケットを適切な送出先に送出する。具体的には、ルーティングテーブル124’の2番のエントリを適用し、構内LAN70側にIPパケットを送出する。該IPパケットは構内LAN70を介して接続装置1の経路制御部120に入力される。経路制御部120のアドレス変換部121は、図4に示すアドレス変換テーブル122を参照してアドレス変換処理を行う。具体的には、図4のアドレス変換テーブル122の2番のエントリを適用する。該アドレス変換処理の結果、図10に示すように、IPパケットの送信元IPアドレスは通信モジュール20のIPアドレスとなる。アドレス変換部121は、該IPパケットをルーティング処理部123に渡す。ルーティング処理部123は、入力されたIPパケットの宛先のアドレス情報及び図5に示すルーティングテーブル124を参照し、IPパケットを適切な送出先に送出する。具体的には、ルーティングテーブル124の2番のエントリを適用し、通信モジュール20側にIPパケットを送出する。   Next, IP packet processing from the upper level apparatus 10 ′ toward the management computer 51 will be described with reference to FIG. 10. As shown in FIG. 10, the address information of the transmission source of the packet input from the higher level apparatus 10 ′ to the route control unit 120 ′ of the connection apparatus 1 ′ is the IP address and an appropriate port number of the higher level apparatus 10 ′. . On the other hand, the destination address information is the IP address of the management computer 51 and the port number of a predetermined application. The address translation unit 121 ′ of the route control unit 120 ′ passes the IP packet as it is to the routing processing unit 123 ′ because the address translation table 122 is empty. The routing processing unit 123 'refers to the address information of the destination of the input IP packet and the routing table 124' shown in FIG. 8, and sends the IP packet to an appropriate destination. Specifically, the second entry of the routing table 124 ′ is applied and an IP packet is sent to the local LAN 70 side. The IP packet is input to the route control unit 120 of the connection device 1 via the local area LAN 70. The address conversion unit 121 of the route control unit 120 performs address conversion processing with reference to the address conversion table 122 shown in FIG. Specifically, the second entry in the address conversion table 122 in FIG. 4 is applied. As a result of the address conversion process, the source IP address of the IP packet becomes the IP address of the communication module 20 as shown in FIG. The address translation unit 121 passes the IP packet to the routing processing unit 123. The routing processing unit 123 refers to the destination address information of the input IP packet and the routing table 124 shown in FIG. 5 and sends the IP packet to an appropriate destination. Specifically, the second entry in the routing table 124 is applied and an IP packet is sent to the communication module 20 side.

次に通信制御部130について図面を参照して説明する。通信制御部130は、ATコマンドによる回線接続制御、LCP(Link Control Protocol)及びIPCPによるIP層の接続制御、確立された回線上でのデータ通信において、IP層のヘッダに含まれるIPアドレスの変換処理、TCPパケットの代理応答処理などを行う。これらの処理は、通信モジュール20や無線通信パケット通信網40のプロトコルやサービスを上位装置10,10’が前提としていない場合に、これらのプロトコルやサービスと上位装置10,10’が前提としているプロトコルやサービスの相違を吸収するものである。これにより、上位装置10や通信相手先である管理用コンピュータ51に何ら改造・修正を加えることなく、無線パケット通信網40や通信モジュール20として種々のものを採用することができる。   Next, the communication control unit 130 will be described with reference to the drawings. The communication control unit 130 performs line connection control using AT commands, IP layer connection control using LCP (Link Control Protocol) and IPCP, and conversion of an IP address included in an IP layer header in established data communication. Processing, proxy response processing of TCP packet, and the like are performed. These processes are performed when the protocol and service of the communication module 20 and the wireless communication packet communication network 40 are not premised on the higher-level devices 10 and 10 ′. And the difference in services. As a result, various devices can be employed as the wireless packet communication network 40 and the communication module 20 without any modification or correction to the host device 10 or the management computer 51 that is the communication partner.

次に通信制御部130における回線接続制御について図面を参照して説明する。ここでは説明の簡単のため通信モジュール20を内蔵する接続装置1が接続された上位装置10における回線接続制御について説明する。まず、図11を参照して、上位装置10から管理用コンピュータ51に対して通信を開始する場合について説明する。図11は上位装置から管理用コンピュータに通信開始する場合のシーケンスチャートである。   Next, line connection control in the communication control unit 130 will be described with reference to the drawings. Here, for simplicity of explanation, the line connection control in the host device 10 to which the connection device 1 incorporating the communication module 20 is connected will be described. First, with reference to FIG. 11, a case where communication is started from the host device 10 to the management computer 51 will be described. FIG. 11 is a sequence chart when communication is started from the host device to the management computer.

図11に示すように、上位装置10は、接続装置1に対して「ATDT080CCDD」コマンドを発呼すると(ステップS101)、接続装置1の通信制御部130は該コマンドを「ATD9999」に変換して通信モジュール20に転送する(ステップS102)。なお、この発呼の契機としては、管理用コンピュータ51宛のIPパケットが生じた時などが挙げられる。前記ATコマンドにより通信モジュール20は無線パケット通信網40内の中継装置41に発呼する(ステップS103)。接続装置1の通信制御部130は、回線レベルで接続が完了した旨の応答「CONNECT」を通信モジュール20を介して受信すると(ステップS104)、PPPにより接続装置1を企業内LAN50に接続するよう処理を開始する。   As shown in FIG. 11, when the host device 10 issues an “ATDT080 CCDD” command to the connection device 1 (step S101), the communication control unit 130 of the connection device 1 converts the command into “ATD9999”. Transfer to the communication module 20 (step S102). An example of a trigger for this call is when an IP packet addressed to the management computer 51 is generated. In response to the AT command, the communication module 20 calls the relay device 41 in the wireless packet communication network 40 (step S103). When the communication control unit 130 of the connection device 1 receives a response “CONNECT” indicating that the connection is completed at the line level via the communication module 20 (step S104), the communication control unit 130 connects the connection device 1 to the corporate LAN 50 by PPP. Start processing.

まず、接続装置1の通信制御部130は、無線パケット通信網40の中継装置41との間でLCPネゴシエーションを開始する(ステップS105)。次に、接続装置1の通信制御部130は、無線パケット通信網40の中継装置41との間でPAP認証処理を行う(ステップS106)。このPAP認証処理は、上位装置10では想定されていないものであるが、本実施の形態に係る無線パケット通信網40を利用する際には必要である。そこで、本実施の形態では、接続装置1が上位装置10に代理して認証処理を行っている。この認証処理が終了すると、接続装置1の通信制御部130は、接続装置1と無線パケット通信網40の中継装置41との間でIPCPネゴシエーションを開始する(ステップS107)。これによりIPCPネゴシエーションが完了し、接続装置1の通信制御部130には無線パケット通信網40から動的IPアドレス:10.20.142.8が付与される。ここで付与されるIPアドレスは、接続端末である通信モジュール20に対して予め定めたものである。付与された動的IPアドレスはEPROM(図示省略)などの記憶手段に記憶しておく。   First, the communication control unit 130 of the connection device 1 starts LCP negotiation with the relay device 41 of the wireless packet communication network 40 (step S105). Next, the communication control unit 130 of the connection device 1 performs PAP authentication processing with the relay device 41 of the wireless packet communication network 40 (step S106). This PAP authentication processing is not assumed in the host device 10, but is necessary when using the wireless packet communication network 40 according to the present embodiment. Therefore, in the present embodiment, the connection device 1 performs authentication processing on behalf of the host device 10. When this authentication process is completed, the communication control unit 130 of the connection device 1 starts IPCP negotiation between the connection device 1 and the relay device 41 of the wireless packet communication network 40 (step S107). As a result, the IPCP negotiation is completed, and the dynamic IP address: 10.20.142.8 is assigned from the wireless packet communication network 40 to the communication control unit 130 of the connection device 1. The IP address assigned here is predetermined for the communication module 20 which is a connection terminal. The assigned dynamic IP address is stored in storage means such as an EPROM (not shown).

PPPネゴシエーションが完了すると、回線レベルで接続が完了した旨の応答「CONNECT」を上位装置10に送信する(ステップS108)。上位装置10は、当該応答を受けてLCPネゴシエーション及びIPCPネゴシエーションを開始する(ステップS109,S110)。ここで、注目すべき点は、接続装置1の通信制御部130が上位装置10に対して応答を行うことである。以上の処理により上位装置10と企業内LAN50との接続が完了する。   When the PPP negotiation is completed, a response “CONNECT” indicating that the connection is completed at the line level is transmitted to the upper level apparatus 10 (step S108). The host device 10 receives the response and starts LCP negotiation and IPCP negotiation (steps S109 and S110). Here, what should be noted is that the communication control unit 130 of the connection device 1 responds to the higher-level device 10. With the above processing, the connection between the host device 10 and the corporate LAN 50 is completed.

次に、企業内LAN50の管理用コンピュータ51から上位装置10に対して通信を開始する場合について図12及び図13を参照して説明する。図12及び図13は管理用コンピュータから開始する通信のシーケンス図である。   Next, a case where communication is started from the management computer 51 of the corporate LAN 50 to the host device 10 will be described with reference to FIGS. 12 and 13 are sequence diagrams of communication started from the management computer.

ここでは、上位装置10に接続されている通信モジュール20に対して、アドレス管理サーバ43においてIPアドレス「10.20.142.8」が割り当てられているものとする。   Here, it is assumed that the IP address “10.20.142.8” is assigned in the address management server 43 to the communication module 20 connected to the upper level device 10.

管理用コンピュータ51が、通信相手先の上位装置10と通信するために該上位装置10に接続されている通信モジュール20のIPアドレス「10.20.142.8」を宛先とした接続要求を発すると(ステップS151)、ルータ60は通常のルーティングルールに従って当該パケットを無線パケット通信網40に中継する(ステップS152)。   The management computer 51 issues a connection request with the IP address “10.20.142.8” of the communication module 20 connected to the host device 10 as the destination in order to communicate with the host device 10 of the communication partner. Then (step S151), the router 60 relays the packet to the wireless packet communication network 40 according to a normal routing rule (step S152).

無線パケット通信網40は、ルータ60から受信したパケットの宛先IPアドレスを参照し、当該IPアドレスに対応する電話番号をアドレス管理サーバ43から取得する。そして、該電話番号宛に、企業内LAN50から接続要求があった旨をメッセージングサービスを利用して通知する(ステップS153)。なお、無線パケット通信網40は、ルータ60から受信した接続要求に係るパケットは破棄する。   The wireless packet communication network 40 refers to the destination IP address of the packet received from the router 60 and acquires the telephone number corresponding to the IP address from the address management server 43. Then, the telephone number is notified using a messaging service that a connection request has been received from the corporate LAN 50 (step S153). The wireless packet communication network 40 discards the packet related to the connection request received from the router 60.

メッセージを受信した接続装置1の通信制御部130は、設定データ記憶部151に記憶されている設定データに基づき企業内LAN50への接続処理を開始する。具体的には、「ATD9999」コマンドを通信モジュール20に送出する(ステップS154)。該ATコマンドにより通信モジュール20は無線パケット通信網40内の中継装置41に発呼する(ステップS155)。接続装置1の通信制御部130は、回線レベルで接続が完了した旨の応答「CONNECT」を通信モジュール20を介して受信すると(ステップS156)、PPPにより接続装置1を企業内LAN50に接続するよう処理を開始する。   The communication control unit 130 of the connection device 1 that has received the message starts connection processing to the corporate LAN 50 based on the setting data stored in the setting data storage unit 151. Specifically, an “ATD9999” command is sent to the communication module 20 (step S154). In response to the AT command, the communication module 20 calls the relay device 41 in the wireless packet communication network 40 (step S155). When the communication control unit 130 of the connection device 1 receives a response “CONNECT” indicating that the connection is completed at the line level via the communication module 20 (step S156), the communication control unit 130 connects the connection device 1 to the corporate LAN 50 by PPP. Start processing.

まず、接続装置1の通信制御部130は、無線パケット通信網40の中継装置41との間でLCPネゴシエーションを開始する(ステップS157)。次に、接続装置1の通信制御部130は、無線パケット通信網40の中継装置41との間でPAP認証処理を行う(ステップS158)。次に、接続装置1の通信制御部130は、接続装置1と無線パケット通信網40の中継装置41との間でIPCPネゴシエーションを開始する(ステップS159)。これによりIPCPネゴシエーションが完了し、接続装置1の通信制御部130には無線パケット通信網40から動的IPアドレス:10.20.142.8が付与される。ここで付与されるIPアドレスは、上述したように、接続端末である通信モジュール20に対して予め定めたものである。付与された動的IPアドレスはEPROM(図示省略)などの記憶手段に記憶しておく。   First, the communication control unit 130 of the connection device 1 starts LCP negotiation with the relay device 41 of the wireless packet communication network 40 (step S157). Next, the communication control unit 130 of the connection device 1 performs PAP authentication processing with the relay device 41 of the wireless packet communication network 40 (step S158). Next, the communication control unit 130 of the connection device 1 starts IPCP negotiation between the connection device 1 and the relay device 41 of the wireless packet communication network 40 (step S159). As a result, the IPCP negotiation is completed, and the dynamic IP address: 10.20.142.8 is assigned from the wireless packet communication network 40 to the communication control unit 130 of the connection device 1. As described above, the IP address assigned here is predetermined for the communication module 20 which is a connection terminal. The assigned dynamic IP address is stored in storage means such as an EPROM (not shown).

PPPネゴシエーションが完了すると、管理用コンピュータ51から接続要求パケットが接続装置1に到達する(ステップS160)。上述したように、無線パケット通信網40は、前記ステップS151で管理用コンピュータ51が送出したパケットを破棄している。このため、管理用コンピュータ51は、当該接続要求パケットの応答を受信できず、タイムアウトにより接続要求パケットを再送する。また、上記ステップS153〜S159の処理にはある程度の時間が必要となるため、再送したパケットの幾つかは更にタイムアウトする。したがって、接続装置1に到達する接続要求パケットは数回再送されたパケットのうちの最新のものである。   When the PPP negotiation is completed, the connection request packet arrives at the connection device 1 from the management computer 51 (step S160). As described above, the wireless packet communication network 40 discards the packet transmitted by the management computer 51 in step S151. For this reason, the management computer 51 cannot receive the response of the connection request packet, and retransmits the connection request packet due to timeout. In addition, since a certain amount of time is required for the processing of steps S153 to S159, some of the retransmitted packets time out further. Therefore, the connection request packet reaching the connection device 1 is the latest one of the packets retransmitted several times.

接続装置1の通信制御部130は、管理用コンピュータ51から接続要求パケットを受信すると、上位装置10に対して着信があったことを通知する(ステップS161)。上位装置10は、着信通知を受信すると、当該着信通知に対する応答を接続装置1に通知するとともに(ステップS162)、LCPネゴシエーション及びIPCPネゴシエーションを開始する(ステップS163,S164)。ここで、注目すべき点は、接続装置1の通信制御部130が上位装置10に対して応答を行うことである。   When the communication control unit 130 of the connection device 1 receives the connection request packet from the management computer 51, the communication control unit 130 notifies the higher-level device 10 that there is an incoming call (step S161). When receiving the incoming call notification, the host device 10 notifies the connection device 1 of a response to the incoming call notification (step S162), and starts LCP negotiation and IPCP negotiation (steps S163 and S164). Here, what should be noted is that the communication control unit 130 of the connection device 1 responds to the higher-level device 10.

このPPPネゴシエーションが完了すると、接続装置1の通信制御部130は、前記ステップS160で管理用コンピュータ51から受信した接続要求パケットを上位装置10に転送する(ステップS165)。接続要求パケットを受信した上位装置10は、当該応答を接続装置1に応答する(ステップS166)。接続装置1は、当該応答パケットをルータ60に中継する(ステップS167)。ルータ60は、通常のルーティングルールに従って当該応答パケットを管理用コンピュータ51に中継する(ステップS168)。以上の処理により、上位装置10は管理用コンピュータ51への接続が完了する。   When this PPP negotiation is completed, the communication control unit 130 of the connection device 1 transfers the connection request packet received from the management computer 51 in step S160 to the higher-level device 10 (step S165). The host device 10 that has received the connection request packet returns the response to the connection device 1 (step S166). The connection device 1 relays the response packet to the router 60 (step S167). The router 60 relays the response packet to the management computer 51 according to a normal routing rule (step S168). With the above processing, the host device 10 completes connection to the management computer 51.

以上詳述したように本実施の形態に係る接続装置1,1’によれば、共通の通信モジュール20を複数の上位装置10,10’で共有できるので、通信モジュール20にかかるコストや通信コストを削減することができる。また、本実施の形態に係る接続装置1,1’によれば、上位装置10,10’に改造・変更等を加えることなく、本来上位装置10,10’が前提としていなかった無線パケット通信網40を用いた通信が可能となる。   As described above in detail, according to the connection devices 1 and 1 ′ according to the present embodiment, the common communication module 20 can be shared by a plurality of higher-level devices 10 and 10 ′. Can be reduced. In addition, according to the connection devices 1 and 1 ′ according to the present embodiment, wireless packet communication that is not originally assumed by the host devices 10 and 10 ′ without modifying or changing the host devices 10 and 10 ′. Communication using the network 40 becomes possible.

以上、本発明の一実施の形態について詳述したが、本発明はこれに限定されるものではない。例えば、上記実施の形態では下水道の流量監視を行うテレメトリングシステムについて説明したが、他のテレメトリングシステムや、テレマティクスシステムにおいても本発明を実施できる。   Although one embodiment of the present invention has been described in detail above, the present invention is not limited to this. For example, in the above embodiment, the telemetering system for monitoring the flow rate of the sewer has been described, but the present invention can be implemented in other telemetering systems and telematics systems.

また、上記実施の形態では、通信モジュールとしてCDMA規格のものを例示したが、他の規格のものであっても本発明を実施できる。同様に、上位装置側のインタフェイス規格についても、上述したもの以外のものを適用できる。   In the above-described embodiment, the communication module of the CDMA standard is exemplified, but the present invention can be implemented even if the communication module is of another standard. Similarly, other than the above-mentioned interface standards can be applied to the interface standard on the host device side.

通信システムの構成図Configuration diagram of communication system 接続装置の機能ブロック図Functional block diagram of connection device 経路制御部の機能ブロック図Functional block diagram of the route controller アドレス変換テーブルの一例を示す図The figure which shows an example of an address translation table ルーティングテーブルの一例を示す図Diagram showing an example of a routing table 経路制御部の動作を説明する図The figure explaining operation of a route control part 経路制御部の動作を説明する図The figure explaining operation of a route control part ルーティングテーブルの一例を示す図Diagram showing an example of a routing table 経路制御部の動作を説明する図The figure explaining operation of a route control part 経路制御部の動作を説明する図The figure explaining operation of a route control part 通信制御部の動作を説明するシーケンス図Sequence diagram explaining operation of communication controller 通信制御部の動作を説明するシーケンス図Sequence diagram explaining operation of communication controller 通信制御部の動作を説明するシーケンス図Sequence diagram explaining operation of communication controller

符号の説明Explanation of symbols

1,1’…接続装置、10,10’…上位装置、20…通信モジュール、40…無線パケット通信網、50…企業内LAN、60…構内LAN、111,112,113…インタフェイス、120…経路制御部、121…アドレス変換部、122…アドレス変換テーブル、123…ルーティング処理部、124…ルーティングテーブル、130…通信制御部。   DESCRIPTION OF SYMBOLS 1,1 '... Connection apparatus 10, 10' ... Host apparatus, 20 ... Communication module, 40 ... Wireless packet communication network, 50 ... Corporate LAN, 60 ... Local LAN, 111, 112, 113 ... Interface, 120 ... Route control unit, 121... Address conversion unit, 122... Address conversion table, 123... Routing processing unit, 124.

Claims (3)

無線パケット通信網との接続用の通信機器と、該通信機器を介してTCP/IPを用いた通信を行う上位装置とを相互に接続する接続装置であって、
通信機器との接続用の第1のインタフェイスと、
上位装置との接続用の第2のインタフェイスと、
他の接続装置との接続用の第3のインタフェイスと、
第1のインタフェイスを介して通信機器から受信したIPパケットを第2のインタフェイスに接続された上位装置又は前記第3のインタフェイスを介して接続された他の接続装置に振り分ける経路制御手段とを備えた
ことを特徴とする通信機器用の接続装置。
A connection device that connects a communication device for connection with a wireless packet communication network and a host device that performs communication using TCP / IP via the communication device,
A first interface for connection with a communication device;
A second interface for connection with the host device;
A third interface for connection to another connection device;
Route control means for distributing an IP packet received from a communication device via the first interface to a host device connected to the second interface or to another connection device connected via the third interface; A connection device for communication equipment, comprising:
前記経路制御手段は、IPパケットのアドレス情報及び該IPパケットに格納されたTCP/UDPパケットのポート番号に基づきIPパケットのアドレス情報を書き換える
ことを特徴とする請求項1記載の通信機器用の接続装置。
The communication device connection according to claim 1, wherein the route control means rewrites the IP packet address information based on the IP packet address information and the port number of the TCP / UDP packet stored in the IP packet. apparatus.
前記上位装置による通信機器を用いた通信を制御する通信制御手段を備えた
ことを特徴とする請求項1記載の通信機器用の接続装置。
The communication device connection device according to claim 1, further comprising communication control means for controlling communication using the communication device by the host device.
JP2008134035A 2008-05-22 2008-05-22 Connection device for communications equipment Pending JP2009284206A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008134035A JP2009284206A (en) 2008-05-22 2008-05-22 Connection device for communications equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008134035A JP2009284206A (en) 2008-05-22 2008-05-22 Connection device for communications equipment

Publications (1)

Publication Number Publication Date
JP2009284206A true JP2009284206A (en) 2009-12-03

Family

ID=41454200

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008134035A Pending JP2009284206A (en) 2008-05-22 2008-05-22 Connection device for communications equipment

Country Status (1)

Country Link
JP (1) JP2009284206A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003223669A (en) * 2002-01-31 2003-08-08 Mitsubishi Electric Corp Wide-area control system of automatic vending machine
JP2003298621A (en) * 2002-04-04 2003-10-17 Mi Media:Kk Connection system among terminals
JP2008035075A (en) * 2006-07-27 2008-02-14 Sanden Corp Communicating system, connection device for communication equipment and network router

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003223669A (en) * 2002-01-31 2003-08-08 Mitsubishi Electric Corp Wide-area control system of automatic vending machine
JP2003298621A (en) * 2002-04-04 2003-10-17 Mi Media:Kk Connection system among terminals
JP2008035075A (en) * 2006-07-27 2008-02-14 Sanden Corp Communicating system, connection device for communication equipment and network router

Similar Documents

Publication Publication Date Title
JP4846398B2 (en) Communications system
EP1156626B1 (en) Mobile communication network, terminal equipment and packet communication control method
JP2008306736A (en) Communication module and application program provided with the same
EP2733895B1 (en) Relay server and relay communication system
JP2013504957A (en) Method and system for realizing network intercommunication
US20070274254A1 (en) Connection adapter for communication device
JP2007312320A (en) Connection apparatus for communication device
JP4322879B2 (en) Connection device for communication equipment
JP2008306551A (en) Connection apparatus for communication device
US20070248107A1 (en) Connection Adapter for Communication Device
JP5105755B2 (en) Connection device for communication equipment.
JP4903909B2 (en) Communications system
JP2007096539A (en) Conversion apparatus
JP2009284206A (en) Connection device for communications equipment
JP5213070B2 (en) Wireless communication network connection system and wireless communication network connection method
JP2008219400A (en) Repeater and packet relaying method
EP2451120A1 (en) Method for accessing wireless distribution system, system and wireless repeater thereof
JP2008301184A (en) Connection device for communication equipment
JP5769267B2 (en) Wireless communication terminal, communication system, communication system control method, and program
JP4093265B2 (en) Communications system
US20050213562A1 (en) Telecommunication system and method for routing data of an ip-based pbx extension to a host
JP2015109637A (en) Data communication system, transfer device and relay device used for the same, and program
CN117377129A (en) Network sharing method and device, chip, electronic equipment and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110218

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120903

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120912

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130130