[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JPS62293451A - Operating system for queue file - Google Patents

Operating system for queue file

Info

Publication number
JPS62293451A
JPS62293451A JP61137382A JP13738286A JPS62293451A JP S62293451 A JPS62293451 A JP S62293451A JP 61137382 A JP61137382 A JP 61137382A JP 13738286 A JP13738286 A JP 13738286A JP S62293451 A JPS62293451 A JP S62293451A
Authority
JP
Japan
Prior art keywords
storage device
queue
contents
reference frequency
whose reference
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
JP61137382A
Other languages
Japanese (ja)
Inventor
Katsuaki Nishioka
西岡 克明
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 JP61137382A priority Critical patent/JPS62293451A/en
Publication of JPS62293451A publication Critical patent/JPS62293451A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To realize a correction of the use efficiency of a memory and a processing speed of a queue file by allowing a main storage device to have the contents whose reference frequency is high in a queue element, and allowing an auxiliary storage device to have the contents whose reference frequency is low. CONSTITUTION:By a program which has been stored in a advance in a storage device 4, or a program which is inputted through an input/output terminal 5, the collected contents are divided into the contents whose reference frequency is high and the contents whose reference frequency is low. In case of using said contents as a queue R and executing the enqueuing, the contents 11B whose reference frequency is high in a queue element are put into a main storage device 1, the contents whose reference frequency of low are written in an auxiliary storage device 2 which is mainly composed of a disk device, etc., and information for indexing at this time is put as access information 11A in the main storage device 1 in the same way.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔産業上の利用分野〕 本発明はキューファイル操作方式に関し、特にキューエ
レメントのうち参照頻度の高い内容と参照頻度の低い内
容とを別々の記憶装置に収容する電子計算機のキューフ
ァイル操作方式に関する。
[Detailed Description of the Invention] 3. Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a queue file operation method, and in particular, the present invention relates to a queue file operation method, in particular, a method for separating frequently referenced content and low reference content of queue elements separately. This invention relates to a queue file operation method for an electronic computer stored in a storage device.

〔従来の技術〕[Conventional technology]

従来、この種のキー−ファイル操作方式は、主記憶装置
に全てのキューエレメントを収容するか、Jし 補助記憶装置全てのキューエレメントを持つかいずれか
の方式が採用されていた。
Conventionally, this type of key-file operation system has adopted either a system in which all queue elements are stored in the main storage device, or a system in which all queue elements are stored in the auxiliary storage device.

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

上述した従来のキー−ファイルの操作方式のうち、主記
憶装置に全てのキューエレメントを収容する方式では主
記憶装置の容量によりキューファイルの大きさが制限さ
れ、補助記憶装置に全てのエレメントを収容する方式で
はアクセスタイムが長く処理速度が遅いという欠点があ
る。
Among the conventional key-file operation methods described above, in the method of accommodating all queue elements in the main memory, the size of the queue file is limited by the capacity of the main memory, and all elements are accommodated in the auxiliary memory. The disadvantage of this method is that the access time is long and the processing speed is slow.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

本発明のキューファイル操作方式は、電子計算機のキュ
ーファイル操作方式において、キューエレメント中の参
照頻度の高い内容と前記キューエレメント中の参照頻度
の低い内容のアクセス情報とを収容する主記憶装置と、
前記キューエレメント中の参照頻度の低い内容を収容す
る補助記憶装置とを備えて構成される。
A cue file operation method of the present invention is a cue file operation method for an electronic computer, comprising: a main storage device that stores access information for frequently referenced content in a queue element and access information for infrequently referenced content in the queue element;
and an auxiliary storage device that accommodates content that is referenced with low frequency in the cue element.

〔実施例〕〔Example〕

次に、本発明について実施例を示す図面を参照して詳細
に説明する。
Next, the present invention will be described in detail with reference to drawings showing embodiments.

第1図は本発明の一実施例の構造を示すブロック図、第
2図は本発明の一実施例の作動を示すフローチャート図
である。第1図を見るに本実施例は、主記憶装置1と、
補助記憶装置2と、処理装↓ 置3と、記憶装置4と、入出力端末とを備えデータバス
100で接続されている。
FIG. 1 is a block diagram showing the structure of one embodiment of the present invention, and FIG. 2 is a flowchart showing the operation of one embodiment of the present invention. As shown in FIG. 1, this embodiment has a main storage device 1,
It includes an auxiliary storage device 2, a processing device 3, a storage device 4, and an input/output terminal, which are connected by a data bus 100.

本発明はデータ処理に先立ってエンキューするキューエ
レメントのうち、参照頻度の高い内容と参照頻度の低い
内容とに分割して、たとえば参照頻度の高い内容11B
・12Bと参照頻度の低い内容のアクセス情報11A・
12Aとを主記憶装置1に、参照頻度の低い内容を示す
キューR21とキュー822を補助記憶装置2に、それ
ぞれ収容するようにしたものである。
The present invention divides queue elements to be enqueued prior to data processing into frequently referenced contents and lowly referenced contents.
・Access information 12B and content with low reference frequency 11A・
12A is stored in the main storage device 1, and a queue R21 and a queue 822 indicating contents that are less frequently referenced are stored in the auxiliary storage device 2, respectively.

あらかじめ入出力端末5を通して、または直接に、プロ
グラムを記憶装置4!/C記憶せしめ、処理装置3の制
御に基いて、データ処理のためのキュを、入出力端末5
からエンキューする。第1図によれば、キューはキュー
R11とキュー812と2個入っているが、データ処理
の内容に従って、単数でも複数でも差支えない。また、
入出力端末5は、通信端末51と、記憶容量が大きいア
クセスタイムの長い磁気テープ装置などを主体とする記
憶装置52と、アクセスタイムの短い磁気ディスク装置
などを主体とする記憶装置53とを備えており、外部シ
ステム等とのデータの入出力を通信端末51を通して行
ない記憶装置52・53に一旦格納されるかまたは直接
に主記憶装置1もしくは補助記憶装置2に入力する。さ
らに、あらかじめ記憶装置52・53に格納されている
データの利用もできる。
The program is stored in advance through the input/output terminal 5 or directly on the storage device 4! /C storage, and based on the control of the processing device 3, the queue for data processing is sent to the input/output terminal 5.
Enqueue from. According to FIG. 1, there are two queues, queue R11 and queue 812, but it may be singular or plural depending on the content of data processing. Also,
The input/output terminal 5 includes a communication terminal 51, a storage device 52 mainly including a magnetic tape device with a large storage capacity and a long access time, and a storage device 53 mainly including a magnetic disk device with a short access time. Data is input/output to and from external systems etc. through the communication terminal 51 and is temporarily stored in the storage devices 52 and 53, or directly input to the main storage device 1 or the auxiliary storage device 2. Furthermore, data stored in advance in the storage devices 52 and 53 can also be used.

かような構成のもとで、記憶装置4にあらかじめ格納さ
れているプログラムまたは入出力端末5を通して入力さ
れるプログラムにより、集められた内容(データのみな
らずサブプログラムを含むときがある)を、参照頻度の
高い内容と参照頻度の低い内容とに分割する。これをキ
ューRとしてエンキューする場合、キューエレメント中
の参照頻度の高い内容11Bを主記憶装置1に置き、参
照頻度の低い内容をディスク装置などを主体とする補助
記憶装置2に書込み、この時の索引のための情報を、ア
クセス情報11Aとして同じく主記憶装置1に置く。
Under such a configuration, the contents (sometimes including not only data but also subprograms) collected by a program stored in advance in the storage device 4 or a program input through the input/output terminal 5 are Divide into frequently referenced content and less frequently referenced content. When enqueuing this as queue R, the frequently referenced content 11B in the queue element is placed in the main storage device 1, and the less frequently referenced content is written to the auxiliary storage device 2, which is mainly a disk device. Information for the index is also stored in the main storage device 1 as access information 11A.

キューRをデキ一する場合、主記憶装置1の上の内容を
読出し、てこの中に参照頻度が高い内容11Bのみが存
在すれば、読出した内容を参照し、アクセス情報がある
ときは、これを参照して補助記憶装置2をアクセスする
When dequeuing the queue R, the contents on the main storage device 1 are read out, and if only the frequently referenced contents 11B exists in the lever, the read contents are referred to, and if there is access information, this is used. The auxiliary storage device 2 is accessed by referring to .

キューkを再びエンキューする場合は、デキューした主
記憶装置1の内容を集めてそのまま主記憶装量1にエン
キューする。キー−8の場合も同様の作動をする。
When enqueuing the queue k again, the dequeued contents of the main memory device 1 are collected and enqueued to the main memory capacity 1 as they are. The same operation is performed for key-8.

次に、本実施例の作動について説明する。Next, the operation of this embodiment will be explained.

まず、データ処理に先立ってキューエレメントをエンキ
ューし、主記憶装置1上のキューエレメントを読出して
デキュー処理を行う(ステップ■)。
First, prior to data processing, a queue element is enqueued, the queue element on the main storage device 1 is read out, and dequeue processing is performed (step 2).

このとき参照する内容が主記憶装置1上のキューエレメ
ントのみでよいかをチェックする(ステップ■)。主記
憶装置1上のキューエレメントのみでよい場合は、プロ
グラムに示されたデータの処理を行う(ステップ■)。
At this time, it is checked whether the content to be referred to is only the queue element on the main storage device 1 (step 2). If only the queue elements on the main storage device 1 are required, the data indicated in the program is processed (step 2).

しかし、主記憶装置1上のキー−エレメント以外の内容
が必要の場合は補助記憶装置3からのキューエレメント
の読出しを行い(ステップ■)、続いてデータの処理を
行う(ステップ■)。また、プログラムを参照して主記
憶装置l上のキューをさらに使う必要があるかどうかを
チェックして(ステップ■)、再度のエンキューが不要
であればここで作動は終了し、必要がある場合は主記憶
装許上のキューと同一のエレメントのみを入出力端末な
どから次のキューエレメントとしてエンキューして(ス
テップ■)、ふたたびデータ処理を行って(ステップ■
)、再度のエンキューが不要となるまで繰返し作動を終
了する。
However, if contents other than the key elements on the main storage device 1 are required, the queue elements are read from the auxiliary storage device 3 (step 2), and then the data is processed (step 2). Also, refer to the program and check whether it is necessary to further use the queue on the main memory (step ■), and if re-enqueue is not necessary, the operation ends here, and if it is necessary, enqueues only the same element as the queue on the main memory as the next queue element from the input/output terminal (step ■), and processes the data again (step ■
), the repeat operation ends until enqueuing is no longer necessary.

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

エレメント中の参照頻度の低い内容を補助記憶装置に持
つことにより、主記憶装置の容量に比較的制限されずア
クセス速度を高速化できるので、メモリの使用効率とキ
ューファイル処理速度を適正化できるという効果がある
By storing infrequently referenced content in elements in auxiliary storage, access speeds can be increased without being relatively limited by the capacity of main storage, making it possible to optimize memory usage efficiency and queue file processing speed. effective.

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

第1図は本発明の一実施例の構成を示すブロック図、第
2図は本発明の一実施例の作動を示すフローチャート。 1・・・・・・主記憶装置、2・・・・・・補助記憶装
置、3・・・・・・処理装置、4・・・・・・記憶装置
、5・・・・・・入出力端末。 第10
FIG. 1 is a block diagram showing the configuration of an embodiment of the invention, and FIG. 2 is a flowchart showing the operation of the embodiment of the invention. 1...Main storage device, 2...Auxiliary storage device, 3...Processing device, 4...Storage device, 5...Input Output terminal. 10th

Claims (1)

【特許請求の範囲】[Claims] 電子計算機のキューファイル操作方式において、キュー
エレメント中の参照頻度の高い内容と前記キューエレメ
ント中の参照頻度の低い内容のアクセス情報とを収容す
る記憶装置と、前記キューエレメント中の参照頻度の低
い内容を収容する補助記憶装置とを備えてなることを特
徴とするキューファイル操作方式。
In a cue file operation method for an electronic computer, a storage device that stores access information for frequently referenced content in a queue element and infrequently referenced content in the queue element, and infrequently referenced content in the queue element. and an auxiliary storage device accommodating the queue file operation method.
JP61137382A 1986-06-12 1986-06-12 Operating system for queue file Pending JPS62293451A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61137382A JPS62293451A (en) 1986-06-12 1986-06-12 Operating system for queue file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61137382A JPS62293451A (en) 1986-06-12 1986-06-12 Operating system for queue file

Publications (1)

Publication Number Publication Date
JPS62293451A true JPS62293451A (en) 1987-12-21

Family

ID=15197378

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61137382A Pending JPS62293451A (en) 1986-06-12 1986-06-12 Operating system for queue file

Country Status (1)

Country Link
JP (1) JPS62293451A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06332799A (en) * 1993-05-26 1994-12-02 Nec Corp Tree information storage system
JPH07160579A (en) * 1993-12-09 1995-06-23 Nec Corp Secondary memory device record allocation system in virtual memory device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6057441A (en) * 1983-09-08 1985-04-03 Fujitsu Ltd Cue control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6057441A (en) * 1983-09-08 1985-04-03 Fujitsu Ltd Cue control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06332799A (en) * 1993-05-26 1994-12-02 Nec Corp Tree information storage system
JPH07160579A (en) * 1993-12-09 1995-06-23 Nec Corp Secondary memory device record allocation system in virtual memory device

Similar Documents

Publication Publication Date Title
US5027330A (en) FIFO memory arrangement including a memory location fill indication
CN111124641B (en) Data processing method and system using multithreading
US20020144099A1 (en) Hardware architecture for fast servicing of processor interrupts
KR100902765B1 (en) First-in, first-out memory system and method thereof
US7266650B2 (en) Method, apparatus, and computer program product for implementing enhanced circular queue using loop counts
GB1207169A (en) Information processing system
JPS62293451A (en) Operating system for queue file
US5343557A (en) Workstation controller with full screen write mode and partial screen write mode
US7035908B1 (en) Method for multiprocessor communication within a shared memory architecture
US6886159B2 (en) Computer system, virtual machine, runtime representation of object, storage media and program transmission apparatus
JP7481167B2 (en) Compressed data decompression system, memory system, and data decompression method
JPH08235042A (en) Multi-hournal batch acquisition systm
US6081869A (en) Bit-field peripheral
CN116208573B (en) Data processing method, device, electronic equipment and storage medium
KR102531613B1 (en) Method for reducing read ports and accelerating decompression in memory systems
JPS6269321A (en) Process switching system
KR100557561B1 (en) First in First out storage device
JPH02277120A (en) Queue control system for printer output
JPS5999552A (en) Microcomputer
JP2689490B2 (en) Receive buffer controller
CN116662248A (en) Multi-CPU communication system and method, electronic device, and storage medium
CN115344515A (en) Method for realizing access control, on-chip computing system and chip
JPH0458355A (en) Interface control circuit
JPH02189627A (en) Access circuit for data memory
JPH0273747A (en) Circuit controlling exchange processing waiting queue with priority