JP3961418B2 - Network system - Google Patents

Network system Download PDF

Info

Publication number
JP3961418B2
JP3961418B2 JP2002374316A JP2002374316A JP3961418B2 JP 3961418 B2 JP3961418 B2 JP 3961418B2 JP 2002374316 A JP2002374316 A JP 2002374316A JP 2002374316 A JP2002374316 A JP 2002374316A JP 3961418 B2 JP3961418 B2 JP 3961418B2
Authority
JP
Japan
Prior art keywords
network
power
notification message
reboot
monitoring timer
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
JP2002374316A
Other languages
Japanese (ja)
Other versions
JP2004206376A (en
Inventor
一憲 本間
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 JP2002374316A priority Critical patent/JP3961418B2/en
Publication of JP2004206376A publication Critical patent/JP2004206376A/en
Application granted granted Critical
Publication of JP3961418B2 publication Critical patent/JP3961418B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • Power Sources (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、POS(Point Of Sales:販売時点情報管理)システム等のネットワークシステムに関する。
【0002】
【従来の技術】
例えば複数の店舗を本部で統轄するスーパーマーケット,コンビニエンスストア,ドラッグストア,ファミリーレストラン等のチェーンストアでは、一般に、各店舗にPOS端末とストアコントローラとを設置してLAN(Local Area Network)で接続するとともに、本部にホストコンピュータを設置して各店舗のPOS端末及びストアコントローラと互いにWAN(Wide Area Network)で接続し、各店舗のPOS端末及びストアコントローラのメンテナンスを本部のホストコンピュータを用いて遠隔より集中的に行なうことを可能にしたネットワークシステム,いわゆるPOSシステムが構築されている。このようなネットワークシステムを構築することにより、例えば本部から全店舗一斉にPOS端末若しくはストアコントローラのプログラム交換を実施することができる。
【0003】
ところで、POS端末やストアコントローラ等の電子機器のプログラム交換を実施した場合、機器はプログラム交換後に電源をオフ/オンして再立上げをする必要がある。このため、ホストコンピュータから各店舗のプログラム交換対象機器にWANを通じて配信されるプログラム交換の制御コマンドには、電源オフ/オンの実行を指令するリブート命令コマンドが含まれており、機器は、プログラム交換後に自動的に電源をオフ/オンして再立上げをしていた。しかし、例えば交換されたプログラムにバグがあるために電源をオフ/オンしても機器が正常に立上がらないおそれがあった。
【0004】
そこで、例えばPOS端末のプログラム交換を全店舗一斉に実施した際には、本部(保守拠点)から各店舗にプログラム交換対象機器の立上げ状況を電話等を使用して確認しており、コンビニエンスストア等のように店舗数が多い場合には、莫大な人件費と通信費を費やしていた。
【0005】
例えば従来のこの種のネットワークシステムにおいて、POS端末に発生した障害を速やかに保守拠点に自動通知する技術として次の保守技術が知られている。すなわち、障害が発生したPOS端末は、障害情報を障害ログ情報として障害ログファイルに記録する。ストアコントローラは、障害ログファイルを常時又は周期的に監視して、POS端末の障害ログ情報を検知すると、障害の内容に関連した障害コール情報を保守拠点の上位機器にネットワークを通じて送信する(例えば、特許文献1参照)。
【0006】
【特許文献1】
特開2002‐269643号(図2)
【0007】
【発明が解決しようとする課題】
しかしながら、従来のこの保守技術では、障害が発生した機器が障害ログ情報を障害ログファイルに記録しなければ、その障害が上位機器に通知されることはない。このため、自動リブートにより電源をオフ/オンしたが正常に立上がらなかった機器は、その異常を障害ログファイルに記録できないので、この種の異常を上位機器に通知することはできなかった。
【0008】
本発明はこのような事情に基づいてなされたもので、その目的とするところは、自動リブートによる電源オフ/オンによって正常に立上がらなかった機器の異常を速やかに上位機器に通知することができるネットワークシステムを提供しようとするものである。
【0009】
【課題を解決するための手段】
本発明のネットワークシステムは、第1の機器と第2の機器とを第1のネットワーク(例えばLAN)で接続するとともに、第1及び第2の機器の上位機器と第1の機器及び第2の機器とを第2のネットワーク(例えばWAN)で互いに接続している。そして、上位機器の遠隔制御により第1の機器及び第2の機器を選択的にリブートさせるようにしたものである。このものにおいて、第1の機器は、上位機器から第2のネットワークを通じてリブート命令コマンドを受信すると、第1のネットワークで接続された他方の機器に対して電源オフ通知伝文を第1のネットワークを通じて送信するオフ通知手段と、このオフ通知手段により電源オフ通知伝文を送信した後に電源をオフ/オンするリブート手段と、このリブート手段による電源オフ/オンにより立上がると他方の機器に対して電源オン通知伝文を第1のネットワークを通じて送信するオン通知手段とを具備し、第2の機器は、監視タイマと、他方の機器から電源オフ通知伝文を第1のネットワークを通じて受信すると監視タイマをスタートさせるタイマ起動手段と、他方の機器から電源オン通知伝文を第1のネットワークを通じて受信すると監視タイマを停止させるタイマ停止手段と、監視タイマによる計時時間が予め設定された異常検出時間に達すると上位機器に対して前記他方の機器の立上げ異常通知伝文を第2のネットワークを通じて送信する異常通知手段とを具備したものである。
【0010】
このような構成により、第1の機器に対して上位機器から第2のネットワークを通じてリブート命令コマンドが与えられると、第1の機器は、第2の機器に対して電源オフ通知伝文を第1のネットワークを通じて送信した後、電源をオフ/オンする。第2の機器は、第1の機器から電源オフ通知伝文を第1のネットワークを通じて受信すると監視タイマをスタートさせる。ここで、第1の機器が電源オフ/オンにより正常に立上がった場合には、第1の機器は、第2の機器に対して電源オン通知伝文を第1のネットワークを通じて送信する。これにより、第2の機器は、監視タイマを停止する。ところが、第1の機器が電源オフ/オンに対して正常に立上がらなかった場合には、第2の機器に対して電源オン通知伝文が送信されないので、第2の機器では、監視タイマによる計時時間が予め設定された異常検出時間に達する。そうすると、第2の機器は、上位機器に対して第1の機器の立上げ異常通知伝文を第2のネットワークを通じて送信する。したがって、自動リブートによる電源オフ/オンによって正常に立上がらなかった機器の異常が速やかに上位機器に通知される。
【0011】
【発明の実施の形態】
以下、本発明の一実施の形態を図面を用いて説明する。
なお、この実施の形態は、複数の店舗を本部で統轄するチェーンストアに構築されるPOSシステムに本発明を適用した場合である。
【0012】
図1は本実施の形態のPOSシステムを示す模式図であり、このシステムは、各店舗にそれぞれ構築される店舗システム1と、本部に設置されるホストコンピュータ2とからなる。
【0013】
店舗システム1は、複数台のPOS端末(TM)11と、ストアコントローラ12(SC)と、回線終端装置(DSU)13とからなる。各POS端末11は、有線又は無線のLAN14によりストアコントローラ12と双方向通信自在に接続されている。また、各POS端末11とストアコントローラ12は、回線終端装置13とそれぞれ宅内配線ケーブル15によって接続されている。
【0014】
各店舗の回線終端装置13は、それぞれ広域ネットワークであるISDN(Integrated Services Digital Network)3に接続されている。ISDN3には前記ホストコンピュータ2も接続されている。ホストコンピュータ2は、店舗システム1の上位機器として、POS端末11やストアコントローラ12のプログラム交換等を実施する。
【0015】
ここに、LAN14は、第1の機器(例えば、ストアコントローラ12)と第2の機器(例えば、POS端末11)とを接続する第1のネットワークであり、ISDN3は、第1及び第2の機器の上位機器(ホストコンピュータ2)と第1の機器及び第2の機器とを互いに接続する第2のネットワークである。なお、第2のネットワークはISDN3に限定されるものではなく、電話網やインターネット等であってもよい。また、第1のネットワークもLAN14に限定されるものではない。
【0016】
図2は店舗システム1のストアコントローラ12とPOS端末11の機能構成を示すブロック図である。ストアコントローラ12は、メイン制御部41、プログラム記憶部42、データ記憶部43、通信制御部44、LANインタフェース45、電源制御部46、時計部47及びEEPROM(Electrically Erasable Programmable Read Only Memory)等の不揮発性メモリ48等で構成されている。各POS端末11は、メイン制御部51、プログラム記憶部52、データ記憶部53、通信制御部54、LANインタフェース55、電源制御部56、時計部57及び各種入出力機器(例えば、キーボード,ディスプレイ,プリンタ等)コントローラ58等で構成されている。
【0017】
通信制御部44,54には、それぞれ前記宅内配線ケーブル15が接続されており、ISDN3を介して接続されるホストコンピュータ2とのデータ通信を制御する。LANインタフェース45,55は、LAN14を介して接続される他の機器とのデータ通信を制御する。電源制御部46は、それぞれ自機の電源オン/オフを制御する。時計部47は、時刻(時,分,秒)を計時する。
【0018】
ストアコントローラ12のデータ記憶部43には、図3に示すように、LAN14を介して接続された各POS端末11に対して予め一意に設定された連続番号である端末番号別に監視タイマ値Tx(1≦x≦N:NはLAN14を介して接続されたPOS端末11の台数)を記憶するための監視タイマテーブル61が形成されている。各POS端末11のデータ記憶部53には、監視タイマ値T0を記憶するための監視タイマメモリ62が形成されている。
【0019】
ストアコントローラ12のプログラム記憶部42には、ストアコントローラ12が行なう商品管理,売上管理,在庫管理,発注等の各種業務を実現するためのメインプログラムの他、後述するSCリブートプログラム71とTM立上監視プログラム72とが記憶されている。各POS端末11のプログラム記憶部52には、POS端末11が行なう売上登録,返品登録,廃棄登録等の各種業務を実現するためのメインプログラムの他、後述するTMリブートプログラム73とSC立上監視プログラム74とが記憶されている。
【0020】
かかる構成の本実施の形態においては、ホストコンピュータ2の制御により各店舗システム1における各POS端末11のメインプログラムを一斉に若しくは選択的に交換することが可能である。ここで、ホストコンピュータ2からISDN3を通じて各POS端末11に配信されるプログラム交換の制御コマンドには、電源オフ/オンの実行を指令するリブート命令コマンドが含まれており、このコマンドを受信したPOS端末11のメイン制御部51は、メインプログラムを交換後、TMリブートプログラム73を起動して、図4の流れ図に示すTMリブート処理を実行する。
【0021】
先ず、メイン制御部51は、ST(ステップ)1としてストアコントローラ12に対し所定の電源オフ通知伝文をLAN14を介して送信する(オフ通知手段)。
【0022】
次に、メイン制御部51は、ST2としてストアコントローラ12からの応答を待ち、正常受信を示すACK応答伝文を受信したならば、ST3として電源制御部56を制御して当該POS端末11の電源をオフ/オンする(リブート手段)。そして、この電源オフ/オンにより正常に立上がったならば、メイン制御部51は、ST4としてストアコントローラ12に対し所定の電源オン通知伝文をLAN14を介して送信する(オン通知手段)。
【0023】
なお、ストアコントローラ12に対して電源オフ通知伝文を送信後、このストアコントローラ12からACK応答伝文を受信できなかった場合には、メイン制御部51は、ST5として電源のオフ/オンを行ない、正常に立上がっても電源オン通知伝文の送信は行なわない。
【0024】
一方、ストアコントローラ12のメイン制御部41は、LAN14で接続されたいずれかのPOS端末(端末番号xのPOS端末11xとする)から前記電源オフ通知伝文を受信すると、TM立上監視プログラム72を起動して、図5の流れ図に示すTM立上監視処理を実行する。
【0025】
先ず、メイン制御部41は、ST11として電源オフ通知伝文送信元のPOS端末11xに対してACK応答伝文を送信するとともに、ST12としてそのPOS端末11xの端末番号xに対応する監視タイマテーブル61の監視タイマ値Txを“0”にリセットする(タイマ起動手段)。
【0026】
次に、メイン制御部41は、ST13として時計部47にて時刻1秒が計時される毎に上記監視タイマ値Txを1ずつカウントアップし、ST14として監視タイマ値Txが予め設定された警告値K1に達したか否かを判断する。監視タイマ値Txが警告値K1に達していない場合には、ST15として当該POS端末11xから電源オン通知伝文を受信したか否かを判断する。そして、電源オン通知伝文を受信していない場合には、ST13に戻る。これに対し、電源オン通知伝文を受信した場合には、その時点でこの処理を終了する(タイマ停止手段)。
【0027】
一方、ST4にて監視タイマ値Txが警告値K1に達した場合には、メイン制御部41は、ST6としてPOS端末11xの立上異常通知伝文をISDN3を通じてホストコンピュータ2に送信して(異常通知手段)、この処理を終了する。
【0028】
ここで、警告値K1としては、POS端末11をリブートした際の立上げに要する最長時間よりも長い時間が予め設定されている。したがって、ホストコンピュータ2からの遠隔制御により自動リブートが指令されたPOS端末11xが正常に立上がった場合には、そのPOS端末11xに対応する監視タイマ値Txが警告値K1に達する前に当該POS端末11xから電源オン通知伝文が送信されて、監視タイマ値Txの計時動作が停止するので、当該POS端末11xの立上異常通知伝文がホストコンピュータ2に送信されることはない。逆に、POS端末11xが正常に立上がらなかった場合には、やがて監視タイマ値Txが警告値K1に達するので、POS端末11xの立上異常通知伝文がホストコンピュータ2に送信される。
【0029】
また、本実施の形態においては、ホストコンピュータ2の制御により各店舗システム1におけるストアコントローラ12のメインプログラムを一斉に若しくは選択的に交換することが可能である。ここで、ホストコンピュータ2からISDN3を通じて各ストアコントローラ12に配信されるプログラム交換の制御コマンドには、電源オフ/オンの実行を指令するリブート命令コマンドが含まれており、このコマンドを受信したストアコントローラ12のメイン制御部41は、メインプログラムを交換後、SCリブートプログラム71を起動して、図6の流れ図に示すSCリブート処理を実行する。
【0030】
先ず、メイン制御部41は、ST21として番号カウンタのカウント値nを一旦“0”にリセットした後、ST22としてこのカウンタを“1”だけ増加する。そして、ST23として番号カウンタのカウント値nがLAN14を介して接続されているPOS端末11の台数Nを超えていないことを確認したならば、メイン制御部41は、ST24として端末番号n(nは番号カウンタのカウント値に一致)のPOS端末11nに電源オフ通知伝文を送信する(オフ通知手段)。
【0031】
次に、メイン制御部41は、ST25としてPOS端末11nからの応答を待ち、正常受信を示すACK応答伝文を受信したならば、ST26として番号カウンタのカウント値nを不揮発性メモリ48に書込んだ後、ST27として電源制御部46を制御して当該ストアコントローラ12の電源をオフ/オンする(リブート手段)。そして、この電源オフ/オンにより正常に立上がったならば、メイン制御部41は、ST28として不揮発性メモリ48から番号カウンタのカウント値nを読出し、そのカウント値nから特定される端末番号nのPOS端末11nに対し所定の電源オン通知伝文をLAN14を介して送信する(オン通知手段)。
【0032】
なお、POS端末11nに対して電源オフ通知伝文を送信後、このPOS端末11nからACK応答伝文を受信できなかった場合には、メイン制御部41は、ST22に戻って番号カウンタのカウント値nをさらに1だけ増加する。そして、TM番号nのPOS端末11nに電源オフ通知伝文を送信する。そして、このPOS端末11nからACK応答伝文を受信したならば、ST26,27,28の各処理を実行する。これに対し、端末番号順に全てのPOS端末11に電源オフ通知伝文を送信したがACK応答伝文を1つも受信できなかった場合には、メイン制御部41は、ST29として電源のオフ/オンを行ない、正常に立上がっても電源オン通知伝文は送信しない。
【0033】
一方、各POS端末11のメイン制御部51は、LAN14で接続されたストアコントローラ12から前記電源オフ通知伝文を受信すると、SC立上監視プログラム74を起動して、図7の流れ図に示すSC立上監視処理を実行する。
【0034】
先ず、メイン制御部51は、ST31としてストアコントローラ12に対してACK応答伝文を送信するとともに、ST32として監視タイマ値T0を“0”にリセットする(タイマ起動手段)。
【0035】
次に、メイン制御部51は、ST33として時計部47にて時刻1秒が計時される毎に上記監視タイマ値T0を1ずつカウントアップし、ST34として監視タイマ値T0が予め設定された警告値K2に達したか否かを判断する。監視タイマ値T0が警告値K2に達していない場合には、ST35としてストアコントローラ12から電源オン通知伝文を受信したか否かを判断する。そして、電源オン通知伝文を受信していない場合には、ST33に戻る。これに対し、電源オン通知伝文を受信した場合には、その時点でこの処理を終了する(タイマ停止手段)。
【0036】
一方、ST34にて監視タイマ値T0が警告値K2に達した場合には、ST36としてストアコントローラ12の立上異常通知伝文をISDN3を通じてホストコンピュータ2に送信して、この処理を終了する(異常通知手段)。
【0037】
ここで、警告値K2としては、ストアコントローラ12をリブートした際の立上げに要する最長時間よりも長い時間が予め設定されている。したがって、ホストコンピュータ2からの遠隔制御により自動リブートが指令されたストアコントローラ12が正常に立上がった場合には、監視タイマ値T0が警告値K2に達する前にストアコントローラ12から電源オン通知伝文が送信されて、監視タイマ値T0の計時動作が停止するので、ストアコントローラ12の立上異常通知伝文がホストコンピュータ2に送信されることはない。逆に、ストアコントローラ12が正常に立上がらなかった場合には、やがて監視タイマ値T0が警告値K2に達するので、ストアコントローラ12の立上異常通知伝文がホストコンピュータ2に送信される。
【0038】
このように本実施の形態によれば、ストアコントローラ12が自動リブートによる電源オフ/オンによって正常に立上がらなかった場合には、このストアコントローラ12とLAN14で接続されたPOS端末11からホストコンピュータ2にストアコントローラ12の立上異常が即時通知されるので、例えばストアコントローラ12のプログラム交換を遠隔より実施した際にそのストアコントローラ12が正常に立上がったか否かを人手を介して確認する必要がなくなる。同様に、POS端末11が自動リブートによる電源オフ/オンによって正常に立上がらなかった場合には、このPOS端末11とLAN14で接続されたストアコントローラ12からホストコンピュータ2にPOS端末11の立上異常が即時通知されるので、例えばPOS端末11のプログラム交換を遠隔より実施した際にそのPOS端末11が正常に立上がったか否かを人手を介して確認する必要がなくなる。この効果は、コンビニエンスストア等のように店舗数が多い場合により大きいものとなる。
【0039】
なお、SCリブートプログラム71及びTMリブートプログラム73は、プログラム交換時のリブート命令コマンドによって起動するのみならず、例えばストアコントローラ12の保守を目的に半年に1回程度を目処に定期的に実施される再立上の際にも起動するものである。
【0040】
また、本発明はPOSシステムに限定されるものではなく、第1の機器と第2の機器とを第1のネットワークで接続するとともに、第1及び第2の機器の上位機器と第1の機器及び第2の機器とを第2のネットワークで互いに接続し、上位機器の遠隔制御により第1の機器及び第2の機器を選択的にリブートさせるネットワークシステム全般に適用できるものである。
【0041】
【発明の効果】
以上詳述したように本発明によれば、上位機器からのリブート命令コマンドに応じた自動リブートによる電源オフ/オンによって正常に立上がらなかった機器の異常を速やかに前記上位機器に通知することができるネットワークシステムを提供できる。
【図面の簡単な説明】
【図1】 本発明の一実施の形態のPOSシステムを示す模式図。
【図2】 同実施の形態におけるストアコントローラとPOS端末の機能構成を示すブロック図。
【図3】 図2に示す監視タイマテーブルの詳細図。
【図4】 同実施の形態におけるPOS端末のメイン制御部が実行するTMリブート処理の要部を示す流れ図。
【図5】 同実施の形態におけるストアコントローラのメイン制御部が実行するTM立上監視処理の要部を示す流れ図。
【図6】 同実施の形態におけるストアコントローラのメイン制御部が実行するSCリブート処理の要部を示す流れ図。
【図7】 同実施の形態におけるPOS端末のメイン制御部が実行するSC立上監視処理の要部を示す流れ図。
【符号の説明】
1…店舗システム、2…ホストコンピュータ、3…ISDN、11…POS端末、12…ストアコントローラ、14…LAN、41,51…メイン制御部、46,56…電源制御部、47,57…時計部、48…不揮発性メモリ、61…監視タイマテーブル、62…監視タイマメモリ、71…SCリブートプログラム、72…TM立上監視プログラム、73…TMリブートプログラム、74…SC立上監視プログラム。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a network system such as a POS (Point Of Sales) system.
[0002]
[Prior art]
For example, in a chain store such as a supermarket, a convenience store, a drug store, or a family restaurant that controls a plurality of stores at its headquarters, a POS terminal and a store controller are generally installed in each store and connected via a LAN (Local Area Network). A host computer is installed at the headquarters and connected to each store's POS terminal and store controller via a WAN (Wide Area Network). Maintenance of the POS terminal and store controller at each store is concentrated remotely using the host computer at the headquarters. A network system, so-called POS system, has been built that can be carried out automatically. By constructing such a network system, for example, it is possible to exchange programs for POS terminals or store controllers from the headquarters all at once.
[0003]
By the way, when a program exchange of an electronic device such as a POS terminal or a store controller is performed, the device needs to be turned on / off after the program exchange and restarted. Therefore, the program exchange control command distributed from the host computer to the program exchange target device of each store through the WAN includes a reboot command command for instructing execution of power off / on. Later, the power was automatically turned off / on and restarted. However, for example, there is a possibility that the device does not start up normally even if the power is turned off / on because there is a bug in the replaced program.
[0004]
Therefore, for example, when program exchange of POS terminals is carried out at the same time in all stores, the start-up status of the program exchange target device is confirmed from the headquarters (maintenance base) to each store using a telephone or the like, and the convenience store When there are a large number of stores such as, etc., enormous labor costs and communication costs were spent.
[0005]
For example, in a conventional network system of this type, the following maintenance technique is known as a technique for automatically notifying a maintenance base of a failure that has occurred in a POS terminal. That is, the POS terminal in which the failure has occurred records the failure information as failure log information in the failure log file. When the store controller constantly or periodically monitors the failure log file and detects the failure log information of the POS terminal, the store controller transmits failure call information related to the content of the failure to the host device at the maintenance base (for example, Patent Document 1).
[0006]
[Patent Document 1]
Japanese Patent Laid-Open No. 2002-269643 (FIG. 2)
[0007]
[Problems to be solved by the invention]
However, in this conventional maintenance technique, unless the device in which the failure has occurred records the failure log information in the failure log file, the failure is not notified to the host device. For this reason, a device whose power is turned off / on by automatic reboot but does not start up normally cannot record the abnormality in the failure log file, and thus cannot notify the host device of this type of abnormality.
[0008]
The present invention has been made based on such circumstances, and an object of the present invention is to promptly notify a host device of an abnormality of a device that has not been normally started up due to power off / on by automatic reboot. A network system is to be provided.
[0009]
[Means for Solving the Problems]
The network system of the present invention connects a first device and a second device via a first network (for example, a LAN), and also includes a host device, a first device, and a second device of the first and second devices. The devices are connected to each other by a second network (for example, WAN). Then, the first device and the second device are selectively rebooted by remote control of the host device. In this device, when the first device receives a reboot command from the host device through the second network, it sends a power-off notification message to the other device connected through the first network through the first network. An off notification means for transmitting, a reboot means for turning off / on the power after transmitting a power-off notification message by the off-notification means, and a power supply for the other device when the power is turned off / on by the reboot means An on-notification means for transmitting an on-notification message through the first network, and the second device receives a monitoring timer and receives a power-off notification message from the other device through the first network. Monitoring when a timer activation means for starting and a power-on notification message from the other device are received through the first network Timer stop means for stopping the timer, and an abnormality in which a startup abnormality notification message of the other device is transmitted to the upper device via the second network when the time measured by the monitoring timer reaches a preset abnormality detection time Notification means.
[0010]
With such a configuration, when a reboot command is given from the host device to the first device through the second network, the first device sends a power-off notification message to the second device in the first manner. After sending through the network, turn the power off / on. When the second device receives the power-off notification message from the first device through the first network, the second device starts a monitoring timer. Here, when the first device starts up normally due to power-off / on, the first device transmits a power-on notification message to the second device via the first network. As a result, the second device stops the monitoring timer. However, since the power-on notification message is not transmitted to the second device when the first device does not start up normally with respect to power-off / on, the second device uses the monitoring timer. The timekeeping time reaches a preset abnormality detection time. Then, the second device transmits a startup abnormality notification message of the first device to the upper device through the second network. Therefore, an abnormality of a device that has not been started up normally due to power off / on by automatic reboot is immediately notified to the host device.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
This embodiment is a case where the present invention is applied to a POS system constructed in a chain store that governs a plurality of stores at its headquarters.
[0012]
FIG. 1 is a schematic diagram showing a POS system according to the present embodiment. This system includes a store system 1 constructed in each store and a host computer 2 installed in the headquarters.
[0013]
The store system 1 includes a plurality of POS terminals (TM) 11, a store controller 12 (SC), and a line termination unit (DSU) 13. Each POS terminal 11 is connected to the store controller 12 via a wired or wireless LAN 14 so as to be capable of two-way communication. Further, each POS terminal 11 and the store controller 12 are connected to the line terminating device 13 by a home wiring cable 15, respectively.
[0014]
The line terminator 13 of each store is connected to an ISDN (Integrated Services Digital Network) 3 that is a wide area network. The host computer 2 is also connected to the ISDN 3. The host computer 2 performs program exchange of the POS terminal 11 and the store controller 12 as a host device of the store system 1.
[0015]
Here, the LAN 14 is a first network that connects a first device (for example, the store controller 12) and a second device (for example, the POS terminal 11), and the ISDN 3 is a first and second device. This is a second network that connects the higher-level device (host computer 2), the first device, and the second device to each other. Note that the second network is not limited to ISDN 3 and may be a telephone network, the Internet, or the like. Further, the first network is not limited to the LAN 14.
[0016]
FIG. 2 is a block diagram showing functional configurations of the store controller 12 and the POS terminal 11 of the store system 1. The store controller 12 is a nonvolatile memory such as a main control unit 41, a program storage unit 42, a data storage unit 43, a communication control unit 44, a LAN interface 45, a power supply control unit 46, a clock unit 47, and an EEPROM (Electrically Erasable Programmable Read Only Memory). The memory 48 or the like. Each POS terminal 11 includes a main control unit 51, a program storage unit 52, a data storage unit 53, a communication control unit 54, a LAN interface 55, a power supply control unit 56, a clock unit 57, and various input / output devices (for example, a keyboard, a display, The printer 58) and the like.
[0017]
The communication control units 44 and 54 are respectively connected to the in-home wiring cable 15 and control data communication with the host computer 2 connected via the ISDN 3. The LAN interfaces 45 and 55 control data communication with other devices connected via the LAN 14. Each power control unit 46 controls power on / off of the own device. The clock unit 47 keeps time (hours, minutes, seconds).
[0018]
As shown in FIG. 3, the data storage unit 43 of the store controller 12 stores a monitoring timer value Tx (for each terminal number that is a serial number uniquely set in advance for each POS terminal 11 connected via the LAN 14. 1 ≦ x ≦ N: N is a monitoring timer table 61 for storing N (the number of POS terminals 11 connected via the LAN 14). In the data storage unit 53 of each POS terminal 11, a monitoring timer memory 62 for storing the monitoring timer value T0 is formed.
[0019]
The program storage unit 42 of the store controller 12 includes a main program for realizing various operations such as merchandise management, sales management, inventory management, ordering, etc. performed by the store controller 12 as well as an SC reboot program 71 and TM startup described later. A monitoring program 72 is stored. In the program storage unit 52 of each POS terminal 11, in addition to a main program for realizing various operations such as sales registration, return registration, and disposal registration performed by the POS terminal 11, a TM reboot program 73 and SC startup monitoring described later are performed. A program 74 is stored.
[0020]
In the present embodiment having such a configuration, the main program of each POS terminal 11 in each store system 1 can be exchanged simultaneously or selectively under the control of the host computer 2. Here, the program exchange control command distributed from the host computer 2 to each POS terminal 11 through the ISDN 3 includes a reboot command command for instructing execution of power off / on, and the POS terminal that has received this command. 11 main controller 51 starts the TM reboot program 73 after exchanging the main program, and executes the TM reboot process shown in the flowchart of FIG.
[0021]
First, the main control unit 51 transmits a predetermined power-off notification message via the LAN 14 to the store controller 12 as ST (step) 1 (off notification means).
[0022]
Next, when the main control unit 51 waits for a response from the store controller 12 as ST2 and receives an ACK response message indicating normal reception, the main control unit 51 controls the power supply control unit 56 as ST3 to supply power to the POS terminal 11. Is turned off / on (reboot means). If the power supply is normally started by this power off / on, the main control unit 51 transmits a predetermined power-on notification message to the store controller 12 via the LAN 14 as ST4 (on notification means).
[0023]
If the ACK response message cannot be received from the store controller 12 after transmitting the power-off notification message to the store controller 12, the main control unit 51 turns the power off / on as ST5. Even if it starts up normally, the power-on notification message is not transmitted.
[0024]
On the other hand, when the main controller 41 of the store controller 12 receives the power-off notification message from any of the POS terminals connected to the LAN 14 (referred to as the POS terminal 11x of the terminal number x), the TM start-up monitoring program 72 And the TM start-up monitoring process shown in the flowchart of FIG. 5 is executed.
[0025]
First, the main control unit 41 transmits an ACK response message to the POS terminal 11x that is the power-off notification message transmission source as ST11, and also as a monitoring timer table 61 corresponding to the terminal number x of the POS terminal 11x as ST12. The monitoring timer value Tx is reset to “0” (timer starting means).
[0026]
Next, the main control unit 41 counts up the monitoring timer value Tx by 1 every time the clock unit 47 measures time 1 as ST13, and a warning value in which the monitoring timer value Tx is set in advance as ST14. It is determined whether or not K1 has been reached. If the monitoring timer value Tx has not reached the warning value K1, it is determined in ST15 whether a power-on notification message has been received from the POS terminal 11x. If the power-on notification message has not been received, the process returns to ST13. On the other hand, when a power-on notification message is received, this processing is terminated at that time (timer stopping means).
[0027]
On the other hand, when the monitoring timer value Tx reaches the warning value K1 in ST4, the main control unit 41 transmits a startup abnormality notification message of the POS terminal 11x to the host computer 2 through ISDN 3 (abnormal) (ST6). Notification means), this process is terminated.
[0028]
Here, as the warning value K1, a time longer than the longest time required for startup when the POS terminal 11 is rebooted is set in advance. Therefore, when the POS terminal 11x for which automatic reboot is instructed by remote control from the host computer 2 starts up normally, the POS terminal 11x corresponding to the POS terminal 11x is informed before the POS terminal 11x reaches the warning value K1. Since the power-on notification message is transmitted from the terminal 11x and the timing operation of the monitoring timer value Tx is stopped, the startup abnormality notification message of the POS terminal 11x is not transmitted to the host computer 2. On the contrary, if the POS terminal 11x does not start up normally, the monitoring timer value Tx eventually reaches the warning value K1, so that a startup abnormality notification message of the POS terminal 11x is transmitted to the host computer 2.
[0029]
In the present embodiment, the main program of the store controller 12 in each store system 1 can be exchanged simultaneously or selectively under the control of the host computer 2. Here, the program exchange control command distributed from the host computer 2 to each store controller 12 through the ISDN 3 includes a reboot command for instructing execution of power off / on, and the store controller that has received this command. After exchanging the main program, the main control unit 41 of 12 starts the SC reboot program 71 and executes the SC reboot process shown in the flowchart of FIG.
[0030]
First, the main control unit 41 once resets the count value n of the number counter to “0” as ST21, and then increments this counter by “1” as ST22. If it is confirmed in ST23 that the count value n of the number counter does not exceed the number N of POS terminals 11 connected via the LAN 14, the main control unit 41 determines that the terminal number n (n is A power-off notification message is transmitted to the POS terminal 11n that matches the count value of the number counter (off notification means).
[0031]
Next, when the main control unit 41 waits for a response from the POS terminal 11n as ST25 and receives an ACK response message indicating normal reception, the main control unit 41 writes the count value n of the number counter into the nonvolatile memory 48 as ST26. After that, as ST27, the power controller 46 is controlled to turn the store controller 12 off / on (reboot means). If the power supply is normally started up by this power off / on, the main control unit 41 reads the count value n of the number counter from the nonvolatile memory 48 as ST28, and stores the terminal number n specified from the count value n. A predetermined power-on notification message is transmitted to the POS terminal 11n via the LAN 14 (ON notification means).
[0032]
If the ACK response message cannot be received from the POS terminal 11n after transmitting the power-off notification message to the POS terminal 11n, the main control unit 41 returns to ST22 and counts the number counter. n is further increased by one. Then, a power-off notification message is transmitted to the POS terminal 11n with TM number n. If an ACK response message is received from the POS terminal 11n, the processes of ST26, 27, and 28 are executed. On the other hand, when the power-off notification message is transmitted to all the POS terminals 11 in the order of the terminal numbers, but no ACK response message is received, the main control unit 41 turns the power off / on as ST29. The power-on notification message is not transmitted even if the system starts up normally.
[0033]
On the other hand, when the main control unit 51 of each POS terminal 11 receives the power-off notification message from the store controller 12 connected via the LAN 14, it starts the SC start-up monitoring program 74 and the SC shown in the flowchart of FIG. Execute the start-up monitoring process.
[0034]
First, the main control unit 51 transmits an ACK response message to the store controller 12 as ST31, and resets the monitoring timer value T0 to “0” as ST32 (timer starting means).
[0035]
Next, the main control unit 51 increments the monitoring timer value T0 by 1 each time the time 47 is counted by the clock unit 47 as ST33, and a warning value in which the monitoring timer value T0 is preset as ST34. It is determined whether or not K2 has been reached. If the monitoring timer value T0 has not reached the warning value K2, it is determined in ST35 whether a power-on notification message has been received from the store controller 12. If no power-on notification message has been received, the process returns to ST33. On the other hand, when a power-on notification message is received, this processing is terminated at that time (timer stopping means).
[0036]
On the other hand, when the monitoring timer value T0 reaches the warning value K2 in ST34, a startup abnormality notification message of the store controller 12 is transmitted to the host computer 2 through ISDN 3 in ST36, and this process is terminated (abnormality). Notification means).
[0037]
Here, as the warning value K2, a time longer than the longest time required for startup when the store controller 12 is rebooted is set in advance. Therefore, when the store controller 12 to which automatic reboot is instructed by remote control from the host computer 2 starts up normally, the store controller 12 sends a power-on notification message before the monitoring timer value T0 reaches the warning value K2. Is transmitted and the time counting operation of the monitoring timer value T0 is stopped, so that the startup abnormality notification message of the store controller 12 is not transmitted to the host computer 2. On the other hand, if the store controller 12 does not start up normally, the monitoring timer value T0 eventually reaches the warning value K2, and therefore the startup abnormality notification message of the store controller 12 is transmitted to the host computer 2.
[0038]
As described above, according to the present embodiment, when the store controller 12 does not start up normally due to power off / on by automatic reboot, the host computer 2 is connected to the POS terminal 11 connected to the store controller 12 via the LAN 14. Therefore, when the store controller 12 is remotely exchanged, for example, it is necessary to manually check whether the store controller 12 has started up normally. Disappear. Similarly, if the POS terminal 11 does not start up normally due to power-off / on by automatic reboot, the store controller 12 connected to the POS terminal 11 via the LAN 14 sends an error in starting the POS terminal 11 to the host computer 2. Is immediately notified, for example, when the program exchange of the POS terminal 11 is performed from a remote location, it is not necessary to manually confirm whether the POS terminal 11 has started up normally. This effect is greater when the number of stores is large, such as a convenience store.
[0039]
Note that the SC reboot program 71 and the TM reboot program 73 are not only activated by a reboot instruction command at the time of program exchange, but are periodically implemented, for example, once every six months for the purpose of maintaining the store controller 12. It is also activated when re-starting up.
[0040]
In addition, the present invention is not limited to the POS system, and the first device and the second device are connected via the first network, and the host device and the first device of the first and second devices. And a second device connected to each other via a second network, and can be applied to all network systems in which the first device and the second device are selectively rebooted by remote control of the host device.
[0041]
【The invention's effect】
According to the present invention as described in detail above, it can be promptly notify the host device of the abnormality of the device that did not rise to normal by power off / on by automatic reboot in accordance with the reboot instruction command from the host device Network system can be provided.
[Brief description of the drawings]
FIG. 1 is a schematic diagram showing a POS system according to an embodiment of the present invention.
FIG. 2 is a block diagram showing a functional configuration of a store controller and a POS terminal in the embodiment.
FIG. 3 is a detailed view of a monitoring timer table shown in FIG.
FIG. 4 is a flowchart showing a main part of a TM reboot process executed by a main control unit of the POS terminal according to the embodiment;
FIG. 5 is a flowchart showing the main part of the TM start-up monitoring process executed by the main controller of the store controller in the embodiment.
FIG. 6 is a flowchart showing a main part of SC reboot processing executed by the main controller of the store controller according to the embodiment;
FIG. 7 is a flowchart showing a main part of SC start-up monitoring processing executed by the main control unit of the POS terminal according to the embodiment;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Store system, 2 ... Host computer, 3 ... ISDN, 11 ... POS terminal, 12 ... Store controller, 14 ... LAN, 41, 51 ... Main control part, 46, 56 ... Power supply control part, 47, 57 ... Clock part 48 ... Non-volatile memory 61 ... Monitoring timer table 62 ... Monitoring timer memory 71 ... SC reboot program 72 ... TM startup monitoring program 73 ... TM rebooting program 74 ... SC startup monitoring program

Claims (2)

第1の機器と第2の機器とを第1のネットワークで接続するとともに、前記第1及び第2の機器の上位機器と前記第1の機器及び第2の機器とを第2のネットワークで互いに接続し、前記上位機器の遠隔制御により前記第1の機器をリブートさせるネットワークシステムにおいて、
前記第1の機器は、前記上位機器から前記第2のネットワークを通じてリブート命令コマンドを受信すると前記第2の機器に対して電源オフ通知伝文を前記第1のネットワークを通じて送信するオフ通知手段と、このオフ通知手段により前記電源オフ通知伝文を送信した後に電源をオフ/オンするリブート手段と、このリブート手段による電源オフ/オンにより立上がると前記第2の機器に対して電源オン通知伝文を前記第1のネットワークを通じて送信するオン通知手段とを具備し、
前記第2の機器は、監視タイマと、前記第1の機器から前記電源オフ通知伝文を前記第1のネットワークを通じて受信すると前記監視タイマをスタートさせるタイマ起動手段と、前記第1の機器から前記電源オン通知伝文を前記第1のネットワークを通じて受信すると前記監視タイマを停止させるタイマ停止手段と、前記監視タイマによる計時時間が予め設定された異常検出時間に達すると前記上位機器に対して前記第1の機器の立上げ異常通知伝文を前記第2のネットワークを通じて送信する異常通知手段とを具備したことを特徴とするネットワークシステム。
The first device and the second device are connected via a first network, and the host device of the first and second devices and the first device and the second device are connected to each other via a second network. In a network system for connecting and rebooting the first device by remote control of the host device,
When the first device receives a reboot command command from the host device through the second network, the first device transmits a power-off notification message to the second device through the first network; Reboot means for turning off / on the power after transmitting the power-off notice message by the off-notification means, and power-on notice message to the second device upon startup by power off / on by the reboot means On-notification means for transmitting through the first network,
The second device includes a monitoring timer, timer activation means for starting the monitoring timer when the power-off notification message is received from the first device through the first network, and the first device from the first device. When the power-on notification message is received through the first network, timer stop means for stopping the monitoring timer, and when the time measured by the monitoring timer reaches a preset abnormality detection time, the upper device is A network system comprising: an abnormality notification means for transmitting a startup abnormality notification message of one device through the second network.
第1の機器と複数の第2の機器とを第1のネットワークで接続するとともに、前記第1及び第2の機器の上位機器と前記第1の機器及び各第2の機器とを第2のネットワークで互いに接続し、前記上位機器の遠隔制御により前記第1の機器をリブートさせるネットワークシステムにおいて、
前記第1の機器は、前記上位機器から前記第2のネットワークを通じてリブート命令コマンドを受信するといずれか1つの第2の機器に対して電源オフ通知伝文を前記第1のネットワークを通じて送信するオフ通知手段と、このオフ通知手段により前記電源オフ通知伝文を送信した前記第2の機器から許諾応答がないと別の第2の機器に前記電源オフ通知伝文を前記第1のネットワークを通じて送信する再オフ通知手段と、前記電源オフ通知伝文を送信した前記第2の機器から許諾応答があると電源をオフ/オンするリブート手段と、このリブート手段による電源オフ/オンにより立上がると前記許諾応答があった第2の機器に対して電源オン通知伝文を前記第1のネットワークを通じて送信するオン通知手段とを具備し、
前記第2の機器は、監視タイマと、前記第1の機器から前記電源オフ通知伝文を前記第1のネットワークを通じて受信すると許諾応答を返すとともに前記監視タイマをスタートさせるタイマ起動手段と、前記第1の機器から前記電源オン通知伝文を前記第1のネットワークを通じて受信すると前記監視タイマを停止させるタイマ停止手段と、前記監視タイマによる計時時間が予め設定された異常検出時間に達すると前記上位機器に対して前記第1の機器の立上げ異常通知伝文を前記第2のネットワークを通じて送信する異常通知手段とを具備したことを特徴とするネットワークシステム。
A first device and a plurality of second devices are connected via a first network, and a host device of the first and second devices, the first device and each second device are connected to a second network. In a network system for connecting to each other via a network and rebooting the first device by remote control of the host device,
When the first device receives a reboot command command from the higher-level device through the second network, the first device transmits a power-off notification message to any one of the second devices through the first network. And when there is no permission response from the second device that has transmitted the power-off notification message by the off-notification device, the power-off notification message is transmitted to another second device through the first network. Re-off notification means, reboot means for turning off / on power when there is a permission response from the second device that has transmitted the power-off notification message, and permission when the power is turned off / on by the reboot means An on-notification means for transmitting a power-on notification message to the second device that has responded through the first network;
The second device returns a permission response when receiving the power-off notification message from the first device through the first network, and starts a monitoring timer, and starts the monitoring timer. Timer stop means for stopping the monitoring timer when the power-on notification message is received from the first device through the first network, and the host device when the time measured by the monitoring timer reaches a preset abnormality detection time A network system, comprising: an abnormality notification means for transmitting a startup abnormality notification message of the first device through the second network.
JP2002374316A 2002-12-25 2002-12-25 Network system Expired - Fee Related JP3961418B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002374316A JP3961418B2 (en) 2002-12-25 2002-12-25 Network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002374316A JP3961418B2 (en) 2002-12-25 2002-12-25 Network system

Publications (2)

Publication Number Publication Date
JP2004206376A JP2004206376A (en) 2004-07-22
JP3961418B2 true JP3961418B2 (en) 2007-08-22

Family

ID=32812373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002374316A Expired - Fee Related JP3961418B2 (en) 2002-12-25 2002-12-25 Network system

Country Status (1)

Country Link
JP (1) JP3961418B2 (en)

Also Published As

Publication number Publication date
JP2004206376A (en) 2004-07-22

Similar Documents

Publication Publication Date Title
JP2812189B2 (en) How to download the program
CA2733788C (en) Method and systems for redundant server automatic failover
KR100539202B1 (en) Fault notification system and process using local area network
US11073893B2 (en) System and method capable of remotely controlling electronic apparatus
JP2007122151A (en) Boot controller and boot control method
JP3961418B2 (en) Network system
JP2962387B2 (en) Programmable controller and method for resetting specific other station in distributed control system using same, method for detecting cause of reset of other station, method for monitoring abnormal station, method for synchronously starting and method for synchronously stopping
JP6838568B2 (en) Information processing system and information processing method
JP4851994B2 (en) Operation monitoring device, operation monitoring method, and operation monitoring program
JPH09198334A (en) Fault managing method for data transmission system
JP4212251B2 (en) Remote monitoring system and remote monitoring method
JP2977705B2 (en) Control system of networked multiplexed computer system
JP2869240B2 (en) Communications system
JPH07121394A (en) Multiplexer
JP2003067220A (en) Computer system
JPH09152960A (en) Information processor and information processing system
CN117271179A (en) Starting method, device, server and system of central processing unit
JPH1185569A (en) Processor
JP3451418B2 (en) Monitoring control circuit and communication device using the circuit
JP3582432B2 (en) Communication terminal device and communication terminal device reset processing method
JPH07129425A (en) Reboot processing method
JP2001014180A (en) Automatic start-up device for computer system
JP2000242329A (en) Telemeter system
JP2728500B2 (en) Time data equivalence method
JPH0937352A (en) Radio data communication system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060713

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060808

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060927

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070516

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100525

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110525

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees