JP3375530B2 - Vending machine PHS connection device - Google Patents

Vending machine PHS connection device

Info

Publication number
JP3375530B2
JP3375530B2 JP30955197A JP30955197A JP3375530B2 JP 3375530 B2 JP3375530 B2 JP 3375530B2 JP 30955197 A JP30955197 A JP 30955197A JP 30955197 A JP30955197 A JP 30955197A JP 3375530 B2 JP3375530 B2 JP 3375530B2
Authority
JP
Japan
Prior art keywords
data
communication
vending machine
phs
connection device
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
JP30955197A
Other languages
Japanese (ja)
Other versions
JPH11136767A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP30955197A priority Critical patent/JP3375530B2/en
Publication of JPH11136767A publication Critical patent/JPH11136767A/en
Application granted granted Critical
Publication of JP3375530B2 publication Critical patent/JP3375530B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】本発明は、自動販売機にPH
S電話機を接続して販売データの収集を行なうPHS接
続装置に関し、特に、センター装置の通信方式に合わせ
て通信でき、信頼性よく効率的なデータ収集ができる自
動販売機PHS接続装置に関する。 【0002】 【従来の技術】自動販売機の販売情報や在庫情報を営業
所や配送車で把握して配送業務を効率化するために、ま
た、自動販売機からの故障情報や商品売切れ情報を通知
して販売機会のロスを削減するために、自動販売機から
吸い上げた各種データをセンター装置で収集して販売管
理に利用することが行なわれている。従来は公衆電話回
線などの有線を介してデータ収集を行なっていた。しか
し、電話回線が近くにないために有線に接続できない場
所ではデータ収集が不可能であるし、電話回線があって
も自動販売機の移設のたびに回線接続工事が必要とな
り、データ収集のためのコストがかかった。 【0003】そこで、自動販売機に無線装置を設置し
て、無線回線を介してデータ収集を行なうようになって
きた。特に最近では、PHS通信が利用できるようにな
ったので、自動販売機とセンター装置を公衆回線または
PBXのPHS電話機で接続してデータ収集を行なうよ
うになった。しかし、自動販売機とセンター装置の間を
すべてPHS通信で接続すると通信コストが高くなるの
で、PHS電話機のトランシーバ機能を使って低コスト
で通信することが行なわれるようになった。 【0004】複数の自動販売機をグループにし、1台の
PHS親装置を設け、自動販売機にPHS電話機を接続
して子装置とする。親装置をセンター装置と接続し、子
装置を親装置と接続して、子装置のデータをトランシー
バ機能を使って親装置に集め、集めたデータを親装置か
らセンター装置に送信する。PHS電話機のトランシー
バ機能を利用すると、狭い範囲では通信できるが、遠く
の子装置とは通信できないことがある。親装置の近くの
子装置を中継して直列でデータ転送すると、電波の伝搬
状態によってはデータが届かないことがある。そこで、
中継用の子装置を介してデータ転送する迂回ルートを設
ける。ルータあるいは中継器となる子装置は、電界強度
の強い有利なルートを選んでデータを転送する。 【0005】従来の自動販売機データ収集装置のPHS
電話機では、ディジタルデータをモデムにより音声帯域
のアナログ信号に変換して、みなし音声通信を使用して
通信していた。みなし音声通信では低速な通信しかでき
ない。しかし、最近ではPHS電話機でPIAFS(PH
S Internet Access Forum Standard)(ピアフ)と呼ば
れる方式で32kbpsのディジタル通信ができるようになっ
た。PIAFS方式は、別名「32K高速データ通信」な
どと呼ばれ、32kbpsでデータ伝送を行なうものである。
しかし、PIAFSのフレーム構造はピギーバッキング
方式と呼ばれるもので、640bitの固定フレームの中に、
制御情報24bitと誤り検出情報32bitが含まれるので、ユ
ーザーデータは584bitとなり、実際にユーザーデータが
伝送される速度は、29.2kbpsになる。 【0006】自動販売機PHS接続装置内に、PIAF
S通信に対応したPHS電話機を接続することにより、
29.2kbpsのスループットでのデータ通信を可能としてい
る。これにより、自動販売機1台あたりのデータ量(約
4000byte)を数秒にて転送する。このシステムにおける
基本的な接続構成を第9図に示す。 【0007】1つのビル内に設置された複数の自動販売
機に、それぞれ自動販売機PHS接続装置を設ける。こ
れらの自動販売機PHS接続装置の1つを親装置とし、
他の自動販売機PHS接続装置を子装置とする。親装置
は、自身に接続された自動販売機の販売データを集計す
るとともに、各子装置からの販売データを受信し、各子
装置に対して制御データを送信する。親装置は、集計し
た販売データを基地局と公衆回線を介してセンター装置
に送信し、センター装置から制御データを受信する。親
装置と基地局との間はPHS通信で通信を行ない、親装
置と子装置1、2との間ではトランシーバ通信を行な
う。親装置と子装置3の間は、子装置2で中継して通信
する。子装置3が親装置と直接通信できないような電波
障壁があっても、子装置2を介して通信できる。 【0008】 【発明が解決しようとする課題】従来の自動販売機PH
S接続装置では、1つのグループ内の親装置に、子装置
から一定周期(例えば1時間毎)で販売データを集めて
蓄積している。しかし、グループが大型化して、1台の
親装置に最大で50台の子装置が接続され、子装置間の接
続形態が複雑になると、途中の通信経路に一時的な通信
障害が発生して、子装置からの周期的なデータが周期内
に親装置まで届かず、次の周期のデータが先に親装置に
到達することが起こるようになる。例えば、子装置と子
装置の間に大型トラックが駐車して電波を遮蔽したよう
な場合、直接通信ができなくなるので、迂回経路を使っ
て通信することになる。PHS電話機は同時に2台とは
通信できないので、迂回通信の経路が長くなると、実効
的な転送速度が極端に低下し、データの到達が1時間以
上かかることがあり、データの到達順序の逆転が発生す
ることがある。1つの販売データは4KB程度であり、50
台分では200KBになるから、親装置にはその何倍もの多
くのメモリーを装備できないので、子装置1台当たり1
つのデータしかとっておけない。古いデータが後から到
達してデータを更新すると、結果的に親装置に古いデー
タが蓄積されることになり、最新のデータを収集できな
い事態が発生することがあった。 【0009】また、従来の自動販売機PHS接続装置で
は、有線回線しか持たないセンター装置との通信用に、
あるいは、PHS基地局のないところでも使えるように
するために、有線回線用の外部モデムとの通信部を持っ
ている。外部モデムを使用した場合に、外部モデムがな
んらかの理由により暴走して動作しない状態になること
があった。このような状態になると、人手により外部モ
デムをリセットする以外に回復の方法がなかった。 【0010】また、従来の自動販売機PHS接続装置で
は、センター装置から親装置が受け取った制御データ
を、親装置がセンター装置と通信を行なう毎に、子装置
に転送していた。制御データは、自動販売機から故障や
売り切れ等の情報をセンター装置に発信する条件などに
関するデータであり、本来は、センター装置が自動販売
機の動作を制御するために、センター装置と自動販売機
が1対1で接続されて通信する際に送られるものであ
る。自動販売機PHS接続装置では、センター装置と自
動販売機の間に、親装置と子装置が入り込む形であるた
め、センター装置から親装置が受け取った制御データを
そのまますべて子装置に転送している。その結果、制御
データの転送がグループ内の通信負荷を上げ、販売デー
タの転送の妨げになっていた。 【0011】また、従来の自動販売機PHS接続装置で
は、以前からあったモデムを用いたみなし音声を用いた
データ通信と、新しく定められた32Kbpsのデジタル通信
方式であるPIAFS通信のいずれかを用いて通信する
ようになっていた。みなし音声通信とPIAFS通信
は、そのままでは互いに接続できない。そのために、P
IAFS通信を使うグループの自動販売機の販売データ
を、みなし音声通信を用いた携帯型のセンター装置でデ
ータ収集することができなかった。 【0012】また、従来の自動販売機PHS接続装置で
は、センター装置と親装置との通信をトランシーバ通信
により行なう場合、グループ内通信がPIAFS通信な
らPIAFS通信で行ない、グループ内通信がみなし音
声通信なら、みなし音声通信でおこなっていた。PHS
電話機間のトランシーバ通信では、通信方式種別の自動
判定に必要な着信情報がない。そのため、PIAFS通
信かみなし音声通信かの自動判別が不可能である。グル
ープ内のトランシーバ通信は、PIAFS通信かみなし
音声通信のどちらかに限られる。したがって、センター
装置と親装置との通信をトランシーバ通信により行なう
場合、グループ内通信がPIAFS通信のとき、みなし
音声通信で行なうことはできず、グループ内通信がみな
し音声通信のとき、PIAFS通信で行なうことはでき
なかった。 【0013】また、従来の自動販売機PHS接続装置で
は、通信を行なっていない待機時間中にも、すべての回
路に電源を供給していた。自動販売機から電源を供給さ
れている場合はよいが、中継のみを行なうために自動販
売機から離れて設置され、電池で駆動されている子装置
の場合、電池の消耗が激しく、頻繁に人手で電池交換を
しなければならなかった。 【0014】 【課題を解決するための手段】そこで、上記の課題を解
決するために、本発明の自動販売機PHS接続装置で
は、親装置が受信した子装置からの販売データに付加さ
れている収集時刻と、親装置に蓄積されている販売デー
タの収集時刻とを比較判定し、新しく受信した販売デー
タの方が古い場合は、新しく受信した販売データを親装
置に蓄積しないように構成する。ただし、子装置の時計
を遅らせる修正をしたときに、販売データの蓄積が行な
われなくなることを防ぐために、親装置に設定した1日
のうちのある特定時間帯に受信した販売データは無条件
に蓄積するように構成する。このように構成することに
より、子装置からの販売データの転送に時間がかかって
も、親装置に蓄積された新しい販売データが古い販売デ
ータにより消去されることを防止できる。 【0015】また、本発明の自動販売機PHS接続装置
では、外部モデムに対して一定周期毎に確認コマンドを
送出し、これに対する応答がなかった場合には外部モデ
ムの電源を制御するためのスイッチを切って入れなおす
回路を設けた構成とする。このように構成することによ
り、無人運転の自動販売機PHS接続装置でも、外部モ
デムのハングアップ状態からの自動復帰が可能となる。 【0016】また、本発明の自動販売機PHS接続装置
では、センター装置から受け取った制御データを親装置
に蓄積しておき、新たにセンター装置から受け取った制
御データと比較し、同じ制御データである場合には子装
置に転送しないように構成する。このように構成するこ
とにより、センター装置から受け取った制御データの子
装置への転送を1回にして、親装置と子装置間の転送デ
ータ量を減らすことができる。 【0017】また、本発明の自動販売機PHS接続装置
では、PIAFS通信とみなし音声通信を、着信した情
報の中のどちらかを表わす情報により自動的に判定する
手段と、通信回路の切替えをする手段とを設けた構成と
する。このように構成することにより、どちらの方式で
通信するかを通信毎に自動的に判定して切替えを行なう
ことで両方の通信を可能にし、みなし音声通信しかでき
ない旧タイプのセンター装置との接続を可能にする。 【0018】また、本発明の自動販売機PHS接続装置
では、親装置に特定の電話番号を登録し、トランシーバ
通信で着信した電話番号を登録した電話番号と比較して
一致した場合には、グループ内で使用している通信方式
ではない方式で通信するように構成した。このように構
成することにより、センター装置と親装置との通信をト
ランシーバ通信により行なう場合、グループ内通信がP
IAFS通信でも、みなし音声通信ができ、グループ内
通信がみなし音声通信でも、PIAFS通信ができるよ
うになる。 【0019】また、本発明の自動販売機PHS接続装置
では、省電力モードになるときにメイン制御部から電源
制御部へ省電力開始信号を出す手段と、メイン制御部へ
の電源供給を断つ手段と、相手先から電話がかかってく
るとPHS電話機から起動信号を出す手段と、電源制御
部で起動信号を検出する手段と、電源制御部からメイン
制御部へ電源を供給する手段とを設けた構成とした。こ
のように構成することにより、待機時間中の電池の消耗
を防ぎ、電池の交換時間を長くすることができる。 【0020】 【発明の実施の形態】本発明の請求項1に記載した発明
は、子装置として機能している自動販売機PHS接続装
置から受信した販売データに付加されている収集時刻を
判定する判定手段と、親装置として機能している自動販
売機PHS接続装置に蓄積されている当該子装置の販売
データの収集時刻よりも、前記判定手段から得られた収
集時刻が古い場合は受信した販売データを親装置に蓄積
しないようにする手段と、前記親装置に設定された特定
時間帯に子装置から受信した販売データを無条件に親装
置に蓄積する手段とを具備する自動販売機PHS接続装
置であり、確実に最新のデータのみを収集するという作
用を有する。 【0021】 【0022】 【0023】 【0024】 【0025】 【0026】以下、本発明の実施の形態について、図面
を参照しながら詳細に説明する。 【0027】(第1の実施の形態)本発明の第1の実施
の形態は、子装置から送られてきた販売データに付加さ
れている収集時刻が、親装置に蓄積されている販売デー
タの収集時刻よりも古い場合は受信した販売データを蓄
積せず、特定時間帯に受信した販売データは無条件に蓄
積を行なうようにした自動販売機PHS接続装置であ
る。 【0028】図1は、本発明の第1の実施の形態の自動
販売機PHS接続装置のブロック図である。図2は、自
動販売機PHS接続装置の処理フローを示す図である。
自動販売機PHS接続装置1は、PIAFS対応のPH
S電話機2を備えている。自動販売機接続ケーブル3
は、自動販売機5を制御したり、自動販売機5の各種デ
ータを収集するための信号ケーブルである。電源ケーブ
ル4は、自動販売機5から自動販売機PHS接続装置1
に電源を供給するためのケーブルである。電源は+8V
または+24Vで、消費電力は約2.4Wである。モデム部
7は、PHS電話機2でみなし音声通信を行なうための
モデムである。モデム部7からの信号線はPHS電話機
2のイヤホンマイク端子に接続されている。みなし音声
通信は、CCITT V.22bisに準拠したもので、通信速度は2
400bpsである。アダプタ部(PS−ADP部)8は、P
HS電話機2の16ピン端子と充電端子に接続されてお
り、16ビットCPUと256KBのプログラムメモリーと256
KBのワークメモリーと8KBのEEPROMを備えており、発呼
着呼の制御とPIAFS通信と電源供給を行なう。制御
部9は、自動販売機PHS接続装置1の全体の制御を行
なうもので、16ビットCPUと256KBのプログラムメモ
リーと256KBのワークメモリーと保守用の表示装置とキ
ーボードを備えている。 【0029】子装置は、自動販売の売上データと在庫デ
ータなどからなる販売データを1時間に1回収集して、
収集時刻を付加して、親装置に送信する。販売データは
金額や数量などの絶対値データであり、差分データなど
ではなく、単独で理解できるデータであるので、何らか
の障害で過去の販売データが失われても、以降の販売デ
ータの利用に格別の差し障りはない。 【0030】親装置は、子装置から受信した販売データ
をメモリーに蓄積しておき、センター装置から要求があ
ったとき、グループの販売データをまとめてセンター装
置に送信する。1つのデータは4KB程度であり、50台分
では200KBになる。親装置に大容量のメモリーを設ける
ことは高コストになるので、子装置の販売データを1つ
ずつ蓄積できる容量のメモリーを設けておき、常に最新
の販売データのみを蓄積するようにする。 【0031】1台の親装置に最大で50台の子装置が接続
できる。子装置が多くなり、子装置間の中継関係が複雑
になると、通信経路の途中に何らかの通信障害が発生し
て迂回経路での通信が行なわれた場合、実効的な転送速
度が極端に低下し、販売データの到達が1時間以上かか
ることがある。その結果、子装置からの販売データが周
期内に親装置まで届かず、次の周期の販売データが先に
親装置に到達することが起こる。親装置には多くのメモ
リーを装備できないので、子装置1台当たり1つの販売
データしかとっておけない。古い販売データが後から到
達すると、最新の販売データを収集できない事態が発生
する。これを避けるために、最新の販売データのみを蓄
積することにする。 【0032】図2の処理フローに従って、自動販売機P
HS接続装置の動作を説明する。親装置が子装置から販
売データを受信すると、当該子装置からの販売データが
既に親装置に蓄積されているかどうか検査する。蓄積さ
れていなければ、受信した販売データを親装置に蓄積す
る。当該子装置からの販売データが既に親装置に蓄積さ
れていれば、現在の時刻を検査する。現在の時刻が無条
件データ蓄積時間帯の範囲内であれば、受信した販売デ
ータを親装置に蓄積する。これは、子装置の時計が何ら
かの原因で著しく遅れた場合、すべての販売データが廃
棄される危険を避けるためである。 【0033】現在の時刻が無条件データ蓄積時間帯の範
囲内でなければ、受信した販売データの収集時刻を検査
する。前回に受信した販売データの収集時刻より新しい
収集時刻の販売データであれば、親装置に蓄積する。前
回に受信した販売データの収集時刻より古い収集時刻の
販売データであれば、今回受信した販売データを廃棄す
る。 【0034】以上のように、本発明の第1の実施の形態
の自動販売機PHS接続装置では、販売データの収集時
刻を判定して、蓄積データよりも古い場合は蓄積を行な
わないが、特定時間帯に受信したデータは無条件に蓄積
するように構成し、古い販売データが新しい販売データ
より遅れて親装置に到着した場合は廃棄するので、新し
い販売データが消されることがなくなるし、必ずデータ
を蓄積する時間帯を設けるので、すべてのデータが廃棄
される事態になることはない。 【0035】(第2の実施の形態)本発明の第2の実施
の形態は、外部モデムに対して一定周期ごとに確認コマ
ンドを送出し、この確認コマンドに対する応答がなかっ
た場合には、外付けモデムの電源を切って再び入れるこ
とにより、外部モデムをリセットする自動販売機PHS
接続装置である。 【0036】図3は、本発明の第2の実施の形態の自動
販売機PHS接続装置のブロック図である。図4は、自
動販売機PHS接続装置の処理フローを示す図である。 【0037】自動販売機PHS接続装置1では、PHS
通信でセンター装置と通信するようになっているが、有
線回線しか持たないセンター装置との通信用に、あるい
は、PHS基地局のないところでも使えるようにするた
めに、有線回線用の外部モデム12との通信部を持ってい
る。PIAFS通信では、センター装置にISDN回線
が必要であり、ISDN回線に接続されておらず、みな
し音声通信のみを使うセンター装置もあるので、そのよ
うなセンター装置とも通信できるようにしておく必要が
ある。 【0038】この外部モデム12は、「インテリジェント
・モデム」と呼ばれるモデムであり、AA型NCU(自
動発信/自動着信型NCU)が内蔵されている。このタ
イプのNCU制御方法は、CCITT V.25による方法と、CC
ITT V.25bisまたはHayse ATコマンドによる方法があ
る。CCITT V.25bisは、CCITT V.24(RS232C)を通じてA
A型NCUを制御する方法である。Hayse ATコマンド
は、コマンドの先頭に常に“AT”(Attentionの意
味)の文字がつくことから、“ATコマンド”と呼ばれ
る。これらの方法では、送受信のデータ線を用いて自動
起呼手順などの制御を行なう。制御コマンドに対して応
答を返すようになっているので、応答を監視することに
より、モデムが正常に動作しているかどうか判定でき
る。 【0039】外部モデム12を使用した場合に、外部モデ
ム12がなんらかの理由により暴走して動作しないハング
アップ状態になることがある。このような状態になると
自動販売機PHS接続装置1側からはリセットすること
ができない。 【0040】図4の処理フローに従って、自動販売機P
HS接続装置1の動作を説明する。制御部9は外部モデ
ム12に対してATコマンドを送出して応答を待つ。所定
時間内に外部モデム12から応答があれば、3分待ち、再
びATコマンドを送出する。所定時間内に外部モデム12
から応答がなければ、外部モデム12の電源を制御するス
イッチ13を切る指令を出して、外部モデム12の電源を一
旦遮断する。再び外部モデム12の電源を入れることによ
り、外部モデム12をリセットする。その後、3分ごとに
ATコマンドを送出する動作を繰り返す。外部モデム12
がCCITT V.25bisに準拠するものであれば、そのコマン
ドで同様に応答を監視すればよい。 【0041】以上のように、本発明の第2の実施の形態
の自動販売機PHS接続装置では、外部モデムに対して
一定周期ごとに確認コマンドを送出し、これに対して一
定時間内に応答がないと外部モデムの電源を切って再び
入れてリセットする構成としたので、外部モデムが異常
になっても自動的に復旧させることができる。 【0042】(第3の実施の形態)本発明の第3の実施
の形態は、センター装置から受け取った制御データを親
装置に蓄積しておき、新しい制御データを受け取ると蓄
積してある制御データと比較して、新しい制御データが
すべて蓄積してある制御データと同じならば子装置に転
送しないようにした自動販売機PHS接続装置である。 【0043】図5は、本発明の第3の実施の形態の自動
販売機PHS接続装置の処理フローを示す図である。自
動販売機PHS接続装置のハードウエア構成は、図1の
ブロック図と同じである。 【0044】親装置は、センター装置からデータを受信
すると、制御データが含まれているかどうかを検査す
る。制御データがなければ、子装置にデータを転送しな
い。制御データが含まれていれば、前回受信したデータ
中に制御データがあるかどうか検査する。前回受信した
データ中に制御データがなければ、今回受信した制御デ
ータを子装置に転送する。前回受信したデータに制御デ
ータがあれば、前回の制御データと今回の制御データを
比較し、すべて同じ制御データであれば子装置に転送し
ない。異なっている制御データがあれば受信したすべて
の制御データを子装置に転送する。 【0045】通常は、センター装置から親装置に電話を
かけて販売データを収集するが、故障などの異常事態が
発生したり、商品の品切れなどが起こったときは、自動
販売機からセンター装置に電話をかけて故障データなど
を送る必要がある。そのため、センター装置から制御デ
ータを自動販売機PHS接続装置に送信して、いつなに
をするかを指示する。しかし、同じ制御データを親装置
から子装置に送るのはトラフィックの増加になるだけで
あり、販売データの転送の妨げになるから、全く同じ制
御データは親装置から子装置に送らないようにする。た
だし、4種類ある制御データのレコードのうち1つだけ
でも違っていたらすべて送るようにして、信頼性を確保
する。 【0046】以上のように、本発明の第3の実施の形態
の自動販売機PHS接続装置では、親装置に前回センタ
ーから受け取った制御データを蓄積する手段と、新しい
制御データと比較する手段と、子装置に転送するべきか
を判断する手段と、同じデータである場合には転送しな
いようにする手段とを設けた構成とし、連続してセンタ
ーから同じ制御データが送られてきても子装置に転送し
ないので、グループ内のトラフィックが減り、販売デー
タの転送が妨げられない。 【0047】(第4の実施の形態)本発明の第4の実施
の形態は、PIAFS通信とみなし音声通信を着信情報
から自動的に判定し、モデム部とアダプタ部の切替えを
する自動販売機PHS接続装置である。 【0048】図6は、本発明の第4の実施の形態の自動
販売機PHS接続装置の処理フローを示す図である。自
動販売機PHS接続装置のハードウエア構成は、図1の
ブロック図と同じである。 【0049】みなし音声通信しかできない旧タイプのセ
ンター装置との接続と、みなし音声通信しかできない旧
タイプの自動販売機PHS接続装置装置との接続を可能
にするためには、みなし音声通信とPIAFS通信の両
方の通信を行なえるようにしなければならい。この場
合、どちらの通信方式で通信するかを通信毎に決める必
要がある。公衆PHS、自営PHSを用いる場合、着信
した情報の中に通信方式の種別を表わす情報があるた
め、これを自動的に判定することにより切替えを可能に
する。着信すると、PHS電話機からPS−ADP部を
介して、どの通信種別かを制御部に知らせる。いずれの
通信種別かの信号をみて制御部で判断する。 【0050】着信種別がみなし音声であれば、みなし音
声通信設定のコマンドを送出し、内蔵モデムのネゴシエ
ーションを行ない、みなし音声通信をする。着信種別が
みなし音声でなければ、PIAFS通信設定のコマンド
を送出し、PIAFSのネゴシエーションを行ない、P
IAFS通信をする。 【0051】以上のように、本発明の第4の実施の形態
の自動販売機PHS接続装置では、PIAFS通信とみ
なし音声通信を着信した情報により自動的に判定し、切
替えをする構成としたので、PIAFS通信とみなし音
声通信を自動的に判別して通信することができる。 【0052】(第5の実施の形態)本発明の第5の実施
の形態は、トランシーバ通信で着信した場合に、発信側
の電話番号と親装置に登録されている特定の電話番号と
比較し、一致した場合にはグループ内で使用している通
信方式ではない方式で通信する自動販売機PHS接続装
置である。 【0053】図7は、本発明の第5の実施の形態の自動
販売機PHS接続装置の処理フローを示す図である。 【0054】親装置とセンター装置がみなし音声通信で
通信し、親装置と子装置がPIAFS通信で通信する必
要が生ずることがあり、その逆もある。PHSの規格で
は、トランシーバ通信では、通信種別を判断できない。
そのため、トランシーバ通信では電話番号を送っている
ことを利用して電話番号で通信種別を判断する。 【0055】グループ内でPIAFS通信を行なってい
る場合、親装置は、着信したトランシーバ番号を取り出
し、設定されている番号と比較する。一致していれば、
みなし音声通信設定のコマンドを送出し、内蔵モデムの
ネゴシエーションを行ない、みなし音声通信をする。番
号が一致しなければ、PIAFS通信設定のコマンドを
送出し、PIAFSのネゴシエーションを行ない、PI
AFS通信を行なう。 【0056】このフロー図は、グループ内でPIAFS
通信を行なっている場合のものであるが、逆の場合、す
なわち、グループ内でみなし音声通信を行なっている場
合、親装置は、着信したトランシーバ番号を取り出し、
設定されている番号と比較する。一致していれば、PI
AFS通信設定のコマンドを送出し、PIAFSのネゴ
シエーションを行ない、PIAFS通信を行なう。番号
が一致しなければ、みなし音声通信設定のコマンドを送
出し、内蔵モデムのネゴシエーションを行ない、みなし
音声通信をする。 【0057】以上のように、本発明の第5の実施の形態
の自動販売機PHS接続装置では、親装置に特定の電話
番号を登録し、トランシーバで着信した場合に着信した
電話番号をこれと比較し、一致した場合にはグループ内
で使用している通信方式ではない方式で通信する構成と
したので、トランシーバ通信でも、通信方式を切り替え
て通信をすることができる。 【0058】(第6の実施の形態)本発明の第6の実施
の形態は、省電力モードになるときにメイン制御部から
電源制御部へ省電力開始信号を出してメイン制御部への
電源供給を断ち、相手先から電話がかかってくるとPH
S電話機から起動信号を出して電源制御部からメイン制
御部へ電源供給を再開する自動販売機PHS接続装置で
ある。 【0059】図8は、本発明の第6の実施の形態の自動
販売機PHS接続装置の構成を示すブロック図である。 【0060】電源部11では、電池などからの電源を5V
に変換して、PHS電話機2と電源制御部10に供給す
る。電源制御部10では、メイン制御部6に5Vを供給す
るとともに、メイン制御部6から省電力開始信号(5V
SON信号)を受け、メイン制御部6への5Vを制御す
る。メイン制御部6では、待機時などの省電力モードに
なる時に、省電力開始信号(5VSON信号)をだし
て、5V電源を落とす。PHS電話機2が電話を受ける
と、起動信号(ADPWUP信号)を電源制御部10に出
して、メイン制御部6への5V電源を復活させる。PH
S電話機2の電源は常に供給されている。 【0061】通常動作時には約300mAの電流が流れる
が、省電力モードでは10mAにまで減少するので、電池の
寿命を大幅に延ばすことができる。 【0062】以上のように、本発明の第6の実施の形態
の自動販売機PHS接続装置では、省電力モードになる
ときにメイン制御部から電源制御部へ省電力開始信号を
出してメイン制御部への電源供給を断ち、相手先から電
話がかかってくるとPHS電話機から電源制御部へ起動
信号出して、電源制御部からメイン制御部への電源供給
を再開する構成としたので、待機時の電力消費を減らす
ことができる。 【0063】 【発明の効果】以上説明したように、本発明では、子装
置からの販売データに付加されている収集時刻と、親装
置に蓄積されている販売データの収集時刻を比較し、古
い販売データが新しい販売データより遅れて親装置に到
着した場合は廃棄するように構成したので、常に最新の
販売データを蓄積しておけるという効果が得られる。 【0064】また、外部モデムに確認コマンドを送出
し、応答がなかった場合には外付けモデムの電源スイッ
チを切って入れる構成としたので、外部モデムが異常に
なっても自動的に復旧させることができるという効果が
得られる。 【0065】また、親装置がセンター装置から受け取っ
た前回の制御データと新しい制御データとを比較し、同
じデータである場合には子装置に転送しない構成とし、
連続してセンター装置から同じ制御データが送られてき
ても子装置に転送しないので、親装置と子装置の間のト
ラフィックを減らせるという効果が得られる。 【0066】また、PIAFS通信とみなし音声通信を
自動的に判定して切り替える構成としたので、PIAF
S通信とみなし音声通信を自動的に判別して通信するこ
とができるという効果が得られる。 【0067】また、トランシーバ通信で着信した電話番
号が、親装置に登録された特定の電話番号と一致した場
合に、グループ内で使用している通信方式ではない方式
で通信する構成としたので、トランシーバ通信でも通信
方式を切り替えて通信をすることができるという効果が
得られる。 【0068】また、省電力モードになるときにメイン制
御部への電源供給を断ち、電話を受けるとPHS電話機
から起動信号を出して、電源制御部からメイン制御部へ
電源を供給する構成としたので、待機時の電力消費を減
らすことができるという効果が得られる。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention
PHS connection to connect S telephone and collect sales data
Connection equipment, especially according to the communication method of the center equipment.
Communication that enables reliable and efficient data collection.
The present invention relates to a vending machine PHS connection device. [0002] Sales information and inventory information of vending machines are sold.
In order to improve the efficiency of delivery operations by identifying locations and delivery vehicles,
Notification of trouble information and out-of-stock information from vending machines
Vending machines to reduce the loss of sales opportunities
The collected various data is collected by the center device and sold
Utilization is used for the reason. Previously public telephone
Data was collected via wires such as wires. Only
If you cannot connect to the wire because the telephone line is not nearby
Data collection is impossible in some places and there is a phone line
Requires line connection work every time a vending machine is relocated.
Costly to collect data. Therefore, a wireless device is installed in a vending machine.
And started collecting data via wireless lines.
Came. Particularly recently, PHS communication has become available.
The vending machine and the center equipment were connected to the public line or
Connect with PBX PHS phone and collect data
Swelled. However, between the vending machine and the center equipment
If all are connected by PHS communication, communication cost will increase
Low cost using transceiver function of PHS telephone
Communication began to take place. A plurality of vending machines are grouped into one
Install PHS parent device and connect PHS telephone to vending machine
To make a child device. Connect the parent device to the center device and
Connect the device to the parent device and transceive data from the child device.
Data is collected in the parent device using the
To the center device. Transy of PHS phone
The communication function allows you to communicate in a small area,
May not be able to communicate with other child devices. Near parent device
When data is transferred in series by relaying the slave device,
Data may not arrive depending on the situation. Therefore,
Set up a detour route to transfer data via the relay child device.
I can. The child device to be a router or a repeater has the electric field strength
Choose a strong and advantageous route to transfer data. [0005] A PHS of a conventional vending machine data collection device
In telephones, digital data is transmitted to the voice band by a modem.
To an analog signal and use deemed voice communication
Was communicating. Only low-speed communication is possible with deemed voice communication.
Absent. However, recently, PIAFS (PH
S Internet Access Forum Standard (Piafu)
32 kbps digital communication
Was. The PIAFS system is also known as “32K high-speed data communication”.
These are called 32 kbps and transmit data at 32 kbps.
However, the frame structure of PIAFS is piggybacking
In a method called a 640-bit fixed frame,
Since 24 bits of control information and 32 bits of error detection information are included,
The user data is 584 bits, and the user data is actually
The transmission speed is 29.2 kbps. In a vending machine PHS connection device, a PIAF
By connecting a PHS phone that supports S communication,
Enables data communication with a throughput of 29.2 kbps
You. As a result, the amount of data per vending machine (approx.
4000 bytes) in a few seconds. In this system
Fig. 9 shows the basic connection configuration. [0007] A plurality of vending machines installed in one building
Each machine is provided with a vending machine PHS connection device. This
One of the vending machine PHS connection devices is a parent device,
The other vending machine PHS connection device is a child device. Parent device
Aggregates sales data for vending machines connected to itself
Receiving sales data from each child device,
Transmit control data to the device. The parent device counts
Center data via base station and public line
And receives control data from the center device. parent
Communication between the device and the base station by PHS communication
Transceiver communication is performed between the device and the child devices 1 and 2.
U. Communication between the parent device and the child device 3 via the child device 2
I do. Radio waves such that the child device 3 cannot directly communicate with the parent device
Even if there is a barrier, communication can be performed via the child device 2. [0008] A conventional vending machine PH
In the S connection device, a parent device in one group is added to a child device.
From a certain period (for example, every hour)
Has accumulated. However, as the group has grown larger,
A maximum of 50 child devices are connected to the parent device.
If the connection is complicated, temporary communication
When a failure occurs, the periodic data from the child device
Does not reach the parent device, and the next cycle of data is sent to the parent device first.
Reaching comes to happen. For example, child device and child
It seems that a large truck parked between devices and shielded radio waves
In such cases, direct communication cannot be performed.
To communicate. Two PHS phones at the same time
Communication is not possible.
Data transfer speed drops extremely and data arrives for less than one hour.
The order of arrival of data may be reversed
Sometimes. One sales data is about 4KB, 50
Each unit is 200KB, so the parent device is many times as many
One memory per child device
Only one data can be stored. Old data arrives later
And the data is updated, the old data is eventually stored in the parent device.
Data will be accumulated and the latest data cannot be collected.
Situation occurred. [0009] In addition, the conventional vending machine PHS connection device
Is for communication with a center device that only has a wired line.
Or to use it without PHS base station
To communicate with an external modem for a wired line.
ing. If an external modem is used, no external modem
Running out of control due to runaway for some reason
was there. In such a situation, external
There was no way to recover except resetting the dem. [0010] In addition, in the conventional vending machine PHS connection device
Is the control data received by the parent device from the center device
Each time the parent device communicates with the center device,
Had been transferred to. Control data is sent from the vending machine
For conditions such as sending out information such as sold out to the center device
Data, and the center equipment is originally sold automatically
Central equipment and vending machines to control the operation of the machine
Is sent when one-to-one connection is made to communicate.
You. In the vending machine PHS connection device, the center device and
A parent device and a child device enter between vending machines.
Control data received by the parent device from the center device.
All data is directly transferred to the child device. As a result, control
Data transfer increases the communication load in the group and sales data
Data transfer. In addition, in a conventional vending machine PHS connection device,
Used deemed voice using a pre-existing modem
Data communication and newly defined 32Kbps digital communication
Communication using any of the PIAFS communication methods
It was like. Deemed voice communication and PIAFS communication
Cannot be connected to each other as they are. Therefore, P
Group vending machine sales data using IAFS communication
With a portable center device using deemed voice communication.
Data could not be collected. [0012] Also, in the conventional vending machine PHS connection device
, Transceiver communication between the center device and the parent device
If the communication within the group is PIAFS communication
PIAFS communication, and intra-group communication sounds
For voice communication, deemed voice communication was used. PHS
In transceiver communication between telephones, automatic
There is no incoming information required for judgment. Therefore, PIAFS
It is impossible to automatically determine whether the communication is trust or deemed voice communication. Guru
Transceiver communication within a group is assumed to be PIAFS communication
Limited to either voice communication. Therefore, the center
Communication between device and parent device by transceiver communication
If the intra-group communication is PIAFS communication,
Voice communication cannot be used, and all intra-group communication
In the case of voice communication, PIAFS communication cannot be used.
Did not. [0013] Also, in the conventional vending machine PHS connection device
Will not be able to
Power was being supplied to the road. Powered by vending machine
Is good, but vending
A child device that is located away from the vending machine and is powered by a battery
In the case of, the battery is extremely drained,
I had to. Means for Solving the Problems Accordingly, the above problems are solved.
In order to determine, with the vending machine PHS connection device of the present invention
Is added to the sales data from the child device received by the parent device.
Collection time and sales data stored in the parent device.
Data is compared with the data collection time, and the newly received sales data
If the data is older, parent the newly received sales data
So that it does not accumulate in the device. However, the clock of the child device
The sales data is accumulated.
One day set on the parent device to prevent it from being lost
Sales data received during a certain time period is unconditional
It is configured to accumulate in. With this configuration
It takes more time to transfer sales data from child devices
New sales data stored in the parent device
Data can be prevented from being erased. Also, the vending machine PHS connection device of the present invention
Then, a confirmation command is sent to the external modem at regular intervals.
To the external model if there is no response.
Switch to control power to the system
The configuration is such that a circuit is provided. With this configuration,
Even an unmanned vending machine PHS connection device can
Automatic return from the hang-up state of the dem is enabled. Also, the vending machine PHS connection device of the present invention
Then, the control data received from the center device is
System that has been newly received from the center device.
Control data, and if the control data is the same,
It is configured not to transfer to the device. This configuration
And the child of the control data received from the center device.
Transfer data to the device only once and transfer data between the parent device and child device.
Data volume can be reduced. Also, the vending machine PHS connection device of the present invention
Now, assume that PIAFS communication and voice communication
Automatically judge based on information indicating either of the information
Means and means for switching communication circuits, and
I do. With this configuration, either method
Automatically determine whether to communicate for each communication and switch
This allows both communications and only deemed voice communications
Enables connection with no old type center device. Further, the vending machine PHS connection device of the present invention
Now, register a specific phone number in the parent device,
Compare the incoming phone number with the registered phone number
If they match, the communication method used in the group
It was configured to communicate in a different way. Like this
Communication between the center device and the parent device.
When communication is performed by transceiver communication, communication within the group
Even with IAFS communication, deemed voice communication is possible and
PIAFS communication is possible even if communication is deemed voice communication
Swell. Further, the vending machine PHS connection device of the present invention
Now, when entering the power saving mode,
Means for sending a power saving start signal to the control unit and to the main control unit
To turn off the power to the
Means for issuing a start signal from the PHS telephone and power control
Means for detecting the start signal in the unit, and
And a means for supplying power to the control unit. This
Battery consumption during the standby time.
Can be prevented and battery replacement time can be extended. DESCRIPTION OF THE PREFERRED EMBODIMENTS The invention described in claim 1 of the present invention
Is a vending machine PHS connection device functioning as a child device.
Collection time added to the sales data received from
Determining means for determining, and a vending machine functioning as a parent device
Sale of the child device stored in the vending machine PHS connection device
The collection time obtained from the determination means is more than the data collection time.
If the collection time is old, store the received sales data in the parent device
Means to prevent the device from being identified,
Unconditionally parent sales data received from child devices during the time zone
Vending machine PHS connection device comprising means for storing in a storage device
And ensure that only the latest data is collected.
Having Hereinafter, embodiments of the present invention will be described with reference to the drawings.
This will be described in detail with reference to FIG. (First Embodiment) First embodiment of the present invention
Is added to the sales data sent from the child device.
The collected time is the sales data stored in the parent device.
If it is older than the collection time of the
Sales data received during a specific time period
Vending machine PHS connection device
You. FIG. 1 shows an automatic transmission according to a first embodiment of the present invention.
It is a block diagram of a vending machine PHS connection device. FIG.
It is a figure which shows the processing flow of a vending machine PHS connection apparatus.
The vending machine PHS connection device 1 is a PIAFS compatible PH
An S telephone 2 is provided. Vending machine connection cable 3
Controls the vending machine 5 and various data of the vending machine 5
This is a signal cable for collecting data. Power cable
4 from the vending machine 5 to the vending machine PHS connection device 1
Cable to supply power to the Power supply is + 8V
Or at + 24V, the power consumption is about 2.4W. Modem section
7 is for performing deemed voice communication with the PHS telephone 2.
It is a modem. The signal line from the modem unit 7 is a PHS telephone
2 is connected to the earphone microphone terminal. Deemed voice
Communication conforms to CCITT V.22bis, communication speed is 2
400 bps. The adapter unit (PS-ADP unit) 8
Connected to the 16-pin terminal and charging terminal of the HS telephone 2
16 bit CPU, 256KB program memory and 256
Equipped with KB work memory and 8KB EEPROM for calling
Incoming call control, PIAFS communication, and power supply are performed. control
The unit 9 controls the whole of the vending machine PHS connection device 1.
A 16-bit CPU and 256KB program memo
Memory with 256KB of work memory and display and keypad for maintenance
Board. The child device includes sales data and inventory data for automatic vending.
Data once every hour,
The collection time is added, and the data is transmitted to the parent device. Sales data is
Absolute value data such as amount and quantity, such as difference data
Rather than data that can be understood by itself,
If past sales data is lost due to a
There is no particular obstacle to the use of data. The parent device receives the sales data received from the child device.
Is stored in the memory, and there is a request from the center unit.
Group sales data at the center
To the device. One data is about 4KB, and it is for 50 cars
Then it becomes 200KB. Provide a large amount of memory in the parent device
Is expensive, so one sales data of child device
Provide a memory with a capacity that can store
Only store sales data. Up to 50 child devices are connected to one parent device
it can. The number of slave devices increases, and the relay relationship between slave devices is complicated.
, A communication failure occurs in the middle of the communication path.
Effective communication speed when communication is performed on a bypass route
The degree of decline is extremely low, and the arrival of sales data is over one hour
Sometimes. As a result, sales data from child devices
Sales data for the next cycle is not delivered to the parent device within the
Reaching the parent device happens. Many notes on parent device
Lee can not be equipped, one sale per child device
Only data can be stored. Old sales data coming later
When it reaches, the situation that the latest sales data can not be collected occurs
I do. To avoid this, store only the latest sales data.
I will pile up. According to the processing flow of FIG. 2, the vending machine P
The operation of the HS connection device will be described. Parent device sold from child device
When the sales data is received, the sales data from the child device is
It checks whether it is already stored in the parent device. Accumulated
If not, store the received sales data in the parent device.
You. Sales data from the child device is already stored in the parent device.
If so, check the current time. The current time is unconditional
If the received sales data is within the
Data is stored in the parent device. This is because the clock of the child device
If there is a significant delay due to
This is to avoid the risk of being abandoned. The current time is within the range of the unconditional data storage time zone.
If not, check the collection time of the received sales data
I do. Newer than the collection time of the sales data received last time
If it is sales data at the collection time, it is stored in the parent device. Previous
Collection time older than the collection time of the sales data received
If it is sales data, discard the sales data received this time
You. As described above, the first embodiment of the present invention
Vending machine PHS connection device, when collecting sales data
Time and determine if the data is older than the stored data.
I don't know, but data received during a specific time period is unconditionally stored
Configure the old sales data to be the new sales data
If it arrives at the parent device later, it will be discarded.
Sales data will not be lost,
All data is discarded because there is a time zone for storing
It will not happen. (Second Embodiment) A second embodiment of the present invention
In this mode, the confirmation command is sent to the external modem at regular intervals.
Command, and there is no response to this confirmation command.
The external modem, turn it off and then on again.
Vending machine PHS to reset external modem
It is a connection device. FIG. 3 shows an automatic transmission according to a second embodiment of the present invention.
It is a block diagram of a vending machine PHS connection device. FIG.
It is a figure which shows the processing flow of a vending machine PHS connection apparatus. In the vending machine PHS connection device 1, PHS
It communicates with the center device by communication, but
For communication with a center device that has only
Can be used even without a PHS base station
For communication with an external modem 12 for wired lines.
You. In PIAFS communication, the center device has an ISDN line
Is required and is not connected to the ISDN line.
Some center devices use only voice communication, so
Need to be able to communicate with center devices such as
is there. This external modem 12 has an "intelligent
AA-type NCU (self-modem)
A dynamic calling / automatic incoming call type NCU) is built in. This
The ICU NCU control method is based on CCITT V.25 and CCITT V.25.
There is a method using ITT V.25bis or Hayse AT command.
You. CCITT V.25bis is compatible with CCITT V.24 (RS232C)
This is a method for controlling an A-type NCU. Hayse AT command
Is always “AT” (for Attention) at the beginning of the command.
It is called “AT command” because it has the letters “Taste”.
You. These methods use automatic transmission and reception data lines.
It controls the calling procedure and the like. Respond to control commands
So that you can monitor the response.
Can determine if the modem is working properly
You. When the external modem 12 is used, the external model
Hangs when system 12 runs out of control for some reason
It may go up. When this happens
Reset from the vending machine PHS connection device 1 side
Can not. According to the processing flow of FIG.
The operation of the HS connection device 1 will be described. The control unit 9 is an external model.
It sends an AT command to the system 12 and waits for a response. Predetermined
If there is a response from the external modem 12 in time, wait 3 minutes and
And sends an AT command. External modem 12 within a predetermined time
If there is no response from the
Issue a command to turn off switch 13, and turn off external modem 12 power.
Shut off. Turn on the external modem 12 again.
Resets the external modem 12. Then every three minutes
The operation of transmitting the AT command is repeated. External modem 12
Is compatible with CCITT V.25bis, the command
The response may be monitored in the same manner. As described above, the second embodiment of the present invention
Vending machine PHS connection equipment, external modem
A confirmation command is sent at regular intervals.
If there is no response within the fixed time, turn off the external modem and
External modem is abnormal because it is configured to reset by inserting
It can be automatically restored even if it becomes. (Third Embodiment) Third Embodiment of the Present Invention
In this mode, the control data received from the center
Store it in the device and store it when new control data is received.
New control data is compared with the stored control data.
If all the stored control data is the same, switch to the slave device.
It is a vending machine PHS connection device that is not sent. FIG. 5 shows an automatic transmission according to a third embodiment of the present invention.
It is a figure which shows the processing flow of a vending machine PHS connection apparatus. Self
The hardware configuration of the vending machine PHS connection device is shown in FIG.
It is the same as the block diagram. The parent device receives data from the center device
Then, check whether control data is included.
You. If there is no control data, do not transfer data to the child device.
No. If control data is included, the previously received data
Check for control data inside. Last received
If there is no control data in the data, the control data received this time
Data to the child device. Control data is added to the previously received data.
Data, the previous control data and the current control data
Compare and if all control data are the same, transfer
Absent. All received if there is different control data
Is transferred to the child device. Normally, a call is made from the center device to the parent device.
Over time to collect sales data,
If an error occurs or the product is out of stock,
Telephone from the vending machine to the center device for failure data, etc.
Need to send. Therefore, control data is sent from the center device.
Data to the vending machine PHS connection device,
To do. However, the same control data
Is only going to increase traffic
Yes, it will hinder the transfer of sales data, so exactly the same system
Control data should not be sent from the parent device to the child device. Was
However, only one of the four control data records
But if they are different, send them all to ensure reliability
I do. As described above, the third embodiment of the present invention
In the vending machine PHS connection device of
Means for accumulating control data received from
Means to compare with control data and whether to transfer to child device
Means to determine if the data is the same
And a means for keeping the center
-Even if the same control data is sent from the
There is no traffic in the group,
Data transfer is not impeded. (Fourth Embodiment) Fourth Embodiment of the Present Invention
Is assumed to be PIAFS communication and voice communication is called
Automatically determines the switch between the modem and the adapter.
Vending machine PHS connection device. FIG. 6 is a diagram showing an automatic operation according to the fourth embodiment of the present invention.
It is a figure which shows the processing flow of a vending machine PHS connection apparatus. Self
The hardware configuration of the vending machine PHS connection device is shown in FIG.
It is the same as the block diagram. An old type security system that can only perform deemed voice communication
Old system that can only connect with
Type vending machine PHS connection device Connection possible
To achieve this, both deemed voice communication and PIAFS communication
You have to be able to communicate. This place
In this case, it is necessary to decide which communication method to use for each communication.
It is necessary. When using public PHS or private PHS, incoming call
Information that indicates the type of communication method
Switching is possible by automatically judging this.
I do. When a call arrives, the PS-ADP unit is
The control unit is notified of the communication type via the control unit. Any
The control unit makes a determination by looking at the signal indicating the communication type. If the incoming call type is deemed voice, deemed sound
Sends voice communication setting command and negotiates internal modem.
Communication and deemed voice communication. The incoming call type is
If not deemed voice, PIAFS communication setting command
Is transmitted, PIAFS negotiation is performed, and P
IAFS communication is performed. As described above, the fourth embodiment of the present invention
Vending machine PHS connection device, PIAFS communication
None Voice communication is automatically determined based on the
Because it was configured to change, PIAFS communication assumed sound
Voice communication can be automatically determined and communicated. (Fifth Embodiment) Fifth Embodiment of the Present Invention
The form is that the caller receives
Phone number and a specific phone number registered in the parent device
Compare, and if they match, the message used in the group
Vending machine PHS connection equipment that communicates by a method other than the communication method
It is a place. FIG. 7 is a diagram showing an automatic operation according to the fifth embodiment of the present invention.
It is a figure which shows the processing flow of a vending machine PHS connection apparatus. The parent device and the center device communicate with each other by the deemed voice communication.
Communication, and the parent device and the child device need to communicate by PIAFS communication.
In some cases, the need arises, and vice versa. In PHS standard
Cannot determine the communication type in transceiver communication.
Therefore, the telephone number is sent in transceiver communication
The communication type is determined based on the telephone number using the above. PIAFS communication is performed within the group.
The parent device retrieves the incoming transceiver number.
And compare it with the set number. If they match,
Sends the deemed voice communication setting command and
Perform negotiation and perform deemed voice communication. Turn
If the numbers do not match, the PIAFS communication setting command
Send, negotiate PIAFS,
AFS communication is performed. This flow chart shows that PIAFS
Communication is being performed, but the reverse is true.
In other words, if you are performing deemed voice communication within the group,
The parent device retrieves the incoming transceiver number,
Compare with the set number. If they match, PI
Sends the AFS communication setting command and negotiates PIAFS
A negotiation is performed, and PIAFS communication is performed. number
If does not match, send the deemed voice communication setting command.
Out, negotiate the internal modem,
Make voice communication. As described above, the fifth embodiment of the present invention
Vending machine PHS connection device, a specific telephone to the parent device
Register the number and receive it when it arrives at the transceiver
Compare the phone number with this, and if it matches, within the group
Communication with a method other than the communication method used in
Switching communication method for transceiver communication
Can communicate. (Sixth Embodiment) Sixth embodiment of the present invention
When the power saving mode is set, the main control unit
Sends a power saving start signal to the power controller and sends a signal to the main controller.
If power is cut off and a call is received from the other party, PH
S Start-up signal is sent from the telephone and the main control
Vending machine PHS connection device that restarts power supply to the control section
is there. FIG. 8 shows an automatic transmission according to a sixth embodiment of the present invention.
It is a block diagram showing composition of a vending machine PHS connection device. In the power supply section 11, a power supply from a battery or the like is 5V
And supply it to the PHS telephone 2 and the power control unit 10.
You. The power control unit 10 supplies 5 V to the main control unit 6.
And a power saving start signal (5 V
SON signal) and controls 5V to the main control unit 6.
You. The main control unit 6 sets a power saving mode such as standby mode.
When the power saving start signal (5VSON signal) is issued.
And turn off the 5V power supply. PHS telephone 2 receives the call
And an activation signal (ADPWUP signal) to the power control unit 10.
Then, the 5V power supply to the main control unit 6 is restored. PH
The power of the S telephone 2 is always supplied. During normal operation, a current of about 300 mA flows
However, in the power saving mode, it is reduced to 10 mA,
The service life can be greatly extended. As described above, the sixth embodiment of the present invention
Vending machine PHS connecting device enters power saving mode
Sometimes a power saving start signal is sent from the main control unit to the power control unit.
Power supply to the main control unit, and
When talking, start from PHS phone to power control unit
Signals and supplies power from the power control unit to the main control unit
To reduce power consumption during standby.
be able to. As described above, according to the present invention, the child device
Collection time added to sales data from
Compare the collection time of the sales data stored in the
Sales data arrives at the parent device later than new sales data
It is configured to discard when worn, so always
The effect is that sales data can be stored. A confirmation command is sent to the external modem.
If there is no response, turn off the external modem power switch.
The external modem is abnormal.
The effect that can be automatically restored even if it becomes
can get. Also, the parent device receives from the center device.
Compare the previous control data with the new control data
If the same data is not transferred to the child device,
The same control data is sent continuously from the center unit.
Is not transferred to the child device, the transfer between the parent device and the child device
The effect of reducing traffic can be obtained. In addition, voice communication regarded as PIAFS communication is
Since it is configured to automatically determine and switch, PIAF
S-communications and automatically determine voice communications
The effect that can be obtained is obtained. The telephone number received by the transceiver communication
Number matches a specific telephone number registered in the parent device.
In this case, a method that is not the communication method used in the group
Communication with transceiver
The effect that communication can be performed by switching the method
can get. When the power saving mode is set, the main control
Turn off the power supply to your department and receive a phone call.
From the power control unit to the main control unit
The power supply configuration reduces power consumption during standby.
The effect that it can be obtained is obtained.

【図面の簡単な説明】 【図1】本発明の第1の実施の形態の自動販売機PHS
接続装置のブロック図、 【図2】本発明の第1の実施の形態の自動販売機PHS
接続装置における受信データの蓄積、廃棄の判断の処理
フローを示す図、 【図3】本発明の第2の実施の形態の外部モデムを設け
た自動販売機PHS接続装置のブロック図、 【図4】本発明の第2の実施の形態の自動販売機PHS
接続装置における外部モデムの監視の処理フローを示す
図、 【図5】本発明の第3の実施の形態の自動販売機PHS
接続装置における制御データの転送判断の処理フローを
示す図、 【図6】本発明の第4の実施の形態の自動販売機PHS
接続装置における通信種別の判断の処理フローを示す
図、 【図7】本発明の第5の実施の形態の自動販売機PHS
接続装置におけるトランシーバ通信の種別の判断の処理
フローを示す図、 【図8】本発明の第6の実施の形態の自動販売機PHS
接続装置における省電力回路の構成を示すブロック図、 【図9】従来の自動販売機PHS接続装置を使用したビ
ル内自動販売機データ収集システムの構成を示す図であ
る。 【符号の説明】 1 自動販売機PHS接続装置 2 PHS電話機(PIAFS対応) 3 自動販売機接続ケーブル 4 電源ケーブル 5 自動販売機 6 メイン制御部 7 内蔵モデム部 8 アダプタ部 9 制御部 10 電源制御部 11 電源部 12 外部モデム 13 スイッチ
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a vending machine PHS according to a first embodiment of the present invention.
FIG. 2 is a block diagram of a connection device. FIG. 2 is a vending machine PHS according to the first embodiment of the present invention.
FIG. 3 is a diagram showing a processing flow for judging storage and discard of received data in a connection device; FIG. 3 is a block diagram of a vending machine PHS connection device provided with an external modem according to a second embodiment of the present invention; Vending machine PHS according to a second embodiment of the present invention
FIG. 5 is a diagram showing a processing flow of monitoring an external modem in a connection device. FIG. 5 is a vending machine PHS according to a third embodiment of the present invention.
FIG. 6 is a diagram showing a processing flow of control data transfer determination in a connection device. FIG. 6 is a vending machine PHS according to a fourth embodiment of the present invention.
The figure which shows the processing flow of the judgment of the communication type in a connection apparatus, FIG. 7: Vending machine PHS of 5th Embodiment of this invention
FIG. 8 is a diagram showing a processing flow for determining the type of transceiver communication in a connection device. FIG. 8 is a vending machine PHS according to a sixth embodiment of the present invention.
FIG. 9 is a block diagram illustrating a configuration of a power saving circuit in the connection device. FIG. 9 is a diagram illustrating a configuration of a vending machine data collection system in a building using a conventional vending machine PHS connection device. [Description of Signs] 1 Vending machine PHS connection device 2 PHS telephone (compatible with PIAFS) 3 Vending machine connection cable 4 Power cable 5 Vending machine 6 Main control unit 7 Built-in modem unit 8 Adapter unit 9 Control unit 10 Power control unit 11 Power supply unit 12 External modem 13 Switch

───────────────────────────────────────────────────── フロントページの続き (72)発明者 長瀬 博之 神奈川県横浜市港北区綱島東四丁目3番 1号 松下通信工業株式会社内 (56)参考文献 特開 平8−154135(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04B 7/24 - 7/26 H04Q 7/00 - 7/38 ──────────────────────────────────────────────────続 き Continuation of front page (72) Inventor Hiroyuki Nagase 4-1-1 Tsunashima Higashi, Kohoku-ku, Yokohama City, Kanagawa Prefecture Inside Matsushita Communication Industrial Co., Ltd. (56) References JP-A-8-154135 (JP, A) (58) Field surveyed (Int.Cl. 7 , DB name) H04B 7/ 24-7/26 H04Q 7 /00-7/38

Claims (1)

(57)【特許請求の範囲】 【請求項1】 子装置として機能している自動販売機P
HS接続装置から受信した販売データに付加されている
収集時刻を判定する判定手段と、親装置として機能して
いる自動販売機PHS接続装置に蓄積されている当該子
装置の販売データの収集時刻よりも、前記判定手段から
得られた収集時刻が古い場合は受信した販売データを親
装置に蓄積しないようにする手段と、前記親装置に設定
された特定時間帯に子装置から受信した販売データを無
条件に親装置に蓄積する手段とを具備することを特徴と
する自動販売機PHS接続装置。
(57) [Claims] [Claim 1] A vending machine P functioning as a child device
Determining means for determining the collection time added to the sales data received from the HS connection device; Means for preventing the received sales data from being stored in the parent device when the collection time obtained from the determination unit is old; and A vending machine PHS connection device comprising: means for unconditionally storing data in a parent device.
JP30955197A 1997-10-24 1997-10-24 Vending machine PHS connection device Expired - Fee Related JP3375530B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30955197A JP3375530B2 (en) 1997-10-24 1997-10-24 Vending machine PHS connection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30955197A JP3375530B2 (en) 1997-10-24 1997-10-24 Vending machine PHS connection device

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2002109285A Division JP2003023503A (en) 2002-04-11 2002-04-11 Vending machine phs connection equipment
JP2002109284A Division JP2003018086A (en) 2002-04-11 2002-04-11 Phs access device for vending machine

Publications (2)

Publication Number Publication Date
JPH11136767A JPH11136767A (en) 1999-05-21
JP3375530B2 true JP3375530B2 (en) 2003-02-10

Family

ID=17994384

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30955197A Expired - Fee Related JP3375530B2 (en) 1997-10-24 1997-10-24 Vending machine PHS connection device

Country Status (1)

Country Link
JP (1) JP3375530B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003015778A (en) * 2001-06-28 2003-01-17 Hitachi Kokusai Electric Inc Communication equipment

Also Published As

Publication number Publication date
JPH11136767A (en) 1999-05-21

Similar Documents

Publication Publication Date Title
WO1995009512A1 (en) Radio system and a subscriber terminal for a radio system
CN1087129C (en) Terminal equipment
EP2124428A1 (en) An alarm and a communications device therefor
JPH10276458A (en) Method and device for providing alternative communication network
US20020151302A1 (en) Lifeline backup system and method for telephone networks
JP3375530B2 (en) Vending machine PHS connection device
JP4221958B2 (en) Wireless communication system
JP3409934B2 (en) Wireless automatic meter reading system
JP2003023503A (en) Vending machine phs connection equipment
EP1220555A2 (en) Autonomous sms remote management device for printers, copiers and fax machines
JP3001436B2 (en) Cordless phone system
JP2003018086A (en) Phs access device for vending machine
JPH10290485A (en) Radio metering system
JPS59117851A (en) Connecting system between center and terminal
JPH0265416A (en) Standby line connector for station monitoring system
JPS6320071B2 (en)
EP0916197B1 (en) Method and system to supply data to the users of a dect system
JP3056910B2 (en) Data transmission system
JP3124981B2 (en) Terminal network controller
JPH0690298A (en) Radio system for automatic gauge examination
JP2838321B2 (en) Data communication system
JP3241678B2 (en) Telephone system
AU9233598A (en) Virtual private line control system with improved transmission efficiency
KR100535252B1 (en) System and method for activation of remote monitoring apparatus using ring signal
JP2869286B2 (en) Automatic mail communication device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees