JPS6116326A - Sort processor - Google Patents

Sort processor

Info

Publication number
JPS6116326A
JPS6116326A JP13661384A JP13661384A JPS6116326A JP S6116326 A JPS6116326 A JP S6116326A JP 13661384 A JP13661384 A JP 13661384A JP 13661384 A JP13661384 A JP 13661384A JP S6116326 A JPS6116326 A JP S6116326A
Authority
JP
Japan
Prior art keywords
data
sorting
processing
sort
input
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
JP13661384A
Other languages
Japanese (ja)
Inventor
Kazuhide Iwata
岩田 和秀
Shigeo Kamiya
神谷 茂雄
Hiroshi Sakai
浩 酒井
Akio Tanaka
田中 晢男
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.)
National Institute of Advanced Industrial Science and Technology AIST
Original Assignee
Agency of Industrial Science and Technology
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 Agency of Industrial Science and Technology filed Critical Agency of Industrial Science and Technology
Priority to JP13661384A priority Critical patent/JPS6116326A/en
Publication of JPS6116326A publication Critical patent/JPS6116326A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform effectively the sort processing using plural keys by outputting data in the input order if these data are equal to each other. CONSTITUTION:The first and the second memories MU and ML set by dividing logically a memory area into two are controlled by a processor P, and individual pairs of input data given in pair units are stored in memories MU and ML alternately while holding the input order. The processor P compares data stored in memories MU and ML in pair units and outputs data successively in accordance with sort conditions set by the algorithm of the merge sort method. If data compared with each other are equal to each other, the processor P gives such output control to a selector S that these data are outputted in the input order.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は大量データのソート処理を高速に1且つ効率良
く実行することのできるソート処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a sort processing device that can perform sort processing of large amounts of data quickly and efficiently.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

データの集)を所定の順序に並べ直すソート処理は、デ
ータベース処理プロセスにおケル非常に重要な基本演算
である。ところが、従来の汎用電子計算機が取扱うデー
タ構造と、データベース処理プロセスで扱われるデータ
構造とが本質的に異なる為、データベースを構成する大
量データについて上記汎用電子計算機を用いて上述した
ンース処理を実行しようとすると非常に膨大な処理時間
を必要とする。そこで従来よシ、この種のソート処理を
専用に実行するソート処理装置が種々提唱されている。
The sorting process that rearranges a collection of data into a predetermined order is a very important basic operation in the database processing process. However, since the data structure handled by a conventional general-purpose computer and the data structure handled by the database processing process are essentially different, it is recommended to use the above-mentioned general-purpose computer to perform the above-mentioned source processing on the large amount of data that makes up the database. This would require an extremely large amount of processing time. Therefore, in the past, various sorting processing apparatuses have been proposed which exclusively perform this type of sorting processing.

第1図はその一例を示すソート処理装置の概略構成図で
、入力されたデータを所定の単位でソート処理する複数
の処理ニレメン) PEI 、PE。
FIG. 1 is a schematic configuration diagram of a sorting processing device showing an example of the sorting processing device, in which a plurality of processing units (PEI, PE) are used to sort input data in predetermined units.

〜PEnを縦続に接続して構成される。各段の処理ニレ
メン)PEは、例えば論理的に2つのメモリ領域を設定
した内部メモリと、上記2つのメモリ領域に格納された
データを相互比較してその読出し順序を制御するプロセ
ッサによ多構成される。そしてコントは一うCの制御を
受けて入力データ列は所定の単位で、例えばマージ・ソ
ート法のアルプリズムに従って順次ソート処理される。
~PEn are connected in cascade. The PE at each stage consists of an internal memory in which two memory areas are logically set, and a processor that mutually compares the data stored in the two memory areas and controls the order in which they are read. be done. Then, under the control of C, the input data string is sequentially sorted in predetermined units, for example, according to the merge-sort algorithm.

ところで従来1.この種のソート処理は一般に1つのキ
ーに従って、そのキーで示されるデータを外層に、或い
は降須にソートすることによ多行われる。然し乍ら、大
量データベースを取扱う場合、同時にa数のキーを用い
たソート処理を行いたいことが多層。例えば名簿を所属
別に分類し、且つその所属毎に人名を「アイウェオ」順
に整理したいことが多い。このような場合、従来一般的
には、所属キーに基づく名簿のソート処理を実行したの
ち、これによって分類された所属毎に人名をキーとした
名簿のソート処理を実行している。ところが、このとき
、分類された複数の所属忙属する人員数が異なると、そ
の人数に合わせて所属毎にソート処理プログラムを与え
ることが必要となる。っまシ、上記各所属に属する人員
数を検出し、それに応じてソート処理の繰返し回数をそ
れぞれ設定する等の煩わしさが生じる。この為−複数キ
ーによる同時ソート処理、所謂グループ・パイ処理が非
常に困難であ)、また効率が悪かった。また成るキーに
従ってデータをソート処理したのち、その結果に対して
他のキーを用いてソート処理すると、先のソート処理結
果が全く乱されてしまう虞れもあった。
By the way, conventionally 1. This type of sorting process is generally performed by sorting the data indicated by that key into outer layers, or descending order, according to one key. However, when dealing with a large-scale database, it is necessary to simultaneously perform sorting using a number of keys in multiple layers. For example, it is often desirable to classify a list by affiliation and to organize the names of people in the order of "iweo" for each affiliation. In such a case, conventionally, the list is generally sorted based on the affiliation key, and then the list is sorted using the person's name as a key for each of the classified affiliations. However, at this time, if the number of personnel belonging to a plurality of classified departments is different, it becomes necessary to provide a sorting program for each department according to the number of people. However, it is troublesome to detect the number of personnel belonging to each of the above-mentioned departments and set the number of repetitions of the sorting process accordingly. For this reason, simultaneous sort processing using multiple keys, so-called group pie processing, was extremely difficult) and was inefficient. Furthermore, if data is sorted according to the key and then the results are sorted using another key, there is a risk that the previous sorting result will be completely disturbed.

〔発明の目的〕[Purpose of the invention]

本発明はこのような事情を考慮してなされたもので、そ
の目的とするところは、データベースを構成する大量デ
ータを複数のキーに従って簡易に、且つ高速に、効率良
くソート処理することのできる実用性の高いソート処理
装置を提供するととにある。
The present invention has been made in consideration of these circumstances, and its purpose is to provide a practical method for easily, quickly, and efficiently sorting a large amount of data that constitutes a database according to multiple keys. Our goal is to provide a highly efficient sort processing device.

〔発明の概要〕[Summary of the invention]

本発明は入力データをその入力順序を保って第1j?よ
び第2のメモリに粗銀に格納し、これらの粗間のデータ
をマーゾ・ソート法によシ比較して設定ソート条件に従
って順に出力するプロセッサを複数段に亘って縦続に接
続して構成され、・母イブライン動作するものであって
、各段の′fプロセッサあっては、特に比較したデータ
が相互に等しいとき、そのデータを入力順序通Qに読出
し、これを出力するようにしたものである。
The present invention maintains the input order of input data and converts the input data to the first j? and a second memory, and these coarse data are compared using the Marzo sorting method, and the processors are sequentially output according to set sorting conditions, connected in cascade. , - The 'f processor of each stage is designed to read out the data to Q through the input order and output it, especially when the compared data are equal to each other. be.

つまシ、比較したデータが等しく、そのキーによるソー
トの順序が特定されない場合には、必ずそのデータの出
力順序を入力順序と等しくするようにしたものであシ、
これによって他のキーによるソート処理の結果を保存す
るようにしたものである。
Finally, if the compared data are equal and the sorting order by the key is not specified, the output order of the data is always the same as the input order.
This allows the results of sorting using other keys to be saved.

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

かくして本発明によれば、比較したデータがμしく、そ
のキーによるソートの順序が特定さトない場合、必ずそ
のデータの入力順序で該デ、−夕が出力されるので、そ
のソート処理に先立′)て他のキーに従って行われたソ
ート処理の結果をそのまま保存することができる。従っ
て、例えば前述した例のよりに、所属と氏名を中−とす
るソート処理を行う場合であっても、先ず氏名をキーと
したソート処理を行ったのち、そのソート処理結果に対
して、所属をキーとするソート処理をそのまま実行する
だけで簡易に、且つ効率良く所望とするソート処理結果
を得ることが可能となる。つまシ、グループパイ処理を
、簡易に行い得る。従って、従来のように所属で分類さ
れた人員数に応じてソート処理の繰返し回数を設定する
等の煩られしさかなく、定形化された処理プログラムを
有効に稼動させて、簡易に且つ効率良く所望とするソー
ト処理を実行し得る等の実用上多大な効果が奏せられる
Thus, according to the present invention, if the compared data is large and the order of sorting by the key is not specified, the data is always output in the input order of the data, so the sorting process is performed first. The results of sorting performed according to other keys can be saved as is. Therefore, for example, in the case of sorting based on affiliation and name as in the example above, first sorting is done using name as the key, and then It becomes possible to easily and efficiently obtain the desired sorting results by simply executing the sorting process using the key . You can easily perform group pie processing. Therefore, instead of having to worry about setting the number of repetitions of sort processing according to the number of personnel classified by department as in the past, it is possible to effectively run a standardized processing program and easily and efficiently. This has great practical effects, such as being able to perform desired sorting processing.

〔発明の実施例〕[Embodiments of the invention]

以下、図面を参照して本発明の一実施例につき説明する
Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

本実施例装置は、基本的には第1図に示すもと同様に複
数の処理ニレメン) P El r P E2PEnを
縦続に接続して構成される。しかして段の処理ニレメン
)PEは、本実施例にあっては第2図に示す如く構成さ
れる。第2図においてMU、MLは、論理的にメモリ領
域を2分割して設定される第1および第2のメモリであ
)、プロセッサPの制御を受けて、組単位で与えられる
入力データを、その入力順序を保持し念上で連句に第1
のメモーリMU1第2のメモリMLに交互に格納するも
のとなっている。上記プロセッサPは、上記第1および
第2のメモ!JMU、MLに格納されたデータを前記組
単位間で相互比較し、マージソート法のアルコ0リズム
に従って上記比較したデータを、設定されたソート条件
に応じて順に出力するものとなっている。尚、ここでは
、上記データの出力切換えはセレクタSKよ〕行われる
ようKなっている。
The apparatus of this embodiment is basically constructed by connecting a plurality of processing elements (PE2PEn) in cascade in the same manner as shown in FIG. In this embodiment, the processing stage PE is constructed as shown in FIG. 2. In FIG. 2, MU and ML are first and second memories set by logically dividing the memory area into two), and under the control of processor P, input data given in sets are Keep the input order and make sure to enter the first couplet in the couplet.
The memory MU1 and the second memory ML are alternately stored. The processor P processes the first and second memo! The data stored in JMU and ML are compared between the set units, and the compared data is output in order according to the set sorting conditions according to the algorithm of the merge sort method. Here, the output switching of the data is performed by the selector SK.

しかして上記マージソート法は、例えば2組のデータ4
,6.5.8が第1および第2のメモリMU、MLにそ
れぞれ格納されたとき、先ずデータ4,5を相互比較し
、昇順ソートなる条件に従って、メモリMUからデータ
4を出力し、次にデータ6.5を相互比較してメモリM
Lからデータ5を出力し、更にデータ6.8を相互比較
してメモリMUからデータ6を出力し、最後に残された
データ8を出力してデータ列4,5゜1 、sをソート
結果として得るものである。
However, in the above merge sort method, for example, two sets of data 4
, 6.5.8 are stored in the first and second memories MU and ML respectively, first compare data 4 and 5 with each other, output data 4 from memory MU according to the condition of ascending order sorting, and then Compare data 6.5 to memory M
Output data 5 from L, further compare data 6.8 with each other, output data 6 from memory MU, output the last remaining data 8, and sort data strings 4, 5゜1, s. This is what you get as follows.

ところが、入力されたデータの組が2,3゜6.9.1
,4,6.9である場合、上述したマージソート法によ
れば1.2,3,4,6゜6.9なるデータ列を得るこ
とができるが、このうち上記6,6なるデータ列は、ど
ちらのメモリMU、MLから読出したものか判らない。
However, the input data set is 2.3°6.9.1
, 4, 6.9, according to the merge sort method described above, it is possible to obtain a data string of 1.2, 3, 4, 6°6.9, but among these, the data string of 6, 6 is obtained. It is not known from which memory MU or ML the data was read.

換言すれば、どちらのメモIJMU、MLからデータ6
を得たとしても、そのキーに関するソート処理について
は問題がない。然し、上記データ6が実際には他のキー
による属性を伴うデータ6&r6bである場合、そのデ
ータ出力順序に何らかの制約が加わることが多いが、実
際には上述した単一のキーに従うソート処理においては
、上記制約を何ら考慮することができない。
In other words, data 6 from either memo IJMU, ML
Even if the key is obtained, there is no problem with the sorting process related to that key. However, if the above data 6 is actually data 6&r6b with attributes based on other keys, some restrictions are often placed on the data output order, but in reality, in the sorting process based on the single key mentioned above, , the above constraints cannot be considered at all.

そこで本装置にあっては、プロセッサPからセレクタS
に対して、比較したデータが相互に等しい場合には、そ
のデータの出力順序が必ずその入力順序となるぺ〈出力
制御が与えられるようKなっている。つまル、最初に入
力される組のデータが第1のメモリMUK格納され、次
の組のデータが第2のメモリMLに格納されることから
、これらの紐間モの比較データが相互に等しい場合には
、必ず第1のメモIJMUに格納されたデータから順に
読出されるものとなっている。
Therefore, in this device, from the processor P to the selector S
On the other hand, if the compared data are equal, the output order of the data is always the same as the input order. In other words, since the first set of data input is stored in the first memory MUK and the next set of data is stored in the second memory ML, the comparison data of these strings are equal to each other. In this case, the data stored in the first memo IJMU is always read out in order.

かくしてこのように構成された装置において、複数のキ
ーのデータにて構成されるデータ”Q−スを、上記複数
のキーに関して繰返しソート処理を実行する場合、その
キーによるソート処理の比較データが等しいときKは、
そのデータが入力された順序で出力されることになるの
で、先に得られたソート処理結果がそのまま保存される
ことになる。従って、例えば所属と、人名とからなる2
つのキーを用いてグループバイ処理を行うよう表場合、
第3図に示すよりに下位レベルの概念である人名をキー
としてソート処理したのち、その処理結果を所属をキー
とじてソート処理すれば、上記人名によるソート処理結
果を保存した上で所属をキーとしたソート処理結果を得
ることが可能となる。つま〕、人名を50音順にソート
処理した上で、これらを所属側にソート処理し、その所
属毎の人名については先のソート処理結果をそのまま残
すことが可能となる@ 第4図は、その具体的な例に:)旨て示すものであ)、
各データは(番号、氏名、所属、住所)からなるデータ
々−スとしてそれぞれ与えられぞbる。そして、これら
のデータは、番号順に与えられるようになっている。
In the device configured in this manner, when the data "Q-s" consisting of data of multiple keys is repeatedly sorted with respect to the plurality of keys, the comparison data of the sorting processing by the keys is equal. When K.
Since the data will be output in the order in which it was input, the previously obtained sorting results will be saved as they are. Therefore, for example, two items consisting of affiliation and person's name.
If you want to perform group-by processing using one key,
If you sort the results using the name of the person as a key, which is a lower-level concept than shown in Figure 3, and then sort the results using the department as the key, you can save the results of sorting based on the person's name and then use the department as the key. It is possible to obtain the sorting results as follows. In other words, it is possible to sort the names of people in alphabetical order and then sort them into their affiliations, leaving the previous sorting results as they are for the names of each affiliation. For a specific example:),
Each piece of data is given as a data source consisting of (number, name, affiliation, address). These data are given in numerical order.

そこで今、上記データを所属毎に分類し、且つ各所属毎
に氏名を50音順に並べると云う命題を与えるものとす
る。この場合、従来では、&に示す入力データの所属に
着目し、これをキーとしてソート処理を実行して同図中
bK示す如きソート処理結果を得ている。これによって
、各データは所属毎に分類されるとと忙なる。ところが
、各所属の人名(氏名)Kついてはソート処理が行われ
ていないことから、次に氏名をキーとするソート処理が
必要となる。然し、各所属に属する人員数が異なること
から、前述したように各所属毎にソート処理プログラム
ラ準備することが必要とな多、非常に煩られしす。
Therefore, we will now give a proposition to classify the above data by affiliation, and to arrange the names of each affiliation in alphabetical order. In this case, conventionally, attention has been paid to the affiliation of the input data indicated by &, and a sorting process is executed using this as a key to obtain a sorting result as indicated by bK in the figure. This makes it difficult to classify each piece of data by affiliation. However, since no sorting process has been performed on the names (names) K of the persons belonging to each organization, a sorting process using the names as keys is required next. However, since the number of personnel belonging to each department is different, it is necessary to prepare a sorting program for each department as described above, which is very troublesome.

この点、本装置でホ、下位しくルの概念、りiJ)分類
された所属の中でのソート処理である氏名をキーとして
、ff+d#・に従って入力データのソート処理が実行
される。即ち、データaK示すように番号順に入力され
ることから、初段の処理ニレメン)PEIでは入力デー
タを2つずつ比較してソート処理を行い、第4図中、C
に示すよ5に2つのデータを組としてなるマージソート
結果を順に得る。このような組のデ°−タに対して、2
段目の処理エレメントPE、では、各組のデータをマー
ジソートし、dK示すように4つのデータを組としてな
るソート処理結果を得る・同様にしてta3段目の処理
エレメントPK、では、これらの組のデータをマージソ
ートし、eK示す如き8つのデータを組としてなるソー
ト処理結果を得る。この例では入力データが8ケである
ことから、以上の3段のマーソノ”−)Kよシ、そのソ
ート処理が終了する。そして、これによって、入力デー
タは氏名をキーとして50音J@にソートされることに
なる。
In this regard, in this apparatus, the input data is sorted according to the concept of subclass, iJ) Sorting processing within classified affiliations, using the name as a key, according to ff+d#. That is, since the data is input in numerical order as shown in FIG.
As shown in Fig. 5, merge sort results are obtained in which the two data are grouped in sequence. For such a set of data, 2
The processing element PE in the third stage merge-sorts each set of data, and obtains the sorting result in which four data are grouped as shown in dK.Similarly, the processing element PK in the third stage ta merge-sorts these data sets. The sets of data are merge-sorted to obtain a sort processing result in which eight data sets are grouped as shown in eK. In this example, since the input data is 8 digits, the above 3-level masono ``-)K'' sorting process is completed.As a result, the input data is divided into 50 syllables J@ using the name as a key. It will be sorted.

しかるのち、このよう々ソート処理結果に対して、今度
は上位レベルの概念である所属をキーとして、f*g+
hK示すよう忙ソート処理が繰返し行われる。しかして
この場合、1段目の処理ニレメン)PE1では、入力デ
ータを2っ゛ずつソート処理し、tK示すよ5に2つの
データを組とするマージソート結果を4組得る。しかる
のち、このようなマージソートi釆に対して2段目の処
理エレメントp1.では、同様にしてマージソートを行
うが、この際「設計」をキーとする2つの同じr−りが
出現する。この場合、従来ではどちらのデータから出力
するかが、¥定であったが本装置では、必ず先に人力さ
れ算データから順に出力される。従って、そのマオゾン
ート処理結果は、fに示されるように「石川、設計」「
神谷、設計」のように、氏名によるソート処理結果がそ
のまま保存された状態で得られることKなる。同様忙し
て「酒井\設計」「検出、設計」なるデータについても
、その組において先の氏名をキーとしたソート処理結果
が保存される。゛そして、第3段目の処理ニレメン)P
Esにおりても、そのキーのデータが「営業」「経理」
[設計」においてそれぞれ等しくなったとき、そのデー
タは入力順に、出力されるので、gに示すように50音
順にソートされた結果が各所属においてそれぞれ保存さ
れることになる。
After that, with respect to the results of the sorting process, f*g+
The busy sorting process is repeated as indicated by hK. However, in this case, in the first stage processing element PE1, the input data is sorted in units of 2, and 4 sets of merge sort results, each consisting of 2 sets of data, are obtained at 5, as shown by tK. After that, for such merge sort i-button, the second stage processing element p1. Now, a merge sort is performed in the same way, but at this time, two identical r-ri's with "design" as the key appear. In this case, in the past, it was fixed which data to output first, but with this device, the manually calculated data is always output in order. Therefore, the Maozon root processing result is ``Ishikawa Design'' and ``F'' as shown in f.
This means that the results of sorting by name, such as "Kamiya, Design", can be obtained in a state where they are saved as they are. Similarly, for the data ``Sakai\Design'' and ``Detection, Design,'' the results of sorting using the previous name in that group as a key are saved.゛And the third stage of processing Niremen)P
Even in Es, the key data is "sales" and "accounting"
When they are equal in [Design], the data is output in the order of input, so the results sorted in alphabetical order as shown in g are stored in each affiliation.

このよう処して、2つのキーを用いたソート処理が、各
キーによるソート処理プ日セスを繰シ返すだけで簡易に
実行される。しかも、従来のよりに1先に行われたソー
ト処理結果に応じて、次のキーによるソート処理プロセ
スを組変える必要がない。つま)、比較データが等しい
場合には、そのデータを入力/[に出力すると云う簡易
な制御ゾロセ゛スを加えることによって、他のキーによ
るソート処理結果を効果的に保存して、複数キーによる
ソート処理を効果的に行うことができる。
In this manner, sorting using two keys can be easily performed by simply repeating the sorting process using each key. Furthermore, unlike the conventional method, there is no need to rearrange the sorting process using the next key depending on the result of the sorting process performed first. By adding a simple control that inputs/outputs the data to [ if the comparison data is equal, the results of sorting by other keys can be effectively saved and sorting by multiple keys can be done. can be done effectively.

また以上の処理を/母イブライン処理を行い乍ト繰返し
実行することができるので、高速なソ←ト処理が可能で
あシ、その実用的利点は絶大である。
Furthermore, since the above processing can be repeatedly executed while performing the mother line processing, high-speed sorting processing is possible, and its practical advantage is enormous.

尚、本発明は上記実施例に限定されるものではない。例
えば処理エレメントPEによるソート処理段数は入力デ
ータ数に応じて定めればよいものである。また3つ以上
のキーを用すたソート処理も勿論可能であ夛、そのキー
数に応じてソート処理の繰返し回数を設定すればよい。
Note that the present invention is not limited to the above embodiments. For example, the number of stages of sort processing by the processing element PE may be determined according to the number of input data. Further, it is of course possible to carry out a sorting process using three or more keys, and the number of repetitions of the sorting process may be set according to the number of keys.

またメモリMU、MLやプロセッサP1セレクタSの構
成は仕様に応じて定めればよい。要するに本発明はその
要旨を逸脱しない範囲で種々変形して実施することがで
きる。
Furthermore, the configurations of the memories MU and ML and the processor P1 selector S may be determined according to specifications. In short, the present invention can be implemented with various modifications without departing from the gist thereof.

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

第1図はソート処理装置の基本構成図、第2図は本発明
の一実施例に係る処理エレメントの構成図、第3図はソ
ート処理プロセスの概念を示す図、第4図はソート処理
の実行形態の一例を示す図である。 pE(pEl、pg!〜Pち)・・・処理エレメント、
C・・・コントローラ、MU・・・第1のメモリ、ML
・・・第2のメモリ、P・・・ゾーロセツサ、S・・・
セレクタ。 出願人 工業技術院長  川 1)裕 部第1図 第2図 第3図 第 4図
FIG. 1 is a basic configuration diagram of a sorting processing device, FIG. 2 is a configuration diagram of processing elements according to an embodiment of the present invention, FIG. 3 is a diagram showing the concept of a sorting process, and FIG. 4 is a diagram of a sorting process. It is a figure showing an example of an execution form. pE (pEl, pg!~Pchi)...processing element,
C... Controller, MU... First memory, ML
...Second memory, P...Zorosetsusa, S...
selector. Applicant: Director of the Agency of Industrial Science and Technology Kawa 1) Hirobe Figure 1 Figure 2 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] 組単位で与えられる入力データをその入力順序を保つて
第1および第2のメモリに組毎に格納し、これらの各組
のデータを前記組単位間で相互に比較し、この比較結果
と設定されたソート条件とに従つて前記第1または第2
のメモリからデータを順に読出してソート処理を行うプ
ロセッサを具備してなる複数の処理エレメントを縦続に
接続して構成され、前記プロセッサは比較されたデータ
が等しいとき、そのデータを前記第1および第2のメモ
リへの入力順序通りに読出してなることを特徴とするソ
ート処理装置。
Input data given in units of sets is stored in first and second memories for each set while maintaining the input order, and the data of each set is compared with each other between the sets, and the results of this comparison and settings are the first or second sorting condition according to the sorting condition
It is configured by connecting a plurality of processing elements in cascade, each including a processor that sequentially reads data from the memories of the 2. A sorting processing device characterized in that the sorting processing device reads data in accordance with the order of input to the memory.
JP13661384A 1984-07-03 1984-07-03 Sort processor Pending JPS6116326A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13661384A JPS6116326A (en) 1984-07-03 1984-07-03 Sort processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13661384A JPS6116326A (en) 1984-07-03 1984-07-03 Sort processor

Publications (1)

Publication Number Publication Date
JPS6116326A true JPS6116326A (en) 1986-01-24

Family

ID=15179393

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13661384A Pending JPS6116326A (en) 1984-07-03 1984-07-03 Sort processor

Country Status (1)

Country Link
JP (1) JPS6116326A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1989003091A1 (en) * 1987-09-25 1989-04-06 Hitachi, Ltd. Method of sorting vector data and a vector processor adapted thereto
JPH01103785A (en) * 1987-07-16 1989-04-20 Namuko:Kk Sorting circuit
JPH01211191A (en) * 1988-02-19 1989-08-24 Fujitsu Ltd Dictionary sorting processor
JPH02224018A (en) * 1988-11-16 1990-09-06 Namco Ltd Sorting circuit
JPH03219327A (en) * 1990-01-25 1991-09-26 Mitsubishi Electric Corp Index forming processor
JPH04281522A (en) * 1991-03-11 1992-10-07 Sharp Corp Individual information management device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57189248A (en) * 1981-05-18 1982-11-20 Toshiba Corp Relational algebra operating device
JPS57189244A (en) * 1981-05-18 1982-11-20 Toshiba Corp Relational algebra operating device
JPS58114132A (en) * 1981-12-26 1983-07-07 Fujitsu Ltd Data processing system
JPS5945546A (en) * 1982-08-23 1984-03-14 カネヴァリィ・ティムバ−・カンパニ− Method and system for handling a plurality of data record according to key field value

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57189248A (en) * 1981-05-18 1982-11-20 Toshiba Corp Relational algebra operating device
JPS57189244A (en) * 1981-05-18 1982-11-20 Toshiba Corp Relational algebra operating device
JPS58114132A (en) * 1981-12-26 1983-07-07 Fujitsu Ltd Data processing system
JPS5945546A (en) * 1982-08-23 1984-03-14 カネヴァリィ・ティムバ−・カンパニ− Method and system for handling a plurality of data record according to key field value

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01103785A (en) * 1987-07-16 1989-04-20 Namuko:Kk Sorting circuit
WO1989003091A1 (en) * 1987-09-25 1989-04-06 Hitachi, Ltd. Method of sorting vector data and a vector processor adapted thereto
US5226135A (en) * 1987-09-25 1993-07-06 Hitachi, Ltd. Method for sorting vector data on the basis of partial vectors and vector processor
JPH01211191A (en) * 1988-02-19 1989-08-24 Fujitsu Ltd Dictionary sorting processor
JPH02224018A (en) * 1988-11-16 1990-09-06 Namco Ltd Sorting circuit
JPH03219327A (en) * 1990-01-25 1991-09-26 Mitsubishi Electric Corp Index forming processor
JPH04281522A (en) * 1991-03-11 1992-10-07 Sharp Corp Individual information management device

Similar Documents

Publication Publication Date Title
US4514826A (en) Relational algebra engine
Sahni Preemptive scheduling with due dates
CN111562898B (en) Multistage merging and sorting method based on FPGA
JPS6116326A (en) Sort processor
Mahmoud Distributional analysis of swaps in Quick Select
WO2005043409A1 (en) Table-formatted data connection method, connection device, and program
JPH021059A (en) Associative retrieving system
JPH09134365A (en) Method and apparatus for derivation of optimization couplingrule
Snijders et al. Extensions of triad counts to networks with different subsets of points and testing the underlying random graph distributions
Muraszkiewicz et al. Towards a parallel rough sets computer
CN113656430B (en) Control method and device for automatic expansion of batch table data
JPS59123048A (en) Sorting processor
JPH0581337A (en) Data processor
Jiang et al. Attribute Reduction Method of Power Big Data Based on Rough Set
JPH033249B2 (en)
JPH10301935A (en) Data processing method
JPH05334308A (en) Generation and processing system for family constitution data
JPH04155521A (en) Sorting processing system
JPH01288920A (en) Data sorting device
JPS6116327A (en) Data processor
JPH10260988A (en) Clustering method
Sadeghzadeh Task scheduling in distributed environment using genetic algorithm
JPS62186328A (en) Sort processing system
Calude et al. Rearrangements of Real Functions Derived from the Combinatorics of Young Tableaux
JPS5995649A (en) Relational algebra processor