JP2003058939A - Controller for automatic vending machine - Google Patents

Controller for automatic vending machine

Info

Publication number
JP2003058939A
JP2003058939A JP2001244922A JP2001244922A JP2003058939A JP 2003058939 A JP2003058939 A JP 2003058939A JP 2001244922 A JP2001244922 A JP 2001244922A JP 2001244922 A JP2001244922 A JP 2001244922A JP 2003058939 A JP2003058939 A JP 2003058939A
Authority
JP
Japan
Prior art keywords
communication
basic
connection
vending machine
module
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
JP2001244922A
Other languages
Japanese (ja)
Other versions
JP4792676B2 (en
Inventor
Kazuya Umezaki
一也 梅崎
Kazuhiko Sugino
一彦 杉野
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 JP2001244922A priority Critical patent/JP4792676B2/en
Publication of JP2003058939A publication Critical patent/JP2003058939A/en
Application granted granted Critical
Publication of JP4792676B2 publication Critical patent/JP4792676B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a controller for an automatic vending machine capable of performing network communication by using the same basic control function and a communication control means irrespective of presence/absence of expanded functions. SOLUTION: The controller for the automatic vending machine is provided with a basic module that performs basic control of the automatic vending machine 100. The basic module 120 is provided with a basic control part 123 that performs the network communication with a management center 200 and a communication requesting part 124 that outputs a prescribed connection request to a connection interface 121. The basic control part 123 judges a type of external equipment as for the basic module 120 based on the contents of connection response to the connection interface 121 of the connection request.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、各種の自動販売機
の制御を行なうための制御装置に関し、特に、管理セン
ター等の所定の通信先との間においてネットワーク通信
を行うための構成等に特徴を有する、自動販売機の制御
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device for controlling various vending machines, and particularly to a configuration for performing network communication with a predetermined communication destination such as a management center. And a control device for a vending machine.

【0002】[0002]

【従来の技術】従来から、金銭等の投入と引き換えに、
飲料や煙草等の各種の商品を受け渡す自動販売機が提案
されている。この自動販売機は、設置面積に対する販売
効率が高く、また、省人化を図ることができて収益性も
高い等の理由により、各地に広く普及している。そし
て、現在では、多種多様な自動販売機が開発されてお
り、販売サービスに付加価値を付けたり、収益性を一層
高めるための様々な工夫が施されている。
2. Description of the Related Art Conventionally, in exchange for the input of money,
A vending machine that delivers various products such as beverages and cigarettes has been proposed. This vending machine is widely used in various places because of its high sales efficiency with respect to its installation area, labor saving, and high profitability. At present, a wide variety of vending machines have been developed, and various measures have been taken to add value to sales services and further increase profitability.

【0003】ここで、自動販売機の信頼性や収益性を高
めるためには、自動販売機における販売状況等を迅速に
監視等できるようにすることが好ましい。このような目
的から、近年、管理センターとの間においてネットワー
ク通信を行うことができる自動販売機が提案されてい
る。このような自動販売機においては、自動販売機の各
種のデータが、ネットワークを介して管理センターに送
信され、この管理センターにおいて集中的に管理され
る。
Here, in order to increase the reliability and profitability of the vending machine, it is preferable to be able to quickly monitor the sales situation of the vending machine. For such a purpose, an automatic vending machine capable of performing network communication with a management center has recently been proposed. In such a vending machine, various data of the vending machine are transmitted to the management center via the network and are centrally managed in this management center.

【0004】図6には、このような従来の自動販売機を
含んだシステムの要部構成を示す。この図6に示すよう
に、複数の自動販売機500は、これら各自動販売機5
00の管理を行う管理センター600に対して公衆回線
網700を介して通信可能に接続される。
FIG. 6 shows a main structure of a system including such a conventional vending machine. As shown in FIG. 6, a plurality of automatic vending machines 500 are provided.
00 is communicably connected to a management center 600 that manages 00 via a public line network 700.

【0005】ここで、各自動販売機500は、当該自動
販売機500の制御を行う基本モジュール510と、こ
の基本モジュール510と公衆回線網700との間の通
信制御を行うモデム520とを備えて構成されていた。
このうち、基本モジュール510は、モデム520との
接続インターフェース511、PPP通信制御を行うP
PP512、自動販売機500の各種の制御を実行する
アプリケーションによって構成される基本制御部51
3、および、自動販売機500と管理センター600と
の間の接続制御を行う接続制御部514を備えて構成さ
れていた。また、管理センター600は、通信回線とし
ての回線610、PPP通信制御を行うPPP620、
および、管理センター600の各種の制御を行う管理制
御部630を備えて構成されていた。
Here, each vending machine 500 comprises a basic module 510 for controlling the vending machine 500, and a modem 520 for controlling communication between the basic module 510 and the public line network 700. Was configured.
Of these, the basic module 510 is a connection interface 511 with the modem 520, and P for performing PPP communication control.
Basic control unit 51 configured by an application that executes various controls of PP 512 and vending machine 500
3 and the connection control unit 514 that controls the connection between the vending machine 500 and the management center 600. Further, the management center 600 includes a line 610 as a communication line, a PPP 620 that performs PPP communication control,
In addition, the management center 600 is provided with a management control unit 630 that performs various controls of the management center 600.

【0006】このような構成において、基本モジュール
510の基本制御部513が管理センター600の管理
制御部630と通信を行う場合、以下のような通信処理
を行っていた。すなわち、概略的には、図7に示すよう
に、基本制御部513が接続制御部514に対して接続
要求を行うと、この接続制御部514が、PPP512
および接続インターフェース511を介してモデム52
0の制御を開始する。すると、モデム520は、公衆回
線網700を介して、回線610およびPPP620と
の間で接続を確立する。このように接続が確立された
後、図8に示すように、基本制御部513は、PPP5
12、接続インターフェース511、モデム520、お
よび、公衆回線網700と、管理センター600の回線
610およびPPP620を介して管理制御部630と
PPP通信を行う。
In such a configuration, when the basic control unit 513 of the basic module 510 communicates with the management control unit 630 of the management center 600, the following communication processing is performed. That is, roughly, as shown in FIG. 7, when the basic control unit 513 makes a connection request to the connection control unit 514, the connection control unit 514 causes the PPP 512 to be connected.
And the modem 52 via the connection interface 511.
0 control is started. Then, the modem 520 establishes a connection with the line 610 and the PPP 620 via the public line network 700. After the connection is established in this way, as shown in FIG.
12, PPP communication is performed with the management control unit 630 via the line 610 of the management center 600, the PPP 620, and the connection interface 511, the modem 520, the public line network 700.

【0007】このような従来の接続確立に至る処理を一
層詳細に説明する。図9のシーケンス図に示すように、
まず、基本制御部513が接続制御部514に対して接
続要求を行う(ステップSC−1)。この接続要求を受
けた接続制御部514はPPP512に対して接続要求
を行い(ステップSC−2)、PPP512は、接続イ
ンターフェース511を介してモデム520にATコマ
ンドを送信する(ステップSC−3)。これを受けたモ
デム520は、公衆回線網700および管理センター6
00の回線610を介してPPP620と接続確立を行
った後(ステップSC−4〜SC−5)、接続インター
フェース511を介してPPP512にCONNECT
応答を行う(ステップSC−6)。
The process for establishing such a conventional connection will be described in more detail. As shown in the sequence diagram of FIG.
First, the basic control unit 513 makes a connection request to the connection control unit 514 (step SC-1). Upon receiving this connection request, the connection control unit 514 makes a connection request to the PPP 512 (step SC-2), and the PPP 512 transmits an AT command to the modem 520 via the connection interface 511 (step SC-3). Upon receiving this, the modem 520 changes the public line network 700 and the management center 6
After establishing connection with the PPP 620 via the line 610 of 00 (steps SC-4 to SC-5), CONNECT to the PPP 512 via the connection interface 511.
A response is given (step SC-6).

【0008】このように接続確立が行われた後、PPP
512は、接続インターフェース511、モデム52
0、公衆回線網700、および、回線610を介してP
PP620にConfigureRequestを送信し(ステップSC
−7)、このPPP620からConfigureAckを受信する
ことにより(ステップSC−8)、PPP通信における
データリンクを確立する。その後、PPP512は接続
制御部514に接続応答を送信し(ステップSC−
9)、これを受けた接続制御部514は、基本制御部5
13に接続応答を送信する(ステップSC−10)。そ
して、これ以降、基本制御部513が、管理制御部63
0との間でPPP通信を行う。
After the connection is established in this way, the PPP
Reference numeral 512 denotes a connection interface 511 and a modem 52.
0, the public line network 700, and the P via the line 610.
Send Configure Request to PP620 (Step SC
-7) By receiving ConfigureAck from this PPP 620 (step SC-8), a data link in PPP communication is established. After that, the PPP 512 transmits a connection response to the connection control unit 514 (step SC-
9), the connection control unit 514 which receives this, the basic control unit 5
A connection response is transmitted to 13 (step SC-10). After that, the basic control unit 513 causes the management control unit 63 to
PPP communication with 0 is performed.

【0009】ここで、近年、自動販売機の信頼性や収益
性を一層高めるため、この自動販売機の機能を拡張した
いとの要望がある。例えば、商品の販売状況や時間帯等
に応じて商品価格を切替えたり、季節や外気温等に応じ
て商品の保冷温度を切替えたいとの要望がある。そこ
で、この要望に応えるための一手段として、自動販売機
の内部に、基本モジュールとは別個に、拡張部分の制御
を行う拡張モジュールを設けることが考えられている。
そして、この拡張モジュールが、必要に応じて管理セン
ターと通信し、自動販売機の拡張的な制御を行う。
In recent years, there has been a demand for expanding the function of the vending machine in order to further enhance the reliability and profitability of the vending machine. For example, there is a demand to switch the product price according to the sales situation of the product, the time zone, or the like, or to switch the cold storage temperature of the product according to the season, the outside air temperature, or the like. Therefore, as one means for responding to this demand, it is considered to provide an expansion module inside the vending machine, separately from the basic module, for controlling the expansion part.
Then, this expansion module communicates with the management center as needed to perform the expansion control of the vending machine.

【0010】[0010]

【発明が解決しようとする課題】しかしながら、このよ
うに基本モジュールに加えて拡張モジュールを設けた場
合において、これら基本モジュールと拡張モジュールと
がそれぞれ管理センターとの間で通信を行う必要がある
場合には、種々の問題があった。
However, in the case where the expansion module is provided in addition to the basic module as described above, when the basic module and the expansion module need to communicate with the management center, respectively. Had various problems.

【0011】(1)まず、単に基本モジュールと管理セ
ンターとを通信可能とし、さらに、拡張モジュールと管
理センターとを通信可能にする場合には、これらそれぞ
れの通信系統毎にモデム等の通信制御手段が必要にな
り、コスト等の面から好ましくない。
(1) First, in the case where the basic module and the management center are simply allowed to communicate with each other, and further the extension module and the management center are allowed to communicate with each other, communication control means such as a modem is provided for each of these communication systems. Are required, which is not preferable in terms of cost and the like.

【0012】(2)ここで、このような問題を解決する
ためには、概念的に、基本モジュールとモデムとの間に
拡張モジュールを配置し、拡張モジュールと管理センタ
ーとの通信と、基本モジュールと管理センターとの通信
とを、共通のモデムを介して行うことが考えられる。し
かしながら、このような構成を採用した場合、従来とは
異なり、基本モジュールが直接的に通信を行うのはモデ
ムではなく拡張モジュールになるため、基本モジュール
の通信制御を行うアプリケーションの記述内容を変更す
る必要がある等、システム構成に手間がかかるという問
題があった。
(2) Here, in order to solve such a problem, conceptually, an expansion module is arranged between the basic module and the modem, communication between the expansion module and the management center, and the basic module. It is conceivable that the communication with the management center is performed via a common modem. However, when such a configuration is adopted, unlike the conventional case, it is the extension module that directly communicates with the basic module, not the modem, so the description content of the application that controls the communication of the basic module is changed. There is a problem in that it takes time to configure the system because of the necessity.

【0013】(3)また、このように拡張モジュールを
備えない通常の自動販売機と、拡張モジュールを備えた
自動販売機とを両方製造する必要がある場合、前者の自
動販売機の基本モジュールには、モデムに対して通信を
行うように記述されたアプリケーションを導入し、後者
の自動販売機の基本モジュールには、拡張モジュールに
対して直接的な通信を行うように記述されたアプリケー
ションを導入する必要がある等、拡張モジュールの有無
に応じて異なる基本モジュールを用意する必要があり、
自動販売機の製造コストや管理コストを上昇させる等の
問題があった。
(3) When it is necessary to manufacture both a normal vending machine without an expansion module and an automatic vending machine with an expansion module as described above, the basic module of the former vending machine is used. Installs an application written to communicate with a modem, and installs an application written to communicate directly with an expansion module in the latter basic module of a vending machine. It is necessary to prepare different basic modules depending on the presence or absence of extension modules,
There was a problem such as an increase in manufacturing costs and management costs of vending machines.

【0014】本発明は上記問題に鑑みてなされたもの
で、拡張機能の有無に関わらず同一の基本制御機能およ
び通信制御手段を用いてネットワーク通信を行うこと等
のできる、自動販売機の制御装置を提供することを目的
としている。
The present invention has been made in view of the above problems, and it is a control device for a vending machine which can perform network communication using the same basic control function and communication control means regardless of the presence or absence of the extended function. Is intended to provide.

【0015】[0015]

【課題を解決するための手段】このような目的を達成す
るため、請求項1に記載の自動販売機の制御装置は、自
動販売機の制御を行う制御装置であって、当該自動販売
機の基本制御を行う基本モジュールを備え、上記基本モ
ジュールは、所定の通信先との間においてネットワーク
通信を行う基本制御手段と、上記基本制御手段が上記ネ
ットワーク通信を行う際、当該基本制御手段の要求に基
づいて、所定の接続インターフェースに所定の接続要求
を出力する通信要求手段とを備え、上記基本制御手段
は、上記接続要求に対して外部機器から上記接続インタ
ーフェースに入力される接続応答の内容に基づいて、当
該基本モジュールに対する上記外部機器の種別を判断す
ることを特徴とする。
In order to achieve such an object, the control device for a vending machine according to claim 1 is a control device for controlling the vending machine. The basic module includes a basic module that performs basic control, and the basic module performs basic network communication with a predetermined communication destination, and when the basic control means performs the network communication, a request of the basic control means is made. Communication request means for outputting a predetermined connection request to a predetermined connection interface, and the basic control means is based on the content of the connection response input from the external device to the connection interface in response to the connection request. Then, the type of the external device for the basic module is determined.

【0016】この装置によれば、接続要求に対する接続
応答の内容に基づいて、基本モジュールに対する外部機
器の種別が判断される。したがって、基本モジュールに
おいて、当該基本モジュールに対する外部機器の判別を
行うことができ、その外部機器に応じた通信処理を自動
的に行うことができる。したがって、外部機器毎に異な
る基本モジュールを用意する必要がなくなり、基本モジ
ュールの共通化を図ることができる。
According to this device, the type of the external device for the basic module is determined based on the content of the connection response to the connection request. Therefore, in the basic module, the external device for the basic module can be determined, and the communication processing according to the external device can be automatically performed. Therefore, it is not necessary to prepare a different basic module for each external device, and the basic module can be shared.

【0017】また、請求項2に記載の自動販売機の制御
装置は、請求項1に記載の自動販売機の制御装置におい
て、上記基本制御手段は、上記接続インターフェースに
対する接続応答の入力がない場合、当該基本モジュール
に対して上記外部機器が接続されていないものと判断す
ることを特徴とする。
The control device for a vending machine according to claim 2 is the control device for a vending machine according to claim 1, wherein the basic control means does not input a connection response to the connection interface. It is determined that the external device is not connected to the basic module.

【0018】この装置によれば、接続インターフェース
に対する接続応答の入力がない場合、当該基本モジュー
ルに対して外部機器が接続されていないものと判断され
る。したがって、拡張モジュールやモデム等の通信制御
手段のいずれもが基本モジュールに接続されていない場
合であっても、この状態を基本モジュールにおいて、当
該基本モジュールに対する外部機器の判別を行うことが
でき、その外部機器に応じた通信処理を自動的に行うこ
とができる。
According to this device, when no connection response is input to the connection interface, it is determined that the external device is not connected to the basic module. Therefore, even when neither the expansion module nor the communication control means such as the modem is connected to the basic module, it is possible to determine the external device for the basic module in this state. It is possible to automatically perform communication processing according to the external device.

【0019】また、請求項3に記載の自動販売機の制御
装置は、請求項1または2に記載の自動販売機の制御装
置において、上記ネットワーク通信を行う際の通信制御
を行う通信制御手段と、当該自動販売機の拡張制御を行
うものであって、上記基本モジュールと上記所定の通信
先との間の通信を中継する拡張モジュールとを備え、上
記拡張モジュールは、上記通信要求手段から出力された
上記接続要求に基づいて、当該通信要求手段に対して所
定の接続応答を出力する第2の通信要求手段と、上記第
2の通信要求手段からの要求に基づいて、上記通信制御
手段を介して上記所定の通信先に対する接続確立を行う
接続制御手段と、上記接続制御手段による接続確立後、
上記基本モジュールと上記所定の通信先との間の通信デ
ータの中継を上記通信制御手段を介して行う中継手段と
を備えることを特徴とする。
The control device for a vending machine according to a third aspect is the control device for a vending machine according to the first or second aspect, further comprising communication control means for performing communication control when performing the network communication. , For performing expansion control of the vending machine, comprising an extension module that relays communication between the basic module and the predetermined communication destination, and the extension module is output from the communication requesting means. And a second communication requesting means for outputting a predetermined connection response to the communication requesting means based on the connection request, and the communication control means based on the request from the second communication requesting means. Connection control means for establishing a connection to the predetermined communication destination, and after the connection is established by the connection control means,
A relay means for relaying communication data between the basic module and the predetermined communication destination via the communication control means is provided.

【0020】この装置によれば、基本モジュールの通信
要求手段からの接続要求に基づいて、所定の通信先に対
する接続確立が行われ、基本モジュールと所定の通信先
との間の通信データが通信制御手段を介して中継され
る。したがって、拡張モジュールを設けた場合であって
も、モデム等の共通の通信制御手段を介して通信データ
が中継されるので、モデム等の通信制御手段の共通化を
図ることができる。
According to this device, the connection is established with respect to the predetermined communication destination based on the connection request from the communication requesting means of the basic module, and the communication data between the basic module and the predetermined communication destination is controlled. Relayed through the means. Therefore, even when the expansion module is provided, the communication data is relayed through the common communication control means such as the modem, so that the communication control means such as the modem can be shared.

【0021】また、請求項4に記載の自動販売機の制御
装置は、請求項1〜3のいずれか一つに記載の自動販売
機の制御装置において、上記拡張モジュールの中継手段
は、上記基本モジュールまたは上記所定の通信先のう
ち、いずれか一方から送信された通信データを終端受信
していずれか他方に送信する中継通信手段と、上記中継
通信手段を制御する中継制御手段とを備えることを特徴
とする。
Further, the vending machine controller according to claim 4 is the vending machine controller according to any one of claims 1 to 3, wherein the relay means of the expansion module is the basic device. A relay communication means for terminating and receiving communication data transmitted from any one of the module or the predetermined communication destination and transmitting the communication data to the other; and relay control means for controlling the relay communication means. Characterize.

【0022】この装置によれば、基本モジュールまたは
所定の通信先のうち、いずれか一方から送信された通信
データが終端受信され、いずれか他方に送信される。し
たがって、例えば、基本モジュールとモデム等の通信制
御手段との間に拡張モジュールが配置されている場合に
おいても、基本モジュールは、所定の通信先に宛てた通
信データを送信することにより、この通信データが拡張
モジュールで一旦終端され、さらに所定の通信先に送信
されるので、拡張モジュールの有無に関わらず基本モジ
ュールの通信構成をほぼ共通化することができ、自動販
売機の製造コストや管理コストを低減させることができ
る。
According to this apparatus, the communication data transmitted from one of the basic module and the predetermined communication destination is terminally received and transmitted to the other. Therefore, for example, even when the extension module is arranged between the basic module and the communication control means such as the modem, the basic module transmits the communication data addressed to a predetermined communication destination to Is temporarily terminated by the expansion module and then sent to a predetermined communication destination, the communication configuration of the basic module can be made common regardless of the presence or absence of the expansion module, and the manufacturing cost and management cost of the vending machine can be reduced. Can be reduced.

【0023】[0023]

【発明の実施の形態】以下に、本発明にかかる自動販売
機の制御装置の実施の形態を図面に基づいて詳細に説明
する。なお、この実施の形態によりこの発明が限定され
るものではない。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of a control device for an automatic vending machine according to the present invention will be described below in detail with reference to the drawings. The present invention is not limited to this embodiment.

【0024】最初に、本実施の形態に係る自動販売機お
よびその制御装置の全体概要について説明し、その後、
構成および処理の詳細について説明する。図1は、本実
施の形態に係る自動販売機を用いた自動販売機システム
の要部構成を示す図である。この図1において、複数の
自動販売機100は、管理センター200に対して、図
示しない無線基地局および公衆回線網300を介して通
信可能に接続されており、各自動販売機100によって
販売される商品の管理や各自動販売機100の保守管理
を、管理センター200において統合的かつ遠隔的に行
なうことができる。
First, an overall outline of the vending machine and its control device according to the present embodiment will be described, and then,
The details of the configuration and processing will be described. FIG. 1 is a diagram showing a main configuration of an automatic vending machine system using the automatic vending machine according to the present embodiment. In FIG. 1, a plurality of vending machines 100 are communicably connected to a management center 200 via a radio base station and a public line network 300 (not shown), and are sold by each vending machine 100. The management of the merchandise and the maintenance of each vending machine 100 can be performed integrally and remotely at the management center 200.

【0025】すなわち、このシステムでは、管理センタ
ー200から発せられた各種の要求、例えば、商品価格
の設定変更要求や、商品の保冷温度の設定変更要求が、
公衆回線網300を介して自動販売機100に送信さ
れ、この自動販売機100で実行等される。また、自動
販売機100から発せられた情報、例えば、商品の残
量、入金額、釣銭残高、当該自動販売機100の故障検
知情報等が、公衆回線網300を介して管理センター2
00に送信され、この管理センター200で記録等され
る。そして、このような送受信を行なうことにより、自
動販売機100の運行状態を管理センター200で把握
したり、この自動販売機100の運行内容を管理センタ
ー200から変更したりすることができ、複数の自動販
売機100を統合的かつ遠隔的に管理することができ
る。
That is, in this system, various requests issued from the management center 200, such as a request to change the setting of the product price and a request to change the setting of the cold storage temperature of the product,
It is transmitted to the vending machine 100 via the public line network 300 and executed by the vending machine 100. Information issued from the vending machine 100, for example, the remaining amount of the product, the amount of money paid, the change balance, failure detection information of the vending machine 100, and the like are managed by the management center 2 via the public network 300.
00, and is recorded and the like in this management center 200. By performing such transmission and reception, it is possible to grasp the operation state of the vending machine 100 at the management center 200 and change the operation content of the vending machine 100 from the management center 200. The vending machine 100 can be managed in an integrated and remote manner.

【0026】このようなシステムにおける本発明の基本
的な特徴の一つについて概説する。まず、各自動販売機
100には、後述するように、自動販売機100の基本
機能を制御する基本モジュール120と、自動販売機1
00の拡張機能を制御する拡張モジュール110の2つ
の制御手段が設けられている。
One of the basic features of the present invention in such a system will be outlined. First, each vending machine 100 includes a basic module 120 that controls basic functions of the vending machine 100, and a vending machine 1 as described later.
There are two control means of the extension module 110 for controlling the extension functions of 00.

【0027】ここで、基本機能および拡張機能の各々の
具体的な範囲は任意であるが、概念的には、各自動販売
機100に共通であって各自動販売機100のユーザ側
で変更や追加する必要がない機能を基本機能とし、上述
した商品価格の変更や温度切替え等、ユーザ側で変更や
追加する必要やその要望がある機能を拡張機能とするこ
とができる。このように、本実施の形態の自動販売機1
00は、制御機能を基本モジュール120と拡張モジュ
ール110の2CPU構成で達成し、各CPUに制御機
能を分担して担当させることにより、基本機能に影響を
与えることなく、ユーザ側で拡張機能の変更や追加等を
行なうことを可能として、自動販売機100の信頼性を
維持しつつ、ユーザの個別要求を充足させることを可能
としている。
Here, the specific range of each of the basic function and the extended function is arbitrary, but conceptually, it is common to each vending machine 100 and can be changed by the user of each vending machine 100. A function that does not need to be added can be used as a basic function, and a function that needs or needs to be changed or added by the user, such as the above-described change in product price or temperature change, can be an extended function. Thus, the vending machine 1 according to the present embodiment
00 achieves the control function by the two-CPU configuration of the basic module 120 and the extension module 110, and assigns the control function to each CPU so that the user can change the extension function without affecting the basic function. It is possible to satisfy the individual request of the user while maintaining the reliability of the vending machine 100.

【0028】特に、本実施の形態においては、拡張モジ
ュール110の内部にJava実行環境を構築してい
る。すなわち、拡張モジュール110の内部では、基本
OS(Operating System)の他に、JavaVM(Java Vi
rtual Machine)が実行されており、自動販売機100の
メーカやユーザがPC(Personal Computer)等の任意の
開発環境で開発してJava言語にて記述した各種のア
プリケーションソフトウェアを、拡張モジュール110
に導入してJavaVM上で実行させることができる。
これによって、自動販売機100それぞれのハードウェ
ア構成の相違や、開発環境の特殊性等をほぼ考慮するこ
となく、アプリケーションソフトを容易に実行させるこ
とを可能として、このソフトウェアの開発および展開の
容易化を図っている。
In particular, in this embodiment, the Java execution environment is built inside the extension module 110. That is, inside the extension module 110, in addition to the basic OS (Operating System), JavaVM (Java Vi
rtual Machine) is being executed, and various kinds of application software developed by a maker or a user of the vending machine 100 in an arbitrary development environment such as a PC (Personal Computer) and described in the Java language are added to the extension module 110.
It can be installed on the Java VM and executed on the Java VM.
This makes it possible to easily execute the application software without considering the differences in the hardware configurations of the vending machines 100, the peculiarities of the development environment, etc., and facilitate the development and deployment of this software. I am trying to

【0029】そして、本実施の形態においては、基本モ
ジュール120が管理センター200と通信を行う場
合、拡張モジュール110および後述するモデムを介し
て通信を行う。ここで、基本モジュール120は、本実
施の形態に示すように拡張モジュール110を設けた場
合と、従来のように拡張モジュール110を設けていな
い場合とで、ほぼ同じ構成で通信を行うことができるよ
うに構成されている。なお、その他にも、本発明には複
数の特徴があるが、その内容については以下において順
次説明する。
In this embodiment, when the basic module 120 communicates with the management center 200, the basic module 120 communicates with the expansion module 110 and a modem to be described later. Here, the basic module 120 can perform communication with substantially the same configuration when the extension module 110 is provided as shown in the present embodiment and when the extension module 110 is not provided as in the conventional case. Is configured. In addition to the above, the present invention has a plurality of features, the contents of which will be sequentially described below.

【0030】(構成の内容−自動販売機100)次に、
自動販売機100の構成の内容について説明する。図1
に示すように、自動販売機100は、上述した基本モジ
ュール120と拡張モジュール110、および、モデム
130を備えて構成されている。なお、基本モジュール
120および拡張モジュール110は、特許請求の範囲
の各請求項における「自動販売機の制御装置」を構成す
る。
(Contents of configuration-vending machine 100) Next,
The contents of the configuration of the vending machine 100 will be described. Figure 1
As shown in FIG. 3, the vending machine 100 is configured to include the above-described basic module 120, expansion module 110, and modem 130. The basic module 120 and the expansion module 110 form the “control device for the vending machine” in each claim of the claims.

【0031】このうち、基本モジュール120は、自動
販売機100の基本機能を制御する基本機能制御手段で
あり、接続インターフェース121、PPP122、基
本制御部123、および、通信要求部124を備えて構
成されている。
Of these, the basic module 120 is a basic function control means for controlling the basic functions of the vending machine 100, and comprises a connection interface 121, a PPP 122, a basic control section 123, and a communication request section 124. ing.

【0032】このうち、接続インターフェース121
は、拡張モジュール110(拡張モジュール110がな
い場合にはモデム130)との接続を行うインターフェ
ースであり、例えば、RS232cにて構成することが
できる。また、PPP122は、拡張モジュール110
(拡張モジュール110がない場合にはモデム130)
との間において、PPP(Point-to-Point Protocol)
に従ったデータ通信を行う通信制御手段である。なお、
本実施の形態において、ネットワーク層のプロトコルに
はIP(Internet Protocol)、トランスポート層のプ
ロトコルにはTCP(Transmission Control Protoco
l)を用いる。
Of these, the connection interface 121
Is an interface for connecting to the expansion module 110 (the modem 130 when the expansion module 110 is not present), and can be configured by, for example, RS232c. In addition, the PPP 122 uses the expansion module 110.
(Modem 130 when there is no expansion module 110)
And PPP (Point-to-Point Protocol)
Is a communication control means for performing data communication according to the above. In addition,
In the present embodiment, the protocol of the network layer is IP (Internet Protocol), and the protocol of the transport layer is TCP (Transmission Control Protocol).
l) is used.

【0033】また、基本制御部123は、基本制御機能
を実現するために基本モジュール120の各部等の制御
を行うと共に、必要に応じて管理センター200との間
においてネットワーク通信を行う基本制御手段である。
この基本制御部123は、例えば、図示しない記憶部に
記憶された基本アプリケーションを図示しないCPUに
て解釈実行することによって構成される。また、通信要
求部124は、基本制御部123がネットワーク通信を
行う際、当該基本制御部123の要求に基づいて、接続
インターフェース121に接続要求を出力する通信要求
手段である。
The basic control section 123 is a basic control means for controlling each section of the basic module 120 in order to realize the basic control function, and for performing network communication with the management center 200 as necessary. is there.
The basic control unit 123 is configured, for example, by interpreting and executing a basic application stored in a storage unit (not shown) by a CPU (not shown). The communication requesting unit 124 is a communication requesting unit that outputs a connection request to the connection interface 121 based on a request from the basic control unit 123 when the basic control unit 123 performs network communication.

【0034】また、拡張モジュール110は、自動販売
機100の機能のうち、上記基本機能を除く拡張機能を
制御すると共に、基本モジュール120と管理センター
200との間の通信を中継する拡張制御手段である。こ
の拡張モジュール110は、機能概念的に、接続インタ
ーフェース111、PPP112、通信要求部113、
中継制御部114、拡張制御部115、接続制御部11
6、PPP117、および、接続インターフェース11
8を備えて構成されている。
The expansion module 110 is an expansion control means for controlling the expansion functions of the vending machine 100 excluding the above-mentioned basic functions and relaying the communication between the basic module 120 and the management center 200. is there. This expansion module 110 is functionally conceptually composed of a connection interface 111, a PPP 112, a communication request unit 113,
Relay control unit 114, expansion control unit 115, connection control unit 11
6, PPP 117, and connection interface 11
It is configured with 8.

【0035】このうち、接続インターフェース111
は、基本モジュール120との接続を行うインターフェ
ースであり、例えば、RS232cにて構成することが
できる。また、PPP112は、基本モジュール120
のPPP122との間において、PPP転送を行う通信
制御手段である。また、通信要求部113は、基本モジ
ュール120の通信要部124から出力された接続要求
に基づいて、この通信要部124に対して所定の接続応
答を出力する第2の通信要求手段である。
Of these, the connection interface 111
Is an interface for connecting to the basic module 120, and can be configured by, for example, RS232c. Further, the PPP 112 is a basic module 120.
It is a communication control means for performing PPP transfer with the PPP 122. The communication requesting unit 113 is a second communication requesting unit that outputs a predetermined connection response to the communication main part 124 based on the connection request output from the communication main part 124 of the basic module 120.

【0036】また、中継制御部114は、PPP11
2、117の制御を行う中継制御手段である。また、拡
張制御部115は、上述の各種の拡張制御を行うための
拡張制御手段である。この拡張制御部は、例えば、図示
しない記憶部に記憶された拡張アプリケーションを図示
しないCPUにて解釈実行することによって構成され
る。
Further, the relay control section 114 uses the PPP 11
It is a relay control means for performing the control of 2, 117. Further, the expansion control unit 115 is an expansion control means for performing the above-described various expansion controls. The extension control unit is configured, for example, by interpreting and executing an extension application stored in a storage unit (not shown) by a CPU (not shown).

【0037】また、接続制御部116は、通信要求部1
13からの要求に基づいて、モデム130を介して管理
センター200に対する接続確立を行う接続制御手段で
ある。また、PPP117は、管理センター200の後
述するPPP220との間において、PPP通信を行う
通信制御手段である。そして、接続インターフェース1
18は、公衆回線網300との接続を行うインターフェ
ースであり、例えば、RS232cにて構成することが
できる。
Further, the connection control unit 116 has the communication request unit 1
It is a connection control means for establishing a connection to the management center 200 via the modem 130 based on a request from 13. Further, the PPP 117 is a communication control means for performing PPP communication with a PPP 220 of the management center 200, which will be described later. And the connection interface 1
Reference numeral 18 denotes an interface for connecting to the public line network 300, which can be configured by RS232c, for example.

【0038】なお、上記構成において、PPP112、
117は、基本モジュールまたは管理センター200の
うち、いずれか一方から送信された通信データを終端受
信していずれか他方に送信する中継通信手段を構成す
る。また、PPP112、117および中継制御部11
4は、接続制御部116による接続確立後、基本モジュ
ールと管理センター200との間の通信データの中継を
モデム130を介して行う中継手段として機能する。な
お、図示しない記憶領域には、上述のOS、JavaV
M、および、拡張制御部を実質的に構成するアプリケー
ションソフトウェアが記憶される。
In the above structure, the PPP 112,
Reference numeral 117 constitutes a relay communication means for terminating and receiving communication data transmitted from one of the basic module or the management center 200 and transmitting the communication data to the other. Further, the PPP 112 and 117 and the relay control unit 11
4 functions as a relay unit that relays communication data between the basic module and the management center 200 via the modem 130 after the connection is established by the connection control unit 116. In the storage area (not shown), the above-mentioned OS and JavaV are stored.
M and application software that substantially constitutes the extended control unit are stored.

【0039】また、図1においてモデム130は、公衆
回線網300を介して管理センター200との間でネッ
トワーク通信を行う際の通信制御を行う通信制御手段で
ある。
Further, the modem 130 in FIG. 1 is a communication control means for performing communication control when performing network communication with the management center 200 via the public line network 300.

【0040】(構成の内容−管理センター200)次
に、管理センター200の構成の内容について説明す
る。図1に示すように、管理センター200は、回線2
10、PPP220、および、管理制御部230を備え
て構成されている。このうち、回線210は、公衆回線
網300との接続を行うインターフェースである。ま
た、PPP220は、拡張モジュール110のPPP1
17との間において、PPP通信を行う通信制御手段で
ある。そして、管理制御部230は、管理センター20
0の各部の制御を行うための制御手段である。この管理
制御部230は、例えば、図示しない記憶部に記憶され
た管理用アプリケーションを図示しないCPUにて解釈
実行することによって構成される。なお、公衆回線網3
00の構成は任意であるため、その説明を省略する。
(Content of Configuration-Management Center 200) Next, the content of the configuration of the management center 200 will be described. As shown in FIG. 1, the management center 200 is connected to the line 2
10, the PPP 220, and the management control unit 230. Of these, the line 210 is an interface for connecting to the public line network 300. The PPP 220 is the PPP1 of the expansion module 110.
It is a communication control means for performing PPP communication with the communication device 17. Then, the management control unit 230 uses the management center 20.
It is a control means for controlling each unit of 0. The management control unit 230 is configured, for example, by interpreting and executing a management application stored in a storage unit (not shown) by a CPU (not shown). Public line network 3
Since the configuration of 00 is arbitrary, the description thereof will be omitted.

【0041】(処理の内容)次に、本実施の形態におけ
る通信処理の内容について説明する。図2は接続確立に
至る処理を概念的に示す図、図3は接続確立後の通信時
の処理を概念的に示す図、図4は接続確立に至る迄のシ
ーケンス図、図5は基本制御部123にて行われる接続
確立処理のフローチャートである。
(Processing Content) Next, the content of the communication processing in the present embodiment will be described. 2 is a diagram conceptually showing a process for establishing a connection, FIG. 3 is a diagram conceptually showing a process at the time of communication after the connection is established, FIG. 4 is a sequence diagram until the connection is established, and FIG. 5 is a basic control. 9 is a flowchart of a connection establishment process performed by the unit 123.

【0042】(処理の内容−概要)まず、この通信処理
を概略的に説明する。最初に、基本モジュール120の
基本制御部123が管理センター200と通信を行う
際、図2に示すように、基本制御部123が、通信要求
部124に接続要求を行う。そして、この通信要求部1
24が、拡張モジュール110の通信要求部113に接
続要求を行うと、接続制御部116の制御によって、拡
張モジュール110と管理センター200との間の接続
が確立される。その後、図3に示すように、基本モジュ
ール120の基本制御部123と、管理センター200
の管理制御部230とは、PPPパケットを用いたPP
P通信を行う。
(Contents of Process-Outline) First, this communication process will be schematically described. First, when the basic control unit 123 of the basic module 120 communicates with the management center 200, the basic control unit 123 makes a connection request to the communication requesting unit 124, as shown in FIG. Then, this communication request unit 1
When 24 makes a connection request to the communication request unit 113 of the expansion module 110, the connection between the expansion module 110 and the management center 200 is established under the control of the connection control unit 116. After that, as shown in FIG. 3, the basic control unit 123 of the basic module 120 and the management center 200
Management control unit 230 of the
P communication is performed.

【0043】(処理の内容−通信開始までの詳細)次
に、通信処理を詳細に説明する。最初に、基本モジュー
ル120の基本制御部123が管理センター200と通
信を行う際、基本制御部123が、通信要求部124に
接続要求を行う(ステップSA−1)。そして、この通
信要求部124は、拡張モジュール110の通信要求部
113に対して接続要求を行う(ステップSA−2)。
(Details of Process-Details of Communication Start) Next, the communication process will be described in detail. First, when the basic control unit 123 of the basic module 120 communicates with the management center 200, the basic control unit 123 makes a connection request to the communication requesting unit 124 (step SA-1). Then, the communication requesting unit 124 makes a connection request to the communication requesting unit 113 of the expansion module 110 (step SA-2).

【0044】そして、この通信要求部113が接続制御
部116に接続要求を行うと(ステップSA−3)、こ
の接続制御部116は、管理センター200との間にお
いて接続確立を行うためのモデム制御を開始する。すな
わち、接続制御部116は、PPP117および接続イ
ンターフェース118を介して、モデム130にATコ
マンドを送信する(ステップSA−4、SA−5)。
When the communication request unit 113 makes a connection request to the connection control unit 116 (step SA-3), the connection control unit 116 performs modem control for establishing a connection with the management center 200. To start. That is, the connection control unit 116 transmits the AT command to the modem 130 via the PPP 117 and the connection interface 118 (steps SA-4 and SA-5).

【0045】このATコマンドを受けたモデム130
は、公衆回線網300および回線210を介してPPP
220との間において接続確立を行った後(ステップS
A−6、SA−7)、接続インターフェース118を介
してPPP117にCONNECT応答を行う(ステッ
プSA−8)。このPPP117は、接続インターフェ
ース118、モデム130、公衆回線網300、および
回線210を介してPPP220にConfigureRequestを
送信し(ステップSA−9)、このPPP220からCo
nfigureAckを受信することにより(ステップSA−1
0)、データリンクを確立する。
The modem 130 which has received this AT command
Through the public line network 300 and line 210
After establishing connection with 220 (step S
A-6, SA-7), and a CONNECT response to the PPP 117 via the connection interface 118 (step SA-8). The PPP 117 transmits a Configure Request to the PPP 220 via the connection interface 118, the modem 130, the public line network 300, and the line 210 (step SA-9), and the PPP 220 sends a Co request.
By receiving nfigureAck (step SA-1
0), establish data link.

【0046】その後、PPP117は接続制御部116
に接続応答を送信し(ステップSA−11)、これを受
けた接続制御部116は、通信要求部113に接続応答
を送信する(ステップSA−12)。この通信要求部1
13は、基本モジュール120の通信要求部124に接
続応答を送信し(ステップSA−13)、さらに通信要
求部124は基本制御部123に対して、所定の文字列
(例えば「クライアント」)を含んだ接続応答を送信す
る(ステップSA−14)。
After that, the PPP 117 is connected to the connection control unit 116.
To the communication request unit 113 (step SA-12). This communication request unit 1
13 transmits a connection response to the communication requesting unit 124 of the basic module 120 (step SA-13), and the communication requesting unit 124 further includes a predetermined character string (for example, “client”) with respect to the basic control unit 123. Then, the connection response is transmitted (step SA-14).

【0047】(処理の内容−基本制御部123による外
部機器の判別処理)ここで、自動販売機100の構成と
しては、本実施の形態のように外部機器として拡張モジ
ュール110が設けられる場合、拡張モジュール110
が設けられることなく基本モジュール120と外部機器
としてのモデム130とが直接に接続される場合、およ
び、拡張モジュール110とモデム130のいずれもが
基本モジュール120に接続されずに当該基本モジュー
ル120が単独で動作する場合、の3通りを想定するこ
とができる。このため、本実施の形態の基本モジュール
120の基本制御部123は、ステップSA−14にお
いて通信要求部124から送信された接続応答の有無や
その内容に基づいて、当該基本モジュール120に対す
る外部機器の有無やその種類を判断する。
(Details of Process-External Device Discrimination Process by Basic Control Unit 123) Here, the vending machine 100 is configured to be expanded when the expansion module 110 is provided as an external device as in the present embodiment. Module 110
When the basic module 120 and the modem 130 as an external device are directly connected without providing the base module 120, and when the expansion module 110 and the modem 130 are not connected to the basic module 120, the basic module 120 is independent. When operating with, three types of can be assumed. Therefore, the basic control unit 123 of the basic module 120 of the present embodiment determines whether the external device for the basic module 120 is based on the presence or absence of the connection response transmitted from the communication requesting unit 124 in step SA-14 and the content thereof. Determine the presence or absence and its type.

【0048】この基本制御部123による外部機器の判
別処理のフローチャートを図5に示す。基本制御部12
3は、上記図4のステップSA−1において、通信要求
部124に接続要求を行った後、イベント発生(通信要
求部124からの接続応答の有無)を監視し、この接続
応答の有無やその内容に応じて、異なる動作を行う(ス
テップSB−1)。
FIG. 5 shows a flowchart of the external device discrimination processing by the basic control unit 123. Basic control unit 12
In step SA-1 of FIG. 4, after making a connection request to the communication requesting unit 124, 3 monitors the occurrence of an event (presence or absence of a connection response from the communication requesting unit 124), and the presence or absence of this connection response or its Different operations are performed according to the contents (step SB-1).

【0049】すなわち、通信要求部124からの接続応
答が所定の文字列であった場合、基本制御部123は、
基本モジュール120には拡張モジュール110が接続
されていると判断する。この判断は、ATコマンドを受
信した機器が拡張モジュール110であれば、上記のよ
うに図4のステップSA−14で所定の文字列を含んだ
接続応答が返信されることに基づくものである。この判
断を行った場合、基本制御部123は、拡張モジュール
110の接続時の所定の通信処理を開始する(ステップ
SB−2)。この処理については後述する。
That is, when the connection response from the communication request unit 124 is a predetermined character string, the basic control unit 123
It is determined that the expansion module 110 is connected to the basic module 120. This determination is based on the fact that if the device receiving the AT command is the expansion module 110, the connection response including the predetermined character string is returned in step SA-14 of FIG. 4 as described above. When making this determination, the basic control unit 123 starts a predetermined communication process when the expansion module 110 is connected (step SB-2). This process will be described later.

【0050】一方、ステップSB−1において、この接
続応答が「OK」であったと判断した場合、基本制御部
123は、基本モジュール120にはモデム130が直
接的に接続されていると判断する。この判断は、ATコ
マンド(図4のステップSA−5)を受信した機器がモ
デム130であれば、OK応答が行われることに基づく
ものである。この判断を行った場合、基本制御部123
は、従来と同様に、モデム130の接続時の所定の通信
処理を開始する(ステップSB−3)。すなわち、従来
と同様に、モデム制御を行う所定のプログラムモジュー
ルを起動する。なお、この処理については、従来の自動
販売機100と同様に行うことができるため、その詳細
な説明を省略する。
On the other hand, when it is determined in step SB-1 that the connection response is "OK", the basic control section 123 determines that the modem 130 is directly connected to the basic module 120. This determination is based on the fact that if the device receiving the AT command (step SA-5 in FIG. 4) is the modem 130, an OK response is made. If this determination is made, the basic control unit 123
Starts a predetermined communication process when the modem 130 is connected, as in the conventional case (step SB-3). That is, as in the conventional case, a predetermined program module for controlling the modem is activated. Since this process can be performed in the same manner as the conventional vending machine 100, detailed description thereof will be omitted.

【0051】また、基本制御部123は、通信要求部1
24に接続要求を行った後、ステップSB−1の監視状
態において所定時間以内にイベント発生がない場合に
は、通信要求部124への接続要求を再度行う。以降、
イベント発生がない場合、このイベント発生の監視と、
再度の接続要求とを繰り返し、この接続要求が所定のリ
トライ回数をオーバーした場合(ステップSB−4)、
基本制御部123は、基本モジュール120にはモデム
130と拡張モジュール110のいずれも接続されてい
ないと判断する。この判断を行った場合、基本制御部1
23は、所定の単独処理を行う(ステップSB−5)。
なお、この処理についても、従来の自動販売機と同様に
行うことができるため、その詳細な説明を省略する。こ
れにて基本制御部123による外部機器の判別処理が終
了する。
Further, the basic control section 123 has the communication request section 1
After making a connection request to 24, if no event occurs within a predetermined time in the monitoring state of step SB-1, the connection request to the communication requesting unit 124 is made again. Or later,
If there is no event occurrence, monitoring of this event occurrence,
When the connection request is repeated again and the connection request exceeds the predetermined number of retries (step SB-4),
The basic control unit 123 determines that neither the modem 130 nor the expansion module 110 is connected to the basic module 120. If this judgment is made, the basic control unit 1
23 performs a predetermined independent process (step SB-5).
Since this processing can be performed in the same manner as in the conventional vending machine, detailed description thereof will be omitted. This completes the external device determination processing by the basic control unit 123.

【0052】このような処理を行うことにより、基本モ
ジュール120において、当該基本モジュール120に
対する外部機器の判別を行うことができ、その外部機器
に応じた通信処理を自動的に行うことができる。したが
って、外部機器毎に異なる基本モジュール120を用意
する必要がなくなり、基本モジュール120の共通化を
図ることができる。
By performing such processing, the basic module 120 can determine the external device for the basic module 120, and the communication process according to the external device can be automatically performed. Therefore, it is not necessary to prepare a different basic module 120 for each external device, and the basic module 120 can be shared.

【0053】(処理の内容−基本制御部123と管理制
御部230との通信処理)次に、上記図5のステップS
B−2において行う拡張モジュール110の接続時の通
信処理の内容について説明する。この通信処理は、一般
的なPPP通信とほぼ同様に行うことができる。具体的
には、基本制御部123が所定のIPアドレスおよびポ
ート番号を指定して通信データをPPP122に出力す
ると、この通信データを含んだPPPパケットがPPP
122において生成され、このPPPパケットがPPP
112に送信される。すると、中継制御部114の制御
下において、PPP112は送信されたPPPパケット
を終端し、その中に含まれるIPパケットをPPP11
7に転送する。そして、PPP117は、転送されたI
Pパケットを含んだPPPパケットを生成して、これを
管理センター200のPPP220に送信する。このP
PP220は、送信されたPPPパケットから通信デー
タを取得して、この通信データを管理制御部230に受
け渡す。なお、管理制御部230から基本制御部123
に対する通信も、この逆の流れで行われる。
(Processing Content-Communication Processing Between Basic Control Unit 123 and Management Control Unit 230) Next, step S in FIG.
The contents of communication processing at the time of connecting the expansion module 110 performed in B-2 will be described. This communication process can be performed almost in the same manner as general PPP communication. Specifically, when the basic control unit 123 designates a predetermined IP address and port number and outputs communication data to the PPP 122, a PPP packet including this communication data will be PPP.
Generated at 122, this PPP packet is
Sent to 112. Then, under the control of the relay control unit 114, the PPP 112 terminates the transmitted PPP packet and sets the IP packet contained therein to the PPP 11
Transfer to 7. Then, the PPP 117 sends the transferred I
A PPP packet including the P packet is generated and transmitted to the PPP 220 of the management center 200. This P
The PP 220 acquires communication data from the transmitted PPP packet and transfers the communication data to the management control unit 230. The management control unit 230 to the basic control unit 123
The communication to is also performed in the reverse flow.

【0054】このような通信中において、拡張モジュー
ル110の中継制御部114は、基本モジュール120
または管理センター200のいずれかの通信切断を監視
する。そして、通信切断を検出した場合には、通信切断
を行った方と反対側の通信を切断し、モデム130との
通信を切断する。これにて全ての通信処理が終了する。
During such communication, the relay control section 114 of the expansion module 110 is operated by the basic module 120.
Alternatively, the communication disconnection of any one of the management centers 200 is monitored. Then, when the communication disconnection is detected, the communication on the opposite side to the communication disconnecting side is disconnected and the communication with the modem 130 is disconnected. This completes all communication processing.

【0055】以上説明したように、実施の形態1によれ
ば、基本モジュール120の接続要求に基づいて、所定
の通信先に対する接続確立が行われ、基本モジュール1
20と管理センター200との間の通信データが中継さ
れる。したがって、拡張モジュール110を設けた場合
であっても、モデム130を介して通信データが中継さ
れるので、モデム130の共通化を図ること等ができ
る。
As described above, according to the first embodiment, the connection to the predetermined communication destination is established based on the connection request from the basic module 120.
Communication data between 20 and the management center 200 is relayed. Therefore, even when the extension module 110 is provided, the communication data is relayed through the modem 130, so that the modem 130 can be shared.

【0056】(他の実施の形態)さて、これまで本発明
の実施の形態について説明したが、本発明は、上述した
実施の形態以外にも、上記特許請求の範囲に記載した技
術的思想の範囲内において種々の異なる実施の形態にて
実施されてよいものである。
(Other Embodiments) The embodiments of the present invention have been described so far. However, the present invention is not limited to the above-described embodiments, and has the technical idea described in the claims. It may be implemented in various different embodiments within the scope.

【0057】例えば、上記実施の形態においては、管理
センター200との間で通信可能な自動販売機100を
例にとって説明したが、このような通信機能を持たない
スタンドアロン型の自動販売機についても、本発明を同
様に適用することができる。また、上記実施の形態にお
いては、制御部を基本モジュール120と拡張モジュー
ル110の2CPU構成としているが、1つのCPUに
て全ての制御機能を達成することも可能である。
For example, in the above-described embodiment, the vending machine 100 capable of communicating with the management center 200 has been described as an example, but a stand-alone vending machine without such a communication function can also be used. The present invention can be similarly applied. Further, in the above embodiment, the control unit has a two-CPU configuration of the basic module 120 and the expansion module 110, but it is possible to achieve all the control functions with one CPU.

【0058】また、上記実施の形態においては、PPP
パケット等を拡張モジュール110で一旦終端して中継
しているが、拡張モジュール110をルータと同様に機
能させ、このPPPパケット等を単に通過させることに
より中継を行ってもよい。
In the above embodiment, the PPP
Although the packet and the like are once terminated and relayed by the extension module 110, the extension module 110 may be caused to function like a router and the PPP packet and the like may be simply passed to perform the relay.

【0059】また、実施の形態において説明した各処理
のうち、自動的に行なわれるものとして説明した処理の
全部または一部を手動的に行うこともでき、あるいは、
手動的に行なわれるものとして説明した処理の全部また
は一部を公知の方法で自動的に行うこともできる。この
他、上記文書中や図面中で示した処理手順、制御手順、
具体的名称、各種の登録データや検索条件等のパラメー
タを含む情報については、特記する場合を除いて任意に
変更することができる。
Further, of the processes described in the embodiments, all or part of the processes described as being automatically performed can be manually performed, or
All or part of the processing described as being manually performed can be automatically performed by a known method. In addition, the processing procedure, control procedure, and
Information including parameters such as specific names, various types of registration data, and search conditions can be arbitrarily changed unless otherwise specified.

【0060】また、図示した各構成要素は機能概念的な
ものであり、必ずしも物理的に図示の如く構成されてい
ることを要しない。例えば、各制御部にて行なわれる処
理機能は、その全部または任意の一部が、CPU(Centr
al Processing Unit)および当該CPUにて解析実行さ
れるプログラムにて実現され、あるいは、ワイヤードロ
ジックによるハードウェアとして実現され得る。
The components shown in the figures are functionally conceptual and do not necessarily have to be physically configured as shown. For example, all or some of the processing functions performed by the respective control units are controlled by the CPU (Centr).
al Processing Unit) and a program that is analyzed and executed by the CPU, or may be realized as hardware by a wired logic.

【0061】また、この場合において、プログラムと
は、任意の言語や記述方法にて記述されたデータ処理方
法であり、ソースコードやバイナリコード等の形式を問
わない。なお、プログラムは、必ずしも単一的に構成さ
れるものに限られず、複数のモジュールやライブラリと
して分散構成されるものや、OSに代表される別個のプ
ログラムと協働してその機能を達成するものをも含む。
なお、実施の形態に示した各装置において記録媒体を読
み取るための具体的な構成、読み取り手順、あるいは、
読み取り後のインストール手順等については、周知の構
成や手順を用いることができる。あるいは、このプログ
ラムは、自動販売機100に対して任意のネットワーク
を介して接続されたアプリケーションプログラムサーバ
に記録しておき、必要に応じてその全部または一部を自
動販売機100にダウンロードすることも可能である。
Further, in this case, the program is a data processing method described in an arbitrary language or a description method, and may take any form such as source code or binary code. Note that the program is not necessarily limited to a single configuration, but is configured to be distributed as a plurality of modules or libraries, or to achieve its function in cooperation with a separate program represented by an OS. Also includes.
Note that a specific configuration for reading the recording medium in each device shown in the embodiments, a reading procedure, or
Well-known configurations and procedures can be used for the installation procedure after reading. Alternatively, this program may be recorded in an application program server connected to the vending machine 100 via an arbitrary network, and all or part of the program may be downloaded to the vending machine 100 as needed. It is possible.

【0062】なお、コンピュータ読み取り可能な記録媒
体とは、フロッピー(登録商標)ディスク、光磁気ディ
スク、ROM、EPROM、EEPROM、CD−RO
M、MO、DVD等の任意の「可搬用の物理媒体」や、
各種コンピュータシステムに内蔵されるROM、RA
M、HD等の任意の「固定用の物理媒体」、あるいは、
LAN、WAN、インターネットに代表されるネットワ
ークを介してプログラムを送信する場合の通信回線や搬
送波のように、短期にプログラムを保持する「通信媒
体」を含むものとする。
The computer-readable recording medium is a floppy (registered trademark) disk, magneto-optical disk, ROM, EPROM, EEPROM, CD-RO.
Any "portable physical medium" such as M, MO, DVD,
ROM and RA built into various computer systems
Any "fixed physical medium" such as M or HD, or
A "communication medium" that holds the program in a short period of time is included, such as a communication line or a carrier wave when transmitting the program through a network typified by LAN, WAN, and the Internet.

【0063】また、自動販売機100と管理センター2
00とを接続するネットワークとしては、上述した公衆
回線網300に限られず、任意のネットワークを利用す
ることができる。例えば、限定されたエリア内でLA
N、WANあるいはパソコン通信網を用いて、本システ
ムを構築することができる。また、その他にも、地上
波、CATV、CS、BS、あるいは、ブロードバンド
ネットワーク等を用いて、各種データを送受信すること
ができる。すなわち、ネットワークには、有線ネットワ
ークのみならず、これら無線・通信ネットワークを含め
ることができる。
Further, the vending machine 100 and the management center 2
The network connecting 00 with 00 is not limited to the public line network 300 described above, and any network can be used. For example, LA in a limited area
This system can be constructed using N, WAN or a personal computer communication network. In addition, various data can be transmitted / received using terrestrial waves, CATV, CS, BS, or a broadband network. That is, the network can include not only a wired network but also these wireless / communication networks.

【0064】[0064]

【発明の効果】以上説明したように、本発明によれば、
基本モジュールにおいて、当該基本モジュールに対する
外部機器の判別を行うことができ、その外部機器に応じ
た通信処理を自動的に行うことができる。したがって、
外部機器毎に異なる基本モジュールを用意する必要がな
くなり、基本モジュールの共通化を図ることができる。
As described above, according to the present invention,
In the basic module, the external device for the basic module can be determined, and the communication processing according to the external device can be automatically performed. Therefore,
It is not necessary to prepare a different basic module for each external device, and the basic module can be shared.

【0065】また、本発明によれば、拡張モジュールや
モデム等の通信制御手段のいずれもが基本モジュールに
接続されていない場合であっても、この状態を基本モジ
ュールにおいて、当該基本モジュールに対する外部機器
の判別を行うことができ、その外部機器に応じた通信処
理を自動的に行うことができる。
Further, according to the present invention, even when neither the expansion module nor the communication control means such as the modem is connected to the basic module, this state is set in the basic module and an external device for the basic module is set. Can be determined, and communication processing according to the external device can be automatically performed.

【0066】また、本発明によれば、拡張モジュールを
設けた場合であっても、モデム等の共通の通信制御手段
を介して通信データが中継されるので、モデム等の通信
制御手段の共通化を図ることができる。
Further, according to the present invention, even when the expansion module is provided, since the communication data is relayed through the common communication control means such as the modem, the communication control means such as the modem can be shared. Can be achieved.

【0067】また、本発明によれば、基本モジュールと
モデム等の通信制御手段との間に拡張モジュールが配置
されている場合においても、基本モジュールは、所定の
通信先に宛てた通信データを送信することにより、この
通信データが拡張モジュールで一旦終端され、さらに所
定の通信先に送信されるので、拡張モジュールの有無に
関わらず基本モジュールの通信構成をほぼ共通化するこ
とができ、自動販売機の製造コストや管理コストを低減
させることができる。
Further, according to the present invention, even when the expansion module is arranged between the basic module and the communication control means such as the modem, the basic module transmits the communication data addressed to the predetermined communication destination. By doing so, this communication data is once terminated in the expansion module and is further transmitted to a predetermined communication destination, so that the communication configuration of the basic module can be made almost common regardless of the presence or absence of the expansion module, and the vending machine can be used. It is possible to reduce the manufacturing cost and management cost.

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

【図1】本発明の実施の形態に係る自動販売機を用いた
自動販売機システムの要部構成を示す図である。
FIG. 1 is a diagram showing a main configuration of an automatic vending machine system using an automatic vending machine according to an embodiment of the present invention.

【図2】接続確立に至る処理を概念的に示す図である。FIG. 2 is a diagram conceptually showing a process of establishing a connection.

【図3】接続確立後の通信時の処理を概念的に示す図で
ある。
FIG. 3 is a diagram conceptually showing a process at the time of communication after establishing a connection.

【図4】接続確立に至る迄のシーケンス図である。FIG. 4 is a sequence diagram until a connection is established.

【図5】基本制御部にて行われる接続確立処理のフロー
チャートである。
FIG. 5 is a flowchart of a connection establishment process performed by a basic control unit.

【図6】従来の自動販売機を含んだシステムの要部構成
を示す図である。
FIG. 6 is a diagram showing a main configuration of a system including a conventional vending machine.

【図7】従来における、接続確立に至る処理を概念的に
示す図である。
FIG. 7 is a diagram conceptually showing a conventional process of establishing a connection.

【図8】従来における、接続確立後の通信時の処理を概
念的に示す図である。
FIG. 8 is a diagram conceptually showing a conventional process at the time of communication after establishing a connection.

【図9】従来における、接続確立に至る迄のシーケンス
図である。
FIG. 9 is a conventional sequence diagram up to the establishment of a connection.

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

100 自動販売機 120 基本モジュール 121 接続インターフェース 122 PPP 123 基本制御部 124 通信要求部 110 拡張モジュール 111、118 接続インターフェース 112、117 PPP 113 通信要求部 114 中継制御部 115 拡張制御部 116 接続制御部 130 モデム 200 管理センター 210 回線 220 PPP 230 管理制御部 300 公衆回線網 100 vending machines 120 basic modules 121 connection interface 122 PPP 123 Basic control unit 124 Communication request unit 110 expansion module 111, 118 connection interface 112, 117 PPP 113 Communication request unit 114 Relay control unit 115 Extended control unit 116 Connection control unit 130 modem 200 Management Center 210 lines 220 PPP 230 Management control unit 300 public network

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 自動販売機の制御を行う制御装置であっ
て、 当該自動販売機の基本制御を行う基本モジュールを備
え、 上記基本モジュールは、 所定の通信先との間においてネットワーク通信を行う基
本制御手段と、 上記基本制御手段が上記ネットワーク通信を行う際、当
該基本制御手段の要求に基づいて、所定の接続インター
フェースに所定の接続要求を出力する通信要求手段とを
備え、 上記基本制御手段は、上記接続要求に対して外部機器か
ら上記接続インターフェースに入力される接続応答の内
容に基づいて、当該基本モジュールに対する上記外部機
器の種別を判断すること、 を特徴とする自動販売機の制御装置。
1. A control device for controlling a vending machine, comprising a basic module for performing basic control of the vending machine, wherein the basic module performs basic network communication with a predetermined communication destination. The basic control means includes a control means and a communication request means that outputs a predetermined connection request to a predetermined connection interface based on a request of the basic control means when the basic control means performs the network communication. A controller for the vending machine, wherein the type of the external device for the basic module is determined based on the content of the connection response input from the external device to the connection interface in response to the connection request.
【請求項2】 上記基本制御手段は、上記接続インター
フェースに対する接続応答の入力がない場合、当該基本
モジュールに対して上記外部機器が接続されていないも
のと判断すること、 を特徴とする請求項1に記載の自動販売機の制御装置。
2. The basic control means determines that the external device is not connected to the basic module when no connection response is input to the connection interface. Vending machine control device described in.
【請求項3】 上記ネットワーク通信を行う際の通信制
御を行う通信制御手段と、 当該自動販売機の拡張制御を行うものであって、上記基
本モジュールと上記所定の通信先との間の通信を中継す
る拡張モジュールとを備え、 上記拡張モジュールは、 上記通信要求手段から出力された上記接続要求に基づい
て、当該通信要求手段に対して所定の接続応答を出力す
る第2の通信要求手段と、 上記第2の通信要求手段からの要求に基づいて、上記通
信制御手段を介して上記所定の通信先に対する接続確立
を行う接続制御手段と、 上記接続制御手段による接続確立後、上記基本モジュー
ルと上記所定の通信先との間の通信データの中継を上記
通信制御手段を介して行う中継手段と、 を備えることを特徴とする請求項1または2に記載の自
動販売機の制御装置。
3. Communication control means for performing communication control when performing the network communication, and extended control of the vending machine, the communication between the basic module and the predetermined communication destination. An extension module for relaying, wherein the extension module outputs a predetermined connection response to the communication requesting means on the basis of the connection request output from the communication requesting means, Connection control means for establishing a connection to the predetermined communication destination via the communication control means based on a request from the second communication request means, and after the connection is established by the connection control means, the basic module and the above 3. A vending machine according to claim 1 or 2, further comprising: a relay unit that relays communication data with a predetermined communication destination via the communication control unit. Control device.
【請求項4】 上記拡張モジュールの中継手段は、 上記基本モジュールまたは上記所定の通信先のうち、い
ずれか一方から送信された通信データを終端受信してい
ずれか他方に送信する中継通信手段と、 上記中継通信手段を制御する中継制御手段と、 を備えることを特徴とする請求項1〜3のいずれか一つ
に記載の自動販売機の制御装置。
4. The relay means of the expansion module includes a relay communication means for terminating and receiving communication data transmitted from one of the basic module or the predetermined communication destination and transmitting the communication data to the other. The control device for a vending machine according to claim 1, further comprising: a relay control unit that controls the relay communication unit.
JP2001244922A 2001-08-10 2001-08-10 Vending machine control device Expired - Fee Related JP4792676B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001244922A JP4792676B2 (en) 2001-08-10 2001-08-10 Vending machine control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001244922A JP4792676B2 (en) 2001-08-10 2001-08-10 Vending machine control device

Publications (2)

Publication Number Publication Date
JP2003058939A true JP2003058939A (en) 2003-02-28
JP4792676B2 JP4792676B2 (en) 2011-10-12

Family

ID=19074777

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001244922A Expired - Fee Related JP4792676B2 (en) 2001-08-10 2001-08-10 Vending machine control device

Country Status (1)

Country Link
JP (1) JP4792676B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63180192A (en) * 1987-01-21 1988-07-25 富士電機株式会社 Control of decentralized processing type vending machine
JPH05143843A (en) * 1991-11-18 1993-06-11 Sanyo Electric Co Ltd Management device for automatic vending machine
JPH08125713A (en) * 1994-10-19 1996-05-17 Fujitsu Ltd Communication terminal equipment and method for judging connection of line terminating equipment in the communication terminal equipment
JPH113309A (en) * 1997-06-12 1999-01-06 Meidensha Corp Extension board constitution changing system
JP2001006032A (en) * 1999-06-23 2001-01-12 Toshiba Electric Appliance Co Ltd Controller for automatic vending machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63180192A (en) * 1987-01-21 1988-07-25 富士電機株式会社 Control of decentralized processing type vending machine
JPH05143843A (en) * 1991-11-18 1993-06-11 Sanyo Electric Co Ltd Management device for automatic vending machine
JPH08125713A (en) * 1994-10-19 1996-05-17 Fujitsu Ltd Communication terminal equipment and method for judging connection of line terminating equipment in the communication terminal equipment
JPH113309A (en) * 1997-06-12 1999-01-06 Meidensha Corp Extension board constitution changing system
JP2001006032A (en) * 1999-06-23 2001-01-12 Toshiba Electric Appliance Co Ltd Controller for automatic vending machine

Also Published As

Publication number Publication date
JP4792676B2 (en) 2011-10-12

Similar Documents

Publication Publication Date Title
EP1385300B1 (en) System, computer program product and method for managing and controlling a wireless local network
US7197011B2 (en) System, computer program product and method for managing and controlling a local network of electronic devices
US7631062B2 (en) System, computer program product and method for managing and controlling a local network of electronic devices
US8189545B2 (en) Wireless communication system, wireless LAN access point and settings confirmation/change method used therefor
US20120134350A1 (en) System, Computer Program Product And Method For Accessing A Local Network Of Electronic Devices
CN1702996B (en) Communication network connection rerouting methods and systems
TW201438499A (en) Self-configuring wireless network
JP2002094543A (en) Mobile information device, mobile information device access device, home network system, and access method to the home network
US7200643B2 (en) Controller and controlling method thereof
KR20060055206A (en) Terminal device for changing operating mode automatically, wireless network system comprising the terminal device, and, method thereof
KR20030035228A (en) Integrated wired and wireless local area network
US7593350B2 (en) Wireless communication between information processing device and wireless communication terminal
JP2003058939A (en) Controller for automatic vending machine
JP4819731B2 (en) Online transmission system
JP3819804B2 (en) Communication system using network interface having IP network connection function and apparatus thereof
JP2004280636A (en) Information processing system including communication connection type information processing apparatus excluding user interface and its control method
US6751727B1 (en) Network communication device identification in a communication network
JP2007215018A (en) Communication method
JP4860747B2 (en) Online transmission system
WO2010133165A1 (en) Remote booting system and remote booting unit and booting method thereof
JP2002217909A (en) Suspended packet sending device
JP2000092079A (en) Information processing system
JP2002094544A (en) Portable player, player access device, home network system, and access method to home network
JPH11154128A (en) Application connection point selection system
JP2002247562A (en) Monitoring camera system coping with network

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080619

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100330

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100527

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101102

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101227

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4792676

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140805

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

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees