JPH04129443A - Information exchange system - Google Patents

Information exchange system

Info

Publication number
JPH04129443A
JPH04129443A JP25100590A JP25100590A JPH04129443A JP H04129443 A JPH04129443 A JP H04129443A JP 25100590 A JP25100590 A JP 25100590A JP 25100590 A JP25100590 A JP 25100590A JP H04129443 A JPH04129443 A JP H04129443A
Authority
JP
Japan
Prior art keywords
command
terminal
interpreted
terminal equipment
response
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP25100590A
Other languages
Japanese (ja)
Other versions
JP3021588B2 (en
Inventor
Yoshiaki Ito
善朗 伊藤
Masahiro Inoue
雅裕 井上
Tatsuhiko Sugimoto
達彦 杉本
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2251005A priority Critical patent/JP3021588B2/en
Publication of JPH04129443A publication Critical patent/JPH04129443A/en
Application granted granted Critical
Publication of JP3021588B2 publication Critical patent/JP3021588B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the deterioration in the communication efficiency even when a command cannot be interpreted by providing a reply transmission means which sends an interpreting disable replay to other terminal equipment when the command received from other terminal equipment is unable to be interpreted to at least one of plural terminal equipments. CONSTITUTION:This system is provided with a transmission line and plural terminal equipments 2-1-2-3 connecting to the transmission line and a reply transmission means sending an interpreting disable reply to one terminal equipment 2-1 when a command received from the terminal equipment 2-1 or the like is usable to be interpreted is provided to at least one of the plural terminal equipments 2-1-2-3 such as the terminal equipment 2-2. Then the terminal equipment 2-2 or the like receiving the command usable to be interpreted sends the interpreting disable reply and blocks the retransmission processing of useless command after that. Thus, in the case of disable command interpreting, the retransmission of the reply request is not repeated and the deterioration in the communication efficiency due to the repeated retransmission is reduced.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は、伝送路を介して複数の端末間で情報交換を
行うシステムに関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to a system for exchanging information between a plurality of terminals via a transmission path.

〔従来の技術〕[Conventional technology]

第4図はこの種情報交換システムの1例を示す概念図で
ある。図示のように、共通の伝送路1に、複数の端末2
−1.2−2.2−3.−・・・・・が接続されている
。各端末2−1.2−2.2−3・・・・・・は、マイ
クロプロセッサ3−1.3−2゜3−3(不図示)・・
・・・・を備えており、これらのマイクロプロセッサに
、不図示のキーボード、センサ、負荷等が結合されてい
る。
FIG. 4 is a conceptual diagram showing an example of this type of information exchange system. As shown in the figure, multiple terminals 2 are connected to a common transmission path 1.
-1.2-2.2-3. -... are connected. Each terminal 2-1.2-2.2-3... has a microprocessor 3-1.3-2゜3-3 (not shown)...
..., and a keyboard, sensor, load, etc. (not shown) are coupled to these microprocessors.

ところで、この種情報交換システムでは、前述のように
、共通の伝送路を用いているので、複数の端末が同時に
信号を伝送路に送信する可能性がある。複数の端末が同
時に送信を行うと、伝送路で信号の衝突が起こり正常な
信号伝送がてきないため、これを調停する制御が必要と
なる。この調停の一方式として、送信を行う場合、一定
期間、伝送路の信号を監視し、信号がなければ送信を開
始し、信号があれば、ある時間送信を延期する方式が広
く用いられている。
By the way, since this type of information exchange system uses a common transmission path as described above, there is a possibility that a plurality of terminals simultaneously transmit signals to the transmission path. When multiple terminals transmit simultaneously, signal collisions occur on the transmission path and normal signal transmission is not possible, so control is required to arbitrate this. One widely used method of arbitration is to monitor the signal on the transmission path for a certain period of time when transmitting, and if there is no signal, start transmission, and if there is a signal, postpone transmission for a certain period of time. .

(発明が解決しようとする課題〕 そして、従来は、第4図の構成で第5図に示すようにデ
ータ処理をし、第6図に示すシーケンスで動作する。す
なわち、ある端末例えば端末21か他の端末例えば端末
2−2に、ある値を要求するコマンド(モニタコマンド
)を送信したとき、端末2−2は、そのモニタコマンド
を受信し(第5図のステップS51参照)、そのコマン
ドが解釈可能か否かを判断しく552)、解釈可能のと
きはそのコマンドを実行する(S53)。しかしそのコ
マンドを解釈できないときは単に無視する。
(Problem to be Solved by the Invention) Conventionally, the configuration shown in FIG. 4 processes data as shown in FIG. 5, and operates in the sequence shown in FIG. When a command (monitor command) requesting a certain value is sent to another terminal, for example, terminal 2-2, terminal 2-2 receives the monitor command (see step S51 in FIG. 5) and the command is It is determined whether or not the command can be interpreted (552), and if it can be interpreted, the command is executed (S53). However, if it cannot interpret the command, it simply ignores it.

そこで、通信のシーケンスは、第6図に示すように、端
末2−1からモニタコマンド6−1を送信し、端末2−
2から正常受信の応答信号6−2があっても、端末2−
2でモニタコマンドか解釈てきないときは、モニタコマ
ンドが無視され、端末2−1では応答監視時間が経過し
てしまう。端末2−1では、要求した値の返送(モニタ
応答コマンド)を期待しているため、再度モニタコマン
ド6−3を端末2−2に送信し、端末2−2から正常受
信の応答信号6−4がくる。端末2−2ではモニタコマ
ンド6−3がやはり解釈できないため無視し、端末2−
1での応答監視時間が経過する。端末2−1ては、要求
した値の返送を期待して更にモニタコマンド6−5を端
末2−2に送信し、端末2−2から正常受信の応答信号
6−6がくるたけて、端末2−1で応答監視時間が経過
する。
Therefore, the communication sequence is as shown in FIG.
Even if there is a normal reception response signal 6-2 from terminal 2-2,
If the monitor command cannot be interpreted in step 2, the monitor command is ignored and the response monitoring time elapses at terminal 2-1. Since the terminal 2-1 expects the requested value to be returned (monitor response command), it sends the monitor command 6-3 again to the terminal 2-2, and receives a response signal 6-2 indicating normal reception from the terminal 2-2. 4 is coming. Terminal 2-2 cannot interpret monitor command 6-3, so it is ignored and terminal 2-2
The response monitoring time in 1 has elapsed. Terminal 2-1 further sends a monitor command 6-5 to terminal 2-2, expecting the requested value to be returned, and upon receiving a response signal 6-6 indicating normal reception from terminal 2-2, the terminal The response monitoring time elapses in 2-1.

このように、解釈できないコマンドかあると、コマンド
とその正常受信の応答信号が複数回くり返され、またこ
の間、他の端末に送信の要求があっても、前述の如く、
信号の衝突を避けるため送信が延期され、システムの通
信の効率か著しく低下するという問題か生ずる。
In this way, if there is a command that cannot be interpreted, the command and its normal reception response signal will be repeated multiple times, and even if there is a transmission request to another terminal during this time, as mentioned above,
The problem arises that transmission is postponed to avoid signal collisions, and the communication efficiency of the system is significantly reduced.

この種情報交換システムでは、全端末が解釈可能でなけ
ればならない必須コマンドと、所定の端末間でのみ解釈
可能な任意コマンドがあり、所定の端末以外に任意コマ
ンドを使用したときなどに、コマンドが解釈できない状
況が生ずる。
In this type of information exchange system, there are mandatory commands that must be able to be interpreted by all terminals, and optional commands that can only be interpreted between predetermined terminals. A situation arises that cannot be interpreted.

この発明はこの問題を解消するためなされたもので、コ
マンドか解釈できない状況においても通信効率の低下の
少ない情報交換システムを提供することを目的とするも
のである。
The present invention was made to solve this problem, and aims to provide an information exchange system in which communication efficiency is less degraded even in situations where commands cannot be interpreted.

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

この発明は、前記目的を達成するため、情報交換システ
ムをつぎの(1)のとおりに構成するものである。
In order to achieve the above object, the present invention configures an information exchange system as described in (1) below.

(1)伝送路と該伝送路に接続した複数の端末とを有す
る情報交換システムであって、前記複数の端末の少くと
も一つに、他の端末から受信したコマンドが解釈不能の
とき解釈不能応答を前記他の端末に送信する応答送信手
段を備えている情報交換システム。
(1) An information exchange system having a transmission path and a plurality of terminals connected to the transmission path, where at least one of the plurality of terminals cannot interpret a command received from another terminal if the command is uninterpretable. An information exchange system comprising a response transmitting means for transmitting a response to the other terminal.

〔作用〕[Effect]

前記(1)の構成により、解釈できないコマンドを受け
た端末は、解釈不能応答を送信し、その後の無駄なコマ
ンドの再送処理が阻止される。
With the configuration (1) above, a terminal that receives a command that cannot be interpreted transmits an uninterpretable response, and subsequent useless command retransmission processing is prevented.

〔実施例〕〔Example〕

以下この発明を実施例により詳しく説明する。 The present invention will be explained in detail below with reference to Examples.

第1図は、この発明の一実施例である“情報交換システ
ム”におけるデータ処理を示す図である。本実施例もシ
ステム全体は、第4図のとおりに構成されているが、各
マイクロプロセッサにおけるデータ処理の仕方が従来例
と異なる。
FIG. 1 is a diagram showing data processing in an "information exchange system" which is an embodiment of the present invention. The entire system of this embodiment is also configured as shown in FIG. 4, but the method of data processing in each microprocessor is different from the conventional example.

例えば、端末2−1から端末2−2に温度を知らせるご
とを要求するモニタコマンドを送信したとき、端末2−
2はそのモニタコマンドを受信しく第1図ステップS−
1参照)、前述の要求か解釈可能か否か判断しく5−2
)、解釈可能であれば温度を検出して端末2−1に知ら
せるという通常のデータ処理を行い(S−4)、解釈で
きないときは解釈不能の信号を端末2−1に送信する。
For example, when terminal 2-1 sends a monitor command requesting that terminal 2-2 notify the temperature every time, terminal 2-2
2 receives the monitor command in step S- of FIG.
1), it is difficult to judge whether the above request can be interpreted or not. 5-2
), if the temperature can be interpreted, normal data processing is performed to detect the temperature and notify it to the terminal 2-1 (S-4), and if the temperature cannot be interpreted, it transmits an uninterpretable signal to the terminal 2-1.

第3図は本実施例で用いるコマンドのパケットフォーマ
ットを示す。図示のように、そのコマンドが何らかの要
求をする要求コマンドのときは、コマンドコードCOM
の先頭ビットを“1”として要求コマンドであることを
示し、要求コマンドに対する応答である応答コマンドの
ときは、コマンドコードCOMの先頭ビットを“0”と
して応答コマンドであることを示し、他のビットにより
コマンドの種類を示す。そして、例えば、要求コマンド
のオペランドOP1が解釈不能のときは、その要求コマ
ンドに対する応答コマンドにおいて、対応するオペラン
ドOP1をFF、として、解釈不能の応答をする。
FIG. 3 shows the packet format of the command used in this embodiment. As shown in the figure, if the command is a request command that makes some kind of request, the command code COM
The first bit of the command code COM is set to "1" to indicate that it is a request command, and when it is a response command that is a response to a request command, the first bit of the command code COM is set to "0" to indicate that it is a response command. indicates the type of command. For example, when the operand OP1 of the request command cannot be interpreted, the corresponding operand OP1 is set as FF in the response command to the request command, and a response indicating that the operand OP1 cannot be interpreted is made.

第2図に本実施例における情報交換のシーケンスの1例
を示す。図示のように、端末2−1から端末2−2にO
Oコマンドが送信され(第2図■参照)、端末2−2で
正常受信されるとその応答信号ACKが端末2−1へ送
信される(■参照)。端末2−2で前記oOコマンドが
解釈不能のときは、00コマンド解釈不能の応答コマン
ドが端末2−1へ送信され(■参照)、端末2−1では
Ooコマンドの応答監視時間中であるにもかかわらず監
視が打切られ、正常受信の応答信号ACKを端末2−2
へ送信する(■参照)。
FIG. 2 shows an example of an information exchange sequence in this embodiment. As shown in the figure, from terminal 2-1 to terminal 2-2,
The O command is transmitted (see 2 in FIG. 2), and when it is normally received by the terminal 2-2, the response signal ACK is sent to the terminal 2-1 (see 2). When terminal 2-2 cannot interpret the oO command, a response command that cannot interpret the 00 command is sent to terminal 2-1 (see However, the monitoring was terminated and terminal 2-2 received a response signal ACK indicating normal reception.
Send to (see ■).

続いて端末2−1から端末2−2へOxコマンドが送信
され(■参照)、端末2−2で正常受信されるとその応
答信号ACKが端末2−1へ送信される(■参照)。端
末2−1から端末2−2に0△コマンドが送信され(■
参照)、端末2−2で正常受信されるとその応答信号A
CKが端末2−1へ送信さね(■参照)、同じく端末2
−1から端末2−3へODコマンドが送信され(■参照
)、端末2−3から応答信号ACにか端末21へ送信さ
れる([相]参照)。端末2−2で前J己Oxコマンド
か解釈不能のとき、端末2−1へOxコマンド解釈不能
の応答コマンドか送信される・・・・・・ このようにして、コマンドの解釈が不能のときは、コマ
ンドの種類と共に解釈不能の応答が行ねわ、応答監視時
間中でも監視が打ち切られ、その後応答要求の再送信が
くり返されることがない。
Subsequently, the Ox command is transmitted from the terminal 2-1 to the terminal 2-2 (see ■), and when it is normally received by the terminal 2-2, the response signal ACK is transmitted to the terminal 2-1 (see ■). A 0△ command is sent from terminal 2-1 to terminal 2-2 (■
), and when the terminal 2-2 successfully receives the response signal A.
CK is sent to terminal 2-1 (see ■), also terminal 2
The OD command is transmitted from -1 to the terminal 2-3 (see ■), and the response signal AC is transmitted from the terminal 2-3 to the terminal 21 (see [phase]). When terminal 2-2 cannot interpret the previous Ox command, a response command that cannot interpret the Ox command is sent to terminal 2-1... In this way, when the command cannot be interpreted In this case, an uninterpretable response is sent along with the type of command, monitoring is aborted even during the response monitoring time, and the response request is not repeatedly retransmitted thereafter.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、この発明によれば、コマンド解釈
不能の際、応答要求の再送信がくり返されることかなく
、この再送信のくり返しにもとづく通信効率の低下がな
い。
As described above, according to the present invention, when a command cannot be interpreted, a response request is not repeatedly retransmitted, and communication efficiency does not deteriorate due to repeated retransmissions.

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

第1図はこの発明の一実施例のデータ処理の仕方を示す
フローチャート、第2図は同実施例のシーケンスを示す
図、第3図は同実施例のコマンドの説明図、第4図は情
報交換システムの概念図、第5図は従来例のデータ処理
の仕方を示す図、第6図は同従来例のシーケンスを示す
図である。 図において、1は伝送路、2−1.2−2゜2−3は端
末、3−1.3−2はマイクロプロセッサである。 なお、図中、同一符号は同−又は相当部分を示す。
Fig. 1 is a flowchart showing how to process data in an embodiment of the present invention, Fig. 2 is a diagram showing a sequence in the embodiment, Fig. 3 is an explanatory diagram of commands in the embodiment, and Fig. 4 is an information A conceptual diagram of the switching system, FIG. 5 is a diagram showing a conventional data processing method, and FIG. 6 is a diagram showing a sequence of the conventional example. In the figure, 1 is a transmission path, 2-1.2-2 and 2-3 are terminals, and 3-1.3-2 is a microprocessor. In addition, in the figures, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] (1)伝送路と該伝送路に接続した複数の端末とを有す
る情報交換システムであって、前記複数の端末の少くと
も一つに、他の端末から受信したコマンドが解釈不能の
とき解釈不能応答を前記他の端末に送信する応答送信手
段を備えていることを特徴とする情報交換システム。
(1) An information exchange system having a transmission path and a plurality of terminals connected to the transmission path, where at least one of the plurality of terminals cannot interpret a command received from another terminal if the command is uninterpretable. An information exchange system comprising: a response transmitting means for transmitting a response to the other terminal.
JP2251005A 1990-09-20 1990-09-20 Information exchange system Expired - Lifetime JP3021588B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2251005A JP3021588B2 (en) 1990-09-20 1990-09-20 Information exchange system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2251005A JP3021588B2 (en) 1990-09-20 1990-09-20 Information exchange system

Publications (2)

Publication Number Publication Date
JPH04129443A true JPH04129443A (en) 1992-04-30
JP3021588B2 JP3021588B2 (en) 2000-03-15

Family

ID=17216227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2251005A Expired - Lifetime JP3021588B2 (en) 1990-09-20 1990-09-20 Information exchange system

Country Status (1)

Country Link
JP (1) JP3021588B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7936373B2 (en) 2003-08-22 2011-05-03 Canon Kabushiki Kaisha Recording device, recording system, and recording control method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7936373B2 (en) 2003-08-22 2011-05-03 Canon Kabushiki Kaisha Recording device, recording system, and recording control method thereof

Also Published As

Publication number Publication date
JP3021588B2 (en) 2000-03-15

Similar Documents

Publication Publication Date Title
JPS59188256A (en) Transmitting method of loop transmission system
JPH04129443A (en) Information exchange system
JPH0473178B2 (en)
KR100525677B1 (en) Apparatus and method for duplication of communication control module
JP2937871B2 (en) Polling monitoring method
JP3341276B2 (en) Communication control device
JPH01161562A (en) Data resending system of data transferring network
JP2541492B2 (en) Microprocessor remote reset method
JPH04129346A (en) Communication system provided with duplicate address detection function
JP3884335B2 (en) Parent-child transmission method and storage medium used for parent-child transmission method
JPH11266276A (en) Command/data reproduction method
JPS6333949A (en) Data communication system
JPS63246055A (en) Packet transmitter-receiver
JPH04192746A (en) Device and method for transmitting data
JP2541502B2 (en) Control message transmission / reception method
JP3497179B2 (en) Bus management method for data processing system
JP2602587B2 (en) Secondary station initialization method in SDLC communication system
CN117579714A (en) Message processing method, device, equipment and computer readable storage medium
JPS6245246A (en) Communication control equipment
JP3138595B2 (en) Communication device
JPH0568902B2 (en)
JPS60177748A (en) Circuit controlling system
JPH05336082A (en) Detection of response data validity
JPH05143491A (en) Device health check system
JPH01136498A (en) Information transmitter for status monitor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080114

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090114

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100114

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100114

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110114

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110114

Year of fee payment: 11