JPH10302128A - Communication system for automatic vending machine - Google Patents

Communication system for automatic vending machine

Info

Publication number
JPH10302128A
JPH10302128A JP12288697A JP12288697A JPH10302128A JP H10302128 A JPH10302128 A JP H10302128A JP 12288697 A JP12288697 A JP 12288697A JP 12288697 A JP12288697 A JP 12288697A JP H10302128 A JPH10302128 A JP H10302128A
Authority
JP
Japan
Prior art keywords
communication
station
wireless
vending machine
wireless slave
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.)
Withdrawn
Application number
JP12288697A
Other languages
Japanese (ja)
Inventor
Masahiro Kamiyama
正裕 上山
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP12288697A priority Critical patent/JPH10302128A/en
Publication of JPH10302128A publication Critical patent/JPH10302128A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To prevent the worst case where the communication becomes impossible as much as possible measuring the success rate of communication among a radio master station, a radio slave station and another radio slave station and deciding a relay route based on the inter-station communication having its success rate higher than a prescribed level. SOLUTION: When an automatic vending machine is installed, the success rate is measured for the communication that is directly performed in a section where the radio machines (a radio master station 2 and a radio slave station 3) are connected to another radio slave station. The station 2 collects the success rates of communication in each section, evaluates the reliability of communication reaching the station 3 based on the collected success rates of communication, the number of relay stations, the degree of concentration of relay jobs, etc., and detects a relay route having higher evaluation of the communication reliability. In regard to the evaluation of communication reliability, only the relay routes having the success rates of inter-radio communication station higher than a prescribed level are used for communication. If these conditions are satisfied and furthermore plural relay routes exist, the general communication success rate is calculated about these relay routes. Then a route having the highest general communication success rate is applied.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、売り上げデータ等
を管理する自動販売機の通信システムに関する。
The present invention relates to a vending machine communication system for managing sales data and the like.

【0002】[0002]

【従来の技術】自動販売機の管理システムにおいては、
多数の自動販売機を通信手段により結合し、これら自動
販売機の諸データを1ヶ所に設置されたホストコンピュ
ータに集め、ホストコンピュータにより全ての自動販売
機の売り上げ情報、商品の配送、メンテナンス等を一元
的に管理することが行われている。
2. Description of the Related Art In a vending machine management system,
A number of vending machines are connected by communication means, various data of these vending machines are collected in a host computer installed at one place, and sales information of all the vending machines, delivery of goods, maintenance, etc. are collected by the host computer. Centralized management is performed.

【0003】このような管理システムにおいて、1の自
動販売機とホストコンピュータとは商用又は専用通信回
線で結び、上記の1の自動販売機とその他の自動販売機
とは、夫々に設けた無線通信手段により結合されている
ものがある。
In such a management system, one vending machine and a host computer are connected by a commercial or dedicated communication line, and the one vending machine and the other vending machines are connected by wireless communication provided respectively. Some are connected by means.

【0004】上記の1の自動販売機の無線機(無線親
局)はその他の自動販売機の無線機(無線子局)に対し
て直接のルートを、又は、他の無線子局を通るルートを
介して情報を送る。
The above-mentioned vending machine radio (radio master station) has a direct route to another vending machine radio (radio station) or a route passing through another radio station. Send information through.

【0005】また逆に、無線子局は無線親局に対して直
接のルート、又は、他の無線子局を通るルートを介して
情報を送る。
[0005] Conversely, the wireless slave station sends information to the wireless master station via a direct route or a route passing through another wireless slave station.

【0006】自動販売機に関する全ての情報は無線親局
を経由して行き来する。
All information about vending machines comes and goes via a wireless master station.

【0007】自動販売機の管理システムにおいては、デ
ータの信頼性とリアルタイム性が常に問われるところで
あるが、これらはデータを伝送する伝送路に大きく影響
され、伝送路に無線を用いた場合、有線系に比べ安定性
に欠けることは否めない。
[0007] In a vending machine management system, the reliability and real-time performance of data are always required. However, these are greatly affected by a transmission path for transmitting data. It is undeniable that it lacks stability compared to the system.

【0008】これは、無線通信がさまざまな環境、外来
ノイズにさらされているため、これらの影響を受け易い
ためである。
[0008] This is because wireless communication is exposed to various environments and external noise, and is susceptible to these effects.

【0009】自動販売機は設置箇所が限定されるため、
無線親局と目的の無線子局の間に電波が届かず直接的な
交信ができない場合、無線親局から電波の到達可能な他
の無線子局を中継局としてこれを経由してデータを収集
している。このとき中継するルートは、自動販売機設置
時に通信試験により予め決定しておく。
[0009] Since the location of the vending machine is limited,
If direct communication is not possible because radio waves do not reach between the radio base station and the target radio slave station, data is collected via another radio slave station that can reach radio waves from the radio master station as a relay station doing. The route to be relayed at this time is determined in advance by a communication test when the vending machine is installed.

【0010】この中継ルートデータは無線親局又は無線
子局に登録されている。
[0010] The relay route data is registered in the wireless master station or the wireless slave station.

【0011】しかし、無線通信における通信環境は、建
築物・構築物の出現、樹木の繁茂、ノイズ発生源の出
現、車両の通過・停車、等の様々の要因により影響を受
け、年月日時で変化するものであるため、設置当初は良
好に通信が可能であった中継ルートが、時として通信状
態の悪化さらには伝送不能の状態に陥る場合がある。
However, the communication environment in wireless communication is affected by various factors, such as the appearance of buildings and structures, the overgrowth of trees, the appearance of noise sources, the passage and stoppage of vehicles, and the like. Therefore, the relay route that was able to communicate well at the beginning of installation may sometimes fall into a deteriorated communication state or even become unable to transmit.

【0012】受信したデータが正常か否かは誤りチェッ
ク機能によりチェックするが、チェックした結果、これ
に誤りが発見されると、受信側ではデータの再送要求を
送信側に対して出し、再度はじめからデータの受信を行
う。場合により、この再送が何度も繰り返されることに
なる。
Whether the received data is normal or not is checked by an error check function. If an error is found as a result of the check, the receiving side issues a data retransmission request to the transmitting side and starts again. Receives data from. In some cases, this retransmission will be repeated many times.

【0013】このような通信状態の悪化により、通信時
間が増加するため、リアルタイム性が損なわれることと
なる。
Since the communication time increases due to such deterioration of the communication state, the real-time property is impaired.

【0014】また、通信不能の場合、一部の自動販売機
のデータについて収集することができないので、システ
ムとして成立しなくなる。
If communication is not possible, data cannot be collected for some vending machines, so that the system cannot be established.

【0015】いずれにしても、このような状態になる
と、中継ルートの再設定が必要となり、再設定するため
には人手と時間、したがって、費用のかかる通信試験を
行うことが必要になる。
In any case, in such a state, it is necessary to reset the relay route, and to do so, it is necessary to perform a manual and time-consuming communication test which is expensive.

【0016】[0016]

【発明が解決しようとする課題】本発明は、上記従来の
問題に鑑み、自動販売機の無線親局と無線子局間のより
好ましい中継ルートをアクティブに決定するシステムを
提供するとともに、通信不能という最悪の状態に陥るこ
とをできるだけ防止するシステムを提供することを課題
とするものである。
SUMMARY OF THE INVENTION In view of the above-mentioned conventional problems, the present invention provides a system for actively determining a preferable relay route between a wireless master station and a wireless slave station of a vending machine, It is an object of the present invention to provide a system that prevents the worst situation from occurring.

【0017】[0017]

【課題を解決するための手段】この課題は次の手段によ
って解決される。
This problem is solved by the following means.

【0018】(1) 第1の発明 複数の自動販売機と、上記自動販売機にそれぞれ接続さ
れ且つ該自動販売機からのデータを収集する無線子局
と、前記無線子局とデータの送受信が可能な無線親局
と、上記無線親局と通信回線を介して通信可能に接続さ
れたホストコンピュータと、を備え、上記無線親局及び
上記無線子局は他の無線子局と相互に通信可能であると
ともに、上記無線親局は複数の無線子局を介して上記自
動販売機のデータを収集する自動販売機の通信システム
において、上記無線親局及び上記無線子局と他の無線子
局との間の通信成功率を測定する測定手段と、前記通信
成功率が所定値以上のときその局間を通信可能と判断す
る判断手段と、前記判断手段が通信可能と判断した局間
を使用して上記無線親局から上記無線子局への通信の中
継ルートを決定する中継ルート決定手段と、を設けたこ
とを特徴とする自動販売機の通信システム。
(1) First Invention A plurality of vending machines, a wireless slave station connected to the vending machine and collecting data from the vending machine, and transmitting and receiving data to and from the wireless slave station. A possible wireless master station, and a host computer communicably connected to the wireless master station via a communication line, wherein the wireless master station and the wireless slave station can mutually communicate with other wireless slave stations. In the vending machine communication system for collecting data of the vending machine via a plurality of wireless slave stations, the wireless master station, the wireless master station and the wireless slave station and other wireless slave stations and Measuring means for measuring a communication success rate during the communication, a judgment means for judging that communication is possible between the stations when the communication success rate is equal to or higher than a predetermined value, and using the stations judged by the judgment means to be communicable. From the wireless master station to the wireless slave station Communication system of the vending machine, characterized by comprising a relay route determination means for determining a relay route communication, the.

【0019】(2) 第2の発明 上記第1の発明において、上記測定手段は、上記無線親
局及び上記無線子局から他の無線子局にテスト信号を送
信し、該テスト信号の受信が成功した割合を算出するも
のであることを特徴とする自動販売機の通信システム。
(2) Second invention In the first invention, the measuring means transmits a test signal from the wireless master station and the wireless slave station to another wireless slave station, and receives the test signal. A vending machine communication system for calculating a success rate.

【0020】(3) 第3の発明 上記第1乃至第2の発明において、前記中継ルート決定
手段は、中継局の数が少なくなるように中継ルートを決
定するものであることを特徴とする自動販売機の通信シ
ステム。
(3) Third invention In the first and second inventions, the relay route determining means determines the relay route so as to reduce the number of relay stations. Vending machine communication system.

【0021】(4) 第4の発明 上記第2の発明において、前記中継ルート決定手段は、
上記無線親局から目的の無線子局までの各局間の通信成
功率の積が最大になるように中継ルートを決定するもの
であることを特徴とする自動販売機の通信システム。
(4) Fourth Invention In the second invention, the relay route determination means is
A communication system for a vending machine, wherein a relay route is determined so that a product of a communication success rate between respective stations from the wireless master station to a target wireless slave station is maximized.

【0022】(5) 第5の発明 複数の自動販売機と、上記自動販売機にそれぞれ接続さ
れ且つ該自動販売機からのデータを収集する無線子局
と、前記無線子局とデータの送受信が可能な無線親局
と、上記無線親局と通信回線を介して通信可能に接続さ
れたホストコンピュータと、を備え、上記無線親局及び
上記無線子局は他の無線子局と相互に通信可能であると
ともに、上記無線親局は複数の無線子局を介して上記自
動販売機のデータを収集する自動販売機の通信システム
において、上記無線親局及び上記無線子局と他の無線子
局との間の通信成功率を測定する測定手段と、上記無線
親局から各無線子局への中継ルートを各局間の通信成功
率に基づいて中継ルート全体の通信成功率が最適になる
ように決定する中継ルート決定手段と、を備えたことを
特徴とする自動販売機の通信システム。
(5) Fifth Invention A plurality of vending machines, a wireless slave station connected to the vending machine and collecting data from the vending machine, and transmitting and receiving data to and from the wireless slave station. A possible wireless master station, and a host computer communicably connected to the wireless master station via a communication line, wherein the wireless master station and the wireless slave station can mutually communicate with other wireless slave stations. In the vending machine communication system for collecting data of the vending machine via a plurality of wireless slave stations, the wireless master station, the wireless master station and the wireless slave station and other wireless slave stations and Measuring means for measuring the communication success rate during the communication, and determining a relay route from the wireless master station to each wireless slave station such that the communication success rate of the entire relay route is optimized based on the communication success rate between the stations. Relay route determining means Communication system of the vending machine, characterized in that the.

【0023】(6) 第6の発明 上記第1乃至第5の発明において上記測定手段による通
信成功率の測定を定期的に行うことを特徴とする自動販
売機の通信システム。
(6) Sixth invention A communication system for a vending machine according to any one of the first to fifth inventions, wherein the measurement of the communication success rate by the measuring means is performed periodically.

【0024】(7) 第7の発明 上記第1乃至第5の発明において上記測定手段による通
信成功率の測定を無線親機が各自動販売機の販売データ
の収集を行う前にすることを特徴とする自動販売機の通
信システム。
(7) Seventh invention In the first to fifth inventions, the measurement of the communication success rate by the measuring means is performed before the wireless master unit collects sales data of each vending machine. Vending machine communication system.

【0025】[0025]

【発明の実施の形態】図1は、本発明の自動販売機にお
ける自動販売機通信システムの概要を表す図である。
FIG. 1 is a diagram showing an outline of a vending machine communication system in a vending machine according to the present invention.

【0026】1は自動販売機の管理システムの中枢をな
すホストコンピュータである。
Reference numeral 1 denotes a host computer which forms the center of a vending machine management system.

【0027】2は無線親局であり、ホストコンピュータ
1と通信回線を介して接続されている。
Reference numeral 2 denotes a wireless master station, which is connected to the host computer 1 via a communication line.

【0028】3は無線子局であり、上記無線親局2及び
他の無線子局との間で無線を介して通信可能とされてい
る。
Reference numeral 3 denotes a wireless slave station, which can communicate with the wireless master station 2 and other wireless slave stations via radio.

【0029】4は自動販売機であり、各自動販売機4に
は上記無線子局3がそれぞれ通信ケーブルにて接続され
ており、常に自動販売機4の最新のデータはその無線子
局3に蓄えられている。なお、無線親局2も自動販売機
4と接続されていてもよい。
Reference numeral 4 denotes a vending machine. The above-mentioned wireless slave station 3 is connected to each vending machine 4 by a communication cable, and the latest data of the vending machine 4 is always transmitted to the wireless slave station 3. It is stored. Note that the wireless master station 2 may also be connected to the vending machine 4.

【0030】自動販売機4で発生した情報及びこの自動
販売機4に向けたホストコンピュータ1又は無線親局2
からの指令は、無線親局2と直接的に通信をするか、又
は、他の無線子局3を介して間接的に通信することによ
り、授受される。
Information generated by the vending machine 4 and the host computer 1 or the wireless master station 2 directed to the vending machine 4
Is transmitted or received by directly communicating with the wireless master station 2 or indirectly through another wireless slave station 3.

【0031】図2は、本発明の自動販売機における自動
販売機通信システムにおいて、無線親局及び複数の無線
子局が不特定の多数の間で通信をする様子を示す概要図
である。
FIG. 2 is a schematic diagram showing how a wireless master station and a plurality of wireless slave stations communicate between an unspecified number in a vending machine communication system in a vending machine according to the present invention.

【0032】無線親局2及び夫々の無線子局3の間を結
ぶ折れ曲がった線はこれらの間で通信が行われることを
示している。
A bent line connecting between the wireless master station 2 and each wireless slave station 3 indicates that communication is performed between them.

【0033】ホストコンピュータ1と無線親局2は有線
電話回線、PHS等の通信回線を通じて接続されてい
る。
The host computer 1 and the wireless master station 2 are connected through a communication line such as a wired telephone line or PHS.

【0034】無線親局2と無線子局3は無線にて接続さ
れているが、自動販売機4の設置箇所によっては無線親
局2と無線子局3の間で直接的に通信できない場合があ
るため、この場合は、他の無線子局3を1台乃至複数台
経由し中継によって、通信を確保している。
Although the wireless master station 2 and the wireless slave station 3 are wirelessly connected, depending on the location of the vending machine 4, there is a case where the wireless master station 2 and the wireless slave station 3 cannot directly communicate with each other. Therefore, in this case, communication is ensured by relaying via one or more other wireless slave stations 3.

【0035】無線親局2からのデータの要求に対し無線
子局3がデータを送出するため、無線親局2には常に全
ての自動販売機4のデータ収集されており、ホストコン
ピュータ1は無線親局2から全ての自動販売機4のデー
タを収集することができる。
Since the wireless slave station 3 sends out data in response to a data request from the wireless master station 2, the data of all the vending machines 4 are always collected in the wireless master station 2, and the host computer 1 is connected to the wireless communication apparatus. Data of all vending machines 4 can be collected from the master station 2.

【0036】上記中継は自動販売機設置時に通信試験に
よりそのルートが決定されているものであるが、本発明
はこのルートを通信状況の変化に応じてアクティブに決
定するものである。
The route of the above-mentioned relay is determined by a communication test when the vending machine is installed. In the present invention, this route is actively determined according to a change in communication conditions.

【0037】上記ルートの決定は次のようにして行われ
る。
The above route is determined as follows.

【0038】まず、無線機(無線親局2及び無線子局
3)と他の無線機を結ぶ区間で直接行う通信の通信成功
率を測定する。この測定は、定期的に行ってもよく、自
動販売機の比較的販売が少ないと予測されるときでもよ
い。
First, a communication success rate of communication directly performed in a section connecting a wireless device (the wireless master station 2 and the wireless slave station 3) to another wireless device is measured. This measurement may be performed periodically or when it is expected that vending machines will be sold relatively infrequently.

【0039】無線親局2(場合により、ホストコンピュ
ータ1でもよい)は各区間についての通信成功率を収集
し、この通信成功率、中継局数、中継業務の集中の度合
い等をもとに各無線子局3にたどりつくまでの通信の信
頼性を評価し、この評価のより高い中継ルートを探し出
す。
The wireless master station 2 (or the host computer 1 in some cases) collects the communication success rate for each section, and based on the communication success rate, the number of relay stations, the degree of concentration of relay work, etc. The reliability of the communication up to the wireless slave station 3 is evaluated, and a relay route with a higher evaluation is found.

【0040】通信の信頼性の評価は多様なものが考えら
れる。例えば、中継ルートとして、次のような決定をす
ることができる。
Various evaluations of communication reliability are conceivable. For example, the following determination can be made as the relay route.

【0041】(イ)各無線局間の通信成功率が所定値以
上のものだけを通信に使用する。
(A) Only those whose communication success rate between the respective radio stations is equal to or higher than a predetermined value are used for communication.

【0042】上記条件を満たした上で更に複数の中継ル
ートが存在する場合、中継局の数がより少ないルートを
採用する。
If a plurality of relay routes exist after satisfying the above conditions, a route having a smaller number of relay stations is adopted.

【0043】(ロ)各無線局間の通信成功率が所定値以
上のものだけを通信に使用する。
(B) Only those whose communication success rate between the radio stations is equal to or more than a predetermined value are used for communication.

【0044】上記条件を満たした上で更に複数の中継ル
ートが存在する場合、それらの中継ルートの総合通信成
功率を算出し、この総合通信成功率が最大になるルート
を採用する。
If a plurality of relay routes exist after satisfying the above conditions, the total communication success rate of the relay routes is calculated, and the route that maximizes the total communication success rate is adopted.

【0045】なお、上記(イ)(ロ)において、一つの
局にあまりに多くの中継ルートの中継を受け持たせる
と、そこがボトルネックになり、待ち時間が多くなるお
それがあるので、一つの局が一定数以上の中継ルートの
中継局となるときは、その局を含まない次善の中継ルー
トとすることもできる。
In the above (a) and (b), if one station is responsible for relaying too many relay routes, that may cause a bottleneck and increase the waiting time. When a station becomes a relay station of a certain number or more of relay routes, it may be a suboptimal relay route not including the station.

【0046】こうして決定された中継ルートは通常次回
の通信時から使用される。
The relay route determined in this way is usually used from the next communication.

【0047】また、同程度の評価の中継ルートを複数記
憶しておくことができる。これにより、突然の状況変化
が起きたとき、新しい通信成功率のデータが収集され
て、これに基づき新しい中継ルートが決定されるまでの
間、次善のルートに変更することができる。
Further, a plurality of relay routes having the same evaluation can be stored. Thus, when a sudden change in the situation occurs, data of a new communication success rate is collected, and the route can be changed to the next best route until a new relay route is determined based on the data.

【0048】図3は、各区間における上記通信成功率を
収集するための無線親局2の動作のサブルーチンを示す
フローチャートである。
FIG. 3 is a flowchart showing a subroutine of the operation of the radio cell station 2 for collecting the above-mentioned communication success rate in each section.

【0049】このサブルーチンに入る(#301)と、
#302においてN番目の無線子局へテストデータを送
信し、無線親局2と無線子局3の間の通信成功率の測定
を行う。この内容は図5のフローチャートに示すが、こ
の内容については後に説明する。
When this subroutine is entered (# 301),
In # 302, the test data is transmitted to the N-th wireless slave station, and the communication success rate between the wireless master station 2 and the wireless slave station 3 is measured. This content is shown in the flowchart of FIG. 5, and will be described later.

【0050】ステップ#303において、得られた通信
成功率とこのシステムで設定された閾値とを比較し、通
信成功率が閾値以上の時通信可能な局としてこのN番目
の局と通信成功率を登録する(#304)。
In step # 303, the obtained communication success rate is compared with a threshold value set in this system, and when the communication success rate is equal to or greater than the threshold value, the communication success rate is determined with the Nth station as a communicable station. It is registered (# 304).

【0051】ステップ#305において、全ての無線子
局3について通信成功率が測定されたか否かをチェック
し、測定されていなければステップ#302に戻り、同
様の動作を繰り返す。全ての無線子局3について測定が
なされたとき、次のステップ#306に進む。
In step # 305, it is checked whether or not the communication success rates have been measured for all the wireless slave stations 3. If not, the flow returns to step # 302 to repeat the same operation. When the measurement has been performed for all the wireless slave stations 3, the process proceeds to the next step # 306.

【0052】ステップ#306において、上記の過程で
得られた登録された無線子局3の一つに対して、この無
線子局3とこれ以外の無線子局3との間の通信成功率を
測定するように要求を出す。
In step # 306, for one of the registered wireless slave stations 3 obtained in the above process, the communication success rate between the wireless slave station 3 and the other wireless slave stations 3 is determined. Make a request to measure.

【0053】要求を出された無線子局3が行う動作のフ
ローチャートは図4に示すが、説明は後にする。
FIG. 4 shows a flowchart of the operation performed by the wireless slave station 3 which has issued the request, but the description will be given later.

【0054】ステップ#307において、ステップ#3
06で無線親局2が無線子局3に対して要求した通信成
功率が送られてくるのを待ち、送られてきたら、この情
報から通信可能な無線子局3へ通信成功率の測定をする
ように要求を出す。この要求が直接の通信によってでき
ないときは、通信可能な他の無線子局3の中継を介して
行われる。
In step # 307, step # 3
In step 06, the wireless master station 2 waits for the communication success rate requested by the wireless slave station 3 to be sent, and if sent, measures the communication success rate from the information to the wireless slave station 3 capable of communication. Make a request to do so. When this request cannot be made by direct communication, the request is made via a relay of another communicable wireless station 3.

【0055】なお、上記要求を出された無線子局3が行
う動作のフローチャートは図4に示すが、説明は後にす
る。
FIG. 4 shows a flowchart of the operation performed by the wireless slave station 3 that has issued the above request, but will be described later.

【0056】ステップ#309において、上記要求に対
する応答が全ての無線子局3からなされたか否かをチェ
ックし、なされていなければ、ステップ#306に帰
り、全ての無線子局から応答されるまで、同様の動作を
繰り返した後、このルーチンを抜ける(#310)。
In step # 309, it is checked whether or not a response to the request has been made from all the wireless slave stations 3. If not, the process returns to step # 306, and until all the wireless slave stations respond. After repeating the same operation, the process exits from this routine (# 310).

【0057】図4は無線親局2の要求(#306、#3
08)に対する無線子局3の応答動作を示すフローチャ
ートである。
FIG. 4 shows a request from the radio cell station 2 (# 306, # 3).
08] is a flowchart showing the response operation of the wireless child station 3 to 08).

【0058】通信成功率の測定を要求された無線子局3
は他の無線子局3に対し、テストデータを送信し通信成
功率の測定を行う。この内容は図5のフローチャートに
示すが、この内容については後に説明する。
Radio slave station 3 requested to measure the communication success rate
Transmits test data to another wireless slave station 3 and measures the communication success rate. This content is shown in the flowchart of FIG. 5, and will be described later.

【0059】ステップ#403において、得られた通信
成功率とこのシステムで設定された閾値とを比較し、通
信成功率が閾値以上の時通信可能な局としてこの局と通
信成功率を登録する(#404)。
In step # 403, the obtained communication success rate is compared with a threshold value set in this system, and when the communication success rate is equal to or more than the threshold value, the communication success rate is registered with this station as a communicable station ( # 404).

【0060】ステップ#405において、全ての無線子
局3について通信成功率が測定されたか否かをチェック
し、測定されていなければステップ#402に戻り、同
様の動作を繰り返す。全ての無線子局3について測定が
なされたとき、次のステップ#306に進む。
In step # 405, it is checked whether or not the communication success rate has been measured for all the wireless slave stations 3, and if not, the process returns to step # 402 and the same operation is repeated. When the measurement has been performed for all the wireless slave stations 3, the process proceeds to the next step # 306.

【0061】ステップ#306において、上記過程で得
られたデータを無線親局2に送信し、このルーチンを出
る(#407)。
In step # 306, the data obtained in the above process is transmitted to the radio base station 2, and the routine exits (# 407).

【0062】図5は、無線親局2又は無線子局3が他の
無線子局3との交信を行い、その間の通信成功率を測定
するサブルーチンを示す。
FIG. 5 shows a subroutine in which the wireless master station 2 or the wireless slave station 3 performs communication with another wireless slave station 3 and measures a communication success rate therebetween.

【0063】ここで、主局又は主局側とは、通信成功率
を測定するためのテスト通信をしかける側であり、従局
又は従局側とは、これをしかけられる側である。つま
り、この表現は、無線親局から無線子局へのテスト通
信、及び、無線子局から他の無線子局へのテスト通信が
あるので、これを両方とも表現するものである。
Here, the master station or the master station is a side that performs test communication for measuring a communication success rate, and the slave station or the slave station is a side that can initiate the test communication. That is, in this expression, since there is a test communication from the wireless master station to the wireless slave station and a test communication from the wireless slave station to another wireless slave station, both are expressed.

【0064】また、この例では、テストデータは予め決
められている。全ての無線親局及び無線子局は同一のデ
ータを有しており、このデータと受信したデータとを比
較することにより、正常に受信したか否かを判別するよ
うにしている。
In this example, the test data is predetermined. All wireless master stations and wireless slave stations have the same data, and by comparing this data with the received data, it is determined whether the data has been normally received.

【0065】正常に受信したか否かの判別方法は、この
ように予めテストデータを決めておく方法に限らず、ラ
ンダムデータを送信し、チェックサムをとる、CRCを
とる等どのような方法でも採用することができる。
The method of determining whether or not the data has been normally received is not limited to the method in which test data is determined in advance, but may be any method such as transmitting random data, taking a checksum, taking a CRC, and the like. Can be adopted.

【0066】ステップ#501においてこのサブルーチ
ンは開始する。
This subroutine starts in step # 501.

【0067】ステップ#502において従局へテストデ
ータを送信する。
In step # 502, the test data is transmitted to the slave station.

【0068】従局側が主局側の送信を認識すると、テス
トデータ受信のサブルーチンがスタートし(#55
1)、主局から送られてくるテストデータを受信する
(#552)。
When the slave station recognizes the transmission of the master station, the subroutine of test data reception starts (# 55).
1), receive test data sent from the main station (# 552).

【0069】テストデータが正しく受信されたか否か
は、自分の持っているテストデータと受信したテストデ
ータとが一致するかどうかにより判定する(#55
3)。
Whether the test data has been received correctly is determined by whether or not the test data held by the user matches the received test data (# 55).
3).

【0070】この結果、正しく受信できたと判定される
ときは、主局へ[OK]信号を送信し(#555)、ま
た、正しく受信できなかったときは、[NG]信号を送
信して(#554)、このルーチンを出る(#55
6)。
As a result, when it is determined that the signal has been correctly received, an [OK] signal is transmitted to the master station (# 555). When the signal cannot be correctly received, an [NG] signal is transmitted (# 555). This routine is exited (# 55).
6).

【0071】主局側は従局側からの判定結果を受信した
か否かをチェックし(#503)、これを受信しなけれ
ばタイムアウトか否かをチェックし(#504)、タイ
ムアウトでなければ、再びステップ#503に帰る。つ
まり、一定時間の間従局側から判定結果が送信されてく
るのを待つことになる。
The master station checks whether or not the judgment result from the slave station has been received (# 503). If it has not received this, it checks whether or not a timeout has occurred (# 504). It returns to step # 503 again. That is, it waits for the determination result to be transmitted from the slave station for a certain period of time.

【0072】上記時間が経過しても判定結果を受信でき
なかったら、この回のテストでは正常な通信が行われな
かったとして、ステップ#507に流れを移す。
If the judgment result is not received after the elapse of the above time, it is determined that normal communication was not performed in this test, and the flow moves to step # 507.

【0073】上記ステップ#503において、テスト結
果を受信したときは、次のステップ#505において、
テスト結果の内容についてチェックし、これが正しけれ
ば、すなわち、「OK」信号が送られてきていれば、ス
テップ#507において変数「OK回数」を1だけ増や
す。
When the test result is received in step # 503, in the next step # 505,
The contents of the test result are checked, and if this is correct, that is, if the "OK" signal has been sent, the variable "OK count" is increased by 1 in step # 507.

【0074】ステップ#505におけるチェックでテス
ト結果が正しくなければ、ステップ#507に流れを移
す。
If the test result in the check in step # 505 is not correct, the flow moves to step # 507.

【0075】このステップ#507において、テストデ
ータの送信回数を示す変数「送信回数」の値を1だけ増
やす。
In step # 507, the value of the variable "number of transmissions" indicating the number of transmissions of test data is increased by one.

【0076】以上の過程は、テストデータを送った回数
と正常に受信した回数をカウントしていることになる。
In the above process, the number of times test data is sent and the number of times test data are normally received are counted.

【0077】そして、テストデータの送信回数が規定の
回数に達したか否かをチェックし(#508)、達して
いなければ、再びステップ#502に帰り、同様の処理
を繰り返し、規定回数に達すれば、次のステップ#50
9に移る。
Then, it is checked whether or not the number of transmissions of the test data has reached a specified number (# 508). If not, the process returns to step # 502 again and the same processing is repeated until the specified number is reached. If the next step # 50
Move to 9.

【0078】ステップ#509において、変数「OK回
数」と変数「送信回数」の比を演算し通信成功率を求め
る。
In step # 509, the ratio of the variable "OK count" to the variable "transmission count" is calculated to determine the communication success rate.

【0079】なお、以上の説明では、通信成功率を算出
するようにしているが、各局間の通信エラー率すなわち
エラー回数/送信回数を測定するようにしてもよい。
In the above description, the communication success rate is calculated. However, the communication error rate between stations, that is, the number of errors / the number of transmissions may be measured.

【0080】その場合、 通信成功率=1−通信エラー
率 となるので、計算を簡単にするため、中継ルートは
通信エラー率の総和をできるだけ小さくなるように選ぶ
こともできる。どちらで計算しても、実質的に中継ルー
トの通信成功率を求めていることに変わりがない。
In this case, since the communication success rate = 1−communication error rate, the relay route can be selected so that the total sum of the communication error rates is as small as possible to simplify the calculation. Whichever calculation is performed, the communication success rate of the relay route is substantially obtained.

【0081】[0081]

【発明の効果】本発明は、上記したように、自動販売機
の無線親局と無線子局間のより好ましい中継ルートをア
クティブに決定するシステムであるので、中継ルートに
支障が生じたとき、改めて手数のかかる通信テストを行
う必要がなく、通信不能という最悪の状態に陥ることを
防止することができるという効果を有するものである。
As described above, the present invention is a system for actively determining a more preferable relay route between a wireless master station and a wireless slave station of a vending machine. There is no need to perform a troublesome communication test again, and it is possible to prevent the worst case of communication failure from occurring.

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

【図1】本発明の自動販売機における自動販売機通信シ
ステムの概要を表す図である。
FIG. 1 is a diagram showing an outline of a vending machine communication system in a vending machine of the present invention.

【図2】本発明の自動販売機における自動販売機通信シ
ステムにおいて、無線親局及び複数の無線子局が不特定
の多数の間で通信をする様子を示す概要図である。
FIG. 2 is a schematic diagram showing a state in which a wireless master station and a plurality of wireless slave stations communicate between an unspecified number in a vending machine communication system in a vending machine according to the present invention.

【図3】本発明の自動販売機における自動販売機通信シ
ステムにおいて、無線親局が無線子局との間の通信成功
率を収集するフローと無線子局に対して他の無線子局の
との間の通信成功率を測定するように要求を出すフロー
を示すフローチャートである。
FIG. 3 is a flowchart illustrating a flow in which a wireless master station collects a communication success rate with a wireless slave station in a vending machine communication system in a vending machine according to the present invention; 4 is a flowchart showing a flow for issuing a request to measure a communication success rate during the period.

【図4】無線子局が他の無線子局との間の通信成功率を
収集するフローを示すフローチャートである。
FIG. 4 is a flowchart illustrating a flow in which a wireless slave station collects a communication success rate with another wireless slave station.

【図5】主局が従局との間の通信成功率を測定するフロ
ーを示すフローチャートである。
FIG. 5 is a flowchart showing a flow in which a master station measures a success rate of communication with a slave station.

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

1 ホストコンピュータ 2 無線親局 3 無線子局 4 自動販売機 1 host computer 2 wireless master station 3 wireless slave station 4 vending machine

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 複数の自動販売機と、 上記自動販売機にそれぞれ接続され且つ該自動販売機か
らのデータを収集する無線子局と、 前記無線子局とデータの送受信が可能な無線親局と、 上記無線親局と通信回線を介して通信可能に接続された
ホストコンピュータと、を備え、 上記無線親局及び上記無線子局は他の無線子局と相互に
通信可能であるとともに、 上記無線親局は複数の無線子局を介して上記自動販売機
のデータを収集する自動販売機の通信システムにおい
て、 上記無線親局及び上記無線子局と他の無線子局との間の
通信成功率を測定する測定手段と、 前記通信成功率が所定値以上のときその局間を通信可能
と判断する判断手段と、 前記判断手段が通信可能と判断した局間を使用して上記
無線親局から上記無線子局への通信の中継ルートを決定
する中継ルート決定手段と、を設けたことを特徴とする
自動販売機の通信システム。
1. A plurality of vending machines, a wireless slave station connected to the vending machine and collecting data from the vending machine, and a wireless master station capable of transmitting and receiving data to and from the wireless slave station And a host computer communicably connected to the wireless master station via a communication line, wherein the wireless master station and the wireless slave station can mutually communicate with other wireless slave stations, and In a vending machine communication system for collecting data of the vending machine via a plurality of wireless slave stations, the wireless master station can successfully communicate between the wireless master station and the wireless slave station and another wireless slave station. Measuring means for measuring the rate; determining means for determining that communication between the stations is possible when the communication success rate is equal to or more than a predetermined value; and the wireless master station using the stations determined to be communicable by the determining means. Relay of communication from the above to the above-mentioned wireless slave station Communication system of the vending machine, characterized by comprising a relay route determination means for determining the over bets, the.
【請求項2】 上記測定手段は、上記無線親局及び上記
無線子局から他の無線子局にテスト信号を送信し、該テ
スト信号の受信が成功した割合を算出することを特徴と
する請求項1記載の自動販売機の通信システム。
2. The wireless communication system according to claim 1, wherein the measuring unit transmits a test signal from the wireless master station and the wireless slave station to another wireless slave station, and calculates a ratio of successful reception of the test signal. Item 4. A vending machine communication system according to item 1.
【請求項3】 前記中継ルート決定手段は、中継局の数
が少なくなるように中継ルートを決定することを特徴と
する請求項1乃至請求項2記載の自動販売機の通信シス
テム
3. A communication system for a vending machine according to claim 1, wherein said relay route determining means determines a relay route so as to reduce the number of relay stations.
【請求項4】 前記中継ルート決定手段は、上記無線親
局から目的の無線子局までの各局間の通信成功率の積が
最大になるように中継ルートを決定することを特徴とす
る請求項2記載の自動販売機の通信システム。
4. The relay route determining means determines a relay route such that a product of a communication success rate between each station from the wireless master station to a target wireless slave station is maximized. 2. The vending machine communication system according to 2.
【請求項5】 複数の自動販売機と、 上記自動販売機にそれぞれ接続され且つ該自動販売機か
らのデータを収集する無線子局と、 前記無線子局とデータの送受信が可能な無線親局と、 上記無線親局と通信回線を介して通信可能に接続された
ホストコンピュータと、を備え、 上記無線親局及び上記無線子局は他の無線子局と相互に
通信可能であるとともに、 上記無線親局は複数の無線子局を介して上記自動販売機
のデータを収集する自動販売機の通信システムにおい
て、 上記無線親局及び上記無線子局と他の無線子局との間の
通信成功率を測定する測定手段と、 上記無線親局から各無線子局への中継ルートを各局間の
通信成功率に基づいて中継ルート全体の通信成功率が最
適になるように決定する中継ルート決定手段と、を備え
たことを特徴とする自動販売機の通信システム。
5. A plurality of vending machines, a wireless slave station connected to the vending machine and collecting data from the vending machine, and a wireless master station capable of transmitting and receiving data to and from the wireless slave station. And a host computer communicably connected to the wireless master station via a communication line, wherein the wireless master station and the wireless slave station can mutually communicate with other wireless slave stations, and In a vending machine communication system for collecting data of the vending machine via a plurality of wireless slave stations, the wireless master station can successfully communicate between the wireless master station and the wireless slave station and another wireless slave station. Measuring means for measuring the relay rate, and relay route determining means for determining a relay route from the wireless master station to each wireless slave station based on a communication success rate between the stations so that a communication success rate of the entire relay route is optimized. And that Communication system of the vending machine to be.
【請求項6】 上記測定手段による通信成功率の測定を
定期的に行うことを特徴とする請求項1乃至請求項5記
載の自動販売機の通信システム。
6. The vending machine communication system according to claim 1, wherein the communication means measures the communication success rate periodically.
【請求項7】 上記測定手段による通信成功率の測定を
無線親機が各自動販売機の販売データの収集を行う前に
することを特徴とする請求項1乃至請求項5の自動販売
機の通信システム。
7. The vending machine according to claim 1, wherein the measurement of the communication success rate by the measuring means is performed before the wireless master device collects sales data of each vending machine. Communications system.
JP12288697A 1997-04-28 1997-04-28 Communication system for automatic vending machine Withdrawn JPH10302128A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12288697A JPH10302128A (en) 1997-04-28 1997-04-28 Communication system for automatic vending machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12288697A JPH10302128A (en) 1997-04-28 1997-04-28 Communication system for automatic vending machine

Publications (1)

Publication Number Publication Date
JPH10302128A true JPH10302128A (en) 1998-11-13

Family

ID=14847077

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12288697A Withdrawn JPH10302128A (en) 1997-04-28 1997-04-28 Communication system for automatic vending machine

Country Status (1)

Country Link
JP (1) JPH10302128A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004102504A1 (en) * 2003-05-14 2004-11-25 Azkoyen Industrial, S.A. System and method for remote communication with vending machines which are connected by means of a local-area wireless network
WO2017133433A1 (en) * 2016-02-04 2017-08-10 Jrd Communication Inc. Estimating success rate of direct data transmissions between mobile devices in wireless network

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004102504A1 (en) * 2003-05-14 2004-11-25 Azkoyen Industrial, S.A. System and method for remote communication with vending machines which are connected by means of a local-area wireless network
WO2017133433A1 (en) * 2016-02-04 2017-08-10 Jrd Communication Inc. Estimating success rate of direct data transmissions between mobile devices in wireless network
CN109792616A (en) * 2016-02-04 2019-05-21 捷开通讯(深圳)有限公司 Evaluation of success rate of direct message transmission between mobile devices in wireless network
CN109792616B (en) * 2016-02-04 2022-05-06 捷开通讯(深圳)有限公司 Evaluation of success rate of direct message transmission between mobile devices in wireless network

Similar Documents

Publication Publication Date Title
EP0715433B1 (en) Method for wireless communication by way of repeatedly transmitted messages
EP2081325B1 (en) Supervisory control method and supervisory control device
US9001674B2 (en) Method of sensing
US10567251B2 (en) Accurate mobile traffic information acquisition with minimal transmission cost and optional V2V extension
US20010018336A1 (en) Communication method and mobile station in mobile communication system
WO1999011081A2 (en) An apparatus and method for peer-to-peer link monitoring of a wireless network with centralized control
JPH0583017B2 (en)
US5490288A (en) Method for determining low signal quality communications
CN102547790A (en) Reference signal collision detection
JP2003078947A (en) Mobile stations position detection system
GB2327015A (en) Distributed antenna monitoring system
JP2003051781A5 (en)
JPH10302128A (en) Communication system for automatic vending machine
US9066319B2 (en) Method of sensing in a radio system employing opportunistic spectrum access
US6570852B1 (en) Relay communication system
JP2002109675A (en) Data collection system
JP2001157280A (en) Wireless data communication terminal and radio wave state detection method
JP2012227864A (en) Communication node
JP3371938B2 (en) Wireless communication system
JP4608784B2 (en) Wireless device and wireless communication method performed by wireless device
JP7049532B1 (en) Failure judgment device and failure judgment method
US20080098440A1 (en) Method and system for transmitting broadcast data
JPH06232795A (en) Wireless communication device for data terminal
CA2402143C (en) Apparatus for improving the signal to noise ratio in wireless communication systems through message pooling and method of using the same
JP4683907B2 (en) Communication system and frequency channel allocation change method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060118

A131 Notification of reasons for refusal

Effective date: 20060124

Free format text: JAPANESE INTERMEDIATE CODE: A131

A761 Written withdrawal of application

Effective date: 20060327

Free format text: JAPANESE INTERMEDIATE CODE: A761