JPH11275119A - Terminal communication address overlap detection method and device therefor - Google Patents

Terminal communication address overlap detection method and device therefor

Info

Publication number
JPH11275119A
JPH11275119A JP10070659A JP7065998A JPH11275119A JP H11275119 A JPH11275119 A JP H11275119A JP 10070659 A JP10070659 A JP 10070659A JP 7065998 A JP7065998 A JP 7065998A JP H11275119 A JPH11275119 A JP H11275119A
Authority
JP
Japan
Prior art keywords
terminal
address
identification information
terminal identification
network
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
JP10070659A
Other languages
Japanese (ja)
Inventor
Toru Kobayashi
徹 小林
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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC 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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP10070659A priority Critical patent/JPH11275119A/en
Publication of JPH11275119A publication Critical patent/JPH11275119A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To easily specify the terminal equipments whose address overlap by checking the presence/absence of the overlap of communication addresses without using a network test dedicated device. SOLUTION: A host device 2 transmits a terminal identification information request message onto a network 3 with a broadcast address as a transmission destination address. The respective terminal equipments 1-1-1-n which receive the request message respectively transmit response messages to which their own terminal identification information is set onto the network 3 with the communication address of the host device 2 as the transmission destination address. The host device 2 which receives the response message stores the terminal identification information in the response messages and transmission origin addresses in correspondence. Then, when fixed time elapses after transmitting the request message, the presence/absence of the overlap of the transmission origin addresses stored corresponding to the terminal identification information are judged, and in the case that the overlap is present, the terminal identification information corresponding to the overlapping transmission origin address is notified.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワーク媒体
に例えばイーサネット(Ethernet)を用いたTPC/I
P(Transmission Control Protocol/Internet Protoco
l )ネットワークによってホスト装置に接続された各タ
ーミナル装置に任意に設定される通信アドレス,いわゆ
るIP(Internet Protocol )アドレスの重複検出方法
及びその装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a TPC / I using, for example, Ethernet as a network medium.
P (Transmission Control Protocol / Internet Protoco
l) The present invention relates to a method for detecting duplication of a communication address arbitrarily set to each terminal device connected to a host device via a network, that is, a so-called IP (Internet Protocol) address and its device.

【0002】[0002]

【従来の技術】ネットワークにより複数台のターミナル
装置をこれらターミナル装置を制御するホスト装置に接
続してなるシステムにおいて、ネットワークとしてネッ
トワーク媒体にイーサネットを用いたTPC/IPネッ
トワークを使用したシステムは、近年、POS(Point
Of Sales)システム等に利用されている。このTPC/
IPネットワークを使用したネットワークシステムにお
いては、システム利用者が各ターミナル装置にIPアド
レスと称する通信アドレスを任意に設定してシステムを
構築することとなる。この場合において、誤って複数の
ターミナル装置に重複した通信アドレスを設定してしま
うと、通常は正常な通信が行えなくなる。そこで従来
は、LAN(Local Area Network)アナライザ等のネッ
トワークテスト専用装置を利用して重複している通信ア
ドレスの有無を調べていた。
2. Description of the Related Art In a system in which a plurality of terminal devices are connected to a host device for controlling these terminal devices by a network, a system using a TPC / IP network using Ethernet as a network medium has recently been developed. POS (Point
Of Sales) system. This TPC /
In a network system using an IP network, a system user constructs a system by arbitrarily setting a communication address called an IP address in each terminal device. In this case, if a duplicate communication address is set to a plurality of terminal devices by mistake, normal communication cannot be normally performed. Therefore, conventionally, the presence or absence of a duplicate communication address has been examined using a dedicated device for network test such as a LAN (Local Area Network) analyzer.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来は
通信アドレスの重複調査のためにネットワークテスト専
用装置を利用しなければならず、このネットワークテス
ト専用装置は高価である上、調査を実行するためにはネ
ットワークテスト専用装置をネットワークに接続して作
動させなければならないという面倒な作業が要求されて
いた。また、通信アドレスが重複していることはわかっ
ても、通信アドレスが重複して設定されたターミナル装
置を特定する作業が煩雑になっていた。
However, conventionally, a dedicated network test device must be used to check for duplication of communication addresses, and this dedicated network test device is expensive and requires a large amount of time to execute the check. Had to perform the troublesome work of connecting and operating a dedicated network test device to the network. Further, although it is known that the communication addresses are duplicated, the operation of specifying the terminal device set with the duplicated communication addresses has been complicated.

【0004】そこで本発明は、ネットワークテスト専用
装置を用いることなく簡単にかつ短時間で通信アドレス
の重複有無を調査できるとともに、通信アドレスが重複
して設定されたターミナル装置を容易に特定することが
できるターミナル通信アドレス重複検出方法及びその装
置を提供しようとするものである。
Therefore, the present invention can easily and quickly check for duplication of communication addresses without using a dedicated device for network test, and easily identify a terminal device set with duplicate communication addresses. It is an object of the present invention to provide a terminal communication address duplication detection method and apparatus capable of the same.

【0005】[0005]

【課題を解決するための手段】本願請求項1記載の発明
は、ネットワークにより複数のターミナル装置とこれら
各ターミナル装置を制御するホスト装置とを接続してな
り、各ターミナル装置には予め固有のターミナル識別情
報が設定されているシステムにおいて、各ターミナル装
置にそれぞれ任意に付与される通信アドレスが重複して
いるか検出する方法であって、先ず、ホスト装置がター
ミナル識別情報の要求伝文をブロードキャストアドレス
を送信先アドレスとしてネットワーク上に送信する。次
に、この要求伝文を受信した各ターミナル装置がそれぞ
れ自己のターミナル識別情報を設定した応答伝文をホス
ト装置の通信アドレスを送信先アドレスとしてネットワ
ーク上に送信する。次に、この応答伝文を受信したホス
ト装置がその応答伝文中のターミナル識別情報と送信元
アドレスとを対応付けて記憶する。そして、要求伝文を
送信してから一定時間が経過すると、各ターミナル装置
のターミナル識別情報に対応して記憶した送信元アドレ
スの重複有無を判定して、重複有りの場合にはその重複
している送信元アドレスに対応するターミナル識別情報
を告知するようにしたものである。ここで、ホスト装置
から各ターミナル装置宛に送信されるターミナル識別情
報要求伝文はブロードキャストアドレスを送信先アドレ
スとしており、各ターミナル装置からホスト装置宛に送
信される応答伝文はホスト装置の通信アドレスを送信先
アドレスとしているので、たとえターミナル装置間で通
信アドレスが重複していても通信が可能である。
According to a first aspect of the present invention, a plurality of terminal devices and a host device for controlling each of the terminal devices are connected by a network, and each terminal device has a unique terminal in advance. In a system in which identification information is set, a method for detecting whether or not communication addresses arbitrarily assigned to terminal devices are duplicated. First, a host device transmits a request message for terminal identification information to a broadcast address. Send on the network as the destination address. Next, each terminal device that has received the request message transmits a response message in which its own terminal identification information is set, to the network using the communication address of the host device as the destination address. Next, the host device that has received the response message stores the terminal identification information and the transmission source address in the response message in association with each other. When a certain period of time has passed since the transmission of the request message, the presence / absence of the transmission source address stored in correspondence with the terminal identification information of each terminal device is determined. In this case, the terminal identification information corresponding to the transmission source address is notified. Here, the terminal identification information request message transmitted from the host device to each terminal device has a broadcast address as the destination address, and the response message transmitted from each terminal device to the host device is the communication address of the host device. Is used as the destination address, communication is possible even if the communication addresses are duplicated between the terminal devices.

【0006】本願請求項2記載の発明は、ネットワーク
により複数のターミナル装置とこれら各ターミナル装置
を制御するホスト装置とを接続してなり、各ターミナル
装置には予め固有のターミナル識別情報が設定されてい
るシステムにおいて、各ターミナル装置にそれぞれ任意
に付与される通信アドレスが重複しているか検出する装
置であって、各ターミナル装置に、ネットワークを通じ
てターミナル識別情報の要求伝文を受信すると自己のタ
ーミナル識別情報を設定した応答伝文をホスト装置の通
信アドレスを送信先アドレスとしてネットワーク上に送
信する応答送信手段を設けるとともに、ホスト装置に、
ターミナル識別情報の要求伝文をブロードキャストアド
レスを送信先アドレスとしてネットワーク上に送信する
要求伝文送信手段と、この送信手段による要求伝文の送
信から一定時間内にネットワークを通じて各ターミナル
装置からの応答伝文を受信するとその応答伝文中のター
ミナル識別情報と送信元アドレスとを対応付けて記憶す
るアドレス記憶手段と、このアドレス記憶手段により各
ターミナル装置のターミナル識別情報に対応して記憶し
た送信元アドレスの重複有無を判定する重複判定手段
と、この判定手段により重複有りが判定されるとその重
複している送信元アドレスに対応するターミナル識別情
報を告知する重複告知手段とを設けたものである。本願
請求項3記載の発明は、請求項2記載の装置において、
ホスト装置に、各ターミナル装置に予め設定されたター
ミナル識別情報を記憶し、送信手段による要求伝文の送
信から一定時間内に応答がなかったターミナル装置のタ
ーミナル識別情報を告知する未応答告知手段を付加した
ものである。
According to a second aspect of the present invention, a plurality of terminal devices and a host device for controlling each of the terminal devices are connected by a network, and unique terminal identification information is previously set in each terminal device. Is a device for detecting whether or not the communication address arbitrarily assigned to each terminal device is duplicated. When each terminal device receives a request message for terminal identification information through a network, its terminal identification information Response transmission means for transmitting a response message in which the communication message of the host device is set as a destination address on the network, and the host device includes:
Request message transmitting means for transmitting a request message of terminal identification information on a network with a broadcast address as a destination address, and a response message from each terminal device through the network within a predetermined time after transmission of the request message by the transmission means. Address storage means for storing the terminal identification information in the response message and the transmission source address in correspondence with the sentence, and storing the transmission source address stored in correspondence with the terminal identification information of each terminal device by the address storage means; A duplication determining means for determining the presence or absence of duplication, and duplication notifying means for notifying terminal identification information corresponding to the duplicated transmission source address when the duplication is determined by the judging means are provided. The invention according to claim 3 of the present application is the device according to claim 2,
The host device stores terminal identification information set in advance for each terminal device, and a non-response notifying unit for notifying the terminal identification information of the terminal device that has not responded within a predetermined time since the transmission of the request message by the transmission unit. It is added.

【0007】[0007]

【発明の実施の形態】以下、本発明をPOSシステムに
適用した一実施の形態について図面を用いて説明する。
図1は本発明の一実施の形態であるPOSシステムの該
略図を示しており、n(n≧2)台のPOSターミナル
(ターミナル装置)1-1,1-2,…,1-nと、これら各
POSターミナル1-1〜1-nを制御するホストコンピュ
ータ(ホスト装置)2とを、ネットワーク3で接続して
いる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to a POS system will be described below with reference to the drawings.
FIG. 1 is a schematic view of a POS system according to an embodiment of the present invention, in which n (n ≧ 2) POS terminals (terminal devices) 1-1, 1-2,. A host computer (host device) 2 for controlling the POS terminals 1-1 to 1-n is connected to a network 3.

【0008】前記ネットワーク3は、ネットワーク媒体
に例えばイーサネットを用いたTPC/IPネットワー
クを使用している。したがって、各POSターミナル1
-1〜1-nとホストコンピュータ2とには、それぞれTC
P/IPネットワークを実現するプロトコルであるTC
P/IP4を実装している。また、この実施の形態にお
いては、TCP/IPのトランスポート層プロトコルの
うちコネクションレス型のトランスポート・サービスで
あるUDP(User Datagram Protocol)5を、各POS
ターミナル1-1〜1-nとホストコンピュータ2とにそれ
ぞれ実装している。また、各POSターミナル1-1〜1
-nには、予め固有のターミナル識別情報#x(x:1,
2,…,n)を設定している。
[0010] The network 3 uses a TPC / IP network using, for example, Ethernet as a network medium. Therefore, each POS terminal 1
-1 to 1-n and the host computer 2 have TC
TC which is a protocol for realizing a P / IP network
P / IP4 is implemented. In this embodiment, UDP (User Datagram Protocol) 5 which is a connectionless transport service among the transport layer protocols of TCP / IP is used for each POS.
Terminals 1-1 to 1-n and the host computer 2 are respectively mounted. Also, each POS terminal 1-1 ~ 1
In -n, unique terminal identification information #x (x: 1,
2,..., N) are set.

【0009】図2は各POSターミナル1-1〜1-nとホ
ストコンピュータ2の要部機能構成を示すブロック図で
ある。なお、各POSターミナル1-1〜1-nは同一構成
であるので1台(POSターミナル1-1)のみ図示して
いる。
FIG. 2 is a block diagram showing the functional configuration of the POS terminals 1-1 to 1-n and the host computer 2. As shown in FIG. Since each of the POS terminals 1-1 to 1-n has the same configuration, only one (POS terminal 1-1) is shown.

【0010】各POSターミナル1-1〜1-nは、前記T
CP/IP4,UDP5などのプログラムを記憶するプ
ログラム記憶部11、キーボード,スキャナ,オペレー
タ用表示器,顧客用表示器,レシート・ジャーナルプリ
ンタなどの各種入出力機器が接続されるI/O(Input/
Output)部12、ネットワークインタフェースとして機
能するLAN制御部13、ターミナル識別情報(#
x),自ターミナルに対して付与されたIPアドレス
(TMIP),ホストコンピュータ2に付与されたIP
アドレス(HCIP)などのデータを記憶するデータ記
憶部14などを搭載しており、これらをCPU(Centra
l Processing Unit )を主体としたターミナル制御部1
5で制御する構成となっている。
Each of the POS terminals 1-1 to 1-n is connected to the T
A program storage unit 11 for storing programs such as CP / IP4 and UDP5, an input / output (I / O) to which various input / output devices such as a keyboard, a scanner, an operator display, a customer display, and a receipt / journal printer are connected.
Output) unit 12, LAN control unit 13 functioning as a network interface, terminal identification information (#
x), IP address (TMIP) assigned to own terminal, IP assigned to host computer 2
A data storage unit 14 for storing data such as an address (HCIP) is mounted.
l Processing control unit)
5 is used.

【0011】ホストコンピュータ2は、前記TCP/I
P4,UDP5などのプログラムを記憶するプログラム
記憶部21、キーボードKB,ディスプレイDPなどの
各種入出力機器が接続されるI/O部22、ネットワー
クインタフェースとして機能するLAN制御部23、自
己に対して付与されたIPアドレス(HCIP)や、各
POSターミナル1-1〜1-nに対してそれぞれ付与され
るIPアドレス(TMIP)などのデータを記憶するデ
ータ記憶部24などを搭載しており、これらをCPUを
主体としたホスト制御部25で制御する構成となってい
る。
The host computer 2 is provided with the TCP / I
A program storage unit 21 for storing programs such as P4 and UDP5; an I / O unit 22 to which various input / output devices such as a keyboard KB and a display DP are connected; a LAN control unit 23 functioning as a network interface; And a data storage unit 24 for storing data such as an assigned IP address (HCIP) and an IP address (TMIP) assigned to each of the POS terminals 1-1 to 1-n. It is configured to be controlled by a host control unit 25 mainly composed of a CPU.

【0012】このような構成のホストコンピュータ2に
おいて、ホスト制御部25は受信完了タイマTMと送信
回数カウンタCTとを備えている。また、前記設定記憶
部24には、図3に示すように、各POSターミナル1
-1〜1-nにそれぞれ設定されるターミナル識別情報(#
x)に対応してそのPOSターミナルに付与されたIP
アドレス(TMIP)を格納するTMIPテーブルTB
を形成している。
In the host computer 2 having such a configuration, the host control unit 25 includes a reception completion timer TM and a transmission counter CT. Further, as shown in FIG. 3, each of the POS terminals 1 is stored in the setting storage unit 24.
-1 to 1-n set terminal identification information (#
IP assigned to the POS terminal corresponding to x)
TMIP table TB storing address (TMIP)
Is formed.

【0013】しかして、ホストコンピュータ2は、通常
のPOSシステムにおけるホストコンピュータ、いわゆ
るストアコントローラとしての機能以外に、特に、キー
ボードKBのキー操作により各POSターミナル1-1〜
1-nにそれぞれ設定されたIPアドレスの重複チェック
業務の実行が指令されると、ホスト制御部25が図5の
流れ図に示す処理を開始するようにプログラムを構成し
ている。
The host computer 2 has a function as a host computer in a normal POS system, that is, a function as a so-called store controller.
The host control unit 25 is configured to start the processing shown in the flowchart of FIG. 5 when the execution of the duplication check operation of the IP address set to 1-n is instructed.

【0014】すなわちホスト制御部25は、IPアドレ
スの重複チェック業務実行が指令されると、先ず、ST
(ステップ)1として、予め決められたターミナル識別
情報要求コマンドをデータ部にセットしたターミナル識
別情報要求伝文を作成する。この場合において、図4の
Aに示すように、該要求伝文の送信先アドレスをブロー
ドキャストIPアドレス(BCIP)とし、送信元アド
レスを自己に設定されたIPアドレス(HCIP)と
し、プロトコル種別をUDPとする。次に、ST2とし
てLAN制御部23を制御して上記ターミナル識別情報
要求伝文をUDP5に従いネットワーク3上に送信する
[要求伝文送信手段]。このとき、ST3として送信回
数カウンタCTのカウント値aを1に初期設定する。ま
た、受信完了タイマTMをスタートさせる。
That is, when the host control unit 25 is instructed to execute the duplication check business of the IP address, first, the ST
(Step) As step 1, a terminal identification information request message in which a predetermined terminal identification information request command is set in the data part is created. In this case, as shown in FIG. 4A, the transmission destination address of the request message is a broadcast IP address (BCIP), the transmission source address is an IP address (HCIP) set for itself, and the protocol type is UDP. And Next, as ST2, the LAN control unit 23 is controlled to transmit the terminal identification information request message on the network 3 in accordance with the UDP5 [request message transmission means]. At this time, the count value a of the transmission number counter CT is initially set to 1 as ST3. Further, the reception completion timer TM is started.

【0015】ここで、上記ターミナル識別情報要求伝文
は送信先アドレスがブロードキャストIPアドレス(B
CIP)なので、たとえ各POSターミナル1-1〜1-n
にそれぞれ設定されたIPアドレス(TMIP)が重複
していても、ネットワーク3に接続された各POSター
ミナル1-1〜1-nでは受信可能である。そして、この要
求伝文をLAN制御部13を介して受信したPOSター
ミナル1-1〜1-nでは、ターミナル制御部15が、図6
に示すように、ST11として受信伝文からターミナル
識別情報要求コマンドを受けると、ST12としてデー
タ記憶部14に設定されたターミナル識別情報(#x)
をデータ部にセットした応答伝文を作成する。この場合
において、図4のBに示すように、該要求伝文の送信先
アドレスをホストコンピュータ2のIPアドレス(HP
IP)とし、送信元アドレスを自己に設定されたIPア
ドレス(TMIP)とし、プロトコル種別をUDPとす
る。しかる後、ST13としてLAN制御部15を制御
して上記応答伝文をUDP5に従いネットワーク3上に
送信するものとなっている[応答送信手段]。なお、こ
の場合において、各POSターミナル1-1〜1-nからの
応答伝文が一時期に集中するのを避けるために、各PO
Sターミナル1-1〜1-nは、それぞれ例えばターミナル
識別情報(#x)をもとにターミナル識別情報要求伝文
を受信してから応答伝文を送信するまでの時間間隔を変
化させることが好ましい。
Here, in the terminal identification information request message, the transmission destination address is a broadcast IP address (B
CIP), so even if each POS terminal 1-1 ~ 1-n
Can be received by the POS terminals 1-1 to 1-n connected to the network 3 even if the IP addresses (TMIP) set in the POS terminals overlap each other. In the POS terminals 1-1 to 1-n that have received the request message via the LAN control unit 13, the terminal control unit 15
As shown in (11), when the terminal identification information request command is received from the received message in ST11, the terminal identification information (#x) set in the data storage unit 14 is received in ST12.
Create a response message in which is set in the data section. In this case, as shown in FIG. 4B, the transmission destination address of the request message is changed to the IP address (HP
IP), the source address is the IP address (TMIP) set for itself, and the protocol type is UDP. Thereafter, in ST13, the LAN controller 15 is controlled to transmit the response message on the network 3 in accordance with the UDP 5 [response transmission means]. In this case, in order to prevent the response messages from the POS terminals 1-1 to 1-n from being concentrated at one time, each PO
Each of the S terminals 1-1 to 1-n can change the time interval from the reception of the terminal identification information request message to the transmission of the response message based on, for example, the terminal identification information (#x). preferable.

【0016】こうして、各POSターミナル1-1〜1-n
から送信される応答伝文は、送信先アドレスがホストコ
ンピュータ2のみを指定するIPアドレス(HPIP)
なので、たとえ各POSターミナル1-1〜1-nにそれぞ
れ設定されたIPアドレス(TMIP)が重複していて
も、ホストコンピュータ2で受信される。そこで、ホス
トコンピュータ2のホスト制御部25は、前記ターミナ
ル識別情報要求伝文を送信した後、ST4として各PO
Sターミナル1-1〜1-nからの応答伝文を受信するのを
待機する。そして上記応答伝文を受信する毎に、ST5
としてその受信伝文からターミナル識別情報(#x)を
取得し、TMIPテーブルTBを検索して、当該ターミ
ナル識別情報(#x)に対応するIPアドレスエリア
に、受信伝文の送信元アドレスとしてセットされている
IPアドレスをセットする[アドレス記憶手段]。
Thus, each of the POS terminals 1-1 to 1-n
The response message transmitted from is an IP address (HPIP) whose destination address specifies only the host computer 2.
Therefore, even if the IP address (TMIP) set in each of the POS terminals 1-1 to 1-n is duplicated, it is received by the host computer 2. Then, after transmitting the terminal identification information request message, the host control unit 25 of the host computer 2 transmits the terminal identification information request message as ST4.
It waits for a response message from the S terminal 1-1 to 1-n. Each time the response message is received, ST5
The terminal identification information (#x) is obtained from the received message, and the TMIP table TB is searched, and set in the IP address area corresponding to the terminal identification information (#x) as the source address of the received message. The IP address is set [address storage means].

【0017】その後、ST6として前記受信完了タイマ
TMがタイムアウトしたならば、ST7として前記送信
回数カウンタCTのカウント値aを+1し、ST8とし
てこのカウント値aが規定値N(例えば3)を超えたか
否かを判断する。そして超えていない場合にはST2に
戻り、再度ターミナル識別情報要求伝文を送信を送信し
て、上記ST3〜ST8の処理を繰返す。これは、ター
ミナル識別情報要求伝文の欠送を考慮している。
Thereafter, if the reception completion timer TM times out in ST6, the count value a of the transmission number counter CT is incremented by 1 in ST7, and whether or not this count value a exceeds a prescribed value N (for example, 3) in ST8. Determine whether or not. If it does not exceed, the process returns to ST2, transmits a terminal identification information request message again, and repeats the processing of ST3 to ST8. This takes into account the missing of the terminal identification information request message.

【0018】ST8にてカウント値aが規定値Nを超え
た場合には、ホスト制御部25は、ST9としてTMI
PテーブルTBを検索して、各POSターミナル1-1〜
1-nのターミナル識別情報(#1〜#n)に対応して格
納されたIPアドレスの中で重複しているIPアドレス
があるか否かを判断する[重複判定手段]。また、この
とき、IPアドレスが格納されていないターミナル識別
情報(#1〜#n)も検出する。しかる後、ST10と
して重複しているIPアドレスが存在する場合には、そ
のIPアドレスとともに該IPアドレスに対応する複数
のターミナル識別情報(#x1,#x2,…)をディス
プレイDPに表示出力させる[重複告知手段]。また、
IPアドレスが格納されていないターミナル識別情報が
ある場合には、そのターミナル識別情報も合せてディス
プレイDPに表示出力させる[未応答告知手段]。以上
で、IPアドレスの重複チェック業務を終了する。
If the count value a exceeds the specified value N in ST8, the host control unit 25 sets the TMI as ST9.
The P table TB is searched, and each POS terminal 1-1 ~
It is determined whether there is a duplicate IP address among the IP addresses stored corresponding to the 1-n terminal identification information (# 1 to #n) [duplication determination means]. At this time, terminal identification information (# 1 to #n) in which no IP address is stored is also detected. Thereafter, if there is a duplicate IP address in ST10, a plurality of terminal identification information (# x1, # x2,...) Corresponding to the IP address are displayed on the display DP together with the IP address [ Duplicate notification means]. Also,
If there is terminal identification information in which no IP address is stored, the terminal DP is displayed on the display DP together with the terminal identification information [non-response notifying means]. Thus, the duplication check operation of the IP address is completed.

【0019】このように本実施の形態においては、例え
ばシステムの新規導入や設定変更により各POSターミ
ナル1-1〜1-nのIPアドレス(TMIP)を任意に設
定した場合、各POSターミナル1-1〜1-nでのIPア
ドレスの重複有無をチェックするために、システム利用
者はホストコンピュータ2のキーボードKBを操作して
IPアドレスの重複チェック業務実行を指令する。そう
すると、ホストコンピュータ2から各POSターミナル
1-1〜1-n宛に、ブロードキャストIPアドレス(BC
IP)を送信アドレスとしたターミナル識別情報要求伝
文がネットワーク3を介して送信される。
As described above, in the present embodiment, when the IP address (TMIP) of each of the POS terminals 1-1 to 1-n is arbitrarily set by, for example, newly introducing a system or changing the setting, each of the POS terminals 1-1-1 In order to check the presence / absence of duplication of IP addresses in 1-1 to 1-n, the system user operates the keyboard KB of the host computer 2 and instructs execution of duplication check business of IP addresses. Then, the broadcast IP address (BC) is sent from the host computer 2 to each of the POS terminals 1-1 to 1-n.
A terminal identification information request message with IP) as the transmission address is transmitted via the network 3.

【0020】これにより、上記ターミナル識別情報要求
伝文を受信したPOSターミナル1-1〜1-nにおいて
は、自己に対して予め設定されたターミナル識別情報を
含む応答伝文が作成され、ホストコンピュータ2のIP
アドレス(HCIP)を送信先としてネットワーク3を
介して送信される。
Thus, in the POS terminals 1-1 to 1-n receiving the terminal identification information request message, a response message including terminal identification information preset for itself is created, and the host computer 2 IP
The address (HCIP) is transmitted via the network 3 as a transmission destination.

【0021】ホストコンピュータ2においては、各PO
Sターミナル1-1〜1-nからの応答伝文を受信する毎に
その応答伝文中のターミナル識別情報(#x)でTMI
PテーブルTBが検索され、当該ターミナル識別情報
(#x)に対応するIPアドレスエリアに応答電文の送
信元アドレスとしてセットされているIPアドレス、つ
まりは応答伝文送信元のPOSターミナルに設定されて
いるIPアドレスが格納される。そして、このTMIP
テーブルTBにターミナル識別情報別に格納されたIP
アドレスが順に照合されて、重複しているIPアドレス
が検出された場合には、そのIPアドレスと該IPアド
レスに対応する複数のターミナル識別情報がディスプレ
イDPに表示される。また、ターミナル識別情報要求伝
文を送信してから一定時間(受信完了タイマTMの設定
時間)を経過してもTMIPテーブルTBにIPアドレ
スが格納されなかったターミナル識別情報が存在する場
合には、そのターミナル識別情報も合せてディスプレイ
DPに表示される。
In the host computer 2, each PO
Each time a response message is received from the S terminal 1-1 to 1-n, the terminal identification information (#x) in the response message
The P table TB is searched, and the IP address set as the transmission source address of the response message in the IP address area corresponding to the terminal identification information (#x), that is, the IP address set in the POS terminal of the transmission source of the response message. The stored IP address is stored. And this TMIP
IP stored for each terminal identification information in table TB
If the addresses are collated in sequence and a duplicate IP address is detected, the IP address and a plurality of terminal identification information corresponding to the IP address are displayed on the display DP. In addition, when terminal identification information for which an IP address is not stored in the TMIP table TB even after a certain period of time (a set time of the reception completion timer TM) has elapsed since the transmission of the terminal identification information request message, The terminal identification information is also displayed on the display DP.

【0022】図7はIPアドレスの重複チェック業務を
実行したときのディスプレイDPの画面表示例であり、
同図(a)はIPアドレスの重複も未応答のPOSター
ミナルもなかったときの画面表示例であり、同図(b)
はIPアドレスの重複と未応答のPOSターミナルとが
それぞれ有ったときの画面表示例である。例えばディス
プレイDPに同図(b)のような画面が表示された場合
には、システム利用者は、ターミナル識別情報#2のP
OSターミナル1-2とターミナル識別情報#nのPOS
ターミナル1-nとにそれぞれ設定したIPアドレス(ZZ
Z,ZZ,ZZ,ZZZ )が重複していることがわかる。また、タ
ーミナル識別情報#3のPOSターミナル1-3からは応
答がなく、このPOSターミナル1-3が異常若しくはI
Pアドレスが未設定であることがわかる。
FIG. 7 is a screen display example of the display DP when the duplication check operation of the IP address is executed.
FIG. 11A is a screen display example when there is no duplicate IP address and there is no unanswered POS terminal, and FIG.
Is a screen display example when there is a duplicate IP address and a POS terminal that has not responded. For example, when a screen as shown in FIG. 2B is displayed on the display DP, the system user can use the P of the terminal identification information # 2.
POS of OS terminal 1-2 and terminal identification information #n
IP address (ZZ) respectively set to terminal 1-n
Z, ZZ, ZZ, ZZZ) are found to be overlapping. Also, there is no response from the POS terminal 1-3 of the terminal identification information # 3,
It can be seen that the P address has not been set.

【0023】このように本実施の形態では、各POSタ
ーミナル1-1〜1-nにそれぞれ任意に付与されるIPア
ドレスが重複しているか検出する場合に、先ず、ホスト
コンピュータ2がターミナル識別情報要求伝文をブロー
ドキャストアドレス(BCIP)を送信先アドレスとし
てUDP5に従いネットワーク3上に送信する。次に、
この要求伝文を受信した各POSターミナル1-1〜1-n
がそれぞれ自己のターミナル識別情報を設定した応答伝
文をホストコンピュータ2のIPアドレス(HCIP)
を送信先アドレスとしてUDP5に従いネットワーク3
上に送信する。ここで、ホストコンピュータ2から各P
OSターミナル1-1〜1-n宛に送信されるターミナル識
別情報要求伝文はブロードキャストアドレス(BCI
P)を送信先アドレスとしており、各POSターミナル
1-1〜1-nからホストコンピュータ2宛に送信される応
答伝文はホストコンピュータ2のIPアドレス(HCI
P)を送信先アドレスとしているので、たとえPOSタ
ーミナル間でIPアドレスが重複していても通信が可能
である。
As described above, in this embodiment, when detecting whether the IP addresses arbitrarily assigned to the POS terminals 1-1 to 1-n are duplicated, first, the host computer 2 transmits the terminal identification information. The request message is transmitted on the network 3 according to the UDP 5 using the broadcast address (BCIP) as the destination address. next,
Each POS terminal 1-1 to 1-n that has received this request message
Sends the response message in which its own terminal identification information is set to the IP address (HCIP) of the host computer 2.
Network 3 in accordance with UDP 5 with
Send on. Here, each P
The terminal identification information request message transmitted to the OS terminals 1-1 to 1-n has a broadcast address (BCI
P) is the destination address, and the response message transmitted from each of the POS terminals 1-1 to 1-n to the host computer 2 is the IP address (HCI) of the host computer 2.
Since P) is used as the destination address, communication is possible even if the POS terminals have overlapping IP addresses.

【0024】そこでホストコンピュータ2は、TMIP
テーブルTBにより受信した応答伝文中のターミナル識
別情報と送信元アドレス,つまりは応答伝文を送信した
POSターミナルに設定されているIPアドレスとを対
応付けて記憶する。そして、要求伝文を送信してから一
定時間が経過すると、TMIPテーブルTBにて各PO
Sターミナル1-1〜1-nのターミナル識別情報に対応し
て記憶したIPアドレスの重複有無を判定して、重複有
りの場合にはその重複しているIPアドレスに対応する
ターミナル識別情報をディスプレイDPに表示出力して
告知するようにしている。したがって、本実施の形態に
よれば、LANアナライザ等のネットワークテスト専用
装置を用いることなく簡単にかつ短時間でIPアドレス
の重複有無を調査できるとともに、IPアドレスが重複
して設定されたPOSターミナルを容易に特定できるよ
うになる。
Then, the host computer 2 transmits the TMIP
The terminal identification information in the response message received from the table TB and the source address, that is, the IP address set in the POS terminal that transmitted the response message, are stored in association with each other. When a certain period of time has passed since the transmission of the request message, each PO is stored in the TMIP table TB.
It is determined whether the IP addresses stored corresponding to the terminal identification information of the S terminals 1-1 to 1-n are duplicated. If there is a duplication, the terminal identification information corresponding to the duplicated IP address is displayed. The information is displayed on the DP for notification. Therefore, according to the present embodiment, the presence / absence of duplication of an IP address can be checked easily and in a short time without using a dedicated network test device such as a LAN analyzer. It can be easily identified.

【0025】また本実施の形態では、ホストコンピュー
タ2に各POSターミナル1-1〜1-nに予め設定された
ターミナル識別情報をTMIPテーブルTBで記憶して
おり、ターミナル識別情報要求伝文の送信から一定時間
内に応答がなかったPOSターミナルのターミナル識別
情報をディスプレイDPに表示出力して告知するように
している。したがって、IPアドレスが設定されていな
かったり、通信異常が発生しているPOSターミナルも
容易に判別できる効果を奏する。
In the present embodiment, terminal identification information preset in each of the POS terminals 1-1 to 1-n is stored in the host computer 2 in the TMIP table TB, and the terminal identification information request message is transmitted. The terminal identification information of the POS terminal that has not responded within a certain period of time is displayed on the display DP for notification. Therefore, it is possible to easily determine a POS terminal in which an IP address has not been set or a communication error has occurred.

【0026】なお、前記一実施の形態では、ホストコン
ピュータ2が必ずターミナル識別情報要求伝文をN回繰
返して送信するようにしたが、N回未満でも全POSタ
ーミナル1-1〜1-nからの応答伝文を受信できたならば
その時点でST9の重複アドレス判定処理に移行するよ
うに構成してもよい。
In the above-described embodiment, the host computer 2 always sends the terminal identification information request message repeatedly N times. However, even if the host computer 2 transmits the terminal identification information request message less than N times, the host computer 2 sends the message from all the POS terminals 1-1 to 1-n. May be configured to shift to the duplicate address determination processing of ST9 at that point in time when the response message is received.

【0027】また、本発明はPOSシステムに限定され
るものではなく、ネットワークにより複数のターミナル
装置とこれら各ターミナル装置を制御するホスト装置と
を接続してなり、前記各ターミナル装置には予め固有の
ターミナル識別情報が設定されているシステムであれば
適用できるものである。
The present invention is not limited to the POS system, but comprises a plurality of terminal devices connected to a host device for controlling each of the terminal devices via a network. The present invention can be applied to any system in which terminal identification information is set.

【0028】[0028]

【発明の効果】以上詳述したように本願請求項1記載の
発明によれば、ネットワークテスト専用装置を用いるこ
となく簡単にかつ短時間で通信アドレスの重複有無を調
査できるとともに、通信アドレスが重複して設定された
ターミナル装置を容易に特定することができるターミナ
ル通信アドレス重複検出方法を提供できる。また本願請
求項2記載の発明によれば、ネットワークテスト専用装
置を用いることなく簡単にかつ短時間で通信アドレスの
重複有無を調査できるとともに、通信アドレスが重複し
て設定されたターミナル装置を容易に特定することがで
きるターミナル通信アドレス重複検出装置を提供でき
る。また本願請求項3記載の発明によれば、上記請求項
2記載の発明と同等な効果を奏するのはもとより、通信
アドレスが設定されていなかったり通信異常が発生して
いるターミナル装置も容易に判別できる効果を奏し得
る。
As described above in detail, according to the first aspect of the present invention, the presence / absence of communication address duplication can be checked easily and in a short time without using a dedicated network test device, and the communication address duplication can be performed. A terminal communication address duplication detection method capable of easily specifying a terminal device set as above can be provided. According to the invention of claim 2 of the present application, it is possible to easily and quickly check whether or not a communication address is duplicated without using a dedicated device for network test, and to easily determine a terminal device with a duplicated communication address. A terminal communication address duplication detection device that can be specified can be provided. According to the third aspect of the present invention, not only the same effects as in the second aspect of the invention but also a terminal device in which a communication address has not been set or a communication error has occurred can be easily determined. A possible effect can be achieved.

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

【図1】 本発明の一実施の形態であるPOSシステム
の概略図。
FIG. 1 is a schematic diagram of a POS system according to an embodiment of the present invention.

【図2】 同POSシステムのホストコンピュータとP
OSターミナルの要部構成を示すブロック図。
FIG. 2 shows a host computer and a P of the POS system.
FIG. 2 is a block diagram illustrating a main configuration of an OS terminal.

【図3】 図2に示すTMIPテーブルの概念図。FIG. 3 is a conceptual diagram of a TMIP table shown in FIG. 2;

【図4】 ターミナル識別情報要求伝文及びその応答伝
文のフォーマットを示す図。
FIG. 4 is a diagram showing a format of a terminal identification information request message and a response message thereof.

【図5】 ホストコンピュータのホスト制御部が実行す
る通信アドレス重複チェック業務処理を示す流れ図。
FIG. 5 is a flowchart showing a communication address duplication check business process executed by a host control unit of the host computer.

【図6】 POSターミナルのターミナル制御部が実行
するターミナル識別情報要求伝文受信処理を示す流れ
図。
FIG. 6 is a flowchart showing a terminal identification information request message reception process executed by the terminal control unit of the POS terminal.

【図7】 ホストコンピュータにおける通信アドレス重
複チェック業務実行時のディスプレイ表示例を示す図。
FIG. 7 is a view showing an example of display on a host computer when a communication address duplication check job is executed.

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

1-1〜1-n…POSターミナル(ターミナル装置) 2…ホストコンピュータ(ホスト装置) 3…ネットワーク 15…ターミナル制御部 25…ホスト制御部 TB…TMIPテーブル 1-1 to 1-n POS terminal (terminal device) 2 host computer (host device) 3 network 15 terminal control unit 25 host control unit TB TMIP table

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ネットワークにより複数のターミナル装
置とこれら各ターミナル装置を制御するホスト装置とを
接続してなり、前記各ターミナル装置には予め固有のタ
ーミナル識別情報が設定されているシステムにおいて、
前記各ターミナル装置にそれぞれ任意に付与される通信
アドレスが重複しているか検出する方法であって、 前記ホスト装置が前記ターミナル識別情報の要求伝文を
ブロードキャストアドレスを送信先アドレスとして前記
ネットワーク上に送信し、 この要求伝文を受信した前記各ターミナル装置がそれぞ
れ自己のターミナル識別情報を設定した応答伝文を前記
ホスト装置の通信アドレスを送信先アドレスとして前記
ネットワーク上に送信し、 この応答伝文を受信した前記ホスト装置がその応答伝文
中のターミナル識別情報と送信元アドレスとを対応付け
て記憶し、かつ、前記要求伝文を送信してから一定時間
が経過すると、前記各ターミナル装置のターミナル識別
情報に対応して記憶した送信元アドレスの重複有無を判
定して、重複有りの場合にはその重複している送信元ア
ドレスに対応するターミナル識別情報を告知するように
したことを特徴とするターミナル通信アドレス重複検出
方法。
1. A system in which a plurality of terminal devices and a host device that controls each of these terminal devices are connected by a network, and each terminal device has unique terminal identification information set in advance.
A method for detecting whether or not a communication address arbitrarily assigned to each of the terminal devices is duplicated, wherein the host device transmits a request message of the terminal identification information to the network using a broadcast address as a destination address. The terminal devices that have received the request message each transmit a response message in which their own terminal identification information has been set on the network using the communication address of the host device as a destination address. The receiving host device stores the terminal identification information and the transmission source address in the response message in association with each other, and when a predetermined time has elapsed since the transmission of the request message, the terminal identification of each terminal device. The presence / absence of duplication of the source address stored corresponding to the information is determined. Terminal communication address duplication detection method is characterized in that so as to notify the terminal identification information corresponding to the source address that is the overlap in.
【請求項2】 ネットワークにより複数のターミナル装
置とこれら各ターミナル装置を制御するホスト装置とを
接続してなり、前記各ターミナル装置には予め固有のタ
ーミナル識別情報が設定されているシステムにおいて、
前記各ターミナル装置にそれぞれ任意に付与される通信
アドレスが重複しているか検出する装置であって、 前記各ターミナル装置は、前記ネットワークを通じて前
記ターミナル識別情報の要求伝文を受信すると自己のタ
ーミナル識別情報を設定した応答伝文を前記ホスト装置
の通信アドレスを送信先アドレスとして前記ネットワー
ク上に送信する応答送信手段を具備し、 前記ホスト装置は、前記ターミナル識別情報の要求伝文
をブロードキャストアドレスを送信先アドレスとして前
記ネットワーク上に送信する要求伝文送信手段と、この
送信手段による要求伝文の送信から一定時間内に前記ネ
ットワークを通じて前記各ターミナル装置からの応答伝
文を受信するとその応答伝文中のターミナル識別情報と
送信元アドレスとを対応付けて記憶するアドレス記憶手
段と、このアドレス記憶手段により前記各ターミナル装
置のターミナル識別情報に対応して記憶した送信元アド
レスの重複有無を判定する重複判定手段と、この判定手
段により重複有りが判定されるとその重複している送信
元アドレスに対応するターミナル識別情報を告知する重
複告知手段とを具備したことを特徴とするターミナル通
信アドレス重複検出装置。
2. A system in which a plurality of terminal devices and a host device that controls each of these terminal devices are connected by a network, and each of the terminal devices is set in advance with unique terminal identification information.
A device for detecting whether the communication address arbitrarily assigned to each of the terminal devices is duplicated, wherein each of the terminal devices receives its request message of the terminal identification information through the network and has its own terminal identification information. Response sending means for sending a response message in which the communication message of the host device is set as a destination address on the network, wherein the host device transmits the request message of the terminal identification information to a broadcast address. A request message transmitting means for transmitting the request message on the network as an address, and a terminal in the response message when a response message from each of the terminal devices is received through the network within a predetermined time from the transmission of the request message by the transmission means. Stores identification information and source address in association with each other Address storage means, duplicate address determination means for determining the presence / absence of duplication of the source address stored in correspondence with the terminal identification information of each of the terminal devices by the address storage means, and A terminal communication address duplication detecting device, comprising: duplication notifying means for notifying terminal identification information corresponding to the duplicated transmission source address.
【請求項3】 ホスト装置は、各ターミナル装置に予め
設定されたターミナル識別情報を記憶し、送信手段によ
る要求伝文の送信から一定時間内に応答がなかったター
ミナル装置のターミナル識別情報を告知する未応答告知
手段を付加したことを特徴とする請求項2記載のターミ
ナル通信アドレス重複検出装置。
3. The host device stores terminal identification information preset in each terminal device, and notifies terminal identification information of a terminal device that has not responded within a predetermined time since transmission of a request message by a transmission unit. 3. The terminal communication address duplication detecting device according to claim 2, further comprising a non-response notifying means.
JP10070659A 1998-03-19 1998-03-19 Terminal communication address overlap detection method and device therefor Pending JPH11275119A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10070659A JPH11275119A (en) 1998-03-19 1998-03-19 Terminal communication address overlap detection method and device therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10070659A JPH11275119A (en) 1998-03-19 1998-03-19 Terminal communication address overlap detection method and device therefor

Publications (1)

Publication Number Publication Date
JPH11275119A true JPH11275119A (en) 1999-10-08

Family

ID=13438016

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10070659A Pending JPH11275119A (en) 1998-03-19 1998-03-19 Terminal communication address overlap detection method and device therefor

Country Status (1)

Country Link
JP (1) JPH11275119A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002229868A (en) * 2001-01-30 2002-08-16 Fujitsu Ltd Terminal device and computer program
WO2003055180A1 (en) * 2001-12-20 2003-07-03 Marconi Uk Intellectual Property Ltd Address duplication detection in a network
US6925079B2 (en) 2000-02-29 2005-08-02 Nec Corporation IP address duplication detection method using address resolution protocol
KR100633666B1 (en) 2004-02-25 2006-10-12 엘지전자 주식회사 Home network server device and the control method of the same
JP2008250598A (en) * 2007-03-30 2008-10-16 Kddi Corp Dms device and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6925079B2 (en) 2000-02-29 2005-08-02 Nec Corporation IP address duplication detection method using address resolution protocol
JP2002229868A (en) * 2001-01-30 2002-08-16 Fujitsu Ltd Terminal device and computer program
WO2003055180A1 (en) * 2001-12-20 2003-07-03 Marconi Uk Intellectual Property Ltd Address duplication detection in a network
KR100633666B1 (en) 2004-02-25 2006-10-12 엘지전자 주식회사 Home network server device and the control method of the same
JP2008250598A (en) * 2007-03-30 2008-10-16 Kddi Corp Dms device and program

Similar Documents

Publication Publication Date Title
EP2454678B1 (en) Downloading a plug-in on an instant messaging client
US6256322B1 (en) Bundling multiple network management packets
JP2002297352A (en) Network printing system, printer, service proxy server and program
JP2011130205A (en) Information processing apparatus with multiple communication interfaces and control method
JP2000227845A (en) Print data control method
CN101197726B (en) Monitoring apparatus, image forming apparatus, monitoring system, method of changing network setting
JPH11275119A (en) Terminal communication address overlap detection method and device therefor
US20030237083A1 (en) Remote installation system and computer apparatus applied to the system
JP4992573B2 (en) Layer 2 switch, communication device, data section error detection method used therefor, and program thereof
JP3658325B2 (en) NETWORK INTERFACE DEVICE, DEVICE TERMINAL DEVICE, AND NETWORK INTERFACE DEVICE CONTROL METHOD
JP2001034434A (en) Picture processor
JP2005346257A (en) Information processing apparatus and device
JP2005085078A (en) Network system including power saving dealing device
JPH09200247A (en) Ip address setting method and device therefor
JP2005004404A (en) Method for automatic detection of switching of dual network management system, dual network management system, monitoring program, and program for network management system
JPH09266477A (en) Method for duplicate ip address detection
JPH08335149A (en) Information processor, printer, printing system and printing data transfer method for printing system
JP2002099344A (en) Method and device for detecting illegal copy of program, storage medium for application program, and storage medium for unit for dealing with network protocol
JPH05158585A (en) Power source control system for work station
JP2004086497A (en) Informing system for device troubled condition and its device
JP2002032258A (en) Job operation system
JP2000151741A (en) Host protocol converter
JP2621779B2 (en) Connection test method for distributed system
JP2518468B2 (en) Information processing device
JPH07319813A (en) System and method for switching cession in on-line system