JP3085308B2 - Processing information management system - Google Patents
Processing information management systemInfo
- Publication number
- JP3085308B2 JP3085308B2 JP01233798A JP23379889A JP3085308B2 JP 3085308 B2 JP3085308 B2 JP 3085308B2 JP 01233798 A JP01233798 A JP 01233798A JP 23379889 A JP23379889 A JP 23379889A JP 3085308 B2 JP3085308 B2 JP 3085308B2
- Authority
- JP
- Japan
- Prior art keywords
- processing information
- area
- information setting
- routine
- setting
- 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 - Fee Related
Links
Description
【発明の詳細な説明】 〔概要〕 処理情報を管理する処理情報管理システムに関し、 処理情報設定域を複数設けて参照可能域をポイントす
るポインタを設け、空きの処理情報設定域に処理情報を
設定した後、ポインタを切り替え、割り込みルーチンと
処理情報設定ルーチンとの排他制御なしに、処理情報の
更新を可能にすることを目的とし、 処理情報を設定する複数の処理情報設定域のうちの参
照可能域ポインタによってポイントされていない処理情
報設定域に対して、依頼を受けた処理情報を設定した
後、参照可能域ポインタを当該新たに設定した処理情報
設定域をポイントするように切り替える処理情報設定ル
ーチンと、割り込みによって受け付けた入力データなど
について上記参照可能域ポインタによってポイントされ
る処理情報設定域に設定されている処理を行う割り込み
ルーチンとを備え、処理情報設定域に設定した処理を行
うように構成する。DETAILED DESCRIPTION OF THE INVENTION [Overview] Regarding a processing information management system for managing processing information, a plurality of processing information setting areas are provided, a pointer pointing to a referenceable area is provided, and processing information is set in an empty processing information setting area. After that, the pointer is switched and the processing information can be updated without the exclusive control of the interrupt routine and the processing information setting routine. A processing information setting routine that switches the referenceable area pointer to point to the newly set processing information setting area after setting the requested processing information for the processing information setting area not pointed to by the area pointer. And the processing information setting pointed to by the referenceable area pointer for the input data etc. received by the interrupt An interrupt routine for performing processing set in the processing information setting area, and performing processing set in the processing information setting area.
本発明は、処理情報を管理する処理情報管理システム
に関するものである。The present invention relates to a processing information management system that manages processing information.
従来、割り込み機能によって発生する事象を、処理情
報に従って処理するシステムは、発生した事象が割り込
みルーチンによって受け取られ、処理情報に従って処理
する。この際、処理情報は、処理情報設定ルーチンによ
って所定領域に設定する。このため、割り込みルーチン
と、処理情報設定ルーチンとの2つのルーチンが動作
し、割り込みルーチンの方が優先順位が高いために処理
情報設定ルーチンによる処理情報の設定途中に割り込み
ルーチンが制御を奪い、処理設定ルーチンの処理が一旦
中断してしまい、更新前の処理情報と、更新後の処理情
報とが混在してしまう恐れがあり、処理情報が保証され
ない。これを解決するために処理情報設定ルーチンがロ
ック命令を発行して処理情報域の内容を更新中に割り込
みによって割り込みルーチンが起動されると、処理情報
設定ルーチンの処理が終了するまで待たされてしまい、
非同期による割り込み処理の高速性に欠けてしまうとい
う問題があった。2. Description of the Related Art 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. For this reason, two routines, an interrupt routine and a processing information setting routine, operate. Since the interrupt routine has higher priority, the interrupt routine takes control during the setting of the processing information by the processing information setting routine, and 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, if the processing information setting routine issues a lock command to update the contents of the processing information area and the interrupt routine is started by an interrupt, the processing information setting routine waits until the processing is completed. ,
There is a problem that the asynchronous interrupt processing lacks in high speed.
本発明は、処理情報設定域を複数設けて参照可能域を
ポイントするポインタを設け、空きの処理情報設定域に
処理情報を設定した後、ポインタを切り替え、割り込み
ルーチンと処理情報設定ルーチンとの排他制御なしに、
処理情報の更新を可能にすることを目的としている。According to the present invention, a plurality of processing information setting areas are provided, a pointer for pointing to a referenceable area is provided, processing information is set in an empty processing information setting area, the pointer is switched, and the interrupt routine and the processing information setting routine are mutually exclusive. Without control,
The purpose is to enable updating of processing information.
第1図を参照して課題を解決する手段を説明する。 Means for solving the problem will be described with reference to FIG.
第1図において、処理情報設定ルーチン4は、処理情
報を設定する複数の処理情報設定域のうちの参照可能域
ポインタによってポイントされていない処理情報設定域
に処理情報を設定した後、参照可能域ポインタを当該新
たに設定した処理情報設定域をポイントするように切り
替えるルーチンである。In FIG. 1, a processing information setting routine 4 sets processing information in a processing information setting area which is not pointed to by a referenceable area pointer among a plurality of processing information setting areas for setting processing information, and then sets a referenceable area. This is a routine for switching the pointer so as to point to the newly set processing information setting area.
割り込みルーチン6は、割り込みによって受け付けた
入力データなどについて参照可能域ポインタによってポ
イントされる処理情報設定域に設定されている処理を行
わせる割り込みルーチンである。The interrupt routine 6 is an interrupt routine for performing processing set in the processing information setting area pointed to by the referenceable area pointer for input data and the like accepted by the interrupt.
本発明は、第1図に示すように、処理情報設定ルーチ
ン4が処理情報を設定する複数の処理情報設定域のうち
の参照可能域ポインタによってポイントされていない処
理情報設定域に処理情報を設定した後、参照可能域ポン
インタを当該新たに設定した処理情報設定域をポイント
するように切り替え、割り込みルーチン6が割り込みに
よって受け付けた入力データなどについて参照可能域ポ
インタによってポイントされる処理情報設定域に設定さ
れている処理を行わせるようにしている。In the present invention, as shown in FIG. 1, the processing information setting routine 4 sets processing information in a processing information setting area not pointed to by a referenceable area pointer among a plurality of processing information setting areas in which processing information is set. After that, the referable area pointer is switched so as to point to the newly set processing information setting area, and the input data and the like accepted by the interrupt routine 6 by the interrupt are set in the processing information setting area pointed to by the referable area pointer. The processing that is being performed is performed.
従って、処理情報設定ルーチン4が処理情報設定域を
切り替えて処理情報の更新を行うことにより、処理情報
設定ルーチン4と、最も優先度の高い割り込みルーチン
6との間の排他制御が不要となると共に、割り込みルー
チン6が迅速に処理を行うことが可能となる。Therefore, the processing information setting routine 4 switches the processing information setting area to update the processing information, thereby eliminating the need for exclusive control between the processing information setting routine 4 and the interrupt routine 6 having the highest priority. , The interrupt routine 6 can quickly perform the processing.
次に、第1図から第3図を用いて本発明の1実施例の
構成および動作を順次詳細に説明する。Next, the configuration and operation of one embodiment of the present invention will be sequentially described in detail with reference to FIGS.
第1図(イ)において、MS(主記憶装置)1は、2な
いし6の情報およびプログラムを格納するメモリであ
る。In FIG. 1A, an MS (main storage device) 1 is a memory for storing 2 to 6 pieces of information and programs.
処理情報設定域2は、処理情報を設定する領域である
(第1図(ロ)を用いて後述する)。The processing information setting area 2 is an area for setting processing information (described later with reference to FIG. 1 (b)).
OS(オペレーティングシステム)3は、システムを制
御する制御プログラムである。The OS (Operating System) 3 is a control program for controlling the system.
処理情報設定ルーチン4は、処理情報を処理情報設定
域2に設定するものである(第3図を用いて詳細に説明
する)。The processing information setting routine 4 is for setting processing information in the processing information setting area 2 (described in detail with reference to FIG. 3).
IOスーパバイザ5は、IO(入出力)を制御する制御プ
ログラムである。The IO supervisor 5 is a control program for controlling IO (input / output).
割り込みルーチン6は、非同期の割り込みによって起
動されるルーチンである。The interrupt routine 6 is a routine started by an asynchronous interrupt.
ディスプレイ7は、各種情報を表示するディスプレイ
である。The display 7 is a display for displaying various information.
タブレット8は、各種情報を入力するものである。 The tablet 8 is for inputting various information.
CPU(中央処理装置)9は、MS1上に格納したプログラ
ムをもとに各種制御を行うものである。The CPU (central processing unit) 9 performs various controls based on programs stored on the MS 1.
第1図(ロ)は、処理情報設定域を示す。 FIG. 1B shows a processing information setting area.
第1図(ロ)において、処理情報設定域1、2は、処
理情報を設定する複数の領域である。In FIG. 1 (b), processing information setting areas 1 and 2 are a plurality of areas for setting processing information.
参照可能域ポインタは、参照可能な有意な処理情報の
設定されている処理情報設定域1、2をポイントするポ
インタである。この参照可能域ポインタは、処理情報設
定ルーチン4が空きの処理情報設定域1、2に処理情報
を設定した後、切り替えるようにしている。The referenceable area pointer is a pointer that points to the processing information setting areas 1 and 2 in which significant processing information that can be referred to is set. The referable area pointer is switched after the processing information setting routine 4 sets processing information in the empty processing information setting areas 1 and 2.
次に、第2図を用いて本発明の全体の動作を具体的に
説明する。Next, the overall operation of the present invention will be specifically described with reference to FIG.
第2図において、、は、アプリ(応用プログラ
ム)が 処理1:入力データをキューイングする。In FIG. 2, the application (application program) queues processing 1: input data.
処理2:入力データをすてる。 Process 2: Save input data.
のうちの処理1を選び、処理情報設定ルーチン4に設定
依頼する。Is selected, and a setting request is made to the processing information setting routine 4.
は、処理情報設定ルーチン4が処理情報設定域2に
依頼を受けた“処理1"、“入力情報格納域アドレス”を
設定する。Sets "process 1" and "input information storage area address" requested by the processing information setting routine 4 in the processing information setting area 2.
また、、、は、オペレータによるボタン押下に対
応して割り込みが発生し、割り込みルーチン6が起動さ
れる。In addition, an interrupt occurs in response to a button press by the operator, and the interrupt routine 6 is started.
は、割り込みルーチン6が入力データ(例えば座標
値など)を取り込む。The interrupt routine 6 captures input data (for example, coordinate values).
は、処理情報の参照を行う。ここで、処理1、入力
情報格納域アドレスを読み出す。Refers to processing information. Here, processing 1, the input information storage area address is read.
は、処理が処理1が、その他かを判別する。 Determines whether the processing is processing 1 or other.
は、処理1に対応して、入力情報格納域アドレスか
ら入力データを取り込み、キューイングする。Fetches input data from the input information storage area address and queues the data, corresponding to the processing 1.
は、アプリが入力データに対する処理、例えば座標
値をもとにマーカをディスプレイ7に表示などする。The application processes the input data, for example, displays a marker on the display 7 based on the coordinate values.
以上の処理において、処理情報設定ルーチン4がアプ
リから依頼を受けた処理情報を処理情報設定域2に設定
する際に、空きの処理情報設定域にこの処理内容を設定
した後、参照可能域ポインタを当該新たに設定した処理
情報設定域をポイントさせて参照可能に切り替えること
により、優先度の高い割り込みルーチン6と、処理情報
設定ルーチン4との排他制御を不要とし、高速に割り込
みルーチン6による処理を行わせることが可能となる。In the above processing, 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 is set. Is pointed to the newly set processing information setting area so as to be referred to, thereby eliminating the need for exclusive control between the interrupt routine 6 having a higher priority and the processing information setting routine 4 and enabling the processing by the interrupt routine 6 at high speed. Can be performed.
次に、第3図を用いて処理情報を処理情報設定域2に
設定する動作を第1図(ロ)を参照して詳細に説明す
る。Next, the operation of setting the processing information in the processing information setting area 2 will be described in detail with reference to FIG.
第3図において、は、参照可能域はいずれかを判別
する。これは、第1図(ロ)において、参照可能域ポイ
ンタが0(処理情報設定域をポイントしていない)ある
いは2(処理情報設定域2をポイントしている)か、ま
たは参照可能域ポインタが1(処理情報設定域1をポイ
ントしている)かを判別する。In FIG. 3, one of the referenceable areas is determined. This is because the referenceable area pointer is 0 (not pointing to the processing information setting area) or 2 (pointing to the processing information setting area 2) in FIG. 1 (pointing to the processing information setting area 1).
は、参照可能領域が0あるいは2の場合、空きの処
理情報設定域である“1"を変更テーブル番号に設定す
る。Sets “1”, which is an empty processing information setting area, to the change table number when the referable area is 0 or 2.
は、参照可能領域が1の場合、空きの処理情報設定
域である“2"を変更テーブル番号に設定する。Sets the vacant processing information setting area “2” as the change table number when the referenceable area is 1.
は、変更テーブル番号が示す処理情報設定域の内容
(例えば処理、入力情報格納域アドレス)を更新する。
これは、、で変更テーブル番号に設定した空きの処
理情報設定域に対して、アプリから依頼を受けた内容を
書き込む(更新、設定する)。Updates the contents of the processing information setting area indicated by the change table number (for example, processing, input information storage area address).
This means that the content requested by the application is written (updated and set) in the empty processing information setting area set in the change table number.
は、参照可能域に変更テーブル番号を設定する。こ
れは、右側に示すように L R4,変更テーブル・・・・・・・・・(1) ST R4,参照可能域・・・・・・・・・(2) によって、参照可能域ポインタを切り替える。具体的に
説明すれば、(1)によって変更ーブルの内容をレジス
タR4に格納する。次に、(2)の1機械命令でこのレジ
スタR4の内容を参照可能域に格納し、参照可能域ポイン
タからポイントされる参照可能な処理情報設定域を切り
替える。これにより、処理情報設定ルーチン4と、優先
度の高い割り込みルーチン6との間の排他制御を行う必
要がなくなり、割り込みルーチン6が待機させられるこ
とが無くなる。Sets the change table number in the referenceable area. This is because, as shown on the right side, L R4, change table... (1) ST R4, referenceable area... Switch. More specifically, the contents of the change table are stored in the register R4 according to (1). Next, the content of this register R4 is stored in the referable area by one machine instruction of (2), and the referable processing information setting area pointed to by the referable area pointer is switched. As a result, there is no need to perform exclusive control between the processing information setting routine 4 and the interrupt routine 6 with a high priority, and the interrupt routine 6 does not need to wait.
以上説明したように、本発明によれば、処理情報設定
ルーチン4が処理情報設定域を切り替えて処理情報の更
新を行う構成を採用しているため、処理情報設定ルーチ
ン4と、最も優先度の高い割り込みルーチン6との間の
排他制御が不要となると共に、割り込みルーチン6が迅
速に処理を行うことができる。As described above, according to the present invention, since the processing information setting routine 4 adopts a configuration in which the processing information setting area 4 switches the processing information setting area and updates the processing information, the processing information setting routine 4 and the processing information setting routine 4 have the highest priority. The exclusive control with the high interrupt routine 6 is not required, and the interrupt routine 6 can perform the processing quickly.
第1図は本発明の1実施例構成図、第2図は本発明の具
体例説明図、第3図は本発明の要部動作説明フローチャ
ートを示す。 図中、1はMS、2は処理情報設定域、4は処理情報設定
ルーチン、6は割り込みルーチン、7はディスプレイ、
8はタブレットを表す。FIG. 1 is a block diagram of one embodiment of the present invention, FIG. 2 is an explanatory view of a specific example of the present invention, and FIG. In the figure, 1 is MS, 2 is a processing information setting area, 4 is a processing information setting routine, 6 is an interrupt routine, 7 is a display,
8 represents a tablet.
Claims (1)
チンよりも優先度の高い割り込みルーチンにより処理さ
れる処理情報を管理する処理情報管理システムにおい
て、 処理情報を設定する領域が多重化された処理情報設定域
群と、 当該処理情報設定域群のうち、現在有効な処理情報設定
域を指示する指示手段と、 当該指示手段を変更することなく、当該指示領域以外の
処理情報設定域に、処理情報設定ルーチンによる処理情
報の設定をする設定手段と、 当該設定の終了後、前記指示を当該設定された処理情報
設定域に変更する変更手段と、 指示手段の指示する処理情報設定域の処理情報に基づ
き、前記割り込みルーチンによる処理を行う処理手段と を有することを特徴とする処理情報管理システム。In a processing information management system for managing processing information processed by a processing information setting routine and an interrupt routine having a higher priority than the processing information setting routine, processing information in which an area for setting processing information is multiplexed is provided. A setting area group; instruction means for indicating a currently valid processing information setting area in the processing information setting area group; and processing information setting areas other than the instruction area without changing the instruction means. Setting means for setting processing information according to a setting routine; changing means for changing the instruction to the set processing information setting area after completion of the setting; and processing information in the processing information setting area specified by the instruction means. And a processing unit for performing a process according to the interrupt routine.
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 JPH0395633A (en) | 1991-04-22 |
| JP3085308B2 true 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) |
Families Citing this family (1)
| 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 |
Family Cites Families (4)
| 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 |
-
1989
- 1989-09-07 JP JP01233798A patent/JP3085308B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0395633A (en) | 1991-04-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3659062B2 (en) | Computer system | |
| JPS61206043A (en) | Interrupt control method in virtual computer system | |
| JPH0642137B2 (en) | Display information processing device | |
| JP3085308B2 (en) | Processing information management system | |
| JP3005626B2 (en) | Data processing system and data transfer method | |
| JPH01124042A (en) | Line control system in virtual computer system | |
| JPS6349945A (en) | Process roll-in system for data processor | |
| JPS603229B2 (en) | Information processing method | |
| JPH0245207B2 (en) | ||
| JP2522047B2 (en) | Programmable controller for device control | |
| JP2763657B2 (en) | Figure database management method | |
| JPH10105212A (en) | Display control system | |
| JPS63293631A (en) | Screen division controller | |
| JPH03288906A (en) | Instruction executing system for pc | |
| JP2885631B2 (en) | Operating system management device and operating system management method | |
| JP3022398B2 (en) | Virtual computer system | |
| JPH03188531A (en) | Time-division multitask executing device | |
| JPS6339027A (en) | multi window device | |
| JPS63268025A (en) | Operation guidance display method | |
| JPH0486923A (en) | Task management controlling system | |
| JPS62152032A (en) | information processing equipment | |
| JPH03154130A (en) | Task switching system | |
| JPH04153739A (en) | Information processor | |
| JPS63108448A (en) | Input/output request control system | |
| JPS5850381B2 (en) | Step control method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |