JPH11136767A - Phs adaptor for automatic vending machine - Google Patents

Phs adaptor for automatic vending machine

Info

Publication number
JPH11136767A
JPH11136767A JP9309551A JP30955197A JPH11136767A JP H11136767 A JPH11136767 A JP H11136767A JP 9309551 A JP9309551 A JP 9309551A JP 30955197 A JP30955197 A JP 30955197A JP H11136767 A JPH11136767 A JP H11136767A
Authority
JP
Japan
Prior art keywords
communication
vending machine
phs
data
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.)
Granted
Application number
JP9309551A
Other languages
Japanese (ja)
Other versions
JP3375530B2 (en
Inventor
Takeshi Imai
威 今井
Yoshiaki Tanaka
義明 田中
Kazuya Murakami
和哉 村上
Hiroyuki Nagase
博之 長瀬
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 Holdings Corp
Original Assignee
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
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

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To collect sales data efficiency by using the PIAF communication, constructive voice communication and transceiver function. SOLUTION: The adapter 1 is provided with an adaptor section 8 for PIAF communication and a MODEM section 7 for constructive voice communication. Pluralities of automatic vending machines 5 are grouped and master set collects sales data from slave sets. The sales data are transmitted altogether to a center equipment upon its request. The PIAF communication, the constructive communication or the transceiver function is selectively used in accordance with the center equipment. The master set stores only the newest of sales data fed from the slave sets. Control data fed from the center equipment are sent from the master set to the slave sets only when the data have been changed. Through the constitution above, the adaptor 1 can adapt to any center equipment with high reliability and efficiency.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、自動販売機にPH
S電話機を接続して販売データの収集を行なうPHS接
続装置に関し、特に、センター装置の通信方式に合わせ
て通信でき、信頼性よく効率的なデータ収集ができる自
動販売機PHS接続装置に関する。
[0001] The present invention relates to a vending machine having a PH
The present invention relates to a PHS connection device for collecting sales data by connecting an S telephone, and particularly to a vending machine PHS connection device capable of performing communication in accordance with a communication method of a center device and collecting data with high reliability and efficiency.

【0002】[0002]

【従来の技術】自動販売機の販売情報や在庫情報を営業
所や配送車で把握して配送業務を効率化するために、ま
た、自動販売機からの故障情報や商品売切れ情報を通知
して販売機会のロスを削減するために、自動販売機から
吸い上げた各種データをセンター装置で収集して販売管
理に利用することが行なわれている。従来は公衆電話回
線などの有線を介してデータ収集を行なっていた。しか
し、電話回線が近くにないために有線に接続できない場
所ではデータ収集が不可能であるし、電話回線があって
も自動販売機の移設のたびに回線接続工事が必要とな
り、データ収集のためのコストがかかった。
2. Description of the Related Art In order to increase the efficiency of delivery operations by grasping sales information and inventory information of vending machines at sales offices and delivery vehicles, and by notifying failure information and sold-out information from vending machines. In order to reduce loss of sales opportunities, various data collected from vending machines are collected by a center device and used for sales management. Conventionally, data has been collected via a wired line such as a public telephone line. However, data collection is not possible in places where there is no telephone line nearby and wired connection is not possible.Even if there is a telephone line, line connection work is required every time a vending machine is relocated. Cost.

【0003】そこで、自動販売機に無線装置を設置し
て、無線回線を介してデータ収集を行なうようになって
きた。特に最近では、PHS通信が利用できるようにな
ったので、自動販売機とセンター装置を公衆回線または
PBXのPHS電話機で接続してデータ収集を行なうよ
うになった。しかし、自動販売機とセンター装置の間を
すべてPHS通信で接続すると通信コストが高くなるの
で、PHS電話機のトランシーバ機能を使って低コスト
で通信することが行なわれるようになった。
[0005] Therefore, a wireless device has been installed in a vending machine, and data has been collected via a wireless line. In particular, recently, since PHS communication has become available, vending machines and center devices have been connected by a public line or a PBX PHS telephone to collect data. However, if the vending machine and the center device are all connected by PHS communication, the communication cost becomes high, so that low-cost communication is performed using the transceiver function of the PHS telephone.

【0004】複数の自動販売機をグループにし、1台の
PHS親装置を設け、自動販売機にPHS電話機を接続
して子装置とする。親装置をセンター装置と接続し、子
装置を親装置と接続して、子装置のデータをトランシー
バ機能を使って親装置に集め、集めたデータを親装置か
らセンター装置に送信する。PHS電話機のトランシー
バ機能を利用すると、狭い範囲では通信できるが、遠く
の子装置とは通信できないことがある。親装置の近くの
子装置を中継して直列でデータ転送すると、電波の伝搬
状態によってはデータが届かないことがある。そこで、
中継用の子装置を介してデータ転送する迂回ルートを設
ける。ルータあるいは中継器となる子装置は、電界強度
の強い有利なルートを選んでデータを転送する。
[0004] A plurality of vending machines are grouped, one PHS parent device is provided, and a PHS telephone is connected to the vending machine to be a child device. The parent device is connected to the center device, the child device is connected to the parent device, data of the child device is collected in the parent device using the transceiver function, and the collected data is transmitted from the parent device to the center device. When the transceiver function of the PHS telephone is used, communication is possible in a narrow range, but communication with a remote child device may not be possible. If data is serially transferred via a child device near the parent device, data may not be delivered depending on the propagation state of radio waves. Therefore,
A bypass route for data transfer via a relay child device is provided. The child device serving as a router or a repeater selects an advantageous route having a strong electric field strength and transfers data.

【0005】従来の自動販売機データ収集装置のPHS
電話機では、ディジタルデータをモデムにより音声帯域
のアナログ信号に変換して、みなし音声通信を使用して
通信していた。みなし音声通信では低速な通信しかでき
ない。しかし、最近ではPHS電話機でPIAFS(PH
S Internet Access Forum Standard)(ピアフ)と呼ば
れる方式で32kbpsのディジタル通信ができるようになっ
た。PIAFS方式は、別名「32K高速データ通信」な
どと呼ばれ、32kbpsでデータ伝送を行なうものである。
しかし、PIAFSのフレーム構造はピギーバッキング
方式と呼ばれるもので、640bitの固定フレームの中に、
制御情報24bitと誤り検出情報32bitが含まれるので、ユ
ーザーデータは584bitとなり、実際にユーザーデータが
伝送される速度は、29.2kbpsになる。
[0005] A PHS of a conventional vending machine data collection device
In a telephone, digital data is converted into an analog signal in a voice band by a modem, and communication is performed using deemed voice communication. Only low-speed communication is possible with deemed voice communication. However, recently, PIAFS (PH
32 kbps digital communication is now possible using a method called S Internet Access Forum Standard (Piuff). The PIAFS method is called “32K high-speed data communication” or the like, and performs data transmission at 32 kbps.
However, the frame structure of PIAFS is called a piggybacking method, and in a fixed frame of 640 bits,
Since 24 bits of control information and 32 bits of error detection information are included, the user data is 584 bits, and the actual transmission speed of the user data is 29.2 kbps.

【0006】自動販売機PHS接続装置内に、PIAF
S通信に対応したPHS電話機を接続することにより、
29.2kbpsのスループットでのデータ通信を可能としてい
る。これにより、自動販売機1台あたりのデータ量(約
4000byte)を数秒にて転送する。このシステムにおける
基本的な接続構成を第9図に示す。
In a vending machine PHS connection device, a PIAF
By connecting a PHS phone that supports S communication,
It enables data communication at a throughput of 29.2 kbps. As a result, the amount of data per vending machine (approx.
4000 bytes) in a few seconds. FIG. 9 shows a basic connection configuration in this system.

【0007】1つのビル内に設置された複数の自動販売
機に、それぞれ自動販売機PHS接続装置を設ける。こ
れらの自動販売機PHS接続装置の1つを親装置とし、
他の自動販売機PHS接続装置を子装置とする。親装置
は、自身に接続された自動販売機の販売データを集計す
るとともに、各子装置からの販売データを受信し、各子
装置に対して制御データを送信する。親装置は、集計し
た販売データを基地局と公衆回線を介してセンター装置
に送信し、センター装置から制御データを受信する。親
装置と基地局との間はPHS通信で通信を行ない、親装
置と子装置1、2との間ではトランシーバ通信を行な
う。親装置と子装置3の間は、子装置2で中継して通信
する。子装置3が親装置と直接通信できないような電波
障壁があっても、子装置2を介して通信できる。
A plurality of vending machines installed in one building are each provided with a vending machine PHS connection device. One of these vending machine PHS connection devices is a parent device,
The other vending machine PHS connection device is a child device. The parent device totals the sales data of the vending machines connected to the parent device, receives the sales data from each child device, and transmits control data to each child device. The parent device transmits the aggregated sales data to the center device via the base station and the public line, and receives control data from the center device. The PHS communication is performed between the parent device and the base station, and the transceiver communication is performed between the parent device and the child devices 1 and 2. Communication between the parent device and the child device 3 is performed by relaying the child device 2. Even if there is a radio wave barrier that prevents the child device 3 from directly communicating with the parent device, communication can be performed via the child device 2.

【0008】[0008]

【発明が解決しようとする課題】従来の自動販売機PH
S接続装置では、1つのグループ内の親装置に、子装置
から一定周期(例えば1時間毎)で販売データを集めて
蓄積している。しかし、グループが大型化して、1台の
親装置に最大で50台の子装置が接続され、子装置間の接
続形態が複雑になると、途中の通信経路に一時的な通信
障害が発生して、子装置からの周期的なデータが周期内
に親装置まで届かず、次の周期のデータが先に親装置に
到達することが起こるようになる。例えば、子装置と子
装置の間に大型トラックが駐車して電波を遮蔽したよう
な場合、直接通信ができなくなるので、迂回経路を使っ
て通信することになる。PHS電話機は同時に2台とは
通信できないので、迂回通信の経路が長くなると、実効
的な転送速度が極端に低下し、データの到達が1時間以
上かかることがあり、データの到達順序の逆転が発生す
ることがある。1つの販売データは4KB程度であり、50
台分では200KBになるから、親装置にはその何倍もの多
くのメモリーを装備できないので、子装置1台当たり1
つのデータしかとっておけない。古いデータが後から到
達してデータを更新すると、結果的に親装置に古いデー
タが蓄積されることになり、最新のデータを収集できな
い事態が発生することがあった。
A conventional vending machine PH
In the S connection device, sales data is collected and accumulated at regular intervals (for example, every hour) from child devices in a parent device in one group. However, when the size of the group increases and a maximum of 50 child devices are connected to one parent device, and the connection configuration between the child devices becomes complicated, a temporary communication failure occurs on the communication path along the way. The periodic data from the child device does not reach the parent device within the cycle, and the data of the next cycle arrives at the parent device first. For example, when a large truck is parked between child devices and shields radio waves, direct communication cannot be performed, and communication is performed using a bypass route. Since two PHS telephones cannot communicate with two at the same time, if the bypass communication path is long, the effective transfer speed will be extremely reduced, and the data may take one hour or more. May occur. One sales data is about 4KB, 50
Since each unit is 200 KB, the parent device cannot have many times as much memory as that of the parent device.
Only one data can be stored. If the old data arrives later and updates the data, the old data is eventually accumulated in the parent device, and the latest data may not be collected in some cases.

【0009】また、従来の自動販売機PHS接続装置で
は、有線回線しか持たないセンター装置との通信用に、
あるいは、PHS基地局のないところでも使えるように
するために、有線回線用の外部モデムとの通信部を持っ
ている。外部モデムを使用した場合に、外部モデムがな
んらかの理由により暴走して動作しない状態になること
があった。このような状態になると、人手により外部モ
デムをリセットする以外に回復の方法がなかった。
Further, in the conventional vending machine PHS connection device, for communication with a center device having only a wired line,
Alternatively, it has a communication unit with an external modem for a wired line so that it can be used even without a PHS base station. When an external modem is used, the external modem sometimes runs out of control for some reason and does not operate. In such a situation, there was no way to recover except by manually resetting the external modem.

【0010】また、従来の自動販売機PHS接続装置で
は、センター装置から親装置が受け取った制御データ
を、親装置がセンター装置と通信を行なう毎に、子装置
に転送していた。制御データは、自動販売機から故障や
売り切れ等の情報をセンター装置に発信する条件などに
関するデータであり、本来は、センター装置が自動販売
機の動作を制御するために、センター装置と自動販売機
が1対1で接続されて通信する際に送られるものであ
る。自動販売機PHS接続装置では、センター装置と自
動販売機の間に、親装置と子装置が入り込む形であるた
め、センター装置から親装置が受け取った制御データを
そのまますべて子装置に転送している。その結果、制御
データの転送がグループ内の通信負荷を上げ、販売デー
タの転送の妨げになっていた。
In the conventional vending machine PHS connection device, control data received by the parent device from the center device is transferred to the child device each time the parent device communicates with the center device. The control data is data relating to conditions for transmitting information such as breakdown or sold out from the vending machine to the center device. Originally, since the center device controls the operation of the vending machine, the center device and the vending machine are used. Are sent when one-to-one communication is performed. In the vending machine PHS connection device, since the parent device and the child device enter between the center device and the vending machine, all the control data received by the parent device from the center device is directly transferred to the child device. . As a result, the transfer of the control data increases the communication load in the group, and hinders the transfer of the sales data.

【0011】また、従来の自動販売機PHS接続装置で
は、以前からあったモデムを用いたみなし音声を用いた
データ通信と、新しく定められた32Kbpsのデジタル通信
方式であるPIAFS通信のいずれかを用いて通信する
ようになっていた。みなし音声通信とPIAFS通信
は、そのままでは互いに接続できない。そのために、P
IAFS通信を使うグループの自動販売機の販売データ
を、みなし音声通信を用いた携帯型のセンター装置でデ
ータ収集することができなかった。
Further, the conventional vending machine PHS connection device uses either a data communication using a deemed voice using a modem which has been used before or a PIAFS communication which is a newly defined 32 Kbps digital communication system. Was to communicate. The deemed voice communication and the PIAFS communication cannot be connected to each other as they are. Therefore, P
Sales data of vending machines of a group using IAFS communication could not be collected by a portable center device using deemed voice communication.

【0012】また、従来の自動販売機PHS接続装置で
は、センター装置と親装置との通信をトランシーバ通信
により行なう場合、グループ内通信がPIAFS通信な
らPIAFS通信で行ない、グループ内通信がみなし音
声通信なら、みなし音声通信でおこなっていた。PHS
電話機間のトランシーバ通信では、通信方式種別の自動
判定に必要な着信情報がない。そのため、PIAFS通
信かみなし音声通信かの自動判別が不可能である。グル
ープ内のトランシーバ通信は、PIAFS通信かみなし
音声通信のどちらかに限られる。したがって、センター
装置と親装置との通信をトランシーバ通信により行なう
場合、グループ内通信がPIAFS通信のとき、みなし
音声通信で行なうことはできず、グループ内通信がみな
し音声通信のとき、PIAFS通信で行なうことはでき
なかった。
In the conventional vending machine PHS connection device, when communication between the center device and the parent device is performed by transceiver communication, PIAFS communication is used if the intra-group communication is PIAFS communication, and PIAFS communication is used if the intra-group communication is deemed voice communication. , Was performed by deemed voice communication. PHS
In transceiver communication between telephones, there is no incoming call information necessary for automatic determination of the communication system type. Therefore, it is impossible to automatically determine whether the communication is the PIAFS communication or the deemed voice communication. Transceiver communication within a group is limited to either PIAFS communication or deemed voice communication. Therefore, when communication between the center device and the parent device is performed by transceiver communication, it cannot be performed by deemed voice communication when the intra-group communication is PIAFS communication, and performed by PIAFS communication when the intra-group communication is deemed voice communication. I couldn't do that.

【0013】また、従来の自動販売機PHS接続装置で
は、通信を行なっていない待機時間中にも、すべての回
路に電源を供給していた。自動販売機から電源を供給さ
れている場合はよいが、中継のみを行なうために自動販
売機から離れて設置され、電池で駆動されている子装置
の場合、電池の消耗が激しく、頻繁に人手で電池交換を
しなければならなかった。
In the conventional vending machine PHS connection apparatus, power is supplied to all circuits even during a standby time during which no communication is performed. It is good if the power is supplied from the vending machine, but if the child device is installed away from the vending machine for relaying only and is powered by a battery, the battery is severely depleted and frequent manual operations are required. Had to change batteries.

【0014】[0014]

【課題を解決するための手段】そこで、上記の課題を解
決するために、本発明の自動販売機PHS接続装置で
は、親装置が受信した子装置からの販売データに付加さ
れている収集時刻と、親装置に蓄積されている販売デー
タの収集時刻とを比較判定し、新しく受信した販売デー
タの方が古い場合は、新しく受信した販売データを親装
置に蓄積しないように構成する。ただし、子装置の時計
を遅らせる修正をしたときに、販売データの蓄積が行な
われなくなることを防ぐために、親装置に設定した1日
のうちのある特定時間帯に受信した販売データは無条件
に蓄積するように構成する。このように構成することに
より、子装置からの販売データの転送に時間がかかって
も、親装置に蓄積された新しい販売データが古い販売デ
ータにより消去されることを防止できる。
Therefore, in order to solve the above-mentioned problems, in a vending machine PHS connection device of the present invention, the collection time added to the sales data received from the child device by the parent device and the collection time are added. Then, a comparison is made with the collection time of the sales data stored in the parent device, and if the newly received sales data is older, the newly received sales data is not stored in the parent device. However, in order to prevent the accumulation of sales data from being stopped when the clock of the child device is delayed, the sales data received during a specific time period in the day set in the parent device is unconditionally set. Configure to accumulate. With this configuration, even if it takes time to transfer the sales data from the child device, it is possible to prevent the new sales data stored in the parent device from being erased by the old sales data.

【0015】また、本発明の自動販売機PHS接続装置
では、外部モデムに対して一定周期毎に確認コマンドを
送出し、これに対する応答がなかった場合には外部モデ
ムの電源を制御するためのスイッチを切って入れなおす
回路を設けた構成とする。このように構成することによ
り、無人運転の自動販売機PHS接続装置でも、外部モ
デムのハングアップ状態からの自動復帰が可能となる。
Further, in the vending machine PHS connection device of the present invention, a confirmation command is transmitted to the external modem at regular intervals, and if there is no response thereto, a switch for controlling the power supply of the external modem is provided. Is provided with a circuit for turning off and on again. With this configuration, even in an unmanned vending machine PHS connection device, automatic recovery from the hang-up state of the external modem can be performed.

【0016】また、本発明の自動販売機PHS接続装置
では、センター装置から受け取った制御データを親装置
に蓄積しておき、新たにセンター装置から受け取った制
御データと比較し、同じ制御データである場合には子装
置に転送しないように構成する。このように構成するこ
とにより、センター装置から受け取った制御データの子
装置への転送を1回にして、親装置と子装置間の転送デ
ータ量を減らすことができる。
Further, in the vending machine PHS connection device of the present invention, the control data received from the center device is stored in the parent device, and compared with the control data newly received from the center device. In such a case, it is configured not to transfer to the child device. With this configuration, the control data received from the center device can be transferred to the child device only once, and the amount of data transferred between the parent device and the child device can be reduced.

【0017】また、本発明の自動販売機PHS接続装置
では、PIAFS通信とみなし音声通信を、着信した情
報の中のどちらかを表わす情報により自動的に判定する
手段と、通信回路の切替えをする手段とを設けた構成と
する。このように構成することにより、どちらの方式で
通信するかを通信毎に自動的に判定して切替えを行なう
ことで両方の通信を可能にし、みなし音声通信しかでき
ない旧タイプのセンター装置との接続を可能にする。
Further, in the vending machine PHS connection device of the present invention, means for automatically judging voice communication as PIAFS communication based on information representing either of the received information and switching of the communication circuit. Means. With this configuration, it is possible to automatically determine which method to use for each communication and perform switching to enable both types of communication, and to connect to an old type center device that can only perform deemed voice communication. Enable.

【0018】また、本発明の自動販売機PHS接続装置
では、親装置に特定の電話番号を登録し、トランシーバ
通信で着信した電話番号を登録した電話番号と比較して
一致した場合には、グループ内で使用している通信方式
ではない方式で通信するように構成した。このように構
成することにより、センター装置と親装置との通信をト
ランシーバ通信により行なう場合、グループ内通信がP
IAFS通信でも、みなし音声通信ができ、グループ内
通信がみなし音声通信でも、PIAFS通信ができるよ
うになる。
Also, in the vending machine PHS connection device of the present invention, a specific telephone number is registered in the parent device, and the telephone number received by transceiver communication is compared with the registered telephone number, and if they match, the group is determined. It is configured to communicate by a method other than the communication method used in the inside. With this configuration, when communication between the center device and the parent device is performed by transceiver communication, communication within the group is P
The deemed voice communication can be performed even in the IAFS communication, and the PIAFS communication can be performed even in the deemed voice communication in the group.

【0019】また、本発明の自動販売機PHS接続装置
では、省電力モードになるときにメイン制御部から電源
制御部へ省電力開始信号を出す手段と、メイン制御部へ
の電源供給を断つ手段と、相手先から電話がかかってく
るとPHS電話機から起動信号を出す手段と、電源制御
部で起動信号を検出する手段と、電源制御部からメイン
制御部へ電源を供給する手段とを設けた構成とした。こ
のように構成することにより、待機時間中の電池の消耗
を防ぎ、電池の交換時間を長くすることができる。
Further, in the vending machine PHS connection device of the present invention, means for issuing a power saving start signal from the main control unit to the power control unit when the power saving mode is set, and means for cutting off power supply to the main control unit. And means for issuing a start signal from the PHS telephone when a call is received from the other party, means for detecting the start signal by the power control unit, and means for supplying power from the power control unit to the main control unit. The configuration was adopted. With this configuration, it is possible to prevent the battery from being consumed during the standby time and to prolong the battery replacement time.

【0020】[0020]

【発明の実施の形態】本発明の請求項1に記載した発明
は、子装置として機能している自動販売機PHS接続装
置から受信した販売データに付加されている収集時刻を
判定する判定手段と、親装置として機能している自動販
売機PHS接続装置に蓄積されている当該子装置の販売
データの収集時刻よりも、前記判定手段から得られた収
集時刻が古い場合は受信した販売データを親装置に蓄積
しないようにする手段と、前記親装置に設定された特定
時間帯に子装置から受信した販売データを無条件に親装
置に蓄積する手段とを具備する自動販売機PHS接続装
置であり、確実に最新のデータのみを収集するという作
用を有する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The invention according to claim 1 of the present invention is a determination means for determining a collection time added to sales data received from a vending machine PHS connection device functioning as a child device. If the collection time obtained from the determination means is earlier than the collection time of the sales data of the child device stored in the vending machine PHS connection device functioning as the parent device, the received sales data is used as the parent device. A vending machine PHS connection device comprising: means for preventing storage in a device; and means for unconditionally storing sales data received from a child device in a specific time zone set in the parent device in the parent device. This has the effect of reliably collecting only the latest data.

【0021】本発明の請求項2に記載した発明は、自動
販売機PHS接続装置に接続された外部モデムに対して
一定周期ごとに確認コマンドを送出する手段と、前記確
認コマンドに対する応答を監視する監視手段と、所定時
間内に前記監視手段で応答が検出されなかった場合には
前記外部モデムの電源を切って再び入れる手段とを具備
する自動販売機PHS接続装置であり、外部モデムの暴
走を確実に停止させるという作用を有する。
According to a second aspect of the present invention, there is provided means for transmitting a confirmation command to an external modem connected to a vending machine PHS connection device at regular intervals, and monitoring a response to the confirmation command. A vending machine PHS connection device comprising monitoring means and means for turning off and on the external modem when a response is not detected by the monitoring means within a predetermined time; It has the effect of stopping it reliably.

【0022】本発明の請求項3に記載した発明は、セン
ター装置から受け取った制御データを親装置に蓄積する
手段と、前記センター装置から受信した新制御データと
蓄積されている旧制御データとを比較する手段と、前記
新制御データと前記旧制御データがすべて一致した場合
には子装置に転送しないようにする手段とを具備する自
動販売機PHS接続装置であり、親装置と子装置間のデ
ータ転送量を減らすという作用を有する。
According to a third aspect of the present invention, there is provided an apparatus for storing control data received from a center device in a parent device, and storing new control data received from the center device and stored old control data. A vending machine PHS connection device comprising means for comparing, and means for preventing transfer to the child device when all of the new control data and the old control data match, It has the effect of reducing the amount of data transfer.

【0023】本発明の請求項4に記載した発明は、着信
情報に基づいてPIAFS通信とみなし音声通信のどち
らかを自動的に判定する判定手段と、前記判定手段の結
果に基づいてPIAFS通信とみなし音声通信のいずれ
かを選択して切り替える手段とを具備する自動販売機P
HS接続装置であり、いずれの方式でも通信できるよう
にするという作用を有する。
According to a fourth aspect of the present invention, there is provided a determining means for automatically determining either one of PIAFS communication and voice communication based on incoming call information, and a PIAFS communication based on a result of the determining means. Means for selecting and switching any of deemed voice communications
It is an HS connection device, and has an effect of enabling communication by any method.

【0024】本発明の請求項5に記載した発明は、親装
置に特定電話番号を登録する手段と、トランシーバ通信
で着信した場合に着信した電話番号を登録された前記特
定電話番号と比較する比較手段と、前記比較手段が電話
番号の一致を示した場合にはグループ内で使用している
通信方式ではない方式で通信する手段とを具備する自動
販売機PHS接続装置であり、トランシーバ通信でも通
信方式を切替可能にするという作用を有する。
According to a fifth aspect of the present invention, a means for registering a specific telephone number in a parent device, and a method for comparing a telephone number received when a call is received by transceiver communication with the registered specific telephone number A vending machine PHS connection apparatus comprising: means for communicating with a communication system other than the communication system used in the group when the comparison means indicates that the telephone numbers match. This has the effect of making the system switchable.

【0025】本発明の請求項6に記載した発明は、省電
力モードになるときにメイン制御部から電源制御部へ省
電力開始信号を出す手段と、前記省電力開始信号に従っ
て前記メイン制御部への電源供給を断つ手段と、PHS
電話機からの起動信号を検出する手段と、前記起動信号
に従って前記電源制御部から前記メイン制御部へ電源供
給を再開する手段とを具備する自動販売機PHS接続装
置であり、待機時の消費電力を減らすという作用を有す
る。
According to a sixth aspect of the present invention, when the power saving mode is set, the main control section sends a power saving start signal to the power control section, and the main control section sends the power saving start signal to the main control section in accordance with the power saving start signal. For turning off the power supply to the PHS
A vending machine PHS connection device comprising: means for detecting a start signal from a telephone; and means for restarting power supply from the power control unit to the main control unit in accordance with the start signal. It has the effect of reducing.

【0026】以下、本発明の実施の形態について、図面
を参照しながら詳細に説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

【0027】(第1の実施の形態)本発明の第1の実施
の形態は、子装置から送られてきた販売データに付加さ
れている収集時刻が、親装置に蓄積されている販売デー
タの収集時刻よりも古い場合は受信した販売データを蓄
積せず、特定時間帯に受信した販売データは無条件に蓄
積を行なうようにした自動販売機PHS接続装置であ
る。
(First Embodiment) In a first embodiment of the present invention, the collection time added to the sales data sent from the child device is the same as the collection time of the sales data stored in the parent device. The vending machine PHS connection device does not accumulate the received sales data when it is older than the collection time, and accumulates the sales data received in a specific time zone unconditionally.

【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のワークメモリーと保守用の表示装置とキ
ーボードを備えている。
FIG. 1 is a block diagram of a vending machine PHS connection device according to a first embodiment of the present invention. FIG. 2 is a diagram showing a processing flow of the vending machine PHS connection device.
The vending machine PHS connection device 1 is a PIAFS compatible PH
An S telephone 2 is provided. Vending machine connection cable 3
Is a signal cable for controlling the vending machine 5 and collecting various data of the vending machine 5. The power cable 4 connects 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. The modem unit 7 is a modem for performing deemed voice communication with the PHS telephone 2. A signal line from the modem unit 7 is connected to an earphone microphone terminal of the PHS telephone 2. The deemed voice communication is based on CCITT V.22bis, and the communication speed is 2
400 bps. The adapter unit (PS-ADP unit) 8
It is connected to the 16-pin terminal and charging terminal of the HS telephone 2, and has a 16-bit CPU,
It has a KB work memory and 8KB EEPROM, and controls outgoing and incoming calls, PIAFS communication and power supply. The control section 9 controls the entire vending machine PHS connection device 1 and includes a 16-bit CPU, a 256 KB program memory, a 256 KB work memory, a maintenance display device, and a keyboard.

【0029】子装置は、自動販売の売上データと在庫デ
ータなどからなる販売データを1時間に1回収集して、
収集時刻を付加して、親装置に送信する。販売データは
金額や数量などの絶対値データであり、差分データなど
ではなく、単独で理解できるデータであるので、何らか
の障害で過去の販売データが失われても、以降の販売デ
ータの利用に格別の差し障りはない。
The child device collects sales data including sales data and inventory data of automatic sales once an 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, not differential data, etc., and it is data that can be understood independently, so even if past sales data is lost due to some kind of failure, it is exceptionally usable for future sales data There is no hindrance.

【0030】親装置は、子装置から受信した販売データ
をメモリーに蓄積しておき、センター装置から要求があ
ったとき、グループの販売データをまとめてセンター装
置に送信する。1つのデータは4KB程度であり、50台分
では200KBになる。親装置に大容量のメモリーを設ける
ことは高コストになるので、子装置の販売データを1つ
ずつ蓄積できる容量のメモリーを設けておき、常に最新
の販売データのみを蓄積するようにする。
The parent device stores the sales data received from the child device in a memory, and transmits a group of sales data to the center device when requested by the center device. One data is about 4KB, and it becomes 200KB for 50 cars. Since it is expensive to provide a large-capacity memory in the parent device, a memory having a capacity capable of storing sales data of the child devices one by one is provided so that only the latest sales data is always stored.

【0031】1台の親装置に最大で50台の子装置が接続
できる。子装置が多くなり、子装置間の中継関係が複雑
になると、通信経路の途中に何らかの通信障害が発生し
て迂回経路での通信が行なわれた場合、実効的な転送速
度が極端に低下し、販売データの到達が1時間以上かか
ることがある。その結果、子装置からの販売データが周
期内に親装置まで届かず、次の周期の販売データが先に
親装置に到達することが起こる。親装置には多くのメモ
リーを装備できないので、子装置1台当たり1つの販売
データしかとっておけない。古い販売データが後から到
達すると、最新の販売データを収集できない事態が発生
する。これを避けるために、最新の販売データのみを蓄
積することにする。
A maximum of 50 child devices can be connected to one parent device. If the number of child devices increases and the relay relationship between the child devices becomes more complicated, the effective transfer speed will be extremely reduced if any communication failure occurs in the middle of the communication route and communication is performed on the bypass route. In some cases, it may take an hour or more for the sales data to arrive. As a result, sales data from the child device does not reach the parent device within the cycle, and sales data in the next cycle reaches the parent device first. Since the parent device cannot be equipped with a lot of memory, only one sales data can be obtained per child device. When old sales data arrives later, a situation occurs in which the latest sales data cannot be collected. In order to avoid this, only the latest sales data will be accumulated.

【0032】図2の処理フローに従って、自動販売機P
HS接続装置の動作を説明する。親装置が子装置から販
売データを受信すると、当該子装置からの販売データが
既に親装置に蓄積されているかどうか検査する。蓄積さ
れていなければ、受信した販売データを親装置に蓄積す
る。当該子装置からの販売データが既に親装置に蓄積さ
れていれば、現在の時刻を検査する。現在の時刻が無条
件データ蓄積時間帯の範囲内であれば、受信した販売デ
ータを親装置に蓄積する。これは、子装置の時計が何ら
かの原因で著しく遅れた場合、すべての販売データが廃
棄される危険を避けるためである。
According to the processing flow of FIG. 2, the vending machine P
The operation of the HS connection device will be described. When the parent device receives the sales data from the child device, it checks whether the sales data from the child device is already stored in the parent device. If not, the received sales data is stored in the parent device. If the sales data from the child device has already been stored in the parent device, the current time is checked. If the current time is within the unconditional data storage time zone, the received sales data is stored in the parent device. This is to avoid the danger that all sales data will be discarded if the clock of the child device is significantly delayed for some reason.

【0033】現在の時刻が無条件データ蓄積時間帯の範
囲内でなければ、受信した販売データの収集時刻を検査
する。前回に受信した販売データの収集時刻より新しい
収集時刻の販売データであれば、親装置に蓄積する。前
回に受信した販売データの収集時刻より古い収集時刻の
販売データであれば、今回受信した販売データを廃棄す
る。
If the current time is not within the unconditional data storage time zone, the collection time of the received sales data is checked. If the sales data has a collection time later than the collection time of the sales data received last time, the sales data is stored in the parent device. If the sales data has a collection time older than the collection time of the sales data received last time, the sales data received this time is discarded.

【0034】以上のように、本発明の第1の実施の形態
の自動販売機PHS接続装置では、販売データの収集時
刻を判定して、蓄積データよりも古い場合は蓄積を行な
わないが、特定時間帯に受信したデータは無条件に蓄積
するように構成し、古い販売データが新しい販売データ
より遅れて親装置に到着した場合は廃棄するので、新し
い販売データが消されることがなくなるし、必ずデータ
を蓄積する時間帯を設けるので、すべてのデータが廃棄
される事態になることはない。
As described above, in the vending machine PHS connection apparatus according to the first embodiment of the present invention, the collection time of the sales data is determined, and if the sales data is older than the stored data, the storage is not performed. The data received during the time zone is configured to be stored unconditionally, and if the old sales data arrives at the parent device later than the new sales data, it will be discarded, so the new sales data will not be erased, Since a time zone for storing data is provided, all data is not discarded.

【0035】(第2の実施の形態)本発明の第2の実施
の形態は、外部モデムに対して一定周期ごとに確認コマ
ンドを送出し、この確認コマンドに対する応答がなかっ
た場合には、外付けモデムの電源を切って再び入れるこ
とにより、外部モデムをリセットする自動販売機PHS
接続装置である。
(Second Embodiment) In a second embodiment of the present invention, a confirmation command is sent to an external modem at regular intervals, and if there is no response to the confirmation command, the external Vending machine PHS that resets the external modem by turning off and on the attached modem
It is a connection device.

【0036】図3は、本発明の第2の実施の形態の自動
販売機PHS接続装置のブロック図である。図4は、自
動販売機PHS接続装置の処理フローを示す図である。
FIG. 3 is a block diagram of a vending machine PHS connection device according to a second embodiment of the present invention. FIG. 4 is a diagram showing a processing flow of the vending machine PHS connection device.

【0037】自動販売機PHS接続装置1では、PHS
通信でセンター装置と通信するようになっているが、有
線回線しか持たないセンター装置との通信用に、あるい
は、PHS基地局のないところでも使えるようにするた
めに、有線回線用の外部モデム12との通信部を持ってい
る。PIAFS通信では、センター装置にISDN回線
が必要であり、ISDN回線に接続されておらず、みな
し音声通信のみを使うセンター装置もあるので、そのよ
うなセンター装置とも通信できるようにしておく必要が
ある。
In the vending machine PHS connection device 1, PHS
An external modem 12 for a wired line is used for communication with a center device having only a wired line, or for use in a place without a PHS base station. And have a communication department. In the PIAFS communication, an ISDN line is required for the center device, and there is a center device that is not connected to the ISDN line and uses only deemed voice communication. Therefore, it is necessary to enable communication with such a center device. .

【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コマンド”と呼ばれ
る。これらの方法では、送受信のデータ線を用いて自動
起呼手順などの制御を行なう。制御コマンドに対して応
答を返すようになっているので、応答を監視することに
より、モデムが正常に動作しているかどうか判定でき
る。
The external modem 12 is a modem called an "intelligent modem" and has an AA type NCU (automatic transmission / automatic reception type NCU). This type of NCU control method is based on CCITT V.25 and CCITT V.25.
There are methods using ITT V.25bis or Hayse AT command. CCITT V.25bis is compatible with CCITT V.24 (RS232C)
This is a method for controlling an A-type NCU. The Hayse AT command is called an "AT command" because the command always has "AT" (meaning Attention) at the beginning of the command. In these methods, control such as an automatic calling procedure is performed using data lines for transmission and reception. Since a response is returned to the control command, it is possible to determine whether the modem is operating normally by monitoring the response.

【0039】外部モデム12を使用した場合に、外部モデ
ム12がなんらかの理由により暴走して動作しないハング
アップ状態になることがある。このような状態になると
自動販売機PHS接続装置1側からはリセットすること
ができない。
When the external modem 12 is used, the external modem 12 may run out of control for some reason and enter a hang-up state in which the external modem 12 does not operate. In such a state, resetting cannot be performed from the vending machine PHS connection device 1 side.

【0040】図4の処理フローに従って、自動販売機P
HS接続装置1の動作を説明する。制御部9は外部モデ
ム12に対してATコマンドを送出して応答を待つ。所定
時間内に外部モデム12から応答があれば、3分待ち、再
びATコマンドを送出する。所定時間内に外部モデム12
から応答がなければ、外部モデム12の電源を制御するス
イッチ13を切る指令を出して、外部モデム12の電源を一
旦遮断する。再び外部モデム12の電源を入れることによ
り、外部モデム12をリセットする。その後、3分ごとに
ATコマンドを送出する動作を繰り返す。外部モデム12
がCCITT V.25bisに準拠するものであれば、そのコマン
ドで同様に応答を監視すればよい。
According to the processing flow of FIG.
The operation of the HS connection device 1 will be described. The control unit 9 sends an AT command to the external modem 12 and waits for a response. If there is a response from the external modem 12 within a predetermined time, it waits for three minutes and sends out the AT command again. External modem 12 within a predetermined time
If there is no response from the external modem 12, a command to turn off the switch 13 for controlling the power supply of the external modem 12 is issued, and the power supply of the external modem 12 is temporarily cut off. The external modem 12 is reset by turning on the power of the external modem 12 again. Thereafter, the operation of transmitting the AT command is repeated every three minutes. External modem 12
If is compliant with CCITT V.25bis, you can monitor the response with the command in the same way.

【0041】以上のように、本発明の第2の実施の形態
の自動販売機PHS接続装置では、外部モデムに対して
一定周期ごとに確認コマンドを送出し、これに対して一
定時間内に応答がないと外部モデムの電源を切って再び
入れてリセットする構成としたので、外部モデムが異常
になっても自動的に復旧させることができる。
As described above, the vending machine PHS connection apparatus according to the second embodiment of the present invention sends a confirmation command to the external modem at regular intervals, and responds to this within a fixed time. If there is no external modem, the external modem is turned off, turned on, and reset, so that even if the external modem becomes abnormal, it can be automatically restored.

【0042】(第3の実施の形態)本発明の第3の実施
の形態は、センター装置から受け取った制御データを親
装置に蓄積しておき、新しい制御データを受け取ると蓄
積してある制御データと比較して、新しい制御データが
すべて蓄積してある制御データと同じならば子装置に転
送しないようにした自動販売機PHS接続装置である。
(Third Embodiment) In a third embodiment of the present invention, control data received from a center device is stored in a parent device, and when new control data is received, the stored control data is stored. This is a vending machine PHS connection device in which if new control data is all the same as stored control data, it is not transferred to the child device.

【0043】図5は、本発明の第3の実施の形態の自動
販売機PHS接続装置の処理フローを示す図である。自
動販売機PHS接続装置のハードウエア構成は、図1の
ブロック図と同じである。
FIG. 5 is a diagram showing a processing flow of the vending machine PHS connection device according to the third embodiment of the present invention. The hardware configuration of the vending machine PHS connection device is the same as the block diagram of FIG.

【0044】親装置は、センター装置からデータを受信
すると、制御データが含まれているかどうかを検査す
る。制御データがなければ、子装置にデータを転送しな
い。制御データが含まれていれば、前回受信したデータ
中に制御データがあるかどうか検査する。前回受信した
データ中に制御データがなければ、今回受信した制御デ
ータを子装置に転送する。前回受信したデータに制御デ
ータがあれば、前回の制御データと今回の制御データを
比較し、すべて同じ制御データであれば子装置に転送し
ない。異なっている制御データがあれば受信したすべて
の制御データを子装置に転送する。
When the parent device receives the data from the center device, it checks whether control data is included. If there is no control data, no data is transferred to the child device. If control data is included, it is checked whether the control data is included in the previously received data. If there is no control data in the data received last time, the control data received this time is transferred to the child device. If there is control data in the previously received data, the previous control data and the current control data are compared, and if the control data is all the same, the data is not transferred to the child device. If there are different control data, all the received control data are transferred to the child device.

【0045】通常は、センター装置から親装置に電話を
かけて販売データを収集するが、故障などの異常事態が
発生したり、商品の品切れなどが起こったときは、自動
販売機からセンター装置に電話をかけて故障データなど
を送る必要がある。そのため、センター装置から制御デ
ータを自動販売機PHS接続装置に送信して、いつなに
をするかを指示する。しかし、同じ制御データを親装置
から子装置に送るのはトラフィックの増加になるだけで
あり、販売データの転送の妨げになるから、全く同じ制
御データは親装置から子装置に送らないようにする。た
だし、4種類ある制御データのレコードのうち1つだけ
でも違っていたらすべて送るようにして、信頼性を確保
する。
Normally, sales data is collected by calling the parent device from the center device, but when an abnormal situation such as failure occurs or the product is out of stock, the vending machine sends the sales data to the center device. It is necessary to send trouble data etc. by calling. Therefore, control data is transmitted from the center device to the vending machine PHS connection device to instruct what to do. However, sending the same control data from the parent device to the child device only increases the traffic and hinders the transfer of the sales data. Therefore, the same control data should not be sent from the parent device to the child device. . However, if even one of the four types of control data records is different, all are sent to ensure reliability.

【0046】以上のように、本発明の第3の実施の形態
の自動販売機PHS接続装置では、親装置に前回センタ
ーから受け取った制御データを蓄積する手段と、新しい
制御データと比較する手段と、子装置に転送するべきか
を判断する手段と、同じデータである場合には転送しな
いようにする手段とを設けた構成とし、連続してセンタ
ーから同じ制御データが送られてきても子装置に転送し
ないので、グループ内のトラフィックが減り、販売デー
タの転送が妨げられない。
As described above, in the vending machine PHS connection device according to the third embodiment of the present invention, the means for accumulating the control data received from the center last time in the parent device and the means for comparing with the new control data are described. Means for judging whether the data should be transferred to the child device, and means for preventing the data from being transferred if the data is the same. Even if the same control data is continuously sent from the center, the child device , Traffic within the group is reduced and transfer of sales data is not hindered.

【0047】(第4の実施の形態)本発明の第4の実施
の形態は、PIAFS通信とみなし音声通信を着信情報
から自動的に判定し、モデム部とアダプタ部の切替えを
する自動販売機PHS接続装置である。
(Fourth Embodiment) In a fourth embodiment of the present invention, a vending machine which regards PIAFS communication, automatically determines voice communication from incoming information, and switches between a modem unit and an adapter unit. It is a PHS connection device.

【0048】図6は、本発明の第4の実施の形態の自動
販売機PHS接続装置の処理フローを示す図である。自
動販売機PHS接続装置のハードウエア構成は、図1の
ブロック図と同じである。
FIG. 6 is a diagram showing a processing flow of the vending machine PHS connection device according to the fourth embodiment of the present invention. The hardware configuration of the vending machine PHS connection device is the same as the block diagram of FIG.

【0049】みなし音声通信しかできない旧タイプのセ
ンター装置との接続と、みなし音声通信しかできない旧
タイプの自動販売機PHS接続装置装置との接続を可能
にするためには、みなし音声通信とPIAFS通信の両
方の通信を行なえるようにしなければならい。この場
合、どちらの通信方式で通信するかを通信毎に決める必
要がある。公衆PHS、自営PHSを用いる場合、着信
した情報の中に通信方式の種別を表わす情報があるた
め、これを自動的に判定することにより切替えを可能に
する。着信すると、PHS電話機からPS−ADP部を
介して、どの通信種別かを制御部に知らせる。いずれの
通信種別かの信号をみて制御部で判断する。
In order to enable connection with an old type center device that can only perform deemed voice communication and connection with an old type vending machine PHS connection device that can only perform deemed voice communication, deemed voice communication and PIAFS communication are required. Must be able to perform both communications. In this case, it is necessary to determine which communication method is used for communication for each communication. When the public PHS or the self-owned PHS is used, information indicating the type of the communication system is included in the received information, and the switching can be performed by automatically determining this. When an incoming call is received, the PHS telephone notifies the control unit of the type of communication via the PS-ADP unit. The control unit makes a determination by looking at the signal of which communication type.

【0050】着信種別がみなし音声であれば、みなし音
声通信設定のコマンドを送出し、内蔵モデムのネゴシエ
ーションを行ない、みなし音声通信をする。着信種別が
みなし音声でなければ、PIAFS通信設定のコマンド
を送出し、PIAFSのネゴシエーションを行ない、P
IAFS通信をする。
If the incoming call type is deemed voice, a command for setting deemed voice communication is transmitted, a built-in modem is negotiated, and deemed voice communication is performed. If the incoming call type is not deemed voice, a PIAFS communication setting command is transmitted, PIAFS negotiation is performed, and P
IAFS communication is performed.

【0051】以上のように、本発明の第4の実施の形態
の自動販売機PHS接続装置では、PIAFS通信とみ
なし音声通信を着信した情報により自動的に判定し、切
替えをする構成としたので、PIAFS通信とみなし音
声通信を自動的に判別して通信することができる。
As described above, in the vending machine PHS connection apparatus according to the fourth embodiment of the present invention, it is assumed that the voice communication is regarded as the PIAFS communication and is automatically determined based on the information received and the switching is performed. , It is possible to automatically determine and communicate with the PIAFS communication.

【0052】(第5の実施の形態)本発明の第5の実施
の形態は、トランシーバ通信で着信した場合に、発信側
の電話番号と親装置に登録されている特定の電話番号と
比較し、一致した場合にはグループ内で使用している通
信方式ではない方式で通信する自動販売機PHS接続装
置である。
(Fifth Embodiment) In a fifth embodiment of the present invention, when a call is received by transceiver communication, the telephone number of the caller is compared with a specific telephone number registered in the parent device. , A vending machine PHS connection device that communicates with a system other than the communication system used in the group when they match.

【0053】図7は、本発明の第5の実施の形態の自動
販売機PHS接続装置の処理フローを示す図である。
FIG. 7 is a diagram showing a processing flow of the vending machine PHS connection device according to the fifth embodiment of the present invention.

【0054】親装置とセンター装置がみなし音声通信で
通信し、親装置と子装置がPIAFS通信で通信する必
要が生ずることがあり、その逆もある。PHSの規格で
は、トランシーバ通信では、通信種別を判断できない。
そのため、トランシーバ通信では電話番号を送っている
ことを利用して電話番号で通信種別を判断する。
The parent device and the center device may communicate by deemed voice communication, and the parent device and the child device may need to communicate by PIAFS communication, and vice versa. According to the PHS standard, the type of communication cannot be determined in transceiver communication.
Therefore, in the transceiver communication, the communication type is determined based on the telephone number by using the fact that the telephone number is transmitted.

【0055】グループ内でPIAFS通信を行なってい
る場合、親装置は、着信したトランシーバ番号を取り出
し、設定されている番号と比較する。一致していれば、
みなし音声通信設定のコマンドを送出し、内蔵モデムの
ネゴシエーションを行ない、みなし音声通信をする。番
号が一致しなければ、PIAFS通信設定のコマンドを
送出し、PIAFSのネゴシエーションを行ない、PI
AFS通信を行なう。
When PIAFS communication is performed within the group, the parent device extracts the received transceiver number and compares it with the set number. If they match,
A command for setting the deemed voice communication is transmitted, the internal modem is negotiated, and the deemed voice communication is performed. If the numbers do not match, a PIAFS communication setting command is transmitted, PIAFS negotiation is performed, and the PIAFS is negotiated.
AFS communication is performed.

【0056】このフロー図は、グループ内でPIAFS
通信を行なっている場合のものであるが、逆の場合、す
なわち、グループ内でみなし音声通信を行なっている場
合、親装置は、着信したトランシーバ番号を取り出し、
設定されている番号と比較する。一致していれば、PI
AFS通信設定のコマンドを送出し、PIAFSのネゴ
シエーションを行ない、PIAFS通信を行なう。番号
が一致しなければ、みなし音声通信設定のコマンドを送
出し、内蔵モデムのネゴシエーションを行ない、みなし
音声通信をする。
This flow chart shows that PIAFS
In the case where communication is performed, but in the reverse case, that is, when performing deemed voice communication in a group, the parent device extracts the transceiver number that has arrived,
Compare with the set number. If they match, PI
An AFS communication setting command is transmitted, PIAFS negotiation is performed, and PIAFS communication is performed. If the numbers do not match, a command for setting the deemed voice communication is transmitted, the internal modem is negotiated, and the deemed voice communication is performed.

【0057】以上のように、本発明の第5の実施の形態
の自動販売機PHS接続装置では、親装置に特定の電話
番号を登録し、トランシーバで着信した場合に着信した
電話番号をこれと比較し、一致した場合にはグループ内
で使用している通信方式ではない方式で通信する構成と
したので、トランシーバ通信でも、通信方式を切り替え
て通信をすることができる。
As described above, in the vending machine PHS connection device according to the fifth embodiment of the present invention, a specific telephone number is registered in the parent device, and when a call is received by the transceiver, the received telephone number is stored in the parent device. In comparison, if they match, communication is performed by a method other than the communication method used in the group. Therefore, even in transceiver communication, communication can be performed by switching communication methods.

【0058】(第6の実施の形態)本発明の第6の実施
の形態は、省電力モードになるときにメイン制御部から
電源制御部へ省電力開始信号を出してメイン制御部への
電源供給を断ち、相手先から電話がかかってくるとPH
S電話機から起動信号を出して電源制御部からメイン制
御部へ電源供給を再開する自動販売機PHS接続装置で
ある。
(Sixth Embodiment) In a sixth embodiment of the present invention, when a power saving mode is set, a power saving start signal is sent from the main control unit to the power control unit to supply power to the main control unit. If supply is cut off and a call is received from the other party, PH
This is a vending machine PHS connection device that issues a start signal from the S telephone and restarts power supply from the power control unit to the main control unit.

【0059】図8は、本発明の第6の実施の形態の自動
販売機PHS接続装置の構成を示すブロック図である。
FIG. 8 is a block diagram showing the configuration of a vending machine PHS connection device according to a sixth embodiment of the present invention.

【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の電源は常に供給されている。
In the power supply section 11, a power supply from a battery or the like is 5V
And supplies it to the PHS telephone 2 and the power control unit 10. The power control unit 10 supplies 5 V to the main control unit 6, and outputs a power saving start signal (5 V) from the main control unit 6.
SON signal), and controls 5V to the main control unit 6. The main control unit 6 outputs a power saving start signal (5VSON signal) and turns off the 5V power supply when a power saving mode such as a standby mode is set. When the PHS telephone 2 receives the call, it issues an activation signal (ADPWUP signal) to the power supply control unit 10 to restore the 5V power supply to the main control unit 6. PH
The power of the S telephone 2 is always supplied.

【0061】通常動作時には約300mAの電流が流れる
が、省電力モードでは10mAにまで減少するので、電池の
寿命を大幅に延ばすことができる。
Although a current of about 300 mA flows during normal operation, the current is reduced to 10 mA in the power saving mode, so that the life of the battery can be greatly extended.

【0062】以上のように、本発明の第6の実施の形態
の自動販売機PHS接続装置では、省電力モードになる
ときにメイン制御部から電源制御部へ省電力開始信号を
出してメイン制御部への電源供給を断ち、相手先から電
話がかかってくるとPHS電話機から電源制御部へ起動
信号出して、電源制御部からメイン制御部への電源供給
を再開する構成としたので、待機時の電力消費を減らす
ことができる。
As described above, in the vending machine PHS connection apparatus according to the sixth embodiment of the present invention, when the power saving mode is set, the power saving start signal is output from the main control unit to the power supply control unit to perform the main control. The power supply to the main unit is cut off, and when a call is received from the other party, a start signal is output from the PHS telephone to the power control unit, and the power supply from the power control unit to the main control unit is restarted. Power consumption can be reduced.

【0063】[0063]

【発明の効果】以上説明したように、本発明では、子装
置からの販売データに付加されている収集時刻と、親装
置に蓄積されている販売データの収集時刻を比較し、古
い販売データが新しい販売データより遅れて親装置に到
着した場合は廃棄するように構成したので、常に最新の
販売データを蓄積しておけるという効果が得られる。
As described above, according to the present invention, the collection time added to the sales data from the child device is compared with the collection time of the sales data stored in the parent device, and the old sales data is compared. Since it is configured to discard when it arrives at the parent device later than new sales data, the effect is obtained that the latest sales data can always be stored.

【0064】また、外部モデムに確認コマンドを送出
し、応答がなかった場合には外付けモデムの電源スイッ
チを切って入れる構成としたので、外部モデムが異常に
なっても自動的に復旧させることができるという効果が
得られる。
Also, a confirmation command is sent to the external modem, and if there is no response, the power switch of the external modem is turned off and on, so that even if the external modem becomes abnormal, it can be automatically restored. Is obtained.

【0065】また、親装置がセンター装置から受け取っ
た前回の制御データと新しい制御データとを比較し、同
じデータである場合には子装置に転送しない構成とし、
連続してセンター装置から同じ制御データが送られてき
ても子装置に転送しないので、親装置と子装置の間のト
ラフィックを減らせるという効果が得られる。
Further, the parent device compares the previous control data received from the center device with the new control data, and if the data is the same, does not transfer it to the child device.
Even if the same control data is continuously transmitted from the center device, it is not transferred to the child device, so that an effect of reducing traffic between the parent device and the child device can be obtained.

【0066】また、PIAFS通信とみなし音声通信を
自動的に判定して切り替える構成としたので、PIAF
S通信とみなし音声通信を自動的に判別して通信するこ
とができるという効果が得られる。
Further, since the voice communication is regarded as the PIAFS communication and automatically determined and switched, the PIAFS communication is performed.
An effect is obtained in that voice communication can be automatically determined and communicated assuming that the communication is S communication.

【0067】また、トランシーバ通信で着信した電話番
号が、親装置に登録された特定の電話番号と一致した場
合に、グループ内で使用している通信方式ではない方式
で通信する構成としたので、トランシーバ通信でも通信
方式を切り替えて通信をすることができるという効果が
得られる。
When the telephone number received by the transceiver communication matches a specific telephone number registered in the parent device, communication is performed by a method other than the communication method used in the group. The effect that the communication method can be switched to perform communication even in transceiver communication can be obtained.

【0068】また、省電力モードになるときにメイン制
御部への電源供給を断ち、電話を受けるとPHS電話機
から起動信号を出して、電源制御部からメイン制御部へ
電源を供給する構成としたので、待機時の電力消費を減
らすことができるという効果が得られる。
Further, when the power saving mode is set, the power supply to the main control unit is cut off, and when a call is received, a start signal is output from the PHS telephone and the power supply unit supplies power to the main control unit. Therefore, the effect of reducing power consumption during standby can be obtained.

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

【図1】本発明の第1の実施の形態の自動販売機PHS
接続装置のブロック図、
FIG. 1 is a vending machine PHS according to a first embodiment of the present invention.
Block diagram of the connection device,

【図2】本発明の第1の実施の形態の自動販売機PHS
接続装置における受信データの蓄積、廃棄の判断の処理
フローを示す図、
FIG. 2 is a vending machine PHS according to the first embodiment of the present invention.
FIG. 11 is a diagram showing a processing flow of storing and discarding received data in the connection device,

【図3】本発明の第2の実施の形態の外部モデムを設け
た自動販売機PHS接続装置のブロック図、
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;

【図4】本発明の第2の実施の形態の自動販売機PHS
接続装置における外部モデムの監視の処理フローを示す
図、
FIG. 4 shows a vending machine PHS according to a second embodiment of the present invention.
The figure showing the processing flow of monitoring the external modem in the connection device,

【図5】本発明の第3の実施の形態の自動販売機PHS
接続装置における制御データの転送判断の処理フローを
示す図、
FIG. 5 is a vending machine PHS according to a third embodiment of the present invention.
The figure showing the processing flow of control data transfer determination in the connection device,

【図6】本発明の第4の実施の形態の自動販売機PHS
接続装置における通信種別の判断の処理フローを示す
図、
FIG. 6 shows a vending machine PHS according to a fourth embodiment of the present invention.
The figure showing the processing flow of the determination of the communication type in the connection device,

【図7】本発明の第5の実施の形態の自動販売機PHS
接続装置におけるトランシーバ通信の種別の判断の処理
フローを示す図、
FIG. 7 shows a vending machine PHS according to a fifth embodiment of the present invention.
The figure showing the processing flow of determining the type of transceiver communication in the connection device,

【図8】本発明の第6の実施の形態の自動販売機PHS
接続装置における省電力回路の構成を示すブロック図、
FIG. 8 shows a vending machine PHS according to a sixth embodiment of the present invention.
A block diagram showing a configuration of a power saving circuit in the connection device,

【図9】従来の自動販売機PHS接続装置を使用したビ
ル内自動販売機データ収集システムの構成を示す図であ
る。
FIG. 9 is a diagram showing a configuration of a building vending machine data collection system using a conventional vending machine PHS connection device.

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

1 自動販売機PHS接続装置 2 PHS電話機(PIAFS対応) 3 自動販売機接続ケーブル 4 電源ケーブル 5 自動販売機 6 メイン制御部 7 内蔵モデム部 8 アダプタ部 9 制御部 10 電源制御部 11 電源部 12 外部モデム 13 スイッチ Reference Signs List 1 Vending machine PHS connection device 2 PHS telephone (PIAFS compatible) 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 号 松下通信工業株式会社内 ──────────────────────────────────────────────────の Continuing on the front page (72) Inventor Hiroyuki Nagase 4-3-1 Tsunashima Higashi, Kohoku-ku, Yokohama-shi, Kanagawa Prefecture Matsushita Communication Industrial Co., Ltd.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 子装置として機能している自動販売機P
HS接続装置から受信した販売データに付加されている
収集時刻を判定する判定手段と、親装置として機能して
いる自動販売機PHS接続装置に蓄積されている当該子
装置の販売データの収集時刻よりも、前記判定手段から
得られた収集時刻が古い場合は受信した販売データを親
装置に蓄積しないようにする手段と、前記親装置に設定
された特定時間帯に子装置から受信した販売データを無
条件に親装置に蓄積する手段とを具備することを特徴と
する自動販売機PHS接続装置。
1. A vending machine P functioning as a child device
Determining means for judging the collection time added to the sales data received from the HS connection device, and from the collection time of the sales data of the child device stored in the vending machine PHS connection device functioning as the parent device Means for preventing the received sales data from being stored in the parent device if the collection time obtained from the determination unit is old, and sales data received from the child device in a specific time zone set in the parent device. A vending machine PHS connection device comprising: means for unconditionally storing data in a parent device.
【請求項2】 自動販売機PHS接続装置に接続された
外部モデムに対して一定周期ごとに確認コマンドを送出
する手段と、前記確認コマンドに対する応答を監視する
監視手段と、所定時間内に前記監視手段で応答が検出さ
れなかった場合には前記外部モデムの電源を切って再び
入れる手段とを具備することを特徴とする自動販売機P
HS接続装置。
2. A means for transmitting a confirmation command to an external modem connected to a vending machine PHS connection device at regular intervals, a monitoring means for monitoring a response to the confirmation command, and the monitoring within a predetermined time. Means for turning off and on the external modem when no response is detected by the means.
HS connection device.
【請求項3】 センター装置から受け取った制御データ
を親装置に蓄積する手段と、前記センター装置から受信
した新制御データと蓄積されている旧制御データとを比
較する手段と、前記新制御データと前記旧制御データが
すべて一致した場合には子装置に転送しないようにする
手段とを具備することを特徴とする自動販売機PHS接
続装置。
3. A means for storing control data received from a center device in a parent device, a means for comparing new control data received from the center device with stored old control data, Means for preventing transfer to the child device when all of the old control data match, the vending machine PHS connection device.
【請求項4】 着信情報に基づいてPIAFS通信とみ
なし音声通信のどちらかを自動的に判定する判定手段
と、前記判定手段の結果に基づいてPIAFS通信とみ
なし音声通信のいずれかを選択して切り替える手段とを
具備することを特徴とする自動販売機PHS接続装置。
4. A determining means for automatically determining one of PIAFS communication and voice communication based on incoming information, and selecting one of PIAFS communication and voice communication based on the result of the determining means. A vending machine PHS connection device comprising: a switching unit.
【請求項5】 親装置に特定電話番号を登録する手段
と、トランシーバ通信で着信した場合に着信した電話番
号を登録された前記特定電話番号と比較する比較手段
と、前記比較手段が電話番号の一致を示した場合にはグ
ループ内で使用している通信方式ではない方式で通信す
る手段とを具備することを特徴とする自動販売機PHS
接続装置。
5. A means for registering a specific telephone number in the parent device, a comparing means for comparing the received telephone number with the registered specific telephone number when receiving a call by transceiver communication, and wherein the comparing means comprises a telephone number. Means for performing communication using a method other than the communication method used in the group when the coincidence is indicated, the vending machine PHS
Connection device.
【請求項6】 省電力モードになるときにメイン制御部
から電源制御部へ省電力開始信号を出す手段と、前記省
電力開始信号に従って前記メイン制御部への電源供給を
断つ手段と、PHS電話機からの起動信号を検出する手
段と、前記起動信号に従って前記電源制御部から前記メ
イン制御部へ電源供給を再開する手段とを具備すること
を特徴とする自動販売機PHS接続装置。
6. A PHS telephone, comprising: means for issuing a power saving start signal from the main control unit to the power control unit when the power saving mode is set; means for cutting off power supply to the main control unit in accordance with the power saving start signal; A vending machine PHS connection device, comprising: means for detecting a start signal from the vending machine; and means for restarting power supply from the power control unit to the main control unit in accordance with the start signal.
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
JP2002109284A Division JP2003018086A (en) 2002-04-11 2002-04-11 Phs access device for vending machine
JP2002109285A Division JP2003023503A (en) 2002-04-11 2002-04-11 Vending machine phs connection equipment

Publications (2)

Publication Number Publication Date
JPH11136767A true JPH11136767A (en) 1999-05-21
JP3375530B2 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)

Cited By (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

Cited By (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
JP3375530B2 (en) 2003-02-10

Similar Documents

Publication Publication Date Title
CN1536819B (en) Method for implementing dual location in next network
US20120057503A1 (en) Method, apparatus and system for controlling access points
CN102307367A (en) Communication equipment and power failure alarming method
JP2000278303A (en) Wireless local loop system and radio channel control method
US6173184B1 (en) Network system for mobile radio communication with line switching
US7187926B1 (en) Method and system for controlling the use of satellite transmission capacity in terrestrial networks
EP1250014A2 (en) System and Method for Lifeline backup in communication networks
CN1328914C (en) Mobile communication system exchange state information and operating method thereof
CN100392941C (en) UPS capable of implementing remote wireless monitoring and system for monitoring the same
JPH11136767A (en) Phs adaptor for automatic vending machine
CN109922157A (en) A kind of data transmission system based on wireless backup
JP2003023503A (en) Vending machine phs connection equipment
JPH09214545A (en) Network communication control system
JP2003018086A (en) Phs access device for vending machine
JPH0319532A (en) Subscriber radio system
JP3037261B2 (en) Mobile phone communication switching method
JPS6330824B2 (en)
US6625178B1 (en) Virtual private line control system with improved transmission efficiency
JPH0265416A (en) Standby line connector for station monitoring system
JPH0951304A (en) Radio communication system and power supply control method thereof
JP2001189724A (en) Network system
CN101431436B (en) Method and apparatus for signaling message transmission through Q.921 link
JPH0113671B2 (en)
JP2003224625A (en) Line switching connection device
JPH07154854A (en) Radio telephone system

Legal Events

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