JPS62278832A - Communication control equipment - Google Patents

Communication control equipment

Info

Publication number
JPS62278832A
JPS62278832A JP12307686A JP12307686A JPS62278832A JP S62278832 A JPS62278832 A JP S62278832A JP 12307686 A JP12307686 A JP 12307686A JP 12307686 A JP12307686 A JP 12307686A JP S62278832 A JPS62278832 A JP S62278832A
Authority
JP
Japan
Prior art keywords
information
bit
parts
telegram
character
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
JP12307686A
Other languages
Japanese (ja)
Inventor
Kenichi Nakamura
健一 中村
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.)
NIPPON DENKI FUIIRUDO SERVICE KK
Original Assignee
NIPPON DENKI FUIIRUDO SERVICE KK
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 NIPPON DENKI FUIIRUDO SERVICE KK filed Critical NIPPON DENKI FUIIRUDO SERVICE KK
Priority to JP12307686A priority Critical patent/JPS62278832A/en
Publication of JPS62278832A publication Critical patent/JPS62278832A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PURPOSE:To assure the permeability of information and to detect always an error with the same method at the time of bit depending type digital data by adding and transmitting the number of the information bit of '1' and '0' in a transmitting telegram to the head of the telegram, storing the number of the bit at the receiving side and subtracting bit information in the telegram in continuation to it from the above-mentioned number of the bit. CONSTITUTION:To 12 parts and 13 parts of a telegram, the sum of '1' and '0' in respective texts (14 parts) is given as the number of the information bit at a transmitting side. A serialparallel converter 3 first converts the STX of a receiving telegram and gives it to a register 7. At this time, the bit train of the STX is sent even to a discriminateor 2 and thrown away as it is. Next, the 12 parts and the 13 parts are respectively shifted to buffer memories 4 and 5. Next, the 14 parts are sent to a line buffer 9. For the information sent to the discriminator 2, the discrimination of '1' or '0' is executed, and in case of '1', '1' is subtracted from the buffer memory 4 by a subtracter 10. In case of '0', the same operation is executed. By the processing, the condition, in which both memories 4 and 5 come to be zero, is confirmed by a register 6 and the next information is awaited. When the character is a final character ETX, it is shown that receiving is correctly executed. When the character is not the ETX and one side value of the memories 4 and 5 comes to be negative, it is detected as an error at the time point.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔産業上の利用分野〕 本発明は、コンピュータとコンピュータ間、コンピュー
タとターミナル間等で行われるようなビット依存型(ビ
ットオリエンテッド)デジタルデータ通信に於ける誤り
検査方式を有する通信制御装置に関する。
Detailed Description of the Invention 3. Detailed Description of the Invention [Field of Industrial Application] The present invention relates to bit-oriented digital data such as data transmitted between computers, between computers and terminals, etc. The present invention relates to a communication control device having an error checking method in communication.

〔従来の技術〕[Conventional technology]

従来の誤υ検査方式は、通信回線を流れる情報はビット
情報であっても通信制御装置内で、ビット情報から文字
(キャラクタ)情報へコード変換を行い、その文字情報
に対して誤り検査1を竹っている。たとえばBCC(ブ
ロック検査文字)方式。
In the conventional error check method, even if the information flowing through the communication line is bit information, code conversion is performed from bit information to character information within the communication control device, and error check 1 is performed on the character information. There is bamboo. For example, the BCC (block check character) method.

BC8(ブロック検査シーケンス)方式、お工び、Fe
2(7レーム検査7−ケンス)方式等である。
BC8 (block inspection sequence) method, workmanship, Fe
2 (7-frame inspection, 7-ken) method, etc.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、これらの方式は文字(キャラクタ)情報の通信
では問題がないが、イメージ情報、音戸情報等をデジタ
ル化し送受信を行う場合、全てのビットパターン(組合
せ)をデータとして取9扱かう必要があシ、制御符号と
の区別が必要であるという欠点がめった。
However, although these methods have no problems when communicating character information, when digitizing image information, Ondo information, etc. and transmitting and receiving them, it is necessary to treat all bit patterns (combinations) as data. The shortcoming is that it is necessary to distinguish between the control code and the control code.

従って本発明の目的は、送受信する、情報のビ、ドパタ
ーンC組合せ)は全く制限がなく、全ての組合せが、情
報として取9扱える通信制御装置を提供することにある
Therefore, an object of the present invention is to provide a communication control device in which there are no restrictions on the combinations of bid and dot patterns of information to be transmitted and received, and all combinations can be handled as information.

〔問題照号解決するための手段〕[Means to solve the problem]

本発明によれば、通信回線を用いてデジタルデータを一
定のど、ト数に区切って送受信し受信データの誤りを検
査する通信制御装置において、送信する一電文中に含ま
れるビット情報の“1”情報ビツト数と“01情報ビ、
ト数を電文の先頭に付加する送信装置と、前記“1”情
報ビツト数と前記“0”情報ビツト数をそれぞれ記憶す
るパックアメモリとそれに続く電文中のlll tたは
IOlのビット情報を該当するパックアメモリよシ減算
する減算器とを有し、11次電文を受信してゆくうちに
前記“1”゜lO“情報パックアメモリの内容が減算さ
れ、共にゼロになったときに引き続き送られてくるデー
タが送信終了を表わすコードである事を確認する事によ
りデータの誤り検出を行う受信装置とを有することを特
徴とする通信制御装置が得られる。
According to the present invention, in a communication control device that transmits and receives digital data divided into a certain number of segments using a communication line and inspects the received data for errors, bit information “1” included in one message to be transmitted is used. Number of information bits and "01 information bits,"
a transmitter that adds the number of data bits to the beginning of the message; a pack memory that stores the number of "1" information bits and the number of "0" information bits; and bit information of llt or IOl in the subsequent message. It has a subtracter that subtracts the information from the corresponding pack memory, and as the 11th message is received, the contents of the information pack memory are subtracted, and when both become zero, There is obtained a communication control device characterized in that it has a receiving device that detects errors in data by confirming that the subsequently sent data is a code indicating the end of transmission.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例を示す博成図である。FIG. 1 is a diagram showing one embodiment of the present invention.

別器2と、ビット列から文字(キャラクタ)情報に変換
する直並列変換器3と、“1°情報ビ、ト欽を記憶する
パックアメモリ4と、減算器10と、“0“情報ビット
数を記憶するバッファメモリ5と、減算器11およびバ
ッファメモリ4,5の状態を認識するレジスタ6と、直
並列変換器3で変換した文字を一時記憶し、送受信する
電文の先頭ま九は、最後を表わす文字を認識するレジス
タ7と、レジスタ6と7との状態により受信された情報
の正誤?表示するインジケータ8と、ラインバッファ9
とから構成されている。
a separate device 2, a serial/parallel converter 3 for converting bit strings into character information, a pack memory 4 for storing "1 degree information bits and tones," a subtractor 10, and a "0" information bit number. A buffer memory 5 for storing , a register 6 for recognizing the status of the subtracter 11 and the buffer memories 4 and 5, and a register 6 for temporarily storing characters converted by the serial/parallel converter 3. A register 7 that recognizes characters representing
It is composed of.

次に本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

ラインレシーバ−1を介して受信されたビット依存型デ
ジタルデータは直並列変換器3で変換され、変換された
文字はレジスタ7に記憶され電文の先頭文字か否か調査
される。欠如文字でなければ、そのまま捨てられる。こ
こで、第2図に示す電文カラインレシーバ−11に介し
て直並列変換器3に入力されると、まず、電文の先頭文
字(以下5TX)が変換され、レジスタ7に記憶される
The bit-dependent digital data received through the line receiver 1 is converted by the serial/parallel converter 3, and the converted characters are stored in the register 7 and checked to see if they are the first characters of the telegram. If it is not a missing character, it is simply discarded. Here, when the message is input to the serial/parallel converter 3 via the message line receiver 11 shown in FIG. 2, the first character of the message (hereinafter referred to as 5TX) is converted and stored in the register 7.

この時、判別器2にもSTXのビッ上列分が順次送られ
るが、電文の誤り検査領域ではないので、バッファメモ
リ4,5および減算器10.11へは供給されない様に
制御する。誤9検査領域は第2図の14部分のみである
At this time, the upper bit row of STX is also sequentially sent to the discriminator 2, but since it is not an error checking area of the message, it is controlled so that it is not supplied to the buffer memories 4 and 5 and the subtracters 10 and 11. The false 9-inspection area is only the 14 portion in FIG.

次に第2図の12部分が受信される。これは11′情報
ビツト数として誤り検査領域内のビット“1′の総和を
送信側で付加する。この情報を直並列変換器3を通して
バッフアメそり4に移送する。同様K ’0’情報ビッ
ト数についても第2図の13部分を受信し、パックアメ
モリ5に移送する。ここで初めて、判別器2から減算器
10.11への情報の流れtS放する。次に第2図の1
4部分でめるテキストがラインレシーバ−1を介して、
判別器2と直並列変換器3に順次送られてくる。直並列
変換器3に送られた情報は、コード変換され、レジスタ
7全通シラインバッファ9へ送うレる。
Next, portion 12 of FIG. 2 is received. This is done by adding the sum of bits "1" in the error check area as the number of 11' information bits on the transmitting side.This information is transferred to the buffer 4 through the serial/parallel converter 3.Similarly, K'0' is the number of information bits. Also, part 13 in FIG. 2 is received and transferred to the pack memory 5. At this point, the information flow tS from the discriminator 2 to the subtractor 10.11 is released.Next, the part 13 in FIG.
The text consisting of 4 parts is sent through line receiver 1,
The signals are sequentially sent to the discriminator 2 and the serial/parallel converter 3. The information sent to the serial/parallel converter 3 is code converted and sent to the serial line buffer 9 through the register 7.

判別器2に送られたビット情報は“1”または“0”の
判別が行われ、′11の場合は減算器10にてバッファ
メモリ4から“1”ヲ減じる。また“0”の場合は、減
算器11にてパックアメモリ5から“1”を減じる。こ
の様に受信される情報について、処理を行ってゆくと、
パックアメモリ4,5共にゼロになるタイミングが存在
する墨になる。この状態をレジスタ6で確認し、次の情
報が、直並列変換器3を遡りレジスタ7に送られてくる
のを待つ。
The bit information sent to the discriminator 2 is discriminated as "1" or "0", and in the case of '11', the subtracter 10 subtracts "1" from the buffer memory 4. If it is "0", the subtracter 11 subtracts "1" from the pack memory 5. As we process the information received in this way,
It becomes black where there is a timing when both pack memories 4 and 5 become zero. This state is confirmed in the register 6, and the next information is sent back through the serial/parallel converter 3 to the register 7.

この文字が、電文の最後の文字、つ1り第2図の15−
ETX”であれは送信された電文が正しく受信された事
を表わす。もしこの文字が電文の最後を表わす文字でな
い場合、また、パックアメモリ4゜5共にゼロにならな
いで、片方のバッファメモリの値が負になった場合は、
その時点で誤りを検出したとしてインジケータ8により
正誤表示する。
This character is the last character of the telegram, 15- in Figure 2.
ETX" indicates that the transmitted message has been received correctly. If this character does not represent the end of the message, also if the pack memory 4 and 5 do not become zero and one of the buffer memories is If the value becomes negative,
At that point, an error is detected and an indicator 8 indicates whether it is correct or incorrect.

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

以上説明したように本発明は、通信回線を流れる情報が
ビット依存型デジタルデータであるかぎり、情報の透過
性を完全に保証し、かつ文字コードが違う場合に於ても
常に同一の方法で誤9検出が可能になる。
As explained above, the present invention completely guarantees information transparency as long as the information flowing through the communication line is bit-dependent digital data, and always uses the same method to prevent errors even when the character code is different. 9 detection becomes possible.

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

第1図は本発明の一実施例を示す構成図、第2図は本実
施例の送受信を行うデータ形式を示す図である。 1・・・・・・ラインレシーバ−12・・・・・・判別
器、3・・・・・・直並列変換器、4・・・・−・バッ
ファメモリ、5・・・・・・バッファメモリ、6・・・
・・・レジスタ、7・・・・・・レジスタ、8・・・−
・・インジケータ、9・・・・・・ラインバッファ、1
0・・・・・・減算器、11・・・・・・減算器、11
・・・・・・8TX(開始文字)、12・・・・・・“
1”情報ビツト数、13・・・・・・“O“情報ビット
数、14・・・・・−テキスト(誤り検査領域)データ
長は任意、15・・・・−・ETX(最終文字)。 代理人 弁理士  内 原   音 if:11図 第2図
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a diagram showing a data format for transmission and reception in this embodiment. 1...Line receiver-12...Discriminator, 3...Serial-to-parallel converter, 4...Buffer memory, 5...Buffer Memory, 6...
...Register, 7...Register, 8...-
...Indicator, 9...Line buffer, 1
0...Subtractor, 11...Subtractor, 11
・・・・・・8TX (start character), 12・・・・・・“
1" Number of information bits, 13..."O" Number of information bits, 14...-Text (error check area) data length is arbitrary, 15...ETX (last character) .Representative Patent Attorney Uchihara Oto if: Figure 11 Figure 2

Claims (1)

【特許請求の範囲】[Claims] 通信回線を用いてデジタルデータを一定のビット数に区
切って送受信し受信データの誤りを検査する通信制御装
置において、送信する一電文中に含まれるビット情報の
“1”情報ビット数と“0”情報ビット数を電文の先頭
に付加する送信装置と、前記“1”情報ビット数と前記
“0”情報ビット数をそれぞれ記憶するバッファメモリ
とそれに続く電文中の“1”または“0”のビット情報
を該当するバッファメモリより減算する減算器とを有し
、順次電文を受信してゆくうちに前記“1”、“0”情
報バッファメモリの内容が減算され、共にゼロになった
ときに引き続き送られてくるデータが送信終了を表わす
コードである事を確認する事によりデータの誤り検出を
行う受信装置とを有することを特徴とする通信制御装置
In a communication control device that divides digital data into a fixed number of bits and sends and receives them using a communication line and checks the received data for errors, the number of information bits of "1" and "0" of bit information included in one message to be transmitted is determined. A transmitting device that adds the number of information bits to the beginning of a message, a buffer memory that stores the number of information bits “1” and the number of information bits “0”, and subsequent “1” or “0” bits in the message. It has a subtracter that subtracts information from the corresponding buffer memory, and as the messages are sequentially received, the contents of the "1" and "0" information buffer memories are subtracted, and when both become zero, the subtracter subtracts the information from the corresponding buffer memory. 1. A communication control device comprising: a receiving device that detects errors in data by confirming that the sent data is a code indicating the end of transmission.
JP12307686A 1986-05-27 1986-05-27 Communication control equipment Pending JPS62278832A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12307686A JPS62278832A (en) 1986-05-27 1986-05-27 Communication control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12307686A JPS62278832A (en) 1986-05-27 1986-05-27 Communication control equipment

Publications (1)

Publication Number Publication Date
JPS62278832A true JPS62278832A (en) 1987-12-03

Family

ID=14851593

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12307686A Pending JPS62278832A (en) 1986-05-27 1986-05-27 Communication control equipment

Country Status (1)

Country Link
JP (1) JPS62278832A (en)

Similar Documents

Publication Publication Date Title
US4454601A (en) Method and apparatus for communication of information and error checking
JPS62278832A (en) Communication control equipment
US5513347A (en) Data transfer system
US6356584B1 (en) Method for the clocked serial data transmission of data blocks of identical block length
US4977559A (en) Improper bit combination detection circuit
US3436730A (en) Method of detecting and correcting an error in polarity change in a data transmission system
JPH0557788B2 (en)
JP2555582B2 (en) CMI code error detection circuit
JPH03272224A (en) Information signal processing method
US20230019132A1 (en) Data communication apparatus and method
JPS5829243A (en) Signal monitoring device of transmission system
JPS6041375B2 (en) Information error detection method
JPH0897803A (en) Data transmission system
JPH0191543A (en) Serial data transfer system
JP2924209B2 (en) Data transfer device and data transfer method
JPS63161741A (en) Data transmission system
JPS61290854A (en) Telephone line error detecting system
JPH0219946A (en) Semiconductor file memory device
JPH02180444A (en) Transfer data deciding circuit
JPH02240753A (en) Asynchronous communication ic
JPS5940338B2 (en) Digital signal reception processing device
JPS6010466B2 (en) Message transmission method
JPH01223844A (en) Data transmission system
JPS62128636A (en) Detecting system for frame fault
JPH05227134A (en) Data collating system