JPS59123918A - Buffer memory controlling system - Google Patents

Buffer memory controlling system

Info

Publication number
JPS59123918A
JPS59123918A JP57230040A JP23004082A JPS59123918A JP S59123918 A JPS59123918 A JP S59123918A JP 57230040 A JP57230040 A JP 57230040A JP 23004082 A JP23004082 A JP 23004082A JP S59123918 A JPS59123918 A JP S59123918A
Authority
JP
Japan
Prior art keywords
circuit
buffer memory
error correction
control information
controlling information
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
JP57230040A
Other languages
Japanese (ja)
Inventor
Shuichi Kuniyoshi
秀一 国吉
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP57230040A priority Critical patent/JPS59123918A/en
Publication of JPS59123918A publication Critical patent/JPS59123918A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units

Abstract

PURPOSE:To protect controlling information and increase reliability of data by providing error correction code only for controlling information written from an MPU and higher in importance than transferred data out of information stored in a buffer memory. CONSTITUTION:Controlling information from the MPU1 goes into an error correction circuit 32 and a selector circuit 31. This circuit 31 detects that the input is controlling information and selects the circuit 32 automatically, and adds controlling information to the first one bit and adds error correction code ECC to succeeding one bit and writes in the buffer memory 3. Transferred data from the corresponding section 4 of circuit are directly stored in the memory 3 without addition of ECC by the circuit 32 even if they are inputted to the circuits 31 and 32. Reverse operation is performed when controlling information and transferred data are read from the memory 3. To add ECC to transferred data, the circuit 31 is made always on, and when ECC is not added, the circuit 31 is made always off.

Description

【発明の詳細な説明】 (1)発明の技術分野 本発明はバッファメモリ制御方式、特に制御情報と転送
データが混在するデータの保護を行うバ。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention relates to a buffer memory control system, particularly a buffer memory that protects data in which control information and transfer data are mixed.

ファメモリ制御方式に関する。This paper relates to a file memory control method.

(2)従来技術と問題点 一般にデータ転□送装置は、第1図に示すように、電話
機に41・・・4n接続した回線対応部4からバスBを
介してデータをバッファメモリ3へ一旦格納しかつその
データにMPU(マイクロブロセ。
(2) Prior Art and Problems In general, a data transfer device, as shown in FIG. The data is stored in an MPU (microprocessor).

す)1から制御情報を付加する。バッファメモリ6がデ
ータで一杯になるとファイルメモリ対応部5へ制御情報
が付加されたデータを転送しファイルメモリ51・・・
5nへ収納する。逆にファイルメモリ51・・・5nか
ら外部へデータ送信する場合は、−、flバッファメモ
リ3ヘデータを格納しその制御情報に従って回線対応部
4ヘデータを転送しその後データは電話機41・・・4
nへ送信される。
) Add control information from 1. When the buffer memory 6 becomes full of data, the data with control information added is transferred to the file memory corresponding section 5, and the file memory 51...
Store it in 5n. Conversely, when transmitting data from the file memories 51...5n to the outside, the data is stored in the fl buffer memory 3 and transferred to the line corresponding section 4 according to the control information, and then the data is sent to the telephones 41...4.
sent to n.

ところが制御情報はデータの順序等を決定ずける重要な
ものであり、データと比較して少しの誤りも許されない
。従来、制御情報が誤りか否かを検出するためのバッフ
ァメモリ制御方式としてはバッファメモリ全体に誤り訂
正を行う方式があるが、この方式では実効メモリ容量の
低下、サイクルタイムの低下という問題点がある。また
バッファメモリの決まった一部分のみに誤り訂正を行う
方式があるが、この方式では予め決められた一部分以外
誤り訂正ができず、更にパリティビット付加方式では信
頼性に欠けるというそれぞれ特有の問題点があった。
However, the control information is important because it determines the order of data, etc., and even the slightest error is unacceptable compared to the data. Conventionally, as a buffer memory control method for detecting whether or not control information is erroneous, there is a method in which error correction is performed on the entire buffer memory, but this method has problems such as a decrease in effective memory capacity and a decrease in cycle time. be. There is also a method that corrects errors only in a predetermined part of the buffer memory, but this method cannot correct errors except in a predetermined part, and the parity bit addition method has its own problems such as lack of reliability. there were.

(3)発明の目的 本発明の目的は、バッファメモリに格納された情報のう
ちでMPUから書き込まれるかつ転送データより重要度
の高い制御情報のみに誤り訂正コードを設けることによ
り、制御情報を保護しデータの信頼性を向上させること
にある。
(3) Purpose of the Invention The purpose of the present invention is to protect control information by providing an error correction code only to the control information written from the MPU and having higher importance than the transfer data among the information stored in the buffer memory. The objective is to improve the reliability of the data.

(4)発明の構成 本発明によれば、マイクロプロセッサが読み書きする制
御情報と、回線対応部を介して入出力される転送データ
とを混在して格納するバッファメモリを制御する方式に
おいて、 上記制御情報及び転送データを伝送するバスとバッファ
メモリ間に誤り訂正回路と選択回路を設け、選択回路に
より制御情報かどうかの判断を行い、誤り訂正回路によ
り制御情報のみに誤り訂正コードを付加し、また逆に制
御情報の続み出し時のみに誤り訂正を行うようにしたこ
とを特徴とするバッファメモリ制御方式が提供される。
(4) Structure of the Invention According to the present invention, in a method for controlling a buffer memory that stores a mixture of control information read/written by a microprocessor and transfer data input/output via a line corresponding section, the above-mentioned control An error correction circuit and a selection circuit are provided between the bus that transmits information and transfer data and the buffer memory, the selection circuit judges whether it is control information, the error correction circuit adds an error correction code only to the control information, and Conversely, a buffer memory control method is provided in which error correction is performed only when control information continues.

(5)発明の実施例 以下、本発明を実施例により添付図面を参照して説明す
る。
(5) Embodiments of the Invention The present invention will now be described by way of embodiments with reference to the accompanying drawings.

第2図は本発明に係るバッファメモリ制御方式の構成図
である。
FIG. 2 is a block diagram of a buffer memory control system according to the present invention.

従来と異なるのはバスBとバッファメモリ6間に誤り訂
正回路32と選択回路61が接続されている点である。
The difference from the conventional method is that an error correction circuit 32 and a selection circuit 61 are connected between the bus B and the buffer memory 6.

誤り訂正回路62はMPU1から送信されて来た制御情
報に誤り訂正コード(Error Oorreotin
gOode ; Rtoo )を付加する働らきと逆に
MPU1へ制御情報を誤り訂正する働らきを有する。選
択回路31はMPUjからの情報即ち制御情報が、回線
対応部4からの情報、即ち転送データかを判断し、制御
情報であればEOOを付加するように切り替え、転送デ
ータであればmoaを付加しないように切り替える鋤き
と、逆にMPUからのアクセスであれば、練り訂正を行
い、そうでなければ、誤り訂正を行わないように切りか
える働きを有する。
The error correction circuit 62 adds an error correction code to the control information transmitted from the MPU 1.
gOode; Rtoo), and conversely, it has the function of correcting errors in control information to the MPU1. The selection circuit 31 determines whether the information from the MPUj, that is, the control information, is the information from the line correspondence section 4, that is, transfer data, and switches to add EOO if it is control information, and adds moa if it is transfer data. If access is from the MPU, the error correction is performed, and if not, the error correction is not performed.

先ずMPU1からの制御情報は誤り訂正回路32と選択
回路31に入る。選択回路61はその入力が制御情報で
あることを検知して、誤り訂正回路32を自動的に選択
して初めの1バイトには制御情報それに続く次の1バイ
トにはWooを付加し、かつバッファメモリ6に書き込
む。
First, control information from the MPU 1 enters the error correction circuit 32 and the selection circuit 31. The selection circuit 61 detects that the input is control information, automatically selects the error correction circuit 32, adds control information to the first byte, adds Woo to the next byte, and Write to buffer memory 6.

また回線対応部4からの転送データは上記誤り訂正回路
31と選択回路62に入力されても選択回w132によ
りBooを付加しないように切り替わり直接にバッファ
メモリ3へ格納される。
Further, even if the transfer data from the line correspondence section 4 is input to the error correction circuit 31 and the selection circuit 62, the selection circuit w132 switches the data so as not to add Boo and stores it directly in the buffer memory 3.

またバッファメモリ6から制御情報と転送データを読み
出すときは、上記と逆の動作が行われる。
Further, when reading control information and transfer data from the buffer memory 6, the operation opposite to the above is performed.

更に転送データも重要であってKO,Gを付加したいと
きは選択回路31を常時オンとし、反対に選択回路31
を常時オフにすればすべての情報にmooを付加しない
ことも可能である。
Furthermore, if the transfer data is important and you want to add KO and G, the selection circuit 31 is always on;
It is also possible to not add moo to all information by turning it off all the time.

(6)発明の効果 上記の通り本発明によれば、MPUからの制御情報のみ
にEOOを付加し他のデータにはlco。
(6) Effects of the Invention As described above, according to the present invention, EOO is added only to control information from the MPU, and lco is added to other data.

を付加しないことができるので、制御情報が保護されデ
ータの信頼性が向上する。
Since the control information is not added, the control information is protected and the reliability of the data is improved.

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

第1図は従来のバッファメモリ制御方式の構成図、第2
図は本発明に係るバッファメモリ制御方式の構成図であ
る。 1…MPU、2…メモリ、3−・・バッファメモリ4・
・・回線対応部、5・・・ファイルメモリ対応部、61
・・・選択回路、32・・・誤り訂正回路。
Figure 1 is a configuration diagram of a conventional buffer memory control method, Figure 2
The figure is a configuration diagram of a buffer memory control method according to the present invention. 1...MPU, 2...Memory, 3-...Buffer memory 4-
...Line correspondence section, 5...File memory correspondence section, 61
. . . selection circuit, 32 . . . error correction circuit.

Claims (1)

【特許請求の範囲】[Claims] マイクロプロセッサが読み省きする制御情報と、回線対
応部を介して入出力される転送データとを混在して格納
するバッファメモリを制御する方式上記制御情報及び転
送データが伝送するバスとバッファメモリ間に誤り訂正
回路と選択回路を設け、データのバッファメモリへの書
き込み時選択回路により制御情報かどうかの判断を行い
、誤り訂正回路により制御情報のみに誤り訂正コードを
付加しまた逆にデータのバッファメモリへの読み出し出
制御情報の読み出しのみに誤り訂正を行うようにしたこ
とを特徴とするバッファメモリ制御方式。
A method for controlling a buffer memory that stores a mixture of control information that is omitted by the microprocessor and transfer data that is input/output via the line support section. An error correction circuit and a selection circuit are provided, and when writing data to the buffer memory, the selection circuit judges whether it is control information or not.The error correction circuit adds an error correction code only to the control information, and vice versa. 1. A buffer memory control method characterized in that error correction is performed only when reading control information is read to a buffer memory.
JP57230040A 1982-12-29 1982-12-29 Buffer memory controlling system Pending JPS59123918A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57230040A JPS59123918A (en) 1982-12-29 1982-12-29 Buffer memory controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57230040A JPS59123918A (en) 1982-12-29 1982-12-29 Buffer memory controlling system

Publications (1)

Publication Number Publication Date
JPS59123918A true JPS59123918A (en) 1984-07-17

Family

ID=16901619

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57230040A Pending JPS59123918A (en) 1982-12-29 1982-12-29 Buffer memory controlling system

Country Status (1)

Country Link
JP (1) JPS59123918A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05100879A (en) * 1991-05-15 1993-04-23 Internatl Business Mach Corp <Ibm> Device and method for maintaining integrity of control information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05100879A (en) * 1991-05-15 1993-04-23 Internatl Business Mach Corp <Ibm> Device and method for maintaining integrity of control information

Similar Documents

Publication Publication Date Title
US5412612A (en) Semiconductor storage apparatus
GB1588396A (en) Data processing apparatus
JPH10207726A (en) Semiconductor disk device
US4598402A (en) System for treatment of single bit error in buffer storage unit
JPS59123918A (en) Buffer memory controlling system
JPS6129024B2 (en)
JPH04162300A (en) Semiconductor memory
JPH04115340A (en) Duplex storage circuit
JPS6349809B2 (en)
JPS58169398A (en) Memory system
JPH02202655A (en) Storage device
JPS6161273A (en) Control system of memory device
JPS58199498A (en) Memory system
JPS61182151A (en) Semiconductor memory
JPH0520215A (en) Information processor
JPS6226492B2 (en)
JPS6125259A (en) Rewriting control system of memory
JPH04128949A (en) Data storage method for semiconductor memory
JPH0273442A (en) Data processor
JPS61110247A (en) Storage device
JPS6235703B2 (en)
JPS60258663A (en) Memory error processing circuit
JPH02302855A (en) Memory control system
JPH0638239B2 (en) Error correction mechanism
JPS6128145B2 (en)