JPS626317A - State transition synchronizing system - Google Patents

State transition synchronizing system

Info

Publication number
JPS626317A
JPS626317A JP60146195A JP14619585A JPS626317A JP S626317 A JPS626317 A JP S626317A JP 60146195 A JP60146195 A JP 60146195A JP 14619585 A JP14619585 A JP 14619585A JP S626317 A JPS626317 A JP S626317A
Authority
JP
Japan
Prior art keywords
state
data
change
out buffer
input
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
JP60146195A
Other languages
Japanese (ja)
Inventor
Masaru Matsumoto
勝 松本
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP60146195A priority Critical patent/JPS626317A/en
Publication of JPS626317A publication Critical patent/JPS626317A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To attain the accurate processing execution by informing the change of an external state to an internal process together with the input order of data. CONSTITUTION:A state transition synchronizing system consists of an FIFO buffer storage mechanism 1001, a coding mechanism 1002 which detects and codes the change of an external state connected to an entrance part, a reading mechanism 1004 which merges the input data and the state coding data and extracts them out of the mechanism 1001 and at the same time detects and allocates the state coding data and a state information storage mechanism 1005. Thus, the information showing the change of the external state is put into the mechanism 1001 to store the position of the data supplied successively where the external state changes in the corresponding order. Thus, the state change is detected at the entrance part of the mechanism 1001 and the coded state information is detected at the exit part of the mechanism 1001 respectively. This secures the accurate execution of processing with the state transition synchronizing system.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は状態遷移同期方式に関し、特にデータ処理シス
テムにおけるデータ入力機構における状態遷移同期方式
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a state transition synchronization method, and more particularly to a state transition synchronization method in a data input mechanism in a data processing system.

〔従来の技術〕[Conventional technology]

データ処理システムは操作者のキータッチの速度や、回
線からのベカデータの速度が瞬時的にそめ入力データの
内部処理よりも早くなるため、先入り先出し緩衝記憶機
構を経由してデータ入力処理を行うのが一般的である。
The data processing system performs data input processing via a first-in first-out buffer storage mechanism because the speed of the operator's key touch and the speed of the basic data from the line are instantaneously faster than the internal processing of input data. is common.

また、このデータ入力処理には、実際のデータ入力する
ことに加えて記入力データの検査、修正や一部の既入力
データの利用を可能とする機能が付加されており、これ
ら既入力データに対する処理の切り換えは鍵盤上のスイ
ッチで行なわれる。
In addition to actually inputting data, this data input process has additional functions that allow inspection and correction of input data and the use of some previously input data. Processing is changed using a switch on the keyboard.

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

上述した従来のデータ処理システムは鍵盤上のスイッチ
による切換と実際のデータ入力を高速に連続して操作し
た場合、先入り先出し緩衝記憶機構の中にデータが残っ
ている状態でスイッチの切換が行なわれることになり、
データの内部処理に誤まりが発生する欠点があった。
In the conventional data processing system described above, when switching with a switch on the keyboard and actually inputting data are performed in succession at high speed, the switch is switched while data remains in the first-in, first-out buffer storage mechanism. I am going to be
There was a drawback that errors occurred in the internal processing of data.

たとえば第3図および第4図に示すデータの具本例で説
明すると、このデータは第ルコードから第4レコードま
での第1項目の内容が同じである。このため、このデー
タを入力する際には、第ルコードの入力は全項目行うが
、第2レコードから第4レコードでは第1項目のデータ
入力を省略することが可能である。この第1項目のデー
タ入力を省略することを可能とするために第1項目は、
直前データ取込可能項目として属性を与えられているも
のとする。この第3図のデータを入力する場合の操作手
順と第4図に示すタイムチャートを参照すると、操作者
は第ルコードの第1項目のデータAを入力した後、直前
データ取込のスイッチを入れる(オン)。これにより、
第2レコードから第4レコードについては第2項目のデ
ータBからEのみを入力することになる。第5レコード
では第1項目の内容が違うため、第1項目の入力を必要
とするので再び直前データ取込のスイッチを戻して(オ
フ)第1項目のデータFを入力する。ここで内部処理に
遅れがあると、第4図の大の時点で第4レコードの内部
処理のため先入れ先出し緩衝記憶機構からデータEを取
り出すが、操作者はすでに第5レコードのデータ入力の
ために直前データ取込スイッチを戻して(オフ)いるた
め、内部処理はこの状態を検出してデータEを第4レコ
ードの第1項目として処理を行ない誤まりとなる。
For example, referring to the specific example of the data shown in FIGS. 3 and 4, this data has the same content in the first item from the first code to the fourth record. Therefore, when entering this data, the first code is entered for all items, but it is possible to omit the data entry for the first item for the second to fourth records. In order to make it possible to omit data entry for this first item, the first item is
It is assumed that the attribute is given as an item that can be loaded with immediately preceding data. Referring to the operating procedure for inputting data shown in Figure 3 and the time chart shown in Figure 4, after inputting data A of the first item of the first code, the operator turns on the previous data import switch. (on). This results in
For the second to fourth records, only data B to E of the second item is input. Since the content of the first item is different in the fifth record, it is necessary to input the first item, so the previous data import switch is turned back (off) and data F of the first item is input. If there is a delay in the internal processing, data E is retrieved from the first-in, first-out buffer storage mechanism for the internal processing of the fourth record at the time point 4 in FIG. 4, but the operator has already entered the data for the fifth record. Since the previous data capture switch was returned (off), internal processing detects this state and processes data E as the first item of the fourth record, resulting in an error.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の状態遷入同期方式は先入れ先出し緩衝記憶機構
を経由してコードデータを処理するとともに、別の状態
情報によって前記処理の内容を制御するデータ処理シス
テムにおいて前記状態情報の変化を検出してコード化す
る機構を前記先入れ先出し緩衝記憶機構の入口部分に有
しコード化されたデータから状態を検出する機構を前記
先入れ先出し緩衝記憶機構の出口部分に有している。
The state transition synchronization method of the present invention processes code data via a first-in, first-out buffer storage mechanism, and detects a change in the state information in a data processing system that controls the content of the processing based on another state information. A mechanism for detecting the status from the encoded data is provided at an entrance portion of the first-in, first-out buffer storage mechanism, and a mechanism for detecting a state from coded data is provided at an exit portion of the first-in, first-out buffer storage mechanism.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して詳細に説明
する。第1図は本発明の一実施例を示す。
Next, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 shows an embodiment of the invention.

第1図において、本実施例は先入れ先出し緩衝記憶機構
1001と、入口部分に接続され外部状態の変化を検出
しコード化するコード化機構1002と、入力データと
状態のコード化データを併合して先入れ先出し緩衝記憶
機構1001へデータを送る書込機構1003と先入れ
先出し緩衝記憶機構1001からデータを取り出すと共
に状態のコード化データを検出して振り分ける読出し機
構104と、続出機構1004で検出された状態情報を
記憶する状態記憶機構10()5とを含んでいる。
In FIG. 1, this embodiment includes a first-in, first-out buffer storage mechanism 1001, a coding mechanism 1002 connected to the inlet portion for detecting and encoding changes in the external state, and a first-in, first-out buffer for merging input data and state coded data. A writing mechanism 1003 that sends data to the buffer storage mechanism 1001, a reading mechanism 104 that retrieves data from the first-in, first-out buffer storage mechanism 1001 and detects and distributes status coded data, and a continuation mechanism 1004 that stores the detected status information. state storage mechanism 10()5.

本実施例ではコード化機構1002.書込機構1003
続出し機構1004は10グラム制御である。これらプ
ログラム制御の動作を第2図のフローチャートに示す。
In this embodiment, the encoding mechanism 1002. Writing mechanism 1003
The dispensing mechanism 1004 is 10 gram control. The operation of these program controls is shown in the flowchart of FIG.

第2図において、コード化機構1002は書込機構10
03から呼び出されて実行するサブルーチンである。コ
ード化機構1002は起動されると、外部状態を入力し
く2a>、外部状態が以前に読出した状態と変化したか
をチェック(2b)、以前と同じ状態であればNULL
コードをサブルーチンのリターン値として設定する(2
f)。以前と違う状態であれば現在の状態を調べ(2c
)、オン状態であればオンの状態コードをリターン値と
して設定しく2d)、オフ状態であればオフの状態コー
ドをリターン値として設定する(2e)。
In FIG. 2, the encoding mechanism 1002 is the writing mechanism 10.
This is a subroutine that is called and executed from 03. When the encoding mechanism 1002 is activated, it inputs the external state (2a), checks whether the external state has changed from the previously read state (2b), and returns NULL if the state is the same as before.
Set the code as the return value of the subroutine (2
f). If the state is different from before, check the current state (2c
), if it is on, set the on status code as the return value 2d), and if it is off, set the off status code as the return value (2e).

書込機構1003は入力データが入る度に起動されるサ
ブルーチンである。書込機構1003は起動されると、
コード書機横lθ02をサブルーチンコール(3a)、
そのリターン・値をチェックしく3b)。
The writing mechanism 1003 is a subroutine that is activated every time input data is input. When the writing mechanism 1003 is activated,
Subroutine call (3a) to code writing machine side lθ02,
Check its return/value 3b).

NULL以外の値であればそのリターン値を先入り先出
しM衝記憶機構1001へ送り出す(3c)。
If it is a value other than NULL, the return value is sent to the first-in, first-out M storage mechanism 1001 (3c).

その後入力データを読み出しく3d)、入力データを先
入り先出し緩衝記憶機構へ送り出す(3C)。
The input data is then read (3d) and sent to the first-in, first-out buffer storage (3C).

読出し機構1004は内部処理からの要求により呼び出
されるサブルーチンである。読出し機構1004は呼び
出されると、先入り先出し緩衝記憶機構の中からデータ
を読出しく4a)読出したデータがオンの状態コードで
あれば(4b)、状態記憶機構1005をオンにして(
4f)、再びデータの読出しく4a)から処理をくり返
す。読出したデータかオフの状態コードであれば(4c
)、状態記憶機構1旧)5をオフにして(4e)、再び
データの読出しく4a)から処理をくり返す。読出した
デー夕がいづれの状態コードでもない場合は読出したデ
ータをリターン値として内部処理へデータを渡す。
The reading mechanism 1004 is a subroutine called by a request from internal processing. When the read mechanism 1004 is called, it reads the data from the first-in, first-out buffer storage 4a) If the read data has an on state code (4b), it turns on the state storage 1005 (
4f), read the data again and repeat the process from 4a). If the read data or OFF status code (4c
), state storage mechanism 1 (old) 5 is turned off (4e), data is read again, and the process is repeated from 4a). If the read data is not one of the status codes, the read data is passed to internal processing as a return value.

以上のような動作により、外部状態の変化は遅延して内
部処理の進行に応じたタイミングで知らされることとな
る。
Through the above-described operation, changes in the external state are delayed and notified at a timing that corresponds to the progress of internal processing.

このように本実施例では以上のような問題を解決すると
共に、先入れ先出し緩衝記憶機構の中へ外部状態が変化
したことを示す情報を入れ、先入れ先出し緩衝記憶機構
へ次々と入力されるデータのどの位置で外部状態が変化
したかをその順序で記憶させることにより先入れ先出し
緩衝記憶機構の入口部分で、状態情報の変化を検出し出
口部分でそのコード化された状態情報を検出する機構を
設けたものである。
In this way, this embodiment solves the above-mentioned problems, and also inputs information indicating that the external state has changed into the first-in, first-out buffer memory, and determines the position of data that is successively input to the first-in, first-out buffer. This system is equipped with a mechanism that detects changes in state information at the entrance of the first-in, first-out buffer storage mechanism by storing changes in the external state in that order, and detects the coded state information at the exit. be.

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

以上説明したように本発明は、外部状態の変化をデータ
の入力順序と合わせて内部処理へ通知できることにより
、外部状態の急激な変化に対して内部処理の速度が一時
的に追随できなくなっても処理が正しく行なわれる効果
がある。
As explained above, the present invention can notify the internal processing of changes in the external state together with the data input order, even if the internal processing speed is temporarily unable to keep up with the rapid change in the external state. This has the effect of ensuring that processing is performed correctly.

図面の簡(2)な説明 第1図は本発明の実施例を示すブロック図、第2図は第
1図の主要な部分の機構に関するフローチャートを示す
図、第3図は問題点説明のためのデータ例を示す図、第
4図は問題発生の場合のタイムチャートを示す図である
Brief description of the drawings (2) Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a flowchart relating to the mechanism of the main parts of Fig. 1, and Fig. 3 is for explaining problems. FIG. 4 is a diagram showing an example of data, and FIG. 4 is a diagram showing a time chart when a problem occurs.

1001・・・先入れ先出し緩衝記憶機構、1002・
・・コード化機構、1003・・・書込機構、1004
・・・読出し機構、1005・・・状態記憶機構。
1001...first-in, first-out buffer storage mechanism, 1002...
... Encoding mechanism, 1003 ... Writing mechanism, 1004
...Reading mechanism, 1005... State storage mechanism.

4F JI!I、、項g44百 享ル1−ト  ロ=工=コ   5111ト2Lゴート
    [二二二二][====コ  [::ズΣ==
==コ94  図 j−タDi矛第1:  cpc:コ[至コ[=コ[ロコ
ロロロ2コロ[コロ[タコ[lコrrFl)7IJM−
”  EF’ 、茅 21!I
4F JI! I,, term g44 100 kyoru 1-tro = engineering = ko 5111 to 2L goat [2222] [====ko [::ZΣ==
==ko94 Figure j-Ta Di spear 1st: cpc:ko[toko[=ko[rokorororo2koro[koro[octopus[lkorrFl]7IJM-
"EF', Kaya 21!I

Claims (1)

【特許請求の範囲】[Claims]  先入れ先出し緩衝記憶機構を経由してコードデータを
処理するとともに、別の状態情報によって前記処理の内
容を制御するデータ処理システムにおいて、前記状態情
報の変化を検出してコード化する機構を前記先入れ先出
し緩衝記憶機構の入口部分に設け、コード化されたデー
タから状態を検出する機構を前記先入れ先出し緩衝記憶
機構の出口部分に設けることを特徴とする状態遷移同期
法式。
In a data processing system that processes code data via a first-in, first-out buffer memory and controls the content of the processing using another state information, the first-in, first-out buffer has a mechanism that detects and encodes changes in the state information. A state transition synchronization method characterized in that a mechanism is provided at the entrance of the mechanism and a mechanism for detecting the state from coded data is provided at the exit of the first-in, first-out buffer storage mechanism.
JP60146195A 1985-07-02 1985-07-02 State transition synchronizing system Pending JPS626317A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60146195A JPS626317A (en) 1985-07-02 1985-07-02 State transition synchronizing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60146195A JPS626317A (en) 1985-07-02 1985-07-02 State transition synchronizing system

Publications (1)

Publication Number Publication Date
JPS626317A true JPS626317A (en) 1987-01-13

Family

ID=15402277

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60146195A Pending JPS626317A (en) 1985-07-02 1985-07-02 State transition synchronizing system

Country Status (1)

Country Link
JP (1) JPS626317A (en)

Similar Documents

Publication Publication Date Title
JP2680027B2 (en) Image information display device
JPS626317A (en) State transition synchronizing system
US5504930A (en) Programmable controller and sequence control method
JPH03280120A (en) Guidance system utilizing operation history
JPH02181888A (en) Bar code data processor
JP2507641B2 (en) Keyboard control system
JP2718703B2 (en) Key input data processing method
JP2895892B2 (en) Data processing device
KR920001415B1 (en) Maintenance system for switching center
JPH039654A (en) Adaptor device
JPH02181815A (en) Mouse input device forming key code
JPH0685169B2 (en) Document processing method
JP2000013787A (en) Image processor
JPH113469A (en) Information processor and merchandise registering device
JPS61114315A (en) Tape input system for numerical controller
JPH0451847B2 (en)
JPH0784814A (en) Error detecting device of computer
JPS6358532A (en) Printer device
JPH0546573B2 (en)
JPS63123133A (en) Error processing system
JPH02231678A (en) Image data input device
JPH06325196A (en) Bar code reader
JPH04215115A (en) Information processor
JPH04195344A (en) Register file read mechanism
JPS6260004A (en) Console device for nc