JPH05151125A - Terminal equipment - Google Patents

Terminal equipment

Info

Publication number
JPH05151125A
JPH05151125A JP3310510A JP31051091A JPH05151125A JP H05151125 A JPH05151125 A JP H05151125A JP 3310510 A JP3310510 A JP 3310510A JP 31051091 A JP31051091 A JP 31051091A JP H05151125 A JPH05151125 A JP H05151125A
Authority
JP
Japan
Prior art keywords
vending machine
host device
software
communication
host
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
Application number
JP3310510A
Other languages
Japanese (ja)
Inventor
Yoshinobu Naito
芳信 内藤
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP3310510A priority Critical patent/JPH05151125A/en
Publication of JPH05151125A publication Critical patent/JPH05151125A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To easily grasp the working state of a terminal equipment by counting the elapsed time after the transmission/reception of data carried out between the terminal equipment and a host device and transmitting a signal when the count value of the elapsed time reaches a prescribed level. CONSTITUTION:When the communication including the reception of the software data, etc., is complete to a host device 2, a soft vending machine (host device) 1 clears the count value of a timer 7 and starts the counting operation at 0. When the communication is required, before the count value of the timer 7 reaches a prescribed level, i.e., before a prescribed time passes after the communication is complete to the device 2, the communication is carried out to the device 2. Meanwhile the recognition numbers set for each vending machine 1, for example, are transmitted to the device 2 and the working state of the relevant machine 1 is reported to the host device 1.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、通信回線を用いて、ホ
スト装置との間でデータの送受信を行う端末装置に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a terminal device for transmitting / receiving data to / from a host device using a communication line.

【0002】[0002]

【従来の技術】従来、例えば、ホストと通信回線を介し
て接続されている自動販売機端末においては、ホストと
自動販売機端末の間で通信が行われるのは、自動販売機
端末が商品の売上げがあった時に売上情報をホストに送
信したり、自動販売機端末が何らかの異常をホストに知
らせたり、あるいは、ホストが各自動販売機端末に単価
設定情報などを送信したりする時である。ホストが自動
販売機端末を管理運用する上で、ホストは各自動販売機
端末が稼働中であるか否かを知ったり、各自動販売機端
末の在庫切れを知ったりするためには、ホストが自らそ
れら各自動販売機端末に対して通信を行なう必要があ
る。
2. Description of the Related Art Conventionally, for example, in a vending machine terminal that is connected to a host through a communication line, communication is performed between the host and the vending machine terminal when the vending machine terminal It is when the sales information is transmitted to the host when sales are made, the vending machine terminal notifies the host of any abnormality, or the host transmits unit price setting information or the like to each vending machine terminal. When the host manages and operates the vending machine terminal, the host needs to know whether the vending machine terminal is in operation or not, and to know when each vending machine terminal is out of stock. It is necessary to communicate with each of these vending machine terminals by themselves.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、正常に
稼働している自動販売機端末ならば、売上げが発生した
時に売上情報を、また、在庫切れが発生した時に在庫切
れ情報をホストに送信するが、自動販売機端末の通信機
能に何らかの異常が発生した場合、あるいは、自動販売
機端末が停電などによって、通信機能だけではなく、自
動販売機端末の稼働自体が不可能となってしまった場
合、自動販売機端末から「電源断」という情報が送信さ
れないので、ホストはその自動販売機端末が正常に稼働
しているものだと判断してしまう。つまり、自動販売機
端末が正常に稼働していて送るべき情報がないためにホ
ストへ発信しないのか、それとも、正常な動作ができな
くて発信しないのかは、ホスト側では判断できず、ホス
トにとってみればその自動販売機端末に一度発信してみ
ないことには、その端末が正常に稼働しているのか、そ
れとも、正常な動作ができないのかを判断することがで
きなかった。
However, if the vending machine terminal is operating normally, the sales information is sent to the host when sales occur, and the stock information is sent to the host when the stock runs out. , If some abnormality occurs in the communication function of the vending machine terminal, or if the vending machine terminal cannot operate not only the communication function but also the vending machine terminal itself due to a power failure or the like, Since the information “power off” is not transmitted from the vending machine terminal, the host determines that the vending machine terminal is operating normally. In other words, it is not possible for the host to judge whether the vending machine terminal is operating normally and there is no information to send, and whether the call is not sent to the host, or because the vending machine terminal does not operate normally and is not sent. For example, it was impossible to determine whether the terminal was operating normally or could not operate normally by not making a call to the vending machine terminal once.

【0004】また、ホストが各自動販売機端末の現在の
稼働状況などを知るために、各自動販売機端末に発信し
ては、自動販売機端末の台数に比例してホストの処理時
間が増大し、データの送受信がなくても発信するだけで
膨大な時間を要するので、本来必要なデータの送受信に
影響を及ぼしていた。
Further, in order for the host to know the current operating status of each vending machine terminal, etc., when the call is sent to each vending machine terminal, the processing time of the host increases in proportion to the number of vending machine terminals. However, it takes an enormous amount of time just to make a call without sending / receiving data, which adversely affects the sending / receiving of the originally necessary data.

【0005】本発明は、上述した問題点を解決するため
になされたものであり、ホスト装置に対して、端末装置
の稼働状況を定期的に送信することの可能な端末装置を
提供することを目的とする。
The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide a terminal device capable of periodically transmitting the operating status of the terminal device to the host device. To aim.

【0006】[0006]

【課題を解決するための手段】この目的を達成するため
に、本発明の端末装置は、通信回線を介して、ホスト装
置との間でデータの送受信を行う端末装置であって、前
記ホスト装置との間でデータの送受信を行ってからの経
過時間をカウントする計時手段と、その計時手段のカウ
ント値が所定の値に達したときに、前記ホスト装置に対
して信号を発する発信手段とを備えている。
In order to achieve this object, a terminal device of the present invention is a terminal device for transmitting / receiving data to / from a host device via a communication line. And a transmitting means for transmitting a signal to the host device when the count value of the measuring means has reached a predetermined value. I have it.

【0007】[0007]

【作用】上記の構成を有する本発明の端末装置では、計
時手段は、端末装置がホスト装置との間でデータの送受
信を行ってからの経過時間をカウントする。発信手段
は、計時手段のカウント値が所定の値に達すると、ホス
ト装置に対して信号を発する。
In the terminal device of the present invention having the above configuration, the time counting means counts the elapsed time after the terminal device transmits / receives data to / from the host device. The transmitting means sends a signal to the host device when the count value of the time measuring means reaches a predetermined value.

【0008】[0008]

【実施例】以下、本発明を、通信回線を用いた周知のソ
フトウェア自動販売システムに具体化した一例を、図面
を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An example of embodying the present invention in a known software vending system using a communication line will be described below with reference to the drawings.

【0009】図1及び図2に示すように、ホスト装置2
と各ソフト自動販売機1とは、通信回線3を介して接続
されており、ホスト装置2は必要に応じて各ソフト自動
販売機1へソフトウェア等を供給する。そして、ユーザ
ーはソフト自動販売機1を操作することにより、所望の
ソフトウェアを購入することができる。
As shown in FIGS. 1 and 2, the host device 2
And each software vending machine 1 are connected via a communication line 3, and the host device 2 supplies software and the like to each software vending machine 1 as needed. Then, the user can purchase the desired software by operating the software vending machine 1.

【0010】図1に示すように、本実施例のソフト自動
販売機1は、ソフト自動販売機1の動作を制御する周知
のCPU5を備えている。そのCPU5には、CPU5
を動作させるための動作プログラムを記憶しているRO
M11と、ソフト自動販売機2内に収納されているフロ
ッピーディスク(図示せず)を排出すると共に、そのフ
ロッピーディスクにソフトウェアを書き込んで販売を行
う販売装置6と、購入希望のソフトウェアの選択等に利
用するキーボード10と、各ソフトウェアのデモンスト
レーションや、ソフト自動販売機1の使用方法、操作手
順等を表示するCRT9と、各種ソフトウェアのプログ
ラムや、前述したソフト自動販売機1の使用方法、操作
手順等を記憶しているHDD(ハード・ディスク・ドラ
イブ)8と、モデムやターミナルアダプタ等により構成
され、ホスト装置2との通信を行う通信ユニット4と、
通信ユニット4によるホスト装置2との通信が終了して
からの時間を計測するタイマ7とが接続されている。
As shown in FIG. 1, the software vending machine 1 of this embodiment includes a well-known CPU 5 for controlling the operation of the software vending machine 1. The CPU5 is the CPU5
RO storing an operation program for operating
M11 and a floppy disk (not shown) housed in the software vending machine 2 are ejected, and a sales device 6 for writing software on the floppy disk for sale, selection of desired software, etc. A keyboard 10 to be used, a demonstration of each software, a CRT 9 that displays the usage method and operation procedure of the software vending machine 1, various software programs, and the usage method and operation procedure of the software vending machine 1 described above. An HDD (hard disk drive) 8 that stores the data, a communication unit 4 that is configured by a modem, a terminal adapter, and the like, and that communicates with the host device 2.
A timer 7 that measures the time after the communication with the host device 2 by the communication unit 4 is completed is connected.

【0011】なお、前記販売装置6によるソフトウェア
の販売処理については、本出願人が特開昭62−549
7号公報にて開示しているので、ここではその詳細な説
明を省略する。
Regarding the software sales processing by the sales device 6, the applicant of the present invention has disclosed in JP-A-62-549.
Since it is disclosed in Japanese Patent Publication No. 7, the detailed description thereof is omitted here.

【0012】また、図1に示すように、前記ホスト装置
2は、ホスト装置2の動作を制御する周知のCPU20
を備えている。このCPU20には、CPU20を動作
させるための動作プログラムを記憶しているROM21
と、モデムやターミナルアダプタ等により構成され、ソ
フト自動販売機1との通信を行う通信ユニット24と、
通信ユニット24によるソフト自動販売機1との通信が
終了してからの時間を計測するタイマ27と、ソフト自
動販売機1へ送信するソフトウェア等のデータを保存す
るためのHDD18と、ホスト装置2にコマンド等を入
力するためのキーボード30と、各ソフト自動販売機1
から送信された稼動状況を表示するCRT29とが接続
されている。
Further, as shown in FIG. 1, the host device 2 has a well-known CPU 20 for controlling the operation of the host device 2.
Is equipped with. The CPU 20 has a ROM 21 that stores an operation program for operating the CPU 20.
And a communication unit 24 configured by a modem, a terminal adapter, etc., for communicating with the software vending machine 1,
A timer 27 for measuring the time after the communication unit 24 has finished communicating with the software vending machine 1, an HDD 18 for storing data such as software to be transmitted to the software vending machine 1, and a host device 2. A keyboard 30 for inputting commands and the like, and software vending machines 1
It is connected to the CRT 29 that displays the operating status transmitted from the.

【0013】なお、図2に示すように一台のホスト装置
2に対して複数のソフト自動販売機1が接続されている
場合、前記タイマ27は、各々のソフト自動販売機1と
対応して設けられている。
When a plurality of software vending machines 1 are connected to one host device 2 as shown in FIG. 2, the timer 27 corresponds to each software vending machine 1. It is provided.

【0014】次に、このような構成のソフト自動販売機
1及びホスト装置2の動作について、図3及び図4に示
すフローチャートを参照して説明する。
Next, the operation of the software vending machine 1 and the host device 2 having such a configuration will be described with reference to the flow charts shown in FIGS.

【0015】まず、図3に示すように、ソフト自動販売
機1では、ホスト装置2との間でソフトウェアデータの
受信等の通信が終了すると(S1)、タイマ7のカウン
ト値をクリアして(S2)、カウントを0から開始する
(S3)。そして、タイマ7のカウント値が予め設定さ
れた所定のカウント値に達する前に、すなわち、ホスト
装置2との間で通信を行ってから所定時間が経過する前
に(S5・NO)、ホスト装置2に対して通信を行う必
要が生じたときには(S4・YES)、S1へ戻ってホ
スト装置2との間で通信を行う。
First, as shown in FIG. 3, in the software vending machine 1, when communication such as reception of software data with the host device 2 is completed (S1), the count value of the timer 7 is cleared ( In S2), counting is started from 0 (S3). Then, before the count value of the timer 7 reaches a preset predetermined count value, that is, before a predetermined time elapses after communication with the host device 2 (S5 · NO), the host device When it becomes necessary to communicate with the host device 2 (YES in S4), the process returns to S1 to communicate with the host device 2.

【0016】一方、ホスト装置2との間で通信を行う必
要が生じずに(S4・NO)前記所定時間が経過した場
合には(S5・YES)、例えば、ソフト自動販売機1
毎に設定されている認識番号をホスト装置2へ伝達し、
このソフト自動販売機1が稼動中であることをホスト装
置1へ知らせる(S6)。稼動中であることをホスト装
置1へ伝達した後は、再び、タイマ7のカウント値をク
リアして(S2)カウントを0から開始し(S3)、上
述の動作を行う。すなわち、ソフト自動販売機1からホ
スト装置2に対して通信を行う必要がない場合には、ソ
フト自動販売機1からホスト装置2に対して、ソフト自
動販売機1が稼動中であることを定期的に送信すること
になる。
On the other hand, if the predetermined time has passed without the need to communicate with the host device 2 (S4, NO) (S5, YES), for example, the software vending machine 1
The identification number set for each is transmitted to the host device 2,
The host device 1 is informed that the software vending machine 1 is in operation (S6). After transmitting the fact that it is operating to the host device 1, the count value of the timer 7 is cleared again (S2), the count is started from 0 (S3), and the above-described operation is performed. That is, when it is not necessary to communicate from the software vending machine 1 to the host device 2, the software vending machine 1 periodically notifies the host device 2 that the software vending machine 1 is in operation. Will be sent.

【0017】また、図4に示すように、ホスト装置2で
は、ソフト自動販売機1との間で行われた通信が終了す
ると(S7)、そのソフト自動販売機1に対応したタイ
マ27のカウント値をクリアして(S8)カウントを0
から開始する(S9)。そして、前記タイマ27のカウ
ント値が、上述したソフト自動販売機1にて設定された
所定のカウント値と同じカウント値に達する前に、すな
わち、ソフト自動販売機1との間で行われた通信が終了
してから前記所定時間が経過する前に(S11・N
O)、ソフト自動販売機1に対して通信を行う必要が生
じ、あるいは、ソフト自動販売機1からのデータを受信
した場合には(S10・YES)、S7へ戻ってソフト
自動販売機1との間で通信を行う。一方、ソフト自動販
売機1との間で通信を行う必要が生じずに(S10・N
O)前記所定時間が経過した場合には(S11・YE
S)、前述したようなソフト自動販売機1からホスト装
置2への定期的な送信が行われなかったこととなるの
で、ホスト装置2はオペレータに対して表示あるいは音
による警告を行う等のエラー処理を行う(S12)。そ
れにより、そのソフト自動販売機1に異常が発生したこ
とを報知する。
As shown in FIG. 4, in the host device 2, when the communication with the software vending machine 1 is completed (S7), the timer 27 corresponding to the software vending machine 1 counts. Clear the value (S8) and set the count to 0
It starts from (S9). Then, the communication performed before the count value of the timer 27 reaches the same count value as the predetermined count value set in the software vending machine 1 described above, that is, with the software vending machine 1. Before the predetermined time has elapsed since the end of (S11.N
O), when it becomes necessary to communicate with the software vending machine 1 or when data is received from the software vending machine 1 (S10, YES), the process returns to S7 and the software vending machine 1 is called. Communicate between. On the other hand, there is no need to communicate with the software vending machine 1 (S10N
O) When the predetermined time has passed (S11.YE
S) Since the above-mentioned software vending machine 1 did not perform the periodical transmission to the host device 2, the host device 2 gives an error such as a display or sound warning to the operator. Processing is performed (S12). As a result, the software vending machine 1 is notified that an abnormality has occurred.

【0018】また、ホスト装置2は、各ソフト自動販売
機1に対して上述の処理を並列して行っているので、ど
のソフト自動販売機1に異常が発生しても、ホスト装置
2は容易に対応することが可能である。
Since the host device 2 performs the above-described processing in parallel for each software vending machine 1, even if any software vending machine 1 has an abnormality, the host device 2 can easily operate. It is possible to correspond to.

【0019】このような制御を行うことにより、ホスト
装置2はソフト自動販売機1が何らかの異常により通信
不能となった場合でも、そのソフト自動販売機1が正常
に稼動していると判断することはない。
By performing such control, the host device 2 can determine that the software vending machine 1 is operating normally even if the software vending machine 1 becomes unable to communicate due to some abnormality. There is no.

【0020】また、本実施例において、通信回線とし
て、図5に示すように、Bチャネルがふたつある基本イ
ンタフェースのISDN回線を利用すれば、データ送受
信をひとつのBチャネルで行うと同時に、もうひとつの
BチャネルやDチャネルを用いてソフト自動販売機1か
らホスト装置2への定期的な送信を行うことも可能であ
る。
Further, in the present embodiment, if the ISDN line of the basic interface having two B channels is used as the communication line as shown in FIG. It is also possible to perform periodic transmission from the software vending machine 1 to the host device 2 by using the B channel or D channel.

【0021】[0021]

【発明の効果】以上説明したことから明かなように、本
発明の端末装置によれば、端末装置からホスト装置に対
して、端末装置の稼動状況を定期的に送信することが可
能となるので、ホスト装置は端末装置の稼働状況を容易
に把握することができる。
As is apparent from the above description, according to the terminal device of the present invention, the operating status of the terminal device can be periodically transmitted from the terminal device to the host device. The host device can easily grasp the operating status of the terminal device.

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

【図1】本発明の端末装置を具体化したソフト自動販売
機と、それに対応するホスト装置の構成を示すブロック
図である。
FIG. 1 is a block diagram showing a configuration of a software vending machine embodying a terminal device of the present invention and a host device corresponding to the software vending machine.

【図2】本実施例のソフトウェア自動販売システムの概
要を示すブロック図である。
FIG. 2 is a block diagram showing an outline of a software automatic vending system according to the present embodiment.

【図3】本実施例のソフト自動販売機の動作の流れを示
すフローチャートである。
FIG. 3 is a flowchart showing an operation flow of the software vending machine according to the present embodiment.

【図4】本実施例のホスト装置の動作の流れを示すフロ
ーチャートである。
FIG. 4 is a flowchart showing a flow of operation of the host device of this embodiment.

【図5】ソフトウェア自動販売システムに用いる通信回
線として、ISDN通信回線を用いた例を示すブロック
図である。
FIG. 5 is a block diagram showing an example in which an ISDN communication line is used as a communication line used in the software vending system.

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

1 ソフト自動販売機 2 ホスト 3 通信回線 4 通信ユニット 5 CPU 7 タイマ 1 Software vending machine 2 Host 3 Communication line 4 Communication unit 5 CPU 7 Timer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 通信回線を介して、ホスト装置との間で
データの送受信を行う端末装置において、 前記ホスト装置との間でデータの送受信を行ってからの
経過時間をカウントする計時手段と、 その計時手段のカウント値が所定の値に達したときに、
前記ホスト装置に対して信号を発する発信手段とを備え
たことを特徴とする端末装置。
1. A terminal device that transmits and receives data to and from a host device via a communication line, and clocking means that counts an elapsed time after transmitting and receiving data to and from the host device. When the count value of the time measuring means reaches a predetermined value,
A terminal device, comprising: a transmission means for transmitting a signal to the host device.
JP3310510A 1991-11-26 1991-11-26 Terminal equipment Pending JPH05151125A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3310510A JPH05151125A (en) 1991-11-26 1991-11-26 Terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3310510A JPH05151125A (en) 1991-11-26 1991-11-26 Terminal equipment

Publications (1)

Publication Number Publication Date
JPH05151125A true JPH05151125A (en) 1993-06-18

Family

ID=18006095

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3310510A Pending JPH05151125A (en) 1991-11-26 1991-11-26 Terminal equipment

Country Status (1)

Country Link
JP (1) JPH05151125A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0954635A (en) * 1995-08-16 1997-02-25 Nec Corp Power-off time detection system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0954635A (en) * 1995-08-16 1997-02-25 Nec Corp Power-off time detection system

Similar Documents

Publication Publication Date Title
US4639889A (en) System for controlling communication between a main control assembly and programmable terminal units
EP0051861B1 (en) Unmanned diagnostic communications system for computer controlled machine tools
JP2002264451A (en) Printer
US4125892A (en) System for monitoring operation of data processing system
JPH0313470A (en) Monitor for elevator
JPH05151125A (en) Terminal equipment
EP0387359A1 (en) Method and apparatus for remotely operating mdi
JPH09200247A (en) Ip address setting method and device therefor
JP3037045B2 (en) Automatic meter reading system
JPS61127041A (en) Diagnosis system for communication controller
JP2835907B2 (en) Communication error analyzer for PLC network
KR100478890B1 (en) How to read a meter in a hand terminal
JPH06195280A (en) Parameter setting method for serial interface
JPS62211762A (en) Shared device control system
GB2100482A (en) Computer testing device
JPH0364245A (en) Copy data control system
JPS63142409A (en) Time setting system for terminal equipment
CN117785760A (en) Serial port communication circuit, board card and server
JPH11134587A (en) Radio inspection system
JPH02151962A (en) Stock price display device with information function
JPH0125459B2 (en)
JPH0689382A (en) Maintenance control system of copying machine
JPS63224418A (en) System for monitoring cordless telephone system
JPH04333155A (en) Commodity data input terminal equipment
JPH06309582A (en) Monitor center device for remote monitor system