Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5854415B2 - Information processing method - Google Patents
[go: Go Back, main page]

JPS5854415B2 - Information processing method - Google Patents

Information processing method

Info

Publication number
JPS5854415B2
JPS5854415B2 JP175076A JP175076A JPS5854415B2 JP S5854415 B2 JPS5854415 B2 JP S5854415B2 JP 175076 A JP175076 A JP 175076A JP 175076 A JP175076 A JP 175076A JP S5854415 B2 JPS5854415 B2 JP S5854415B2
Authority
JP
Japan
Prior art keywords
information
signal
section
control signal
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.)
Expired
Application number
JP175076A
Other languages
Japanese (ja)
Other versions
JPS5285434A (en
Inventor
恒雄 根岸
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.)
KASHIO KEISANKI KK
Original Assignee
KASHIO KEISANKI 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 KASHIO KEISANKI KK filed Critical KASHIO KEISANKI KK
Priority to JP175076A priority Critical patent/JPS5854415B2/en
Publication of JPS5285434A publication Critical patent/JPS5285434A/en
Publication of JPS5854415B2 publication Critical patent/JPS5854415B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)

Description

【発明の詳細な説明】 この発明はバッファ記憶装置の利用効率を高めるための
情報処理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an information processing method for increasing the utilization efficiency of a buffer storage device.

高速で動作する中央処理装置と低速で動作する周辺装置
との間にバッファ記憶装置を設け、両装置の動作効率を
高めることが実用化されている。
It has been put into practical use to provide a buffer storage device between a central processing unit that operates at high speed and a peripheral device that operates at low speed to increase the operating efficiency of both devices.

周辺装置として例えば印字装置を用いた場合、印字すべ
き印字情報をバッファ記憶装置に一時的に記憶させるこ
とにより、中央処理装置は印字装置に於ける印字速度に
係わりなく印字情報を得るための情報処理を高速で順次
遂行することができる。
For example, when a printing device is used as a peripheral device, by temporarily storing the printing information to be printed in a buffer storage device, the central processing unit can use the information to obtain the printing information regardless of the printing speed of the printing device. Processing can be performed sequentially at high speed.

しかし近年、利用者の自由度を向上させるため印字装置
の動作を制御する制御信号の種類が極度に増加する傾向
にあり、従って1キヤラクタの印字情報を構成するビッ
ト数と同一のビット数では全ての制御信号を構成するこ
とが困難になっている。
However, in recent years, the number of types of control signals that control the operation of printing devices has tended to increase dramatically in order to improve the degree of freedom for users. It has become difficult to construct control signals for

こうしたことから従来にあっては、■キャラクタの印字
情報を構成するビット数と同一のビット数で表現し得な
い種類の制御信号(以下これを特定制御信号とよぶ)は
、バッファ記憶装置を介さず直接印字装置に供給し、バ
ッファ記憶装置から得られる制御信号と全く別系統のコ
ード体系を形成するか、或いは、バッファ記憶装置に記
憶させる情報を可変長構成とし、印字情報と全ての制御
信号をバッファ記憶装置に記憶させる等の方法がとられ
ている。
For this reason, conventionally, control signals of a type that cannot be expressed with the same number of bits as the number of bits that constitute the print information of a character (hereinafter referred to as specific control signals) are transmitted via a buffer storage device. Either the code system is directly supplied to the printing device and the control signals obtained from the buffer storage device are completely different from the code system, or the information stored in the buffer storage device has a variable length structure, and the print information and all control signals are Methods such as storing the information in a buffer storage device have been adopted.

ところが前者の方法にあっては、特定制御信号が存在し
ない期間ではバッファ記憶装置はその機能を充分発揮す
るが、特定制御信号が印字情報の間に介在される場合、
印字装置がその特定制御信号を受理しない間は、この特
定制御信号の制御を受ける印字情報をバッファ記憶装置
に入力させることができず、印字装置が特定制御信号を
受理した後、この制御を受ける印字情報をバッファ記憶
装置に入力させる等、バッファ記憶装置は特定制御信号
の規制をうけて、その機能を充分に発揮することができ
ない。
However, in the former method, the buffer storage device fully performs its function during the period when no specific control signal exists, but when the specific control signal is interposed between print information,
While the printing device does not receive the specific control signal, printing information that is controlled by this specific control signal cannot be input to the buffer storage device, and after the printing device receives the specific control signal, it cannot receive the printing information that is controlled by this specific control signal. Buffer storage devices are restricted by specific control signals, such as inputting print information into the buffer storage device, and cannot fully perform their functions.

又バッファ記憶装置の記憶情報を可変長構成とした場合
は、各記憶情報毎に冗長コード、例えば区切りコードを
介在させる必要があるので、バッファ記憶装置の使用効
率が低下すると共に、バツファ記憶装置の制御回路も複
雑となる。
Furthermore, when the storage information in the buffer storage device has a variable length configuration, it is necessary to insert a redundant code, such as a delimiter code, for each piece of storage information, which reduces the usage efficiency of the buffer storage device and reduces the capacity of the buffer storage device. The control circuit also becomes complicated.

この発明はこのような点に鑑みて成されたもので、周辺
装置の制御信号の種類が増大しても、特別な冗長符号を
付加することなく印字情報及び全ての制御信号を、バッ
ファ記憶装置に記憶させて、バッファ記憶装置の利用効
率を高め得るようにした情報処理方式を提供するもので
ある。
The present invention has been made in view of these points, and even if the types of control signals for peripheral devices increase, print information and all control signals can be stored in a buffer storage device without adding special redundant codes. The present invention provides an information processing method that can increase the utilization efficiency of a buffer storage device by storing data in a buffer storage device.

以下図面を参照してこの発明の一実施例について説明す
る。
An embodiment of the present invention will be described below with reference to the drawings.

1はプログラム部で、このプログラム部1は各種の情報
処理に必要なプログラムを格納し、更にこのプログラム
により生ずるプログラム信号を順次演算部2に供給する
Reference numeral 1 denotes a program section. This program section 1 stores programs necessary for various information processing, and further supplies program signals generated by the programs to the calculation section 2 in sequence.

プログラム部1はプログラムを記憶する記憶装置、この
記憶装置に情報の入出力を行うための制御装置、プログ
ラムを1ステツプ毎に順次読み出すと共に必要に応じて
ステップのジャンプ動作を行うためのプログラム制御装
置等を含んでいる。
The program section 1 includes a storage device for storing programs, a control device for inputting and outputting information to and from the storage device, and a program control device for sequentially reading out the program step by step and performing step jump operations as necessary. etc.

演算部2はプログラム部1から供給されるプログラム信
号により各種の情報処理動作を行うものであり、各種の
演算レジスタとその制御回路、四則演算及び論理演算を
行う演算回路、各種の判定を行う判定回路等によって構
成される。
The arithmetic unit 2 performs various information processing operations based on program signals supplied from the program unit 1, and includes various arithmetic registers and their control circuits, an arithmetic circuit that performs four arithmetic operations and logical operations, and a judgment unit that performs various judgments. It is composed of circuits, etc.

この演算部2はその情報処理動作によって生ずる制御信
号をプログラム部1に供給すると共に、情報処理動作の
結果のうち、印字すべき情報信号を出力バッファ部3に
供給する。
The arithmetic unit 2 supplies control signals generated by the information processing operation to the program unit 1, and also supplies information signals to be printed out of the results of the information processing operation to the output buffer unit 3.

尚、プログラム部1及び演算部2に於いて、プログラム
命令、制御信号、演算処理の対象とされる情報等は全て
その1桁を7ビツト構成とする。
In the program section 1 and the arithmetic section 2, program commands, control signals, information to be subjected to arithmetic processing, etc. all have a 7-bit structure.

そして演算部2から出力バッファ部3に供給される印字
すべき情報信号は1桁を8ビツト構威とし、第1ビツト
から第7ビツトに演算部2の処理結果が、第8ビツトに
0 ” (2進数)が書き込まれたビット構成をとる。
The information signal to be printed, which is supplied from the calculation section 2 to the output buffer section 3, has a structure of 8 bits per digit, with the processing result of the calculation section 2 being stored in the 1st to 7th bits, and 0 in the 8th bit. It has a bit configuration in which (binary number) is written.

4は特定命令検出部で、この特定命令検出部4はプログ
ラム部1から演算部2に供給されるプログラム信号が順
次与えられており、このプログラム信号のうち、後述す
る印字部8の制御信号、例えばスタート信号、タブ制御
信号、スキップ信号、ストップ信号等であることを検出
し、これ等の制御信号を8ビツト構成で出力バッファ部
3に供給する。
Reference numeral 4 denotes a specific command detection unit, and this specific command detection unit 4 is sequentially given program signals supplied from the program unit 1 to the calculation unit 2, and among these program signals, control signals for the printing unit 8, which will be described later, For example, it detects a start signal, tab control signal, skip signal, stop signal, etc., and supplies these control signals to the output buffer section 3 in an 8-bit configuration.

この制御信号のビット構成は、第1ビツト乃至第7ビツ
トに印字部8を制御すべき制御信号、第8ビツト目に”
1 ” (2進数)が書き込まれた構成をとる。
The bit configuration of this control signal is such that the first to seventh bits are the control signal to control the printing section 8, and the eighth bit is the "control signal".
1” (binary number) is written.

出力バッファ部3は演算部2から得られる印字すべき情
報信号と、特定命令検出部4から得られる印字部8の制
御信号とを、夫々8ビツト構成で出力された順に直列的
に記憶するよう構成されている。
The output buffer section 3 stores the information signal to be printed obtained from the calculation section 2 and the control signal for the printing section 8 obtained from the specific command detection section 4 in an 8-bit configuration in the order in which they were output. It is configured.

上記プログラム部1、演算部2、出力バッファ部3は中
央処理装置の1部を構成する。
The program section 1, calculation section 2, and output buffer section 3 constitute a part of a central processing unit.

5は判断部で、この判断部5は出力バッファ部3からの
1桁毎の出力信号が碩学供給され、この出力信号が情報
信号であるか、制御信号であるかの判断を行うため、各
信号の第8ビツト目が”0″であるか、1・″であるか
の判断を行う。
Reference numeral 5 denotes a judgment unit, which is supplied with the output signal for each digit from the output buffer unit 3, and judges whether the output signal is an information signal or a control signal. It is determined whether the 8th bit of the signal is "0" or "1.".

この判断部5により1桁の第8ビツト目がO”であるこ
とを判断された信号、即ち印字すべき情報信号はパリテ
ィ発生部6に供給される。
The signal for which the eighth bit of one digit is determined to be O'' by the determining section 5, that is, the information signal to be printed, is supplied to the parity generating section 6.

パリティ発生部6は判断部5を介して得られた情報信号
に対し、パリティチェック用のチェックビットを第8ビ
ツト目の位置に書き込むものである。
The parity generating section 6 writes a check bit for parity check into the information signal obtained through the determining section 5 at the eighth bit position.

又判断部5により第8ビツト目が”1″であることを判
断された信号、即ち制御信号はデコーダ部7に供給され
、デコーダ部7はこの制御信号を一定の規格化されたコ
ード体系に変換して命令信号を作成すると共に、その命
令信号を出力するタイミングを調整する。
Further, the signal for which the eighth bit is determined to be "1" by the determining section 5, that is, the control signal, is supplied to the decoder section 7, and the decoder section 7 converts this control signal into a certain standardized code system. The conversion is performed to create a command signal, and the timing at which the command signal is output is adjusted.

8は印字部で、この印字部8はパリティ発生部6を介し
て得られる情報信号のパリティチェックを行い、正しけ
ればこの情報信号をデコーダ部Iから供給される命令信
号に基づいて印字するよう構成されている。
Reference numeral 8 denotes a printing section, and this printing section 8 is configured to check the parity of the information signal obtained through the parity generation section 6, and if it is correct, print this information signal based on the command signal supplied from the decoder section I. has been done.

一方間字部8のパリティチェックにより誤りを検出する
と、誤り検出信号をプログラム部1に与え、このプログ
ラム部1のエラールーチンのスタートアドレスを指示す
るようになっている。
On the other hand, when an error is detected by the parity check of the interspace section 8, an error detection signal is given to the program section 1, which instructs the start address of the error routine of the program section 1.

上記判断部5、パリティ発生部6、デコーダ部7は、前
記中央処理装置と印字部8とのインターフェイスを司る
入出力制御装置の一部を構成するものである。
The determination section 5, parity generation section 6, and decoder section 7 constitute part of an input/output control device that controls the interface between the central processing unit and the printing section 8.

上記の如き構成によれば、演算部2から得られる情報信
号に対しては第8ビツト目に”0゛′特定命令検出部4
から得られる制御信号に対しては第8ビツト目に1”が
書き込まれて出力バッファ部3に順次直列的に記憶され
る。
According to the above configuration, for the information signal obtained from the arithmetic unit 2, the 8th bit is "0".
1" is written in the 8th bit for the control signal obtained from the output buffer section 3 and stored in series in the output buffer section 3.

そしてこの出力バッファ部3から出力される各信号の第
8ビツト目の”0”1”を判断部5で判断することによ
って再度、情報信号と制御信号とに分割する。
The determination unit 5 determines whether the eighth bit of each signal outputted from the output buffer unit 3 is “0” or “1”, thereby dividing the signal into an information signal and a control signal again.

その後情報信号はパリティ発生部6によってパリティビ
ットが書き込まれた状態で印字部8に供給され、制御信
号はデコーダ部7で適宜なコード変換が威されて印字部
8に供給されるものである。
Thereafter, the information signal is supplied to the printing section 8 with a parity bit written therein by the parity generating section 6, and the control signal is subjected to appropriate code conversion in the decoder section 7 and then supplied to the printing section 8.

たとえば、演算部2がプログラム部1から読み取ったも
のが命令語、即ち制御信号である場合、制御信号は出力
バッファ3に書き込まれ、かつ特定命令検出部4が制御
信号であることを検出して、その制御信号の8ビツト目
に”1″を追加する。
For example, when what the calculation unit 2 reads from the program unit 1 is a command word, that is, a control signal, the control signal is written to the output buffer 3, and the specific command detection unit 4 detects that it is a control signal. , "1" is added to the 8th bit of the control signal.

これで8ビツトとなって、判断部5に出力され、ここで
8ビツト目がチェツ、りされる。
This results in 8 bits and is output to the determining section 5, where the 8th bit is checked.

制御信号であるからデコーダ7に出力されて、印字部は
この制御信号により制御される。
Since it is a control signal, it is output to the decoder 7, and the printing section is controlled by this control signal.

次に、制御信号が7ビツトを越える、例えば10ビツト
のものはどうかというと、出力バッファ3に先ず制御信
号7ビツトと区別情報”1′”、その次に残りの3ビツ
トと区別情報″1″を書き込む。
Next, when the control signal exceeds 7 bits, for example, 10 bits, the output buffer 3 first stores the 7 bits of the control signal and the discrimination information "1'", then the remaining 3 bits and the discrimination information "1". Write ″.

これらの制御信号は順次判断部5とデコーダ7とを介し
て印字部8に出力され、一つの制御信号(10ビツト)
となって、印字部8を制御する。
These control signals are sequentially outputted to the printing unit 8 via the judgment unit 5 and decoder 7, and one control signal (10 bits) is output.
Thus, the printing unit 8 is controlled.

また、演算部2が演算した数値等のデータである印字情
報信号は制御信号と同様に出力バッファ3に7ビツトで
書き込まれる。
Further, a print information signal, which is data such as a numerical value calculated by the calculation section 2, is written to the output buffer 3 in 7 bits in the same manner as the control signal.

そしてこの情報の8ビツト目に”0”を追加する。Then, "0" is added to the 8th bit of this information.

この印字情報は判断部5で8ビツトが”0”であるから
、印字情報であると判断されパリティ発生部6でパリテ
ィチェックされパリティビットが追加されて8ビツトと
なる。
Since 8 bits of this print information are "0" in the judgment section 5, it is judged to be print information, and the parity generation section 6 performs a parity check and a parity bit is added to make it 8 bits.

この印字情報7ビツトとパリティビットが印字部に出力
されると、印字部8は受信した印字情報の7ビツトから
再びパリティビットを作成し、受信したパリティビット
と比較する。
When the 7 bits of print information and the parity bit are output to the print section 8, the print section 8 again creates a parity bit from the 7 bits of the received print information and compares it with the received parity bit.

比較した両パリティピットが一致すれば、正常であると
判断し、その正常印字情報を印字する。
If both of the compared parity pits match, it is determined to be normal, and the normal printing information is printed.

また、不一致であればエラーであると印字部8が判断し
、プログラム部1にエラー信号を出力する。
Further, if there is a mismatch, the printing unit 8 determines that there is an error, and outputs an error signal to the program unit 1.

従って印字すべき情報信号と印字部8の制御を行う制御
信号の区別を行うための区別情報を夫々の第8ビツト目
に書き込んで、情報信号及び制御信号を出力バッファ部
3に順次直列的に記憶し、これを判断部5で情報信号と
制御信号とに分離して、その後情報信号に対しては第8
ビツト目にパリティ・ビットを書き込んで印字部3に情
報信号を供給するようにしたので、出力バッファ部3が
記憶し得る制御信号の種類は飛躍的に増加すると共に、
情報信号と制御信号の区別を行うための区別情報を、情
報信号のパリティピット位置(第8ビツト目)に書き込
むので1桁を構成するビット数は増加せず、出力バッフ
ァ部3を有効に使用し得るものである。
Therefore, discrimination information for distinguishing between the information signal to be printed and the control signal for controlling the printing section 8 is written in the 8th bit of each, and the information signal and the control signal are serially sent to the output buffer section 3. This is stored and separated into an information signal and a control signal by the judgment unit 5, and then the information signal is
Since the parity bit is written in the bit th position and the information signal is supplied to the printing unit 3, the types of control signals that can be stored in the output buffer unit 3 are dramatically increased.
Discrimination information for distinguishing between information signals and control signals is written in the parity pit position (8th bit) of the information signal, so the number of bits that make up one digit does not increase, and the output buffer section 3 can be used effectively. It is possible.

尚、上記実施例に於いて周辺装置を印字装置として説明
したが、これに限らず、例えば紙テープ穿孔/読取り装
置、あるいは磁気テープ記憶装置、磁気ディスク装置等
についても全く同様にこの発明を適用し得ることは勿論
である。
In the above embodiments, the peripheral device has been described as a printing device, but the present invention is not limited to this, and can be applied to paper tape punching/reading devices, magnetic tape storage devices, magnetic disk devices, etc. in the same way. Of course you can get it.

更に各回路ブロック部分は、任意の電子素子を用いて種
々の回路構成をとり得る等、この発明の要旨を逸脱しな
い範囲で種々変形可能である。
Furthermore, each circuit block portion can be modified in various ways without departing from the spirit of the invention, such as by using arbitrary electronic elements to take on various circuit configurations.

以上詳述のように、情報信号と制御信号の区別を行う区
別情報を、情報信号のパリティビット位置に書き込んだ
状態でバッファ記憶装置に両信号を順次直列的に記憶さ
せ得るようにしたので、バッファ記憶装置が記憶し得る
制御信号の種類は飛躍的に増加し、しかも特別な冗長符
号用のビット位置を必要としないので、バッファ記憶装
置を極めて有効に利用し得ると共に、その結果として中
央処理装置の待時間が減少し、処理効率を向上させるこ
とができる。
As described in detail above, since the discrimination information for distinguishing between an information signal and a control signal is written in the parity bit position of the information signal, both signals can be serially stored in the buffer storage device. The variety of control signals that the buffer storage can store increases dramatically, and since no special bit positions are required for redundancy codes, the buffer storage can be used very efficiently and, as a result, the central processing The waiting time of the device can be reduced and the processing efficiency can be improved.

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

図面はこの発明の一実施例を示すブロック図である。 1・・・・・・プログラム部、2・・・・・・演算部、
3・・・・・・出力バッファ部、4・・・・・・特定命
令検出部、5・・・・・・判断部、8・・・・・・印字
部。
The drawing is a block diagram showing an embodiment of the present invention. 1...Program section, 2...Calculation section,
3...Output buffer section, 4...Specific instruction detection section, 5...Judgment section, 8...Printing section.

Claims (1)

【特許請求の範囲】[Claims] 1 中央処理装置と周辺装置の間に介在されたバッファ
記憶装置に情報を記憶させる情報処理方式に於いて、前
記中央処理装置の処理結果として得られる情報信号と前
記周辺装置の制御を指示する制御信号の夫々パリティビ
ット位置に該両信号を区別する区別情報を追加して書き
込み、前記情報信号と前記制御信号を前記バッファ記憶
装置に順次直列的に記憶させる記憶手段と、該記憶手段
からの出力情報から上記区別情報が上記情報信号かまた
は上記制御信号かを判断する判断手段と、該判断手断に
より判断された上記制御信号をデコードし上記周辺装置
に出力するデコード手段と、上記判断手段により判断さ
れた上記情報信号からパリティピットを作り上記情報信
号に付加して周辺装置に出力するパリティ発生手段とを
具備したことを特徴とする情報処理方式。
1. In an information processing system that stores information in a buffer storage device interposed between a central processing unit and a peripheral device, an information signal obtained as a processing result of the central processing unit and a control that instructs the control of the peripheral device. storage means for adding and writing distinguishing information for distinguishing the two signals into each parity bit position of the signal, and storing the information signal and the control signal sequentially and serially in the buffer storage device; and an output from the storage means. a determining means for determining from information whether the discrimination information is the information signal or the control signal; a decoding means for decoding the control signal determined by the determination and outputting it to the peripheral device; An information processing system comprising: parity generating means for creating a parity pit from the determined information signal, adding it to the information signal, and outputting it to a peripheral device.
JP175076A 1976-01-08 1976-01-08 Information processing method Expired JPS5854415B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP175076A JPS5854415B2 (en) 1976-01-08 1976-01-08 Information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP175076A JPS5854415B2 (en) 1976-01-08 1976-01-08 Information processing method

Publications (2)

Publication Number Publication Date
JPS5285434A JPS5285434A (en) 1977-07-15
JPS5854415B2 true JPS5854415B2 (en) 1983-12-05

Family

ID=11510238

Family Applications (1)

Application Number Title Priority Date Filing Date
JP175076A Expired JPS5854415B2 (en) 1976-01-08 1976-01-08 Information processing method

Country Status (1)

Country Link
JP (1) JPS5854415B2 (en)

Also Published As

Publication number Publication date
JPS5285434A (en) 1977-07-15

Similar Documents

Publication Publication Date Title
EP0383899B1 (en) Failure detection for partial write operations for memories
JPH10268900A (en) Voice recording and reproducing device
JPS5854415B2 (en) Information processing method
JPS58115673A (en) System and device for stored information control
US5214764A (en) Data processing apparatus for operating on variable-length data delimited by delimiter codes
JPH03501659A (en) Pipeline address check bit stack controller
JPS6048769B2 (en) Loading method
JP3098363B2 (en) Storage device
JPH01273154A (en) Storage device with ecc circuit
JP3102080B2 (en) Disk array device
JP3314387B2 (en) Magnetic tape controller
JPH11296391A (en) Semiconductor storage device
JPS5870500A (en) Semiconductor storing circuit
JPS607524A (en) Recording carrier reader
JPH0793243A (en) Channel device
JPS61250898A (en) Write/read device
JPH05334442A (en) Image processor
JPH02210672A (en) Data writing error detector
JPH02270052A (en) Composite ic memory card device
JPS6013360A (en) Storage device
JPH01236735A (en) Error detecting and correcting system
JPH06342405A (en) Filing system
JPH02126352A (en) Data transfer control method for information processing equipment
JPS61248140A (en) Redundant code checking system
JPH04137138A (en) Information processor