JPS61151746A - Processing method of data error - Google Patents

Processing method of data error

Info

Publication number
JPS61151746A
JPS61151746A JP59272984A JP27298484A JPS61151746A JP S61151746 A JPS61151746 A JP S61151746A JP 59272984 A JP59272984 A JP 59272984A JP 27298484 A JP27298484 A JP 27298484A JP S61151746 A JPS61151746 A JP S61151746A
Authority
JP
Japan
Prior art keywords
error
processing
data
executed
switch
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
JP59272984A
Other languages
Japanese (ja)
Inventor
Miyoshi Tomioka
冨岡 美好
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 Ltd
Original Assignee
Hitachi 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 Ltd filed Critical Hitachi Ltd
Priority to JP59272984A priority Critical patent/JPS61151746A/en
Publication of JPS61151746A publication Critical patent/JPS61151746A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To attain flexible corresponding processing for an error of received data by selecting optionally whether the error processing is executed in correspondence to the kind of the error or the error is executed in common for the error of received data in a terminal device. CONSTITUTION:A CPU1 receives data transmitted externally via a communication interface 2 and checks it. If an error is detected in the received data, it is classified depending on the kind of the error, and which kind of error is generated is stored in a memory 3. The CPU1 reads the data, checks it in order, which error is generated is discriminated and the state of plural switches 5, 6, 7 corresponding to the said error is read through a switch interface 4. Then depending on the state of the switch, whether the corresponding special processing is executed or the common processing is executed for all the errors is decided for error processing.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、文字データを文字フードに変換して伝送され
るデータのエラー処理方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to an error processing method for data that is transmitted by converting character data into character hood.

〔発明の背景〕[Background of the invention]

端末装置のエラー処理は種々の方式があるが、それに対
する処理は使用条件によって変更しなければならない場
合や、全て同一の処理でよい場合がある。したがって、
エラー処理はそれぞれの使用条件等に合わせて柔軟に行
なえること  −が望ましい。
There are various methods for handling errors in terminal devices, but the processing for such errors may need to be changed depending on usage conditions, or may all be the same processing. therefore,
It is desirable that error handling can be performed flexibly to suit each usage condition.

従来のこの種のエラー処理方式としては、「特開昭59
−77779号公報」k記載しであるように1受信デー
タ□のエラーをエラーの種類毎に分類し、それぞれに対
応した処理を行なうか、否かの選択を台なう方式のもの
である。しかしながら、同方式によると、エラーの種類
毎の処理を選択し−ない場合についての考慮はなされて
おらず、柔軟な対応ができないことから実用上問題を残
すものであった。
As a conventional error handling method of this kind, there is a
As described in Japanese Patent Publication No. 77779, this method classifies errors in one received data □ by error type and makes it difficult to select whether or not to perform processing corresponding to each type of error. However, this method does not take into consideration the case where processing for each type of error is not selected, and it is not possible to respond flexibly, which poses a practical problem.

〔発明の目的〕[Purpose of the invention]

本発明は、前記した従来技術における問題点に鑑みなさ
れたものであって、端末装置において受信データのエラ
ーに対する処理を任意に選択できるよう、柔軟な対応処
理が可能なエラー処理方式を提供することKある。
The present invention has been made in view of the problems in the prior art described above, and provides an error processing method that allows flexible response processing so that processing for errors in received data can be arbitrarily selected in a terminal device. There is K.

〔発明の概要〕[Summary of the invention]

本発明の特徴は、端末装置において受信したデータにエ
ラーが発生した場合に、そのエラーを種類毎に分類、記
憶しておく一方、エラー処理においては、エラーの種類
を判別し、そのエラーの種類に対応して予め任意に作成
しておいたエラー処理を実行するか、または全てのエラ
ーに対して共通的なエラー処理を実行するかをスイッチ
等の切換手段により自動的に選択可能とし、エラーに対
する処理を任意に選択できる、 ようkしたものである
A feature of the present invention is that when an error occurs in data received by a terminal device, the error is classified and stored by type, and in error processing, the type of error is determined and the type of error is It is possible to automatically select whether to execute error processing that has been arbitrarily created in advance in response to errors, or to execute common error processing for all errors, using a switching means such as a switch. It is designed so that the processing for each can be selected arbitrarily.

〔発明の実施例〕[Embodiments of the invention]

以下、添付図面に従って本発明の一実施例を詳述する。 Hereinafter, one embodiment of the present invention will be described in detail with reference to the accompanying drawings.

第1図は具体的なシステム構成図であって、1は中央制
御装置(以下CPUと称す)2は通信インターフェース
、3はエラー処理の部分を記憶するメモリ、4はスイッ
チインターフェースで、各種エラーに対応するスイッチ
5゜6.7が接続しである。8はその他の回路との接続
用インターフェースでアル。
Figure 1 is a concrete system configuration diagram, in which 1 is a central control unit (hereinafter referred to as CPU), 2 is a communication interface, 3 is a memory for storing error processing parts, and 4 is a switch interface, which handles various errors. The corresponding switch 5°6.7 is connected. 8 is an interface for connecting with other circuits.

次に1第2図の70−チャートと共に、第1図のシステ
ム動作を説明する。まず、CPU1は、通信インターフ
ェース2を介して外部より送信されてきたデータを受信
し、そのデータが正しいか否かをチェックする。CPU
1でのチェックで受信したデータに誤りが検出された場
合は、それを誤りの種類cビット誤りや誤数値の不一致
等)毎に分類し、第2図に示すように、どのエラーが発
生したかをメモリ3に記憶する。
Next, the operation of the system shown in FIG. 1 will be explained with reference to the chart 70 in FIG. First, the CPU 1 receives data transmitted from the outside via the communication interface 2, and checks whether the data is correct. CPU
If an error is detected in the received data during the check in step 1, it is classified by error type (c-bit error, mismatch of erroneous value, etc.), and as shown in Figure 2, it is determined which error occurred. is stored in memory 3.

すなわち、エラー処理では第2図のフローチャー)k示
すように、受信時のエラー内容を分類4記憶し、そのデ
ータを読出し、順番にどのエラーが発生したかをCPU
1でチェックする。どのエラーが発生したかが判断でき
たなら、CPU1はスイッチインターフェース4を通し
て該当エラーに対応する複数のスイッチ(5161’)
の状態を読み込み、そのスイッチの状tilKより、そ
のエラーに対して対応した特別な処理を行なうか、また
は、全てのエラーに対して共通な処理を行なうかを決定
し、そのエラー処理を決定する。
In other words, in error processing, as shown in the flowchart (k) in Figure 2, the contents of errors upon reception are stored in four categories, the data is read out, and the CPU sequentially records which error has occurred.
Check with 1. Once it has been determined which error has occurred, the CPU 1 sends multiple switches (5161') corresponding to the error through the switch interface 4.
Reads the state of the switch, determines whether to perform special processing corresponding to the error or common processing for all errors based on the state of the switch, and determines the error handling. .

共通な処理としては、 (1)  データの再送を要求する。The common process is (1) Request retransmission of data.

(2)  データを処理せず、受信データをすてる。(2) Discard the received data without processing it.

(3)  オペレータにエラーが発生した旨を通知し、
処理をどうするかをオペレータに判断させる。
(3) Notify the operator that an error has occurred,
Let the operator decide what to do.

等が考えられる。etc. are possible.

エラーの種類毎に対応した処理は、このよ5に、スイッ
チで実行するか否かを選択できるようにしたことにより
、エラー処理プ四グラムの本体は修正する必要がなくな
り、単に実際のエラー処理の部分を作成し、メモリ5I
IC書込むのみでよいので、簡単に追加、修正が行なえ
る。
By making it possible to select whether or not to execute the processing corresponding to each type of error using a switch, there is no need to modify the main body of the error processing program, and you can simply perform the actual error processing. Create the part of memory 5I
Since it is only necessary to write to the IC, additions and corrections can be easily made.

このため、同じ端末であっても、使用条件の違い、端末
の使用者の要求等によるエラー処理の追加、変更が極め
て簡単になり、11台毎に異なるエラー処理を行なうも
のも簡単に作成可能である。
Therefore, even if the terminal is the same, it is extremely easy to add or change error processing due to differences in usage conditions or requests from the terminal user, and it is also possible to easily create a system that performs different error processing for each of 11 devices. It is.

また、エラーの種類毎に対応する処理と、共通の処理の
どちらのエラー処理を行なうかの切換えが、エラーの種
類を自動判別したうえでスイッチ1つで変更できるため
、どちらの処理を行なう方が有効かを、カットアンドト
ライで決定することも可能で、また、端末の運用中に変
更することも可能となるので、非常に柔軟なシステムを
作ることが可能となる。
Additionally, you can switch between error processing for each error type and common processing with a single switch after automatically determining the error type. It is also possible to determine whether the system is effective through cut-and-try methods, and it is also possible to make changes while the terminal is in operation, making it possible to create a very flexible system.

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

上述の実施例からも明らかなように本発明によれば、端
末装置において受信したデータ忙エラーがあった場合、
そのエラー処理をエラーの種類に対応して行なうか共通
の処理を行なうかを任意に選択できるようKしたもので
あるから、受信データのエラーに対して柔軟な対応がで
き、端末機のハード構成も簡単かつ安価に実現可能とな
る等の利点がある。
As is clear from the above-described embodiments, according to the present invention, when there is a data busy error received at the terminal device,
Since the error processing can be arbitrarily selected as to whether to perform error processing according to the type of error or to perform common processing, it is possible to respond flexibly to errors in received data, and the hardware configuration of the terminal device can be handled flexibly. It also has the advantage of being easily and inexpensively realizable.

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

第1図は本発明のエラー処理方式を説明すぺ(具体的な
システム構成図、第2図はフローチャートである。 1・・・中央制御装置、 2・・・通信インターフェー
ス、3・・・メモリ、      4・・・スイッチイ
ンターフェース、5,6.7・・・スイッチ。 第1図
Figure 1 explains the error handling method of the present invention (specific system configuration diagram, Figure 2 is a flowchart. 1...Central control unit, 2...Communication interface, 3...Memory) , 4... Switch interface, 5, 6.7... Switch.

Claims (1)

【特許請求の範囲】[Claims] 端末装置で受信したデータにエラーが発生した場合、該
エラー内容に応じた処理方法を選択実行するデータエラ
ーの処理方法において、受信データが正しいか否かをチ
ェックしてエラーの種類を判別し、そのエラーデータを
予め設定された誤りの種類毎に分類し、どのエラーが発
生したかを記憶すると共に、該記憶データに基づき、エ
ラーの種類に対応した処理を行なうか、共通的な処理を
行なうかを自動的に選択実行することを特徴とするデー
タエラーの処理方法。
When an error occurs in the data received by the terminal device, the data error processing method selects and executes a processing method according to the content of the error, which checks whether the received data is correct and determines the type of error; The error data is classified according to preset error types, which error has occurred is stored, and based on the stored data, processing corresponding to the error type or common processing is performed. A data error handling method characterized by automatically selecting and executing a data error.
JP59272984A 1984-12-26 1984-12-26 Processing method of data error Pending JPS61151746A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59272984A JPS61151746A (en) 1984-12-26 1984-12-26 Processing method of data error

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59272984A JPS61151746A (en) 1984-12-26 1984-12-26 Processing method of data error

Publications (1)

Publication Number Publication Date
JPS61151746A true JPS61151746A (en) 1986-07-10

Family

ID=17521519

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59272984A Pending JPS61151746A (en) 1984-12-26 1984-12-26 Processing method of data error

Country Status (1)

Country Link
JP (1) JPS61151746A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012027727A (en) * 2010-07-23 2012-02-09 Fujitsu Ltd Storage device, storage system and control method
JP2014021275A (en) * 2012-07-18 2014-02-03 Yazaki Corp Display device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012027727A (en) * 2010-07-23 2012-02-09 Fujitsu Ltd Storage device, storage system and control method
JP2014021275A (en) * 2012-07-18 2014-02-03 Yazaki Corp Display device

Similar Documents

Publication Publication Date Title
JP2706602B2 (en) Interrupt retry reduction device
JPS61151746A (en) Processing method of data error
US4807178A (en) Programmable sequence controller having indirect and direct input/output apparatus
JP2710151B2 (en) How the automation device works
JP2723604B2 (en) Data processing device
JPS6227846A (en) Input and output channel
JP2961754B2 (en) Parallel processing unit of information processing device
JPH01169639A (en) Memory
JPH0630088B2 (en) TSS command processing method
JP3161174B2 (en) Key telephone equipment
JPH0417454B2 (en)
JPH1027153A (en) Bus transfer device
KR19980015549A (en) Communication device between multiple processors
JPH064472A (en) Input/output priority order control system
JPH06104951A (en) Communication controller
JPH01276241A (en) Multiple interrupting device
JPS60114050A (en) Monitor device of data reception
JPH01250122A (en) Deciding system for input data conditions
JPH03168860A (en) Buffer storage control device for parallel processor
JPH01291336A (en) Data error correcting system
JPS63197260A (en) Memory device control system
JPS63300346A (en) Dma control system
JPS62239225A (en) Disk controller recognizing system
JPS6288198A (en) Memory device
JPH01184569A (en) Data transmission equipment