JP2750934B2 - Communication method in multi-connection - Google Patents

Communication method in multi-connection

Info

Publication number
JP2750934B2
JP2750934B2 JP2067158A JP6715890A JP2750934B2 JP 2750934 B2 JP2750934 B2 JP 2750934B2 JP 2067158 A JP2067158 A JP 2067158A JP 6715890 A JP6715890 A JP 6715890A JP 2750934 B2 JP2750934 B2 JP 2750934B2
Authority
JP
Japan
Prior art keywords
data
transmission
sub
main device
time
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.)
Expired - Fee Related
Application number
JP2067158A
Other languages
Japanese (ja)
Other versions
JPH03268635A (en
Inventor
伸一 座間
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.)
Hitachi Telecom Technologies Ltd
Original Assignee
Hitachi Telecom Technologies 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 Hitachi Telecom Technologies Ltd filed Critical Hitachi Telecom Technologies Ltd
Priority to JP2067158A priority Critical patent/JP2750934B2/en
Publication of JPH03268635A publication Critical patent/JPH03268635A/en
Application granted granted Critical
Publication of JP2750934B2 publication Critical patent/JP2750934B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、同一回線上に主装置及び副装置を接続する
通信方式に関する。
Description: TECHNICAL FIELD The present invention relates to a communication system for connecting a main device and a sub device on the same line.

〔従来の技術〕[Conventional technology]

従来、主装置及び複数台の副装置が、同一回線上にマ
ルチ接続される場合、主装置から副装置に対して、送信
データの有無を問い合わせることにより相互間の通信を
行っている。
2. Description of the Related Art Conventionally, when a main device and a plurality of sub devices are multi-connected on the same line, communication is performed between the main device and the sub devices by inquiring of the presence or absence of transmission data.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

上記従来技術において、副装置は、主装置からの問い
合わせがないと、データの送信ができない。
In the above prior art, the sub device cannot transmit data without an inquiry from the main device.

また、主装装は、副装置側のデータ有無にかかわらず
一定期間隔で問い合わせ処理を行なわなければならな
い。
In addition, the main equipment must perform the inquiry process at regular intervals regardless of the presence or absence of data on the sub device side.

さらに、副装置側の押釦押下により主装置に対してデ
ータを送信し、その返答にて副装置側のランプ等の制御
を行う場合、主装置側の副装置に対する問い合わせ回数
が少ないと、ランプ表示の変化するレスポンスが遅くな
ってしまう。しかし問い合わせの回数を増やせば、主装
置側の処理負担が重くなり、主装置側が本来持っていた
処理ができなくなる為、専用のプロセッサを別に設け
て、処理の分散を行なわなければならなくなる。
Furthermore, when data is transmitted to the main device by pressing the push button on the sub device side and the response of the sub device is controlled by the response, if the number of inquiries to the sub device on the main device side is small, the lamp is displayed. The response that changes is slow. However, if the number of inquiries is increased, the processing load on the main apparatus becomes heavy, and the processing originally owned by the main apparatus cannot be performed. Therefore, a dedicated processor must be separately provided to distribute the processing.

本発明の目的は、主装置側の副装置に対する処理の負
荷を低下させるとともに、副装置側のデータ送信を自由
化することにある。
An object of the present invention is to reduce the processing load on the sub device on the main device side and to liberalize data transmission on the sub device side.

〔課題を解決するための手段〕[Means for solving the problem]

上記目的は、主装置及び副装置間の接続形式をすべて
同一とし、1つの装置が何らかのデータを回線に対して
送信した場合、それに接続されるすべての装置が回線上
にデータがあることを認識できる結線を行い、個々の装
置が回線上にデータがないことを確認し、目的のデータ
を送信する方式にし、また、受信したデータで、個々の
装置に関係ないデータや、エラーとなったデータに対し
ての返答は返さずに、読み捨てとし、さらに、送信した
データに対しての返答がなかった場合、他の装置との回
線争奪が起きたか、または、ノイズ等によって送信デー
タがエラーとなったと判断し、本来データを送信してか
らその返答が帰って来るまでの時間整数倍化されたラン
ダム時間を経た後、データの再送をすることにより達成
される。
The above purpose is to make the connection form between the main device and the sub device all the same, and if one device sends some data to the line, all connected devices recognize that there is data on the line. Make a connection that can be made, check that each device has no data on the line, set the method to transmit the desired data, and use the received data that is unrelated to the device or data that caused an error If no response is received for the transmitted data, and if there is no response to the transmitted data, a line contention with another device has occurred, or the transmitted data has an error due to noise or the like. This is achieved by retransmitting the data after a random time multiplied by an integral number of times from the transmission of the data to the return of the reply from the transmission of the data.

〔作用〕[Action]

本発明によれば、同一回線上にマルチ接続された主装
置と副装置において、副装置は主装置の制御によらず、
回線上にデータを送信することができ、主装置は、副装
置に対して、送信データの有無を問い合わせずに済むた
め、主装置側の副装置に対する処理の負荷を低下させる
とともに、副装置側のデータ送信を自由化することがで
きる。
According to the present invention, in the main device and the sub device that are multi-connected on the same line, the sub device does not depend on the control of the main device,
Since data can be transmitted over the line and the main device does not need to inquire the sub-device of the presence or absence of transmission data, the processing load on the sub-device on the main device side is reduced and the sub-device side Data transmission can be liberalized.

〔実施例〕〔Example〕

以下、本発明を図面を参照し詳細に説明する。 Hereinafter, the present invention will be described in detail with reference to the drawings.

第1図は、本発明の一実施例であるホテル用ルームイ
ンジケータのシステム構成を示す図である。MINSYS1−
1は、主装置である通話料金管理装置を示し、SUBSYS1
−2は、副装置であるルームインジケータ(押釦付ラン
プパネル)を示す。
FIG. 1 is a diagram showing a system configuration of a hotel room indicator according to an embodiment of the present invention. MINSYS1−
Reference numeral 1 denotes a telephone charge management device which is a main device.
-2 indicates a room indicator (a lamp panel with a push button) which is a sub device.

第2図はSUBSYSの内部構成を示しており、運用に必要
なデータは、SUBSYS自身の押釦によりDTMEM2−6に格納
される。
FIG. 2 shows the internal configuration of SUBSYS, and data necessary for operation is stored in DTMEM2-6 by a push button of SUBSYS itself.

以下、本発明を用いたデータの送受信シーケンスにつ
いて詳細に説明する。
Hereinafter, a data transmission / reception sequence using the present invention will be described in detail.

第2図において、SUBSYSの押釦を押下すると、その情
報をKYMEM2−1に格納し、その時の押釦対応のランプ情
報をLEDMEM2−2により参照して、送信データをTMEM2−
3に作成する。次に作成したデータを送信する。
In FIG. 2, when the SUBSYS push button is pressed, the information is stored in KYMEM2-1, the lamp information corresponding to the pushbutton at that time is referred to by the LEDMEM2-2, and the transmission data is stored in the TMEM2-
Create in 3. Next, the created data is transmitted.

第3図において、先ず、回線上のデータ有無について
調べる(3−1)。回線上にデータがない時は、DISTIM
2−4に送信禁止タイマがセットされているかを判断す
る(3−2)。セットされていなければ、TMEM2−3中
のデータを順次CPU2−8を介してSYSINF2−9に送信す
る(3−3)。その後、一定時間返答データを持つ(3
−4)。返答データが返されなかった場合、他装置との
回線争奪が起きたと判断し、データ長より、データを送
信してから、その返答データが帰るまでの時間を求め、
RANDOM2−7による乱数を基に、上記時間の整数倍化し
たタイマーを、ランダム送信禁止タイマとして、DISTIM
2−4にセットする(3−5)。
In FIG. 3, first, the presence or absence of data on the line is checked (3-1). If there is no data on the line, DISTIM
It is determined whether the transmission prohibition timer is set in 2-4 (3-2). If not set, the data in TMEM2-3 is sequentially transmitted to SYSINF2-9 via CPU2-8 (3-3). After that, it has reply data for a certain time (3
-4). If the response data is not returned, it is determined that contention for the line with another device has occurred, and the time from the transmission of the data to the return of the response data is obtained from the data length,
A timer obtained by multiplying the above-mentioned time by an integer based on the random number by RANDOM2-7 is used as a random transmission prohibition timer as DISTIM.
Set to 2-4 (3-5).

次に返答データの受信処理についても説明する。第4
図において、先ず、回線上のデータ有無について調べる
(4−1)。データがあれば、受信バッファRMEM2−5
に順次格納する(4−2)。受信データにエラーの有無
を調べる(4−3)。エラーがなかった場合、受信バッ
ファのデータと事前にDTMEM2−6に格納されているデー
タを比較し関係あるデータかの判断をする(4−4)。
関係あるデータであれば、LEDMEM2−2に格納されてい
るLED点灯データの変更を行い(4−5),返答の送信
をする(4−6)。関係ないデータであれば、他装置が
返答を返すと認識し、その時間に対する送信禁止タイマ
をDISTIM2−4にセットする(4−7)。尚、(4−
3)項において受信データにエラーがあった場合、他装
置と回線争奪が起きたと判断し、前記ランダム送信禁止
タイマをDISTIM2−4にセットする。
Next, the response data receiving process will be described. 4th
In the figure, first, the presence or absence of data on the line is checked (4-1). If there is data, receive buffer RMEM2-5
(4-2). The presence or absence of an error in the received data is checked (4-3). If there is no error, the data in the reception buffer is compared with the data stored in advance in the DTMEM2-6 to determine whether the data is relevant (4-4).
If the data is relevant, the LED lighting data stored in the LED MEM2-2 is changed (4-5), and a reply is transmitted (4-6). If the data is irrelevant, it recognizes that the other device returns a response, and sets the transmission prohibition timer for that time in DISTIM2-4 (4-7). In addition, (4-
If there is an error in the received data in the item 3), it is determined that contention has occurred with another device, and the random transmission prohibition timer is set in DISTIM2-4.

〔発明の効果〕〔The invention's effect〕

本発明によれば、同一回線上にマルチ接続される主装
置及び副装置の相互通信において、主装置は、副装置に
対して一定周期で行っていた、データ有無の問い合わせ
処理をなさずに済むので、その間の処理を、他処理に割
り当てることができる。
ADVANTAGE OF THE INVENTION According to this invention, in the mutual communication of the main apparatus and the sub apparatus which are multi-connected on the same line, the main apparatus does not have to perform the inquiry about the presence / absence of data to the sub apparatus at regular intervals. Therefore, the process during that period can be assigned to another process.

また、副装置は、主装置の制御によらず、独自の判断
で、即時にデータを送信を可能とすることができる。
In addition, the sub device can immediately transmit data by independent judgment without depending on the control of the main device.

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

第1図は、本発明の一実施例であるホテル用ルームイン
ジケータのシステム構成図、第2図は、第1図のルーム
インジケータ(SUBSYS)の内部構成図、第3図及び第4
図は、本発明を用いたデータの送受信フローチャートを
示す図である。 1−1:主装置(通話情報処理装置) 1−2:副装置(ホテル用ルームインジケータ) 1−3:分配器 2−4:送信禁止タイマ格納メモリ 2−7:乱数発生器 2−8:中央処理装置 2−9:マルチ接続インターフェース
FIG. 1 is a system configuration diagram of a hotel room indicator according to an embodiment of the present invention, FIG. 2 is an internal configuration diagram of a room indicator (SUBSYS) of FIG. 1, FIG. 3 and FIG.
The figure shows a flowchart of data transmission and reception using the present invention. 1-1: Main device (call information processing device) 1-2: Sub-device (hotel room indicator) 1-3: Distributor 2-4: Transmission prohibition timer storage memory 2-7: Random number generator 2-8: Central processing unit 2-9: Multi connection interface

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】主装置と副装置とが同一の通信回線に接続
されており、該副装置が該通信回線の空き状態を監視
し、該通信回線が空き状態の場合、即時に所定の送信デ
ータを送信して、前記主装置と前記副装置との間で相互
にメッセージの伝送を行うマルチ接続における通信方式
において、 前記副装置が、 前記送信データを前記主装置に送信した後、所定の時間
内に、該主装置から応答信号を受信したかどうかを判断
する判断手段と、 該判断手段が所定の時間内に前記応答信号を受信しない
と判断した場合、前記送信データのデータ長に基づい
て、前記送信データを送信してから前記応答信号を受信
するまでの応答時間を算出する演算手段と、 乱数により前記応答時間を整数倍化した値を求め、この
値を送信禁止時間としてセットする手段と、 該送信禁止時間経過後、前記送信データを前記主装置に
再送する手段と、 を備えていることを特徴とするマルチ接続における通信
方式。
1. A main device and a sub device are connected to the same communication line, and the sub device monitors an idle state of the communication line. If the communication line is idle, a predetermined transmission is immediately performed. In a multi-connection communication system for transmitting data and mutually transmitting a message between the main device and the sub device, the sub device transmits the transmission data to the main device, Determining means for determining whether a response signal has been received from the main device within the time; and determining that the response signal has not been received within a predetermined time based on a data length of the transmission data. Calculating means for calculating a response time from transmission of the transmission data to reception of the response signal; obtaining a value obtained by multiplying the response time by a random number by an integer; and setting the value as a transmission prohibition time Means Means for retransmitting the transmission data to the main device after the transmission prohibition time has elapsed.
JP2067158A 1990-03-19 1990-03-19 Communication method in multi-connection Expired - Fee Related JP2750934B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2067158A JP2750934B2 (en) 1990-03-19 1990-03-19 Communication method in multi-connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2067158A JP2750934B2 (en) 1990-03-19 1990-03-19 Communication method in multi-connection

Publications (2)

Publication Number Publication Date
JPH03268635A JPH03268635A (en) 1991-11-29
JP2750934B2 true JP2750934B2 (en) 1998-05-18

Family

ID=13336810

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2067158A Expired - Fee Related JP2750934B2 (en) 1990-03-19 1990-03-19 Communication method in multi-connection

Country Status (1)

Country Link
JP (1) JP2750934B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59204345A (en) * 1983-05-06 1984-11-19 Toshiba Corp Packet communication system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
電子情報通信ハンドブック(社)電子情報通信学会編、昭和63年3月(株)オーム社発行.P2659〜2660

Also Published As

Publication number Publication date
JPH03268635A (en) 1991-11-29

Similar Documents

Publication Publication Date Title
JP2001251316A (en) Path retrieval method for wireless network system
US5251214A (en) Method for transmitting data to a plurality of data stations
JP2750934B2 (en) Communication method in multi-connection
EP0270882B1 (en) In band connection establishment for a multiple multi-drop network
JPH06101728B2 (en) Method of avoiding call collision of local network
JPH0564384B2 (en)
KR0165440B1 (en) Polling communication method
JPH0644763B2 (en) Data transfer method
US6320949B1 (en) Method for duplicating calls of remote multiple subscribers
JP3471653B2 (en) Data transmission equipment
JP3205823B2 (en) Monitoring device for devices connected by communication line
JPH02217039A (en) Poling/selecting control procedure system
JPH0420143A (en) Multi-address communication replay system and its circuit
JPS6158357A (en) Data communication system
JP2502850B2 (en) Communication method for SCSI system
JP2935242B2 (en) Wireless communication system
JPH0381852A (en) Connection control system
JPH0730573A (en) Down-load system
JPS6229335A (en) Communication control method
JPS6141246A (en) Station number setting system of packet communication network
JPS6326758A (en) Packet communication equipment by dynamic polling
JPS60177748A (en) Circuit controlling system
JPS63194445A (en) Multipoint communication system
JPS63135037A (en) Establishing method for data link
JPH04276952A (en) Polling period automatic setting system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees