JPH01169571A - Method for retrying transmission in sale information collecting system - Google Patents
Method for retrying transmission in sale information collecting systemInfo
- Publication number
- JPH01169571A JPH01169571A JP62328247A JP32824787A JPH01169571A JP H01169571 A JPH01169571 A JP H01169571A JP 62328247 A JP62328247 A JP 62328247A JP 32824787 A JP32824787 A JP 32824787A JP H01169571 A JPH01169571 A JP H01169571A
- Authority
- JP
- Japan
- Prior art keywords
- transmission
- sales information
- time
- data
- terminal
- 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.)
- Pending
Links
Landscapes
- Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
本発明はそれぞれ商品販売のつど発生する売上情報(売
上データともいう)を蓄積記憶する複数の自動販売機(
自販機とも略す)、PO3端末等の端末装置(単に端末
ともいう)と、この各端末の前記売上情報を公衆通信回
線(単に回線ともいう)を介して収集する共通のセンタ
装置(単にセンタともいう)とからなり、
前記の各端末は前記公衆通信回線を介し、それぞれ所定
の時刻毎に、順番に前記センタに発呼して、当該の時刻
までに蓄積した売上情報を送信する売上情報収集システ
ムにおいて、
特に何らかの障害により端末からセンタへの売上情報の
送信リトライ動作が繰返されるとき、この端末が回線を
占有し続けることを防ぐ送信リトライ方法に関する。
なお以下各図において同一の符号は同一もしくは相当部
分を示す。The present invention provides a plurality of vending machines (
vending machines), PO3 terminals (also simply referred to as terminals), and a common center device (also simply referred to as center) that collects the sales information of each terminal via a public communication line (also simply referred to as line). ), each of the terminals calls the center in turn at a predetermined time via the public communication line, and transmits the sales information accumulated up to the relevant time. The present invention relates to a transmission retry method for preventing a terminal from continuing to occupy a line, especially when the retry operation of transmitting sales information from a terminal to a center is repeated due to some kind of failure. Note that in the following figures, the same reference numerals indicate the same or corresponding parts.
第3図はこの種の、売上情報システムの概略構成を示す
。同図では端末を兼ねる自販機V (Vl〜Vn )が
公衆通信回線9および交換機IOを介して1つのセンタ
装置12につながっているもので、センタ装置12はデ
ータ交信を各端末毎に順次行っている。回線9をらなぐ
ための発呼は端末装置(自販機)■より、決められた時
刻に行なう。
この理由は、自販機を設置する先毎に自販機専用の電話
工事をするのは費用がかかるため、予め電話がある所に
自販機を設置し、その電話の使用率の低い夜間にデータ
交信をするという考え方であり、センタ装置より順次各
端末へ発呼して回線をつなぐセンタ発呼の方式では、夜
間に端末側の電話のベルが鳴ってしまうため、端末発呼
としているものである。FIG. 3 shows a schematic configuration of this type of sales information system. In the figure, vending machines V (Vl to Vn) that also serve as terminals are connected to one center device 12 via a public communication line 9 and an exchange IO, and the center device 12 sequentially performs data communication with each terminal. There is. A call to connect line 9 is made from the terminal device (vending machine) ① at a predetermined time. The reason for this is that it would be expensive to install a dedicated telephone for each vending machine at each location, so the idea is to install the vending machine in advance in a location where there is a telephone, and to communicate data at night when the telephone usage rate is low. The idea behind this is that in the center call method, in which a center device calls each terminal in turn and connects the lines, the telephone bell on the terminal side would ring at night, so calls are called from terminals.
この端末発呼の方式では、予めl端末のデータ交信時間
を見越して、各端末の発呼時刻を決めても、発呼時やデ
ータ交信中にエラーが発生した場合、そのデータを再度
センタへ送るのに端末より再発呼しなければならないた
め、次の端末の発呼時刻に充分余裕を取らねばならない
。さもなければ次番の端末は、センタ装置へ発呼しても
話し中になってしまう。
しかしながらこのように発呼時刻に余裕をもたせる方法
は、この余裕が極端に大きくなると回線の使用効率が悪
くなり、端末数が少ない内はよいが、端末数が増えてく
ると夜間という限られた時間内に送信することができな
くなるので、端末数が大巾に制限されてしまうという問
題点がある。
そこで本発明の目的は、交信障害時、端末の再発呼の回
数を数え、この回数が所定の制限回数に達したときは当
該の交信を次回(翌日)まわしとする売上情報収集シス
テムの送信リトライ方法を提供することにより、上記問
題点を解決し回線の使用効率を高めることにある。In this method of terminal call origination, even if the call origination time for each terminal is determined in advance by anticipating the data communication time of each terminal, if an error occurs during call origination or data communication, the data is sent to the center again. Since the terminal must call again to send the message, it is necessary to allow sufficient time for the next terminal to make a call. Otherwise, the next terminal will be busy even if it makes a call to the center device. However, with this method of allowing a margin for the call origination time, if this margin becomes extremely large, the line usage efficiency deteriorates, and while it is fine as long as the number of terminals is small, as the number of terminals increases, it becomes difficult to use the line at night. Since it becomes impossible to send data within the specified time, there is a problem in that the number of terminals is severely limited. Therefore, the purpose of the present invention is to perform a transmission retry for a sales information collection system that counts the number of times the terminal calls again when a communication failure occurs, and when this number reaches a predetermined limit, sends the communication to the next time (the next day). By providing a method, it is an object of the present invention to solve the above-mentioned problems and improve the efficiency of line usage.
前記問題点を解決するために本発明の方法は、rそれぞ
れ商品販売のつど(販売商品判定信号2などを介し)発
生する売上情報を蓄積記憶する複数の端末装置(自販機
vなど)と、この各端末装置の前記売上情報を公衆通信
回線(9など)を介して収集する共通のセンタ装置(1
2など)とからなり、
前記の各端末装置は、前記公衆通信回線を介し、それぞ
れ(送信時刻判別手段4Aなどを介し判別した)所定の
時刻毎に、順番に前記センタ装置に発呼して、当該の蒔
刻までに蓄積した前記売上情報を送信する売上情報収集
システムにおいて、前記端末装置は、前記発呼ののち、
該発呼に基づく前記売上情報の送信終了を確認する迄の
間に、前記売上情報の送信に関わる何らかの障害を判別
したときは、その判別のつど、直ちに(送信リトライ手
段4Bなどを介して)前記の発呼から該発呼に対応する
前記送信終了をf111認するまでの動作を始めから繰
返して行くリトライ動作を実行し、このリトライ動作の
(リトライカウンタ4Cなどを介して計数した)回数が
所定の制限回数を越えたときは、前記時刻に対応する前
記売上情報の送信を打切るように」するものとする。In order to solve the above problems, the method of the present invention includes a plurality of terminal devices (such as vending machines v) that accumulate and store sales information generated each time a product is sold (via a sales product determination signal 2, etc.); A common center device (1) that collects the sales information of each terminal device via a public communication line (9 etc.)
2, etc.), and each of the above-mentioned terminal devices makes a call to the center device in turn at each predetermined time (determined via the transmission time determination means 4A, etc.) via the public communication line. , in a sales information collection system that transmits the sales information accumulated up to the relevant time, after making the call, the terminal device:
If any failure related to the transmission of the sales information is determined before confirming the completion of the transmission of the sales information based on the call, immediately (via the transmission retry means 4B, etc.) each time it is determined. A retry operation is performed in which the operation from the above call origination to the f111 confirmation of the end of the transmission corresponding to the call origination is repeated from the beginning, and the number of times this retry operation (counted via the retry counter 4C etc.) is When a predetermined limit number of times is exceeded, the transmission of the sales information corresponding to the time is discontinued.
本発明は、端末定刻発呼方式の売上情報収集システムに
おいて、回線上の交信障害が発生した場合、端末よりの
再発呼の回数に制御を設け、その制限回数以上となった
場合には、次回発呼時刻(翌日)迄データ交信をせず、
次番の端末の発呼およびそのデータ通信の妨げにならな
いようにして1端末の回線の占有を防ぎ、システム全体
の回線使用効率を高めるようにしたものである。The present invention provides a sales information collection system using a fixed terminal call system, in which when a communication failure occurs on the line, the number of re-calls from the terminal is controlled, and when the number of re-calls exceeds the limit, the next call is made. No data exchange until the time of call (the next day).
This system prevents one terminal from monopolizing the line by not interfering with the next terminal's call and data communication, thereby increasing the line usage efficiency of the entire system.
次に第1図および第2図に基づいて本発明の詳細な説明
する。第1図は本発明の一実施例としての売上情報収集
システムの要部構成を示すブロック図、第2図は第1図
の要部動作を示すフローチャートである。
第1図において、1は自販機■の販売制御を行なう販売
制御装置、2はこの販売制御装置1がら出力され、販売
された商品の種類を検知するための販売商品判定信号で
、この信号2は入出力インタフェース(Iloとも略記
する)3を介してCPU4に入力される。
CPU4は入力した前記販売商品判定信号2により販売
商品の種類別の売上累計数等からなる売上データを作成
したり、この自販機■とセンタ装置12とのデータ交信
を制御する。
このCPUJ内の送信時刻判別手段4A、送信リトライ
手段4B、 リトライカウンタ4Cは、このCPU4
の各種の機能のうち代表的な1部の機能を等価的に分担
実行すると見做したときの部分機能部である。5は時間
を計時してその計時信号をCPU4に与える時計、6は
CPU4に属し、売上データや発呼時刻を記憶するRA
Mである。
CPU4は前記売上データをモデムインタフェース、を
介してモデムNCU (即ち図外の電話機とこのモデム
インタフェース7側とに公衆通信回線9の自動切換を行
うNCUとモデムとを兼ねた装置)8に送り、これによ
りこの売上データは公衆通信回線9→交換機10→公衆
電話回線9→モデムNCU3の経路でパソコン等からな
るセンタ装置12へ送信され、さらにこのセンタ装置1
2は収集した売上データをプリンタ13を介し印字出力
する。
次に第2図を用いて第1図の要部動作を説明する。時計
5を介しCPU4 (内の送信時刻判別手段4A)が発
呼時刻になったことを判別した時(ステップ1019分
岐Y)、端末■のCPU4はモデムインタフェース7、
モデムNCU3を介しセンタ装置12へ発呼しくステッ
プ102)、回線が接続′されれば(ステフジ1039
分岐Y)、CPU4はセンタ装置12へ売上データの送
信を開始しくステップ104)、この送信において交信
エラーが無ければ(ステフッ1051分岐N)、今回の
発呼時刻に対応するこの自販機Vからの売上データの送
信を終る(ステフジ1069分岐Y)。
しかし前記ステップ102における1回の発呼によって
回線が接続されなかったとき(ステップ103゜分岐N
) 、CPU4(内の送信リトライ手段4B)はCPU
4内のリトライカウンタ4Cをインクリメントして(ス
テップ107)、このリトライカウンタの計数値が制限
回数に達するまでは(ステップ108、分岐Y)、ステ
ップ102へ戻って再度発呼する。
また売上データの送信中にデータエラーが発生し、売上
データが正常にセンタ装置12へ送信できなかった時も
(ステフッ1051分岐Y)、前記と同様にリトライカ
ウンタ4Cをインクリメントし、このカウンタ計数値が
制限回数に達する迄は発呼の手順に戻って、売上データ
送信を始めからやり直す(ステップ107.108→1
02.103−))。
このようにしてリトライカウンタ4Cの計数値が制限回
数を越えたときは(ステフッ1081分岐N)、その回
のデータ交信を終ったものとして、次回(翌日)迄セン
タ装置12との交信を行わず、売上データも次回迄計数
し続ける。
このようにすると、交イ言エラーによって当冨亥の端末
が次の順番にある端末の発呼時刻迄データ交信を続ける
ようなことが防止でき、1端末による回線の占有を防ぐ
ことができる。Next, the present invention will be explained in detail based on FIGS. 1 and 2. FIG. 1 is a block diagram showing the configuration of main parts of a sales information collection system as an embodiment of the present invention, and FIG. 2 is a flowchart showing the operation of the main parts of FIG. In FIG. 1, 1 is a sales control device that controls the sales of the vending machine (■), and 2 is a sales product determination signal outputted from this sales control device 1 to detect the type of product sold. It is input to the CPU 4 via an input/output interface (also abbreviated as Ilo) 3. The CPU 4 creates sales data including cumulative sales by type of sales product based on the input sales product determination signal 2, and controls data communication between the vending machine ① and the center device 12. The transmission time determination means 4A, the transmission retry means 4B, and the retry counter 4C in this CPU4 are
This is a partial functional unit when it is assumed that one representative part of the various functions of the system is equivalently shared and executed. 5 is a clock that measures time and sends the clock signal to the CPU 4; 6 is an RA that belongs to the CPU 4 and stores sales data and calling times;
It is M. The CPU 4 sends the sales data to the modem NCU 8 (that is, a device that functions as both an NCU and a modem that automatically switches the public communication line 9 between a telephone (not shown) and the modem interface 7 side) 8 through the modem interface. As a result, this sales data is transmitted to the center device 12 consisting of a personal computer or the like via the public communication line 9 -> switchboard 10 -> public telephone line 9 -> modem NCU 3.
2 prints out the collected sales data via a printer 13. Next, the operation of the main part shown in FIG. 1 will be explained using FIG. 2. When the CPU 4 (internal transmission time determining means 4A) determines that the calling time has arrived via the clock 5 (step 1019 branch Y), the CPU 4 of the terminal
When a call is made to the center device 12 via the modem NCU 3 (step 102), if the line is connected (step 1039)
Branch Y), the CPU 4 starts transmitting sales data to the center device 12 (step 104), and if there is no communication error in this transmission (step 1051 branch N), the CPU 4 starts transmitting sales data to the center device 12. Data transmission ends (step 1069 branch Y). However, when the line is not connected by one call in step 102 (step 103 branch N
), CPU4 (transmission retry means 4B within) is CPU
4 (step 107), and until the count value of this retry counter reaches the limit number of times (step 108, branch Y), the process returns to step 102 and calls are made again. Also, when a data error occurs during the transmission of sales data and the sales data cannot be sent normally to the center device 12 (step 1051 branch Y), the retry counter 4C is incremented in the same way as above, and this counter count value is Until the number of calls reaches the limit, return to the calling procedure and start sending sales data from the beginning (steps 107 and 108 → 1).
02.103-)). In this way, when the count value of the retry counter 4C exceeds the limit number of times (step 1081 branch N), it is assumed that the data communication for that time has ended, and no communication with the center device 12 will be performed until the next time (the next day). , sales data will continue to be counted until the next time. In this way, it is possible to prevent a communication error from causing the current terminal to continue data communication until the next terminal in turn calls, and it is possible to prevent one terminal from monopolizing the line.
本発明によれば、売上データ送信上の障害が発生した場
合、再発呼の回数に制限を設け、制限回数内で売上デー
タ送信ができない時は、次回(翌日)迄売上データを送
信しないような構成としたので、この送信障害が次の順
番にある端末の発呼の妨げにならないようになり、一端
末による回線の占有を防ぐことができ、システム全体の
回線の利用効率を高めることができる。According to the present invention, when a failure occurs in the transmission of sales data, a limit is set on the number of re-calls, and if the sales data cannot be transmitted within the limited number of times, the sales data is not transmitted until the next time (the next day). This configuration prevents this transmission failure from interfering with the next terminal in the order to make a call, prevents one terminal from monopolizing the line, and increases the efficiency of line usage in the entire system. .
第1図は本発明の一実施例としてのシステム構成を示す
ブロック図、第2図は同じく第1図の要部動作を説明す
るフローチャート、第3図は売上情報収集システムの概
略構成を示す図である。
■(■l〜■n):自販機、1:販売制御装置、2:販
売商品判定信号、4:cPU、4A:送信時刻判別手段
、4B=送信リトライ手段、4C:リトライカウンタ、
5:時計、6:RAM、1:モデムインタフェース、8
:モデムNCU、9:公衆通信回線、10:交換機、1
2:センタ装置。
■:自販へ
オ 11
第2図FIG. 1 is a block diagram showing a system configuration as an embodiment of the present invention, FIG. 2 is a flowchart explaining the main operation of FIG. 1, and FIG. 3 is a diagram showing a schematic configuration of a sales information collection system. It is. ■(■l~■n): Vending machine, 1: Sales control device, 2: Sales product determination signal, 4: cPU, 4A: Transmission time determination means, 4B = Transmission retry means, 4C: Retry counter,
5: Clock, 6: RAM, 1: Modem interface, 8
: Modem NCU, 9: Public communication line, 10: Exchange, 1
2: Center device. ■: Go to vending machine 11 Figure 2
Claims (1)
憶する複数の端末装置と、この各端末装置の前記売上情
報を公衆通信回線を介して収集する共通のセンタ装置と
からなり、 前記の各端末装置は、前記公衆通信回線を介し、それぞ
れ所定の時刻毎に、順番に前記センタ装置に発呼して、
当該の時刻までに蓄積した前記売上情報を送信する売上
情報収集システムにおいて、前記端末装置は、前記発呼
ののち、該発呼に基づく前記売上情報の送信終了を確認
する迄の間に、前記売上情報の送信に関わる何らかの障
害を判別したときは、その判別のつど、直ちに前記の発
呼から、該発呼に対応する前記送信終了を確認するまで
の動作を始めから繰返して行くリトライ動作を実行し、 このリトライ動作の回数が所定の制限回数を越えたとき
は、前記時刻に対応する前記売上情報の送信を打切るよ
うにしたことを特徴とする売上情報収集システムの送信
リトライ方法。[Scope of Claims] 1) From a plurality of terminal devices that accumulate and store sales information generated each time a product is sold, and a common center device that collects the sales information of each terminal device via a public communication line. Each of the terminal devices calls the center device in turn at each predetermined time via the public communication line,
In the sales information collection system that transmits the sales information accumulated up to the relevant time, the terminal device transmits the sales information after making the call and before confirming that the transmission of the sales information based on the call is completed. When any failure related to the transmission of sales information is determined, each time it is determined, a retry operation is immediately performed that repeats the operation from the beginning to confirming the completion of the transmission corresponding to the call. A transmission retry method for a sales information collection system, characterized in that when the number of retry operations exceeds a predetermined limit number of times, transmission of the sales information corresponding to the time is terminated.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62328247A JPH01169571A (en) | 1987-12-24 | 1987-12-24 | Method for retrying transmission in sale information collecting system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62328247A JPH01169571A (en) | 1987-12-24 | 1987-12-24 | Method for retrying transmission in sale information collecting system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01169571A true JPH01169571A (en) | 1989-07-04 |
Family
ID=18208077
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62328247A Pending JPH01169571A (en) | 1987-12-24 | 1987-12-24 | Method for retrying transmission in sale information collecting system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01169571A (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5854762A (en) * | 1981-09-29 | 1983-03-31 | Fujitsu Ltd | Communication controller |
| JPS5917757A (en) * | 1982-07-21 | 1984-01-30 | Nec Corp | Controlling system of data transmission |
| JPS6249560A (en) * | 1985-08-29 | 1987-03-04 | Fujitsu Ltd | Data transmitting system |
-
1987
- 1987-12-24 JP JP62328247A patent/JPH01169571A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5854762A (en) * | 1981-09-29 | 1983-03-31 | Fujitsu Ltd | Communication controller |
| JPS5917757A (en) * | 1982-07-21 | 1984-01-30 | Nec Corp | Controlling system of data transmission |
| JPS6249560A (en) * | 1985-08-29 | 1987-03-04 | Fujitsu Ltd | Data transmitting system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0148836B1 (en) | Method and apparatus for sending a data message to a selected station during a silent interval between ringing | |
| JPH01169571A (en) | Method for retrying transmission in sale information collecting system | |
| EP0033821A2 (en) | Intelligent interfacing apparatus for the automatic management of a switched or dedicated telecommunication line | |
| KR100308913B1 (en) | A Statistics Process Method And Apparatus Of Intelligent Network Service | |
| JPH05233992A (en) | Method of assigning identifier in automatic meter reading system | |
| JP2832223B2 (en) | Line selection device management system | |
| JP3222030B2 (en) | Terminal, monitoring device and communication device | |
| KR970019299A (en) | Subscriber Service Control Signal Tracking Implementation Method | |
| JP2779767B2 (en) | Billing system for interrupted calls in busy state | |
| JPS6398281A (en) | Facsimile equipment | |
| JP3578552B2 (en) | Data communication system and terminal-side data communication device | |
| JP2711942B2 (en) | Frequency counter remote reader | |
| JPS60157354A (en) | Communication control device | |
| JP2766932B2 (en) | Line selection device | |
| JPH04245394A (en) | Data management device for automatic vending machine | |
| JP2832215B2 (en) | Line selection device | |
| JPS6062266A (en) | Facsimile equipment | |
| JPH05244265A (en) | Communication system | |
| JPH07297945A (en) | Printing processing control method | |
| JPH04109792A (en) | Automatic sales data collection system | |
| JPH01200766A (en) | Call frequency aggregation device | |
| JPS6229350A (en) | Inter-station callback controller | |
| JPH0294769A (en) | Charge management system for use of line | |
| JPH02128558A (en) | How to display the busy time of the other party's terminal on the telephone | |
| JPH02308642A (en) | Network controller |