JPS61221832A - Processing selection system - Google Patents

Processing selection system

Info

Publication number
JPS61221832A
JPS61221832A JP5541385A JP5541385A JPS61221832A JP S61221832 A JPS61221832 A JP S61221832A JP 5541385 A JP5541385 A JP 5541385A JP 5541385 A JP5541385 A JP 5541385A JP S61221832 A JPS61221832 A JP S61221832A
Authority
JP
Japan
Prior art keywords
processing
requests
queue
request
queues
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
JP5541385A
Other languages
Japanese (ja)
Inventor
Makoto Shimoda
誠 下田
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 JP5541385A priority Critical patent/JPS61221832A/en
Publication of JPS61221832A publication Critical patent/JPS61221832A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the fine control for the priority level of each processing request by replacing an indicating means with extraction of the processing request and extracting the next processing request according to the checking order indicated newly. CONSTITUTION:A request accepting part 13 accepts the processing requests given from one or plural request sources to analyze their contents and allocates these requests to either one of plural branch queues 18 according to the type of the requested processing. A processing selection part 15 searches those queues 18 and extracts a request if queued in each queue 18 through an extracting part 14. Furthermore the part 15 includes a table 17 which defines the information on the searching order of queues 18 and an indicating means 16 for plural types of searching order information defined by the table 17. A queue checking order deciding part 19 has a function to select either one of types of the order information defined by the table 17.

Description

【発明の詳細な説明】 〔概要〕 複数のキューに振分けられた処理要求を選択的に抽出す
るものにおいて、各キューを調査(サーチ)する順序を
定義するテーブル手段を設け、このテーブル手段の各行
(エントリ)に登録される複数種類のキュー調査順序情
報を読出すことにより、各キューを任意の順序で、且つ
優先順位を保持しつつサーチすることを可能とする。
[Detailed Description of the Invention] [Summary] In an apparatus for selectively extracting processing requests distributed to a plurality of queues, a table means is provided that defines the order in which each queue is investigated (searched), and each row of the table means is By reading a plurality of types of queue search order information registered in (entries), it is possible to search each queue in an arbitrary order while maintaining the priority order.

〔産業上の利用分野〕[Industrial application field]

本発明は、その種類等に応じて複数のキューに振分けら
れた処理の要求を、予め定めた処理の優先順位を保持し
つつ、各キューにある要求を確実に抽出して実行するこ
とが可能となる処理選択方式に関する。
The present invention makes it possible to reliably extract and execute requests in each queue while maintaining a predetermined priority order of processing requests that are sorted into multiple queues according to their type, etc. Regarding the processing selection method.

一つ又は複数の処理要求源から、複数の要求を受付けて
処理を行なうシステムにおいては、受付けた要求を一時
バンファリングするためのキューが用いられる。
In a system that accepts and processes multiple requests from one or more processing request sources, a queue is used to temporarily buffer the accepted requests.

そして処理側では、このキューに接続(キューイング)
された処理要求を取出して、その要求に応じた処理を実
行するよう構成される。
And on the processing side, connect to this queue (queuing)
The system is configured to take out a processing request and execute processing according to the request.

この場合、要求のある処理が全て同一の優先レベルであ
れば、受付けした要求の順に処理を行えば問題がない。
In this case, if all requested processes have the same priority level, there will be no problem if the processes are performed in the order of received requests.

しかしながら、処理要求の中で優先レベルがあるものは
、優先レベルの高い要求を先に処理するための何らかの
対策が必要である。
However, for processing requests that have priority levels, some measure is required to process requests with higher priority levels first.

尚、ここで云う優先レベルとは、システム或いは要求源
にとって、処理側のより高速な処理の応答を必要とする
度合(処理の優先度)である。
Note that the priority level referred to here is the degree to which a faster processing response from the processing side is required for the system or the request source (processing priority).

〔従来の技術〕[Conventional technology]

従来、このような優先レベルを意識した処理の方法とし
て、例えば、受付けた要求の中に最優先レベルの処理(
特急処理)があるか否かを常時チェックするルーチンを
処理部側に設ける事が行わ要求の種類を判別し、特急処
理のものとその他の処理とを別々のキューに接続する。
Conventionally, as a processing method that takes such priority levels into consideration, for example, the highest priority level processing (
A routine for constantly checking whether there is any urgent processing is provided on the processing section side, and the type of request is determined, and urgent processing and other processing are connected to separate queues.

そして処理部側では、この特急処理のキューを常時調査
する。
Then, on the processing unit side, the queue for this express processing is constantly investigated.

この場合の常時とは、処理部によるキュー調査の事象発
生時に、常に最初に当該キューを調査することを意味す
る。
In this case, always means that when an event of queue investigation by the processing unit occurs, the queue is always investigated first.

これにより、特急処理の必要性のある要求については、
常に最優先に実行される。一方その池の処理については
、特急処理が存在しない場合に限って、要求受付順に実
行されることになる。
As a result, for requests that require urgent processing,
Always given top priority. On the other hand, the processes in that pond will be executed in the order in which requests are received only if there is no urgent process.

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

上述した従来技術においては、要するに処理部において
、特急処理の取扱いを意識するというものである。従っ
て、特急処理として、更に複数の優先レベルを設定した
場合、その優先レベル制御が複数となる。また優先レベ
ルの細かな区分により、下位のレベルの処理については
、実行されないという事態が生じる問題点もある。
In the above-mentioned conventional technology, in short, the processing unit is aware of the handling of express processing. Therefore, if a plurality of priority levels are further set as express processing, there will be a plurality of priority level controls. There is also the problem that due to the detailed classification of priority levels, lower level processes may not be executed.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、上述した従来の欠点を取除くべく、簡単な構
成で、きめ細やかな各処理要求の優先レベル制御を行う
ことが可能となり、且つ各レベルの処理を確実に実行す
ることも保障できる処理選択方式を提供することを目的
としている。
In order to eliminate the above-mentioned drawbacks of the conventional technology, the present invention has a simple configuration that enables fine-grained priority level control of each processing request, and also ensures that each level of processing is reliably executed. The purpose is to provide a processing selection method.

第1図は、上記目的を達成する本発明の原理を示すブロ
ック図である。
FIG. 1 is a block diagram showing the principle of the present invention to achieve the above object.

図において、13は要求受付部であり、1つ又は複数の
要求源より発せられる処理要求を受付け、その内容を分
析し、その要求する処理の種類に応じて複類の分岐キュ
ー18のいずれかに要求を振分けるものである。即ち、
各キューQ、 、 Q、 。
In the figure, reference numeral 13 denotes a request reception unit, which accepts processing requests issued from one or more request sources, analyzes the contents, and selects one of the multiple branch queues 18 depending on the type of processing requested. This is to allocate requests to. That is,
Each queue Q, , Q, .

−−−Q nには、受付けた要求の優先レベルに応じた
、それぞれ同一レベルの要求がキューイングされる。
---Requests of the same level are queued in Qn depending on the priority level of the received requests.

15は処理選択部であり、分岐キュー18をサーチし、
各キューにキューイングされてる要求があれば、その要
求を抽出する抽出部14を具える。
15 is a processing selection unit that searches the branch queue 18;
If there is a request queued in each queue, an extraction unit 14 is provided to extract the request.

更に選択部15には、各キュー18をサーチする順序に
関する情報を定義するテーブル17、及びこのテーブル
に定義される複数種のサーチ順序情報を指示する指示手
段16が設けられる。
Furthermore, the selection unit 15 is provided with a table 17 that defines information regarding the order in which each queue 18 is searched, and an instruction means 16 that instructs a plurality of types of search order information defined in this table.

19はキュー国査順序の決定部であり、指示手Y&16
による指示に従って、テーブル17に定義される順序情
報のいずれかを選択する機能を備える。
19 is the cue national examination order deciding section, and the instruction hand Y & 16
The table 17 has a function of selecting any of the order information defined in the table 17 according to instructions given by the table 17.

尚、第1図では、テーブル17の各行(エントリ)17
a、17b、 ・−に1回のキュー調査の為の順序情報
を格納し、これら各行を、カウンタ等の指示手段16に
し指示する例を示す。
In addition, in FIG. 1, each row (entry) 17 of the table 17
An example will be shown in which order information for one queue investigation is stored in lines a, 17b, .

〔作用〕[Effect]

以上の構成により、分岐キュー18の各々のキューをサ
ーチする順序をテーブル17に予め登録するのみで、各
キューを任意の順序(任意の頻度)でサーチすることが
可能となる。しかも、このキューサーチ順序は、処理部
側によって意識する必要もない。単なるテーブル索引作
業で、キューサーチ順序の制御が可能となるものである
With the above configuration, it is possible to search each queue in any order (with any frequency) by simply registering in advance the search order for each of the branch queues 18 in the table 17. Moreover, there is no need for the processing unit to be aware of this queue search order. It is possible to control the queue search order with a simple table indexing operation.

以下実施例を用いて本発明を詳述する。The present invention will be explained in detail below using Examples.

〔実施例〕〔Example〕

第2図は、本発明が通用されるに好適なシステム例を示
す図である。
FIG. 2 is a diagram showing an example of a system suitable for applying the present invention.

図においては、回線を介して複数のPO8端末3−1.
・−3−nが、上位コントローラであるPLU、コント
ローラ1に接続されるPoSシステムを示す。
In the figure, a plurality of PO8 terminals 3-1.
-3-n indicates the PoS system connected to PLU, controller 1, which is the upper controller.

PLUコントローラ1は、PLUファイル(プライス・
ルック・アップファイル)91を備え、各商品コード(
単品コード9)に対応した商品名及び単価を求める処理
を行う。更に、図示しない単品集計フシイル(各商品毎
の売上げ数、売上げ金額累計ファイル)等を備える。
The PLU controller 1 stores the PLU file (price
lookup file) 91, each product code (
Processing is performed to obtain the product name and unit price corresponding to the single item code 9). Furthermore, it is provided with a single item tally file (sales number and cumulative sales amount file for each product), etc. (not shown).

そして、各端末3から1つの電文形式にて送出される処
理要求に対応した処理を実行し、応答電文を送出する。
Then, it executes processing corresponding to the processing request sent from each terminal 3 in one message format, and sends out a response message.

またコントローラ1は、回線を介して上位装置2からの
処理も受付け、実行する。
The controller 1 also accepts and executes processing from the host device 2 via the line.

これらの動作の詳細は、第3図及び第4図を用いて後述
する。
Details of these operations will be described later using FIGS. 3 and 4.

第2図において、各pos端末3−1. +、  3−
nは、例えば1つの量販店(スーパーマーケット等)の
各売場のレジ(精算−場所)に設置され、各レジの係(
オペレータ)による商品登録が行われる。
In FIG. 2, each POS terminal 3-1. +, 3-
For example, n is installed at the cash register (checkout - location) of each sales floor of one mass merchandiser (supermarket, etc.), and each cash register clerk (
(operator) performs product registration.

PLUコントローラ1は、例えば量販店の事務所内、或
いはpos端末3の近傍に設置される。
The PLU controller 1 is installed, for example, in the office of a mass retailer or near the POS terminal 3.

また上位装置2は、複数の量販店(チェーン店)を結ぶ
事務所等に設置される。
Further, the host device 2 is installed in an office or the like that connects a plurality of mass retail stores (chain stores).

以下簡単にシステムの動作を説明すると、各PO8端末
のオペレータは、お客の買上げる商品に附された商品コ
ードを入力する。これら各商品に貼付けられたバーコー
ドラベルを図示しないスキャナ等によって読取らせるこ
とより行われる。
The operation of the system will be briefly explained below.The operator of each PO8 terminal inputs the product code attached to the product purchased by the customer. This is done by reading barcode labels affixed to each product using a scanner (not shown) or the like.

PO8端末では、入力された商品コードを含むPLO要
求電文をPLOコントローラ1に送出する。PLUコン
トローラ1では、ファイル91をサーチし、与えられた
商品コードに対応する品名及び単価を求める。そして求
めた品名及び単価の各データはPO8端末への応答電文
として返送される。これにより、1つの商品の品名及び
単価がPO3端末側に通知され、以後オペレータによる
当該商品の買上げ個数入力等によって、1つの商品登録
が完了する。
The PO8 terminal sends a PLO request message including the input product code to the PLO controller 1. The PLU controller 1 searches the file 91 to find the product name and unit price corresponding to the given product code. The obtained product name and unit price data are then sent back as a response message to the PO8 terminal. As a result, the product name and unit price of one product are notified to the PO3 terminal side, and thereafter, the registration of one product is completed by inputting the number of purchased items of the product by the operator.

また、PO8端末3からは、上述したPLU要求電文の
他に、単位(1人)の取引終了により、゛登録された商
品情報(商品コードと買上げ数量)をPLOコントロー
ラ1へ通知するための明細電文(集成電文)、PLUコ
ントローラ1の持つ単品集計ファイル或いは各pos端
末の持つ部門別、グループ別等の集計ファイルの中途集
計情況を要求する集計電文、及び、コントローラ1の持
っPLUファイル91の卵容変更(単価の変更、新しい
商品の登録)を要求するファイルメンテナンス要求電文
等がある。
In addition to the above-mentioned PLU request message, from the PO8 terminal 3, upon completion of a transaction for a unit (one person), a statement is sent from the PO8 terminal 3 to notify the PLO controller 1 of registered product information (product code and purchased quantity). Message (collection message), aggregation message requesting the interim aggregation status of the single item aggregation file held by the PLU controller 1 or the aggregation file by department, group, etc. held by each POS terminal, and the egg of the PLU file 91 held by the controller 1 There are file maintenance request messages that request content changes (changes in unit prices, registration of new products), etc.

一方、上位装置2からも、上述した集計要求電文、ファ
イルメンテナンス要求電文等が発せられる。
On the other hand, the host device 2 also issues the above-mentioned aggregation request message, file maintenance request message, and the like.

第3図(a)〜(d)は、第2図に示したPLOコント
ローラ1の構成を示す一実施例である。図において各々
対応する部分には同一の符号を附すものである。
FIGS. 3(a) to 3(d) show an example of the configuration of the PLO controller 1 shown in FIG. 2. In the figures, corresponding parts are given the same reference numerals.

同図に示す如<PLUコントローラは、メインCPUI
 10と、3つのサブCPU150,160.170か
ら成る。そして、各CPU内に示すブロックは、各CP
Uの持つ機能を示すもので、例えば単位のプログラム(
ルーチン)にて実現されるものと考えて良い。
As shown in the figure, the PLU controller is connected to the main CPU
10 and three sub CPUs 150, 160, and 170. The blocks shown in each CPU are
It shows the functions of U, for example, the unit program (
You can think of it as something that is realized in a routine (routine).

サブcpuは、各pos端末3−1.−との回線(下位
回線)制御を行う下位回線サブCPU(以下L−CPU
と称す)150、上位装置2との回線(上位回線)制御
を行う上位回線サブcpU(以下H−CPUと称す)1
60、及び後述する演算CPUI 70から成る。
The sub CPU is connected to each POS terminal 3-1. Lower line sub CPU (hereinafter referred to as L-CPU) that controls the line (lower line) with
150 (hereinafter referred to as H-CPU) 1 which controls the line (upper line) with the upper level device 2 (hereinafter referred to as H-CPU)
60, and an arithmetic CPU 70, which will be described later.

L−CPUI 50は、pos端末との間の電文の送受
信制御を行う電文制御部155、pos端末からの受信
電文をメインCPUI 10へ送出する上りDMA制御
部151.PO3端末への送信電文をメインCPUI 
10より受取る下りDMA制御部152、及び、メイン
CPUll0からのコマンド受信或いはステータス通知
のための制御処理部153を備える。またタイマー処理
部154は、回線上の電文送受信監視、メインCPU1
10とのデータ送受信監視等を行うものである。
The L-CPUI 50 includes a message control unit 155 that controls transmission and reception of messages to and from the POS terminal, and an uplink DMA control unit 151 that sends messages received from the POS terminal to the main CPU 10. Main CPUI sends messages to PO3 terminal
10, and a control processing unit 153 for receiving commands or notifying status from main CPU110. In addition, the timer processing unit 154 monitors transmission and reception of messages on the line, and the main CPU 1
It monitors data transmission and reception with 10.

またH−CPUI 60にも、第3図世)に示す如(L
−CPUと同様の対回線、及び対メインCPUの0通信
インタフェース機能が設けられる。
In addition, H-CPUI 60 also includes the L
- A line-to-line communication interface function similar to that of the CPU and a communication interface function to the main CPU are provided.

一方、メインCPUI 10には、これらL−CPU1
50及びH−CPU160に各々対応して各インタフェ
ース機能121〜126が設けられ、更に、下位及び上
位回線の制御タスク111.112が設けられる。
On the other hand, the main CPU 10 has these L-CPUs 1
50 and H-CPU 160, respectively, are provided with interface functions 121 to 126, and furthermore, lower and upper line control tasks 111 and 112 are provided.

第3図(C)より明らかな如(、メインCPUI 10
には、上述した回線制御タスク111,112の外に複
数の処理タスク113〜116が設けられる。即ち、下
位回線制御タスク111にて受信した電文の分析を行う
分析タスク113、同様にタスク112にて受信した電
文の分析を行う分析タスク114.モジュール分岐タス
ク(第4図にて後述)115、及びフロッピィ処理タス
クが設けられる。
As is clear from Figure 3(C) (main CPU 10
In addition to the line control tasks 111 and 112 described above, a plurality of processing tasks 113 to 116 are provided. That is, an analysis task 113 analyzes the message received by the lower line control task 111, and an analysis task 114 similarly analyzes the message received by the task 112. A module branching task (described later in FIG. 4) 115 and a floppy processing task are provided.

これ−ら各タスク111〜116は、図示しないモニタ
部により、順次実行権が与えられる。そして各タスク間
のデータの授受は、各キュー118〜120及び129
を介して行われる。
Each of these tasks 111 to 116 is sequentially given execution rights by a monitor section (not shown). Data is exchanged between each task through each queue 118 to 120 and 129.
It is done through.

尚、第3図にはPLUコントローラ1の持つPLUファ
イル、単品集計ファイル、及びフロッピィドライブ等の
ハード構成は示していない。
It should be noted that the hardware configuration of the PLU controller 1, such as the PLU file, the single item total file, and the floppy drive, is not shown in FIG.

モジュール分岐タスク115は、第1図にて示した処理
選択部15に対応するもので複数の分岐キュー118に
接続される要求電文を抽出する機能を備える。また、こ
のタスク115の配下にPLUコントローラの行う各処
理、即ち前述したPLU照会、収集、集計、或いはファ
イルメンテナンス等の処理を行うための処理モジュール
0〜n(117)が設けられる。
The module branch task 115 corresponds to the process selection unit 15 shown in FIG. 1, and has a function of extracting request messages connected to a plurality of branch queues 118. Further, under this task 115, processing modules 0 to n (117) are provided for performing each process performed by the PLU controller, that is, the above-mentioned PLU inquiry, collection, aggregation, or file maintenance.

更に、これらの処理モジュール117の各々に対応して
、演算CPUI 70にはタスク0Nn(175)が設
けられている。従って各モジュール117に演算処理が
発生した場合、対応する演算CPUI 70内のタスク
175が起動されることになる。そして第3図(dlに
示す如く、メインCPUI 10及び演算CPUI 7
0の各々には、各モジュール117と対応するタスク1
75との間の処理受渡しを行うためのインタフェース機
能130〜133、及び171〜174.179が設け
ら、れている。
Further, a task 0Nn (175) is provided in the arithmetic CPU 70 corresponding to each of these processing modules 117. Therefore, when arithmetic processing occurs in each module 117, the corresponding task 175 in the arithmetic CPU 70 is activated. As shown in Figure 3 (dl), the main CPU 10 and the calculation CPU 7
0 has a task 1 corresponding to each module 117.
Interface functions 130 to 133 and 171 to 174 and 179 are provided for transferring processing to and from 75.

しかして、第3図(C)に示す例では、分岐キュー11
8を3つのキューQ、−Q、より構成し、PO8端末よ
り受付ける処理要求を3つの優先レベルに区分する場合
を示す。
Therefore, in the example shown in FIG. 3(C), the branch queue 11
8 is configured with three queues Q and -Q, and processing requests received from the PO8 terminal are classified into three priority levels.

具体的には、キューQ、に最優先レベルの要求がキュー
イングされるもので、該当する要求電文としては、PL
U要求電文と集成(明I[)電文である。
Specifically, a request with the highest priority level is queued in queue Q, and the corresponding request message is PL.
These are the U request message and the collection (Mei I[) message.

そしてキューQ2にキューイングされる中位レベルの要
求電文としては、各種ファイルの集計要求電文が該当す
る。また、最下位レベルの要求がキューイングされるキ
ューQ、には、ファイルメンテナンス要求電文等が該当
するものである。
The medium-level request message queued in the queue Q2 corresponds to the aggregation request message for various files. Furthermore, the queue Q in which requests at the lowest level are queued corresponds to file maintenance request messages and the like.

つまり第2図に示したシステムにおい゛ては、特にPL
U要求に対するコントローラ1側からの迅速な応答が必
須となる。各PoS端末においては、オペレータがスキ
ャナ等により1つの商品のバーコードラベルを読ませる
と、その商品に対応した商品名、単価が表示器(図示せ
ず)に表示されることが必要である。従って、PLUコ
ントローラ1によるPLU照会の処理を優先する必要が
ある。
In other words, in the system shown in Figure 2, especially the PL
A prompt response from the controller 1 side to the U request is essential. In each PoS terminal, when an operator reads the barcode label of one product using a scanner or the like, the product name and unit price corresponding to that product must be displayed on a display (not shown). Therefore, it is necessary to prioritize the PLU inquiry processing by the PLU controller 1.

また集成処理についても同様であって、PLUコントロ
ーラ1による単品の集計もリアルタイムで行うことが要
求される。
The same applies to the assembling process, and the PLU controller 1 is required to tally up individual items in real time.

従って、メインCPUll0における各電文分析タスク
113,114においては、pos端末或いは上位装置
より受信した要求電文の処理の種類を判別する。これは
、電文中に含まれる電文識別項目を解析することによっ
て行われる。そして判別した処理の種類に応じて各キュ
ーQ  −Qのいずれにキューイングすべきかを振分け
る。より具体的には、この処理の種類の情報として、当
該要求電文を実行するモジュール117の番号情報が含
まれている。各分析タスク113,114はこのモジュ
ール番号を見て、処理の優先度、キューイングすべき分
岐キューを判別するものである。
Therefore, each message analysis task 113, 114 in the main CPU 110 determines the type of processing of the request message received from the POS terminal or the host device. This is done by analyzing the message identification items included in the message. Then, depending on the determined type of processing, it is determined which of the queues Q to Q should be queued. More specifically, the processing type information includes number information of the module 117 that executes the request message. Each analysis task 113, 114 looks at this module number and determines the processing priority and the branch queue to be queued.

一方、モジュール分岐タスク115においても、この電
文中に含まれるモジュール番号に従って、対応するモジ
ュールを起動するものである。
On the other hand, the module branching task 115 also activates the corresponding module according to the module number included in this message.

第4図は、この分岐タスク115における構成及び動作
を示す図である。
FIG. 4 is a diagram showing the configuration and operation of this branching task 115.

図に示す如く、分岐タスク115は、テーブル57及び
カウンタ56を備える。
As shown in the figure, the branch task 115 includes a table 57 and a counter 56.

テーブル57は、図示しないツールにより書替え(変更
)可能なテーブルであり、それぞれ連続した番号57゛
が付された複数の行(エントリ)57 a +  57
 b 、・−を有する。そして各エントリには、分岐キ
ュー118の各キューQ/〜Q、をサーチする順序デー
タが予め格納されている。第4図に示した例で云えば阻
1のエントリには、rl、2,3J即ち、rQ、、Q、
、Q3 Jの順にサーチする順序データが定義されてい
る。同様に、N12のエントリには[Qユ、Q、、Q、
、Jの順にサーチする順序、データが予め定義される。
The table 57 is a table that can be rewritten (changed) using a tool (not shown), and includes a plurality of rows (entries) 57 a + 57, each with a consecutive number 57.
b, has .-. In each entry, order data for searching each queue Q/ to Q of the branch queue 118 is stored in advance. In the example shown in FIG. 4, the entry for block 1 includes rl, 2, 3J, i.e.
, Q3 J is defined. Similarly, the entry for N12 is [Qyu, Q, ,Q,
, J, the search order and data are defined in advance.

一方カウンタ56は、このテーブル57を構成する各エ
ントリ番%(図示例ではO〜9の10種)をサイクリッ
クに指示する機能を有する。このカウンタ56は、指示
したエントリの順にキューサーチを完了した場合、或い
はキューサーチによってキューイングされた要求電文を
抽出して実行した段階で+1される。
On the other hand, the counter 56 has a function of cyclically indicating each entry number % (in the illustrated example, 10 types from O to 9) constituting the table 57. This counter 56 is incremented by 1 when the queue search is completed in the order of the designated entries, or when the request message queued by the queue search is extracted and executed.

第4図のテーブル57の例で云えば、10回(隘0〜9
)のキューサーチ動作のうち、6回がrQl−’Qコ→
Q3 Jの順に、3回がrQ、→Q。
In the example of table 57 in FIG.
), 6 times are rQl−'Qco →
Q3 In the order of J, 3 times are rQ, →Q.

→Q、 j、1回がrQ3→Q、−’Qコ」のそれぞれ
の順に行セれる。このようなサーチ順序の割合により、
キューQ/の処理の優先レベルを保ちつつ、且つ最下位
レベルのキューQ、の要求もその処理実行を保障するこ
とができる。
→Q, j, once is performed in the order of rQ3→Q, -'Qko''. With such a search order ratio,
While maintaining the priority level of the processing of queue Q/, it is possible to ensure that the processing of the request of the lowest level queue Q is also executed.

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

以上の如く本発明によれば、複数のキューをサーチする
順序に関する情報をテーブル手段によって任意に定義す
ることが可能となる。従って、処理部側では、単なるテ
ーブルの参照動作を行うのみで、各キューを所望の順序
でサーチする動作を行うことになり、制御も簡単化でき
る。
As described above, according to the present invention, information regarding the order in which multiple queues are searched can be arbitrarily defined using table means. Therefore, on the processing section side, the operation of searching each queue in the desired order is performed by simply referring to the table, and the control can be simplified.

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

第1図は、本発明の原理を示す図、第2図は本発明が通
用されるシステムの例を示す図、第3図(a)〜(d)
は第2図システムにおけるPLUコントローラの構成の
一実施例を示す図、第4図は実施例における分岐タスク
115の構成及び動作フローチャートを示す図である。 包ff要求 本発明が通用:?れるシステムめ一例 更2図 誓n口9( 6m口9( 分岐9スフにhlffる情1E−動作フローナヤート第
4図
Fig. 1 is a diagram showing the principle of the present invention, Fig. 2 is a diagram showing an example of a system to which the present invention is applied, and Figs. 3 (a) to (d).
2 is a diagram showing an example of the configuration of the PLU controller in the system, and FIG. 4 is a diagram showing the configuration and operation flowchart of the branch task 115 in the embodiment. Comprehensive ff request This invention is valid:? An example of the system that can be used Figure 2 Figure 4 Exit 9 (6m Exit 9)

Claims (3)

【特許請求の範囲】[Claims] (1)複数種類の処理の要求を受付ける要求受付部(1
3)と、 受付けられた要求の種類に応じて各要求を振分ける複数
の分岐キュー(18)とを備え、 これら各分岐キュー(18)に振分けられた処理要求を
選択的に取出して実行する処理実行装置において、 上記各分岐キュー(18)にキューイングされた要求の
有無を調査するための複数種類の各キューの調査順序を
定義するテーブル手段(17)、及び、 このテーブル手段にて定義される複数種類の調査順序の
うちのどの調査順序を用いるかを指示する指示手段(1
6)を備えた処理選択部(15)を設け、 この指示手段(16)によって指示された調査順序にし
たがって各キュー(18)を順次調査して、キューイン
グされた処理要求を抽出するとともに、 処理要求の抽出によって上記指示手段を更新し、新たに
指示される調査順序にしたがって、次の処理要求を抽出
することを特徴とする処理選択方式。
(1) Request reception unit that accepts requests for multiple types of processing (1
3) and multiple branching queues (18) that distribute requests according to the type of received requests, and selectively extracts and executes the processing requests distributed to each of these branching queues (18). In the processing execution device, a table means (17) for defining the order of checking each of the plurality of types of queues for checking the presence or absence of requests queued in each of the branch queues (18); An instruction means (1
6), which sequentially investigates each queue (18) in accordance with the investigation order instructed by the instruction means (16) and extracts the queued processing requests; A process selection method characterized in that the instruction means is updated by extracting a process request, and the next process request is extracted in accordance with a newly instructed investigation order.
(2)上記テーブル手段(17)はそれぞれ連続番号が
附された複数行のエリア(17a、b、・・・)を備え
、各行にそれぞれ1通りのキュー調査順序を示す情報が
格納されるものであり、 上記指示手段(16)は、このテーブル手段の各行の番
号をサイクリックに指示するカウンタであることを特徴
とする特許請求の範囲第(1)項記載の処理選択方式。
(2) The table means (17) is provided with a plurality of rows of areas (17a, b, . . . ) each of which is sequentially numbered, and each row stores information indicating one queue investigation order. The process selection method according to claim 1, wherein the instruction means (16) is a counter that cyclically indicates the number of each row of the table means.
(3)上記分岐キュー(18)には、それぞれ異なる処
理の優先度に区分された種類の要求が振分けられるもの
であり、 上記テーブル手段(17)は、処理優先度の高い要求が
キューイングされるキューから順次調査するための調査
順序情報が他の調査順序情報よりも頻繁に読出されるよ
う構成されることを特徴とする特許請求の範囲第(1)
項記載の処理選択方式。
(3) The above-mentioned branch queue (18) is for distributing requests classified into different processing priorities, and the above-mentioned table means (17) is for queuing requests with high processing priorities. Claim (1) characterized in that the search order information for sequentially searching from the queue is read out more frequently than other search order information.
Processing selection method described in section.
JP5541385A 1985-03-19 1985-03-19 Processing selection system Pending JPS61221832A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5541385A JPS61221832A (en) 1985-03-19 1985-03-19 Processing selection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5541385A JPS61221832A (en) 1985-03-19 1985-03-19 Processing selection system

Publications (1)

Publication Number Publication Date
JPS61221832A true JPS61221832A (en) 1986-10-02

Family

ID=12997874

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5541385A Pending JPS61221832A (en) 1985-03-19 1985-03-19 Processing selection system

Country Status (1)

Country Link
JP (1) JPS61221832A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6436358A (en) * 1987-07-31 1989-02-07 Pfu Ltd Reception arbitration control system
WO2009057208A1 (en) * 2007-10-31 2009-05-07 Fujitsu Limited Resource assignment program, management node, resource assignment method, and parallel computer system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5244136A (en) * 1975-10-03 1977-04-06 Hitachi Ltd Preference-order control system
JPS56152031A (en) * 1980-04-23 1981-11-25 Mitsubishi Electric Corp Bus controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5244136A (en) * 1975-10-03 1977-04-06 Hitachi Ltd Preference-order control system
JPS56152031A (en) * 1980-04-23 1981-11-25 Mitsubishi Electric Corp Bus controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6436358A (en) * 1987-07-31 1989-02-07 Pfu Ltd Reception arbitration control system
WO2009057208A1 (en) * 2007-10-31 2009-05-07 Fujitsu Limited Resource assignment program, management node, resource assignment method, and parallel computer system

Similar Documents

Publication Publication Date Title
EP0187523B1 (en) Pos systems
EP0187046A2 (en) Point-of-sales data system
CN102693596A (en) Function expansion method using print data, and function expansion device
WO2020195763A1 (en) Information processing device, information processing method, and recording medium
JP2001109804A (en) Information providing system
JPS61221832A (en) Processing selection system
JP2022145854A5 (en)
CN113962757A (en) Intelligent publishing method, system, equipment and medium based on multiple platforms and multiple documents
JPS63219096A (en) Transaction processor
US6529879B1 (en) Electronic cash register enabling to select recommendation commodities to a customer
JP2002352322A (en) Sales results display system
JPH09223175A (en) Method for supporting selling operation
JP5621894B2 (en) Mobile terminal and management device
JP5365101B2 (en) Sales management system
JPH0594591A (en) Discount processing system for pos system
Sharadapriyadarshini et al. Heuristics for scheduling in a Kanban system with dual blocking mechanisms
JP2023138743A5 (en) Sales data processing device, program and sales data processing method
CN111062707A (en) Commodity informatization management method and system for unmanned supermarket
CN114068023A (en) Order management method, device, equipment and medium based on health management platform
JP2021189540A (en) Electronic shelf tag system and display method
JPH0210499A (en) Multiple-shop control system by common-use pos
JPS62164195A (en) Pos terminal
JP2000207642A (en) Method and system for commodity management
JP2012118889A (en) Automatic vending machine and control method thereof, and program
JP2011095956A (en) Pos-register apparatus, special sale materialization situation display method and program in the pos-register apparatus