JPH0427577B2 - - Google Patents

Info

Publication number
JPH0427577B2
JPH0427577B2 JP57169413A JP16941382A JPH0427577B2 JP H0427577 B2 JPH0427577 B2 JP H0427577B2 JP 57169413 A JP57169413 A JP 57169413A JP 16941382 A JP16941382 A JP 16941382A JP H0427577 B2 JPH0427577 B2 JP H0427577B2
Authority
JP
Japan
Prior art keywords
character
memory
character pattern
data
host computer
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.)
Expired - Lifetime
Application number
JP57169413A
Other languages
Japanese (ja)
Other versions
JPS5958557A (en
Inventor
Yoshinori Sugawara
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 JP57169413A priority Critical patent/JPS5958557A/en
Publication of JPS5958557A publication Critical patent/JPS5958557A/en
Publication of JPH0427577B2 publication Critical patent/JPH0427577B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1076Parity data used in redundant arrays of independent storages, e.g. in RAID systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Detection And Correction Of Errors (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、メモリ・データ領域をリードした
時、パリテイ・エラーを検出すると、ホスト側に
データの再送を要求し、ホスト側から送られてき
た新たな同一データをメモリ・データ領域に書込
むようにしたメモリ・データ・エラーの自動修正
方式に関するものである。
[Detailed Description of the Invention] [Technical Field of the Invention] In the present invention, when a parity error is detected when reading a memory data area, the host side is requested to resend the data, and the data sent from the host side is The present invention relates to an automatic correction method for memory data errors in which new identical data is written in a memory data area.

〔従来技術と問題点〕[Conventional technology and problems]

CS(制御記憶)やCG(キヤラクタ・ジエネレー
タ)をメモリに有するようなプリンタ装置におい
ては、プリンタ装置の電源が投入されると、ホス
トCPUによつてCSやCGに制御プログラムや文字
パターンがセツト・アツプされる。その後、ホス
トCPUからプリンタ装置に印字データが送られ
ると、その制御プログラムの制御下で印字データ
が処理され、CGから文字パターンが読出されて
印字出力される。しかし、このようなCSやCGを
リードした時にパリテイ・エラーのような障害が
発生すると、プリンタ装置は、正しい制御、印刷
が行われなくなる。従来は、パリテイ・エラーが
発生した場合、ハードウエアのECC(Error
Checking and Correction)機能により、データ
の修正、回復が試みられている。
In printers that have CS (control memory) and CG (character generator) in their memory, when the printer is powered on, the control program and character patterns are set in the CS and CG by the host CPU. It will be uploaded. Thereafter, when the print data is sent from the host CPU to the printer device, the print data is processed under the control of the control program, and character patterns are read out from the CG and printed out. However, if a failure such as a parity error occurs when reading such CS or CG, the printer device will not be able to perform correct control and printing. Conventionally, when a parity error occurs, the hardware ECC (Error
Checking and Correction) function attempts to correct and recover data.

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

本発明は、上記の考察に基づくものであつて、
メモリ・リード時にパリテイ・エラーが発生した
場合のデータの修正、回復を、特にECC機能の
ようなハードウエアを設けることなくメモリ・デ
ータのエラーを修正することができるマイクロ制
御によるメモリ・データ・エラーの自動修正方式
を提供することを目的とするものである。
The present invention is based on the above considerations, and includes:
Memory data errors using microcontrol that can correct and recover data when a parity error occurs during memory read, without requiring any hardware such as an ECC function. The purpose is to provide an automatic correction method for

〔発明の構成〕[Structure of the invention]

そのために本発明のメモリ・データ・エラーの
自動修正方式は、装置の立上げ時にホスト計算機
から送られて来る制御プログラムと文字パターン
をそれぞれ格納する制御記憶とキヤラクタ・ジエ
ネレータとを含むメモリと、ホスト計算機から送
られて来る文字コードを前記制御プログラムの制
御の下に各文字コード毎に前記キヤラクタ・ジエ
ネレータによつて文字パターンに展開してイメー
ジ・メモリに書込む制御部と、当該イメージ・メ
モリに格納された文字パターンを可視出力する出
力機構とを有する出力ステーシヨンにおいて、 前記ホスト計算機から再送されてきた文字を一
時的に格納するためのバツフア・メモリと、 ホスト計算機から送られてくる各文字コード毎
に対応する文字パターンをキヤラクタ・ジエネレ
ータから読出す際にパリテイ・エラーが検出され
た場合、当該パリテイ・エラーが検出された文字
パターン・データに対応する文字コードをホスト
計算機に送つて文字パターン・データの再送を要
求する手段と、 当該要求に基づきホスト計算機から再送されて
きた文字パターン・データを前記バツフア・メモ
リに格納する手段と を設けると共に、 前記制御部の制御により、前記パリテイ・エラ
ーが検出された文字パターンに代えて前記バツフ
ア・メモリに格納された文字パターン・データを
前記イメージ・メモリに格納し、文字パターンの
イメージ・メモリへの書込みが終了した後、前記
バツフア・メモリに格納された文字パターンを前
記キヤラクタ・ジエネレータに格納すること を特徴とするものである。
To this end, the automatic correction method for memory data errors of the present invention includes a memory including a control memory and a character generator that respectively store a control program and a character pattern sent from a host computer when the device is started up; a control unit for developing character codes sent from a computer into character patterns by the character generator for each character code under the control of the control program and writing them into an image memory; An output station that has an output mechanism that visually outputs stored character patterns, a buffer memory for temporarily storing characters retransmitted from the host computer, and each character code sent from the host computer. If a parity error is detected when reading the corresponding character pattern from the character generator, the character code corresponding to the character pattern data in which the parity error was detected is sent to the host computer and the character pattern means for requesting retransmission of data; and means for storing character pattern data retransmitted from the host computer based on the request in the buffer memory; The character pattern data stored in the buffer memory is stored in the image memory in place of the detected character pattern, and after the writing of the character pattern in the image memory is completed, the character pattern data is stored in the buffer memory. The invention is characterized in that a character pattern created by the character generator is stored in the character generator.

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

以下、本発明の実施例を図面を参照しつつ説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の1実施例を示すブロツク図で
ある。第1図において、1はホストCPU、2は
ドキユメント・プリンタ・ステーシヨン、3はフ
アイル、4はWSC(Work Station Channel)、
5はシリアル・インターフエイス・コントロー
ラ、6はバツフア、7はメモリ、8はイメージ・
メモリ、9はプロセツサ、10はプリンタ・コン
トローラを示す。
FIG. 1 is a block diagram showing one embodiment of the present invention. In Figure 1, 1 is the host CPU, 2 is the document printer station, 3 is the file, 4 is the WSC (Work Station Channel),
5 is a serial interface controller, 6 is a buffer, 7 is a memory, and 8 is an image controller.
A memory, 9 a processor, and 10 a printer controller.

第1図において、ホストCPU1とドキユメン
ト・プリンタ・ステーシヨン2とは、夫々の
WSC4とシリアル・インターフエイス・コント
ローラ5との間をシリアル・インターフエイスに
よつて接続されている。ドキユメント・プリン
タ・ステーシヨン2には、バツフア6、メモリ
7、イメージ・メモリ8、プリンタ・コントロー
ラ10、及びこれらを制御するプロセツサ9を備
えている。メモリ7には、CS(制御記憶)やCG
(キヤラクタ・ジエネレータ)が含まれ、ドキユ
メント・プリンタ・ステーシヨンの制御プログラ
ムやイメージ・メモリ8に展開される各種文字パ
ターンが格納されている。これらのCSやCGの内
容は、ドキユメント・プリンタ装置の電源が投入
されたとき、ホストCPU1によつてセツト・ア
ツプされる。その後、各文字のデータをある用紙
にプリントするため、ホストCPU1から印字デ
ータが送られてくると、ドキユメント・プリン
タ・ステーシヨン2では、印字データはシリア
ル・インターフエイス・コントローラ5を通して
バツフア6にストアされる。そして、バツフア6
にストアされた印字データの文字コード(例えば
JISコード)に従つてメモリ7のCGがアクセスさ
れ、文字コードに対応するドツト・イメージの文
字パターンがイメージ・メモリ8に展開される。
プリンタ・コントローラ10は、このイメージ・
メモリ8に展開された文字パターンに従つて印字
機構を制御するものである。
In Figure 1, host CPU 1 and document printer station 2 are
The WSC 4 and the serial interface controller 5 are connected by a serial interface. The document printer station 2 includes a buffer 6, a memory 7, an image memory 8, a printer controller 10, and a processor 9 for controlling these. Memory 7 contains CS (control memory) and CG.
(Character Generator), which stores control programs for the document printer station and various character patterns developed in the image memory 8. The contents of these CS and CG are set up by the host CPU 1 when the document printer device is powered on. After that, in order to print the data of each character on a certain paper, when the print data is sent from the host CPU 1, the print data is stored in the buffer 6 through the serial interface controller 5 in the document printer station 2. Ru. And Batsuhua 6
The character code of the print data stored in (for example
The CG in the memory 7 is accessed according to the JIS code), and a character pattern of dot images corresponding to the character code is developed in the image memory 8.
The printer controller 10 uses this image
The printing mechanism is controlled according to the character pattern developed in the memory 8.

本発明は、制御プログラムの制御下でプロセツ
サ9によつてホストCPU1から送られてきた印
字データの処理を行う際、メモリ7からリードし
たデータにパリテイ・エラーが検出された場合に
データを修正し、データを保証するものである。
CSやCGは、電源投入時にセツト・アツプされる
際には、パリテイがジエネレートされ、リードさ
れる際には、パリテイ・チエツクが行われてい
て、これらはハードにより実現されている。リー
ドしたデータにパリテイ・エラーが検出されると
プロセツサ9に割込みを起す。プロセツサ9で
は、プログラムの処理状況からメモリ7のCS、
CGのどちらをアクセスしているか、CGであれば
どのJISコードでパリテイ・エラーが起きたのか
を認識し、そのパリテイ・エラーが起きたデータ
についてホストCPUに対して再送を要求する。
ホストCPU1では、WSC4がドキユメント・プ
リンタ・ステーシヨン2からのデータの再送要求
を受付け、ホストCPU1のOS(オペレーシヨ
ン・システム)とは無関係に、WSC4のフアー
ムウエアによつて再送処理が行われる。ドキユメ
ント・プリンタ・ステーシヨン2では、ホスト
CPU1から送られてきた新たなデータを基に印
字データの処理が行われ、その後メモリ7にその
新たなデータが書込まれる。
The present invention corrects the data when a parity error is detected in the data read from the memory 7 when the processor 9 processes the print data sent from the host CPU 1 under the control of the control program. , which guarantees the data.
When CS and CG are set up at power-on, parity is generated, and when read, a parity check is performed, and these are implemented by hardware. When a parity error is detected in the read data, an interrupt is generated in the processor 9. The processor 9 uses the CS of the memory 7 based on the processing status of the program.
It recognizes which part of the CG is being accessed, and if it is a CG, which JIS code the parity error occurred in, and requests the host CPU to retransmit the data in which the parity error occurred.
In the host CPU 1, the WSC 4 accepts a data retransmission request from the document printer station 2, and the retransmission process is performed by the firmware of the WSC 4, regardless of the OS (operation system) of the host CPU 1. At Document Printer Station 2, the host
Print data is processed based on new data sent from the CPU 1, and then the new data is written into the memory 7.

パリテイ・エラーが発生した場合の具体的な処
理の流れを第1図に示すないしを参照しつつ
説明する。これらの処理の流れは制御プログラム
(マイクロプログラム)をプロセツサが実行する
ことにより実現される。
The specific flow of processing when a parity error occurs will be explained with reference to the diagrams shown in FIG. These processing flows are realized by a processor executing a control program (microprogram).

プロセツサ9から(A)データのリード指令がメ
モリ7に対して発行される。
A (A) data read command is issued from the processor 9 to the memory 7.

(A)データについてパリテイ・エラーが検出さ
れる。
(A) A parity error is detected in the data.

、 プロセツサ9からシリアル・インターフ
エイス・コントローラ5を通してホストCPU
1にデータ要求される。データ要求は、例えば
CGの場合にはJISコードでされ、CSの場合に
はホストCPU1のフアイル3に登録されてい
るシリンダ・アドレスでされる。
, from the processor 9 to the host CPU through the serial interface controller 5.
Data is requested for 1. The data request can be e.g.
In the case of CG, it is determined by JIS code, and in the case of CS, it is determined by the cylinder address registered in file 3 of host CPU1.

、 ホストCPU1は、(A)データの牽引が行
われる。この処理はWSC4のフアームウエア
で行われる。
, The host CPU 1 performs (A) data extraction. This process is performed by the WSC4 firmware.

ホストCPU1のWSC4から(A)データが送出
される。
(A) Data is sent from WSC4 of host CPU1.

シリアル・インターフエイスを経由して送ら
れてきた(A)データは、シリアル・インターフエ
イス・コントローラ5を通してバツフア6に格
納される。
The (A) data sent via the serial interface is stored in the buffer 6 via the serial interface controller 5.

プロセツサ9はバツフア・メモリ6に格納さ
れた文字パターンを含めイメージ・メモリ8に
印字データのイメージ展開が行われた後、に
おいてバツフア6に格納されていた新たな(A)デ
ータがメモリ7に書込まれる。これによつて、
パリテイ・エラーの検出(A)データについては、
新たな同一データによつてメモリ7の内容が書
替えられたことになる。
After the print data including the character pattern stored in the buffer memory 6 is expanded into the image memory 8, the processor 9 writes the new (A) data stored in the buffer 6 to the memory 7. be included. By this,
For parity error detection (A) data,
This means that the contents of the memory 7 have been rewritten with new, identical data.

なお、メモリ・データ・エラーは、マイクロ制
御においてロギングされることによつて、エラー
の発生状況を知ることができる。
Note that by logging memory data errors in the microcontroller, it is possible to know the error occurrence status.

〔発明効果〕[Invention effect]

以上の説明から明らかなように、本発明によれ
ば、文字パターンにパリテイ・エラーが検出され
た場合、同一文字種の文字パターンの再送をホス
トCPUに要求してデータの修正を起うので、デ
ータ修正のためのECC回路等のハードウエアを
省略することが出来、装置を簡素化できる。ま
た、本発明では、パリテイ・エラーの発生した文
字パターンのみを再送要求し、対応する文字パタ
ーンのみが再送されるので、転送時間も短くする
ことが出来、他の処理に与える影響を小さくする
ことができる。
As is clear from the above description, according to the present invention, when a parity error is detected in a character pattern, the host CPU is requested to resend the character pattern of the same character type and the data is corrected. Hardware such as an ECC circuit for correction can be omitted, and the device can be simplified. Furthermore, in the present invention, only the character pattern in which a parity error has occurred is requested to be retransmitted, and only the corresponding character pattern is retransmitted, so the transfer time can be shortened and the influence on other processes can be reduced. I can do it.

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

第1図は本発明の1実施例を示すブロツク図で
ある。 1……ホストCPU、2……ドキユメント・プ
リンタ・ステーシヨン、3……フアイル、4……
WSC(Work Station Channel)、5……シリア
ル・インターフエイス・コントローラ、6……バ
ツフア、7……メモリ、8……イメージ・メモ
リ、9……プロセツサ、10……プリンタ・コン
トローラ。
FIG. 1 is a block diagram showing one embodiment of the present invention. 1...Host CPU, 2...Document printer station, 3...File, 4...
WSC (Work Station Channel), 5... serial interface controller, 6... buffer, 7... memory, 8... image memory, 9... processor, 10... printer controller.

Claims (1)

【特許請求の範囲】 1 装置の立上げ時にホスト計算機から送られて
来る制御プログラムと文字パターンをそれぞれ格
納する制御記憶とキヤラクタ・ジエネレータとを
含むメモリと、ホスト計算機から送られて来る文
字コードを前記制御プログラムの制御の下に各文
字コード毎に前記キヤラクタ・ジエネレータによ
つて文字パターンに展開してイメージ・メモリに
書込む制御部と、当該イメージ・メモリに格納さ
れた文字パターンを可視出力する出力機構とを有
する出力ステーシヨンにおいて、 前記ホスト計算機から再送されてきた文字パタ
ーンを一時的に格納するためのバツフア・メモリ
と、 ホスト計算機から送られてくる各文字コード毎
に対応する文字パターンをキヤラクタ・ジエネレ
ータから読出す際にパリテイ・エラーが検出され
た場合、当該パリテイ・エラーが検出された文字
パターン・データに対応する文字コードをホスト
計算機に送つて文字パターン・データの再送を要
求する手段と、 当該要求に基づきホスト計算機から再送されて
きた文字パターン・データを前記バツフア・メモ
リに格納する手段と を設けると共に、 前記制御部の制御により、前記パリテイ・エラ
ーが検出された文字パターンに代えて前記バツフ
ア・メモリに格納された文字パターン・データを
前記イメージ・メモリに格納し、文字パターンの
イメージ・メモリへの書込みが終了した後、前記
バツフア・メモリに格納された文字パターンを前
記キヤラクタ・ジエネレータに格納すること を特徴とするメモリ・データ・エラーの自動修正
方式。
[Claims] 1. A memory including a control memory and a character generator that respectively store a control program and a character pattern sent from a host computer at the time of startup of the device, and a character generator that stores a control program and a character pattern sent from the host computer. a control unit that expands each character code into a character pattern by the character generator and writes it into an image memory under the control of the control program; and a control unit that visually outputs the character pattern stored in the image memory. An output station having an output mechanism includes a buffer memory for temporarily storing character patterns retransmitted from the host computer, and a character pattern corresponding to each character code sent from the host computer.・If a parity error is detected when reading from the generator, means for sending a character code corresponding to the character pattern data in which the parity error has been detected to the host computer to request retransmission of the character pattern data; , means for storing the character pattern data retransmitted from the host computer based on the request in the buffer memory, and under the control of the control unit, the character pattern data in place of the character pattern in which the parity error was detected is provided. The character pattern data stored in the buffer memory is stored in the image memory, and after writing of the character pattern to the image memory is completed, the character pattern data stored in the buffer memory is transferred to the character generator. An automatic correction method for memory data errors characterized by storing data in the memory.
JP57169413A 1982-09-28 1982-09-28 Automatic correction system of memory data error by microcontrol Granted JPS5958557A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57169413A JPS5958557A (en) 1982-09-28 1982-09-28 Automatic correction system of memory data error by microcontrol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57169413A JPS5958557A (en) 1982-09-28 1982-09-28 Automatic correction system of memory data error by microcontrol

Publications (2)

Publication Number Publication Date
JPS5958557A JPS5958557A (en) 1984-04-04
JPH0427577B2 true JPH0427577B2 (en) 1992-05-12

Family

ID=15886133

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57169413A Granted JPS5958557A (en) 1982-09-28 1982-09-28 Automatic correction system of memory data error by microcontrol

Country Status (1)

Country Link
JP (1) JPS5958557A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51127637A (en) * 1975-04-30 1976-11-06 Hitachi Ltd Information processing device under micro program control system
JPS53121440A (en) * 1977-03-31 1978-10-23 Toshiba Corp Instruction retrial system
JPS5764399A (en) * 1980-10-03 1982-04-19 Fujitsu Ltd Data processing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51127637A (en) * 1975-04-30 1976-11-06 Hitachi Ltd Information processing device under micro program control system
JPS53121440A (en) * 1977-03-31 1978-10-23 Toshiba Corp Instruction retrial system
JPS5764399A (en) * 1980-10-03 1982-04-19 Fujitsu Ltd Data processing device

Also Published As

Publication number Publication date
JPS5958557A (en) 1984-04-04

Similar Documents

Publication Publication Date Title
JPS60116464A (en) Printer
JP5939896B2 (en) Image forming apparatus
JPH0427577B2 (en)
JPH0635634A (en) Printer
JPS6243876B2 (en)
JP2017091323A (en) Communication device and image formation device
JP4589768B2 (en) Information processing device
JPH10329392A (en) System and method for processing information
JPS61121128A (en) Print control system
US11645026B2 (en) Image processing apparatus that generates a job log after recovery from power-off that prevents successful ending of a job, method, and non-transitory computer-readable storage medium for storing program
JP4591087B2 (en) Printing apparatus, printing support apparatus, printing method, and printing support method
JPH02289374A (en) Printer
JP4164473B2 (en) Functional memory access control system, functional memory device, control method therefor, and program
KR100294216B1 (en) How to Repair Errors in the Printer Driver
JPH0211357A (en) Printing apparatus
JP2010182001A (en) Image forming apparatus
JP2002091740A (en) Re-printing method for printer
JPH0336071A (en) Erroneous printing detection apparatus
JP2003334996A (en) Printer
JP2843809B2 (en) Printing control device
JP2004237667A (en) Data transfer method
JPH11306006A (en) Peripheral device and storage medium
JPS58188398A (en) Memory error detection and correction device
JP2730752B2 (en) Print control method and apparatus
JPH0378652B2 (en)