JPS62248040A - Queue managing system - Google Patents

Queue managing system

Info

Publication number
JPS62248040A
JPS62248040A JP9119386A JP9119386A JPS62248040A JP S62248040 A JPS62248040 A JP S62248040A JP 9119386 A JP9119386 A JP 9119386A JP 9119386 A JP9119386 A JP 9119386A JP S62248040 A JPS62248040 A JP S62248040A
Authority
JP
Japan
Prior art keywords
record
factor
dequeuing
queue
time
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
JP9119386A
Other languages
Japanese (ja)
Inventor
Hiroshi Shimada
島田 弘志
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP9119386A priority Critical patent/JPS62248040A/en
Publication of JPS62248040A publication Critical patent/JPS62248040A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To increase the degree of freedom of a queue, and to make it have the extendability of a use condition, by eliminating that which has other advance factor, at the time of the rearrangement of a dequeuing sequence by the priority of a factor and the generation of a specific factor. CONSTITUTION:At the time of enqueuing, whether a dead record exists in record managing information or not is detected by a record managing part 4, and when the dead record is detected, write of a data is executed. In this case, from the factor of the existing record, the factor of a new record, and factor defining information, a dequeuing sequence number is rewritten by the latest priority. As for how to give this sequence number, in this case, it is set as an ascending power order. Also, at the time of dequeuing, the maximum value to 1-(n+1) except zero of a dequeuing sequence number 4-1 is retrieved by the record managing part 4, and when all are zero, no registration is decided and the dequeuing is ended, otherwise, the record managing information concerned is read, the managing part concerned is cleared to zero and the dequeuing is ended.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、ディスクメモリや他のメモリエリア上でコ
ンピュータ処理の待行列を持几せる場合に使用されるキ
ューファイルを管理するキュー管理方式に関するもので
ある。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a queue management method for managing queue files used when maintaining queues for computer processing on disk memory or other memory areas. It is something.

〔従来の技術〕[Conventional technology]

従来のこの種キュー管理方式におけるキューデータファ
イルの構成として例えば、神奈川系防災行政無線ソフト
ウェア仕様書(P391.1985年10月発行)の第
3図に示すものが6つ次。図において、1はレコード格
納領域、2は登録情報で管理情報としての登録数(2−
1)、デキー一時の対fJ し==−ド位置を示すリー
ドポインタ(2−2)。
For example, the structure of the queue data file in this kind of conventional queue management system is shown in Figure 3 of the Kanagawa System Disaster Prevention Administrative Radio Software Specification (P391, published October 1985). In the figure, 1 is the record storage area, 2 is the registration information, and the number of registrations (2-
1), a read pointer (2-2) indicating the pair fJ ==- dekey position.

とエンキュ一時の対象レコード位置を示すライトポイン
タ(2−3)とがらなっている。
and a write pointer (2-3) indicating the position of the record to be temporarily enqueued.

次に第4図を参照して動作について説明する。Next, the operation will be explained with reference to FIG.

図は従来のキュー管理方式におけるエンキュー。The figure shows enqueue in the conventional queue management method.

デキューのステップを示し次もので、同IF[alはエ
ンキュ一時、同図fblはデキュ一時の管理手順である
。まず、エンキュ一時には要因の登録数(2−1)を登
録オーバーか否かチェックし、所定の容量に達し几場合
は登録不能と判断して終了する(ST−1)。ま九、容
量に空きがある場合にはライトポインタで示されるレコ
ードに瞥き込みを行ない(ST−2)、ライトポインタ
、登録数の各々を+1して終了する(ST−3”)。ま
た、デキュ一時には第4図(blの様に登録情報2の中
から登録数(2−1)の有無を確認し登録数−〇であれ
ば終了としく5T−1)、ま友登録数有シの時には、リ
ードポインタ(2−2”)で示されるレコードの読み込
みを行ない(ST−2)、リードポインタ(2−2)を
+1、登録a(2−1>を−1して終了とする(ST3
)。
The steps of dequeue are shown below, where IF[al is the enqueue temporary management procedure and fbl in the figure is the dequeue temporary management procedure. First, at the time of enqueue, the number of registered factors (2-1) is checked to see if it is over-registered, and if the predetermined capacity is reached, it is determined that registration is impossible and the process ends (ST-1). 9. If there is free space, the record indicated by the write pointer is glanced over (ST-2), the write pointer and the number of registrations are each incremented by 1 (ST-3''), and the process ends (ST-3''). , At the time of decoding, check the presence or absence of the number of registrations (2-1) from the registration information 2 as shown in Figure 4 (BL), and if the number of registrations is -0, the end is 5T-1). At the time of ``,'' read the record indicated by the read pointer (2-2'') (ST-2), add 1 to the read pointer (2-2), -1 to registration a (2-1>), and finish. Do (ST3
).

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

従来のキュー管理方式では以上のように行われているの
でエンキューされ皮類にデ′#ニーされろ方式でbつ次
ため、時系列の処理にしか適さないという点で7レキシ
ビリテイーを欠くという問題点があった〇 この発明は、上記のような問題点を解消する几めになさ
れ友もので、従来の時系列的プライオリティ(優先I!
l)管理から、更に要因によるプライオリティ管理へと
機能全拡張できるキュー管理方式を得ることを目的とす
る。
In the conventional queue management method, which is performed as described above, it is enqueued and de-needed in order of b times, so it lacks flexibility in that it is only suitable for time-series processing. This invention has been carefully designed to solve the above-mentioned problems, and it has been developed to replace the conventional chronological priority (priority I!) method.
l) The objective is to obtain a queue management method that can be fully expanded in functionality from management to priority management based on factors.

〔問題点上解決する友めの手段〕[Friendly means to solve problems]

この発明に係るキュー管理方式は従来のポインタ方式の
かわシに、要因ごとのデキューブライオリティ情報から
なる要因定義部と、レコードごとのデキーー順序番号、
及びユーザが任意に使用する要因番号とからなるレコー
ド管理部とを登録情報とし、キューの管理を行なうよう
にしたものである。
In addition to the conventional pointer method, the queue management method according to the present invention includes a factor definition section consisting of decube priority information for each factor, a dekey sequence number for each record, and a dekey sequence number for each record.
and a record management section consisting of a factor number arbitrarily used by the user as registered information, and the queue is managed.

〔作 用〕[For production]

この発明におけるキュー管理方式は、エンキュー側での
意図的操作によりデキュー順列を任意に変更すること全
可能にする。
The queue management method according to the present invention makes it possible to arbitrarily change the dequeue order by intentional operation on the enqueue side.

〔実施例〕〔Example〕

以下、この発明の一実施例全図について説明する。図中
第3図と同一の部分蝶同−の符号上もって図示し友第1
図において、図はこの発明によるキューファイルの構成
例を示すもので、キ瓢−フアイルはレコード格納f!l
s1と登録情報2とから構成されている。そして登録情
報2は要因定義部3とレコード管理部4とからfit#
)、更に要因定義部3は、発生要因ごとのデキューブラ
イオリティを定義する要因プライオリティ(3−1)と
レコードごとのデキーー順序番号を登録するデキュー順
序番号1〜n+1.(41)とユーザが任意に使用する
要因番号(4−2)とが格納されるレコード管理部4と
からなっている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The entire drawings of an embodiment of the present invention will be described below. In the figure, the same parts as in Figure 3 are shown with the same reference numbers as in Figure 3.
In the figure, the figure shows an example of the structure of a cue file according to the present invention, and the file is a record storage f! l
It consists of s1 and registration information 2. Then, the registered information 2 is sent from the factor definition section 3 and the record management section 4 as fit#.
), and the factor definition unit 3 further stores a factor priority (3-1) that defines a dequeue priority for each occurrence factor and a dequeue order number 1 to n+1 . . . that registers a dekey order number for each record. (41) and a record management section 4 in which factor numbers (4-2) arbitrarily used by the user are stored.

次にキュー管理方式について説明する。まず、第2 Z
 (atはエンキュ一時のステップを示し、同図(b)
はデキュ一時の管理手順について示している。
Next, the queue management method will be explained. First, the second Z
(at indicates the enqueuing step, as shown in the figure (b)
shows the dequeue temporary management procedure.

すなわち、エノキー一時には、レコード管理s4によシ
、レコード管理情報の中から空きレコードの有無を検知
しく5T−1)、空きレコードが見つかればデータの書
き込み全行なう(ST−2)。
That is, at the time of the record management s4, the presence or absence of an empty record is detected from the record management information (5T-1), and if an empty record is found, all data is written (ST-2).

この時既存のレコードの要因と新規レコードの要因と要
因定義情報とからデキーー順序番号(4−1)を最新の
プライオリティ−によシ書き替える(ST−3)。この
順序番号のつけ方はここでは昇べき順としておく。また
、デキ2一時は、レコード管理部4よシデキ為−順序番
号(4−1’)の零を除く1〜n + 1までの最小値
の検索全行ない(ST−1)、すべて零であれば登録な
しと判断しで終了、さもなくば該当のレコード管理情報
を粒み込み(ST−2)(ST−3)該当管理部を零ク
リアして終了とする(ST−4)。
At this time, the dekey sequence number (4-1) is rewritten with the latest priority based on the factor of the existing record, the factor of the new record, and the factor definition information (ST-3). Here, the order numbers are assigned in ascending order. Also, at the time of Deki 2, the record management section 4 searches for the minimum value from 1 to n + 1 excluding zero in the order number (4-1') for all rows (ST-1), even if they are all zero. If so, it is determined that there is no registration and the process ends. Otherwise, the corresponding record management information is included (ST-2) (ST-3), and the corresponding management section is cleared to zero and the process ends (ST-4).

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

以上のように、この発明によれば要因のプライオリティ
によるデキュー順序の並べかえや特定要因発生時に他の
先発要因のあるものを削除するようにし友ので、プライ
オリティ−を逆転させるなどキー−の自由度が増し使用
条件の拡張性を持たせることができる等の効果がある。
As described above, according to the present invention, the dequeue order can be rearranged based on the priority of factors, and when a specific factor occurs, other preceding factors can be deleted. This has the effect of making the usage conditions more extensible.

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

第1図は本発明の一実施例によるキューファイルの構成
図、第2図は本発明によるエンキュー。 デキュ一方法の管理手順図、第3囚は従来のキューフア
イルの構成図、第4図は第3図のエンキュー、デキュ一
方法の管理手順図である。 因において、1はレコード格納部、2は登録情報、3は
要因定義部、4はレコード管理部である。 第1図 4.レコード管工!汗P 第2 図(a) 第2図(b) 第3図 n:最大レコードーf−全木数、−1 フ゛ライオリフイ:1〜m◆1 −0のと;言*%90A”t* 1:しコード格奈内有p 2:3ト全淑・l・吉幸丈 第4 図(a) 第4 図(b) C慕D 手続補正書(自発) 1.゛1百′Iの表示   特願昭61−91193号
2、発明の名称   キュー管理方式 3、補正をする者 事f′1との関係 特許出願人 住 所    東京都千代川区丸の内二丁目2番3号名
 称  (601)三菱電機株式会社代表者 志岐守哉 4、代 理 人   郵便番号 105住 所    
東京都港区西新橋1丁目4番10号5、補正の対象 (1)明細書の発明の詳細な説明の欄 (2)図   面              4′パ
   、1 。 6、補正の内容 (11明細書第6頁第1行目の「レコード管理情報Z」
とあるのン「レコードt」と補正する。 (2)明細書第6頁第7行から第8行目の「削除するよ
うにしたので、」とあるのZ「削除させたり、」と補正
する。 (3)別紙の通り第1図を補正する。 (4)別紙の通V第2図(a)を補正する。 (5)別紙の通V第3図乞補正する。 7、 添付書類の目録 (1)補正後の第1図ビ記載した書面    1通(2
)補正後の胴2図(alY記載した書面   1通(3
)補正後の第3図χ記載した書面    1通以上 第1図 4ルフード菅工!即 第2 図(a)
FIG. 1 is a configuration diagram of a queue file according to an embodiment of the present invention, and FIG. 2 is an enqueue according to the present invention. The third figure is a diagram showing the configuration of a conventional queue file, and FIG. 4 is a diagram showing the management procedure for the enqueue and dequeue methods shown in FIG. In the figure, 1 is a record storage section, 2 is a registration information section, 3 is a factor definition section, and 4 is a record management section. Figure 1 4. Record pipework! Sweat P Fig. 2 (a) Fig. 2 (b) Fig. 3 n: Maximum record f - total number of trees, -1 Filiority: 1~m Shi Code Kakunanai p 2:3 To Zenshu L. Takeshi Yoshiyuki Figure 4 (a) Figure 4 (b) C-D Procedural amendment (voluntary) 1. Indication of ゛100'I Patent application No. 61-91193 2, Title of the invention Queue management method 3, Relationship with the person making the amendment f'1 Patent applicant address 2-2-3 Marunouchi, Chiyogawa-ku, Tokyo Name (601) Mitsubishi Electric Stock Company Representative Moriya Shiki 4, Agent Postal Code 105 Address
1-4-10-5 Nishi-Shinbashi, Minato-ku, Tokyo, Subject of amendment (1) Detailed description of the invention in the specification (2) Drawings 4'Pa, 1. 6. Contents of amendment (11 “Record management information Z” on page 6, line 1 of the specification)
I corrected it to "record t". (2) In the 7th to 8th lines of page 6 of the specification, the phrase ``I decided to delete it,'' was corrected to ``I had it deleted.'' (3) Correct Figure 1 as shown in the attached sheet. (4) Correct the attached document, Figure 2 (a). (5) Amend the attached document V, Figure 3. 7. List of attached documents (1) 1 document (2 copies) showing the revised Figure 1
) Revised barrel 2 drawing (alY written document 1 copy (3
) 1 or more documents listed in Figure 3 χ after amendment Figure 1 4 Rufoud Kanko! Figure 2 (a)

Claims (1)

【特許請求の範囲】[Claims] ディスクメモリや他のメモリエリア上でコンピュータ処
理の待行列を持たせる場合のキューファイルの管理方式
において、前記キューの管理を要因ごとのデキューブラ
イオリティ情報からなる要因定義部と、レコードごとの
デキュー順序番号及びユーザが任意に使用する要因番号
とからなるレコード管理部とを以つて登録情報を構成し
、エンキュー側での意図的操作によつてデキュー順序を
任意に変更可能にしたことを特徴とするキュー管理方式
In a queue file management method in which a computer processing queue is provided on a disk memory or other memory area, the queue is managed using a factor definition section consisting of decube priority information for each factor and a dequeue order for each record. The registration information is composed of a record management section consisting of a number and a factor number arbitrarily used by the user, and the dequeue order can be arbitrarily changed by intentional operation on the enqueue side. Queue management method.
JP9119386A 1986-04-22 1986-04-22 Queue managing system Pending JPS62248040A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9119386A JPS62248040A (en) 1986-04-22 1986-04-22 Queue managing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9119386A JPS62248040A (en) 1986-04-22 1986-04-22 Queue managing system

Publications (1)

Publication Number Publication Date
JPS62248040A true JPS62248040A (en) 1987-10-29

Family

ID=14019603

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9119386A Pending JPS62248040A (en) 1986-04-22 1986-04-22 Queue managing system

Country Status (1)

Country Link
JP (1) JPS62248040A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0395633A (en) * 1989-09-07 1991-04-22 Fujitsu Ltd Process information control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0395633A (en) * 1989-09-07 1991-04-22 Fujitsu Ltd Process information control system
JP3085308B2 (en) * 1989-09-07 2000-09-04 富士通株式会社 Processing information management system

Similar Documents

Publication Publication Date Title
JP3692054B2 (en) Document structure conversion method, document structure conversion apparatus, and program
JP3984659B2 (en) Overview catalog
US6707471B2 (en) Information managing apparatus and data generation method as well as record medium having information management program stored thereon
US20070112854A1 (en) Apparatus and method for automatic generation and distribution of documents
JPS62248040A (en) Queue managing system
US6970888B1 (en) Method and system for object linking
JPH0218652A (en) Data concentration system
JP2741999B2 (en) Data storage management method
JPH11250092A (en) Shared database, shared databse system, method for extracting data from shared database and medium recording data extraction program from shared databse
JPH0381843A (en) File saving/restoring processor
JPH039426A (en) Software development environment storing system
JP3675418B2 (en) Electronic medical record system, electronic medical record management method, electronic medical record management program, and recording medium on which electronic medical record management program is recorded
US20230205790A1 (en) Personal data association method
JPH11265389A (en) Shared data base device ahd shared data base system
JPH041836A (en) Data base controller
JPH04162154A (en) Design data control system
JPH03105625A (en) Reserving/restoring system for intermediate language
JP2007164386A (en) Versatile tabulation system for summarizing by classification item
Hull Reference services and electronic records: the impact of changing methods of communication and access
JPH11341048A (en) Method for managing attached file in the same mail server
Curran et al. Optimizing inquiry activities in a corporate drug information department
JPH0391066A (en) Document preparing device
JP2001022623A (en) File managing method
JP2000276382A (en) Time-series data retention and addition system for database
JP2004259074A (en) Medical information management system