JPH01205294A - Data collector for automatic vending machine - Google Patents

Data collector for automatic vending machine

Info

Publication number
JPH01205294A
JPH01205294A JP14898188A JP14898188A JPH01205294A JP H01205294 A JPH01205294 A JP H01205294A JP 14898188 A JP14898188 A JP 14898188A JP 14898188 A JP14898188 A JP 14898188A JP H01205294 A JPH01205294 A JP H01205294A
Authority
JP
Japan
Prior art keywords
data
memory card
vending machine
cpu
sales
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
JP14898188A
Other languages
Japanese (ja)
Other versions
JP2542677B2 (en
Inventor
Shinsuke Tajiri
田尻 伸介
Hidekazu Koorihama
郡浜 英一
Teruaki Hayashi
輝明 林
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP63148981A priority Critical patent/JP2542677B2/en
Publication of JPH01205294A publication Critical patent/JPH01205294A/en
Application granted granted Critical
Publication of JP2542677B2 publication Critical patent/JP2542677B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To enhance reliability when data are stored into a memory card by once storing the respective types of the data generated during the work of an automatic vending machine into a RAM, thereafter, confirming the installation of the memory card in the automatic vending machine and transferring and storing the data to the memory card. CONSTITUTION:The title device is a card-shaped data memory means, which is installed through a connector CC in the automatic vending machine, and accessed through the connector CC by a CPU 1, and it is equipped with a memory card 2 which is composed by storing a key word 2A to identify the device itself. Further, the CPU 1 reads the key word 2A from the memory card 2, discriminates that the key word 2A is correct, and then the collecting data stored into a RAM 4 are transferred to the memory card 2. Thus, the reliability when the respective types of the data generated in the automatic vending machine are stored into the memory card 2 can be enhanced.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

この発明は、自動販売機(自販機とも略す)の稼動によ
って自販機内に発生する種々のデータ、例えば売上デー
タ、異常データ等を収集する装置に関するもので、 特に前記収集用データをメモリカードに記憶しデータ収
集を容易化すると共に収集動作の信頼性を高め、さらに
収集用データの内容を豊富にして自販機のより効率的な
設置、運用を計り得るようにしたデータ収集装置に関す
る。 なお以下各図において同一の符号は同一もしくは相当部
分を示す。
The present invention relates to a device that collects various data generated in a vending machine (also referred to as a vending machine) when the machine operates, such as sales data, abnormal data, etc. In particular, the present invention relates to a device that collects various data generated in a vending machine (also referred to as a vending machine), such as sales data and abnormal data. The present invention relates to a data collection device that facilitates data collection, increases the reliability of the collection operation, and enriches the content of collected data to enable more efficient installation and operation of vending machines. Note that in the following figures, the same reference numerals indicate the same or corresponding parts.

【従来の技術】[Conventional technology]

第7図は従来の売上データ収集システムの構成例を示す
図である。同図において01は自販機、02はデータ収
集装置、06は自販機01内の自販機制御装置、07は
同じく販売計数記憶手段で、制御装置06から商品販売
のつど信号を入力して計数し記憶する。08は交信制御
手段で、コネクタCI、C2および信号線DLを介しデ
ータ収集装置02と接続され販売計数記憶手段07内に
記憶された売上データをデータ収集装置02へ送信する
ための制御を行う。 以上のような構成のもとてデータ収集装置02は、自販
機01の1台ずつの売上データを収集するものである。 ここで売上データを収集する場合、データ収集装置02
上のキーボード02aよりデータ収集の起動をかけると
、データ交信信号線DLを介して自販機01側に売上デ
ータを要求する信号が送られる。 自販機01側はこの要求を受けて販売計数記憶手段07
に記憶している売上データを交信制御手段08とデータ
収集装置02の間で定められた特定の交信手順に従って
データ収集装置02に送信する。以上のようにして収集
した売上データをデータ収集装置02は自身の内部の図
外のメモリに記憶する。以下同様の操作にて自販機複数
台の売上データを収集後、このデータ収集装置02を営
業所に持ち帰り、中継装置03を介して電算機04へ収
集した売上データを送信する。 このようにして、電:ff a O4へ売上データが人
力されることにより、自販機別の売上、全売上の集計、
商品別の売上環の集中的な売上管理が行われるものであ
る。 また自販機の異常データについては、自販機に発生する
商品の売切やコイン詰まりなどの故障や、停電などの異
常データを発生時間とともに記憶しておけば、それらの
データを後で取出して解析することにより、商品の売行
きの把握が可能となり、また異常発生傾向を捉えてクレ
ームの未然防止が可能となる。従って、このような異常
データを収集する装置を取付けることは、自販機を効率
よく管理する上で有効な手段である。 従来、このような異常データ収集装置として一般的なも
のは、自販機の制御装置のメモリ領域の一部に上記のよ
うな異常データを記憶しておき、この異常データを読取
るときは、自販機制御装置06上の図外のキーボードの
表示器に異常データを1つ1つ表示して読取るか、売上
データ収集の場合と同様に、データ収集装置02を自販
機01に接続して異常データをこのデータ収集袋ff 
O2に転送しプリントアウトするようにしたものがある
FIG. 7 is a diagram showing an example of the configuration of a conventional sales data collection system. In the figure, 01 is a vending machine, 02 is a data collection device, 06 is a vending machine control device in the vending machine 01, and 07 is a sales count storage means, which inputs a signal each time a product is sold from the control device 06, counts it, and stores it. Communication control means 08 is connected to the data collection device 02 via connectors CI, C2 and signal line DL, and performs control for transmitting sales data stored in the sales count storage means 07 to the data collection device 02. With the above configuration, the data collection device 02 collects sales data for each vending machine 01. When collecting sales data here, data collection device 02
When data collection is activated from the upper keyboard 02a, a signal requesting sales data is sent to the vending machine 01 via the data communication signal line DL. In response to this request, the vending machine 01 side stores the sales count storage means 07.
The sales data stored in the data collection device 02 is transmitted to the data collection device 02 according to a specific communication procedure determined between the communication control means 08 and the data collection device 02. The data collection device 02 stores the sales data collected as described above in its own internal memory (not shown). After collecting sales data for a plurality of vending machines using similar operations, the data collection device 02 is taken back to the office and the collected sales data is transmitted to the computer 04 via the relay device 03. In this way, by manually inputting sales data to FF A O4, sales by vending machine, total sales,
This involves intensive sales management of the sales cycle for each product. In addition, regarding vending machine abnormality data, if you store abnormality data such as malfunctions such as sold out of products or jammed coins, and power outages that occur in vending machines along with the time of occurrence, you can retrieve and analyze such data later. This makes it possible to understand the sales of products, and also to prevent complaints by identifying trends in abnormalities. Therefore, installing a device that collects such abnormal data is an effective means for efficiently managing vending machines. Conventionally, such a common abnormality data collection device stores the above-mentioned abnormal data in a part of the memory area of the vending machine control device, and when reading this abnormal data, the vending machine control device 06 Display and read the abnormal data one by one on the keyboard display (not shown above), or connect the data collection device 02 to the vending machine 01 and collect the abnormal data as in the case of collecting sales data. bag ff
There is something that can be transferred to O2 and printed out.

【発明が解決しようとする課題】[Problem to be solved by the invention]

しかしながら前記の売上データ収集方式には以下のよう
な問題点がある。 (1)データ収集装置02の記憶容量が限られているた
め、売上データを収集すべき自販機の台数が多いと、売
上データを収集できなくなる不具合が起こる。従って売
上データを収集できる自販機台数が限定される。 (2)データ収集袋WO2が何らかの異常により、例え
ばメモリバックアップ電源ダウンによりデータが消える
場合や、データ収集装置02のCPU暴走により記憶デ
ータを壊してしまう等の異常発生時、収集した自販機の
全売上データが一度に無効となるという危険性がある。 (3)収集できるデータがほぼ売上データに限られてい
るため、今後特定地域内に新しく自販機を設置したり、
新規の設置場所開拓する場合の検討用のデータ (例え
ば商品補給回数の差で冷熱ユニットの運転率が異なるた
め電力料金が異なるという経費面のデータ、故障発生件
数や機種個有の故障内容というサービス面でのデータ)
等の把握ができない。 また前記の異常データを収集する方式においても、自販
機制御装置06のキーボードで異常データを読取る作業
時間が長くかかったり、データ収集装置02の運搬や携
帯に手間がかかったりして、自販機のサービス巡回業務
に支障を来たすと言う問題点があった。 そこで本発明の課題は個々の自販機にメモリカードを取
付けて、前記売上データや異常データのほか、各種の自
販機発生データをこのメモリカードに記憶させ、データ
収集にはこのメモリカードを新しいメモリカードと入替
えて収集し、営業所でその内容を読取り調査するように
することにより、さらにこのメモリカードの利用に当っ
ても、メモリカードの自販機への装着状態を確認する手
段を設けることにより、 メモリカードを自販機に差し忘れても売上データが失わ
れず、また売上の計数内容が化けることがないようにし
て信頬度を向上するようにし、さらにデータ収集作業を
短時間に行い、かつデータ収集手段を小型軽量化するこ
と、ならびに自販機からの収集用データの内容を豊富に
して、自販機の効率的な設置や運用検討の確度をより高
め得るようにすることにある。
However, the above sales data collection method has the following problems. (1) Since the storage capacity of the data collection device 02 is limited, if the number of vending machines for which sales data should be collected is large, a problem occurs in which sales data cannot be collected. Therefore, the number of vending machines for which sales data can be collected is limited. (2) If the data collection bag WO2 experiences some kind of abnormality, such as data disappearing due to a memory backup power failure, or memory data being destroyed due to a runaway CPU of the data collection device 02, all sales of the collected vending machine There is a risk that the data may become invalid all at once. (3) Since the data that can be collected is mostly limited to sales data, we will not be able to install new vending machines in specific areas in the future.
Data for consideration when developing a new installation location (for example, cost data such as the fact that the operating rate of the cooling/heating unit differs depending on the number of times the product is replenished, resulting in a difference in electricity rates; service information such as the number of failures and failure details specific to each model) data)
etc. cannot be grasped. Furthermore, even with the method of collecting abnormal data, it takes a long time to read the abnormal data using the keyboard of the vending machine control device 06, and it takes time and effort to transport and carry the data collecting device 02. There was a problem in that it was interfering with business operations. Therefore, the problem of the present invention is to attach a memory card to each vending machine, store the sales data, abnormal data, and various vending machine generated data on this memory card, and use this memory card as a new memory card for data collection. By replacing the memory cards and collecting them, and having the contents read and investigated at the sales office, and by providing a means to confirm the installation status of the memory card in the vending machine when using this memory card, In order to improve trustworthiness by preventing sales data from being lost even if one forgets to insert it into a vending machine, and by preventing sales figures from being garbled, data collection work can be done in a short time, and data collection methods can be used. The purpose is to make the vending machine smaller and lighter, and to enrich the content of data collected from the vending machine, thereby making it possible to more accurately install and operate the vending machine efficiently.

【課題を解決するための手段】[Means to solve the problem]

前記の課題を解決するために本発明の装置は、fCPU
 (1など)、当該の自動販売機内に発生した各種のデ
ータ(以下収集用データという)を格納されるRAM 
(4,記憶手段24など)、を備えた自動販売機におい
て、 コネクタ(CCなど)を介してこの自動販売機に装着さ
れ、かつこのコネクタを介し前記CPUによってアクセ
スされるカード状のデータ記憶手段としてのメモリカー
ドであって、予め自身を特定するための、キーワード(
2Aなど)を格納されてなるメモリカード(2など)を
備え、前記CPUが、前記メモリカードから前記キーワ
ードを読取り、このキーワードが正しいことを判別した
状態で、前記RAMに格納された収集用データを前記メ
モリカードへ転送するように」するか、またはさらに「
前記収集用データは商品コラム別の商品販売数、売上金
額等からなる売上データ、(故障・売切検知回路7.停
電検知回路8などから得た)発生異常(故障、売切、停
電等)の内容、(時計回路9などから得た)この異常発
生の日時等からなる異常データ、または冷熱負荷の運転
率や各種設定データについての履歴データ、を含むもの
であるjようにするものとする。
In order to solve the above problems, the device of the present invention uses fCPU
(1 etc.), a RAM that stores various data generated within the vending machine (hereinafter referred to as collection data)
(4, storage means 24, etc.), a card-shaped data storage means that is attached to the vending machine via a connector (CC, etc.) and accessed by the CPU via this connector. It is a memory card with a keyword () to identify itself in advance.
2A, etc.), and the CPU reads the keyword from the memory card, and in a state where the keyword is determined to be correct, collects data stored in the RAM. to the said memory card" or further "transfer
The data to be collected includes sales data consisting of the number of products sold by product column, sales amount, etc., and occurrence abnormalities (failures, sold-outs, power outages, etc.) (obtained from the failure/sold-out detection circuit 7, power outage detection circuit 8, etc.) , abnormal data including the date and time of the abnormal occurrence (obtained from the clock circuit 9, etc.), or historical data regarding the operation rate of the cooling and heating load and various setting data.

【作 用】[For use]

この発明は個々の自販機にメモリカードを装着して自販
機に発生した各種のデータ(売上および異常に関するデ
ータ、冷熱ユニットの運転率、各種設定データの変更履
歴、故障履歴等)を当該のメモリカードに記憶させ、自
販機の巡回作業においてはこのメモリカードを自販機か
ら外して持ち帰り、巡回作業の後でデータをメモリカー
ドから読取るようにしたものである。 なおメモリカードへのデータ記録に当ってはメモリカー
ドに予め特定のキーワードを書込んでおいて、そのキー
ワードを読出し一致をチエツクすることにより、メモリ
カード有無を判定し、またメモリカード取出し扉とその
開閉検知手段を設けることにより、メモリカードの抜き
差し操作を行っているかどうかを検知する。 この検知の結果、メモリカード有でかつ抜き差し操作を
行っていない時のみ収集用データをメモリカードに書込
み、それ以外の時は収集用データをRAMに記憶させた
ままにしておいて、再度メモリカードが挿入されカード
取出し扉開となった時に、RAMの内容をメモリカード
に書込むことにより、メモリカードを抜いている間の収
集用データも消えずに保持され、またメモリカード抜き
差し時にデータが化けることも無くなるようにするもの
である。
This invention involves installing a memory card in each vending machine and storing various data generated in the vending machine (data related to sales and abnormalities, operation rate of the cooling/heating unit, change history of various setting data, failure history, etc.) to the memory card. The memory card is stored in the vending machine, and when the vending machine is touring the vending machine, the memory card is removed from the vending machine and taken home, and the data is read from the memory card after the vending machine is touring the vending machine. When recording data to a memory card, a specific keyword is written on the memory card in advance, and the presence or absence of the memory card is determined by reading out the keyword and checking for a match. By providing an opening/closing detection means, it is detected whether a memory card is being inserted or removed. As a result of this detection, the data to be collected is written to the memory card only when the memory card is present and has not been inserted or removed; otherwise, the data to be collected is left stored in the RAM, and then the data is written to the memory card again. By writing the contents of the RAM to the memory card when the card is inserted and the card ejection door is opened, the data collected while the memory card is removed will not be erased, and the data will not be garbled when the memory card is inserted or removed. It also makes sure that there is no such thing.

【実施例】【Example】

本発明と同一の技術思想に基づ〈発明としては本出願人
の先願となる。 特願昭62−265755号「自動販売機のデータ収集
装置」 がある。そこでまず第1図ないし第3図を用いて前記先
願の内容を本発明の第1の実施例として説明する。ここ
で第1図は自販機制御回路の要部構成を示すブロック図
、第2図、第3図は第1図のそれぞれ異なる動作を説明
するフローチャートである。 第1図において1は自販機全体を制御するCPU、3.
4はJ亥CPUIに属するROM、RAMである。 2はこの自販機に装着されたRAMカード(RAMを内
蔵)、icカード(CPU、ROM、RAM等を内蔵)
などのメモリカードで、このメモリカード2はカードコ
ネクタCCを介し自販機の制御系に接続されている。な
おCGはこのカード2をカードコネクタCCに挿入する
際のガイドとなるカードガイド部、CDはメモリカード
2を自販機に抜き差しする際の扉となるカード扉、DC
は前記カード扉の開閉の際のガイドとなる扉ガイド部、
PSは前記扉ガイド部DGに組込まれた光センサで、カ
ード扉CDO開または閉の状態を検知するためのもので
ある。またメモリカード2内のメモリ領域にはこのカー
ド2を特定するためのキーワード2A、および売上デー
タ2B、異常データ2Cの各記憶領域が設けられている
。 6は図外の商品選択スイッチの各々に対応して設けられ
た販売商品格納棚としての商品コラムで、それぞれ当該
商品を搬出する搬出機構を備えている。7は前記商品コ
ラム内の(搬出機構などの)故障や商品の売切を検知す
る故障・売切検知回路、8は異常の1つである停電を検
知する停電検知回路、9は異常発生の日時を知るための
日時信号を出力する時計回路、10はCPUIの制御対
象手段としての前記メモリカード2.商品コラム6、故
障売切検知回路7.停電検知回路82時計回路9等とC
PUIとを結合するための入出力インクフェース(■1
0とも記す)である。 利用者が図外の貨幣鑑別手段に貨幣を投入し、商品選択
スイッチを押して購入したい商品を選択するとCPUI
はこれを判別し当該の商品コラム6から商品を搬出する
制御を行うが、このときその商品販売を示す商品コラム
種別信号6aが当該の商品コラムに対応して出力され、
l1010を介してCPUIに通知される。 次に第1図を参照しつつ第2図、第3図について説明す
る。第2図は商品販売のつど発生ずる売上データ(販売
データ)の処理手順の一実施例を示すものである。即ち
、CPUIは前記商品コラム種別信号6aによって商品
の販売を検知すると(ステラ11115分岐Y)、その
商品コラムの売上数等の計数を行ない、この販売計数デ
ータをRAM4内の図外の販売データメモリに記憶させ
る(ステップ112)。この販売データメモリ内に販売
計数データが記憶されている場合(ステップ113゜分
岐Y)、まずメモリカード2よりキーワード2Aを読込
み(ステップ114)、ROM3に予め記憶しているキ
ーワードと一致しているか否かをチエツクする。ここで
一致していればメモリカード2が自販機に装着されてい
ると判断する(ステップ1151分岐Y)。次にメモリ
カード2のカード扉CDの開閉状態を光センサPSによ
り調べ、カード扉CDが閉じていることを確認すると(
ステップ1165分岐Y) 、RAMJ内の販売データ
メモリの記憶内容とメモリカード2内の売上データ2B
を加算しくステップ117)、再度メモリカード2の売
上データ2Bの記憶領域にその加算内容を書込み(ステ
ップ118)、その後RAM内の販売データメモリの内
容をクリアする (ステップ119)。 このようにメモリカード2を自販機に差込んでいない状
態でも販売計数を行うことができ、またメモリカードの
抜き差し時にはメモリカードへデータを書込まないよう
にしたため、メモリカードに中途半端なデータを書込む
ことが無くデータが化けるといった不具合もなくなり信
頼度が向上する。 また第3図は自販機の稼動中に発生する異常データの処
理手順の一実施例を示すものである。つまりこの手順は
故障、売切、停電などの異常が発生したときに起動され
るものとする。同図においてcpuiはまず、ステップ
121にて新しく発生した異常内容があるかどうかチエ
ツクし、新しい異常内容が無ければステップ123ヘジ
ヤンプし、新しい異常内容が有ればステップ122へ進
む。ステップ122では新しい異常内容をRAM4に一
時記憶してステップ123へ進む。 ステップ123では今まで発生していた異常内容の中で
解除されたものがないかどうかチエツクし、解除された
異常内容がなければステップ125ヘジヤンプし、解除
された異常内容があればステップ124へ進む。ステッ
プ124では解除された異常内容をRAMへ一時記憶し
てステップ125へ進む。 ステップ125では時計回路9より日時データを読取っ
た後、ステップ126へ進む。ステップ126では上記
日時データと共に、RAM4に一時記憶中の新しく発生
した異常内容や解除された異常内容のデータをメモリカ
ード2へ書込む。その後図外のメインルーチンへリター
ンする。なおここで異常データの記憶期間を一定期間(
例えば3日間)としておけばメモリカード2のメモリ容
量の効率向上が図れる。 次に第4図ないし第6図を用いて本発明の第2の実施例
を説明する。ここで第4図は新たな自販機制御回路のシ
ステム構成を示すブロック図、第5図は第4図の要部動
作を示すフローチャート、第6図は第4図における収集
用データの内容を示す図である。 第4図における自販機11の制御回路はいわゆる分散制
御方式の構成となっており、この制御回路はそれぞれ割
当てられた制御を分担実行する各種の従制御部(スレー
ブともいう)、およびこの各従制御部とサイクリックに
交信しつつ各従制御部にその制御を実行させる主制御部
(マスクともいう)を備えている。即ち同図の12はこ
のマスク、13〜16および18はこのスレーブ、また
19はこのマスタ12とこの各スレーブとを結ぶデータ
交信ラインである。 ここで13は扉スレーブで、マスタ12がらの送信デー
タに従い、販売可否表示ランプ13Aおよび売切表示ラ
ンプ13Bを点滅制御すると共に、押釦スイッチ13C
の入力の変化を示す入力データをマスタ12へ送信する
機能を有する。 14はキーボードスレーブで、キーボード14Aを介し
て入力された各種設定データをマスタ12へ送信すると
共に、マスタ12から送信されたデータを表示部14B
へ表示する機能を有する。 15は搬出スレーブで売切スイッチ15B等の入力の変
化を示す入力データをマスタ12へ送信すると共に、マ
スタ12からの販売指令に従い、搬出機構15への制御
を行う機能を有する。 16はスレーブとしての電装ボックスでマスタ12から
のオン/オフ指令に従い、省エネ対象負荷としての冷却
手段(MCとも略記する) 16A、加熱手段(ヒータ
)16B、送風手段(ファン) 16C,照明手段(蛍
光灯)16D等の制御を行う機能を有する。 18はコインメックスレーブ(なおコインノックをC7
Mとも略記する)で、投入された硬貨を判別し、その判
別データを入力データとしてマスタ12へ送信すると共
に、マスタ12からの指令に基づいて釣銭を払出す機能
を有する。 17は電源ボックスで前記マスタ12.スレーブ13〜
16.18に対し、電源の供給を行う機能を有する。 マスタ12は前述のように各スレーブ13〜16.18
を交信ライン19を介して、集中管理すると共に、故障
内容をコード化して記憶しており、各スレーブが故障を
検知したらその内容を受信し、さらにこの故障内容を故
障コードで、キーボードスレーブ14に表示する機能、
各種設定データや販売データの演算処理機能、該データ
の記憶機能、時計機能等をも有する。 また22はマスタ12からシリアルのデータバス21を
介してマスタ12の記憶データを入力すると共に、前記
の省エネ対象負荷16八〜160のオン、オフの状態を
状態検出線20を介して検出するデータ収集装置である
。また26はこの装置22内に設けられメモリカード2
の挿入されるデータ回収装置である。 このデータ収集装置22にはさらに後述のようなデータ
処理手段23.記憶手段24.交信制御手段25゜−時
記憶演算手段28.データ変換手段29等が設けられて
いる。 第6図はこのデータ収集装置22によってメモリカート
°2に格納される各種の収集用データの名称を番号別に
示している。 次に第6図の収集用データの種別に応じて異なる。第4
図のデータ収集時の動作を第5図を用いて説明する。 (1)第6図のNo、 1〜No、 16、およびNo
、21〜No、3oのデータの場合: 自販機11を設置し、初期化を行なった後(ステップS
L、S2)、T時間経過したら(ステップ33)、デー
タ収集装置22内のデータ処理手段23がデータバス2
1を介してマスタ12ヘデータを要求する(ステップS
4)。マスタ12ではこの要求に対し、自身の内部に記
i意している当該のデータを、マスタ12とデータ処理
手段23との間で定められた特定の交信手順に従って、
データ処理手段23へ送出する(ステップ5.6)。デ
ータ処理手段23ではマスタ12から受信したデータを
演算処理しくステップS7)、記憶手段24で記憶でき
るデータに変換処理して(ステップ38)、記憶手段2
4へその変換処理されたデータを送出する (ステップ
S9)。 (2)第6図のNo、 17〜No、20のデータの場
合:前記のステップSl、S2の手順の終了後、稼動状
態記録対象の負荷としての冷却手段16A、加熱手段1
6B、送風手段16C1照明手段160に各々接続され
た状態検出線20を介し、前記負荷の稼動状態(例えば
電圧の有無に応じた運転、休止)を検知して(ステップ
5IO)、−時記憶演算手段28に一時記憶しくステッ
プ5ll)、そしてT時間経過後(ステップ512)、
この−時記憶演算手段28を介しT時間分のデータを加
算処理しくステップ513)、負荷の運転率(運転時間
/T待時間100%)を演算処理しくステップ514)
、データ変換手段29を介し記憶手段24で記憶できる
データに変換処理して(ステップ515)、その変換デ
ータを記憶手段24へ送出する(ステップ516)。記
憶手段24ではデータ処理手段23.データ変換手段2
9より送出されたデータを記憶する。(ステップ517
)。 次にデータを回収する場合はメモリカード2をデータ回
収装置26に挿入し接続する (ステップ518)。デ
ータ回収装置26ではメモリカード2のキーワードを読
込み(ステップ319)、データ回収装置26であらか
じめ記憶しているキーワードと一致しているか否かをチ
エツクする(ステップ20)。 データ回収装置26で一致したことを判断すると、デー
タ回収装置26から交信制御手段25にデータの送信要
求を行う (ステップ521)。交信制御手段25では
この送信要求に対し、記憶手段24に記憶しているデー
タを交信制御手段25とデータ回収装置26との間で定
められた特定の交信手順に従ってデータ回収装置26に
送出する (ステップ522)。データ回収装置26で
は交信制御手段25から受けたデータをメモリカード2
に書込む(ステップS 23)。 以上の手順で自販機の稼動状態を記録し、データとして
出力することができる。
Based on the same technical idea as the present invention (as an invention, it is an earlier application of the present applicant). There is a patent application No. 62-265755 entitled ``Data collection device for vending machines''. First, the content of the prior application will be explained as a first embodiment of the present invention using FIGS. 1 to 3. Here, FIG. 1 is a block diagram showing the configuration of main parts of a vending machine control circuit, and FIGS. 2 and 3 are flowcharts illustrating different operations from FIG. 1. In FIG. 1, 1 is a CPU that controls the entire vending machine; 3.
4 is a ROM and RAM belonging to the J-CPUI. 2 is the RAM card (built-in RAM) and IC card (built-in CPU, ROM, RAM, etc.) installed in this vending machine.
This memory card 2 is connected to the control system of the vending machine via a card connector CC. Note that CG is the card guide section that serves as a guide when inserting the card 2 into the card connector CC, CD is the card door that is the door that is used when inserting and removing the memory card 2 into the vending machine, and DC
is a door guide portion that serves as a guide when opening and closing the card door;
PS is an optical sensor incorporated in the door guide part DG, and is used to detect whether the card door CDO is open or closed. Further, the memory area in the memory card 2 is provided with storage areas for a keyword 2A for specifying this card 2, sales data 2B, and abnormality data 2C. Reference numeral 6 denotes a product column serving as a sales product storage shelf provided corresponding to each of the product selection switches (not shown), each of which is provided with a carry-out mechanism for carrying out the product. 7 is a failure/sold-out detection circuit that detects a failure in the product column (such as the delivery mechanism) or a product is sold out; 8 is a power outage detection circuit that detects a power outage, which is one of the abnormalities; and 9 is a circuit that detects the occurrence of an abnormality. A clock circuit outputting a date and time signal for knowing the date and time; 10 is the memory card 2, which is a means to be controlled by the CPUI; Product column 6, failure sold-out detection circuit 7. Power outage detection circuit 82 clock circuit 9 etc. and C
Input/output ink face (■1) for combining with PUI
(also written as 0). When the user inserts money into a currency discrimination means (not shown) and presses the product selection switch to select the product he/she wants to purchase, the CPU
determines this and controls the removal of the product from the product column 6 in question, but at this time, a product column type signal 6a indicating the sale of the product is output corresponding to the product column in question,
The CPUI is notified via l1010. Next, FIGS. 2 and 3 will be explained with reference to FIG. 1. FIG. 2 shows an embodiment of a processing procedure for sales data (sales data) generated each time a product is sold. That is, when the CPU detects the sale of a product based on the product column type signal 6a (Stella 11115 branch Y), it counts the number of sales of that product column, etc., and stores this sales count data in a sales data memory (not shown) in the RAM 4. (step 112). If sales count data is stored in this sales data memory (step 113° branch Y), first read keyword 2A from memory card 2 (step 114), and check whether it matches the keyword pre-stored in ROM 3. Check whether or not. If they match, it is determined that the memory card 2 is installed in the vending machine (step 1151 branch Y). Next, the optical sensor PS checks the open/closed state of the card door CD of the memory card 2, and when it is confirmed that the card door CD is closed (
Step 1165 branch Y), storage contents of sales data memory in RAMJ and sales data 2B in memory card 2
is added (Step 117), and the added contents are written again into the storage area of the sales data 2B of the memory card 2 (Step 118), and then the contents of the sales data memory in the RAM are cleared (Step 119). In this way, sales can be counted even when the memory card 2 is not inserted into the vending machine, and since data is not written to the memory card when the memory card is inserted or removed, half-finished data can be written to the memory card. This improves reliability by eliminating problems such as garbled data. Further, FIG. 3 shows an example of a procedure for processing abnormal data that occurs during operation of a vending machine. In other words, this procedure is assumed to be activated when an abnormality such as a failure, a sellout, or a power outage occurs. In the figure, the CPU first checks in step 121 whether there is any new abnormality content, and if there is no new abnormality content, it jumps to step 123, and if there is new abnormality content, it proceeds to step 122. In step 122, the new abnormality contents are temporarily stored in the RAM 4, and the process proceeds to step 123. In step 123, a check is made to see if any of the abnormal contents that have occurred up to now have been cleared. If there are no abnormal contents that have been canceled, the process jumps to step 125, and if there are any abnormal contents that have been canceled, the process proceeds to step 124. . In step 124, the content of the canceled abnormality is temporarily stored in the RAM, and the process proceeds to step 125. In step 125, the date and time data is read from the clock circuit 9, and then the process proceeds to step 126. In step 126, data on newly generated abnormalities and canceled abnormalities temporarily stored in the RAM 4 is written to the memory card 2 together with the date and time data. After that, the process returns to the main routine (not shown). Note that the storage period of abnormal data is set for a certain period (
For example, if the period is set to 3 days), the efficiency of the memory capacity of the memory card 2 can be improved. Next, a second embodiment of the present invention will be explained using FIGS. 4 to 6. Here, FIG. 4 is a block diagram showing the system configuration of the new vending machine control circuit, FIG. 5 is a flowchart showing the main operation of FIG. 4, and FIG. 6 is a diagram showing the contents of the data to be collected in FIG. 4. It is. The control circuit of the vending machine 11 in FIG. 4 has a configuration of a so-called distributed control system, and this control circuit includes various slave control units (also referred to as slaves) that share and execute assigned control, and each slave control unit. The control unit includes a main control unit (also called a mask) that causes each slave control unit to execute its control while cyclically communicating with the main control unit. That is, in the figure, 12 is the mask, 13 to 16 and 18 are the slaves, and 19 is a data communication line connecting the master 12 and each slave. Here, 13 is a door slave, which controls the blinking of the sales availability display lamp 13A and the sold-out display lamp 13B according to the data transmitted from the master 12, and also controls the blinking of the sales availability display lamp 13A and the sold-out display lamp 13B.
It has a function of transmitting input data indicating a change in the input to the master 12. 14 is a keyboard slave, which transmits various setting data input via the keyboard 14A to the master 12, and displays data transmitted from the master 12 on the display section 14B.
It has a function to display on. Reference numeral 15 denotes a carry-out slave which has the function of transmitting input data indicating changes in the input of the sell-out switch 15B, etc. to the master 12, and also controlling the carry-out mechanism 15 in accordance with sales commands from the master 12. Reference numeral 16 denotes an electrical equipment box as a slave, and according to the on/off command from the master 12, a cooling means (also abbreviated as MC) 16A, a heating means (heater) 16B, an air blowing means (fan) 16C, a lighting means ( It has a function to control fluorescent lamps) 16D, etc. 18 is Coin Mex slave (coin knock is C7)
(also abbreviated as M) has a function of determining the inserted coin, transmitting the determination data as input data to the master 12, and dispensing change based on a command from the master 12. 17 is a power supply box that connects the master 12. Slave 13~
16.18, it has the function of supplying power. The master 12 is connected to each slave 13 to 16.18 as described above.
are centrally managed via the communication line 19, and the details of the failure are coded and stored, and when each slave detects a failure, it receives the details and further transmits the details of the failure to the keyboard slave 14 as a failure code. Function to display,
It also has arithmetic processing functions for various setting data and sales data, a storage function for the data, a clock function, etc. Further, 22 inputs the storage data of the master 12 from the master 12 via the serial data bus 21, and also receives data for detecting the on/off states of the energy saving target loads 168 to 160 via the state detection line 20. It is a collection device. Further, 26 is a memory card 2 provided in this device 22.
It is a data retrieval device into which the data is inserted. This data collection device 22 further includes a data processing means 23, which will be described later. Storage means 24. Communication control means 25°-time storage calculation means 28. Data conversion means 29 and the like are provided. FIG. 6 shows the names of various collection data stored in the memory cart 2 by the data collection device 22, sorted by number. Next, it differs depending on the type of data to be collected as shown in FIG. Fourth
The operation during data collection shown in the figure will be explained using FIG. (1) No. 1 to No. 16 and No. of Fig. 6
, 21 to No., 3o data: After installing the vending machine 11 and initializing it (step S
L, S2), and after T time has elapsed (step 33), the data processing means 23 in the data acquisition device 22
1 to the master 12 (step S
4). In response to this request, the master 12 transmits the data stored within itself according to a specific communication procedure determined between the master 12 and the data processing means 23.
The data is sent to the data processing means 23 (step 5.6). The data processing means 23 performs arithmetic processing on the data received from the master 12 (step S7), converts the data into data that can be stored in the storage means 24 (step S38), and
The converted data is sent to 4 (step S9). (2) In the case of data No. 17 to No. 20 in FIG. 6: After the procedures of steps Sl and S2 are completed, the cooling means 16A and heating means 1 as the loads to be recorded in the operating state
6B, the operating state of the load (for example, operation or suspension depending on the presence or absence of voltage) is detected through the state detection lines 20 connected to the air blowing means 16C1 and the illumination means 160 (step 5IO), and -time storage calculation is performed. Temporarily stored in the means 28 (step 5ll), and after T time has elapsed (step 512),
The data for T hours is added through this time storage calculating means 28 (step 513), and the load operation rate (operating time/T waiting time 100%) is calculated (step 514).
The data is converted into data that can be stored in the storage means 24 via the data conversion means 29 (step 515), and the converted data is sent to the storage means 24 (step 516). In the storage means 24, the data processing means 23. Data conversion means 2
The data sent from 9 is stored. (Step 517
). Next, when data is to be collected, the memory card 2 is inserted and connected to the data collection device 26 (step 518). The data collection device 26 reads the keyword from the memory card 2 (step 319), and checks whether it matches the keyword stored in advance in the data collection device 26 (step 20). When the data collection device 26 determines that there is a match, the data collection device 26 issues a data transmission request to the communication control means 25 (step 521). In response to this transmission request, the communication control means 25 sends the data stored in the storage means 24 to the data collection device 26 according to a specific communication procedure determined between the communication control means 25 and the data collection device 26. Step 522). The data collection device 26 transfers the data received from the communication control means 25 to the memory card 2.
(Step S23). With the above steps, the operating status of the vending machine can be recorded and output as data.

【発明の効果】【Effect of the invention】

本発明によれば自販機の稼動中に発生する売上データ、
異常データ、ならびに冷熱負荷の運転率、各種設定デー
タの変更履歴、故障履歴等のデータを、−旦RAMに記
憶したのち、メモリカードの自販機への装着を確認して
メモリカードへ転送し記憶させることとしたのでメモリ
カードにデータ記憶させる場合の信頼性を向上させるこ
とができる。 また故障、売切、停電などの異常が発生した場合には、
その異常内容と発生時間帯のデータをメモリカードに順
次書込むようにしたため、異常解析が容易となり、従来
原因不明であった現象も正確に分析することが可能とな
る。またメモリカードを単に差し換える形で収集し、営
業所で収集し゛たメモリカードの内容を解析するように
したので、データ収集を適用できる自販機を拡大でき、
情報収集のための操作性を向上することができる。 また自販機についての地域ごとの特性(販売実績やロー
ディング回数の差による冷熱ユニットの運転率の違い)
あるいは機種ごとの特性(故障発生率や特定故障の発生
頻度)も、データベースで把握でき、自販機の設置、運
用をより効率的に行うことができる。 また分散制御方式の自販機においては、自販機の各種機
構をそれぞれ専用に制御する各スレーブを、マスクが集
中管理することで得た各種データについてはマスクから
データ収集装置へ交信手段をもって収集し、また省エネ
対象負荷についてはその電圧の有無を検知することによ
りその運転率を演算処理し、データとしてデータ収集装
置へ収集する構成としたため、各種のデータ、さらには
マスクがダウンしたことをも、データとして収集するこ
とができる。
According to the present invention, sales data generated during operation of a vending machine,
Abnormal data, operating rate of cooling and heating loads, change history of various setting data, failure history, etc. are stored in RAM, and after confirming that the memory card is installed in the vending machine, they are transferred to the memory card and stored. This makes it possible to improve reliability when storing data on a memory card. In addition, in the event of an abnormality such as a breakdown, sold out, or power outage,
Since the data on the details of the abnormality and the time of occurrence are sequentially written to the memory card, abnormality analysis becomes easy, and it becomes possible to accurately analyze phenomena whose causes were previously unknown. In addition, the data is collected by simply replacing the memory card, and the contents of the memory card collected at the sales office are analyzed, expanding the number of vending machines that can be used for data collection.
The operability for collecting information can be improved. Also, regional characteristics of vending machines (differences in the operation rate of the cooling/heating unit due to differences in sales results and loading times)
Additionally, the characteristics of each machine type (failure rate and frequency of specific failures) can be grasped in the database, making it possible to install and operate vending machines more efficiently. In addition, in distributed control type vending machines, the mask centrally manages each slave that exclusively controls various mechanisms of the vending machine, and collects various data from the mask to the data collection device using communication means, and also saves energy. The operating rate of the target load is calculated by detecting the presence or absence of the voltage and is collected as data to the data collection device, so various data and even the fact that the mask goes down can be collected as data. can do.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の第一の実施例としての要部構成を示す
ブロック図、第2図、第3図はそれぞれ第1図の異なる
動作を説明するフローチャート、第4図は本発明の第二
の実施例としてのシステム構成を示すブロック図、第5
図は第4図の要部動作を説明するフローチャート、第6
図は収集用データの種別を番号別に示す図、第7図は従
来のデ−タ収集システムの構成を示すブロック図である
。 1:CPU、2:メモリカード、2A :キーワード、
2B ;売上データ、2C:異常データ、CC:カード
コネクタ、CD:カード扉、PS:光センサ、3 :R
OM、4 :RAM、6 :商品コラム、6a :商品
コラム種別信号、7:故障・売切検知回路、8:停電検
知回路、9:時計回路、11:自販機、12:主制御部
(マスク)、13:扉スレーブ、14:キーボードスレ
ーブ、15:搬出スレーブ、16:電装ボックス、16
A:冷却手段、168:加熱手段、16C:送風手段、
16D:照明手段、17:電源ボックス、18:C/M
スレーブ、19:データ交信ライン、20:状態検出線
、21:データパス、22:データ収集装置、23:デ
ータ処理手段、24:記憶手段、25:交信制御手段、
26;データ回収装置、28ニ一時記憶演算手段、29
:データ変換手段。 第2図 オ 3図 自則辷才\ ○1 オフ図
FIG. 1 is a block diagram showing the main configuration of a first embodiment of the present invention, FIGS. 2 and 3 are flowcharts explaining different operations from FIG. 1, and FIG. Block diagram showing the system configuration as the second embodiment, No. 5
The figure is a flowchart explaining the main operation of figure 4, and figure 6.
This figure shows the types of data to be collected by number, and FIG. 7 is a block diagram showing the configuration of a conventional data collection system. 1: CPU, 2: Memory card, 2A: Keyword,
2B; Sales data, 2C: Abnormal data, CC: Card connector, CD: Card door, PS: Optical sensor, 3: R
OM, 4: RAM, 6: Product column, 6a: Product column type signal, 7: Failure/sold out detection circuit, 8: Power outage detection circuit, 9: Clock circuit, 11: Vending machine, 12: Main control unit (mask) , 13: Door slave, 14: Keyboard slave, 15: Export slave, 16: Electrical box, 16
A: cooling means, 168: heating means, 16C: blowing means,
16D: Lighting means, 17: Power box, 18: C/M
slave, 19: data communication line, 20: state detection line, 21: data path, 22: data collection device, 23: data processing means, 24: storage means, 25: communication control means,
26; Data collection device, 28 Temporary storage calculation means, 29
: Data conversion means. Figure 2 O Figure 3 Self-disciplined skill\ ○1 Off figure

Claims (1)

【特許請求の範囲】 1)CPU、当該の自動販売機内に発生した各種のデー
タ(以下収集用データという)を格納されるRAM、を
備えた自動販売機において、 コネクタを介してこの自動販売機に装着され、かつこの
コネクタを介し前記CPUによってアクセスされるカー
ド状のデータ記憶手段としてのメモリカードであって、
予め自身を特定するための、キーワードを格納されてな
るメモリカードを備え、前記CPUが、前記メモリカー
ドから前記キーワードを読取り、このキーワードが正し
いことを判別した状態で、前記RAMに格納された収集
用データを前記メモリカードへ転送するようにしたこと
を特徴とする自動販売機のデータ収集装置。 2)特許請求の範囲第1項に記載の装置において、前記
収集用データは商品コラム別の商品販売数、売上金額等
からなる売上データ、発生異常の内容、この異常発生の
日時等からなる異常データ、または冷熱負荷の運転率や
各種設定データについての履歴データ、を含むものであ
ることを特徴とする自動販売機のデータ収集装置。
[Scope of Claims] 1) A vending machine equipped with a CPU and a RAM that stores various data generated within the vending machine (hereinafter referred to as collection data), wherein the vending machine A memory card serving as a card-shaped data storage means that is attached to the CPU and accessed by the CPU through the connector,
The CPU is provided with a memory card storing a keyword for identifying itself in advance, and the CPU reads the keyword from the memory card, and when the CPU determines that the keyword is correct, the CPU reads the keyword from the memory card, and when the CPU determines that the keyword is correct, the CPU reads the keyword from the memory card. A data collection device for a vending machine, characterized in that the data is transferred to the memory card. 2) In the device according to claim 1, the collection data includes sales data including the number of products sold by product column, sales amount, etc., anomaly information including the details of the abnormality, the date and time of the abnormality, etc. 1. A data collection device for a vending machine, characterized in that the data collection device includes data, or historical data regarding the operating rate of a cooling/heating load and various setting data.
JP63148981A 1987-10-21 1988-06-16 Data collection device for vending machines Expired - Lifetime JP2542677B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63148981A JP2542677B2 (en) 1987-10-21 1988-06-16 Data collection device for vending machines

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP26575587 1987-10-21
JP62-265755 1987-10-21
JP63148981A JP2542677B2 (en) 1987-10-21 1988-06-16 Data collection device for vending machines

Publications (2)

Publication Number Publication Date
JPH01205294A true JPH01205294A (en) 1989-08-17
JP2542677B2 JP2542677B2 (en) 1996-10-09

Family

ID=26479004

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63148981A Expired - Lifetime JP2542677B2 (en) 1987-10-21 1988-06-16 Data collection device for vending machines

Country Status (1)

Country Link
JP (1) JP2542677B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0636117A (en) * 1992-07-21 1994-02-10 Tamio Sugi Sales information collection unit for automatic vending machine
JP2010271752A (en) * 2009-05-19 2010-12-02 Fuji Electric Retail Systems Co Ltd Vending machine

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6252695A (en) * 1985-08-30 1987-03-07 株式会社東芝 Card processor
JPS62145495A (en) * 1985-12-20 1987-06-29 松下冷機株式会社 Vending machine

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6252695A (en) * 1985-08-30 1987-03-07 株式会社東芝 Card processor
JPS62145495A (en) * 1985-12-20 1987-06-29 松下冷機株式会社 Vending machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0636117A (en) * 1992-07-21 1994-02-10 Tamio Sugi Sales information collection unit for automatic vending machine
JP2010271752A (en) * 2009-05-19 2010-12-02 Fuji Electric Retail Systems Co Ltd Vending machine

Also Published As

Publication number Publication date
JP2542677B2 (en) 1996-10-09

Similar Documents

Publication Publication Date Title
US5983197A (en) Monitoring method and monitoring system for automatic transaction machine
EP0018718A1 (en) Vending machine accountability system
JPS59121468A (en) Data collection system
JPH0440757B2 (en)
US6042002A (en) Holding apparatus for a plurality of IC cards facilitating transactions of electronic money among the IC cards
CN106846631A (en) Automatic saler system
JPS6017144B2 (en) Banknote deposit/withdrawal device using credit card
JPH01205294A (en) Data collector for automatic vending machine
CN103002444A (en) Financial tool equipment and data communication method thereof
CN105339990A (en) Controlling power provided to an automated banking system
JP2006092449A (en) Operation number control system, terminal control device, and operation number control method
CN107025738A (en) Finance device and its control method
GB2103000A (en) Interrogation of coin operated equipment
JPH0793660A (en) Automatic lending/returning system for rental software, automatic rental machine, and automatic returning machine
JPH06223260A (en) Device for managing automatic vending machine
JPS58158767A (en) Transaction processing device
CN107038093A (en) A kind of method and device for handling computer BIOS
JP3680420B2 (en) vending machine
JP4594507B2 (en) Game media lending device and system
JP4309335B2 (en) Vending machine refund system and method, vending machine and program thereof
JP3832881B2 (en) Issuing device
JPH036708B2 (en)
JP2583314B2 (en) Vending machine failure diagnosis system
KR910006688B1 (en) Game system
JPH05298530A (en) Automatic vending machine of memory card system