JPH0395633A - Process information control system - Google Patents

Process information control system

Info

Publication number
JPH0395633A
JPH0395633A JP23379889A JP23379889A JPH0395633A JP H0395633 A JPH0395633 A JP H0395633A JP 23379889 A JP23379889 A JP 23379889A JP 23379889 A JP23379889 A JP 23379889A JP H0395633 A JPH0395633 A JP H0395633A
Authority
JP
Japan
Prior art keywords
processing information
routine
information setting
area
process 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.)
Granted
Application number
JP23379889A
Other languages
Japanese (ja)
Other versions
JP3085308B2 (en
Inventor
Hiroyuki Suzuki
啓之 鈴木
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 JP01233798A priority Critical patent/JP3085308B2/en
Publication of JPH0395633A publication Critical patent/JPH0395633A/en
Application granted granted Critical
Publication of JP3085308B2 publication Critical patent/JP3085308B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To update the process information with no exclusive control carried out between an interruption routine and a process information setting routine by providing plural process information setting areas and a pointer which points a reference enable area. CONSTITUTION:In a process information setting routine 4, the process information is set in the process information setting areas 1 and 2 which are not pointed by a reference enable area pointer among plural process information setting areas 2 where the process information are set. Then the pointer is switched so as to point the setting area 2 which is newly set by a single machine instruction. Then the process set in the area 2 pointed by the pointer is carried out in terms of the input data accepted by an interruption in an interruption routine 6. Thus the areas 2 are switched and the process information is updated by a single machine instruction. As a result, no exclusive control is required between the routine 4 and the routine 6 having the highest degree of preference and at the same time a process is quickly carried out in the routine 6.

Description

【発明の詳細な説明】 〔概要〕 処理情報を管理する処理情報管理方式に関し、処理情報
設定域を複数設けて参照可能域をポイントするポインタ
を設け、空きの処理情報設定域に処理情報を設定した後
、ボインクを1機械命令で切り替え、割り込みルーチン
と処理情報設定ルーチンとの排他制御なしに、処理情報
の更新を可能にすることを目的とし、 処理情報を設定する複数の処理情報設定域のうちの参照
可能域ポインタによってポイントされていない処理情報
設定域に対して、依頼を受けた処理情報を設定した後、
参照可能域ポインタを1m械命令によって当該新たに設
定した処理情報設定域をポイントするように切り替える
処理情報設定ルーチンと、割り込みによって受け付けた
入力データなどについて上記参照可能域ポインタによっ
てポイントされる処理情報設定域に設定されている処理
を行う割り込みルーチンとを備え、処理情報設定域に設
定した処理を行うように構戒する.〔産業上の利用分野
〕 本発明は、処理情報を管理する処理情報管理方式に関す
るものである。
[Detailed Description of the Invention] [Summary] Regarding a processing information management method for managing processing information, a plurality of processing information setting areas are provided, a pointer is provided to point to a referenceable area, and processing information is set in an empty processing information setting area. After that, the purpose is to switch Boink with one machine instruction and update processing information without exclusive control between interrupt routines and processing information setting routines. After setting the requested processing information to the processing information setting area that is not pointed to by my referenceable area pointer,
A processing information setting routine that switches the referenceable area pointer to point to the newly set processing information setting area using a 1m machine instruction, and a processing information setting that is pointed to by the referenceable area pointer for input data accepted by an interrupt. It is equipped with an interrupt routine that performs the processing set in the processing information setting area, and takes care to perform the processing set in the processing information setting area. [Industrial Application Field] The present invention relates to a processing information management method for managing processing information.

〔従来の技術と発明が解決しようとする課題〕従来、割
り込み機能によって発生する事象を、処理情報に従って
処理するシステムは、発生した事象が割り込みルーチン
によって受け取られ、処理情報に従って処理する。この
際、処理情報は、処理情報設定ルーチンによって所定領
域に設定する。このため、割り込みルーチンと、処理情
報設定ルーチンとの2つのルーチンが動作し、割り込み
ルーチンの方が優先順位が高いために処理情報設定ルー
チンによる処理情報の設定途中に割り込みルーチンが制
御を奪い、処理設定ルーチンの処理が一旦中断してしま
い、更新前の処理情報と、更新後の処理情報とが混在し
てしまう恐れがあり、処理情報が保証されない.これを
解決するために処理情報設定ルーチンがロノク命令を発
行して処理情報域の内容を更新中に割り込みによって割
り込みルーチンが起動されると、処理情報設定ルーチン
の処理が終了するまで待たされてしまい、非同期による
割り込み処理の高速性に欠けてしまうという問題があっ
た. 本発明は、処理情報設定域を複数設けて参照可能域をポ
イントするポインタを設け、空きの処理情報設定域に処
理情報を設定した後、ポインタを1機械命令で切り替え
、割り込みルーチンと処理情報設定ルーチンとの排他制
′411なしに、処理情報の更新を可能にすることを目
的としている。
[Prior Art and Problems to be Solved by the Invention] Conventionally, in a system that processes an event generated by an interrupt function according to processing information, the generated event is received by an interrupt routine and processed according to the processing information. At this time, the processing information is set in a predetermined area by a processing information setting routine. Therefore, two routines, the interrupt routine and the processing information setting routine, operate, and since the interrupt routine has a higher priority, the interrupt routine takes over control while the processing information setting routine is setting the processing information, and the processing information is set. The processing of the setting routine may be temporarily interrupted, and the processing information before the update and the processing information after the update may be mixed, and the processing information is not guaranteed. To solve this problem, if the processing information setting routine issues a ronoku command and is activated by an interrupt while updating the contents of the processing information area, the processing information setting routine will be forced to wait until the processing of the processing information setting routine is completed. , there was a problem that interrupt processing lacked high speed due to asynchronous processing. In the present invention, a plurality of processing information setting areas are provided, a pointer is provided to point to a referenceable area, and after setting processing information in the empty processing information setting area, the pointer is switched with one machine instruction, and the interrupt routine and processing information are set. The purpose is to enable processing information to be updated without exclusive control '411 with routines.

〔課題を解決する手段〕[Means to solve problems]

第1図を参照して課題を解決する手段を説明する。 Means for solving the problem will be explained with reference to FIG.

第1図において、処理情報設定ルーチン4ば、処理情報
を設定する複数の処理情報設定域のうちの参照可能域ポ
インタによってポイントされていない処理情報設定域に
処理情報を設定した後、参照可能域ポインタを1機械命
令によって当該新たに設定した処理情報設定域をポイン
トするように切り替えるルーチンである。
In FIG. 1, the processing information setting routine 4 sets processing information in a processing information setting area that is not pointed to by the referenceable area pointer among the plurality of processing information setting areas in which processing information is set, and then sets the processing information in the referenceable area. This routine switches the pointer to point to the newly set processing information setting area using one machine command.

割り込みルーチン6は、割り込みによって受け付けた入
力データなどについて参照可能域ポインタによってポイ
ントされる処理情報設定域に設定されている処理を行わ
せる割り込みルーチンである。
The interrupt routine 6 is an interrupt routine that causes the processing set in the processing information setting area pointed to by the referenceable area pointer to be performed on input data etc. accepted by the interrupt.

〔作用〕[Effect]

本発明は、第l図に示すように、処理情f′il設定ル
ーチン4が処理情報を設定する複数の処理情報設定域の
うちの参照可能域ポインタによってポイントされていな
い処理情報設定域に処理情報を設定した後、参照可能域
ポインタを1a械命令によって当該新たに設定した処理
情報設定域をポイントするように切り替え、割り込みル
ーチン6が割り込みによって受け付けた入力データなど
について参照可能域ポインタによってポイントされる処
理情報設定域に設定されている処理を行わせるようにし
ている。
As shown in FIG. After setting the information, the referenceable area pointer is switched to point to the newly set processing information setting area using the 1a machine instruction, and the referenceable area pointer points to the input data etc. that the interrupt routine 6 accepts by interrupt. The processing set in the processing information setting area is performed.

従って、処理情報設定ルーチン4がl機械命令によって
処理情報設定域を切り替えて処理情報の更新を行うこと
により、処理情報設定ルーチン4と、最も優先度の高い
割り込みルーチン6この間の排他制御が不要となると共
に、割り込みルーチン6が迅速に処理を行うことが可能
となる。
Therefore, by allowing the processing information setting routine 4 to update the processing information by switching the processing information setting area using a machine instruction, exclusive control between the processing information setting routine 4 and the interrupt routine 6 with the highest priority is unnecessary. At the same time, the interrupt routine 6 can perform processing quickly.

〔実施例〕〔Example〕

次に、第1図から第3図を用いて本発明の1実施例の構
戒および動作を順次詳細に説明する。
Next, the structure and operation of one embodiment of the present invention will be sequentially explained in detail using FIGS. 1 to 3.

第1図(イ)において、MS(主記+!l装置)lは、
2ないし6の情報およびプログラムを格納するメモリで
ある. 処理情報設定域2は、処理情報を設定する領域である(
第1図(口)を用いて後述する)。
In FIG. 1 (a), MS (main +!l device) l is
This is a memory that stores 2 to 6 information and programs. Processing information setting area 2 is an area for setting processing information (
(described later using FIG. 1 (mouth)).

OS(オペレーティングシステム)3は、システムを制
御する制御プログラムである。
The OS (operating system) 3 is a control program that controls the system.

処理情報設定ルーチン4ば、処理情報を処理情報設定域
2にil!械命令によって設定するものである(第3図
を用いて詳細に説明する).IOスーパバイザ5ば、1
0(人出力)を制御する制御プログラムである. 割り込みルーチン6は、非同期の割り込みによって起動
されるルーチンである。
Processing information setting routine 4 stores processing information in processing information setting area 2! It is set using machine commands (details will be explained using Figure 3). IO supervisor 5, 1
This is a control program that controls 0 (human output). Interrupt routine 6 is a routine activated by an asynchronous interrupt.

ディスプレイ7は、各種情報を表示するディスプレイで
ある。
The display 7 is a display that displays various information.

タブレソト8は、各種情報を入力するものである。The tablet recorder 8 is used to input various information.

CPU (中央処理装!)9ぱ、MSI上に格納したプ
ログラムをもとに各種制御を行うものである。
The CPU (Central Processing Unit!) 9 performs various controls based on programs stored on the MSI.

第l図(ロ)は、処理情報設定域を示す。FIG. 1(b) shows the processing information setting area.

第1図(ロ)において、処理情報設定域1、2は、処理
情報を設定する複数の領域である.参照可能域ポインタ
は、参照可能な有意な処理情報の設定されている処理情
報設定域l、2をポイントするポインタである.この参
照可能域ポインタは、処理情報設定ルーチン4が空きの
処理情報設定域1、2に処理情報を設定した後、14!
l械命令によって切り替えるようにしている。
In FIG. 1(b), processing information setting areas 1 and 2 are multiple areas in which processing information is set. The referenceable area pointer is a pointer that points to the processing information setting areas 1 and 2 in which referenceable and significant processing information is set. This referable area pointer is set to 14! after the processing information setting routine 4 sets processing information in the empty processing information setting areas 1 and 2!
The switching is done by machine command.

次に、第2図を用いて本発明の全体の動作を具体的に説
明する. 第2図において、■、■は、アプリ (応用プログラム
)が 処理l:入力データをキューイングする。
Next, the overall operation of the present invention will be specifically explained using FIG. In FIG. 2, ■ and ■ indicate that the application (application program) processes l: queues input data.

処理2:入力データをすてる。Process 2: Discard input data.

のうちの処理1を選び、処理情報設定ルーチン4に設定
依頼する. ■は、処理情報設定ルーチン4が処理情報設定域2に依
頼を受けた“処理1゜ “入力情報格納域アドレス“を
設定する. また、■、[相]、は、オペレータによるボタン押下に
対応して割り込みが発生し、割り込みルーチン6が起動
される。
Select process 1 and request the process information setting routine 4 to set it. In ■, the processing information setting routine 4 sets the requested “process 1゜input information storage area address” in the processing information setting area 2. In addition, ■, [phase] corresponds to button presses by the operator. An interrupt is generated and interrupt routine 6 is activated.

■は、割り込みルーチン6が入力データ(例えば座標値
など)を取り込む。
In (2), the interrupt routine 6 takes in input data (for example, coordinate values, etc.).

[相]は、処理情報の参照を行う。ここで、処理l、入
力情報格納域アドレスを読み出す。
[Phase] refers to processing information. Here, in process 1, the input information storage area address is read.

@は、処理が処理lか、その他かを判別する。@ determines whether the process is process 1 or something else.

[相]は、処理1に対応して、入力情報格納域アドレス
から入力データを取り込み、キューイングする。
[Phase] corresponds to process 1, and takes in input data from the input information storage area address and queues it.

■は、アプリが入力データに対する処理、例えば座標値
をもとにマーカをディスプレイ7に表示などする。
In (2), the application processes the input data, such as displaying a marker on the display 7 based on the coordinate values.

以上の処理において、処理情報設定ルーチン4がアプリ
から依頼を受けた処理情報を処理情報設定域2に設定す
る際に、空きの処理情報設定域にこの処理内容を設定し
た後、参照可能域ポインタをl機械命令によって当該新
たに設定した処理情報設定域をポイントさせて参照可能
に切り替えることにより、優先度の高い割り込みルーチ
ン6と、処理情報設定ルーチン4との排他制御を不要と
し、高速に割り込みルーチン6による処理を行わせるこ
とが可能となる。
In the above process, when the processing information setting routine 4 sets the processing information requested by the application in the processing information setting area 2, after setting this processing content in the empty processing information setting area, the referenceable area pointer By pointing and referencing the newly set processing information setting area using a machine command, there is no need for exclusive control between the high priority interrupt routine 6 and the processing information setting routine 4, and interrupts can be executed at high speed. It becomes possible to perform processing according to routine 6.

次に、第3図を用いて処理情報を処理情報設定域2に設
定する動作を第1図(ロ)を参照して詳細に説明する。
Next, the operation of setting processing information in the processing information setting area 2 will be described in detail using FIG. 3 with reference to FIG. 1 (b).

第3図において、■は、参照可能域はいずれかを判別す
る。これは、第1図(ロ)において、参照可能域ポイン
タがO(処理情報設定域をポイントしていない)あるい
は2(処理情報設定域2をポイントしている)か、また
は参照可能域ポインタが1 (処理情報設定域1をポイ
ントしている)かを判別する. 0ぱ、参照可能領域が0あるいは2の場合、空きの処理
情報設定域である“1”を変更テーブル番号に設定する
. @は、参照可能領域がlの場合、空きの処理情報設定域
である“2′を変更テーブル番号に設定する。
In FIG. 3, ■ determines which area is a referenceable area. This means that in Figure 1 (b), the referenceable area pointer is O (not pointing to the processing information setting area) or 2 (pointing to the processing information setting area 2), or the referenceable area pointer is not pointing to the processing information setting area. 1 (points to processing information setting area 1). 0, if the referenceable area is 0 or 2, set "1", which is an empty processing information setting area, as the change table number. When the referenceable area is l, @ sets "2', which is an empty processing information setting area, as the change table number.

[相]は、変更テーブル番号が示す処理情報設定域の内
容(例えば処理、入力情報格納域アドレス)を更新する
。これば、■、@で変更テーブル番号に設定した空きの
処理情報設定域に対して、アプリから依頼を受けた内容
を書き込む(更新、設定する−). ■は、参照可能域に変更テーブル番号を設定する.これ
は、右側に示すように LR4.i更テーブル・・・・・・・・・(1)ST 
 R4.参照可能域・・・・・・・・・(2)によって
、参照可能域ポインタを11械命令で切り替える。具体
的に説明すれば、(11によって変更一ブルの内容をレ
ジスタR4に格納する。次に、(2)の1機械命令でこ
のレジスタR4の内容を参照可能域に格納し、参照可能
域ポインタからポイントされる参照可能な処理情報設定
域を切り替える。
[Phase] updates the contents of the processing information setting area indicated by the change table number (for example, processing, input information storage area address). This will write (update, set -) the content requested by the app into the empty processing information setting area set in the change table number using ■ and @. ■ sets the change table number in the referenceable area. This is LR4. as shown on the right. Change table・・・・・・・・・(1)ST
R4. Referenceable area: According to (2), the referenceable area pointer is switched by the 11 machine instruction. To be more specific, (11 stores the contents of the modified register in register R4.Next, one machine instruction in (2) stores the contents of this register R4 in the referenceable area, and stores the contents of the register R4 in the referenceable area pointer. Switch the referenceable processing information setting area pointed to by .

これにより、処理情報設定ルーチン4と、優先度の高い
割り込みルーチン6との間の排他制御を行う必要がなく
なり、割り込みルーチン6が待機させられることが無く
なる。
As a result, there is no need to perform exclusive control between the processing information setting routine 4 and the interrupt routine 6 having a high priority, and the interrupt routine 6 is no longer kept on standby.

が迅速に処理を行うことができる。can be processed quickly.

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

第1図は本発明の1実施例構戒図、第2図は本発明の具
体例説明図、第3図は本発明の要部動作説明フローチャ
ートを示す。 図中、LばMS、2は処理情報設定域、4は処理情報設
定ルーチン、6は割り込みルーチン、7ぱディスプレイ
、8はタブレソトを表す。
FIG. 1 is a structural diagram of one embodiment of the present invention, FIG. 2 is a diagram illustrating a specific example of the present invention, and FIG. 3 is a flowchart illustrating the operation of the main part of the present invention. In the figure, L represents MS, 2 represents a processing information setting area, 4 represents a processing information setting routine, 6 represents an interrupt routine, 7 represents a display, and 8 represents a tablet.

Claims (1)

【特許請求の範囲】 処理情報を管理する処理情報管理方式において、処理情
報を設定する複数の処理情報設定域のうちの参照可能域
ポインタによってポイントされていない処理情報設定域
に対して、依頼を受けた処理情報を設定した後、参照可
能域ポインタを1機械命令によって当該新たに設定した
処理情報設定域をポイントするように切り替える処理情
報設定ルーチン(4)と、 割り込みによって受け付けた入力データなどについて上
記参照可能域ポインタによってポイントされる処理情報
設定域に設定されている処理を行う割り込みルーチン(
6)とを備え、 処理情報設定域に設定した処理を行うように構成したこ
とを特徴とする処理情報管理方式。
[Claims] In a processing information management method for managing processing information, a request is made to a processing information setting area that is not pointed to by a referenceable area pointer among a plurality of processing information setting areas in which processing information is set. Processing information setting routine (4) that, after setting the received processing information, switches the referenceable area pointer to point to the newly set processing information setting area using one machine instruction, and input data accepted by interrupt. An interrupt routine (
6), and is configured to perform processing set in a processing information setting area.
JP01233798A 1989-09-07 1989-09-07 Processing information management system Expired - Fee Related JP3085308B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01233798A JP3085308B2 (en) 1989-09-07 1989-09-07 Processing information management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01233798A JP3085308B2 (en) 1989-09-07 1989-09-07 Processing information management system

Publications (2)

Publication Number Publication Date
JPH0395633A true JPH0395633A (en) 1991-04-22
JP3085308B2 JP3085308B2 (en) 2000-09-04

Family

ID=16960741

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01233798A Expired - Fee Related JP3085308B2 (en) 1989-09-07 1989-09-07 Processing information management system

Country Status (1)

Country Link
JP (1) JP3085308B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05225076A (en) * 1992-02-13 1993-09-03 Nec Corp Method and device for managing common information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62248040A (en) * 1986-04-22 1987-10-29 Mitsubishi Electric Corp Queue managing system
JPS648450A (en) * 1987-07-01 1989-01-12 Hitachi Ltd Task control device
JPH01173137A (en) * 1987-12-26 1989-07-07 Fujitsu Ltd Queue control system
JPH01197855A (en) * 1988-02-02 1989-08-09 Fujitsu Ltd File updating processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62248040A (en) * 1986-04-22 1987-10-29 Mitsubishi Electric Corp Queue managing system
JPS648450A (en) * 1987-07-01 1989-01-12 Hitachi Ltd Task control device
JPH01173137A (en) * 1987-12-26 1989-07-07 Fujitsu Ltd Queue control system
JPH01197855A (en) * 1988-02-02 1989-08-09 Fujitsu Ltd File updating processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05225076A (en) * 1992-02-13 1993-09-03 Nec Corp Method and device for managing common information

Also Published As

Publication number Publication date
JP3085308B2 (en) 2000-09-04

Similar Documents

Publication Publication Date Title
JP2001265609A (en) Arithmetic processor
JPH0395633A (en) Process information control system
JPS6263333A (en) Picture information controlling system
JPH03288906A (en) Instruction executing system for pc
JPH04205386A (en) Image data edit control method
JPH03154130A (en) Task switching system
JPS63268025A (en) Display system for operation guidance
JP2885631B2 (en) Operating system management device and operating system management method
JPS63293631A (en) Screen division controller
JPH03188531A (en) Time-division multitask executing device
JPH03282756A (en) Asynchronous input/output system
JPS63108448A (en) Input/output request control system
JPH0462093B2 (en)
JPH03223955A (en) Information processing system
JPH04114238A (en) Information processor
JPS61121153A (en) Inter-processor communication control system
JPS61253567A (en) Data input and output system
JPH0719196B2 (en) Multi-window device
JPS61157948A (en) Interrupt source analyzing device
JPH03182945A (en) Transfer system for data in main storage
JPH04153739A (en) Information processor
JPH0713778A (en) Device and method for process communication control
JPS60160466A (en) Device for controlling hierarchical sequence
JPS6349941A (en) Arithmetic processing unit
JPS63214806A (en) Programmable controller

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees