JP2008027294A - Automatic vending machine and program - Google Patents

Automatic vending machine and program Download PDF

Info

Publication number
JP2008027294A
JP2008027294A JP2006200855A JP2006200855A JP2008027294A JP 2008027294 A JP2008027294 A JP 2008027294A JP 2006200855 A JP2006200855 A JP 2006200855A JP 2006200855 A JP2006200855 A JP 2006200855A JP 2008027294 A JP2008027294 A JP 2008027294A
Authority
JP
Japan
Prior art keywords
control unit
unit
time
history
vending machine
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
JP2006200855A
Other languages
Japanese (ja)
Other versions
JP5011868B2 (en
Inventor
Hisataka Takeda
久孝 武田
Shigeki Hori
茂樹 堀
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 Retail Systems Co Ltd
Original Assignee
Fuji Electric Retail Systems 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 Retail Systems Co Ltd filed Critical Fuji Electric Retail Systems Co Ltd
Priority to JP2006200855A priority Critical patent/JP5011868B2/en
Publication of JP2008027294A publication Critical patent/JP2008027294A/en
Application granted granted Critical
Publication of JP5011868B2 publication Critical patent/JP5011868B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an automatic vending machine capable of executing the restarting of a sub-control part while suppressing the loss of merchandise sales opportunity. <P>SOLUTION: The automatic vending machine provided with a control part for controlling a merchandise selling operation and an auxiliary control part for assisting the control operation of the control part, is provided with: a condition storing part for storing a condition for restarting the auxiliary control part; a history storing part for storing history about the auxiliary control part; a determining part for determining whether the history corresponds to the condition; and a restarting part for restarting the auxiliary control part when the determining part determines that the history corresponds to the condition. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、自動販売機及びプログラムに関する。   The present invention relates to a vending machine and a program.

自動販売機には、商品の販売動作等の基本機能を実行する主制御部と、これとは別に、液晶ディスプレイやスピーカ等を通じて動画、静止画、音声を複合化したマルチメディアコンテンツを提供するといった応用機能を実行する従制御部とを備えたものがある。この主制御部及び従制御部は、それぞれ個別にCPUを有している。主制御部は、基本機能を果たすことに専念することが期待されている上に、そのCPU能力、リソース(メモリ、資源)、接続可能な入出力機器が最適に設定されている。このため、高速性に加えて多様性が求められる応用機能は、専用の従制御部にもたせる傾向にある。   For vending machines, a main control unit that executes basic functions such as product sales operations, as well as providing multimedia content that combines video, still images, and audio through a liquid crystal display, speakers, etc. Some have a secondary control unit that executes an applied function. Each of the main control unit and the sub control unit has a CPU individually. The main control unit is expected to devote itself to fulfilling the basic functions, and its CPU capacity, resources (memory, resources), and connectable input / output devices are optimally set. For this reason, application functions that require diversity in addition to high speed tend to be provided to a dedicated slave control unit.

例えば、カップ飲料を販売する自動販売機には、ユーザに対し液晶ディスプレイやスピーカ等を通じて商品の選択及び味の調節のための釦操作のし方を案内する機能を有するものがある(例えば、特許文献1参照。)。このような付加機能を果たすためには、従制御部は、例えば、主制御部と比較して、より高性能なCPU及びより大容量のメモリを有している必要がある。また、自動販売機の出荷後にサービスの変更又は拡張を行う場合、主制御部はほとんどそのままである一方、従制御部でプログラムの更新やコンテンツの差し替え等が行われることが多い。このプログラムの更新やコンテンツの差し替え等の都度、従制御部に対し十分な試験を行うことは現実的には困難であるため、主制御部と比較して、従制御部の品質維持は難しいとされている。このため、従制御部には、主制御部よりも多くの不具合が生じる虞がある。   For example, a vending machine that sells cup beverages has a function of guiding a user how to operate a button for selecting a product and adjusting a taste through a liquid crystal display or a speaker (for example, patents). Reference 1). In order to perform such an additional function, the slave control unit needs to have a higher performance CPU and a larger capacity memory than, for example, the main control unit. In addition, when changing or extending a service after the vending machine is shipped, the main control unit is almost unchanged, while the sub control unit often updates programs or replaces contents. Since it is actually difficult to perform sufficient tests on the sub-control unit every time this program is updated or content is replaced, it is difficult to maintain the quality of the sub-control unit compared to the main control unit. Has been. For this reason, there is a possibility that more problems may occur in the slave control unit than in the main control unit.

不具合のうち、ハードウェア的な故障又はアプリケーションソフト等による応用機能自体で判断可能な異常は、例えばウォッチドックタイマ又は応用機能そのもので対応が可能である。   Of the malfunctions, a hardware failure or an abnormality that can be determined by the application function itself by application software or the like can be dealt with by, for example, the watchdog timer or the application function itself.

一方、不具合のうち、起動後の稼働時間の経過とともに累積し、この稼働時間が所定時間に達した時点ではじめて顕在化するものがある。例えば、アプリケーションソフトに基づいて従制御部が所定の応用機能を実行する際にはメモリ領域が確保され、処理終了後にメモリ領域が開放される。しかし、メモリ領域の開放漏れがあると(メモリリーク)、この応用機能が実行される都度、未開放のメモリ領域が増大して、空きメモリ領域が減少していくとされている。また、様々なサイズのメモリ領域の獲得及び開放を繰り返すうちに、使用中のメモリ領域と開放された空きメモリ領域とが混在してメモリ領域の断片化が起こるとされている。この場合、個々の空きメモリ領域の総和は十分であっても、最大空きメモリサイズ(個々の空きメモリ領域のサイズの中の最大値)は小さくなる。   On the other hand, some of the malfunctions accumulate with the lapse of the operation time after startup, and become apparent only when the operation time reaches a predetermined time. For example, when the slave control unit executes a predetermined application function based on the application software, a memory area is secured, and the memory area is released after the processing is completed. However, if there is a memory area open leak (memory leak), each time this application function is executed, the unopened memory area increases and the free memory area decreases. In addition, while repeatedly acquiring and releasing memory areas of various sizes, the memory area in use and the free memory area that has been released are mixed to cause fragmentation of the memory area. In this case, even if the sum of the individual free memory areas is sufficient, the maximum free memory size (the maximum value among the sizes of the individual free memory areas) becomes small.

従制御部における空きメモリ領域の減少や断片化等が起こると、自動販売機は実質的に商品を販売できなくなる虞がある。例えば、タッチパネルを伴う液晶ディスプレイ等を通じて自動販売機に対しインタラクティブに商品選択を行う際、従制御部にメモリの異常が発生すると、液晶ディスプレイの表示に異常が生じたり、タッチパネルの入力が受け付けられなくなったりする。   If the free memory area in the slave control unit is reduced or fragmented, the vending machine may not be able to sell the product substantially. For example, when selecting a product interactively for a vending machine through a liquid crystal display with a touch panel, if a memory error occurs in the slave control unit, the display on the liquid crystal display may be abnormal or the touch panel input will not be accepted. Or

このような累積により顕在化する不具合への対応として、従制御部の再起動が挙げられる。再起動直後には、空きメモリ領域の減少や断片化等はリセットされ、解消されることが知られている。
特開2003−91768号公報
As a response to such a problem that becomes apparent due to accumulation, restart of the slave control unit can be mentioned. It is known that immediately after the restart, reduction of free memory area, fragmentation, etc. are reset and eliminated.
JP 2003-91768 A

ところで、従制御部の再起動時には、一般に、主制御部は販売動作を制御できないものとされている。これは、従制御部の応用制御が、主制御部による販売動作の基本制御と連携して実行される場合があるためである。そこで、一般に、従制御部の再起動は、主制御部の販売動作を禁止状態にして実行される。   By the way, when the slave control unit is restarted, generally, the main control unit cannot control the sales operation. This is because the application control of the slave control unit may be executed in cooperation with the basic control of the sales operation by the main control unit. Therefore, in general, the restart of the slave control unit is executed with the sales operation of the main control unit prohibited.

この場合、従制御部の再起動が行われる間、自動販売機は販売機会を逸することになる。例えば、時間帯を問わずユーザが途絶えない高速道路のサービスエリアやパーキングエリア等の公共エリアに多数(例えば100台)設置される自動販売機に対し、数分間(例えば3分間)の販売禁止を課した場合でも、1年間に販売機会を逸する合計時間はおよそ1800時間(3分間×100台×365日)に及ぶ。このため、もし予め定められた所定日時に従制御部の再起動を行う場合、この日時の定め方次第で自動販売機の売上げが大きく減少してしまう虞がある。   In this case, the vending machine misses the sales opportunity while the slave control unit is restarted. For example, sales prohibition for several minutes (for example, 3 minutes) is prohibited for vending machines installed in large numbers (for example, 100 units) in public areas such as highway service areas and parking areas where users are not interrupted regardless of the time of day. Even if imposed, the total time to miss a sales opportunity per year is approximately 1800 hours (3 minutes x 100 cars x 365 days). For this reason, if the control unit is restarted according to a predetermined date and time determined in advance, the sales of the vending machine may be greatly reduced depending on how the date and time is determined.

一方、自動販売機の設置場所に応じて、販売機会の損失を最小限に抑える最適な日時を予め設定することは、原理的に困難であるとされている。つまり、従制御部の再起動の日時を予め定めた場合、この日時は、例えば自動販売機の販売機会の損失を最小限に抑える最適値にはなり得ない虞がある。   On the other hand, according to the installation location of the vending machine, it is in principle difficult to set an optimal date and time that minimizes the loss of sales opportunities. In other words, when the date and time of restarting the slave control unit is determined in advance, this date and time may not be an optimum value that minimizes the loss of sales opportunities of vending machines, for example.

本発明はかかる課題に鑑みてなされたものであり、その目的とするところは、商品の販売機会の損失を抑制しつつ、従制御部の再起動を実行可能な自動販売機を提供することにある。   The present invention has been made in view of such a problem, and an object of the present invention is to provide a vending machine capable of restarting the slave control unit while suppressing loss of sales opportunities for products. is there.

前記課題を解決するための発明は、商品の販売動作を制御する制御部と、前記制御部の制御動作を補助する補助制御部と、を備えた自動販売機であって、前記補助制御部を再起動するための条件が記憶される条件記憶部と、前記補助制御部に関する履歴が記憶される履歴記憶部と、前記履歴が前記条件に該当するか否かを判別する判別部と、前記履歴が前記条件に該当するものと前記判別部が判別した場合、前記補助制御部を再起動する再起動部と、を備えてなる。   The invention for solving the above-mentioned problems is a vending machine comprising a control unit that controls the sales operation of a product, and an auxiliary control unit that assists the control operation of the control unit, wherein the auxiliary control unit A condition storage unit that stores a condition for restarting, a history storage unit that stores a history of the auxiliary control unit, a determination unit that determines whether or not the history satisfies the condition, and the history And a restarting unit that restarts the auxiliary control unit when the determining unit determines that the above condition is satisfied.

この自動販売機によれば、補助制御部に関する履歴が、補助制御部を再起動するための条件に該当した場合、この再起動が実行される。例えば、この履歴が補助制御部の動作に使用されるメモリのうちの空き領域と相関を有する履歴であれば、前記条件をこの空き領域の減少や断片化等の許容値に相当する条件に予め設定しておけば、補助制御部は、メモリ領域がこの許容値に達したときに限って再起動される。換言すれば、再起動を必要としていないことを履歴が示す限り、再起動されないため、例えば予め定められた時期に再起動する場合に比べて、この再起動に伴う商品の販売機会の損失を回避できることになる。つまり、商品の販売機会の損失を抑制しつつ、補助制御部の再起動を実行できる。   According to this vending machine, when the history related to the auxiliary control unit corresponds to the condition for restarting the auxiliary control unit, the restart is executed. For example, if the history is a history having a correlation with the free area in the memory used for the operation of the auxiliary control unit, the condition is set in advance to a condition corresponding to an allowable value such as reduction of the free area or fragmentation. If set, the auxiliary control unit is restarted only when the memory area reaches this allowable value. In other words, as long as the history indicates that restart is not required, it will not be restarted, so avoiding loss of merchandise sales opportunities associated with this restart compared to, for example, restarting at a predetermined time It will be possible. That is, the auxiliary control unit can be restarted while suppressing the loss of the sales opportunity of the product.

また、かかる自動販売機において、前記再起動部は、前記補助制御部を再起動する場合、前記制御部の制御動作を停止する、ことが好ましい。
例えば、補助制御部の動作が、制御部による商品の販売動作と連携して実行される動作である場合、補助制御部の再起動中には、制御部による販売動作が誤動作となる虞がある。そこで、従制御部の再起動中には制御部の制御動作を予め停止しておく方が、自動販売機のユーザの心証を悪くする等のトラブルを回避できる。
In the vending machine, it is preferable that the restart unit stops the control operation of the control unit when the auxiliary control unit is restarted.
For example, when the operation of the auxiliary control unit is an operation executed in cooperation with the product sales operation by the control unit, the sales operation by the control unit may malfunction while the auxiliary control unit is restarted. . Therefore, it is possible to avoid troubles such as worsening the feeling of the user of the vending machine by stopping the control operation of the control unit in advance while the slave control unit is restarted.

また、かかる自動販売機において、現在時刻を計時する計時部と、前記判別部の判別時刻が記憶される判別時刻記憶部と、前記現在時刻が前記判別時刻であるか否かを検出する検出部と、を備え、前記判別部は、前記現在時刻が前記判別時刻であるものと前記検出部が検出した場合、前記履歴が前記条件に該当するか否かを判別する、ことが好ましい。
この自動販売機によれば、判別時刻において、補助制御部に関する履歴が、補助制御部を再起動するための条件に該当した場合、この再起動が実行される。この判別時刻を、例えば、再起動に伴う商品の販売機会の損失をできるだけ回避可能な時刻に予め定めておけば、この自動販売機により、商品の販売機会の損失を効果的に抑制できる。
Further, in such a vending machine, a time measuring unit that measures the current time, a determination time storage unit that stores the determination time of the determination unit, and a detection unit that detects whether or not the current time is the determination time It is preferable that the determination unit determines whether or not the history satisfies the condition when the detection unit detects that the current time is the determination time.
According to this vending machine, when the history about the auxiliary control unit corresponds to the condition for restarting the auxiliary control unit at the determination time, the restart is executed. If this determination time is set in advance to a time at which loss of merchandise sales opportunities associated with restart can be avoided as much as possible, loss of merchandise sales opportunities can be effectively suppressed by this vending machine.

また、かかる自動販売機において、前記条件記憶部は、前記条件として複数の条件を記憶し、前記再起動部は、前記履歴が前記複数の条件の中の1以上の条件に該当するものと前記判別部が判別した場合、前記補助制御部を再起動する、ことが好ましい。
この自動販売機によれば、判別に際して該当するべき条件の数に応じて、再起動の判断に対し柔軟性をもたせることができる。つまり、複数の条件の中で該当するべき条件の数が多いほど、判断がより厳しくなる一方、該当するべき条件の数が少ないほど、判断がより緩くなる。よって、商品の販売機会の損失を効果的に抑制できる。
Further, in the vending machine, the condition storage unit stores a plurality of conditions as the condition, and the restarting unit is configured such that the history corresponds to one or more conditions among the plurality of conditions. When the determination unit determines, it is preferable to restart the auxiliary control unit.
According to this vending machine, it is possible to give flexibility to the determination of restart according to the number of conditions that should be met in the determination. That is, the greater the number of conditions to be met among a plurality of conditions, the more severe the judgment, while the smaller the number of conditions to be met, the more relaxed the judgment. Thus, loss of merchandise sales opportunities can be effectively suppressed.

また、かかる自動販売機において、前記条件記憶部は、前記条件として重み係数を有する複数の条件を記憶し、前記再起動部は、前記履歴が前記複数の条件の中の1以上の条件に該当し、且つ、該当する条件を示す値に重み係数を乗じた値の合計値が所定値を超えたものと前記判別部が判別した場合、前記補助制御部を再起動する、ことが好ましい。
この自動販売機によれば、判別に際して該当するべき条件及びその重み係数に応じて、再起動の判断に対しより柔軟性をもたせることができる。よって、商品の販売機会の損失をより効果的に抑制できる。
In the vending machine, the condition storage unit stores a plurality of conditions having a weighting coefficient as the condition, and the restart unit corresponds to one or more of the plurality of conditions in the history. In addition, it is preferable that the auxiliary control unit is restarted when the determination unit determines that a total value obtained by multiplying a value indicating the corresponding condition by a weighting coefficient exceeds a predetermined value.
According to this vending machine, it is possible to give more flexibility to the determination of restart according to the condition to be applied in the determination and the weighting factor. Therefore, the loss of the sales opportunity of goods can be controlled more effectively.

また、前記課題を解決するための発明は、カップ飲料を販売する販売部と、前記販売部を洗浄する洗浄部と、前記販売部の販売動作及び前記洗浄部の洗浄動作を制御する制御部と、前記制御部の前記販売動作にかかる制御動作を補助する補助制御部と、を備えた自動販売機であって、現在時刻を計時する計時部と、前記洗浄部による洗浄時刻が記憶される洗浄時刻記憶部と、前記現在時刻が前記洗浄時刻であるか否かを検出する検出部と、前記補助制御部を再起動するための条件が記憶される条件記憶部と、前記補助制御部に関する履歴が記憶される履歴記憶部と、前記履歴が前記条件に該当するか否かを判別する判別部と、前記補助制御部を再起動する再起動部と、を備え、前記再起動部は、前記現在時刻が前記洗浄時刻であるものと前記検出部が検出した場合、又は、前記現在時刻が前記洗浄時刻でないものと前記検出部が検出し、且つ、前記履歴が前記条件に該当するものと前記判別部が判別した場合、前記補助制御部を再起動してなる。
この自動販売機によれば、販売動作の禁止を伴い得る洗浄時期と重なるように再起動が実行される上に、洗浄時期以外の時期では、補助制御部に関する履歴が、補助制御部を再起動するための条件に該当した場合、再起動が実行される。よって、商品の販売機会の損失を抑制しつつ、補助制御部の再起動を実行できる。
The invention for solving the problems includes a sales unit that sells cup beverages, a cleaning unit that cleans the sales unit, a control unit that controls the sales operation of the sales unit and the cleaning operation of the cleaning unit, A vending machine provided with an auxiliary control unit for assisting the control operation related to the sales operation of the control unit, wherein the timekeeping unit counts the current time, and the cleaning time stored by the cleaning unit is stored A time storage unit, a detection unit that detects whether or not the current time is the cleaning time, a condition storage unit that stores conditions for restarting the auxiliary control unit, and a history relating to the auxiliary control unit Is stored, a determination unit that determines whether or not the history satisfies the condition, and a restart unit that restarts the auxiliary control unit, the restart unit, The current time is the washing time and the When the output unit detects, or when the detection unit detects that the current time is not the cleaning time, and the determination unit determines that the history meets the condition, the auxiliary control unit To reboot.
According to this vending machine, the restart is executed so as to overlap with the cleaning time that may be accompanied by the prohibition of the sales operation, and the history related to the auxiliary control unit restarts the auxiliary control unit at a time other than the cleaning time. If the conditions for doing so are met, a restart is performed. Therefore, the auxiliary control unit can be restarted while suppressing the loss of the sales opportunity of the product.

また、前記課題を解決するための発明は、商品の販売動作を制御する制御部と、前記制御部の制御動作を補助する補助制御部と、を備えた自動販売機におけるコンピュータに、前記補助制御部に関する履歴が前記補助制御部を再起動するための条件に該当するか否かを判別する手順と、前記履歴が前記条件に該当するものと前記判別部が判別した場合、前記補助制御部を再起動する手順と、を実行させるためのプログラムである。   Further, the invention for solving the above-described problems is characterized in that the auxiliary control is provided in a computer in a vending machine comprising a control unit that controls the sales operation of a product and an auxiliary control unit that assists the control operation of the control unit. A procedure for determining whether or not a history relating to a part corresponds to a condition for restarting the auxiliary control part, and if the determination part determines that the history corresponds to the condition, the auxiliary control part is And a restarting program.

商品の販売機会の損失を抑制しつつ、従制御部の再起動を実行できる。   The slave control unit can be restarted while suppressing the loss of the sales opportunity of the product.

===自動販売機の構成===
図1乃至図4を参照しつつ、本実施の形態の自動販売機1の構成例について説明する。図1は、本実施の形態の自動販売機1の外観構成の一例を示す正面図である。図2は、本実施の形態の自動販売機1の動作を司る構成の一例を示すブロック図である。図3は、本実施の形態のRAM204に記憶される再起動スケジュール表データ204aの構成例を示す図表である。図4(a)は、本実施の形態のRAM204に記憶される履歴データ204bの構成例を示す図表であり、図4(b)は、本実施の形態のRAM204に記憶される条件データ204cの構成例を示す図表である。
=== Vending machine configuration ===
A configuration example of the vending machine 1 according to the present embodiment will be described with reference to FIGS. 1 to 4. FIG. 1 is a front view showing an example of an external configuration of a vending machine 1 according to the present embodiment. FIG. 2 is a block diagram illustrating an example of a configuration that governs the operation of the vending machine 1 according to the present embodiment. FIG. 3 is a chart showing a configuration example of the restart schedule table data 204a stored in the RAM 204 of the present embodiment. FIG. 4A is a chart showing a configuration example of the history data 204b stored in the RAM 204 of the present embodiment, and FIG. 4B is a diagram of the condition data 204c stored in the RAM 204 of the present embodiment. It is a chart which shows an example of composition.

<<<全体構成>>>
図1に例示されるように、本実施の形態の自動販売機1は、その正面の前扉2において、タッチパネル220を伴う液晶ディスプレイ210、硬貨投入口4、返却レバー5、紙幣挿入口6、商品取出口7、金銭返却口8等を備えている。前扉2は、商品を収容する本体(不図示)に対しヒンジ(不図示)を介して開閉可能に設けられるものであり、その正面に、施錠機構を有するハンドル3を備えている。
<<< Overall configuration >>>
As illustrated in FIG. 1, the vending machine 1 according to the present embodiment includes a liquid crystal display 210 with a touch panel 220, a coin insertion slot 4, a return lever 5, a bill insertion slot 6, in the front door 2 in front of the vending machine 1. A product outlet 7, a money return port 8, and the like are provided. The front door 2 is provided so as to be openable and closable via a hinge (not shown) with respect to a main body (not shown) for storing products, and includes a handle 3 having a locking mechanism on the front thereof.

液晶ディスプレイ210は、例えば各種類の商品の画像(静止画及び動画)や価格等を、ユーザが閲覧可能に表示するものである。ユーザは、この液晶ディスプレイ210を通じて、自動販売機1が販売可能な商品を認識するようになっている。   The liquid crystal display 210 displays, for example, images (still images and moving images) and prices of various types of products so that the user can view them. The user recognizes products that can be sold by the vending machine 1 through the liquid crystal display 210.

タッチパネル220は、液晶ディスプレイ210の表面に被覆されて、ユーザの指の接触位置の座標情報を生成可能な入力手段であり、この液晶ディスプレイ210の表示画像がユーザ側から視認可能となるように透明な材料で構成されている。自動販売機1が備える後述するRAM104は、例えば、液晶ディスプレイ210における商品の画像の座標とこの商品とを予め対応付けて記憶している。これにより、ユーザが液晶ディスプレイ210上で所望の商品の画像に触れると、前記対応付けに基づく商品が後述する販売機構135を通じて販売されるようになっている。   The touch panel 220 is an input unit that covers the surface of the liquid crystal display 210 and can generate coordinate information of the contact position of the user's finger. The touch panel 220 is transparent so that the display image of the liquid crystal display 210 can be viewed from the user side. It is composed of various materials. A RAM 104, which will be described later, provided in the vending machine 1 stores, for example, the image coordinates of the product on the liquid crystal display 210 and the product in association with each other. Thus, when the user touches an image of a desired product on the liquid crystal display 210, the product based on the association is sold through a sales mechanism 135 described later.

以上、本実施の形態のタッチパネル220を伴う液晶ディスプレイ210は、例えば一般的な自動販売機におけるサンプルパネル及び商品選択釦の機能を兼ね備えたものと言える。尚、本実施の形態のタッチパネル220を伴う液晶ディスプレイ210の構成及び機能には、例えば特開2003−91768号公報に開示される周知の構成及び機能を適用すればよい。   As mentioned above, it can be said that the liquid crystal display 210 with the touch panel 220 of this embodiment has the functions of a sample panel and a product selection button in a general vending machine, for example. In addition, what is necessary is just to apply the well-known structure and function disclosed by Unexamined-Japanese-Patent No. 2003-91768, for example to the structure and function of the liquid crystal display 210 with the touch panel 220 of this Embodiment.

硬貨投入口4は、ユーザが硬貨を投入する部分であり、投入硬貨は、後述する硬貨識別装置110に供給されるようになっている。返却レバー5は、釣銭を金銭返却口8から返却するためのものである。紙幣挿入口6は、ユーザが紙幣を挿入する部分であり、挿入紙幣は、後述する紙幣識別装置120に供給されるようになっている。   The coin slot 4 is a part into which a user inserts coins, and the inserted coins are supplied to a coin identifying device 110 described later. The return lever 5 is for returning change from the money return port 8. The bill insertion slot 6 is a portion into which a user inserts a bill, and the inserted bill is supplied to a bill recognition device 120 described later.

本実施の形態の自動販売機1が例えばカップ飲料を販売するカップ式自動販売機である場合、商品取出口7は、販売機構135の端部のノズル9から飲料が供給されたカップを取り出すためのものである。   When the vending machine 1 of the present embodiment is a cup-type vending machine that sells cup beverages, for example, the product outlet 7 takes out the cup supplied with the beverage from the nozzle 9 at the end of the sales mechanism 135. belongs to.

<<<主制御部>>>
図2に例示されるように、本実施の形態の自動販売機1は、主として販売動作の機能を司る主制御部100及び各種スレーブと、前述したタッチパネル機能等の補助機能を司るために付加された従制御部200及び拡張I/O等とを備えて構成されるものである。主制御部100及び従制御部200は、通信ケーブル300を介して相互に接続され、専用のプロトコルにより通信可能に構成されている。
<<< Main control unit >>>
As illustrated in FIG. 2, the vending machine 1 according to the present embodiment is added to manage the main control unit 100 and various slaves mainly responsible for the sales operation function and auxiliary functions such as the touch panel function described above. The slave control unit 200 and the expansion I / O are provided. The main control unit 100 and the sub control unit 200 are connected to each other via a communication cable 300 and are configured to be communicable using a dedicated protocol.

主制御部(制御部)100は、本実施の形態の自動販売機1を統括制御するものであり、CPU101、カウンタ102、タイマ103、RAM104、ROM105等を備えて構成されている。これらの構成は、主として、自動販売機1が以下述べる販売動作等の周知の機能を果たすためのものである。   The main control unit (control unit) 100 controls the vending machine 1 according to the present embodiment, and includes a CPU 101, a counter 102, a timer 103, a RAM 104, a ROM 105, and the like. These configurations are mainly for the vending machine 1 to perform known functions such as a sales operation described below.

同図に例示される、硬貨識別装置110、紙幣識別装置120、販売制御部130、冷熱制御部140、入出力制御部150は、本実施の形態の主制御部100のスレーブに相当する。   The coin recognition device 110, the bill recognition device 120, the sales control unit 130, the cooling / heating control unit 140, and the input / output control unit 150 illustrated in the figure correspond to slaves of the main control unit 100 of the present embodiment.

硬貨識別装置110は、釣銭切れを検出するとともに、硬貨投入口4からの投入硬貨を受け取り、必要に応じて釣銭を金銭返却口8から返却するものである。紙幣識別装置120は、釣札切れを検出するとともに、紙幣挿入口6からの挿入紙幣を受け取り、必要に応じて釣札を紙幣挿入口6から返却するものである。   The coin discriminating device 110 detects the change of change, receives the inserted coin from the coin insertion slot 4, and returns the change from the money return slot 8 as necessary. The banknote identification device 120 detects an out of the bill, receives an inserted banknote from the banknote insertion slot 6, and returns the bill from the banknote insertion slot 6 as necessary.

本実施の形態の自動販売機1が例えばカップ飲料を販売するカップ式自動販売機である場合、販売制御部130は、主制御部100からの指示信号に基づいて、例えば特開2006−127137号公報に開示される周知の構成を備えた販売機構135を制御して飲料を調理し、商品取出口7のカップに対しノズル9を通じて飲料を供給するものである。また、冷熱制御部140は、主制御部100からの指示信号に基づいて、例えば特開2006−155001号公報に開示される周知の構成を備えた冷熱機構145を制御して、例えば飲料の原料である湯又は水を加温又は冷却するものである。   When the vending machine 1 according to the present embodiment is a cup-type vending machine that sells cup beverages, for example, the sales control unit 130 is based on an instruction signal from the main control unit 100, for example, Japanese Patent Application Laid-Open No. 2006-127137. The beverage is cooked by controlling the sales mechanism 135 having a known configuration disclosed in the publication, and the beverage is supplied to the cup of the product outlet 7 through the nozzle 9. The cooling control unit 140 controls the cooling mechanism 145 having a well-known configuration disclosed in, for example, Japanese Patent Application Laid-Open No. 2006-155001 based on an instruction signal from the main control unit 100, for example, a beverage ingredient The hot water or water is heated or cooled.

入出力制御部150は、所定のキーボード(不図示)を備えるコントロールパネル155を通じて入力される入力信号を主制御部100に送信するものである。   The input / output control unit 150 transmits an input signal input through a control panel 155 having a predetermined keyboard (not shown) to the main control unit 100.

<<<従制御部>>>
図2に例示されるように、従制御部(補助制御部)200は、主として、前述したタッチパネル220を伴う液晶ディスプレイ210を制御するものであり、主制御部100と同様に、CPU201、カウンタ202、タイマ(計時部)203、RAM204、ROM205等を備えて構成されている。これらの構成は、自動販売機1が例えば画像(静止画及び動画)表示等の周知の機能を果たすためのものである。これに加えて、RAM204は、従制御部200の再起動の予定時期を示す再起動スケジュール表データ204a、自動販売機1の補助機能にかかる履歴を示す履歴データ204b、前記再起動を判断するための条件を示す条件データ204c等を記憶するものである。ROM205は、従制御部200に前記再起動の判断等の処理を実行させる所定のプログラムを記憶するものである。
<<< Sub control section >>>
As illustrated in FIG. 2, the sub control unit (auxiliary control unit) 200 mainly controls the liquid crystal display 210 with the touch panel 220 described above, and similarly to the main control unit 100, the CPU 201 and the counter 202. A timer (timer) 203, a RAM 204, a ROM 205, and the like. These configurations are for the vending machine 1 to perform known functions such as image (still image and moving image) display. In addition, the RAM 204 determines the restart schedule table data 204a indicating the scheduled restart time of the slave control unit 200, the history data 204b indicating the history of the auxiliary function of the vending machine 1, and the restart. The condition data 204c indicating the above conditions is stored. The ROM 205 stores a predetermined program that causes the slave control unit 200 to execute processing such as determination of restart.

また、同図に例示されるように、従制御部200には、拡張I/O230が接続されている。この拡張I/O230は、従制御部200が補助機能を果たすべく、スピーカ、マイク、所定のカードリーダ・ライタ、2次元バーコードリーダ、カメラ等が接続可能に構成されている。   Further, as illustrated in the figure, the extension I / O 230 is connected to the slave control unit 200. The expansion I / O 230 is configured such that a speaker, a microphone, a predetermined card reader / writer, a two-dimensional bar code reader, a camera, and the like can be connected so that the sub control unit 200 can perform an auxiliary function.

<<<再起動スケジュール表データ>>>
図3に例示されるように、本実施の形態の従制御部200のRAM(判別時刻記憶部)204に記憶される再起動スケジュール表データ204aは、従制御部200の再起動の予定時期を示す情報を備えて構成されている。
<<< Reboot schedule table data >>>
As illustrated in FIG. 3, the restart schedule table data 204 a stored in the RAM (discriminating time storage unit) 204 of the slave control unit 200 according to this embodiment indicates the scheduled restart time of the slave control unit 200. It is comprised with the information to show.

同図の例示では、曜日単位で、再起動の有無を示す情報とともに、再起動が有る場合はその時刻が予め定められている。同図の例示では、月曜日乃至金曜日は午前4時に従制御部200の再起動を実行する予定となっている。また、土曜日は午前5時に再起動を実行し、日曜日は実行しない予定となっている。以上により、1年を通じて、曜日に応じて繰り返し再起動を実行することになる。この再起動スケジュール表データ204aは、例えば自動販売機1の工場出荷時に予め設定されていてもよいし、例えば自動販売機1の設置時にルートマン等によりコントロールパネル155を通じて設定されてもよい。   In the example shown in the figure, for each day of the week, along with information indicating whether or not there is a restart, the time when there is a restart is predetermined. In the example shown in the figure, the control unit 200 is scheduled to be restarted according to 4 am from Monday to Friday. In addition, it is scheduled to restart at 5 am on Saturday and not on Sunday. As described above, the restart is repeatedly performed according to the day of the week throughout the year. The restart schedule table data 204a may be set in advance when the vending machine 1 is shipped from the factory, for example, or may be set through the control panel 155 by a route man or the like when the vending machine 1 is installed.

本実施の形態の再起動スケジュール表データ204aは、自動販売機1の設置場所に応じて、販売機会の損失を最小限に抑制すると推定される曜日及び時刻が予め設定されているものとする。後述するように、これらの曜日及び時刻になると、従制御部200は再起動の有無を判断するようになっている。   In the restart schedule table data 204a of the present embodiment, it is assumed that the day of the week and the time estimated to minimize the loss of sales opportunities are set in advance according to the installation location of the vending machine 1. As will be described later, when these days and times are reached, the sub control unit 200 determines whether or not to restart.

尚、再起動スケジュール表データ204aが指定する時期の情報は、図5に例示される曜日及び時刻に限定されるものではなく、例えば、具体的に年月日及び時刻等であってもよい。   Note that the time information specified by the restart schedule table data 204a is not limited to the day of the week and time illustrated in FIG. 5, but may be, for example, the date and time.

<<<履歴データ>>>
図4(a)に例示されるように、本実施の形態の従制御部200のRAM(履歴記憶部)204に記憶される履歴データ204bは、自動販売機1の補助機能にかかる履歴を示す情報を備えて構成されている。
<<< history data >>>
As illustrated in FIG. 4A, the history data 204 b stored in the RAM (history storage unit) 204 of the slave control unit 200 according to the present embodiment indicates a history related to the auxiliary function of the vending machine 1. It is configured with information.

同図の例示では、前回の再起動時から現時点までの商品の販売回数、従制御部200のRAM204の空きメモリ領域の前回の再起動時から現時点までの容量、前回の再起動時から現時点までのタッチパネル220を伴う液晶ディスプレイ210へのタッチ回数、従制御部200のCPU201を冷却する冷却ファン(不図示)の現時点での稼働率、現時点での商品の無販売時間等の履歴情報が蓄積されている。   In the example of the figure, the number of sales of the product from the previous restart to the current time, the capacity of the free memory area in the RAM 204 of the slave control unit 200 from the previous restart to the current time, from the previous restart to the current time History information such as the number of touches on the liquid crystal display 210 with the touch panel 220, the current operating rate of a cooling fan (not shown) that cools the CPU 201 of the sub-control unit 200, and the current non-sale time of the product are accumulated. ing.

商品の販売回数は、販売機構135が販売動作をする都度、主制御部100のカウンタ102により計数されて、従制御部200に送信される。この販売回数は、販売に伴う画像(静止画及び動画)表示等の補助機能の動作回数に対応し得る回数である。よって、この販売回数と、画像表示等によるRAM204の空きメモリ領域の減少や断片化等が発生する可能性とは相関を有し得る。従って、商品の販売回数は、再起動スケジュール表データ204aで予定される再起動時期において、実際に再起動を実行するか否かを判断するための情報となり得る。   The number of times the product is sold is counted by the counter 102 of the main control unit 100 and transmitted to the sub control unit 200 every time the sales mechanism 135 performs a sales operation. This number of sales is the number of times that can correspond to the number of operations of auxiliary functions such as displaying images (still images and moving images) accompanying sales. Therefore, the number of sales and the possibility that the free memory area of the RAM 204 is reduced or fragmented due to image display or the like may have a correlation. Therefore, the number of sales of the product can be information for determining whether or not to actually execute the restart at the restart time scheduled in the restart schedule table data 204a.

最小空きメモリ容量は、所定時間(前回の再起動時から現時点までの時間)における従制御部200のRAM204の空きメモリ領域の最小容量である。本実施の形態では、従制御部200は、単位時間毎にRAM204の空きメモリ領域の容量を検出し、前記所定時間における複数の検出値のうちの最小値を求めて、最小空きメモリ容量として履歴データ204bを更新する。   The minimum free memory capacity is the minimum capacity of the free memory area in the RAM 204 of the slave control unit 200 at a predetermined time (the time from the previous restart to the current time). In the present embodiment, the sub control unit 200 detects the capacity of the free memory area of the RAM 204 every unit time, obtains the minimum value among the plurality of detection values in the predetermined time, and records the minimum free memory capacity as a history. Data 204b is updated.

最大空きメモリ容量は、所定時間(前回の再起動時から現時点までの時間)における従制御部200のRAM204の空きメモリ領域の最大容量である。本実施の形態では、従制御部200は、単位時間毎にRAM204の空きメモリ領域の容量を検出し、前記所定時間における複数の検出値のうちの最大値を求めて、最大空きメモリ容量として履歴データ204bを更新する。   The maximum free memory capacity is the maximum capacity of the free memory area of the RAM 204 of the slave control unit 200 during a predetermined time (the time from the previous restart to the current time). In the present embodiment, the slave control unit 200 detects the capacity of the free memory area of the RAM 204 every unit time, obtains the maximum value among the plurality of detection values in the predetermined time, and records the maximum free memory capacity as a history. Data 204b is updated.

空きメモリブロック容量は、所定時間(前回の再起動時から現時点までの時間)における複数の最大空きメモリブロックのうちの最小値である。本実施の形態では、従制御部200は、単位時間毎にRAM204の空きメモリブロックの最大容量を検出し、前記所定時間における複数の検出値のうちの最小値を求めて、空きメモリブロック容量として履歴データ204bを更新する。   The free memory block capacity is a minimum value among a plurality of maximum free memory blocks in a predetermined time (the time from the previous restart to the current time). In the present embodiment, the sub control unit 200 detects the maximum capacity of the free memory block in the RAM 204 every unit time, obtains the minimum value among the plurality of detection values in the predetermined time, and sets it as the free memory block capacity. The history data 204b is updated.

液晶ディスプレイ210へのタッチ回数には、前述した商品の販売回数と略比例する関係がある。一方、液晶ディスプレイ210におけるユーザの入力操作が、商品選択以外の様々なサービスに対しても実行される場合には、このタッチ回数は、商品の販売回数に比べて、RAM204の空きメモリ領域の減少や断片化等が発生する可能性とより高い相関を有し得る。このタッチ回数は、タッチパネル220が指等の接触に伴い信号を生成する都度、従制御部200のカウンタ202により計数される。   The number of touches on the liquid crystal display 210 has a relationship that is substantially proportional to the number of sales of the above-described product. On the other hand, when the user's input operation on the liquid crystal display 210 is executed for various services other than the product selection, the number of touches is smaller than the number of sales of the product in the free memory area of the RAM 204. There is a higher correlation with the possibility of fragmentation and the like. The number of touches is counted by the counter 202 of the sub control unit 200 every time the touch panel 220 generates a signal with the touch of a finger or the like.

冷却ファン稼働率は、従制御部200のCPU201に対する負荷との相関を有し得るため、再起動スケジュール表データ204aで予定される再起動時期において、実際に再起動を実行するか否かを判断するための情報となり得る。例えば、冷却ファン稼働率が高いほど、これはCPU201に対する負荷がより大きいことを意味するため、画像表示等によるRAM204の空きメモリ領域の減少や断片化等が発生する可能性がより高まる。本実施の形態では、従制御部200は、例えばCPU201の近傍に設けられた所定の温度センサ(不図示)により検出される温度に応じて、冷却ファンの回転又は停止を実行するようになっている。従制御部200は、例えば、温度センサの温度が所定値を超える場合に限り、冷却ファンを回転させる。そして、所定のタイマ(不図示)によりその回転動作時間が計時される。本実施の形態では、従制御部200は、例えば過去1時間に対する冷却ファンの回転動作時間の割合を求めて、これを現時点での冷却ファン稼働率とする。   Since the cooling fan operating rate may have a correlation with the load on the CPU 201 of the slave control unit 200, it is determined whether or not to actually execute the restart at the restart time scheduled in the restart schedule table data 204a. Information. For example, as the cooling fan operating rate is higher, this means that the load on the CPU 201 is larger, and therefore the possibility that the free memory area of the RAM 204 is reduced or fragmented due to image display or the like is further increased. In the present embodiment, the secondary control unit 200 executes rotation or stop of the cooling fan according to a temperature detected by a predetermined temperature sensor (not shown) provided in the vicinity of the CPU 201, for example. Yes. For example, the sub control unit 200 rotates the cooling fan only when the temperature of the temperature sensor exceeds a predetermined value. Then, the rotation operation time is measured by a predetermined timer (not shown). In the present embodiment, the slave control unit 200 obtains, for example, the ratio of the cooling fan rotation operation time with respect to the past one hour, and sets this as the current cooling fan operating rate.

無販売時間は、販売機構135が直近に動作してから再び動作することなく経過した時間であって、主制御部100のタイマ103により計時される。従制御部200において例えば画像表示等によるRAM204の空きメモリ領域の減少や断片化等が発生し、ユーザによる商品選択等の指示を受け付けられなくなる等の問題が発生すると、結果的に無販売時間が予め定められた許容時間を超える事態が生じ得る。   The non-sale time is the time that has elapsed without the sales mechanism 135 operating since the most recent operation, and is counted by the timer 103 of the main control unit 100. In the sub-control unit 200, for example, when the free memory area of the RAM 204 is reduced or fragmented due to image display or the like, and a problem such that the user cannot accept an instruction for product selection, the non-sale time will result. A situation may occur where a predetermined allowable time is exceeded.

<<<条件データ>>>
図4(b)に例示されるように、本実施の形態の従制御部200のRAM(条件記憶部)204に記憶される条件データ204cは、前述した履歴データ204bにおける各項目の閾値を示す情報を備えて構成されている。
<<< Condition data >>>
As illustrated in FIG. 4B, the condition data 204c stored in the RAM (condition storage unit) 204 of the slave control unit 200 of the present embodiment indicates the threshold value of each item in the history data 204b described above. It is configured with information.

同図の例示では、前回の再起動時から現時点までの商品の販売回数に対し、所定の閾値が設定されている。この閾値は、例えば、商品の販売回数が当該閾値を超えた場合、RAM204の空きメモリ領域の減少や断片化等の発生確率が所定値を超えるような値に設定されている。   In the example shown in the figure, a predetermined threshold is set for the number of sales of the product from the previous restart to the current time. For example, when the number of sales of the product exceeds the threshold value, the threshold value is set such that the occurrence probability of a decrease in the free memory area or fragmentation of the RAM 204 exceeds a predetermined value.

また、同図の例示では、従制御部200のRAM204の最小空きメモリ容量、最大空きメモリ容量、及び空きメモリブロック容量のそれぞれに対し、所定の閾値が設定されている。各容量が各閾値未満となることにより、RAM204の空きメモリ領域の減少や断片化等の発生確率が所定値を超えるものである。   Further, in the example of the figure, a predetermined threshold is set for each of the minimum free memory capacity, the maximum free memory capacity, and the free memory block capacity of the RAM 204 of the slave control unit 200. When each capacity is less than each threshold value, the probability of occurrence of a decrease in the free memory area or fragmentation of the RAM 204 exceeds a predetermined value.

前述した商品の販売回数の場合と同様に、同図の例示では、タッチ回数、冷却ファン稼働率、無販売時間に対し、所定の閾値がそれぞれ設定されている。これらの閾値は、例えば、タッチ回数、冷却ファン稼働率、無販売時間が当該閾値を超えた場合、RAM204の空きメモリ領域の減少や断片化等の発生確率が所定値を超えるような値にそれぞれ設定されている。   As in the case of the number of sales of the above-described product, in the example of the figure, predetermined thresholds are set for the number of touches, the cooling fan operating rate, and the non-sale time. For example, when the number of touches, the cooling fan operating rate, and the non-sale time exceed the threshold values, these threshold values are set to values that cause the occurrence probability of a decrease in the free memory area or fragmentation of the RAM 204 to exceed a predetermined value, respectively. Is set.

尚、以上の各閾値は、例えば自動販売機1の工場出荷時に予め設定されていてもよいし、例えば自動販売機1の設置時にルートマン等によりコントロールパネル155を通じて設定されてもよい。また、前述した空冷ファン稼働率の閾値は、例えば、夏場と冬場とで切り換えることが好ましい。つまり、夏場の空冷ファン稼働率の平均値は、冬場の平均値よりも高いため、これに伴い、夏場の閾値は冬場の閾値よりも予め高めに設定しておく必要がある。   Each of the above threshold values may be set in advance when the vending machine 1 is shipped from the factory, for example, or may be set through the control panel 155 by a route man or the like when the vending machine 1 is installed. Moreover, it is preferable to switch the threshold value of the above-mentioned air-cooling fan operating rate between, for example, summer and winter. That is, the average value of the air cooling fan operating rate in summer is higher than the average value in winter, and accordingly, the summer threshold must be set higher than the winter threshold in advance.

===従制御部の再起動(1)===
図5及び図6を参照しつつ、前述した構成を備えた自動販売機1において、従制御部200を再起動する動作について説明する。図5は、本実施の形態の従制御部200の再起動の際の処理の手順を示すフローチャートである。図6(a)は、本実施の形態のRAM204に記憶される条件データ204c’の構成例を示す図表であり、図6(b)は、本実施の形態のRAM204に記憶される履歴データ204b’の構成例を示す図表である。
=== Restart of slave control unit (1) ===
With reference to FIGS. 5 and 6, the operation of restarting the slave control unit 200 in the vending machine 1 having the above-described configuration will be described. FIG. 5 is a flowchart illustrating a processing procedure when the slave control unit 200 according to the present embodiment is restarted. FIG. 6A is a chart showing a configuration example of the condition data 204c ′ stored in the RAM 204 of the present embodiment, and FIG. 6B is a history data 204b stored in the RAM 204 of the present embodiment. It is a graph which shows the structural example of '.

<<<条件データが重みを有さない場合>>>
先ず、従制御部200は、RAM204に記憶される再起動スケジュール表データ204aを参照して、今回の再起動予定の曜日及び時刻を読み出す(S100)。尚、後述するように、従制御部200は、前回の再起動の後に所定時間待機し、今回の再起動予定時刻の前にこのステップS100の処理を実行するようになっている。
従制御部200は、タイマ203の計時する日時が、ステップS100で読み出した曜日及び時刻に対応する予定の日時であるか否かを判別する(S101)。
<<< When the condition data has no weight >>>
First, the sub control unit 200 refers to the restart schedule table data 204a stored in the RAM 204, and reads the day of the week and the time of the current restart schedule (S100). As will be described later, the slave control unit 200 waits for a predetermined time after the previous restart, and executes the process of step S100 before the current restart scheduled time.
The sub control unit 200 determines whether or not the date and time counted by the timer 203 is a scheduled date and time corresponding to the day of the week and time read in step S100 (S101).

タイマ203の計時する日時が予定の日時であると判別した場合(S101:YES)、従制御部200は、RAM204に記憶される履歴データ204bから、後述する条件データ204cと比較するべき項目を選択し、項目によってはこれを現時点の値に更新する(S102)。
次に、従制御部200は、履歴データ204bで選択された項目の現在値と、RAM204に記憶される条件データ204cの閾値とを比較する(S103)。
If it is determined that the date and time counted by the timer 203 is the scheduled date and time (S101: YES), the sub control unit 200 selects an item to be compared with condition data 204c described later from the history data 204b stored in the RAM 204. Depending on the item, this is updated to the current value (S102).
Next, the sub control unit 200 compares the current value of the item selected in the history data 204b with the threshold value of the condition data 204c stored in the RAM 204 (S103).

例えば、商品の販売回数、液晶ディスプレイ210へのタッチ回数、冷却ファン稼働率、無販売時間の何れも閾値以下である場合、且つ、最小空きメモリ容量、最大空きメモリ容量、空きメモリブロック容量の何れも閾値以上である場合、従制御部200は、履歴データ204bが再起動の条件に該当しないと判別する(S104:NO)。
この場合、従制御部200は、所定時間だけスリープ状態にあった後に、前述したステップS100の処理を再度実行する(S105、S106)。具体的には、従制御部200は、所定のタイマ(不図示)をリセットした後に計時を開始させ(S105)、このタイマの計時する時間が所定時間に達したと判別した場合(S106:YES)、ステップS100の処理を実行する。尚、この所定時間は、今回の再起動時刻と次回の再起動時刻との間の時間未満に設定されている。本実施の形態では、この所定時間は、再起動スケジュール表データ204aに基づいて予め求められているものである。
For example, when the number of sales of the product, the number of touches on the liquid crystal display 210, the cooling fan operating rate, and the non-sale time are all equal to or less than the threshold value, and any of the minimum free memory capacity, maximum free memory capacity, and free memory block capacity If the value is also equal to or greater than the threshold, the sub control unit 200 determines that the history data 204b does not satisfy the restart condition (S104: NO).
In this case, the slave control unit 200 executes the process of step S100 described above again after being in the sleep state for a predetermined time (S105, S106). Specifically, the slave control unit 200 starts timing after resetting a predetermined timer (not shown) (S105), and determines that the time measured by this timer has reached a predetermined time (S106: YES) ), The process of step S100 is executed. This predetermined time is set to be less than the time between the current restart time and the next restart time. In the present embodiment, the predetermined time is obtained in advance based on the restart schedule table data 204a.

例えば、商品の販売回数、液晶ディスプレイ210へのタッチ回数、冷却ファン稼働率、無販売時間の何れかが閾値を超えている場合、又は、最小空きメモリ容量、最大空きメモリ容量、空きメモリブロック容量の何れかが閾値未満である場合、従制御部200は、履歴データ204bが再起動の条件に該当すると判別する(S104:YES)。
この場合、従制御部200は再起動を実行する(S107)。具体的には、従制御部200は、ユーザによる商品選択等の入力操作を受け付けないことにより、販売動作を禁止状態とする。次に、従制御部200は再起動した後、前記入力操作の受け付けを再開して、前記禁止状態を解除する。尚、販売禁止状態の設定及びその解除は以上に限定されるものではなく、例えば、従制御部200は、主制御部100に対し、所定の指示信号を送信して、販売禁止状態の設定及びその解除を実行してもよい。また、販売動作を禁止状態とする直前に、従制御部200は、主制御部100と所定の通信を行い、主制御部100が販売動作の途中でないことを確認することが好ましい。もし、主制御部100が販売動作の途中である場合、従制御部200は販売動作が終了したことを確認した後、以後の販売動作を禁止状態とする。
ステップS107の処理の後、従制御部200は、ステップS105の処理を実行する。
For example, when any of the number of sales of the product, the number of touches on the liquid crystal display 210, the cooling fan operating rate, and the non-sale time exceeds a threshold, or the minimum free memory capacity, the maximum free memory capacity, and the free memory block capacity If any of these is less than the threshold value, the secondary control unit 200 determines that the history data 204b satisfies the restart condition (S104: YES).
In this case, the slave control unit 200 executes restart (S107). Specifically, the sub control unit 200 prohibits the sales operation by not accepting an input operation such as product selection by the user. Next, after the secondary control unit 200 restarts, the secondary control unit 200 resumes accepting the input operation and releases the prohibited state. The setting and release of the sales prohibition state are not limited to the above. For example, the slave control unit 200 transmits a predetermined instruction signal to the main control unit 100 to set the sales prohibition state and The cancellation may be executed. Moreover, it is preferable that the sub control unit 200 performs predetermined communication with the main control unit 100 and confirms that the main control unit 100 is not in the middle of the sales operation immediately before the sales operation is prohibited. If the main control unit 100 is in the middle of the sales operation, the sub control unit 200 confirms that the sales operation has ended, and then prohibits the subsequent sales operation.
After the process of step S107, the sub control unit 200 executes the process of step S105.

以上により、再起動スケジュール表データ204aで予定されていた日時において、履歴データ204bがRAM204の空きメモリ領域の減少や断片化等の発生を示唆している場合には、予定通り従制御部200の再起動が実行され、このような示唆が認められない場合には、再起動が実行されないことになる。   As described above, when the history data 204b indicates the occurrence of a decrease in the free memory area of the RAM 204 or fragmentation at the date and time scheduled in the restart schedule table data 204a, If a restart is performed and no such suggestion is found, the restart will not be performed.

<<<条件データが重みを有する場合>>>
前述したステップS203及びS204の処理は、自動販売機1の補助機能にかかる履歴情報の数値が、条件データ204c(図4(b))の何れか1つの閾値により定められる範囲から外れた場合、従制御部200の再起動が実行されるものであった。但し、履歴情報と再起動条件との比較のし方は、これに限定されるものではない。
<<< When condition data has weight >>>
The processing in steps S203 and S204 described above is performed when the numerical value of the history information related to the auxiliary function of the vending machine 1 is out of the range determined by any one threshold value of the condition data 204c (FIG. 4B). The slave control unit 200 is restarted. However, the method of comparing the history information with the restart condition is not limited to this.

図6(a)に例示されるように、条件データ204c’は、各閾値どうしの軽重を示す重み(重み係数)と、再起動の有無を判断するための後述する合計評価指数(合計値)の閾値を定める基準合計評価指数(所定値)とを更に備えて構成されていてもよい。   As illustrated in FIG. 6A, the condition data 204c ′ includes a weight (weight coefficient) indicating the weight of each threshold value and a total evaluation index (total value) to be described later for determining whether or not to restart. And a reference total evaluation index (predetermined value) that defines the threshold value.

この場合、ステップS203及びS204において、履歴データ204b’(図6(b))の現在値と、条件データ204c’の閾値とを比較して、各項目の1次判定結果を求める。図6(b)の例示では、履歴データ204b’の示す商品の販売回数(「250回」)は、条件データ204c’の示す閾値(「200回」)を超えるため、1次判定結果としてNGを示す「1」を対応付ける。また、履歴データ204b’の示す空きメモリブロック容量(「150kB」)は、条件データ204c’の示す閾値(「200kB」)未満であるため、同様に「1」を対応付ける。一方、図6(b)の例示では、OKを意味する場合には「0」を対応付けている。   In this case, in steps S203 and S204, the current value of the history data 204b '(FIG. 6B) is compared with the threshold value of the condition data 204c' to obtain a primary determination result for each item. In the example of FIG. 6B, since the number of sales (“250 times”) of the product indicated by the history data 204b ′ exceeds the threshold value (“200 times”) indicated by the condition data 204c ′, NG is determined as the primary determination result. Is associated with “1”. Further, since the free memory block capacity (“150 kB”) indicated by the history data 204 b ′ is less than the threshold value (“200 kB”) indicated by the condition data 204 c ′, “1” is similarly associated. On the other hand, in the example of FIG. 6B, “0” is associated with OK.

本実施の形態では、1次判定結果としてNGであった項目に対し、条件データ204c’で定められる重みが考慮されるようになっている。図6(b)の例示では、1次判定でNGとなった商品の販売回数については、NGを示す「1」に対し重み「5」を乗算して得られた数値「5」を評価指数とする。また、1次判定でNGとなった空きメモリブロック容量については、NGを示す「1」に対し重み「10」を乗算して得られた数値「10」を評価指数とする。図6(b)に例示されるように、本実施の形態の履歴データ204b’は、以上の評価指数の合計値を備えて構成される(合計評価指数「15」)。   In the present embodiment, the weight determined by the condition data 204c ′ is taken into consideration for an item that is NG as the primary determination result. In the example of FIG. 6B, for the number of sales of the product that has been judged as NG in the primary determination, a numerical value “5” obtained by multiplying “1” indicating NG by a weight “5” is used as the evaluation index. And For the free memory block capacity that is NG in the primary determination, a numerical value “10” obtained by multiplying “1” indicating NG by a weight “10” is used as an evaluation index. As illustrated in FIG. 6B, the history data 204b 'according to the present embodiment is configured to include the total value of the above evaluation indices (total evaluation index "15").

一方、前述したように、条件データ204c’は、再起動の有無を判断するための合計評価指数の閾値を定めている(基準合計評価指数)。本実施の形態では、履歴データ204b’の合計評価指数が条件データ204c’の基準合計評価指数以上の場合、従制御部200の再起動を実行する一方、合計評価指数が基準合計評価指数未満の場合、再起動を実行しないようになっている。図6(a)及び図6(b)の例示によれば、合計評価指数(「15」)は基準合計評価指数(「15」)以上であるため、従制御部200の再起動が実行される。   On the other hand, as described above, the condition data 204c ′ defines a threshold value of the total evaluation index for determining whether or not to restart (reference total evaluation index). In the present embodiment, when the total evaluation index of the history data 204b ′ is equal to or greater than the reference total evaluation index of the condition data 204c ′, the slave control unit 200 is restarted, while the total evaluation index is less than the reference total evaluation index. If so, do not perform a reboot. According to the illustrations of FIGS. 6A and 6B, the total evaluation index (“15”) is equal to or greater than the reference total evaluation index (“15”), so that the slave control unit 200 is restarted. The

尚、前述した条件データ204c’における重み及び基準合計評価指数は、例えば自動販売機1の工場出荷時に予め設定されていてもよいし、例えば自動販売機1の設置時にルートマン等によりコントロールパネル155を通じて設定されてもよい。   The weight and the reference total evaluation index in the condition data 204c ′ described above may be set in advance when the vending machine 1 is shipped from the factory, for example, or the control panel 155 may be used by a route man or the like when the vending machine 1 is installed. May be set through.

また、前述した重みや評価指数の数値は一例であって、これに限定されるものではない。要するに、重みは、各項目間の軽重を決める相対的な情報であればいかなるものでもよいし、評価指数は、再起動の有無を判断するために基準となる情報と比較できる情報であればいかなるものでもよい。   Moreover, the numerical values of the above-described weights and evaluation indices are examples, and are not limited to these. In short, the weight can be any relative information that determines the weight of each item, and the evaluation index can be any information that can be compared with the reference information to determine whether or not to restart. It may be a thing.

===従制御部の再起動(2)===
本実施の形態の自動販売機1が例えばカップ飲料を販売するカップ式自動販売機である場合、販売機構135の配管等に水を通す所謂リンス機能を備えている場合がある。このリンス機能は、例えば特開2004−323063号公報に開示される周知の構成により実現される。また、主制御部100のRAM104に所定のスケジュール(不図示)を記憶させておけば、タイマ103により計時される日時がスケジュールの示す日時と一致したとき、リンス機能を自動的に実行可能である。リンス時には販売機構135の販売動作は禁止状態となるため、同様に販売動作を禁止状態とする従制御部200の再起動の時期をリンスの時期と重ねることが好ましい。
=== Reactivation of the slave control unit (2) ===
When the vending machine 1 of the present embodiment is a cup-type vending machine that sells cup beverages, for example, it may have a so-called rinsing function for passing water through the piping of the sales mechanism 135 or the like. This rinse function is realized by a known configuration disclosed in, for example, Japanese Patent Application Laid-Open No. 2004-323063. If a predetermined schedule (not shown) is stored in the RAM 104 of the main control unit 100, the rinsing function can be automatically executed when the date and time counted by the timer 103 coincides with the date and time indicated by the schedule. . Since the sales operation of the sales mechanism 135 is prohibited during rinsing, it is preferable that the timing of restarting the slave control unit 200 that similarly prohibits the sales operation is overlapped with the time of rinsing.

図7に例示されるように、従制御部200のRAM204に記憶される再起動スケジュール表データ204a’は、主制御部100のRAM104に記憶される所定のリンススケジュール表データ(不図示)に基づいて構成されている。同図は、本実施の形態のRAM204に記憶される再起動スケジュール表データ204a’の構成例を示す図表である。   As illustrated in FIG. 7, the restart schedule table data 204 a ′ stored in the RAM 204 of the slave control unit 200 is based on predetermined rinse schedule table data (not shown) stored in the RAM 104 of the main control unit 100. Configured. This figure is a chart showing a configuration example of the restart schedule table data 204a 'stored in the RAM 204 of the present embodiment.

この再起動スケジュール表データ204a’は、再起動スケジュール表データ204a(図3)を、自動リンスを実行する日時と重なるように変更した構成を備えている。この変更は、例えば、従制御部100が、主制御部100のRAM104に記憶されるリンススケジュール表データを定期的に参照することにより可能となる。同図の例示では、自動リンスが実行される曜日において、再起動予定時刻は、リンス時刻(「4:30」)に所定時間(「Δt」)を加算した時刻に変更されている。もともと再起動が予定されていない日曜日であっても、リンスが実行される場合には、この時刻に合わせて再起動を実行するように変更されている。また、各曜日には、リンスの実行の有無を示す情報が対応付けられている。   The restart schedule table data 204a 'has a configuration in which the restart schedule table data 204a (FIG. 3) is changed so as to overlap with the date and time when automatic rinsing is executed. This change can be made, for example, when the slave control unit 100 periodically refers to the rinse schedule table data stored in the RAM 104 of the main control unit 100. In the example shown in the drawing, the scheduled restart time is changed to a time obtained by adding a predetermined time (“Δt”) to the rinse time (“4:30”) on the day of the week when the automatic rinse is executed. Even if it is a Sunday that is not scheduled to be restarted, when the rinse is executed, the restart is changed in accordance with this time. Each day of the week is associated with information indicating whether or not rinsing is performed.

図8を参照しつつ、前述した再起動スケジュール表データ204a’に基づいて、従制御部200を再起動する動作について説明する。同図は、本実施の形態の従制御部200の再起動の際の処理の手順を示すもう一つのフローチャートである。   The operation of restarting the slave control unit 200 based on the restart schedule table data 204a 'described above will be described with reference to FIG. This figure is another flowchart showing a processing procedure when the slave control unit 200 of this embodiment is restarted.

従制御部200は、RAM204に記憶される再起動スケジュール表データ204a’を参照して、今回の再起動予定の曜日及び時刻を読み出す(S200)。
ステップS200で読み出した曜日が自動リンスを実行する曜日と同期していない場合(S201:NO)、従制御部200は、ステップS202乃至S208において、前述したステップS101乃至S107の処理と同じ処理を実行する。これにより、再起動スケジュール表データ204a’で予定されていた日時において、履歴データ204bがRAM204の空きメモリ領域の減少や断片化等の発生を示唆している場合には、予定通り従制御部200の再起動が実行され、このような示唆が認められない場合には、再起動が実行されないことになる。
The sub control unit 200 refers to the restart schedule table data 204a ′ stored in the RAM 204, and reads the day and time of the current restart schedule (S200).
When the day of the week read in step S200 is not synchronized with the day of the week on which the automatic rinsing is performed (S201: NO), the secondary control unit 200 performs the same processing as the processing of steps S101 to S107 described above in steps S202 to S208. To do. As a result, when the history data 204b indicates the occurrence of a decrease in the free memory area of the RAM 204 or fragmentation at the date and time scheduled in the restart schedule table data 204a ′, the slave control unit 200 as scheduled. If such a suggestion is not recognized, the restart is not executed.

一方、ステップS200で読み出した曜日が自動リンスを実行する曜日と同期している場合(S201:YES)、従制御部200は、再起動スケジュール表データ204a’で指定される時刻に再起動処理を無条件に実行する(S209、S208)。例えば、リンス時刻が4:30の場合、再起動は(4:30+Δt)に実行される。リンスに要する時間をΔt1とし、再起動に要する時間をΔt2とした場合(但し、Δt1>Δt2)、Δtは、予め(Δt1−Δt2)未満に設定されていれば、再起動の期間は確実にリンス期間内で重なることになる。   On the other hand, when the day of the week read in step S200 is synchronized with the day of the week on which the automatic rinsing is performed (S201: YES), the sub control unit 200 performs the restart process at the time specified by the restart schedule table data 204a ′. Execute unconditionally (S209, S208). For example, when the rinse time is 4:30, the restart is performed at (4: 30 + Δt). When the time required for rinsing is Δt1 and the time required for restart is Δt2 (where Δt1> Δt2), if Δt is set in advance to be less than (Δt1−Δt2), the restart period is ensured. It will overlap within the rinse period.

尚、前述した実施の形態では、従制御部200の再起動を自動リンスの時期と重ねるものであったが、これに限定されるものではなく、例えば、自動サニテーション等の時期と重ねるものであってもよい。要するに、自動販売機1の販売動作を禁止状態にして定期的に実行する必須の動作があれば、従制御部2の再起動をこの動作時期とできるだけ重ねることが好ましい。   In the above-described embodiment, the restart of the slave control unit 200 overlaps with the time of automatic rinsing. However, the present invention is not limited to this, and for example, overlaps with the time of automatic sanitation or the like. There may be. In short, if there is an indispensable operation that is executed periodically with the sales operation of the vending machine 1 prohibited, it is preferable to restart the slave control unit 2 as much as possible with this operation timing.

また、前述した実施の形態では、ステップS201でリンス時期と同期するか否かによって、履歴情報に応じて再起動する処理と、無条件で再起動する処理とに分かれるものであったが、これに限定されるものではない。例えば、履歴情報を判別した結果として再起動を実行するときに、当該曜日におけるリンス時期の有無を判別し、リンス時期が有ると判別した場合、このリンス時刻まで待機してから再起動を実行するものとしてもよい。   Further, in the above-described embodiment, depending on whether or not to synchronize with the rinse time in step S201, the process is restarted according to the history information and unconditionally restarted. It is not limited to. For example, when restarting is performed as a result of determining history information, it is determined whether there is a rinse time on the day of the week, and if it is determined that there is a rinse time, the restart is executed after waiting until this rinse time It may be a thing.

===商品の販売機会の損失の抑制===
本実施の形態の自動販売機1によれば、従制御部200は、商品の販売機会の損失を最小限に抑えると推定される日時において、履歴情報に基づいて再起動が実際に必要か否かを判断できる。例えば、履歴情報が、実際に再起動が必要ではないことを示すものであれば、再起動は実行されないため、その分、販売機会の損失を回避できることになる。つまり、商品の販売機会の損失を抑制しつつ、従制御部200の再起動を実行できる。
=== Suppression of loss of product sales opportunities ===
According to the vending machine 1 of the present embodiment, whether or not the secondary control unit 200 is actually required to restart based on the history information at the date and time estimated to minimize the loss of merchandise sales opportunities. Can be determined. For example, if the history information indicates that it is not actually necessary to restart, the restart is not executed, so that the loss of sales opportunities can be avoided accordingly. That is, the slave control unit 200 can be restarted while suppressing a loss of sales opportunities for the product.

また、本実施の形態の自動販売機1によれば、再起動を実行するための条件が複数の項目からなる場合、各項目間の軽重に応じて、この条件に対する履歴情報の適合の有無を判断できる。つまり、従制御部200の再起動を実行するための条件に予め優先度を付けておくことができるため、商品の販売機会の損失をより効果的に抑制できる。   Further, according to the vending machine 1 of the present embodiment, when the condition for executing the restart includes a plurality of items, whether or not the history information conforms to the condition is determined according to the weight between the items. I can judge. That is, since it is possible to prioritize the conditions for executing the restart of the slave control unit 200 in advance, it is possible to more effectively suppress the loss of merchandise sales opportunities.

更に、本実施の形態の自動販売機1が、自動リンスや自動サニテーション等の機能を有するカップ式自動販売機である場合、販売動作の禁止を伴うこれらの機能の実行時期と重なるように、再起動が実行される。よって、商品の販売機会の損失をより効果的に抑制できる。   Furthermore, when the vending machine 1 of the present embodiment is a cup-type vending machine having functions such as automatic rinsing and automatic sanitation, it overlaps with the execution time of these functions accompanied by prohibition of the sales operation. A restart is performed. Therefore, the loss of the sales opportunity of goods can be controlled more effectively.

尚、前述した実施の形態では、ステップS107、S208の従制御部200の再起動時に、自動販売機1の販売動作を中断するものであったが、これに限定されるものではなく、例えば、販売動作を中断せずに前記再起動を実行してもよい。例えば、主制御部100の販売動作のうち、従制御部200の動作と連携していない動作は、従制御部200の再起動時であっても実行可能である。また、本実施の形態のように、従制御部200の制御対象がユーザによる入力操作にかかるものである場合、従制御部200の再起動時には、ユーザの入力を自動的に受け付けない可能性があるため、販売動作を特に中断する必要はない。更に、再起動に際し販売動作を中断する場合、再起動時期は、前述したように、この中断時期内で重なることに限定されるものではない。要するに、再起動時期は、中断時期と重なる時間帯を有していればよい。   In the above-described embodiment, the sales operation of the vending machine 1 is interrupted when the slave control unit 200 is restarted in steps S107 and S208. However, the present invention is not limited to this. For example, The restart may be executed without interrupting the sales operation. For example, among the sales operations of the main control unit 100, operations that are not linked with the operation of the sub control unit 200 can be executed even when the sub control unit 200 is restarted. Moreover, when the control target of the sub control unit 200 is related to an input operation by the user as in the present embodiment, there is a possibility that the user's input is not automatically accepted when the sub control unit 200 is restarted. Therefore, there is no need to interrupt the sales operation. Furthermore, when the sales operation is interrupted at the time of restart, the restart timing is not limited to overlapping within the interrupt timing as described above. In short, the restart time only needs to have a time zone overlapping with the interruption time.

また、前述した実施の形態では、自動販売機1の従制御部200は、再起動の予定日時において再起動の実行の有無を判断するものであったが、これに限定されるものではない。例えば、従制御部200は、前述したステップS102又はS203における履歴情報の解析を常時行うものであってもよい。   In the above-described embodiment, the slave control unit 200 of the vending machine 1 determines whether or not the restart is executed at the scheduled restart date and time, but is not limited thereto. For example, the slave control unit 200 may always perform analysis of history information in step S102 or S203 described above.

更に、前述した実施の形態では、自動販売機1の従制御部200の再起動は、この従制御部200自体が実行するものであったが、これに限定されるものではなく、例えば、主制御部100が従制御部200の再起動を実行指示してもよい。   Further, in the above-described embodiment, the restart of the slave control unit 200 of the vending machine 1 is executed by the slave control unit 200 itself, but is not limited to this. The control unit 100 may instruct execution of restart of the slave control unit 200.

尚、前述した従制御部200のCPU201と、このCPU201にステップS101、及びステップS202の処理を実行させる所定のプログラムとが、本発明の検出部に相当する。また、前述した従制御部200のCPU201と、このCPU201にステップS102、S103、及びステップS203、S204の処理を実行させる所定のプログラムとが、本発明の判別部に相当する。更に、前述した従制御部200のCPU201と、このCPU201にステップS107、及びステップS208の処理を実行させる所定のプログラムとが、本発明の再起動部に相当する。   The CPU 201 of the slave control unit 200 described above and the predetermined program that causes the CPU 201 to execute the processes of steps S101 and S202 correspond to the detection unit of the present invention. The CPU 201 of the slave control unit 200 described above and the predetermined program that causes the CPU 201 to execute the processes of steps S102 and S103 and steps S203 and S204 correspond to the determination unit of the present invention. Further, the CPU 201 of the slave control unit 200 described above and the predetermined program that causes the CPU 201 to execute the processes of steps S107 and S208 correspond to the restarting unit of the present invention.

前述した発明の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。本発明は、その趣旨を逸脱することなく変更、改良され得るとともに、本発明にはその等価物も含まれる。   The above-described embodiments of the present invention are intended to facilitate understanding of the present invention, and are not intended to limit the present invention. The present invention can be changed and improved without departing from the gist thereof, and equivalents thereof are also included in the present invention.

前述した従制御部200の補助機能は、タッチパネル220を伴う液晶ディスプレイ210の機能に限定されるものではなく、広く、商品の販売動作の機能を補助する機能であればいかなる機能であってもよい。   The auxiliary function of the slave control unit 200 described above is not limited to the function of the liquid crystal display 210 with the touch panel 220, and may be any function as long as it is a function that assists the function of merchandise sales operation. .

また、前述した従制御部200の補助機能にかかる履歴情報は、前述した実施の形態の履歴データ204b、204b’に限定されるものではない。要するに、RAM204のメモリ領域の減少又は断片化等と相関を有する情報であれば、いかなる情報であってもよい。   Further, the history information related to the auxiliary function of the slave control unit 200 described above is not limited to the history data 204b and 204b 'of the above-described embodiment. In short, any information may be used as long as the information correlates with a decrease or fragmentation of the memory area of the RAM 204.

本実施の形態の自動販売機の外観構成の一例を示す正面図である。It is a front view which shows an example of the external appearance structure of the vending machine of this Embodiment. 本実施の形態の自動販売機の動作を司る構成の一例を示すブロック図である。It is a block diagram which shows an example of the structure which manages operation | movement of the vending machine of this Embodiment. 本実施の形態の再起動スケジュール表データの構成例を示す図表である。It is a chart which shows the structural example of the restart schedule table data of this Embodiment. (a)は、本実施の形態の履歴データの構成例を示す図表であり、(b)は、本実施の形態の条件データの構成例を示す図表である。(A) is a chart which shows the example of a structure of the historical data of this Embodiment, (b) is a chart which shows the example of a structure of the condition data of this Embodiment. 本実施の形態の従制御部の再起動の際の処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process in the case of restart of the subordinate control part of this Embodiment. (a)は、本実施の形態の条件データの構成例を示すもう一つの図表であり、(b)は、本実施の形態の履歴データの構成例を示すもう一つの図表である。(A) is another chart which shows the example of composition of the condition data of this embodiment, and (b) is another chart which shows the example of composition of the history data of this embodiment. 本実施の形態の再起動スケジュール表データの構成例を示すもう一つの図表である。It is another figure which shows the structural example of the restart schedule table data of this Embodiment. 本実施の形態の従制御部の再起動の際の処理の手順を示すもう一つのフローチャートである。It is another flowchart which shows the procedure of the process at the time of restart of the subordinate control part of this Embodiment.

符号の説明Explanation of symbols

1 自動販売機 2 前扉
3 ハンドル 4 硬貨投入口
5 返却レバー 6 紙幣挿入口
7 商品取出口 8 金銭返却口
100 主制御部 101 CPU
102 カウンタ 103 タイマ
104 RAM 105 ROM
110 硬貨識別装置 120 紙幣識別装置
130 販売制御部 135 販売機構
140 冷熱制御部 145 冷熱機構
150 入出力制御部 155 コントロールパネル
200 従制御部 201 CPU
202 カウンタ 203 タイマ
204 RAM 205 ROM
204a、204a’ 再起動スケジュール表データ
204b、204b’ 履歴データ
204c、204c’ 条件データ
210 液晶ディスプレイ 220 タッチパネル
230 拡張I/O 300 通信ケーブル
DESCRIPTION OF SYMBOLS 1 Vending machine 2 Front door 3 Handle 4 Coin slot 5 Return lever 6 Bill insertion slot 7 Product outlet 8 Money return slot 100 Main control part 101 CPU
102 Counter 103 Timer 104 RAM 105 ROM
DESCRIPTION OF SYMBOLS 110 Coin identification apparatus 120 Banknote identification apparatus 130 Sales control part 135 Sales mechanism 140 Cooling / heating control part 145 Cooling / heating mechanism 150 Input / output control part 155 Control panel 200 Subordinate control part 201 CPU
202 Counter 203 Timer 204 RAM 205 ROM
204a, 204a 'Restart schedule table data 204b, 204b' History data 204c, 204c 'Condition data 210 Liquid crystal display 220 Touch panel 230 Extended I / O 300 Communication cable

Claims (7)

商品の販売動作を制御する制御部と、前記制御部の制御動作を補助する補助制御部と、を備えた自動販売機であって、
前記補助制御部を再起動するための条件が記憶される条件記憶部と、
前記補助制御部に関する履歴が記憶される履歴記憶部と、
前記履歴が前記条件に該当するか否かを判別する判別部と、
前記履歴が前記条件に該当するものと前記判別部が判別した場合、前記補助制御部を再起動する再起動部と、
を備えたことを特徴とする自動販売機。
A vending machine comprising a control unit that controls the sales operation of a product, and an auxiliary control unit that assists the control operation of the control unit,
A condition storage unit for storing conditions for restarting the auxiliary control unit;
A history storage unit storing a history of the auxiliary control unit;
A discriminator for discriminating whether or not the history satisfies the condition;
A restart unit that restarts the auxiliary control unit when the determination unit determines that the history corresponds to the condition;
Vending machine characterized by having
前記再起動部は、前記補助制御部を再起動する場合、前記制御部の制御動作を停止する、
ことを特徴とする請求項1に記載の自動販売機。
The restarting unit stops the control operation of the control unit when restarting the auxiliary control unit,
The vending machine according to claim 1.
現在時刻を計時する計時部と、
前記判別部の判別時刻が記憶される判別時刻記憶部と、
前記現在時刻が前記判別時刻であるか否かを検出する検出部と、を備え、
前記判別部は、前記現在時刻が前記判別時刻であるものと前記検出部が検出した場合、前記履歴が前記条件に該当するか否かを判別する、
ことを特徴とする請求項1又は2に記載の自動販売機。
A timekeeping section that measures the current time,
A determination time storage unit in which the determination time of the determination unit is stored;
A detection unit that detects whether or not the current time is the determination time,
The determination unit determines whether the history meets the condition when the detection unit detects that the current time is the determination time,
The vending machine according to claim 1 or 2, characterized in that.
前記条件記憶部は、前記条件として複数の条件を記憶し、
前記再起動部は、前記履歴が前記複数の条件の中の1以上の条件に該当するものと前記判別部が判別した場合、前記補助制御部を再起動する、
ことを特徴とする請求項1乃至3の何れかに記載の自動販売機。
The condition storage unit stores a plurality of conditions as the condition,
The restarting unit restarts the auxiliary control unit when the determination unit determines that the history corresponds to one or more of the plurality of conditions.
The vending machine according to any one of claims 1 to 3, wherein
前記条件記憶部は、前記条件として重み係数を有する複数の条件を記憶し、
前記再起動部は、前記履歴が前記複数の条件の中の1以上の条件に該当し、且つ、該当する条件を示す値に重み係数を乗じた値の合計値が所定値を超えたものと前記判別部が判別した場合、前記補助制御部を再起動する、
ことを特徴とする請求項1乃至3の何れかに記載の自動販売機。
The condition storage unit stores a plurality of conditions having weighting factors as the conditions,
The restarting unit is such that the history corresponds to one or more conditions among the plurality of conditions, and a total value of values obtained by multiplying a value indicating the conditions by a weighting coefficient exceeds a predetermined value. If the determination unit determines, restart the auxiliary control unit,
The vending machine according to any one of claims 1 to 3, wherein
カップ飲料を販売する販売部と、
前記販売部を洗浄する洗浄部と、
前記販売部の販売動作及び前記洗浄部の洗浄動作を制御する制御部と、
前記制御部の前記販売動作にかかる制御動作を補助する補助制御部と、
を備えた自動販売機であって、
現在時刻を計時する計時部と、
前記洗浄部による洗浄時刻が記憶される洗浄時刻記憶部と、
前記現在時刻が前記洗浄時刻であるか否かを検出する検出部と、
前記補助制御部を再起動するための条件が記憶される条件記憶部と、
前記補助制御部に関する履歴が記憶される履歴記憶部と、
前記履歴が前記条件に該当するか否かを判別する判別部と、
前記補助制御部を再起動する再起動部と、
を備え、
前記再起動部は、
前記現在時刻が前記洗浄時刻であるものと前記検出部が検出した場合、又は、前記現在時刻が前記洗浄時刻でないものと前記検出部が検出し、且つ、前記履歴が前記条件に該当するものと前記判別部が判別した場合、前記補助制御部を再起動する、
ことを特徴とする自動販売機。
A sales department that sells cup beverages;
A cleaning section for cleaning the sales section;
A control unit for controlling the sales operation of the sales unit and the cleaning operation of the cleaning unit;
An auxiliary control unit for assisting a control operation related to the selling operation of the control unit;
Vending machine with
A timekeeping section that measures the current time,
A cleaning time storage unit for storing a cleaning time by the cleaning unit;
A detection unit for detecting whether or not the current time is the cleaning time;
A condition storage unit for storing conditions for restarting the auxiliary control unit;
A history storage unit storing a history of the auxiliary control unit;
A discriminator for discriminating whether or not the history satisfies the condition;
A restarting unit for restarting the auxiliary control unit;
With
The restarting unit
When the detection unit detects that the current time is the cleaning time, or the detection unit detects that the current time is not the cleaning time, and the history satisfies the condition If the determination unit determines, restart the auxiliary control unit,
Vending machine characterized by that.
商品の販売動作を制御する制御部と、前記制御部の制御動作を補助する補助制御部と、を備えた自動販売機におけるコンピュータに、
前記補助制御部に関する履歴が前記補助制御部を再起動するための条件に該当するか否かを判別する手順と、
前記履歴が前記条件に該当するものと前記判別部が判別した場合、前記補助制御部を再起動する手順と、
を実行させるためのプログラム。

A computer in a vending machine comprising a control unit that controls the sales operation of the product, and an auxiliary control unit that assists the control operation of the control unit,
A procedure for determining whether or not a history related to the auxiliary control unit satisfies a condition for restarting the auxiliary control unit;
A procedure for restarting the auxiliary control unit when the determination unit determines that the history corresponds to the condition;
A program for running

JP2006200855A 2006-07-24 2006-07-24 vending machine Expired - Fee Related JP5011868B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006200855A JP5011868B2 (en) 2006-07-24 2006-07-24 vending machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006200855A JP5011868B2 (en) 2006-07-24 2006-07-24 vending machine

Publications (2)

Publication Number Publication Date
JP2008027294A true JP2008027294A (en) 2008-02-07
JP5011868B2 JP5011868B2 (en) 2012-08-29

Family

ID=39117852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006200855A Expired - Fee Related JP5011868B2 (en) 2006-07-24 2006-07-24 vending machine

Country Status (1)

Country Link
JP (1) JP5011868B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012032980A (en) * 2010-07-30 2012-02-16 Sanyo Electric Co Ltd Display device and vending machine
JP2013123159A (en) * 2011-12-12 2013-06-20 Canon Inc Image processing apparatus and control method of the same, and program
KR101760214B1 (en) * 2016-07-19 2017-07-20 이충근 Power recovery system using smart rack in store and power recovery method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001306345A (en) * 2000-04-17 2001-11-02 Toshiba Tec Corp Information processor and pos terminal
JP2003091768A (en) * 2001-09-18 2003-03-28 Fuji Electric Co Ltd Automatic vending machine
JP2003288131A (en) * 2002-03-27 2003-10-10 Nec Corp System and method for deciding and controlling automatic restarting of device equipped with real-time os

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001306345A (en) * 2000-04-17 2001-11-02 Toshiba Tec Corp Information processor and pos terminal
JP2003091768A (en) * 2001-09-18 2003-03-28 Fuji Electric Co Ltd Automatic vending machine
JP2003288131A (en) * 2002-03-27 2003-10-10 Nec Corp System and method for deciding and controlling automatic restarting of device equipped with real-time os

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012032980A (en) * 2010-07-30 2012-02-16 Sanyo Electric Co Ltd Display device and vending machine
JP2013123159A (en) * 2011-12-12 2013-06-20 Canon Inc Image processing apparatus and control method of the same, and program
KR101760214B1 (en) * 2016-07-19 2017-07-20 이충근 Power recovery system using smart rack in store and power recovery method thereof

Also Published As

Publication number Publication date
JP5011868B2 (en) 2012-08-29

Similar Documents

Publication Publication Date Title
JP5558724B2 (en) Slot machine
JP5558725B2 (en) Slot machine
JP6121129B2 (en) Slot machine
JP2010140142A (en) Cash register coin changer system
JP6220507B2 (en) Slot machine
US9164954B2 (en) Vending accommodation and accessibility
JP2011160911A (en) Slot machine
JP2013169357A (en) Slot machine
JP5011868B2 (en) vending machine
JP2014033806A (en) Slot machine
JP5406117B2 (en) Customer congestion adjustment guidance system
JP2015062598A (en) Slot machine
JP5558726B2 (en) Slot machine
JP5957031B2 (en) Slot machine
JP5957033B2 (en) Slot machine
JP5546774B2 (en) Slot machine
JP5996741B2 (en) Slot machine
JP6139198B2 (en) Station equipment and monitoring panel
JP5634889B2 (en) Automatic transaction apparatus, automatic transaction apparatus control program, and automatic transaction system
JP2008123328A (en) Vending machine
JP2020052989A (en) Automatic vending machine system
JP2000200387A (en) Control circuit for automatic vending machine
JP2014200429A (en) Slot machine
JP2016053926A (en) Information management device, information management method, and information management program
JP2023158924A (en) Washing machine maintenance management system, washing machine and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090415

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120124

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120313

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120508

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120521

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

Free format text: PAYMENT UNTIL: 20150615

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5011868

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150615

Year of fee payment: 3

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

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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