JP3385844B2 - vending machine - Google Patents

vending machine

Info

Publication number
JP3385844B2
JP3385844B2 JP11885596A JP11885596A JP3385844B2 JP 3385844 B2 JP3385844 B2 JP 3385844B2 JP 11885596 A JP11885596 A JP 11885596A JP 11885596 A JP11885596 A JP 11885596A JP 3385844 B2 JP3385844 B2 JP 3385844B2
Authority
JP
Japan
Prior art keywords
control program
vending machine
version
data
memory card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP11885596A
Other languages
Japanese (ja)
Other versions
JPH09305839A (en
Inventor
信雄 辻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP11885596A priority Critical patent/JP3385844B2/en
Publication of JPH09305839A publication Critical patent/JPH09305839A/en
Application granted granted Critical
Publication of JP3385844B2 publication Critical patent/JP3385844B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、内部で使用されて
いる制御プログラムのバージョンアップを容易に行える
ようにした自動販売機に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vending machine capable of easily upgrading the version of a control program used internally.

【0002】[0002]

【従来の技術】自動販売機にあっても制御プログラムの
バージョンアップが必要になる。これは、機能アップの
ためのバージョンアップというよりも、自動販売機の管
理会社からの要請に基づくものが多い。同一タイプの自
動販売機であっても納入先の管理会社によって異なる制
御プログラムが組み込まれることもある。
2. Description of the Related Art Even in a vending machine, it is necessary to upgrade the version of the control program. This is often due to a request from a vending machine management company, rather than a version upgrade to improve functions. Even for the same type of vending machine, different control programs may be incorporated depending on the management company of the delivery destination.

【0003】さて、その制御プログラムは、通常、EP
−ROMと呼ばれる記憶媒体に書き込まれているが、従
来は、そのEP−ROM単体をROM書き込み機にセッ
トして制御プログラムを書き込んでから、そのEP−R
OMを基板に実装している。
Now, the control program is usually EP
-It is written in a storage medium called a ROM. Conventionally, the EP-ROM alone is set in a ROM writer and the control program is written in the EP-ROM, and then the EP-R is written.
The OM is mounted on the board.

【0004】このようなことから、ROMを一旦基板に
実装してしまうと、プログラムのバージョンアップ等で
プログラムを変更したい場合、ROMを基板から取り外
し(そのためには基板を収納しているボックスから分解
しなければならないこともある)、そして、取り外した
ROMの内容を光学的な処理により消去してから再度、
ROM書き込み機にセットし、改めてデータ書き込みを
行うか、別途、新たにROMを用意し、そのROMを基
板に実装しなければならない。このように実装済みのR
OMに対するプログラム変更(俗にいうP−ROM交換)
には多数の手間と工程がかかる。
For this reason, once the ROM is mounted on the board, the ROM is removed from the board when it is desired to change the program by, for example, upgrading the version of the program (for that purpose, the ROM is disassembled from the box housing the board). You may have to do this), and erase the contents of the removed ROM by optical processing, and then
Either set it in a ROM writing machine and write data again, or prepare a new ROM separately and mount the ROM on the board. R implemented in this way
Program change for OM (commonly called P-ROM exchange)
Takes a lot of time and effort.

【0005】そこで通常のRAMのように電気的に書き
込みおよび消去が容易に行えるフラッシュメモリがEP
−ROMの代替として注目されるようになっている。こ
のフラッシュメモリは、データのバックアップ不要でか
つ大容量のデータ記憶が可能であることからプログラム
の記憶媒体に適する。
Therefore, a flash memory which can be easily electrically written and erased like a normal RAM is EP.
-Recognized as an alternative to ROM. This flash memory is suitable as a program storage medium because it does not require data backup and can store a large amount of data.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、記憶媒
体にフラッシユメモリを使用した場合、データ書き込み
が容易である故に、誤って消去したり、機種の異なるも
のや逆に古いバージョンのものをインストールしてしま
うといったことも起こり得り、そのため、プログラムの
管理を容易にかつ正確に行える方策が望まれていた。
However, when the flash memory is used as the storage medium, the data can be written easily, so that data may be erased by mistake, or a different model or an older version may be installed. It may happen that there is a possibility that the program will be managed easily and accurately.

【0007】従って本発明は、書き込み可能なメモリに
格納された制御プログラムのバージョンアップ等の管理
を容易かつ正確に行える自動販売機を提供することを目
的とする。
Therefore, an object of the present invention is to provide an automatic vending machine which can easily and accurately manage the version up of a control program stored in a writable memory.

【0008】[0008]

【課題を解決するための手段】本第1発明(図1対応)
は、第1の記憶手段(5)に格納の制御プログラムに基づ
き販売制御を行い、その販売により生じた販売データを
第2の記憶手段(4)に蓄積しておき、その蓄積した販売
データは、データ収集時にカードインタフェイス(2)に
装着したメモリカード(3)に転送される自動販売機の制
御装置において、前記第1の記憶手段(5)に電気的に書
き込み及び消去が容易な記憶手段を採用すると共に、カ
ードインタフェイス(2)に装着されたメモリカード(3)
の種別を識別する手段(1A)と、前記手段(1A)の識別によ
り、メモリカード(3)に記憶のデータがバージョンアッ
プされた制御プログラムのデータである時、その制御プ
ログラムのデータを前記第1の記憶手段(5)に書き込む
プログラム書き替え手段(6)とを備えたことを特徴とす
る。
[Means for Solving the Problems] The first invention ( corresponding to FIG. 1)
Performs the sales control based on the control program stored in the first storage means (5), stores the sales data generated by the sale in the second storage means (4), and stores the stored sales data. In the control device of the vending machine, which is transferred to the memory card (3) attached to the card interface (2) at the time of data collection, the first storage means (5) is a memory that can be easily written and erased electrically. Memory card (3) mounted on the card interface (2) while adopting the means
When the data stored in the memory card (3) is the data of the upgraded control program by the means (1A) for identifying the type of the control program and the means (1A), the data of the control program is changed to the first data. And a program rewriting means (6) for writing in one storage means (5).

【0009】本第2発明(図3対応)は、メモリカード
(3)に収集した販売データを集計管理するホストコンピ
ータ(B)において、通信回線を通じて自動販売機メーカ
ーと接続し、自動販売機メーカーから定期的に伝送され
る最新の制御プログラムをホストコンピュータ(B)に格
納しておき、該ホストコンピータ(B)に挿入されたメモ
リカード(3)に記憶の制御プログラムが、格納していた
制御プログラムと同じバージョンでない時、その格納し
ていた最新の制御プログラムをメモリカード(3)に書き
込むことを特徴とする。
The second invention ( corresponding to FIG. 3) is a memory card.
In the host computer (B) that aggregates and manages the sales data collected in (3), connects to the vending machine maker through a communication line and sends the latest control program periodically transmitted from the vending machine maker to the host computer (B). ), And the control program stored in the memory card (3) inserted in the host computer (B) is not the same version as the stored control program, the latest stored control program Is written in the memory card (3).

【0010】本第3発明(請求項、図5対応)は、第1
の記憶手段(5)に格納の制御プログラムに基づき販売制
御を行い、その販売により生じた販売データを第2の記
憶手段(4)に蓄積しておき、その蓄積した販売データ
は、データ収集時にカードインタフェイス(2)に装着し
たメモリカード(3)に転送される自動販売機の制御装置
において、前記第1の記憶手段(5)に電気的に書き込み
及び消去が容易な記憶手段を採用すると共に、通信回線
を介して自動販売機メーカーと所定のタイミングでデー
タ交信を行う交信手段と、前記交信手段の交信により、
第1の記憶手段(5)に記憶の制御プログラムがバージョ
ンアップされていないかを識別する識別部(1A)と、前記
識別部(1A)の識別により、自動販売機メーカーが保有す
る制御プログラムがバージョンアップされたものである
時は、その制御プログラムを前記第1の記憶手段(5)に
書き込むプログラム書き替え手段(6)とを備えたことを
特徴とする。
The third aspect of the present invention (corresponding to claim 1 and FIG. 5) is the first aspect.
Sales control is performed based on the control program stored in the storage means (5), the sales data generated by the sale is accumulated in the second storage means (4), and the accumulated sales data is collected at the time of data collection. In the control device of the vending machine which is transferred to the memory card (3) mounted on the card interface (2), the first storage means (5) employs a storage means that can be easily written and erased electrically. At the same time, the communication means for performing data communication with the vending machine manufacturer at a predetermined timing via the communication line, and the communication of the communication means,
By the identification unit (1A) for identifying whether the control program stored in the first storage unit (5) has been upgraded, and the identification unit (1A), the control program owned by the vending machine manufacturer can be identified. When it is an upgraded version, it is characterized by including a program rewriting means (6) for writing the control program in the first storage means (5).

【0011】この第1発明によれば、バージョンアップ
された制御プログラムを記憶させたメモリカード(3)を
カードインタフェイス(2)に装着するだけで、第1の記
憶手段(5)に記憶の制御プログラムが旧バージョンのと
き、メモリカード(3)に記憶の最新バージョンの制御プ
ログラムに自動的に書き換えられるため、人為的なミス
を伴うことなく容易にプログラムの書き換えが行われ
る。
According to the first aspect of the present invention, the memory card (3) storing the upgraded control program can be stored in the first storage means (5) only by mounting it in the card interface (2). When the control program is an old version, it is automatically rewritten to the latest version of the control program stored in the memory card (3), so that the program can be easily rewritten without human error.

【0012】販売データを記憶させたメモリカード(3)
は、自動販売機管理会社にて、ホストコンピュータ(B)
に挿入してデータ集計がなされるが、第2発明では、そ
のホストコンピュータ(B)は、通信回線を通じて自動販
売機メーカー(もしくは自動販売機の制御プログラムを
管理する会社)の管理システムサーバー(A)に接続され
ており、その管理システムサーバ(A)からバージョンア
ップされた制御プログラムが定期的に送信され、ホスト
コンピュータ(B)に格納される。かかるホストコンピュ
ータ(B)に、制御プログラムを記憶したメモリカード
(3)を挿入すると、その制御プログラムとホストコンピ
ュータ(B)に格納していた制御プログラムとの比較によ
り、バージョンアップされていないかを調べ、バージョ
ンアップされている場合には、そのバージョンアップさ
れた制御プログラムがメモリカード(3)に書き込まれ
る。
Memory card storing sales data (3)
Is a host computer (B) at a vending machine management company.
In the second invention, the host computer (B) is a management system server (A) of a vending machine manufacturer (or a company that manages the control program of the vending machine) through a communication line. ), The updated control program is periodically transmitted from the management system server (A) and stored in the host computer (B). A memory card in which a control program is stored in the host computer (B)
When (3) is inserted, the control program is compared with the control program stored in the host computer (B) to check whether the version has been upgraded. If the version has been upgraded, the version is upgraded. The control program is written in the memory card (3).

【0013】第3発明では、自動販売機は交信手段を通
じて自動販売機メーカーと接続されており、所定のタイ
ミングで自動販売機メーカーと交信し、現行の制御プロ
グラムがバージョンアップされていないかを調べる。も
しバージョンアップされている時には、そのバージョン
アップされた制御プログラムを自動販売機メーカーから
取り込み、自動販売機の制御プログラムを最新バージョ
ンの制御プログラムに書き換える。
In the third invention, the vending machine is connected to the vending machine maker through the communication means, and communicates with the vending machine maker at a predetermined timing to check whether the current control program has been upgraded. . If the version has been upgraded, the upgraded control program is imported from the vending machine manufacturer and the control program for the vending machine is rewritten to the latest version of the control program.

【0014】前述したように、同一機種であつても自動
販売機管理会社が異なると別の制御プログラムが設定さ
れることがあり、従ってある自動販売機管理会社の要請
でバージョンアップがなされても、そのバージョンアッ
プされた制御プログラムが他の自動販売機管理会社で必
ずしも必要であると限らない。そこで請求項にあるよ
うに、自動販売機の制御プログラムがバージョンアップ
されていても、更にバージョンアップが許可された時の
み、制御プログラムのバージョンアップを行う。
As described above, even if the vending machine management companies are the same, different control programs may be set. Therefore, even if the vending machine management company requests a version upgrade. , The upgraded control program is not always necessary for other vending machine management companies. Therefore, as described in claim 2 , even if the control program of the vending machine is upgraded, the control program is upgraded only when the upgrade is permitted.

【0015】上記のカードインタフェイス(2)は常時は
何も装着されていないため、このカードインタフェイス
(2)に装着したメモリカード(3')を通じて通信回線に制
御することで上記交信手段として機能させることができ
る。
[0015] Since the above card interface (2) has not been anything at all times attached, this card interface
By controlling the communication line through the memory card (3 ') attached to (2), it can function as the communication means.

【0016】[0016]

【発明の実施の形態】図1は、本第1発明の自動販売機
の一形態を示した制御ブロック図である。1は本自動販
売機を総括制御するCPUであり、後述のメモリカード
3に記憶されているデータの種別を識別するための識別
部1Aを備える。2は、メモリカード3を通じてデータ
の受け渡しを行うためのカードインタフェイスである。
4は、前記メモリカード3から読み込まれた制御データ
を記憶すると共に当該自動販売機で生じた販売データを
記憶するメモリである。5は、上述したフラッシュメモ
リであり、当該自動販売機の制御プログラムが格納され
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a control block diagram showing an embodiment of a vending machine of the first invention. Reference numeral 1 denotes a CPU that controls the vending machine as a whole, and includes an identification unit 1A for identifying the type of data stored in a memory card 3 described later. Reference numeral 2 is a card interface for passing data through the memory card 3.
Reference numeral 4 is a memory for storing the control data read from the memory card 3 and for storing the sales data generated by the vending machine. Reference numeral 5 denotes the flash memory described above, which stores the control program of the vending machine.

【0017】このフラッシュメモリ5に格納された制御
プログラムを書き換えるために設けたのがロジック制御
部6であり、メモリカード3に記憶された制御プログラ
ムのデータを、バラレル/シリアル変換部6Aにより、
パラレルからシリアル信号に変換して、前記フラッシュ
メモリ5にプログラム書き換え信号として送給する。オ
アゲートOR1は、CPU1およびパラレル/シリアル
変換部6Aから信号されるクロック信号をフラッシュメ
モリ5に書き込みクロックとして供給するためのもので
ある。
A logic control unit 6 is provided to rewrite the control program stored in the flash memory 5, and the data of the control program stored in the memory card 3 is converted by the parallel / serial conversion unit 6A.
The parallel signal is converted into a serial signal and sent to the flash memory 5 as a program rewriting signal. The OR gate OR1 is for supplying a clock signal, which is signaled from the CPU 1 and the parallel / serial conversion unit 6A, to the flash memory 5 as a write clock.

【0018】かかるプログラム書き換えの際に、CPU
1への他の割り込みを禁止するのがリセット管理部7で
ある。オアゲートOR2は、CPU1からのウォッチド
ッグパルス(e)およびロジック制御部6から出力される
ウォッチドッグパルス(d)をリセット管理部7に供給す
るものである。プログラム書き換え時、ロジック制御部
6から出力されるウォッチドッグパルス(d)が供給され
ることにより、リセット管理部7は、CPU1のリセッ
トポートをアクティブ状態にしてCPU1にリセットが
かからないようにする。
When rewriting such a program, the CPU
It is the reset management unit 7 that prohibits other interrupts to 1s. The OR gate OR2 supplies the watchdog pulse (e) from the CPU 1 and the watchdog pulse (d) output from the logic control unit 6 to the reset management unit 7. When the program is rewritten, the watchdog pulse (d) output from the logic control unit 6 is supplied, so that the reset management unit 7 activates the reset port of the CPU 1 to prevent the CPU 1 from being reset.

【0019】図1の自動販売機における制御動作を図2
のフローチャートを参照して述べる。カードインタフェ
イス2にメモリカード3が挿入されると、ステップS1
からステップS2に進み、メモリカード3内の記憶デー
タの内容からカードの種別が識別される。記憶されてい
たデータの内容が制御プログラムでないときはステップ
S5に進み、販売データを収集するための収集カードで
あるかが判定される。収集カードであった時はステップ
S6に進み、メモリ4に記憶されていた販売データがカ
ードインタフェイス2を介してメモリカード3に書き込
まれる。一方、メモリカード3がデータ設定用のカード
であった時はステップS5からステップS7に進み、メ
モリカード3に記憶されていた設定データが読み込ま
れ、メモリ4に記憶される。
FIG. 2 shows the control operation of the vending machine of FIG.
This will be described with reference to the flowchart of. When the memory card 3 is inserted into the card interface 2, step S1
From step S2, the type of the card is identified from the content of the stored data in the memory card 3. When the content of the stored data is not the control program, the process proceeds to step S5, and it is determined whether the data is a collection card for collecting sales data. If it is a collection card, the process proceeds to step S6, and the sales data stored in the memory 4 is written in the memory card 3 via the card interface 2. On the other hand, when the memory card 3 is a data setting card, the process proceeds from step S5 to step S7, and the setting data stored in the memory card 3 is read and stored in the memory 4.

【0020】これとは別にメモリカード3に制御プログ
ラムが記憶されていた時はステップS3からステップS
4に進み、カードに記憶の制御プログラムがフラッシュ
メモリ5に記憶の現行の制御プログラムと同じバージョ
ンであるかが判定される。同じバージョンの場合は前述
したステップS5に進むが、そうでない場合は現行の制
御プログラムのバージョンアップのためにステップS1
1以降に進む。
Separately, when the control program is stored in the memory card 3, the steps S3 to S3 are performed.
4, the control program stored in the card is judged to be the same version as the current control program stored in the flash memory 5. If the version is the same, the process proceeds to step S5 described above, but if not, step S1 is performed to upgrade the version of the current control program.
Go to 1 or later.

【0021】ステップS11ではまず、CPU1からロ
ジック制御部6にダウンロード信号(b)が送出され、ス
テップS12ではメモリカード3での制御プログラムの
書き込み先頭番地がCPU1により読み込まれ、信号
(a)にてメモリ4に書き込まれる。次のステップS13
では、プログラムのダウンロード以外の割り込みが禁止
され、そしてステップS14でCPU1の動作が停止さ
れ、制御プログラムのダウンロードの割り込みを待つ。
In step S11, first, the CPU 1 sends a download signal (b) to the logic controller 6, and in step S12, the CPU 1 reads the write start address of the control program in the memory card 3 and sends the signal.
It is written in the memory 4 at (a). Next step S13
Then, interrupts other than the program download are prohibited, and the operation of the CPU 1 is stopped in step S14 to wait for the control program download interrupt.

【0022】ダウンロード信号(b)を受けたロジック制
御部6は、ステップS21にて定期的にウオッチドッグ
パルス(d)をリセット管理部7に供給することにより、
このリセット管理部7よりCPU1のリセットポートを
アクティブ状態にしてCPU1にリセットがかからない
ようにする。そしてステップS22〜ステップS24で
は、メモリ4に記憶の先頭番地の情報に基づき、メモリ
カード6から1バイトづつ読み出され、パラレル/シリ
アル変換部6Aにより、前記データがシリアル信号に変
換されてはフラッシュメモリ5の所定の番地に書き込ま
れる。
Upon receiving the download signal (b), the logic control section 6 periodically supplies the watchdog pulse (d) to the reset management section 7 in step S21.
The reset management unit 7 activates the reset port of the CPU 1 so that the CPU 1 is not reset. Then, in steps S22 to S24, one byte is read from the memory card 6 based on the information of the head address stored in the memory 4, and the parallel / serial conversion unit 6A converts the data into a serial signal, which is flashed. It is written in a predetermined address of the memory 5.

【0023】全データが読み込まれると、ステップS2
4からステップS26に進み、ロジック制御部6からC
PU1にダウンロード完了信号が送出される。これによ
り、CPU1はフラッシュメモリ5に新たに記憶された
制御プログラムを実行し、ステップS16にてCPU1
への割り込み禁止が解除され、この後はステップS5に
進む。
When all the data are read, step S2
4 to step S26, the logic control unit 6 to C
A download completion signal is sent to PU1. As a result, the CPU 1 executes the control program newly stored in the flash memory 5, and the CPU 1 executes the CPU 1 in step S16.
The interruption prohibition to is released, and thereafter, the process proceeds to step S5.

【0024】次に本第2発明である、上記メモリカード
3への制御プログラムを書き込みについて説明する。図
3の下部にある自動販売機管理会社に設置してあるホス
トコンピュータBは、本来、各メモリカード3に収集し
た販売データを計数、管理するものであるが、最新の制
御プログラムをメモリカード3に書き込めるように、こ
のホストコンピュータBは通信回線を介して自動販売機
メーカー側のプログラムバージョンの管理を行う管理シ
ステムサーバAに接続されている。その動作を図4のフ
ローチャートを参照して述べる。
Next, the writing of the control program to the memory card 3 according to the second aspect of the present invention will be described. The host computer B installed in the vending machine management company at the bottom of FIG. 3 originally counts and manages the sales data collected in each memory card 3, but the latest control program is the memory card 3 The host computer B is connected via a communication line to a management system server A that manages the program version on the vending machine maker side so that it can be written in. The operation will be described with reference to the flowchart of FIG.

【0025】前記の管理システムサーバAから送信要求
があると、ステップS31からステップS32に進み、
管理システムサーバAから送信された最新バージョンの
制御プログラムがホストコンピュータBにダウンロード
される。この後、メモリカード3がホストコンピュータ
Bのカードインタフェイス2に挿入されると、ステップ
S33からステップS34に進み、メモリカード3に記
憶のデータが販売データなのか制御プログラムのデータ
なのかが判定され、販売データの場合はステップS35
に進み、メモリカード3内の販売データがホストコンピ
ュータBに読み込まれる。
When there is a transmission request from the management system server A, the process proceeds from step S31 to step S32.
The latest version of the control program transmitted from the management system server A is downloaded to the host computer B. After that, when the memory card 3 is inserted into the card interface 2 of the host computer B, the process proceeds from step S33 to step S34, and it is determined whether the data stored in the memory card 3 is sales data or control program data. , In the case of sales data, step S35
Then, the sales data in the memory card 3 is read into the host computer B.

【0026】一方、制御プログラムのデータが記憶され
ていた時はステップS34からステップS36に進み、
その制御プログラムと、該ホストコンピュータBにダウ
ンロードされた制御プログラムと同一のバージョンであ
るかが判別され、同一のバージョンでないときは、ステ
ップS37にて、ダウンロードされた最新バージョンの
制御プログラムをメモリカード3に書き込む。このメモ
リカード3を次回の巡回時に自動販売機に挿入すること
で既述したように、制御プログラムのバージョンアップ
が行われる。
On the other hand, when the data of the control program is stored, the process proceeds from step S34 to step S36,
It is determined whether or not the control program and the control program downloaded to the host computer B have the same version. If the versions are not the same, in step S37, the latest downloaded control program is loaded into the memory card 3 Write in. By inserting this memory card 3 into the vending machine at the next round, the control program is upgraded as described above.

【0027】図5は本第3発明の実施形態を示した制御
ブロック図であり、図1と異なる点は、自動販売機5
0'を、LAN(ローカル・エリア・ネットワーク)に直
接接続するためのメモリカード(3')が常設的にカードイ
ンタフェイス(2)に装着されている点である。図6はそ
の接続例を示しており、Dに示す社内もしくは工場内に
構築されたLANには各コンピュータCが接続されてお
り、このLANに自動販売機50'がメモリカード3'を
通じて接続される。この自動販売機50'の動作を図7
のフローチャートを参照して述べる。
FIG. 5 is a control block diagram showing the third embodiment of the present invention. The point different from FIG. 1 is the vending machine 5.
This is that a memory card (3 ') for directly connecting 0'to a LAN (local area network) is permanently attached to the card interface (2). FIG. 6 shows an example of the connection. Each computer C is connected to the LAN constructed in the company or factory shown in D, and the vending machine 50 'is connected to this LAN through the memory card 3'. It The operation of this vending machine 50 'is shown in FIG.
This will be described with reference to the flowchart of.

【0028】深夜の2時になるとステップS41からス
テップS42に進み、前記コンピュータCの内の1基を
通じて自動販売機50'が自動販売機メーカーの管理シ
ステムサーバAに接続される。ステップS43ではフラ
ッシュメモリ5に記憶の制御プログラムが管理システム
サーバAに格納の制御プログラムとバージョンが同じで
あるかが判定され、同一の場合はこれにて終了するが同
一でない場合はステップS51以降に進む。ステップS
51〜ステップS56およびステップS61〜ステップ
S66は、図2のステップS11〜ステップS16およ
びステップS21〜ステップS26と同様に、管理シス
テムサーバAから最新バージョンの制御プログラムが1
バイトづつ読み込まれ、フラッシュメモリ5に記憶の現
行の制御プログラムが最新バージョンの制御プログラム
に書き換えられる。尚、販売データの収集は前記と同様
にメモリカード3を通じて行う。
At midnight, the process proceeds from step S41 to step S42, and the vending machine 50 'is connected to the management system server A of the vending machine maker through one of the computers C. In step S43, it is determined whether the control program stored in the flash memory 5 has the same version as the control program stored in the management system server A. If they are the same, the process ends here. move on. Step S
51 to step S56 and step S61 to step S66, the same as the step S11 to step S16 and step S21 to step S26 of FIG.
The current control program that is read byte by byte and stored in the flash memory 5 is rewritten to the latest version of the control program. The sales data is collected through the memory card 3 as described above.

【0029】図8は本第3発明の別の実施形態を示して
おり、自動販売機50'は図6で示したものと同じであ
る。自動販売機メーカー側において、管理システムサー
バAとは別に飲料メーカー情報収集データ解析システム
Eを備えており、このデータ解析システムEは、管理シ
ステムサーバA側で制御プログラムがバージョンアップ
されている時、そのバージョンアップを実際に行うか否
かを判定する。以下、本システムの動作を図9のフロー
チャートに従って説明する。
FIG. 8 shows another embodiment of the third invention, and the vending machine 50 'is the same as that shown in FIG. The vending machine manufacturer side is provided with a beverage manufacturer information collection data analysis system E separately from the management system server A. This data analysis system E, when the control program is upgraded on the management system server A side, It is determined whether or not the version upgrade is actually performed. The operation of this system will be described below with reference to the flowchart of FIG.

【0030】深夜の2時になるとステップS71からス
テップS72に進み、自動販売機50'が自動販売機メ
ーカーの管理システムサーバAに接続される。ステップ
S73ではフラッシュメモリ5に記憶の現行の制御プロ
グラムが管理システムサーバAに格納の制御プログラム
とバージョンが同じであるかが判定され、同一の場合は
これにて終了するが同一でない場合は、ステップS74
にて、自動販売機50'はデータ解析システムEに接続
され、バージョンアップの要不要の判定を求める。バー
ジョンアップが必要の場合はダウンロードが許可され、
ステップS76にて再度、上記管理システムサーバAに
接続され、ステップS81以降に進む。ステップS81
〜ステップS86およびステップS91〜ステップS9
6は、図7のステップS51〜ステップS56およびス
テップS61〜ステップS66と同じであり、フラッシ
ュメモリ5に記憶の現行の制御プログラムが最新バージ
ョンの制御プログラムに書き換えられる。
At 2:00 midnight, the process proceeds from step S71 to step S72, and the vending machine 50 'is connected to the management system server A of the vending machine maker. In step S73, it is determined whether the current control program stored in the flash memory 5 has the same version as the control program stored in the management system server A. If they are the same, the process ends here, but if they are not the same, step S74
At the vending machine 50 ', the vending machine 50' is connected to the data analysis system E, and a determination as to whether or not a version upgrade is necessary is made. If you need to upgrade, download is allowed,
In step S76, the management system server A is connected again, and the process proceeds to step S81 and subsequent steps. Step S81
~ Step S86 and Step S91 to Step S9
6 is the same as step S51 to step S56 and step S61 to step S66 of FIG. 7, and the current control program stored in the flash memory 5 is rewritten to the latest version of the control program.

【0031】上記の実施形態では、バージョンアップを
実際に行うか否かの判定を、飲料メーカー情報収集デー
タ解析システムEに委ねたが、自動販売機管理会社側に
て担当者が判断するようにしてもよい。
In the above embodiment, the determination as to whether or not to actually perform the version upgrade is entrusted to the beverage maker information collection data analysis system E, but the person in charge makes the determination at the vending machine management company side. May be.

【0032】[0032]

【発明の効果】以上説明したように、本第1発明では、
バージョンアップされた制御プログラムを記憶させたメ
モリカードをカードインタフェイスに装着するだけで、
第1の記憶手段に記憶の制御プログラムが旧バージョン
のとき、メモリカードに記憶の最新バージョンの制御プ
ログラムが第1の記憶手段に自動的に書き込まれるた
め、人為的なミスを伴うことなく容易にプログラムのバ
ージョンアップが行われる。第2発明では、メモリカー
ドの販売データを集計するホストコンピュータを、通信
回線を通じて自動販売機メーカーに接続し、その管理シ
ステムサーバからバージョンアップされた制御プログラ
ムをホストコンピュータに格納しておき、このホストコ
ンピュータに挿入したメモリカードに記憶の制御プログ
ラムが、ホストコンピュータに格納していた制御プログ
ラムと異なる場合に、格納していた新バージョンの制御
プログラムをメモリカードに書き込むものであり、バー
ジョンアップされた制御プログラムの管理をメモリカー
ドを通じて容易に行える。第3発明は、自動販売機を交
信手段を通じて自動販売機メーカーと接続しておき、所
定のタイミングで自動販売機メーカーと交信し、現行の
制御プログラムがバージョンアップされていないかを調
べ、もしバージョンアップされている時には、そのバー
ジョンアップされた制御プログラムを取り込み、自動販
売機の制御プログラムを書き換えるものであり、制御プ
ログラムのバージョンアップの処理を完全に自動化でき
る。
As described above, according to the first invention,
Just attach the memory card that stores the upgraded control program to the card interface,
When the control program stored in the first storage means is an old version, the latest version of the control program stored in the memory card is automatically written in the first storage means, so that it can be easily performed without human error. The program version is updated. According to the second aspect of the present invention, a host computer that collects sales data of a memory card is connected to a vending machine manufacturer through a communication line, and a control program upgraded from the management system server is stored in the host computer. If the control program stored in the memory card inserted in the computer is different from the control program stored in the host computer, the new version of the stored control program is written to the memory card. Programs can be easily managed through a memory card. According to a third aspect of the present invention, the vending machine is connected to the vending machine maker through communication means, and the vending machine maker is contacted at a predetermined timing to check whether the current control program has been upgraded. When the version is updated, the version up control program is taken in and the control program of the vending machine is rewritten, and the version up processing of the control program can be completely automated.

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

【図1】 本第1発明の制御装置を適用した自動販売機
の制御ブロック図
FIG. 1 is a control block diagram of a vending machine to which the control device of the first invention is applied.

【図2】 図1の自動販売機の制御動作を示したフロー
チャート
FIG. 2 is a flowchart showing the control operation of the vending machine of FIG.

【図3】 本第2発明のホストコンピュータの接続例を
示したシステム図
FIG. 3 is a system diagram showing a connection example of a host computer of the second invention.

【図4】 図3のホストコンピュータにおける制御プロ
グラムの書き換え動作を示したフローチャート
FIG. 4 is a flowchart showing a control program rewriting operation in the host computer shown in FIG. 3;

【図5】 本第3発明の制御装置を適用した自動販売機
の制御ブロック図
FIG. 5 is a control block diagram of a vending machine to which the control device of the third invention is applied.

【図6】 図5の自動販売機の設置例を示したシステム
FIG. 6 is a system diagram showing an installation example of the vending machine of FIG.

【図7】 図5の自動販売機の制御動作を示したフロー
チャート
FIG. 7 is a flowchart showing the control operation of the vending machine of FIG.

【図8】 図5に示した自動販売機の別の実施形態を示
した制御ブロック図
FIG. 8 is a control block diagram showing another embodiment of the vending machine shown in FIG.

【図9】 図8の自動販売機の制御動作を示したフロー
チャート
9 is a flowchart showing the control operation of the vending machine of FIG.

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

1 CPU 1A 識別部 2 カードインタフェイス 3 メモリカード 4 メモリ 5 フラッシュメモリ 6 ロジック制御部 6A パラレル/シリアル変換部 7 リセット管理部 50 自動販売機 A 管理システムサーバ B ホストコンピュータ C コンピュータ E データ解析システム 1 CPU 1A identification section 2 card interface 3 memory card 4 memory 5 Flash memory 6 Logic control section 6A parallel / serial converter 7 Reset management section 50 vending machines A management system server B host computer C computer E data analysis system

フロントページの続き (56)参考文献 特開 平5−298530(JP,A) 特開 平1−93886(JP,A) 特開 平6−96513(JP,A) 特開 平8−63360(JP,A) 特開 平7−295905(JP,A) 特開 平3−269791(JP,A) 特開 平6−314202(JP,A) (58)調査した分野(Int.Cl.7,DB名) G07F 5/22,9/00 G06F 9/06 Continuation of front page (56) Reference JP-A-5-298530 (JP, A) JP-A-1-93886 (JP, A) JP-A-6-96513 (JP, A) JP-A-8-63360 (JP , A) JP 7-295905 (JP, A) JP 3-269791 (JP, A) JP 6-314202 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB) Name) G07F 5 / 22,9 / 00 G06F 9/06

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 第1の記憶手段(5)に格納の制御プログ
ラムに基づき販売制御を行い、その販売により生じた販
売データを第2の記憶手段(4)に蓄積しておき、その蓄
積した販売データは、データ収集時にカードインタフェ
イス(2)に装着したメモリカード(3)に転送される自動
販売機の制御装置において、 前記第1の記憶手段(5)に電気的に書き込み及び消去が
容易な記憶手段を採用すると共に、通信回線を介して自
動販売機メーカーと所定のタイミングでデータ交信を行
う交信手段と、 前記交信手段の交信により、第1の記憶手段(5)に記憶
の制御プログラムがバージョンアップされていないかを
識別する識別部(1A)と、 前記識別部(1A)の識別により、自動販売機メーカーが保
有する制御プログラムがバージョンアップされたもので
ある時は、その制御プログラムを前記第1の記憶手段
(5)に書き込むプログラム書き替え手段(6)とを備えた
ことを特徴とする自動販売機。
1. Sales control is performed based on a control program stored in the first storage means (5), sales data generated by the sales is accumulated in the second storage means (4), and the accumulated data is accumulated. The sales data is transferred to the memory card (3) attached to the card interface (2) at the time of data collection, and can be electrically written and erased in the first storage means (5) in the controller of the vending machine. Adopting an easy storage means, communication means for performing data communication with a vending machine maker at a predetermined timing via a communication line, and control of storage in the first storage means (5) by communication of the communication means. An identification unit (1A) for identifying whether the program has not been upgraded, and by the identification of the identification unit (1A), when the control program owned by the vending machine manufacturer has been upgraded, The first storage means the control program of the
An automatic vending machine comprising: a program rewriting means (6) for writing in (5).
【請求項2】 上記識別部(1A)の識別により、自動販売
機メーカーが保有する制御プログラムがバージョンアッ
プされたものである時、更にバージョンアップを許可さ
れたときのみ、制御プログラムのバージョンアップを行
う請求項記載の自動販売機。
2. The version of the control program is updated only when the version of the control program owned by the vending machine maker is upgraded by the identification of the identification unit (1A) and when the version upgrade is permitted. vending machine according to claim 1, wherein performing.
JP11885596A 1996-05-14 1996-05-14 vending machine Expired - Fee Related JP3385844B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11885596A JP3385844B2 (en) 1996-05-14 1996-05-14 vending machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11885596A JP3385844B2 (en) 1996-05-14 1996-05-14 vending machine

Publications (2)

Publication Number Publication Date
JPH09305839A JPH09305839A (en) 1997-11-28
JP3385844B2 true JP3385844B2 (en) 2003-03-10

Family

ID=14746814

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11885596A Expired - Fee Related JP3385844B2 (en) 1996-05-14 1996-05-14 vending machine

Country Status (1)

Country Link
JP (1) JP3385844B2 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4026924B2 (en) * 1998-03-31 2007-12-26 富士通テン株式会社 Electronic control unit for automobile
JP2001175933A (en) * 1999-12-15 2001-06-29 Sanden Corp Control program rewriting system and controller for vending machine
JP4595188B2 (en) * 2000-07-03 2010-12-08 富士電機リテイルシステムズ株式会社 Vending machine control device
JP4783979B2 (en) * 2000-12-25 2011-09-28 レシップホールディングス株式会社 Program version management method and program using device
US6594548B2 (en) 2001-04-12 2003-07-15 Hani Bagnordi Portable digital assistant
JP2003085464A (en) * 2001-09-13 2003-03-20 Sanyo Electric Co Ltd Portable terminal, automatic vending machine and radio communication system to use the same
US7480903B2 (en) 2002-03-25 2009-01-20 Hitachi Construction Machinery Co., Ltd. Operation data collection system for work machine
JP4618015B2 (en) * 2005-06-27 2011-01-26 富士電機リテイルシステムズ株式会社 Vending machine, vending machine management device and vending machine management system
JP2007172391A (en) 2005-12-22 2007-07-05 Canon Inc Control method for electronic equipment, control program for electronic equipment, electronic equipment and recording device
JP2009100169A (en) * 2007-10-16 2009-05-07 Tietech Co Ltd Image recording system for police vehicle
JP5430298B2 (en) * 2009-09-03 2014-02-26 サンデン株式会社 Vending machine control equipment

Also Published As

Publication number Publication date
JPH09305839A (en) 1997-11-28

Similar Documents

Publication Publication Date Title
US5781921A (en) Method and apparatus to effect firmware upgrades using a removable memory device under software control
US6311322B1 (en) Program rewriting apparatus
US6892216B2 (en) Common platform for use in automotive services
US7054909B1 (en) Automatic vending machine having a control system capable of easily and reliably rewriting a control program in each terminal control unit
JP3385844B2 (en) vending machine
US7421573B2 (en) Apparatus and method for updating firmware
JP3268130B2 (en) Data processing device using flash EEPROM
EP1120709A2 (en) Method of rewriting a boot program in a flash micro-computer
CN100336082C (en) Finance data recorder
US20100070707A1 (en) Portable electronic device and data processing method in portable electronic device
JP2003316595A (en) Installation method, file updating method, its program and computer system
CN109086058A (en) Onboard program upgrade-system
JPH11272459A (en) Rewriting method for rewritable non-volatile memory and method/system for restoring fault of application program
JPH11265282A (en) Controller for automatic vending machine
JPH113213A (en) Information processing system
CN102955701B (en) Use the application program update method of Bootloader program
EP1560154A1 (en) Entertainment system, information processing unit and portable storage device
JP2001034822A (en) Controller for automatic vending machine
JP3028055B2 (en) PC card system and program rewriting method
JP3308920B2 (en) Information processing device
JP3284929B2 (en) vending machine
KR20080042502A (en) Electronic control unit for vehicle and method of control program setup thereof
JPH05224912A (en) Program updating method
EP0996103B1 (en) Automatic vending machine
WO2024157393A1 (en) Information processing device, information processing method, and program

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080110

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090110

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100110

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110110

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110110

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120110

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130110

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130110

Year of fee payment: 10

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20130110

Year of fee payment: 10

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20130110

Year of fee payment: 10

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20130110

Year of fee payment: 10

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20130110

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20140110

Year of fee payment: 11

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees