JPS63291154A - Queue processing system - Google Patents

Queue processing system

Info

Publication number
JPS63291154A
JPS63291154A JP12645887A JP12645887A JPS63291154A JP S63291154 A JPS63291154 A JP S63291154A JP 12645887 A JP12645887 A JP 12645887A JP 12645887 A JP12645887 A JP 12645887A JP S63291154 A JPS63291154 A JP S63291154A
Authority
JP
Japan
Prior art keywords
queue
information input
execution unit
processing
input requests
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
JP12645887A
Other languages
Japanese (ja)
Inventor
Katsuhiko Takahashi
勝彦 高橋
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 JP12645887A priority Critical patent/JPS63291154A/en
Publication of JPS63291154A publication Critical patent/JPS63291154A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the generation of the competition of resources by executing the processing of a lot of information input requests on a center with an execution unit when a lot of information input requests are generated from a terminal on an on-line system. CONSTITUTION:For input information registrated to queues 4-6, with delivering means 71-73 in one execution unit, at first, the delivering means 71-73 execute extraction 107 of the input information from the queue 4 and registering 110 to a queue 8. After completing it, the delivering means 72 executes removing 108 of the input information from the queue 5 and registering 111 to the queue 8. After completing it, in the same way, the delivering means 73 executes removing 109 from the queue 6 and registering 112 to the queue 8. The delivering means 71-73 successively execute deliverings by a housing to one execution unit. Thus, without generating the competition to the queue 8, the processing can be executed.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はオンラインシステムのデータ入力処理に関し、
特に待ち行列の処理方式に関する。
[Detailed Description of the Invention] (Industrial Application Field) The present invention relates to data input processing of an online system.
In particular, it relates to queue processing methods.

(従来の技術) 従来、多くの情報入力要求の発生するオンラインシステ
ムにおいては、情報入力要求の発生量に応じて受付け、
分類、編集する演算を実行する実行単位を複数化し、記
憶手段に対して待ち行列分作成する方式が公知であった
(Prior Art) Conventionally, in online systems where many information input requests occur, information input requests are accepted according to the amount of information input requests generated, and
A known method is to create a plurality of execution units for executing operations for classification and editing, and to create queues for storage means.

第8図は、従来技術による待ち行列処理方式の一例を示
すブロック図である。第8図において、1〜3はそれぞ
れ演算手段、9は記憶手段、10は待ち行列である。第
8図においては、演算手段1〜3は順次受付け、分類、
および編集を実行する実行単位であり、記憶手段9に対
して待ち行列10を作成している。
FIG. 8 is a block diagram showing an example of a queue processing method according to the prior art. In FIG. 8, 1 to 3 are calculating means, 9 is a storage means, and 10 is a queue. In FIG. 8, calculation means 1 to 3 sequentially accept, classify,
and an execution unit for executing editing, and creates a queue 10 in the storage means 9.

(発明が屏決しようとする問題点) 上述した従来の情報入力要求待ち行列の処理方式につい
ては、入力情報の待ち行列は分散されるが情報入力要求
の発生に応じて受付け、分類、ならびに編集を実行する
演算手段の実行単位を複数化するため、記憶手段で計算
屓上の資源競合が発生するという欠点がある。すなわち
、第1に実行単位の複数化を進めるに伴って資源の競合
も増加し、この競合に待ち時間が発生し、情報入力要求
に対する応答時間が増大するという欠点があり、第2に
記憶手段で待ち行列が作成されるため、この待ち行列に
のみ登録と取出しとが集中してしまい、危険分散が図れ
ないという欠点があり、第3に記憶手段に対する待ち行
列が集中することにより、この待ち行列の長さが増大す
るので、十分な長さを確保する必要があるという欠点が
あり、第4に待ち行列の集中によ抄、この待ち行列の登
録時、競合による失敗となる鳴合が発生し、再試行を必
要とするため、この再試行により応答時間が増大すると
いう欠点がある。
(Problems to be Solved by the Invention) In the conventional information input request queue processing method described above, the input information queue is distributed, but information input requests are not received, classified, and edited in response to occurrences. Since a plurality of execution units are used for the arithmetic means that executes, there is a drawback that resource contention occurs in the storage means in terms of calculations. That is, firstly, as the number of execution units increases, resource contention also increases, and this contention causes waiting time, which increases the response time to information input requests.Secondly, the storage means Since a queue is created in this queue, there is a drawback that registrations and retrievals are concentrated only in this queue, and risk distribution cannot be achieved. This increases the length of the queue, so there is a disadvantage that it is necessary to ensure a sufficient length.Fourth, the concentration of the queue increases, and when registering this queue, there is a possibility of failure due to contention. This retry has the disadvantage of increasing response time.

本発明の目的は、多くの情報入力要求の受付けに際して
、複数の受付け、分類、ならびに編集を実行してから入
力情報を記憶するための待ち行列を登録するまでの間に
、複数の待ち行列と複数の受渡しを一つあるいは少数の
実行単位上で行うことができるように、受渡しを導入し
て処理を実行することにより上記欠点を除去し、資源の
競合が発生しないように構成した待ち行列処理方式を提
供することにある。
An object of the present invention is to create multiple queues and registers between multiple receptions, classifications, and edits until registering a queue for storing the input information when accepting many information input requests. Queue processing that eliminates the above drawbacks by introducing passing and executing processing so that multiple passes can be performed on one or a small number of execution units, and configured so that resource contention does not occur. The purpose is to provide a method.

(問題点を解決するための手段) 本発明による待ち行列処理方式は、一組の演算手段と、
一組の受渡し手段と、記憶手段と、一組の待ち行列手段
とを具備し、複数の端末とセンタとから成るオンライン
システムで端末から多くの情報入力要求が発生したとき
、センタ上で多くの情報入力要求の処理を実行単位で行
うことができるように構成したものである。
(Means for solving the problem) The queue processing method according to the present invention includes a set of calculation means,
When many information input requests are generated from the terminals in an online system comprising a set of delivery means, a storage means, and a set of queuing means and consisting of a plurality of terminals and a center, many information input requests are made on the center. The configuration is such that information input requests can be processed in units of execution.

一組の演算手段は、情報入力要求受付けの際に複数の受
付け、分類、ならびに編集を実行するためのものである
One set of calculation means is for executing a plurality of receptions, classifications, and edits when accepting information input requests.

一組の受渡し手段は、複数の受渡しを一つあるいは少数
の実行単位で行うためのものである。
The set of transfer means is for performing multiple transfers in one or a small number of execution units.

記憶手段は、入力情報を記憶するためのものである。The storage means is for storing input information.

−aの待ち行列手段は、一組の演算手段および一組の受
渡し手段に付随するものである。
-a queue means is associated with a set of calculation means and a set of delivery means.

(実施例) 次に、本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は、本発明による待ち行列処理方式の一実施例を
示すブロック図である。
FIG. 1 is a block diagram illustrating one embodiment of a queue processing method according to the present invention.

第1図において、1〜3はそれぞれ実行単位を伴う演算
手段、フ、71〜73は一つの実行単位に三つの受渡し
を行う受渡し手段、9は実行単位を伴う記憶手段、4〜
6は演算手段1〜3と受渡し手段フとをつなぐ待ち行列
、8は受渡し手段フと記憶手段9とをつなぐ待ち行列で
ある。各実行単位は平行処理の可能な単位で、−実行単
位中の各手段は平行処理を実行できない。多量に発生す
る情報入力要求101〜103は平行処理の可能な三つ
の演算手段1〜3により受付け、分類、ならびに編集が
行われ、演算手段1〜3に対応して設けられた三つの待
ち行列4〜6に登録される。 。
In FIG. 1, 1 to 3 are arithmetic means with an execution unit, F, 71 to 73 are transfer means for performing three transfers to one execution unit, 9 is a storage means with an execution unit, and 4 to
Reference numeral 6 represents a queue that connects the calculation means 1 to 3 and the delivery means F, and reference numeral 8 represents a queue that connects the delivery means F and the storage means 9. Each execution unit is a unit capable of parallel processing, and - each means in the execution unit cannot perform parallel processing. A large number of information input requests 101 to 103 are received, classified, and edited by three calculation means 1 to 3 that can be processed in parallel, and three queues are created corresponding to the calculation means 1 to 3. 4 to 6 are registered. .

第2図は、第1図における処理手段例を示す説明図であ
る。受付け101から待ち行列の登録104まで、受付
け102から待ち行列の登録1081で、ならびに受付
け103から待ち行列の登録106までは競合すること
なく平行処理が実行され、待ち行列の登録の完了後、次
の情報入力要求の受付けが可能となる。
FIG. 2 is an explanatory diagram showing an example of the processing means in FIG. 1. Parallel processing is executed without conflict from reception 101 to queue registration 104, from reception 102 to queue registration 1081, and from reception 103 to queue registration 106, and after completion of queue registration, the next It becomes possible to accept information input requests.

萬2図における待ち行列4〜Bに登録された入力情報は
、−実行単位中の受渡し手段71〜73により、まず第
2図の受渡し手段が待ち行列4からの入力情報の取出し
10フを行い、待ち行列8への登録110を行う。完了
後、受渡し手段フ2が待ち行列5からの入力情報の取出
し108を行い、待ち行列8への登録111を行う。完
了後、同様にして受渡し手段フ3が待ち行列6からの取
出し109と、待ち行列8への登録112とt行う。
The input information registered in the queues 4 to B in FIG. 2 is transferred by the transfer means 71 to 73 in the execution unit. , performs registration 110 in the queue 8. After completion, the transfer means 2 retrieves 108 the input information from the queue 5 and registers 111 it in the queue 8. After completion, the transfer means 3 similarly performs the removal 109 from the queue 6 and the registration 112 in the queue 8.

上述した受渡し手段71〜フ3は、−実行単位に格納す
ることによって受渡しを順次行う。この虎め、待ち行列
8ぺの競合を発生させることなく処理を実行することが
可能となる。
The above-mentioned delivery means 71 to 3 perform delivery sequentially by storing in -execution units. In this case, it becomes possible to execute the process without causing a conflict in the queue 8.

待ち行列8に登録された入力情報は別実行単位となって
いる記憶手段9により、取出し113が行われて記憶手
段9に反映される。記憶手段9が別実行単位となってい
るため、待ち行列8からの取出し113は、待ち行列8
への登録110゜111.112のすべてを待つわけで
はなく、受渡し手段フ1による待ち行列8への登録11
0が完了すれば、入力情報の待ち行列8からの取出し1
13を開始する。受渡し手段フ2.フ3の待ち行列8へ
の登録111.112に対しても、同様に記憶手段9は
待ち行列8からの取出し113を行う。
The input information registered in the queue 8 is retrieved 113 by the storage means 9, which is a separate execution unit, and reflected in the storage means 9. Since the storage means 9 is a separate execution unit, the extraction 113 from the queue 8 is performed by the queue 8.
It does not wait for all the registrations 110, 111, and 112, but the registration 11 in the queue 8 by the delivery means F1.
0 is completed, the input information is retrieved from the queue 1
Start 13. Delivery means 2. In response to the registration 111 and 112 of F3 to the queue 8, the storage means 9 similarly performs the extraction 113 from the queue 8.

つまり、三つの演算手段1〜3と、三つの受渡しに対応
した受渡し手段71〜73と、記憶手段9とが各待ち行
列の登録と取出しとにより平行処理可能な状態にあるわ
けである。
In other words, the three calculation means 1 to 3, the delivery means 71 to 73 corresponding to the three transfers, and the storage means 9 are in a state where they can perform parallel processing by registering and taking out each queue.

(発明の効果) 以上説明したように本発明は、多くの情報入力要求の受
付けに際して、複数の受付け、分類、ならびに偏集を実
行してから入力情報を記憶する念めの待ち行列を登録す
るまでの間に、複数の待ち行列と複数の受渡しを一つあ
るいは少数の実行単位上で行うことができるように、受
渡しを導入して処理を実行することにより、多くの情報
入力要求の受付けに際して、第1に記憶手段に対する資
源競合が減少し、競合上の待ち時間が削減されるという
効果があり、第2に記憶手段への待ち行列が分散され、
登録と取出しとが集中せずに危険分散が図れるという効
果があり、第8に待ち行列が分散されることにより、一
つの待ち行列の長さを削減できるという効果があり、第
4に待ち行列への登録が競合しないため、この待ち行列
への登録時に失敗がなく、再試行を必要としないので、
再試行による応答時間への増大も発生しないという効果
がある。
(Effects of the Invention) As described above, the present invention registers a preliminary queue for storing input information after performing multiple receptions, classifications, and aggregations when accepting many information input requests. In the meantime, by introducing passing and executing processing so that multiple queues and multiple passing can be performed on one or a few execution units, it is possible to handle many information input requests. , firstly, the resource contention for the storage means is reduced and the contention waiting time is reduced; secondly, the queue for the storage means is distributed;
This has the effect of dispersing risks by preventing concentration of registration and retrieval.Eighthly, by distributing queues, the length of one queue can be reduced.Fourthly, the length of one queue can be reduced. There are no failures and no retries required when registering to this queue, since there are no conflicts between registrations to
This has the effect that no increase in response time due to retries occurs.

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

第1図は、本発明による待ち行列処理方式を実現する一
実施例を示すブロック図である。 第2図は、第1図での処理手順の一例を示すブロック図
である。 @3図は、従来の技術による待ち行列処理方式を実現す
る一例を示すブロック図である。 1〜3・・・演算手段 4〜6.8.10・・・待ち行列 フ、71〜フ3・・・受渡し手段 11〜13・・・入力情報 101〜113・・俸処理手順
FIG. 1 is a block diagram showing an embodiment of the queue processing method according to the present invention. FIG. 2 is a block diagram showing an example of the processing procedure in FIG. 1. Figure @3 is a block diagram showing an example of implementing a queue processing method according to the conventional technology. 1-3...Arithmetic means 4-6.8.10...Queue queue f, 71-F3...Delivery means 11-13...Input information 101-113...Salary processing procedure

Claims (1)

【特許請求の範囲】[Claims] 情報入力要求受付けの際に複数の受付け、分類、ならび
に編集を実行するための一組の演算手段と、複数の受渡
しを一つあるいは少数の実行単位上で行うための一組の
受渡し手段と、前記入力情報を記憶するための記憶手段
と、前記一組の演算手段および前記一組の受渡し手段に
付随する一組の待ち行列手段とを具備し、複数の端末と
センタとから成るオンラインシステムで前記端末から多
くの情報入力要求が発生したとき、前記センタ上で前記
多くの情報入力要求の処理を実行単位で行うことができ
るように構成したことを特徴とする待ち行列処理方式。
a set of calculation means for performing multiple receptions, classifications, and edits when accepting information input requests; a set of delivery means for performing multiple deliveries on one or a small number of execution units; An online system comprising a plurality of terminals and a center, comprising a storage means for storing the input information, and a set of queue means associated with the set of calculation means and the set of delivery means. A queue processing method characterized in that, when many information input requests are generated from the terminals, processing of the many information input requests can be performed in execution units on the center.
JP12645887A 1987-05-22 1987-05-22 Queue processing system Pending JPS63291154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12645887A JPS63291154A (en) 1987-05-22 1987-05-22 Queue processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12645887A JPS63291154A (en) 1987-05-22 1987-05-22 Queue processing system

Publications (1)

Publication Number Publication Date
JPS63291154A true JPS63291154A (en) 1988-11-29

Family

ID=14935720

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12645887A Pending JPS63291154A (en) 1987-05-22 1987-05-22 Queue processing system

Country Status (1)

Country Link
JP (1) JPS63291154A (en)

Similar Documents

Publication Publication Date Title
CN109343941A (en) Task processing method, device, electronic equipment and computer readable storage medium
JPH11328132A (en) Data processor for performing operation load management regarding group of servers data processing method tefrefor and computer program product
JPS63181063A (en) Transaction processing
EP0871118B1 (en) Parallel data processing system and method of controlling such a system
JPS63291154A (en) Queue processing system
US7636821B2 (en) Asynchronous hybrid mirroring system
JP2731761B2 (en) Network control device
JP2867381B2 (en) Transaction processing load balancing method
JPH1091595A (en) Transaction management device
CN115134320B (en) Transaction system for determining time sequence based on message distribution
JP3982077B2 (en) Multiprocessor system
JPS63316143A (en) Error informing system
JPS6232497B2 (en)
JP2001344119A (en) Transaction execution control system and transaction execution control method
JPH02146660A (en) Information processor
JP2924686B2 (en) Job scheduling method
JPH0782427B2 (en) Sort processing method
EP0234785A1 (en) Improvements relating to control flow in computers
JPH0546554A (en) Command cancel system
CN114092187A (en) Commodity management method and device, electronic equipment and computer storage medium
JPS6049464A (en) Inter-processor communication system of multi-processor computer
JPS6126112B2 (en)
Woodward Coordination
JPH04373063A (en) Processing system by plural database processors
JPH05204868A (en) Interrupt request path assigning method in multiprocessor computer