JP4042632B2 - Communication terminal device - Google Patents

Communication terminal device Download PDF

Info

Publication number
JP4042632B2
JP4042632B2 JP2003158062A JP2003158062A JP4042632B2 JP 4042632 B2 JP4042632 B2 JP 4042632B2 JP 2003158062 A JP2003158062 A JP 2003158062A JP 2003158062 A JP2003158062 A JP 2003158062A JP 4042632 B2 JP4042632 B2 JP 4042632B2
Authority
JP
Japan
Prior art keywords
address
data
mac address
communication terminal
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2003158062A
Other languages
Japanese (ja)
Other versions
JP2004363784A (en
Inventor
一樹 福島
Original Assignee
サクサ株式会社
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 サクサ株式会社 filed Critical サクサ株式会社
Priority to JP2003158062A priority Critical patent/JP4042632B2/en
Publication of JP2004363784A publication Critical patent/JP2004363784A/en
Application granted granted Critical
Publication of JP4042632B2 publication Critical patent/JP4042632B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、通信端末装置に関し、特に有線回線や無線回線を介して相互に接続された複数の通信端末装置からなるデータ通信システムで用いられる通信端末装置に関するものである。
【0002】
【従来の技術】
有線回線や無線回線などの通信回線を介して相互に接続された複数の通信端末装置からなるデータ通信システムとして、各通信端末装置で取得されたデータを1つの通信端末装置へ収集するシステムがある(例えば、特許文献1など参照)。
【0003】
このような通信システムでは、本来、通信回線を介して、直接、データ通信可能な通信端末装置間で、通信信号の減衰やノイズ干渉により装置間における通信接続が不可能となる場合がある。例えば、既存のデータ通信システムのうち比較的遠い場所に新たな通信端末装置を増設したり、既設の通信端末装置の通信環境が悪化した場合には、通信接続が不可能となる。
このような場合には、中継器を設けて、これら装置間のデータ通信を中継する方法が考えられる。
【0004】
なお、出願人は、本明細書に記載した先行技術文献情報で特定される先行技術文献以外には、本発明に関連する先行技術文献を出願時までに発見するには至らなかった。
【0005】
【特許文献1】
特開平11−168777号公報
【0006】
【発明が解決しようとする課題】
このような従来のデータ通信システムでは、各通信端末装置からデータを収集する場合、これら通信端末装置には、特定の通信相手すなわちデータ収集先の通信端末装置とデータ通信が可能であればよいことから、特定の通信相手以外の通信端末装置、例えば中継器にデータ中継を依頼する機能を備えていない場合がある。
したがって、このようなデータ通信システムにおいて、中継器を用いる場合には、通信端末装置の大幅な変更、さらには中継器を用いる新たなシステムを導入する必要があり、通信不能な一部の通信端末装置への対応のため膨大なコスト負担や作業負担が必要となるという問題点があった。
本発明はこのような課題を解決するためのものであり、比較的少ないコスト負担や作業負担で、通信可能エリアを拡大できる通信端末装置を提供することを目的としている。
【0007】
【課題を解決するための手段】
このような目的を達成するために、本発明にかかる通信端末装置は、予め個別のMACアドレスが付与された第1および第2の通信端末装置に接続されて、MACアドレスを用いたこれら装置間でのデータ通信を中継する通信端末装置において、送信先アドレスとして自装置のMACアドレスが付与されているとともに、送信元アドレスとして第1の通信端末装置のMACアドレスが付与されている第1のデータを受信した際は、送信先アドレスを第2の通信端末装置のMACアドレスに置換するとともに、送信元アドレスを第1の通信端末装置用の中継用MACアドレスに置換した後、当該データを送信し、送信先アドレスとして第1の通信端末装置の中継用MACアドレスが付与されているとともに、送信元アドレスとして第2の通信端末装置のMACアドレスが付与されている第2のデータを受信した際は、送信先アドレスを第1の通信端末装置のMACアドレスに置換するとともに、送信元アドレスを自装置のMACアドレスに置換した後、当該データを送信するデータ転送手段を備えるものである。
【0008】
中継用MACアドレスの管理については、第1の通信端末装置のMACアドレスを当該第1の通信端末装置に固有の管理情報と対応付けて管理するアドレス管理テーブルをさらに設け、データ転送手段で、第1のデータを受信した際、当該第1のデータの送信元アドレスを示すMACアドレスに対応する管理情報をアドレス管理テーブルから取得し、その管理情報により自装置のMACアドレスの一部を置換して中継用MACアドレスを生成し、第2のデータを受信した際、当該第2のデータの送信先アドレスを示すMACアドレスの一部から管理情報を取得するとともに、その管理情報に対応する第1の通信端末装置のMACアドレスをアドレス管理テーブルから取得するようにしてもよい。
【0009】
【発明の実施の形態】
次に、本発明の実施の形態について図面を参照して説明する。
まず、図1を参照して、本発明の一実施の形態にかかる通信端末装置について説明する。図1は本発明の一実施の形態にかかる通信端末装置の構成を示すブロック図である。
以下では、本実施の形態にかかる通信端末装置が用いられるデータ通信システムとして、複数の通信端末装置3A,3B,3C(以下、子機という)と1つの通信端末装置2(以下、親機という)とが無線回線を介してデータ通信を行うことにより、各子機3から親機2が各種データを収集するデータ通信システムを例として説明する。
【0010】
この通信端末装置1(以下、中継器という)は、中継対象となる子機3A,3Bおよび親機2の双方と、無線回線を介して通信可能な場所に設置される。この場合、子機3A,3Bは、本来、通信圏内であれば親機2とデータ通信が可能であるが、親機2と距離が離れているため(通信圏外)無線信号が減衰して、直接、親機2とデータ通信できないものとする。なお、子機3Cは親機2との距離が比較的短く(通信圏内)、直接、親機2とデータ通信できる。
【0011】
この中継器1には、制御部11、通信インターフェース部(以下、通信I/F部という)12、および記憶部13が設けられている。
制御部11は、CPUなどのマイクロプロセッサとその周辺回路からなり、記憶部13やCPU内部に予め格納されているプログラムを実行することにより、各種機能手段を実現する。
【0012】
この機能手段の1つとして、データ転送手段11Aがある。データ転送手段11は、中継対象となる子機3A,3Bからのデータを通信I/F部12で受信した場合、その送信先および送信元を示すMACアドレスを置換して通信I/F部12から親機2へ中継転送し、親機2からのデータを通信I/F部12で受信した場合、その送信先および送信元を示すMACアドレスを置換して通信I/F部12から子機3A,3Bへ中継転送する。
また、アドレス登録手段11Bは、中継対象となる子機3A,3BのMACアドレスの自装置に対する登録処理、および自装置および子機3A,3Bの中継用MACアドレスの親機2に対する登録処理を行う。
【0013】
通信I/F部12は、無線信号を送受信することにより、無線回線を介して子機3A,3Bおよび親機2と無線通信を行う回路部である。
記憶部13は、メモリやハードディスクなどの記憶装置からなり、子機3A,3Bの中継に用いるMACアドレスを管理するアドレス管理テーブル13Aのほか、自装置や親機2のMACアドレスなど、制御部11での処理に用いる各種情報を記憶する。メモリとしてCPUの内部メモリを用いてもよい。
表示部14は、LEDなどの表示器からなり、中継器1の動作状態を表示する回路部である。
操作入力部15は、DIPスイッチやキースイッチなどの操作スイッチからなり、各種操作入力を受け付けて制御部11へ出力する回路部である。
【0014】
このデータ通信システムでは、そのデータの送信元アドレスおよび送信先アドレスを示す情報として、MACアドレスを付与するものとなっている。図2に子機、親機および中継器の間で送受信されるデータの構成例を示す。このデータには、ヘッダ部51に、送信元装置を示す送信元MACアドレス52と送信先装置を示す送信先MACアドレスが記載される。また、データ部54には、子機3A〜3Cから親機2へ収集するデータなど各種データが記載される。
【0015】
本実施の形態におけるMAC(Media Access Control)アドレスは、通信回線(ネットワーク)に接続された各通信端末装置に固有のバイナリ情報であり、このMACアドレスを用いることにより対応する唯一の装置を特定できる。したがって、各装置間でデータ通信を行う場合には、送信元および送信先アドレスとして、それぞれ固有のMACアドレスを用いる必要がある。
各子機3A,3B,3C、親機2、および中継器1は、予め設定された自装置および通信相手のMACアドレスをデータに付与して送信する。また受信したデータのうち、送信先アドレスに自装置のMACアドレスが記載されている場合にのみ、そのデータが自装置宛のものと判断し、そのデータを取得して所定の処理を行うものとなっている。
【0016】
本実施の形態では、中継器1のデータ転送手段11Aにおいて、子機3A,3Bを中継する場合、これら子機3A,3Bごとに中継用MACアドレスを設けてアドレス管理テーブル13Aで管理し、子機3A,3Bから受信したデータについては、その送信先アドレスを親機2のMACアドレスに置換するとともに、その送信元アドレスを中継用MACアドレスに置換して親機2へ送信する。また、親機2から受信したデータについては、その送信先アドレスとして記載されている中継用MACアドレスに対応する子機のMACアドレスに置換するとともに、その送信元アドレスを中継器1のMACアドレスに置換して、子機3Aまたは子機3Bへ送信するようにしている。
これにより、子機3A,3Bに個別の中継用MACアドレスに基づき、親機2では、そのデータの本来の送信元子機を識別でき、中継器1では、そのデータの本来の送信先子機を識別できる。
【0017】
したがって、子機3A,3Bについては、通信相手として中継器1のMACアドレスを設定し、親機2については、通信相手として中継器1のMACアドレスおよび中継用MACアドレスを設定しておくだけで、子機3A,3Bから送信されたデータが中継器1により親機2へ中継転送されるとともに、親機2から送信されたデータが中継器1により子機3A,3Bへ中継転送される。なお、子機3Cには、従来と同様に、通信相手として親機2のMACアドレスを設定しておけばよい。
【0018】
また、本実施の形態では、図3に示すように、アドレス管理テーブル13Aで、中継対象となる子機3A,3BのMACアドレスを、各子機に固有の管理番号と対応付けて管理している。
データ転送手段11Aにおいて、子機3A,3Bからのデータを中継転送する場合には、そのデータの送信元アドレスから子機MACアドレスを取得し、その子機MACアドレスに対応する管理番号をアドレス管理テーブル13Aから取得する。そして、その管理番号で中継器1のMACアドレスの一部、例えば末尾桁を置換することにより、各子機3A,3Bに固有の中継用MACアドレスを生成している。
【0019】
また、親機2からのデータを中継転送する場合には、そのデータの送信先アドレスから中継用MACアドレスを取得し、その中継用MACアドレスの一部、例えば末尾桁から管理番号を取得し、その管理番号に対応する子機MACアドレスをアドレス管理テーブル13Aから取得している。
このように、中継器1で中継用MACアドレスを生成するようにしたので、中継対象となる子機が多数存在する場合でも、各子機の中継用MACアドレスを予め中継器1に設定する必要がなくなる。
【0020】
なお、図4に示すように、中継対象となる子機3A,3Bの中継用アドレスとして、これら子機3A,3Bごとに予め設定し、アドレス管理テーブル13Aで管理するようにしてもよい。
これにより、中継用MACアドレスの生成処理が不要となり、データ転送部11Aの処理を簡略化できる。
【0021】
次に、図5を参照して、本実施の形態にかかる通信端末装置の動作について説明する。図5は、本実施の形態にかかる通信端末装置の処理動作を示すシーケンス図である。
子機3Aから親機2へデータ(第1のデータ)を送信する場合、子機3Aは、自装置の通信相手として予め設定されている中継器1のMACアドレスを送信先アドレスとして当該データに付与するとともに、自装置のMACアドレスを送信元アドレスとして当該データに付与して送信する(ステップ100)。
【0022】
中継器1のデータ転送手段11Aは、通信I/F部12を介して子機3Aからのデータを受信し、そのデータの送信元アドレスに記載されている子機3AのMACアドレスを取得し、そのMACアドレスに対応する管理番号をアドレス管理テーブル13Aから取得する(ステップ101)。
次に、自装置のMACアドレスの末尾桁をその管理番号で置換することにより、子機3Aの中継用MACアドレスを生成する(ステップ102)。そして、そのデータの送信元アドレスを子機3Aの中継用MACアドレスで置換するとともに、送信先アドレスを親機2のMACアドレスで置換し(ステップ103)、アドレス置換後のデータを通信I/F部12から送信する。(ステップ104)。このようにして、子機3Aから送信されたデータが中継器1で親機2へ中継転送される。
【0023】
また、親機2から子機3Aへデータ(第2のデータ)を送信する場合、親機2は、子機3Aの中継用MACアドレスを送信先アドレスとして当該データに付与するとともに、自装置のMACアドレスを送信元アドレスとして当該データに付与して送信する(ステップ110)。
中継器1のデータ転送手段11Aは、通信I/F部12を介して親機2からのデータを受信し、そのデータの送信先アドレスに記載されている子機3Aの中継用MACアドレスかの末尾桁から管理番号を取得し(ステップ111)、その管理番号に対応する子機3AのMACアドレスをアドレス管理テーブル13Aから取得する(ステップ112)。
【0024】
そして、そのデータの送信先アドレスを子機3AのMACアドレスで置換するとともに、送信元アドレスを中継器1のMACアドレスで置換し(ステップ113)、アドレス置換後のデータを通信I/F部12から送信する。(ステップ114)。
このようにして、親機2から送信されたデータが中継器1で子機3Aへ中継転送される。
【0025】
次に、図6を参照して、子機および中継器のMACアドレス登録処理について説明する。図6はMACアドレス登録処理を示すシーケンス図である。
中継器1で子機3A,3Bを中継する場合、中継器1のアドレス管理テーブル13Aに対して子機3A,3BのMACアドレスを登録する必要がある。また、親機2のアドレス管理テーブル(図示せず)に対しても、中継器1および子機3A,3Bの中継用MACアドレスを登録する必要がある。これらMACアドレス登録については手作業で実施してもよいが、ここでは、登録処理として自動で中継器1のアドレス登録手段11Bが行う場合について説明する。
【0026】
まず、中継器1の制御部11は、操作入力部15からの登録受付開始操作に応じて(ステップ120)、中継対象子機3A,3Bからのアドレス登録受付を開始し、表示部14で受付中を示す表示を開始する(ステップ121)。この後、子機3Aでの登録操作に応じて(ステップ122)、子機3Aから登録要求が送信される(ステップ123)。
中継器1のアドレス登録手段11Bでは、子機3Aからの登録要求を通信I/F部12を介して受け取り、その登録要求に付与されている送信元アドレスから子機3AのMACアドレスを取得し、そのMACアドレスを固有の管理番号と対応付けてアドレス管理テーブル13Aへ登録する(ステップ124)。
【0027】
そして、登録完了を示す登録応答を通信I/F部12から子機3Aへ送信する(ステップ125)。この後、操作入力部15からの受付終了操作に応じて(ステップ126)、アドレス登録受付処理を終了し、表示部14で受付中を示す表示を終了する(ステップ127)。
次に、アドレス登録手段11Bは、自装置のMACアドレスを親機2に登録するための登録要求を通信I/F部12から親機2へ送信する(ステップ130)。親機2は、この登録要求に応じて、その登録要求に付与されている中継器1のMACアドレスを、親機2のアドレス管理テーブル(図示せず)に登録し(ステップ131)、登録完了を示す登録応答を中継器1へ送信する(ステップ132)。
【0028】
これに応じて、中継器1のアドレス登録手段11Bは、アドレス管理テーブル13Aに登録された子機3AのMACアドレスに対応する管理番号と自装置のMACアドレスとから、子機3Aの中継用MACアドレスを生成し(ステップ133)、この中継用MACアドレスを親機2に登録するための登録要求を通信I/F部12から親機2へ送信する(ステップ134)。親機2は、この登録要求に応じて、その登録要求に付与されている子機3Aの中継用MACアドレスを、親機2のアドレス管理テーブル(図示せず)に登録し(ステップ135)、登録完了を示す登録応答を中継器1へ送信する(ステップ136)。
【0029】
これに応じて、中継器1のアドレス登録手段11Bは、親機2での登録結果を表示部14で表示し、一連のアドレス登録処理を終了する。
このようにして、中継器1のアドレス登録手段11Bで、子機MACアドレスの中継器1に対する登録と、中継器MACアドレスおよび子機中継用MACアドレスの親機2に対する登録とを自動的に行うようにしたので、中継器1の追加に伴う中継器1および親機2での煩雑なMACアドレス登録の作業負担を軽減できる。
【0030】
なお、以上では、中継器1として、中継転送専用の通信端末装置を用いた場合を例として説明したが、データを親機2へ送信する子機3A〜3Cに、データ中継転送機能として、データ転送手段11Aやアドレス管理テーブル13Aを設けて、子機3A〜3Cのいずれかまたは全部で中継器1の機能を兼用してもよい。
【0031】
また、以上では、各子機からのデータを無線回線を介して親機へ収集するデータ通信システムを例として説明したが、これに限定されるものではない。例えば、子機、親機、および中継器の間で用いるデータ通信手段としては、無線通信ではなく有線通信など他のデータ通信手段を用いてもよく、前述と同様の作用効果が得られる。また、子機のデータを親機で収集するのではなく、2つの通信端末装置間で所望のデータをやり取りする場合、あるいは親機から各子機へデータを配信する場合にも、本発明を適用でき、前述と同様の作用効果が得られる。
【0032】
【発明の効果】
以上説明したように、本発明は、データ転送手段において、送信先アドレスとして自装置のMACアドレスが付与されているとともに、送信元アドレスとして第1の通信端末装置のMACアドレスが付与されている第1のデータを受信した際は、送信先アドレスを第2の通信端末装置のMACアドレスに置換するとともに、送信元アドレスを第1の通信端末装置用の中継用MACアドレスに置換した後、当該データを送信し、送信先アドレスとして第1の通信端末装置の中継用MACアドレスが付与されているとともに、送信元アドレスとして第2の通信端末装置のMACアドレスが付与されている第2のデータを受信した際は、送信先アドレスを第1の通信端末装置のMACアドレスに置換するとともに、送信元アドレスを自装置のMACアドレスに置換した後、当該データを送信するようにしたものである。
【0033】
これにより、中継対象となる第1の通信端末装置については、通信相手として中継器となる通信端末装置のMACアドレスを設定しておくとともに、第2の通信端末装置については、通信相手として第1の通信端末装置の中継用MACアドレスを設定しておくだけで、これら第1の通信端末装置から送信されたデータが中継器となる通信端末装置で第2の通信端末装置へ中継転送されるとともに、第2の通信端末装置から送信されたデータが中継器となる通信端末装置により第1の通信端末装置へ中継転送される。
このため、中継器となる通信端末装置を追加するという比較的少ないコスト負担と、各通信端末装置のMACアドレスを設定するという軽微な作業負担で、既存のデータ通信システムの通信可能エリアを容易に拡大できるとともに、データ通信システムを柔軟に構築できる。
【図面の簡単な説明】
【図1】 本発明の一実施の形態にかかる通信端末装置の構成を示すブロック図である。
【図2】 子機、親機および中継器で送受信されるデータの構成例である。
【図3】 アドレス管理テーブルの構成例である。
【図4】 アドレス管理テーブルの他の構成例である。
【図5】 データ中継転送処理を示すシーケンス図である。
【図6】 MACアドレス登録処理を示すシーケンス図である。
【符号の説明】
1…中継器(通信端末装置)、11…制御部、11A…データ転送手段、11B…アドレス登録手段、12…通信I/F部、13…記憶部、13A…アドレス管理テーブル、14…表示部、15…操作入力部、2…親機(通信端末装置)、3A,3B,3C…子機(通信端末装置)。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a communication terminal device, and more particularly to a communication terminal device used in a data communication system including a plurality of communication terminal devices connected to each other via a wired line or a wireless line.
[0002]
[Prior art]
As a data communication system including a plurality of communication terminal devices connected to each other via a communication line such as a wired line or a wireless line, there is a system that collects data acquired by each communication terminal apparatus into one communication terminal apparatus. (See, for example, Patent Document 1).
[0003]
In such a communication system, there may be a case where communication connection between devices may be impossible due to attenuation of a communication signal or noise interference between communication terminal devices capable of direct data communication through a communication line. For example, when a new communication terminal device is added to a relatively distant place in the existing data communication system or the communication environment of the existing communication terminal device deteriorates, communication connection becomes impossible.
In such a case, a method of providing a repeater and relaying data communication between these devices can be considered.
[0004]
The applicant has not yet found prior art documents related to the present invention by the time of filing other than the prior art documents specified by the prior art document information described in this specification.
[0005]
[Patent Document 1]
JP-A-11-168777 [0006]
[Problems to be solved by the invention]
In such a conventional data communication system, when data is collected from each communication terminal device, these communication terminal devices need only be capable of data communication with a specific communication partner, that is, a data collection destination communication terminal device. Therefore, there is a case where a communication terminal device other than a specific communication partner, for example, a function of requesting data relay to a repeater is not provided.
Therefore, in such a data communication system, when a repeater is used, it is necessary to introduce a significant change of the communication terminal device and a new system using the repeater. There is a problem in that enormous cost burden and work burden are required to cope with the apparatus.
The present invention has been made to solve such problems, and an object of the present invention is to provide a communication terminal apparatus capable of expanding a communicable area with relatively little cost burden and work burden.
[0007]
[Means for Solving the Problems]
In order to achieve such an object, a communication terminal device according to the present invention is connected to first and second communication terminal devices to which individual MAC addresses are assigned in advance, and between these devices using a MAC address. In the communication terminal device that relays the data communication in the first data, the MAC address of the own device is assigned as the transmission destination address, and the first data is assigned the MAC address of the first communication terminal device as the transmission source address Is received, the transmission destination address is replaced with the MAC address of the second communication terminal device, the transmission source address is replaced with the relay MAC address for the first communication terminal device, and then the data is transmitted. The MAC address for relay of the first communication terminal device is given as the transmission destination address, and the second communication terminal as the transmission source address When the second data to which the MAC address of the device is assigned is received, the transmission destination address is replaced with the MAC address of the first communication terminal device, and the transmission source address is replaced with the MAC address of the own device. And a data transfer means for transmitting the data.
[0008]
For the management of the relay MAC address, an address management table for managing the MAC address of the first communication terminal device in association with the management information unique to the first communication terminal device is further provided. When the first data is received, management information corresponding to the MAC address indicating the source address of the first data is obtained from the address management table, and a part of the MAC address of the own device is replaced by the management information. When the relay MAC address is generated and the second data is received, the management information is acquired from a part of the MAC address indicating the transmission destination address of the second data, and the first corresponding to the management information is obtained. You may make it acquire the MAC address of a communication terminal device from an address management table.
[0009]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described with reference to the drawings.
First, a communication terminal device according to an embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram showing a configuration of a communication terminal apparatus according to an embodiment of the present invention.
Hereinafter, as a data communication system in which the communication terminal device according to the present embodiment is used, a plurality of communication terminal devices 3A, 3B, 3C (hereinafter referred to as slave units) and one communication terminal device 2 (hereinafter referred to as a master unit). And a data communication system in which the parent device 2 collects various data from each child device 3 by performing data communication via a wireless line.
[0010]
This communication terminal device 1 (hereinafter referred to as a repeater) is installed in a place where it can communicate with both of the slave units 3A and 3B and the master unit 2 to be relayed via a wireless line. In this case, the slave units 3A and 3B are originally capable of data communication with the master unit 2 within the communication range, but the radio signal is attenuated because the base unit 2 is far away (out of the communication range), It is assumed that data communication with the base unit 2 cannot be performed directly. The handset 3C has a relatively short distance from the base unit 2 (communication range) and can directly perform data communication with the base unit 2.
[0011]
The repeater 1 includes a control unit 11, a communication interface unit (hereinafter referred to as a communication I / F unit) 12, and a storage unit 13.
The control unit 11 includes a microprocessor such as a CPU and its peripheral circuits, and implements various functional units by executing a program stored in advance in the storage unit 13 or the CPU.
[0012]
One of the functional means is a data transfer means 11A. When the communication I / F unit 12 receives data from the slave units 3A and 3B to be relayed, the data transfer unit 11 replaces the MAC address indicating the transmission destination and the transmission source and replaces the communication I / F unit 12 When the communication I / F unit 12 receives data from the base unit 2 by relay transfer from the base unit 2 to the base unit 2, the communication I / F unit 12 replaces the MAC address indicating the transmission destination and the transmission source. Relay transfer to 3A, 3B.
Further, the address registration unit 11B performs a registration process for the MAC addresses of the slave devices 3A and 3B to be relayed to the own device, and a registration process for the relay device MAC addresses of the own device and the slave devices 3A and 3B to the master device 2. .
[0013]
The communication I / F unit 12 is a circuit unit that performs wireless communication with the child devices 3A and 3B and the parent device 2 through a wireless line by transmitting and receiving wireless signals.
The storage unit 13 includes a storage device such as a memory and a hard disk. The control unit 11 includes an address management table 13A for managing MAC addresses used for relaying the slave units 3A and 3B, and the control unit 11 such as the MAC address of the own device and the master unit 2. Various types of information used for the processing in is stored. An internal memory of the CPU may be used as the memory.
The display unit 14 includes a display device such as an LED, and is a circuit unit that displays an operation state of the repeater 1.
The operation input unit 15 includes operation switches such as DIP switches and key switches, and is a circuit unit that receives various operation inputs and outputs them to the control unit 11.
[0014]
In this data communication system, a MAC address is given as information indicating a transmission source address and a transmission destination address of the data. FIG. 2 shows a configuration example of data transmitted and received between the slave unit, the master unit, and the repeater. In this data, a header portion 51 describes a transmission source MAC address 52 indicating a transmission source device and a transmission destination MAC address indicating a transmission destination device. In the data portion 54, various data such as data collected from the slave units 3A to 3C to the master unit 2 are described.
[0015]
The MAC (Media Access Control) address in the present embodiment is binary information unique to each communication terminal device connected to a communication line (network), and a unique device can be specified by using this MAC address. . Therefore, when performing data communication between devices, it is necessary to use unique MAC addresses as the source and destination addresses.
Each of the slave units 3A, 3B, 3C, the master unit 2, and the repeater 1 transmits the MAC address of the own device and the communication partner set in advance to the data. Also, among the received data, only when the MAC address of the own device is described in the transmission destination address, it is determined that the data is destined for the own device, the data is acquired, and predetermined processing is performed. It has become.
[0016]
In this embodiment, when relaying the slave units 3A and 3B in the data transfer means 11A of the repeater 1, a relay MAC address is provided for each of the slave units 3A and 3B and managed by the address management table 13A. For the data received from the machines 3A and 3B, the transmission destination address is replaced with the MAC address of the parent machine 2, and the transmission source address is replaced with the relay MAC address and transmitted to the parent machine 2. In addition, the data received from the base unit 2 is replaced with the MAC address of the slave unit corresponding to the relay MAC address described as the destination address, and the source address is changed to the MAC address of the relay unit 1. It replaces and it transmits to the subunit | mobile_unit 3A or the subunit | mobile_unit 3B.
Thereby, based on the individual relay MAC addresses for the slave units 3A and 3B, the master unit 2 can identify the original transmission slave unit of the data, and the relay unit 1 can identify the original transmission destination slave unit of the data. Can be identified.
[0017]
Therefore, for the slave units 3A and 3B, the MAC address of the repeater 1 is set as the communication partner, and for the master unit 2, the MAC address and the relay MAC address of the repeater 1 are set as the communication partner. The data transmitted from the slave units 3A and 3B is relay-transferred to the master unit 2 by the repeater 1, and the data transmitted from the master unit 2 is relay-transferred to the slave units 3A and 3B by the repeater 1. In the slave unit 3C, the MAC address of the master unit 2 may be set as a communication partner as in the conventional case.
[0018]
Further, in the present embodiment, as shown in FIG. 3, the MAC address of the slave units 3A and 3B to be relayed is managed in the address management table 13A in association with the management number unique to each slave unit. Yes.
When the data transfer means 11A relays and transfers data from the slave units 3A and 3B, the slave unit MAC address is acquired from the transmission source address of the data, and the management number corresponding to the slave unit MAC address is assigned to the address management table. Obtained from 13A. Then, by substituting a part of the MAC address of the repeater 1, for example, the last digit, with the management number, a relay MAC address unique to each of the slave units 3A and 3B is generated.
[0019]
Further, when relaying and transferring data from the base unit 2, the relay MAC address is acquired from the transmission destination address of the data, the management number is acquired from a part of the relay MAC address, for example, the last digit, The slave MAC address corresponding to the management number is acquired from the address management table 13A.
As described above, since the relay MAC address is generated by the repeater 1, it is necessary to set the relay MAC address of each slave unit in the repeater 1 in advance even when there are many slave units to be relayed. Disappears.
[0020]
As shown in FIG. 4, the relay addresses of the slave units 3A and 3B to be relayed may be set in advance for each of the slave units 3A and 3B and managed by the address management table 13A.
As a result, the generation process of the relay MAC address becomes unnecessary, and the process of the data transfer unit 11A can be simplified.
[0021]
Next, with reference to FIG. 5, operation | movement of the communication terminal device concerning this Embodiment is demonstrated. FIG. 5 is a sequence diagram showing processing operations of the communication terminal device according to the present embodiment.
When transmitting data (first data) from the slave unit 3A to the master unit 2, the slave unit 3A uses the MAC address of the repeater 1 set in advance as a communication partner of its own device as the transmission destination address in the data. At the same time, the MAC address of the device itself is assigned to the data as a transmission source address and transmitted (step 100).
[0022]
The data transfer means 11A of the repeater 1 receives data from the slave unit 3A via the communication I / F unit 12, acquires the MAC address of the slave unit 3A described in the transmission source address of the data, A management number corresponding to the MAC address is acquired from the address management table 13A (step 101).
Next, the relay MAC address of the slave unit 3A is generated by replacing the last digit of the MAC address of the own device with the management number (step 102). Then, the transmission source address of the data is replaced with the relay MAC address of the child device 3A, the transmission destination address is replaced with the MAC address of the parent device 2 (step 103), and the data after the address replacement is transmitted to the communication I / F. Transmit from unit 12. (Step 104). In this way, data transmitted from the slave unit 3A is relayed and transferred to the master unit 2 by the repeater 1.
[0023]
Further, when transmitting data (second data) from the parent device 2 to the child device 3A, the parent device 2 assigns the relay MAC address of the child device 3A as the transmission destination address to the data, The MAC address is added to the data as a source address and transmitted (step 110).
The data transfer means 11A of the repeater 1 receives the data from the master unit 2 via the communication I / F unit 12, and determines whether the relay MAC address of the slave unit 3A described in the transmission destination address of the data. A management number is acquired from the last digit (step 111), and the MAC address of the slave unit 3A corresponding to the management number is acquired from the address management table 13A (step 112).
[0024]
Then, the transmission destination address of the data is replaced with the MAC address of the slave unit 3A, the transmission source address is replaced with the MAC address of the repeater 1 (step 113), and the data after the address replacement is replaced with the communication I / F unit 12 Send from. (Step 114).
In this way, data transmitted from the parent device 2 is relayed and transferred to the child device 3A by the relay device 1.
[0025]
Next, with reference to FIG. 6, the MAC address registration process of a subunit | mobile_unit and a repeater is demonstrated. FIG. 6 is a sequence diagram showing the MAC address registration process.
When the relay device 1 relays the slave devices 3A and 3B, it is necessary to register the MAC addresses of the slave devices 3A and 3B in the address management table 13A of the relay device 1. Also, it is necessary to register the relay MAC addresses of the repeater 1 and the slave units 3A and 3B in the address management table (not shown) of the master unit 2. Although these MAC address registrations may be performed manually, a case will be described here where the address registration unit 11B of the repeater 1 automatically performs the registration process.
[0026]
First, the control unit 11 of the repeater 1 starts address registration reception from the relay target slave units 3A and 3B in response to the registration reception start operation from the operation input unit 15 (step 120), and is received by the display unit 14. The display showing the inside is started (step 121). Thereafter, in response to the registration operation in the slave unit 3A (step 122), a registration request is transmitted from the slave unit 3A (step 123).
The address registration means 11B of the repeater 1 receives the registration request from the slave unit 3A via the communication I / F unit 12, and acquires the MAC address of the slave unit 3A from the transmission source address given to the registration request. The MAC address is associated with the unique management number and registered in the address management table 13A (step 124).
[0027]
Then, a registration response indicating registration completion is transmitted from the communication I / F unit 12 to the child device 3A (step 125). Thereafter, in response to a reception end operation from the operation input unit 15 (step 126), the address registration reception process is ended, and the display indicating that the reception is being performed on the display unit 14 is ended (step 127).
Next, the address registration unit 11B transmits a registration request for registering the MAC address of its own device to the parent device 2 from the communication I / F unit 12 to the parent device 2 (step 130). In response to this registration request, base unit 2 registers the MAC address of repeater 1 assigned to the registration request in the address management table (not shown) of base unit 2 (step 131), and the registration is completed. Is sent to the repeater 1 (step 132).
[0028]
In response to this, the address registration means 11B of the repeater 1 uses the management number corresponding to the MAC address of the slave unit 3A registered in the address management table 13A and the MAC address of the own device 3A for relaying the slave unit 3A. An address is generated (step 133), and a registration request for registering the MAC address for relay in the base unit 2 is transmitted from the communication I / F unit 12 to the base unit 2 (step 134). In response to this registration request, the base unit 2 registers the relay MAC address of the slave unit 3A given to the registration request in the address management table (not shown) of the base unit 2 (step 135), A registration response indicating the completion of registration is transmitted to the repeater 1 (step 136).
[0029]
In response to this, the address registration unit 11B of the repeater 1 displays the registration result in the base unit 2 on the display unit 14, and ends a series of address registration processing.
In this way, the address registration unit 11B of the repeater 1 automatically performs registration of the slave unit MAC address with respect to the repeater 1 and registration of the repeater MAC address and slave unit relay MAC address with respect to the master unit 2. Since it did in this way, the work burden of complicated MAC address registration in the repeater 1 and the main | base station 2 accompanying the addition of the repeater 1 can be reduced.
[0030]
In the above description, a case where a communication terminal device dedicated to relay transfer is used as the repeater 1 has been described as an example. However, the slave units 3A to 3C that transmit data to the master unit 2 have a data relay transfer function as a data relay transfer function. The transfer unit 11A and the address management table 13A may be provided, and the function of the repeater 1 may be shared by any or all of the slave units 3A to 3C.
[0031]
In the above description, the data communication system that collects data from each slave unit to the master unit via a wireless line has been described as an example. However, the present invention is not limited to this. For example, as the data communication means used between the child device, the parent device, and the repeater, other data communication means such as wired communication may be used instead of wireless communication, and the same effect as described above can be obtained. The present invention is also applicable to a case where desired data is exchanged between two communication terminal devices, instead of collecting data of the child device at the parent device, or when data is distributed from the parent device to each child device. It can be applied and the same effects as described above can be obtained.
[0032]
【The invention's effect】
As described above, according to the present invention, in the data transfer means, the MAC address of the own device is assigned as the transmission destination address, and the MAC address of the first communication terminal device is assigned as the transmission source address. When the data of 1 is received, the transmission destination address is replaced with the MAC address of the second communication terminal device, and the transmission source address is replaced with the relay MAC address for the first communication terminal device. And the second data having the MAC address of the first communication terminal device as the transmission destination address and the MAC address of the second communication terminal device as the transmission source address is received. The transmission destination address is replaced with the MAC address of the first communication terminal device, and the transmission source address is changed to the MAC address of the own device. After replacing the dress, in which so as to transmit the data.
[0033]
Thereby, for the first communication terminal device to be relayed, the MAC address of the communication terminal device to be the relay is set as the communication partner, and for the second communication terminal device, the first communication terminal device is to be the first communication terminal device. By simply setting the relay MAC address of the communication terminal device, the data transmitted from the first communication terminal device is relayed and transferred to the second communication terminal device by the communication terminal device serving as a repeater. The data transmitted from the second communication terminal apparatus is relayed and transferred to the first communication terminal apparatus by the communication terminal apparatus serving as a repeater.
For this reason, the communicable area of the existing data communication system can be easily achieved with a relatively low cost burden of adding a communication terminal device as a repeater and a light work burden of setting the MAC address of each communication terminal device. It can be expanded and a data communication system can be flexibly constructed.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a communication terminal apparatus according to an embodiment of the present invention.
FIG. 2 is a configuration example of data transmitted / received by a slave unit, a master unit, and a repeater.
FIG. 3 is a configuration example of an address management table.
FIG. 4 is another configuration example of the address management table.
FIG. 5 is a sequence diagram illustrating a data relay transfer process.
FIG. 6 is a sequence diagram showing a MAC address registration process.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Relay device (communication terminal device) 11 ... Control part, 11A ... Data transfer means, 11B ... Address registration means, 12 ... Communication I / F part, 13 ... Memory | storage part, 13A ... Address management table, 14 ... Display part , 15 ... operation input unit, 2 ... master unit (communication terminal device), 3A, 3B, 3C ... slave unit (communication terminal device).

Claims (2)

予め個別のMACアドレスが付与された第1および第2の通信端末装置に接続されて、前記MACアドレスを用いたこれら装置間でのデータ通信を中継する通信端末装置において、
送信先アドレスとして自装置のMACアドレスが付与されているとともに、送信元アドレスとして前記第1の通信端末装置のMACアドレスが付与されている第1のデータを受信した際は、前記送信先アドレスを前記第2の通信端末装置のMACアドレスに置換するとともに、前記送信元アドレスを前記第1の通信端末装置用の中継用MACアドレスに置換した後、当該データを送信し、送信先アドレスとして前記第1の通信端末装置の中継用MACアドレスが付与されているとともに、送信元アドレスとして前記第2の通信端末装置のMACアドレスが付与されている第2のデータを受信した際は、前記送信先アドレスを前記第1の通信端末装置のMACアドレスに置換するとともに、前記送信元アドレスを自装置のMACアドレスに置換した後、当該データを送信するデータ転送手段を備えることを特徴とする通信端末装置。
In a communication terminal device that is connected to first and second communication terminal devices to which individual MAC addresses are assigned in advance and relays data communication between these devices using the MAC address,
When receiving the first data in which the MAC address of the own device is given as the transmission destination address and the MAC address of the first communication terminal device is given as the transmission source address, the transmission destination address is The MAC address of the second communication terminal device is replaced and the transmission source address is replaced with the relay MAC address for the first communication terminal device, and then the data is transmitted, and the first address is used as the transmission destination address. When receiving the second data to which the MAC address of the second communication terminal device is assigned as the transmission source address and the relay MAC address of one communication terminal device is assigned, the transmission destination address Is replaced with the MAC address of the first communication terminal device, and the source address is replaced with the MAC address of the own device. After the communication terminal apparatus comprising: a data transfer means for transmitting the data.
請求項1において、
前記第1の通信端末装置のMACアドレスを当該第1の通信端末装置に固有の管理情報と対応付けて管理するアドレス管理テーブルをさらに備え、
前記データ転送手段は、
前記第1のデータを受信した際、当該第1のデータの送信元アドレスを示すMACアドレスに対応する管理情報を前記アドレス管理テーブルから取得し、その管理情報により自装置のMACアドレスの一部を置換して前記中継用MACアドレスを生成し、前記第2のデータを受信した際、当該第2のデータの送信先アドレスを示すMACアドレスの一部から管理情報を取得するとともに、その管理情報に対応する前記第1の通信端末装置のMACアドレスを前記アドレス管理テーブルから取得することを特徴とする通信端末装置。
In claim 1,
An address management table for managing the MAC address of the first communication terminal device in association with management information unique to the first communication terminal device;
The data transfer means includes
When the first data is received, management information corresponding to a MAC address indicating a transmission source address of the first data is acquired from the address management table, and a part of the MAC address of the own device is obtained by the management information. When generating the relay MAC address and receiving the second data, the management information is acquired from a part of the MAC address indicating the transmission destination address of the second data, and the management information A communication terminal apparatus that acquires a MAC address of the corresponding first communication terminal apparatus from the address management table.
JP2003158062A 2003-06-03 2003-06-03 Communication terminal device Expired - Fee Related JP4042632B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003158062A JP4042632B2 (en) 2003-06-03 2003-06-03 Communication terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003158062A JP4042632B2 (en) 2003-06-03 2003-06-03 Communication terminal device

Publications (2)

Publication Number Publication Date
JP2004363784A JP2004363784A (en) 2004-12-24
JP4042632B2 true JP4042632B2 (en) 2008-02-06

Family

ID=34051594

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003158062A Expired - Fee Related JP4042632B2 (en) 2003-06-03 2003-06-03 Communication terminal device

Country Status (1)

Country Link
JP (1) JP4042632B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4581791B2 (en) * 2005-03-30 2010-11-17 サクサ株式会社 Telephone system and radio base station apparatus
JP5760175B2 (en) * 2011-03-23 2015-08-05 パナソニックIpマネジメント株式会社 Wireless communication system, relay device and relay device program, wireless terminal and wireless terminal program
US9510271B2 (en) * 2012-08-30 2016-11-29 Qualcomm Incorporated Systems, apparatus, and methods for address format detection
JP6260346B2 (en) * 2014-02-26 2018-01-17 住友電気工業株式会社 Power measurement device, terminal device, power measurement system, communication control method, and communication control program
JP6109990B1 (en) * 2016-03-31 2017-04-05 西日本電信電話株式会社 Web authentication compatible repeater

Also Published As

Publication number Publication date
JP2004363784A (en) 2004-12-24

Similar Documents

Publication Publication Date Title
CN101610513B (en) Wireless communication system, wireless LAN connection device and relay device
EP1223715A1 (en) Temporary master-slave switching in a Piconet in a Bluetooth communication system
JP3945963B2 (en) Access point device
JP5621510B2 (en) Mobile router information management server, mobile router, mobile router network, and communication method thereof
JPH098828A (en) Address allocating method, radio terminal equipment and radio network using the method
JP4345565B2 (en) Mobile router, location management server, mobile network management system, and mobile network management method
EP2383935B1 (en) Wireless network setup and configuration distribution
CN100361471C (en) Address dynamic assignment system, method and device
JP7187849B2 (en) Data collection system and data collection method
CN100391185C (en) Wireless network device and method for reassociation bwteen wireless networks using the wireless network device
JP2003078535A (en) Mac address managing method in wireless lan, mac address managing program for wireless lan, recording medium with the same program recorded, fixed station for wireless lan and wireless lan system
JP4042632B2 (en) Communication terminal device
JP4269789B2 (en) Wireless terminal device
JP4893710B2 (en) Wireless terminal device
JP2007199761A (en) Radio telemeter system
JP2006197060A (en) Wireless network system and wireless setting information setting method in wireless network system
JP2003249891A (en) Digital broadcast radio system
JP2012199730A (en) Radio relay device, virtual machine generation server, radio relay method, and virtual machine generation method
JP6234848B2 (en) Wireless communication system, wireless communication device, and wireless device
JP5613104B2 (en) RADIO COMMUNICATION SYSTEM, INFORMATION MANAGEMENT DEVICE, AND INFORMATION MANAGEMENT DEVICE PROGRAM
JP5340082B2 (en) Signal relay apparatus and signal relay method
JP6950048B2 (en) Communications system
KR101744307B1 (en) Method for registering mobile ip using time information synchronization and wireless internet modem therefor
CN111372328B (en) Data communication method, device, equipment and computer readable storage medium
WO2007105484A1 (en) Communication apparatus connection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051028

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071011

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071105

R150 Certificate of patent or registration of utility model

Ref document number: 4042632

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20101122

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111122

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121122

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20131122

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees