JPH0449740A - Non-procedure communication control method - Google Patents

Non-procedure communication control method

Info

Publication number
JPH0449740A
JPH0449740A JP2159158A JP15915890A JPH0449740A JP H0449740 A JPH0449740 A JP H0449740A JP 2159158 A JP2159158 A JP 2159158A JP 15915890 A JP15915890 A JP 15915890A JP H0449740 A JPH0449740 A JP H0449740A
Authority
JP
Japan
Prior art keywords
data
transmission
procedural
task
communication control
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
JP2159158A
Other languages
Japanese (ja)
Inventor
Hideo Kurokawa
黒川 秀男
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2159158A priority Critical patent/JPH0449740A/en
Publication of JPH0449740A publication Critical patent/JPH0449740A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To perform the transmission/reception of all the data including binary code data without generating a transmission error by comprising a method of a non-procedure communication application task, a non-procedure control task, and a 232C driver. CONSTITUTION:When a transmission request is received from a host computer 7a, it is informed to a non-procedure communication control task 3a via an RS-232C driver 4a. The task 3a attaches a transmission block header (SOH), a block number (01, FE), and a check sum on (data 1), and transmits the (data 1) to the host computer 7a via the driver 4a. By employing such configuration, the transmission of the binary code data of a object code and document file data, etc., can be performed without generating the transmission error such as data change or data loss, etc., on data transmission.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は無手順通信制御方法に関し、特にエラー検出機
能を持った無手順通信制御方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a non-procedural communication control method, and more particularly to a non-procedural communication control method having an error detection function.

〔従来の技術〕[Conventional technology]

従来の無手順通信制御方法は、データ伝送上でエラーフ
リーであり、エラーの検出ができない通信制御方法であ
った。
Conventional non-procedural communication control methods are error-free in data transmission and cannot detect errors.

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

上述した従来の無手順通信制御方法では、インテリジェ
ントモデム等により公衆通信回線網で容易にホストコン
ピュータと接続できるにもかかわらず、データ伝送上で
のエラー検出ができないため、次のような欠点があった
The conventional non-procedural communication control method described above has the following drawbacks because it cannot detect errors in data transmission, even though it can be easily connected to a host computer over a public communication network using an intelligent modem. Ta.

■データ伝送上でデータ化けやデータロストが発生して
もエラー検出ができないため、データ伝送での信頼性が
非常に劣る。
■Even if data is garbled or lost during data transmission, it is not possible to detect errors, so the reliability of data transmission is extremely poor.

■オブジェクトコードや文書ファイルデータ等の2進数
コードデータの伝送ができないため、非常に狭い範囲で
のデータ伝送しか利用できない。
■Since it is not possible to transmit binary code data such as object codes and document file data, it can only be used for data transmission within a very narrow range.

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

本発明の無手順通信制御方法は、公衆通信回線網内で無
手順通信方式で接続されるパーソナルコンピュータの無
手順通信制御方法において、オペレータの指示に従い動
作する無手順通信アプリケージロンタスクと、エラー検
出機能を持った無手順通信プロトコルを制御する無手順
通信制御タスクと、R8−232Cボードを制御しデー
タ伝送を行うR8−232Cドライバーとから構成され
、2進数コードデータを含む全てのデータを送受信して
構成される。
The non-procedural communication control method of the present invention is a non-procedural communication control method for a personal computer connected in a non-procedural communication method within a public communication network, and includes a non-procedural communication application task that operates according to instructions from an operator, and an error detection method. It consists of a non-procedural communication control task that controls a functional non-procedural communication protocol, and an R8-232C driver that controls the R8-232C board and transmits data, and sends and receives all data including binary code data. It consists of

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例の構成を示すと共にエラー検
出機能を持った無手順通信プロトコルの制御方法を示す
ブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention and a control method of a non-procedural communication protocol having an error detection function.

本発明は、パーソナルコンピュータla上に、オペレー
タの指示に従い動作する無手順通信アプリケ−シロンタ
スク2aとエラー検出機能を持った無手順通信プロトコ
ルを制御する無手順通信制御タスク3aと、R8−23
2Cボード5aを制御しデータ伝送を行うR8−232
Cドライバー4aとから構成され、エラー検出機能を有
する無手順通信制御方法を実現する。ホストフンピユー
タ7aから公衆通信回線網6aを通して、NAK(送信
要求)を受信すると、RS−232Cドライバー4aを
通して無手順通信制御タスク3aへrNAK (送信要
求)」が通知され、この無手順通信制御タスク3aは、
rNAK(送信要求)」を送信開始要求として、無手順
通信アプリケージ1ンタスク2aへ通知される(処理L
A)。
The present invention includes a non-procedural communication application task 2a that operates according to instructions from an operator, a non-procedural communication control task 3a that controls a non-procedural communication protocol having an error detection function, and an R8-23 on a personal computer la.
R8-232 that controls the 2C board 5a and transmits data
C driver 4a, and realizes a non-procedural communication control method having an error detection function. When a NAK (request for transmission) is received from the host computer 7a through the public communication network 6a, the rNAK (request for transmission) is notified to the non-procedural communication control task 3a through the RS-232C driver 4a, and this non-procedural communication control is performed. Task 3a is
rNAK (transmission request)" is notified to the non-procedural communication application 1 task 2a as a transmission start request (processing L
A).

無手順通信アプリケージロンタスク2aは、この送信開
始要求を受付けると、送信を開始し、「データ1」の送
信要求を無手順通信制御タスク3aへ要求する。無手順
通信制御タスク3aは、「データ1」に伝送ブロックヘ
ッダーrsOHJとブロック番号r01.FEJおよび
チエツクサムを付加し、第8図(a)のデータ形式でR
S−232Cドライバー4aを通してホストコンピュー
タ7aへ「データ1」の送信を行い(処理2A)、ホス
トコンピュータからrACK (OK)JをR8−23
2Cドライバー4aを通して受信したのち、無手順通信
アプリケーションタスク2aへ「データ1」の送信完了
を通知する。無手順通信アプリケーションクスク2aは
次データの送信処理として「データ2」の送信要求を無
手順通信制御タスク3aへ行う。無手順通信制御タスク
3aは、「データ2」に伝送ブロックヘッダー「80)
(Jとブロック番号r02.FDJとチエツクサムとを
付加し、第8図(b)のデータ形式でRS−232Cド
ライバー4aを通してホストコンピュータ7aへ「デー
タ2」の送信を行う(処理3A)。
Upon receiving this transmission start request, the non-procedural communication application control task 2a starts transmission and requests the non-procedural communication control task 3a to request the transmission of "data 1". The non-procedural communication control task 3a adds the transmission block header rsOHJ and block number r01. to "data 1". Add FEJ and checksum, and write R in the data format shown in Figure 8(a).
Sends "data 1" to the host computer 7a through the S-232C driver 4a (processing 2A), and sends rACK (OK)J from the host computer to the R8-23.
After receiving it through the 2C driver 4a, it notifies the non-procedural communication application task 2a that the transmission of "data 1" has been completed. The non-procedural communication application task 2a requests the non-procedural communication control task 3a to transmit "data 2" as the next data transmission process. The non-procedural communication control task 3a adds a transmission block header "80" to "data 2".
(J, block number r02.FDJ, and checksum are added, and "data 2" is transmitted to the host computer 7a through the RS-232C driver 4a in the data format shown in FIG. 8(b) (processing 3A).

ホストコンピュータ7aからrACK (OK)JをR
8−232Cドライバー4aを通して受信した(処理4
A)のち、無手順通信アプリケージロンタスク2aへ「
データ2」の送信完了を通知する。無手順通信アプリケ
ーションタスク2aは、送信終了処理としてrEOT(
送信終了)」の送信要求を無手順通信制御タスク3aに
対して行い、R8−232Cドライバー4aを通してホ
ストコンピュータ7aへrEOT (送信終了)」を送
信する(処理5A)。
rACK (OK) J from host computer 7a
Received through the 8-232C driver 4a (processing 4
A) After that, go to the non-procedural communication application Keiron Task 2a.
Notify the completion of transmission of "Data 2". The non-procedural communication application task 2a performs rEOT (
A request is made to the non-procedural communication control task 3a to send "rEOT (end of transmission)" to the host computer 7a through the R8-232C driver 4a (processing 5A).

次に、無手順通信アプリケージジンタスク2aがホスト
コンピュータ7aからの送信開始を要求するrNAK 
(送信要求)」の送信を、無手順制御タスク3aへ要求
すると、無手順通信制御タスク3aはR8−232Cド
ライバー4aを通してホストコンピュータ7aへrNA
K (送信要求)」を送信しく処理6A)、ホストコン
ピュータ7aから第8図(e)のデータ形式の「データ
A」をR8−232Cドライバー4aを通して受信する
(処理7A)と、ブロック番号「01゜FEJのチエツ
クおよびチエツクサムのチエツク後、伝送ブロックヘッ
ダーrsOHJとブロック番号とチエツクサムとの削除
を行ったのち、無手順通信アプリケーションタスク2a
へ「データA」を通知する。無手順通信アプリケージピ
ンタスク2aは次の受信処理として、受信準備完了を通
知するrACK (OK)Jの送信を無手順通信制御タ
スク3aへ要求する。無手順通信制御タスり3aは、r
ACK (OK)JをRS−232Cドライバー4aを
通してホストコンピュータ7aへ送信しく処理8A)、
ホストコンピュータから第8図(f)のデータ形式の「
データB」をR8−232Cドライバー4aを通して受
信する(処理9A)と、ブロック番号rQ2.FDJの
チエツクおよびチエツクサムのチエツク後、伝送ブロッ
クヘッダーrsOH」、 ブロック番号およびチエツク
サムの削除を行ったのち、無手順通信アプリケージ1ン
タスク2aへ「データB」を通知する。無手順通信アプ
リケージビンタスク2aは次のデータ受信処理として、
受信準備完了を通知するrACK (OK)Jの送信を
無手順通信制御タスク3aへ要求し、R8−232Cド
ライバー4aを通してホストコンピュータ7aへrAC
K(OK)Jの送信を行う(処理10A)。
Next, the non-procedural communication application cage task 2a sends an rNAK requesting start of transmission from the host computer 7a.
(send request)" to the non-procedural control task 3a, the non-procedural communication control task 3a transmits rNA to the host computer 7a through the R8-232C driver 4a.
Process 6A) to send "Data A" in the data format shown in FIG. 8(e) from the host computer 7a through the R8-232C driver 4a (Process 7A).゜After checking the FEJ and checking the checksum, the transmission block header rsOHJ, block number, and checksum are deleted, and then the non-procedural communication application task 2a is executed.
Notify "Data A" to. As the next reception process, the non-procedural communication application cage pin task 2a requests the non-procedural communication control task 3a to send rACK (OK)J notifying completion of reception preparation. The non-procedural communication control task 3a is r
Process 8A) to send ACK (OK)J to the host computer 7a through the RS-232C driver 4a;
From the host computer, the data format shown in Figure 8(f) is
When data B'' is received through the R8-232C driver 4a (processing 9A), block number rQ2. After checking the FDJ and checking the checksum, the transmission block header rsOH, block number and checksum are deleted, and then the non-procedural communication application 1 task 2a is notified of ``data B''. The non-procedural communication application cage bin task 2a performs the following data reception processing:
Requests the non-procedural communication control task 3a to send rACK (OK)J to notify reception completion, and sends rAC to the host computer 7a through the R8-232C driver 4a.
K(OK)J is transmitted (processing 10A).

無手順通信制御タスク3aは、ホストコンピュータ7a
からrEOT(送信終了)」をR8−232Cドライバ
ー4aを通して受信するた、無手順通信アプリケージぢ
ンタスク2aへ送信終了の通知を行い、無手順通信アプ
リケージ日ソタスク2aは受信処理を終了する(処理1
1A)。
The non-procedural communication control task 3a is performed by the host computer 7a.
rEOT (end of transmission) through the R8-232C driver 4a, the non-procedural communication application cage task 2a is notified of the end of transmission, and the non-procedural communication application cage NSO task 2a ends the reception process (processing 1
1A).

第2図は、本実施例の送信データに誤りを検出した時の
エラー検出プロトコル制御方法を示すブロック図である
FIG. 2 is a block diagram showing an error detection protocol control method when an error is detected in transmission data according to this embodiment.

無手順通信制御タスク3bがホストコンピュータ7bか
らNAK (送信要求)をR8−232Cドライバー4
bを通して受信する(処理IB)と、無手順通信アプリ
ケ−シロンタスク2bへ送信開始を通知する。無手順通
信アプリケーションタスク2bは送信処理を開始し、「
データ1」の送信要求を無手順通信制御タスク3bへ行
う。
The non-procedural communication control task 3b sends a NAK (transmission request) from the host computer 7b to the R8-232C driver 4.
When the data is received through the process IB (processing IB), the non-procedural communication application task 2b is notified of the start of transmission. The non-procedural communication application task 2b starts the transmission process and
A request to send "Data 1" is made to the non-procedural communication control task 3b.

無手順通信制御タスク3bは「データ1」に伝送ブロッ
クヘッダーrsOHJとブロック番号「01、FEJと
チエツクサムとを付加し、第8図(a)のデータ形式で
R8−232Gドライバー4bを通してホストコンピュ
ータ7bへ「データエ」の送信を行い(処理2B)、ホ
ストコンピュータ7BからrACK (OK)Jを受信
したのち、「データ1」の送信完了を無手順通信アプリ
ケーションタスク2bへ通知する(処理3B)。
The non-procedural communication control task 3b adds a transmission block header rsOHJ, block number "01, FEJ, and checksum" to "data 1", and sends it to the host computer 7b through the R8-232G driver 4b in the data format shown in FIG. 8(a). After transmitting "data" (processing 2B) and receiving rACK (OK) J from the host computer 7B, the non-procedural communication application task 2b is notified of the completion of transmission of "data 1" (processing 3B).

無手順通信アプリケ−シロンタスク2bは、次のデータ
送信処理として「データ2」の送信要求を無手順通信制
御タスク3bへ行う。無手順通信制御タスク3bは、「
データ2」に伝送ブロックヘッダーrsOHJとブロッ
ク番号「o3゜FDJとチエツクサムとを付加し、第8
図(C)のデータ形式(ブロック番号03は誤り)でR
8232Cド5イバ−4Bを通してホストコンピュータ
7bへ「データ2」の送信を行い、ホストコンピュータ
7bからエラー検出を示すrNAK(NG)Jを受信す
ると、再送信処理として再び「データ2」に伝送ブロッ
クヘッダーrsOHJとブロック番号r02.FDJと
チエツクサムとの付加を行い第8図(b)のデータ形式
でR8−2320ドライバー4bを通してホストコンピ
ュータ7bへ「データ2」の再送信を行う(処理4B)
The non-procedural communication application task 2b issues a transmission request for "data 2" to the non-procedural communication control task 3b as the next data transmission process. The non-procedural communication control task 3b is “
Add the transmission block header rsOHJ, block number “o3°FDJ” and checksum to “data 2”, and
In the data format of figure (C) (block number 03 is incorrect)
When "Data 2" is transmitted to the host computer 7b through the 8232C driver 4B and rNAK(NG)J indicating error detection is received from the host computer 7b, the transmission block header is added to "Data 2" again as a retransmission process. rsOHJ and block number r02. FDJ and checksum are added, and "data 2" is retransmitted to the host computer 7b through the R8-2320 driver 4b in the data format shown in FIG. 8(b) (processing 4B).
.

続いてrACK (OK)J受信で無手順通信制御タス
ク3bは無手順通信アプリケ−ジョンタスク2bへデー
タ2の送信完了を通知しく処理5B)、無手順通信アプ
リケーションタスク2bは次の送信処理として「データ
3」の送信要求を無手順通信制御タスク3bへ行う。無
手順通信制御タスク3bは「データ3」に伝送ブロック
ヘッダーrsOHJとブロック番号r03.FCJとチ
エツクサムとの付加を行い第8図(d)のデータ形式で
、ホストコンピュータ7bへ「データ3」の送信を行い
(処理6B)、rAcK (OK)Jを受信後熱手順通
信アプリケーションタスク2bへ「データ3」の送信完
了を通知する(処理7B)。無手順通信アプリケーショ
ンタスク2bは送信終了を要求するrEOT (送信終
了)」の送信を無手順通信制御タスク3bへ要求し、無
手順通信制御タスク3bがrEOT (送信終了)」を
R8−232Cドライバー4bを通してホストコンピュ
ータ7bへ送信したのち、送信処理は終了する(処理8
B)。
Subsequently, upon reception of rACK (OK) J, the non-procedural communication control task 3b notifies the non-procedural communication application task 2b of the completion of transmission of data 2 (5B), and the non-procedural communication application task 2b performs the following transmission process: A request to send "data 3" is made to the non-procedural communication control task 3b. The non-procedural communication control task 3b adds the transmission block header rsOHJ and block number r03. to "data 3". After adding FCJ and checksum, "data 3" is sent to the host computer 7b in the data format shown in FIG. 8(d) (processing 6B), and after receiving rAcK (OK)J, the thermal procedure communication application task 2b The completion of transmission of "data 3" is notified to (process 7B). The non-procedural communication application task 2b requests the non-procedural communication control task 3b to send "rEOT (end of transmission)" requesting the end of transmission, and the non-procedural communication control task 3b sends "rEOT (end of transmission)" to the R8-232C driver 4b. After transmitting the data to the host computer 7b through the
B).

第3図は、本実施例の受信データに誤−りを検出した時
のエラー検出プロトコル制御方法を示すブロック図であ
る。
FIG. 3 is a block diagram showing an error detection protocol control method when an error is detected in received data according to this embodiment.

無手順通信アプリケーションタスク2Cが送信開始を要
求するrNAK (送信要求)」の送信を無手順通信制
御タスク3Cへ要求し、無手順通信制御タスク3Cはr
NAK (送信要求)」をR8−232Cドライバー4
0を通してホストコンピュータ7Cへ送信しく処理IC
)、ホストコンピュータ7Cから第8図(e)のデータ
形式のデータAをR8−232Cドライバー4Cを通し
て受信すると、ブロック番号とチエツクサムとのチエツ
クを行ったのち、伝送ブロックヘッダー「SOH」とブ
ロック番号とチエツクサムとを削除し、「データA」を
無手順通信アプリケージロンタスク2cへ通知する(処
理2G)。
The non-procedural communication application task 2C requests the non-procedural communication control task 3C to send rNAK (transmission request) requesting the start of transmission, and the non-procedural communication control task 3C requests r
NAK (send request)” with R8-232C driver 4
0 to the host computer 7C.
), when data A in the data format shown in FIG. 8(e) is received from the host computer 7C through the R8-232C driver 4C, the block number and checksum are checked, and then the transmission block header "SOH" and the block number are The checksum is deleted, and "data A" is notified to the non-procedural communication application login task 2c (processing 2G).

無手順通信アプリケーションタスク2Cは次の受信処理
の準備完了としてrACK (OK)Jの送信を無手順
通信制御タスク3Cへ要求する。無手順通信制御タスク
3CはrACK (OK)JをR8−232Cドライバ
ー4Cを通してホストコンピュータ7Cへ送信後、第8
図(e)のデータ形式のデータBを受信すると、ブロッ
ク番号とチエツクサムとのチエツクを行いブロック番号
で誤り(ブロック番号03は誤り、正しくは02)を検
出した時、エラー検出rNAK (NG)JをR8−2
32Gドライバー40を通しホストコンピュータ7cへ
送信する(処理3C)。ホストコンピュータ7Cからデ
ータBの再送データ(第8図(f))を無手順制御タス
ク3Cが受信すると、ブロック番号のチエツク(ブロッ
ク番号02.FDは正常)およびチエツクサムのチエツ
ク後、正常であれば伝送ブロックヘッダーrsQ、HJ
とブロック番号r02.FDJとチエツクサムとの削除
を行い、無手順通信アプリケージジンタスク2Cヘデー
タBの通知を行う(処理4C)。
The non-procedural communication application task 2C requests the non-procedural communication control task 3C to send rACK (OK)J as completion of preparation for the next reception process. After sending rACK (OK)J to the host computer 7C through the R8-232C driver 4C, the non-procedural communication control task 3C sends the 8th
When data B in the data format shown in Figure (e) is received, the block number and checksum are checked, and when an error is detected in the block number (block number 03 is incorrect, correct is 02), error detection rNAK (NG)J R8-2
The data is sent to the host computer 7c through the 32G driver 40 (processing 3C). When the non-procedural control task 3C receives the retransmission data of data B (FIG. 8(f)) from the host computer 7C, it checks the block number (block number 02.FD is normal) and the checksum, and if it is normal. Transmission block header rsQ, HJ
and block number r02. The FDJ and checksum are deleted, and data B is notified to the non-procedural communication application engine task 2C (processing 4C).

無手順通信アプリケーションタスク2Cは、次の受信処
理の準備完了を示すrACK (OK)Jの送信を無手
順通信制御タスク3Cへ要求し、R8−2320ドライ
バー40を通してホストコンピュータ7Cへ送信する(
処理5C)。無手順通信制御タスク3cがホストコンピ
ュータ7Cから送信終了を示すrEOT (送信終了)
」を受信すると、無手順通信アプリケージ日ンタスク2
Cへ送信終了の通知を行い、無手順通信アプリケージ日
ンタスク2cは受信処理を終了する(処理6C)。
The non-procedural communication application task 2C requests the non-procedural communication control task 3C to send rACK (OK)J indicating the completion of preparation for the next reception process, and sends it to the host computer 7C through the R8-2320 driver 40 (
Processing 5C). The non-procedural communication control task 3c receives an rEOT from the host computer 7C indicating the end of transmission (end of transmission).
”, the non-procedural communication application cage day task 2
The non-procedural communication application cage task 2c notifies C of the end of transmission, and ends the reception process (process 6C).

第4図は、データ送信時および受信時の異常処理のプロ
トコル制御方法を示している。
FIG. 4 shows a protocol control method for handling abnormalities during data transmission and data reception.

ホストコンピュータ7dから送信開始を要求するrNA
K (送信要求)」がRS−232Cドライバー4dを
通して無手順通信制御タスク3dで受信すると、無手順
通信制御アプリケーションタスク2dへ送信開始要求を
通知する(処理ID)。無手順通信アプリケーションタ
スク2dは、送信開始処理として「データ1」の送信要
求を無手順通信制御タスク3dへ行い、無手順通信制御
タスク3dはデータ1に伝送ブロックヘッダー rsO
HJとブロック番号r01.FEJとチエツクサムとの
付加を行い、第8図(a)のデータ形式で、R8−23
2Gドライバー4dを通してホストコンピュータ7dへ
送信する(処理2D)。ホストコンピュータ7dが無応
答の時、無手順通信制御タスク3dは、応答符号受信監
視タイマー(60秒タイマー)のタイムアウトにより、
送信キャンセルを示すrCAN (キャンセル)」をR
8−232Cドライバー4dを通してホストコンピュー
タ7dへ送信し、無手順通信アプリケ−シロンタスク2
dに送信異常終了を通知する(処理3D)。
rNA requests start of transmission from host computer 7d
When the non-procedural communication control task 3d receives "K (transmission request)" through the RS-232C driver 4d, a transmission start request is notified to the non-procedural communication control application task 2d (processing ID). The non-procedural communication application task 2d requests the non-procedural communication control task 3d to send "data 1" as a transmission start process, and the non-procedural communication control task 3d sends a transmission block header rsO to data 1.
HJ and block number r01. After adding FEJ and checksum, R8-23 is created in the data format shown in Figure 8(a).
It is transmitted to the host computer 7d through the 2G driver 4d (processing 2D). When the host computer 7d does not respond, the non-procedural communication control task 3d causes the response code reception monitoring timer (60 seconds timer) to time out.
rCAN (cancel) indicating transmission cancellation.
8-232C driver 4d to the host computer 7d, non-procedural communication application task 2
d of the abnormal end of transmission (processing 3D).

次に、無手順通信アプリケーションタスク2dが送信開
始を要求するrNAK (送信要求)」の送信を無手順
通信制御タスク3dに対して行うと、無手順通信制御タ
スク3dはRS−232Cドライバー4dを通してNA
K (送信要求)をホストコンピュータ7dへ送信しく
処理4D)、第8図(e)に示すデータ形式のデータA
を受信すると、ブロック番号rot、FEJおよびチエ
ツクサムのチエツク後、伝送ブロックヘッダー「5OH
Jとブロック番号とチエツクサムとを削除し、「データ
A」を無手順通信アプリケーションタスク2dへ通知す
る(処理5D)。
Next, when the non-procedural communication application task 2d sends an rNAK (transmission request) requesting the start of transmission to the non-procedural communication control task 3d, the non-procedural communication control task 3d receives the NAK through the RS-232C driver 4d.
Processing to send K (transmission request) to the host computer 7d (4D), data A in the data format shown in FIG. 8(e)
is received, after checking the block number rot, FEJ and checksum, the transmission block header “5OH
J, block number, and checksum are deleted, and "data A" is notified to the non-procedural communication application task 2d (processing 5D).

無手順通信アプリケーションタスク2dは、次のデータ
受信処理の準備完了後、無手順通信制御タスク3dへr
ACK (OK)Jの送信要求を行うと、無手順通信制
御タスク3dはrACK(OK)JをR8−232Cド
ライバー4dを通してホストコンピュータ7dへ送信し
、ホストコンピュータ7dが無応答の時、ブロック受信
監視タイマー(00〜99秒のいずれかにセットできる
)のタイムアウトにより、rACK (OK)Jの再送
信を行う。無手順通信制御タスク3dは、ホストコンピ
ュータ7dが無応答であればrACK (OK)Jの送
信をくり返しく処理6D)、リトライ回数(00〜99
回のいずれかにセットできる)オーバーで受信のキャン
セルを示すrCAN(キャンセル)jをR8−232C
ドライバー4(1通してホストコンピュータ7dへ送信
後、無手順通信アプリケーションタスク2dへ受信の異
常終了を通知する(処理7D)。
After the non-procedural communication application task 2d completes preparation for the next data reception process, the non-procedural communication application task 2d returns to the non-procedural communication control task 3d.
When a request to send ACK (OK) J is made, the non-procedural communication control task 3d sends rACK (OK) J to the host computer 7d through the R8-232C driver 4d, and when the host computer 7d does not respond, it monitors block reception. When the timer (which can be set to any value from 00 to 99 seconds) times out, rACK (OK) J is retransmitted. The non-procedural communication control task 3d repeatedly sends rACK (OK) J if the host computer 7d does not respond.
R8-232C sets rCAN (cancel)j, which indicates cancellation of reception when the
After transmitting the data to the host computer 7d through the driver 4 (1), the non-procedural communication application task 2d is notified of the abnormal end of reception (processing 7D).

第5図は、伝送ブロックデータの形式を示している。FIG. 5 shows the format of transmission block data.

伝送ブロックデータの形式は、[伝送ブロックヘッダー
rsOHJ E 、[ブロック番号]100、[255
−ブロック番号]、[伝送ブロックデータコおよび[チ
エツクサム]101から構成されている。ブロック番号
は0018〜FF!8であり、01□8からはじまりF
 F 1eを越えると0Oneへくり上がる。チエツク
サムは伝送ブロックデータの合計を256で割った余り
である。
The format of the transmission block data is [transmission block header rsOHJ E, [block number] 100, [255
- block number], [transmission block data code] and [check sum] 101. Block numbers are 0018~FF! 8, starting from 01□8 and F
When it exceeds F 1e, it goes up to 0One. The checksum is the remainder of the total transmission block data divided by 256.

第6図は、制御符号を示している。rsOHJは伝送ブ
ロックヘッダー、rNAKJは送信開始要求または否定
応答、rAcKJは肯定応答、「EOTjは送信終了、
rCANJはキャンセルを示している。
FIG. 6 shows the control code. rsOHJ is the transmission block header, rNAKJ is the request to start transmission or negative response, rAcKJ is the acknowledgment, "EOTj is the end of transmission,
rCANJ indicates cancellation.

第7図は、タイマー監視の種類とタイマー値を示してい
る。
FIG. 7 shows types of timer monitoring and timer values.

「送信開始要求(NAK)J監視タイマーは60秒であ
り、タイムアウト発生後rCANj送信を行う。ブロッ
ク受信監視タイマーはrACKJ送信後の監視タイマー
であり、タイマー値は00〜99秒の範囲で設定可能で
あり、rAcKJ再送りトライオーバー(IJ)ライ回
数は00〜99回の範囲で設定可)でrCANJ送信を
行う。また、応答符号の受信監視タイマーは、伝送ブロ
ックデータ送信後のrACK/NAKJ受信監視タイマ
ーであり、60秒タイムアウト発生時rCAN」の送信
を行う。また、第8図(a)〜(f)は伝送ブロックデ
ータの例を示す説明図である。
The "transmission start request (NAK) J monitoring timer is 60 seconds, and rCANj transmission is performed after a timeout occurs. The block reception monitoring timer is a monitoring timer after rACKJ transmission, and the timer value can be set in the range of 00 to 99 seconds. The rCANJ transmission is performed with the rAcKJ retransmission tryover (IJ) number of tries (can be set in the range of 00 to 99 times).In addition, the response code reception monitoring timer It is a monitoring timer, and sends "rCAN" when a 60 second timeout occurs. Moreover, FIGS. 8(a) to 8(f) are explanatory diagrams showing examples of transmission block data.

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

以上説明したように本発明は、オペレータの指示に従い
動作する無手順通信アプリケーションタスク、エラー検
出機能を持った無手順通信プロトコルを制御する無手順
制御タスク、およびR8−232Cボードを制御しデー
タ伝送を行うR8−2320ドライバーから構成される
ことにより、オブジェクトデータ0文書ファイルデータ
等の2進数フードデータを含む全てのデータをデータ化
け・デークロストなどの伝送エラーなしで送受信できる
という効果がある。
As explained above, the present invention includes a non-procedural communication application task that operates according to instructions from an operator, a non-procedural control task that controls a non-procedural communication protocol with an error detection function, and a non-procedural control task that controls an R8-232C board and performs data transmission. By being configured with the R8-2320 driver, all data including binary food data such as object data 0 document file data can be sent and received without transmission errors such as data corruption or data loss.

【図面の簡単な説明】 第1図は本発明の一実施例の構成を示す無手順通信アプ
リケーションクスクと無手順通信制御タスクとR8−2
32Gドライバーとが行うエラー検出機能を持った無手
順通信プロトコルの制御方法を示すブロック図、第2図
は本実施例の送信データに誤りを検出した時のエラー検
出プロトコル制御方法を示すブロック図、第3図は本実
施例の受信データに誤りを検出した時のエラー検出プロ
トコル制御方法を示すブロック図、第4図は本実施例の
データ送信時および受信時の異常処理のプロトコル制御
方法を示すブロック図、第5図は伝送ブロックデータの
形式を示す説明図、第6図は制御符号の種類を示す図、
第7図はタイマー監視の種類とタイマー値を示す説明図
、第8図(a)〜(f)は伝送ブロックデータの例を示
す説明図。 la〜1d・・・パーソナルコンピュータ、2a〜2d
・・・無手順通信アプリケーションタスク、3a〜3d
・・・無手順通信制御タスク、4a〜4d・・・R8−
232Cドライバー 5 a 〜5 d ・・・RS 
−232Cボード、6a〜6d・・・公衆通信回線網、
7a〜7d・・・ホストコンピュータ。
[Brief Description of the Drawings] Figure 1 shows the configuration of an embodiment of the present invention, including a non-procedural communication application program, a non-procedural communication control task, and R8-2.
FIG. 2 is a block diagram showing a control method of a non-procedural communication protocol with an error detection function performed by the 32G driver, and FIG. Fig. 3 is a block diagram showing an error detection protocol control method when an error is detected in received data according to this embodiment, and Fig. 4 shows a protocol control method for abnormality processing during data transmission and reception according to this embodiment. A block diagram, FIG. 5 is an explanatory diagram showing the format of transmission block data, FIG. 6 is a diagram showing the types of control codes,
FIG. 7 is an explanatory diagram showing types of timer monitoring and timer values, and FIGS. 8(a) to (f) are explanatory diagrams showing examples of transmission block data. la~1d...Personal computer, 2a~2d
...Non-procedural communication application tasks, 3a-3d
...Non-procedural communication control task, 4a-4d...R8-
232C driver 5 a ~ 5 d...RS
-232C board, 6a to 6d... public communication network,
7a-7d...Host computer.

Claims (1)

【特許請求の範囲】[Claims] 公衆通信回線網内で無手順通信方式で接続されるパーソ
ナルコンピュータの無手順通信制御方法において、オペ
レータの指示に従い動作する無手順通信アプリケーショ
ンタスクと、エラー検出機能を持った無手順通信プロト
コルを制御する無手順通信制御タスクと、RS−232
Cボードを制御しデータ伝送を行うRS−232Cドラ
イバーとから構成され、2進数コードデータを含む全て
のデータを送受信して成ることを特徴とする無手順通信
制御方法。
A non-procedural communication control method for a personal computer connected via a non-procedural communication method in a public communication network, which controls a non-procedural communication application task that operates according to instructions from an operator and a non-procedural communication protocol that has an error detection function. Non-procedural communication control task and RS-232
A non-procedural communication control method comprising an RS-232C driver that controls a C board and transmits data, and transmits and receives all data including binary code data.
JP2159158A 1990-06-18 1990-06-18 Non-procedure communication control method Pending JPH0449740A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2159158A JPH0449740A (en) 1990-06-18 1990-06-18 Non-procedure communication control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2159158A JPH0449740A (en) 1990-06-18 1990-06-18 Non-procedure communication control method

Publications (1)

Publication Number Publication Date
JPH0449740A true JPH0449740A (en) 1992-02-19

Family

ID=15687538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2159158A Pending JPH0449740A (en) 1990-06-18 1990-06-18 Non-procedure communication control method

Country Status (1)

Country Link
JP (1) JPH0449740A (en)

Similar Documents

Publication Publication Date Title
US6304905B1 (en) Detecting an active network node using an invalid protocol option
JP4916192B2 (en) Reliable request-response messaging over request-response transport
EP0464014A2 (en) Communications systems using a fault tolerant protocol
JP2001514773A (en) Reliable event delivery system
JPH0691513B2 (en) Data transmission error detection method
JPH0449740A (en) Non-procedure communication control method
EP1427127A2 (en) Communication control method, communication system and communication apparatus that can improve throughput
EP1662704B1 (en) Monitoring system, apparatus to be monitored, monitoring apparatus and monitoring method
JP2003186767A (en) Opposite connection test method
KR100464493B1 (en) A mobile communication system and a operating method for data transmission of wireless internet
CN111417116B (en) Communication methods and systems adapted through ATT, reading and writing, and exception handling
JP2536385B2 (en) Data communication method
JPH01129632A (en) Communication controller
JP2605296B2 (en) Communication device for basic data transmission control procedure
JP2848298B2 (en) Message sending and receiving method and message sending and receiving method
JPH04112534U (en) data transmission equipment
JPH03117242A (en) Retrial method for data transmission
JPS62204634A (en) Start-stop synchronous data transmission control method
KR910005384B1 (en) Interfaing method between external computer system and private exchanger
JPH07120288B2 (en) Redundant message detection processing method of data processing device
CN121664363A (en) Data diode and data transmission abnormality notification method
JPS63138827A (en) data transmission equipment
JPH07221775A (en) Circuit management method in local area network
JPH09321799A (en) Data transmitter and its method
JPH04129443A (en) Information exchange system