Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5853384B2 - General information - Google Patents
[go: Go Back, main page]

JPS5853384B2 - General information - Google Patents

General information

Info

Publication number
JPS5853384B2
JPS5853384B2 JP50156870A JP15687075A JPS5853384B2 JP S5853384 B2 JPS5853384 B2 JP S5853384B2 JP 50156870 A JP50156870 A JP 50156870A JP 15687075 A JP15687075 A JP 15687075A JP S5853384 B2 JPS5853384 B2 JP S5853384B2
Authority
JP
Japan
Prior art keywords
information
circuit
keyword
record information
storage device
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.)
Expired
Application number
JP50156870A
Other languages
Japanese (ja)
Other versions
JPS5279642A (en
Inventor
俊雄 樫尾
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.)
KASHIO KEISANKI KK
Original Assignee
KASHIO KEISANKI KK
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 KASHIO KEISANKI KK filed Critical KASHIO KEISANKI KK
Priority to JP50156870A priority Critical patent/JPS5853384B2/en
Publication of JPS5279642A publication Critical patent/JPS5279642A/en
Publication of JPS5853384B2 publication Critical patent/JPS5853384B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】 この発明は、例えば伝票情報を集計整理するための情報
処理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an information processing method for tabulating and organizing slip information, for example.

伝票、例えば売上げ伝票にあっては、その売上げ担当を
あられす「部」「課」「係」「担当者」の情報に合わせ
て、「品名」「数量」「金額」等のデータ情報が存在す
る。
For a slip, for example a sales slip, there is data information such as "product name", "quantity", "amount", etc., along with information on the "department", "section", "person in charge", and "person in charge" who are responsible for the sales. do.

、そして、これを電子計算機等で処理するための情報と
する場合には、「部」「課」「係」「担当者」等の担当
情報を集計整理するためのキーワードとして表現し、「
品名」「数量」「金額」等を演算等の処理すべき情報と
するもので、例えば分類条件の上位キーワードから直列
的に順次配置1ル、このキーワード群のあとにデータ情
報をつづけるようにして、1つのレコード情報を形成し
ている。
If this is to be processed by a computer, etc., it can be expressed as keywords to aggregate and organize information such as "department", "section", "section", "person in charge", etc.
Item name, quantity, amount, etc. are the information to be processed through calculations, etc. For example, the keywords are arranged in series starting from the top keywords in the classification condition, and the data information is continued after this keyword group. , forming one record information.

例えば、「部」「課」「係」「担当者」をそれぞれ2桁
で表わす場合には、その2桁のキーワードを区切りコー
ドBkで区切って下記のように表現する。
For example, when "department", "section", "person in charge", and "person in charge" are each represented by two digits, the two-digit keywords are separated by a delimiter code Bk and expressed as follows.

ここでBeはブロック区切りコードで、レコード情報単
位を区切る。
Here, Be is a block delimiter code that delimits record information units.

そして、これらのレコード情報は、キーワード部で設定
される優先順位にしたがって、すなわち同一部、同−課
、同−係、同一担当者の順位でそれぞれ集合されるよう
に直列的に整列されるものであり、同一の「部」例えば
「01」の部でデータが集合され、このデータ集合体の
中でさらに同一の「課」例えば「01」の課、さらにそ
の課内で同一の「係」例えば「01」の係、・・・・・
・等と順次集合して、レコード情報が整列整理される。
These record information are arranged in series according to the priority order set in the keyword section, that is, in the order of the same department, same department, same section, and same person in charge. , data is collected in the same "department", for example, "01", and within this data collection, data is further collected in the same "division", for example, "01", and furthermore, within that division, data is collected in the same "section", for example, "01". Person in charge of "01"...
・etc. are collected in order and the record information is arranged and organized.

そして、このように整列された多数のレコード情報は例
えばディスク等の記憶装置に記憶保存されるものである
A large number of record information arranged in this manner is stored in a storage device such as a disk, for example.

このような伝票情報は、また部単位、部単位、部単位等
で各レコードに共通な情報を集計処理されるものである
が、例えば部単位で集計する場合には、部をあられすキ
ーコード、すなわち上記例では先頭の2桁からなるキー
ワードの等しいもののレコード情報を集め、その例えば
売上げ情報を加算して部単位の売上げデータを集計する
ものである。
This type of slip information is also processed by aggregating information common to each record on a unit-by-set, unit-by-unit, unit-by-unit basis. In other words, in the above example, record information of items having the same keyword consisting of the first two digits is collected, and sales information is added thereto to total sales data for each copy.

この発明は上記のような情報集計処理等に際して、その
集計情報をより効果的に表現して集計レコード情報の作
成作業が行なわれるようにする情報処理方式を提供しよ
うとするものである。
The present invention aims to provide an information processing method that more effectively represents the aggregated information during the information aggregation process as described above, and allows the work of creating aggregated record information to be performed.

すなわち、この発明においては、例えば「係」単位の集
計情報を得る場合には、前記したように構成されるレコ
ード情報の中から、「係」より上位のキーワードの一致
するレコード情報を抽出し、そのデータ情報の加算集計
等の処理を行ない、「担当者」のキーソード部を削除し
た「係」より上位のキーワードにつづいて上記処理情報
を従続させるようにして、新しい「係」単位の集計レコ
ード情報を作成するもので、その集計レコード情報は下
記のように表現される。
That is, in the present invention, for example, when obtaining aggregate information in units of "person in charge", record information with matching keywords higher than "person in charge" is extracted from among the record information configured as described above, Processing such as addition and aggregation of the data information is performed, and the above-mentioned processed information is made to follow the keywords higher than "person in charge" from which the key word part of "person in charge" has been deleted, and the new aggregation for each "person in charge" is performed. It creates record information, and the aggregated record information is expressed as follows.

そして、「課」単位、「部」単位の集計レコード情報も
、上記同様に集計単位のキーワードより上位のキーワー
ドのみを残し、下位のキーフードを削除した状態で表現
する。
The total record information for each "section" and "department" is expressed in the same way as described above, leaving only the keywords higher in rank than the keywords in the total unit, and deleting the lower key foods.

以下図面を参照しながらその一実施例を説明する。One embodiment will be described below with reference to the drawings.

第1図は上記したような任意単位キーフードを規準にし
て集計レコード情報を作成するための手段を示すもので
、主記憶装置11には例えば前述したような伝票単位の
多数のレコード情報が記憶されているもので、この記憶
レコード情報は、上位キーワードから順次集合されるよ
うに整列されている。
FIG. 1 shows a means for creating total record information based on arbitrary unit key food as described above, and the main storage device 11 stores, for example, a large number of record information in units of slips as described above. This storage record information is arranged so that it is collected in order from the top keywords.

この主記憶装置11から読み出されるレコード情報は、
加算回路12を介して内部記憶装置13にアドレスカウ
ンタ14でアドレス指定しながら書き込まれるようにな
るもので、この内部記憶装置13ではそのアドレス指定
された番地に書き込まれている情報を読み出し、アンド
回路15を介して加算回路12に結合し、主記憶装置1
1からの読み出し情報と加算し得るようにすると共に、
比較回路16に加え、その時の主記憶装置11かもの読
み出し情報と比較し得るようにする。
The record information read from this main storage device 11 is
The information is written to the internal storage device 13 via the adder circuit 12 while specifying the address using the address counter 14.In the internal storage device 13, the information written at the specified address is read out and the information is written to the internal storage device 13 using the AND circuit. 15 to the adder circuit 12, and the main memory 1
In addition to making it possible to add the read information from 1,
In addition to the comparison circuit 16, the information read out from the main memory 11 at that time can also be compared.

また、主記憶装置11からの読み出し情報は、コード検
出回路17にも結合され、ワード区切りコート丁Bkj
およびブロック区切りコード「Bejの読み出しを検知
する。
Further, the read information from the main memory device 11 is also coupled to the code detection circuit 17, and the word delimiter code Bkj
and detects reading of block delimiter code “Bej.

そして、コード検出回路17でブロック区切りコート丁
Be Jを検出した時にカウンタ18をリセットし、ワ
ード区切りコート丁BkJの検出した時にこのカウンタ
18を計数歩進し、カウンタ18で主記憶装置11から
読み出されているレコード情報のその時のレコード先頭
からのワード順位を計数するようになる。
Then, when the code detection circuit 17 detects the block delimiter Be J, the counter 18 is reset, and when the word delimiter BkJ is detected, the counter 18 is incremented. The word order of the record information being output from the beginning of the record at that time is counted.

このカウンタ18の計数情報は、一致検出回路19およ
びデコーダ20に供給し、一致検出回路19ではキーワ
ード指定部21からの指定キーワード順位と比較し、デ
コーダ20ではその時のカウンタ18の計数値に応じて
選択スイッチ22の各選択固定端子に出力信号を発生さ
せる。
The count information of this counter 18 is supplied to a match detection circuit 19 and a decoder 20, and the match detection circuit 19 compares it with the designated keyword ranking from the keyword designation section 21, and the decoder 20 uses the count information of the counter 18 at that time. An output signal is generated at each selected fixed terminal of the selection switch 22.

例えば、前記伝票情報の例で、「係」単位で集計する場
合には、キーワード指定部21で「部」「課」「係」を
あられす3つのキーワードを指定し、図示しない回路に
より主記憶装置11からの読み出しに応じて順次出力す
るもので、一致検出回路19からは、主記憶装置11か
ら1部」「課」「係」をあられすキーワードを読み出す
時に一致出力を発生し、前記比較回路16に比較指令を
発生し、同時にオア回路23を介して情報伝送に同期す
るクロック信号の結合されるアンド回路24のゲートを
開き、アドレスカウンタ14をクロック信号で歩進しな
がら主記憶装置11から読み出されたデータを記憶装置
13に書き込むようにする。
For example, in the example of the slip information, if you want to total by "person in charge", three keywords such as "department", "section", and "person in charge" are specified in the keyword specifying section 21, and a circuit (not shown) is used to store the information in the main memory. The match detection circuit 19 generates a match output when reading keywords such as ``part 1'', ``section'', and ``section'' from the main memory 11, and outputs the match outputs sequentially in response to reading from the device 11. A comparison command is generated in the circuit 16, and at the same time, the gate of the AND circuit 24 to which a clock signal synchronized with information transmission is coupled is opened via the OR circuit 23, and the address counter 14 is incremented by the clock signal while the main memory 11 is incremented. The data read from is written to the storage device 13.

上記比較回路16では一致検出回路19からの一致出力
により比較指令が与えられ結合される2人力情報を比較
し、比較結果の不一致の時に出力信号を発生してフリッ
プフロップ回路25をセットする。
The comparison circuit 16 receives a comparison command based on the coincidence output from the coincidence detection circuit 19, compares the combined two-person input information, and generates an output signal to set the flip-flop circuit 25 when the comparison results do not match.

このフリップフロップ回路25は、前記コード検出回路
17でブロック区切りコード「BeJを検出した時にリ
セットされるもので、そのリセット状態でアンド回路1
5およびアンド回路26にゲート信号を与える。
This flip-flop circuit 25 is reset when the code detection circuit 17 detects the block delimiter code "BeJ", and in the reset state, the AND circuit 1
5 and an AND circuit 26.

また、選択スイッチ22では集計すべきデータ情報のワ
ード順位を切換設定するもので、主記憶装置11から当
該集計すべきデータワードが読み出されている時に、カ
ウンタ18の計数値によるデコーダ20からの出力信号
により、前記アンド回路15および26にゲート信号を
与え、またオア回路23に信号を与える。
Further, the selection switch 22 is used to switch and set the word order of data information to be aggregated, and when the data words to be aggregated are being read out from the main memory 11, the selection switch 22 is used to switch and set the word order of data information to be aggregated. The output signal provides gate signals to the AND circuits 15 and 26, and also provides a signal to the OR circuit 23.

そして、アンド回路26の出力側にはインバータ27を
接続し、このインバータ27で内部記憶装置13からの
読み出し情報の結合されるアンド回路28のゲートを制
御し、このアンド回路28から取り出された上記読み出
し情報はバッファ記憶装置29に書き込むようにする。
An inverter 27 is connected to the output side of the AND circuit 26, and this inverter 27 controls the gate of an AND circuit 28 to which information read from the internal storage device 13 is combined. The read information is written to the buffer storage device 29.

また、このバッファ記憶装置29には、アンド回路26
からの出力信号をキャンセル指令として与え、このキャ
ンセル指令でその時書き込まれたレコードを消去させる
ようにする。
The buffer storage device 29 also includes an AND circuit 26
The output signal from the controller is given as a cancel command, and the record written at that time is erased by this cancel command.

すなわち、上記のように構成される装置で、主記憶装置
11に前述したような担当者単位のレコード情報が必要
状態に整置1ルて記憶され、「係」単位で集計するため
にキーワード指定部21に上位から「係」までのキーワ
ード順位すなわち「部」「課」「係」の3番目までのキ
ーワード順位を設定したものとすると、まず動作指令を
与えることにより、主記憶装置11から整列順位にした
がってレコード情報が直列的に読み出される。
That is, in the device configured as described above, the record information for each person in charge as described above is stored in the main storage device 11 in a necessary manner, and a keyword is specified to aggregate the information for each person in charge. Assuming that the keyword ranking from the top to "section" is set in the department 21, that is, the keyword ranking up to the third of "department", "section", and "section", first, by giving an operation command, the keywords are sorted from the main memory 11. Record information is read out serially according to the order.

そして、この読み出し情報は加算回路12を介して内部
記憶装置13に結合されるものであり、同時にコード検
出回路17でコード情報が検知され、カウンタ18で読
み出されているワード順位を計数するようになる。
This read information is coupled to the internal storage device 13 via the adder circuit 12. At the same time, the code information is detected by the code detection circuit 17, and the order of the word being read is counted by the counter 18. become.

このカウンタ18で計数されるワード順位はキーワード
指定部21で指定されたキーワード順位と比較され、主
記憶装置11から「部」「課」「係」のキーワードが読
み出される時に一致検出回路19から一致出力が得られ
、比較回路16に比較指令を与えると共に、アドレスカ
ウンタ14にクロック信号を結合し、加算回路12から
の情報を内部記憶装置13に書き込むようにされる。
The word ranking counted by this counter 18 is compared with the keyword ranking specified by the keyword specifying section 21, and when the keywords "department", "section", "section" are read out from the main storage device 11, a match is detected from the match detection circuit 19. An output is obtained, which provides a comparison command to the comparator circuit 16, couples a clock signal to the address counter 14, and writes information from the adder circuit 12 into the internal storage device 13.

この場合、主記憶装置11から先頭のレコード情報のキ
ーワードが読み出される時には、選択スイッチ22から
出力はないので、アンド回路15から出力は得られず主
記憶装置11から読み出された「部」「課」「係」のキ
ーワードはJそのまま加算回路12を介して記憶装置1
3に書き込まれる。
In this case, when the keyword of the first record information is read out from the main storage device 11, there is no output from the selection switch 22, so no output is obtained from the AND circuit 15, and the "section" and " The keywords ``section'' and ``department'' are sent directly to the storage device 1 via the adder circuit 12.
Written in 3.

また、この「部」「課」「係」のキーワードが主記憶装
置11かも読み出されている時には、一致検出回路19
からの出力により比較回路16に比較指令が与えられ主
記憶装置11から読み出されたキーワードと内部記憶装
置13から読み出される情報との比較が行われるが、こ
の場合には、内部記憶装置13内には情報は存在しない
ために不一致出力が得られ、フリップフロップ回路25
はセットされる。
Furthermore, when the keywords "department", "section", "department" are also read out from the main memory 11, the match detection circuit 19
A comparison command is given to the comparison circuit 16 by the output from the main memory 11 and the keyword read from the main memory 11 is compared with the information read from the internal memory 13. Since there is no information in , a mismatch output is obtained, and the flip-flop circuit 25
is set.

また、キーワード以降の集計すべき、データ情報部の読
み出しに応じて、必要データワードを選択スイッチ22
で選定する。
In addition, the selection switch 22 selects the necessary data word according to the reading of the data information section to be aggregated after the keyword.
Select by.

このデータワードとしては、例えば数量、金額等の複数
のものが存在するもので、例えば金額を集計する場合に
は、その金額に対応するワード順位、例えば「2」に対
応して選択スイッチ22が設定される。
There are a plurality of data words such as quantity, amount, etc. For example, when summarizing amounts, the selection switch 22 is selected in accordance with the word rank corresponding to the amount, for example "2". Set.

そして、この選択スイッチ22で、指定された金額のデ
ータソードが読み出された時にアドレスカウンタ14の
歩進を制御する。
The selection switch 22 controls the increment of the address counter 14 when the data sword of the designated amount is read out.

この時、アンド回路15はフリップフロップ回路25が
セットされているために開かれず、このため主記憶装置
11から読み出された必要データワードはそのまま内部
記憶装置13に記憶される。
At this time, AND circuit 15 is not opened because flip-flop circuit 25 is set, and therefore the necessary data word read from main memory 11 is stored in internal memory 13 as is.

したがって、先頭のレコード情報が主記憶装置11から
読み出された時点では内部記憶装置13には、「部」「
課」「係」のキーワードと、必要データワードのみが記
憶されるようになる。
Therefore, at the time when the first record information is read from the main storage device 11, the internal storage device 13 contains "part" and "part".
Only keywords such as "section" and "department" and necessary data words are stored.

このような主記憶装置11からの先頭のレコード情報の
終りに、ブロック区切りコート丁Be Jの読み出しに
よりコード検出回路17からの「Bej検出信号により
、フリップフロップ回路25、カウンタ18がリセット
され、また、図示してはいないが、アドレスカウンタ1
4も次のレコード情報に備えて初期値にもどすものであ
る。
At the end of the first record information from the main storage device 11, the flip-flop circuit 25 and the counter 18 are reset by the Bej detection signal from the code detection circuit 17 by reading the block delimiter code BeJ, and , although not shown, address counter 1
4 is also used to return to the initial value in preparation for the next record information.

そして、次のレコード情報が主記憶装置11から読み出
されると、前記同様にキーワード指定部21で指定され
たキーワードが読み出される毎に一致検出回路19から
一致検出信号が得られ、比較回路16に比較指令を与え
ると共にアドレスカウンタ14を歩進する。
Then, when the next record information is read out from the main storage device 11, a match detection signal is obtained from the match detection circuit 19 every time the keyword specified by the keyword specification section 21 is read out in the same manner as described above, and the match detection signal is sent to the comparison circuit 16 for comparison. The command is given and the address counter 14 is incremented.

この場合、比較回路16には主記憶装置からの読み出し
情報とその前に内部記憶装置13に書き込まれたレコー
ド情報の、その時に主記憶装置11から読み出されてい
るキーワードに該当する順位のワード情報が比較情報と
して結合され、その両者を比較し、一致している時には
フリップフロップ回路25をリセット状態に保持する。
In this case, the comparison circuit 16 compares the read information from the main memory device and the record information previously written to the internal memory device 13 with a word of the rank corresponding to the keyword being read from the main memory device 11 at that time. The information is combined as comparison information, the two are compared, and when they match, the flip-flop circuit 25 is held in a reset state.

この時、選択スイッチ22からの出力はないのでインバ
ータ27の出力によりアンド回路28のゲートが開かれ
、上記内部記憶装置13に対する書き込みと同時に読み
出されるその前のレコード情報のキーワード情報はバッ
ファ記憶装置29に書き込まれる。
At this time, since there is no output from the selection switch 22, the gate of the AND circuit 28 is opened by the output of the inverter 27, and the keyword information of the previous record information, which is read simultaneously with writing to the internal storage device 13, is transferred to the buffer storage device 29. will be written to.

そして、キーワード指定部21で指定したキーワードに
おいて、新しく読み出されているレコード情報のキーワ
ードと、その前のレコード情報のキーワードとが一致す
る時、フリップフロップ回路25のリセット状態が保持
され、集計すべきデータワードが主記憶装置11から読
み出される時、選択スイッチ22で選択されたデコーダ
20出力によりアンド回路15のゲートが開かれ、内部
記憶装置13に記憶されているその前のデータワードが
アンド回路15すなわち、集計すべきデータ情報が加算
回路12で加算集計され、2つのレコード情報の集計清
報として内部記憶装置13に書き込まれる。
Then, when the keyword specified in the keyword specifying section 21 matches the keyword of the newly read record information and the keyword of the previous record information, the reset state of the flip-flop circuit 25 is maintained and the totalization is completed. When the desired data word is read out from the main memory 11, the gate of the AND circuit 15 is opened by the output of the decoder 20 selected by the selection switch 22, and the previous data word stored in the internal memory 13 is read out from the AND circuit. 15, that is, the data information to be aggregated is added and aggregated by the adding circuit 12, and written to the internal storage device 13 as a summary report of the two record information.

同時に、この時バッファ記憶装置29に書き込まれた情
報は、最終的な集計情報ではないため、アンド回路29
の出力発生時にキャンセル消去する。
At the same time, since the information written to the buffer storage device 29 at this time is not the final total information, the AND circuit 29
Cancel and erase when output occurs.

すなわち、上記のような主記憶装置11からのレコード
情報の順次読み出しに対応して、同一部、同−課、同−
係の情報が集計されるもので、主記憶装置11に記憶さ
れた上記同一の「係」のレコード情報が全て読み出し終
ると、それにつづく新しい係のレコード情報が読み出さ
れる時、そのキーワード読み出し時に比較回路16から
不一致出力が発生し、フリップフロップ回路25がセッ
トされる。
That is, in response to the sequential reading of record information from the main storage device 11 as described above, the same department, the same section, the same -
The information of the person in charge is aggregated, and when all the record information of the same “person” stored in the main storage device 11 has been read out, when the record information of the new person who follows it is read out, a comparison is made when reading the keyword. A mismatch output is generated from circuit 16 and flip-flop circuit 25 is set.

したがって、アンド回路15のゲートは閉じられる状態
となり、その新しい「係」のレコード情報は前述したと
同様に内部記憶装置13に書き込まれ、それまでの集計
情報はバッファ記憶装置29に書き込み出力されるよう
になる。
Therefore, the gate of the AND circuit 15 is closed, the record information of the new "person in charge" is written to the internal storage device 13 in the same manner as described above, and the total information up to that point is written to the buffer storage device 29 and output. It becomes like this.

この場合、選択スイッチ22から出力されてもアンド回
路26から出力が得られないため、バッファ記憶装置2
9は上記集計情報をバッファ記憶するようになるもので
ある。
In this case, even if the selection switch 22 outputs an output, the AND circuit 26 does not output it, so the buffer storage device 2
Reference numeral 9 stores the above-mentioned tally information in a buffer.

そして、この動作を繰り返すことによって、主記憶装置
11に記憶された伝票情報の「係」単位の集計がされ、
「係」単位の集計情報が順次得られるもので、同様にキ
ーワード指定部21で1課」単位まで、あるいは「部」
単位のキーワードを指定することにより、「課」単位の
集計清報、「部」単位の集計情報を作成することができ
る。
By repeating this operation, the slip information stored in the main storage device 11 is aggregated for each "person in charge".
The aggregated information can be obtained sequentially for each section, and similarly, the keyword specification section 21 can be used to obtain aggregated information for each section, or for each department.
By specifying a keyword for a unit, it is possible to create a summary report for a "section" unit or a summary information for a "department" unit.

すなわち、「係」単位の集計清報は のようになり、 「課」単位の集計情報は のようになり、 さらに「部」単位の集計情報は のようになる。In other words, the tabulation report for each “person in charge” is becomes like, Aggregated information for each “section” is becomes like, Furthermore, the aggregate information for each “department” is become that way.

また、このようにして集計処理された各集計レコード情
報は、例えば「部」「課」の集計に対して各「係」のデ
ータを付属させる併合情報、例えば下記のような併合情
報を作成する必要も生ずる。
In addition, each aggregated record information that has been aggregated in this way is used to create merged information such as the one below, which attaches the data of each "department" to the aggregated "department" and "section". The need also arises.

このような場合には第2図に示すような併合手段を用い
ればよい。
In such a case, a merging means as shown in FIG. 2 may be used.

第2図において31は記憶装置であり、この記憶装置3
1は第1乃至第3の記憶部31a、31b、31qで構
成される。
In FIG. 2, 31 is a storage device, and this storage device 3
1 is composed of first to third storage sections 31a, 31b, and 31q.

そして、例えば「部」毎にその「課」単位のレコードを
集合させるように併合するには、第1の記憶部31aに
小集計である「課」単位の集計情報を整置1ルて記憶さ
せ、第2の記憶部31bには各「郡単位の「課」を集合
した集計情報を整置1ルで記憶させる。
For example, in order to merge records for each "section" into a set for each "department", the first storage unit 31a stores aggregate information for each "section", which is a small summary, in an organized manner. Then, the second storage unit 31b stores total information that collects each "division" in a county unit in an arranged manner.

そして、第1および第2の記憶部31a。31bからの
それぞれ読み出し情報はゲート回路32a 、32bを
介して第1および第2のバッファ記憶部33a 、33
bに供給する。
and first and second storage units 31a. The read information from 31b is sent to the first and second buffer storage units 33a and 33 via gate circuits 32a and 32b, respectively.
supply to b.

この第1および第2のバッファ記憶部33a 、33b
からの読み出し情報は、またそれぞれゲート回路34a
These first and second buffer storage units 33a and 33b
The read information from the respective gate circuits 34a
.

34bを介して第3の記憶部31cに結合される。It is coupled to the third storage unit 31c via 34b.

バッファ記憶部33a、33bからの読み出し信号はま
た比較回路35に供給されるもので、記憶部33a、3
3bのそれぞれ記憶情報をA、 Bとした場合、そのキ
ーワード部の(A’<Bつ、(A’> B’ )の比較
出力を発生し、両記憶情報のキーワードの等しい場合に
は比較出力を発生しないようにする。
The read signals from the buffer storage units 33a and 33b are also supplied to the comparison circuit 35, and the read signals from the buffer storage units 33a and 33b are
If the stored information in 3b is A and B, a comparison output of (A'<B, (A'>B') of the keyword part is generated, and if the keywords of both stored information are equal, a comparison output is generated. prevent this from occurring.

そして、(A’<B’)および(A’>137)の比較
出力は、それぞれオア回路36a。
The comparison outputs of (A'<B') and (A'>137) are respectively output from OR circuits 36a.

36bを介してフリップフロップ回路370セツト端子
Sおよびリセット端子RK供給すると共に、オア回路3
8を介して比較動作指令回路39に終了指令を与え、さ
らにアンド回路40にゲート指令を与える。
The set terminal S and the reset terminal RK are supplied to the flip-flop circuit 370 via 36b, and the OR circuit 3
8, a termination command is given to the comparison operation command circuit 39, and a gate command is given to the AND circuit 40.

また、バッファ記憶部33bの出力信号は区切りコード
のカウント等により、キーワード読み出し終了を検出す
る検出回路41に供給し、キーワードの読み出しが終了
した時に、選択スイッチ42を介してオア回路36aあ
るいは30bに信号を与える。
Further, the output signal of the buffer storage section 33b is supplied to a detection circuit 41 that detects the end of keyword reading by counting the delimiter code, etc., and when the reading of the keyword is completed, it is sent to the OR circuit 36a or 30b via the selection switch 42. give a signal.

上記フリップフロップ回路370セツト時およびリセッ
ト時出力信号は、それぞれアンド回路43a、43bお
よびオア回路44a 、44bを介して、ゲート回路3
2a 、32bにゲート信号を与え、アンド回路43
a t 43 bの出力信号は、さらにゲート回路34
b、34aにゲート信号として結合する。
The set and reset output signals of the flip-flop circuit 370 are sent to the gate circuit 3 via AND circuits 43a, 43b and OR circuits 44a, 44b, respectively.
2a and 32b, and the AND circuit 43
The output signal of a t 43 b is further sent to the gate circuit 34
b, 34a as a gate signal.

また、オア回路44a、44bからの出力信号は、さら
にバッファ記憶部33a。
Further, the output signals from the OR circuits 44a and 44b are further sent to the buffer storage section 33a.

33bに対して書き込み、および読み出し指令を与える
Write and read commands are given to 33b.

前記第1および第2の記憶部31a、31bからの出力
信号は、さらにコード検出回路45a。
The output signals from the first and second storage sections 31a and 31b are further sent to a code detection circuit 45a.

45bにそれぞれ供給され、記憶部31a。45b, respectively, and the storage unit 31a.

31bからレコード情報を区切るコードが読み出された
時に、コード検出信号をオア回路46に供給すると共に
、初期設定回路47はスタート指令の与えられた時のみ
駆動され、初期設定信号をオア回路44a 、44bに
与えると共に、上記コード検出信号の与えられた時に比
較動作指令回路39に対して動作指令を与えるもので、
この指令回路39からはバッファ記憶部33a 、33
bに対して読み出し指令を与えると共に、比較回路35
、キーワード読み出し終了検出回路41.選択スイッチ
42、フリップフロップ回路37等からなる比較動作回
路48に対して比較動作指令を与える。
When a code delimiting record information is read from 31b, a code detection signal is supplied to the OR circuit 46, and the initial setting circuit 47 is driven only when a start command is given, and the initial setting signal is sent to the OR circuit 44a, 44b, and also gives an operation command to the comparison operation command circuit 39 when the code detection signal is given.
From this command circuit 39, buffer storage units 33a, 33
In addition to giving a read command to b, the comparison circuit 35
, keyword reading end detection circuit 41. A comparison operation command is given to a comparison operation circuit 48 consisting of a selection switch 42, a flip-flop circuit 37, and the like.

また、上記比較動作指令信号はアンド回路40にも供給
し、このアンド回路40からの出力信号は、併合出力を
得るための処理指令回路49に対して駆動信号として与
え、この処理指令回路49からの処理指令信号はアンド
回路43a43bにゲート信号として供給し、さらにオ
ア回路46からの出力信号と共にアンド回路50に供給
し、アンド回路50の出力信号は比較動作指令回路39
に駆動指令として結合する。
The comparison operation command signal is also supplied to an AND circuit 40, and the output signal from this AND circuit 40 is given as a drive signal to a processing command circuit 49 for obtaining a combined output. The processing command signal is supplied to the AND circuit 43a43b as a gate signal, and is further supplied to the AND circuit 50 together with the output signal from the OR circuit 46, and the output signal of the AND circuit 50 is supplied to the comparison operation command circuit 39.
is combined as a drive command.

そして、処理指令回路49はオア回路46からの出力信
号で指令動作が終了される。
Then, the command operation of the processing command circuit 49 is completed by the output signal from the OR circuit 46.

すなわち、上記のように構成される装置において、前述
したように第1の記憶部31aに「課」単位の集計レコ
ード情報が記憶され、第2の記憶部31bに「課」を集
合した「部」単位の集計レコード情報が記憶されている
ものと仮定し、また併合状態にあって小さな単位の「課
」の集計レコード情報を集めた後これを統合する「部」
のレコード情報が配列出力されるように選択スイッチ4
2が図の状態にあるものと仮定する。
That is, in the apparatus configured as described above, the first storage section 31a stores the total record information for each "section", and the second storage section 31b stores the "section" record information for each "section". It is assumed that the aggregate record information of the ``division'' unit is stored, and that the aggregate record information of the small unit ``division'' in the merged state is collected and then integrated.
Select switch 4 so that the record information of
Assume that 2 is in the state shown in the figure.

この状態でスタート指令が与えられると、初期設定回路
47がらオア回路44a 、44bに信号が与えられ、
ゲート回路32a 、32bのゲートが開かれるように
なり、第1および第2の記憶部31 a 、3 i b
から先頭のレコード情報が読み出され、バッファ記憶部
33a、33bにそれぞれ書き込まれるようになる。
When a start command is given in this state, a signal is given to the OR circuits 44a and 44b from the initial setting circuit 47,
The gates of the gate circuits 32a, 32b are now opened, and the first and second storage units 31a, 3ib
The record information at the beginning is read out and written to the buffer storage units 33a and 33b, respectively.

そして、それぞれルコードの情報が記憶部31a、31
bから読み出されると、コード検出回路45a、45b
でブロック区切りコードが検出され、この検出信号によ
り初期設定回路47に指令を与え、上記読み出しおよび
書き込みの動作を停止させると共に、比較動作指令回路
39に動作指令が与えられる。
The information of the code is stored in the storage units 31a and 31, respectively.
When the code is read from code b, the code detection circuits 45a and 45b
A block delimiter code is detected, and this detection signal gives a command to the initial setting circuit 47 to stop the above read and write operations, and an operation command is given to the comparison operation command circuit 39.

すなわち、バッファ記憶部33 a t 33 bに読
み出し指令を与えると共に、比較動作回路48に動作札
刀を与え、バッファ記憶部33a 、33bに記憶され
たレコード情報のキーワード部を比較回路35で比較す
るようになる。
That is, a read command is given to the buffer storage units 33a and 33b, and an operation code is given to the comparison operation circuit 48, so that the comparison circuit 35 compares the keyword parts of the record information stored in the buffer storage units 33a and 33b. It becomes like this.

この場合、第1および第2の記憶部31a、31bに記
憶されたレコード情報は、必要状態に整列されているも
のであるため、少くともこの先頭に読み出されたレコー
ド情報の「部」単位のレコード情報は読み出された「課
」単位のレコード情報の「課」を含むものである。
In this case, since the record information stored in the first and second storage units 31a and 31b is arranged in the necessary state, at least the unit of "copy" of the record information read out at the beginning is The record information includes the "division" of the read record information in "division" units.

すなわち、バッファ記憶部33a。33bに記憶された
レコード情報の大きい方の単位である「部」のキーワー
ドは等しいものでありしたがって、比較回路35がらは
比較出力が発生されず、バッファ記憶部33bから区切
りコートが読み出された時に、キーワード読み出し終了
を検知して選択スイッチ42を介してフリップフロップ
回路37にセット指令を与え、比較動作指令回路39に
終了指令を与える。
That is, the buffer storage section 33a. The keywords of "section", which is the larger unit of record information stored in 33b, are the same, so the comparison circuit 35 does not generate a comparison output, and the delimiter code is read out from the buffer storage 33b. At the same time, the completion of keyword reading is detected and a set command is given to the flip-flop circuit 37 via the selection switch 42, and a finish command is given to the comparison operation command circuit 39.

同時に、上記比較動作指令の結合されているアンド回路
4oにも信号を与え、処理指令回路49を起動するもの
で、その処理指令信号はフリップフロップ回路37のセ
ットでゲート信号の与えられたアンド回路43aを介し
て第1のバッファ記憶部33aに書き込みおよび読み出
しの指令を与えると共に、ゲート回路32a、34aの
ゲートを開く。
At the same time, a signal is also given to the AND circuit 4o to which the comparison operation command is connected to activate the processing command circuit 49, and the processing command signal is sent to the AND circuit to which the gate signal is applied in a set of flip-flop circuits 37. A write and read command is given to the first buffer storage section 33a via the first buffer storage section 43a, and the gates of the gate circuits 32a and 34a are opened.

すなわチハッファ記憶部33aに記憶されていた「課」
のレコード情報を第3の記憶部31cに書き込むと共に
、第1の記憶部31aから新しい「課」単位のレコード
情報を読み出し、これをバッファ記憶部33aに書き込
む。
In other words, the "section" stored in the Chihaffa storage unit 33a
record information is written to the third storage section 31c, and at the same time, new record information for each "section" is read from the first storage section 31a and written to the buffer storage section 33a.

このようにして、新しいルコードの「課」単位の集計レ
コードがバッファ記憶部33aに書き込まれると、コー
ド検出回路45aからの区切りコード検出信号により、
処理指令回路49に終了指令を与えると共に、この時ゲ
ート信号の与えられているアンド回路50を介して比較
動作指令回路39で駆動指令を与え、上記のような比較
動作を繰り返し行なわせるようになる。
In this way, when the total record for each "section" of the new code is written to the buffer storage section 33a, the delimiter code detection signal from the code detection circuit 45a causes the
A termination command is given to the processing command circuit 49, and a drive command is given to the comparison operation command circuit 39 via the AND circuit 50 to which the gate signal is supplied at this time, so that the above comparison operation is repeatedly performed. .

すなわち、バッファ記憶部33aに記憶されたレコード
情報の「部」を構成する「課」のレコード情報が、バッ
ファ記憶部33aを介して順次第3の記憶部31cに書
き込まれる。
That is, the record information of the "section" constituting the "section" of the record information stored in the buffer storage section 33a is sequentially written to the third storage section 31c via the buffer storage section 33a.

そして、その「部」を構成する「課」のレコード情報が
全て第3の記憶部31cに書き込まれると、バッファ記
憶部33aには次の「部」を構成する「課」単位のレコ
ード情報が書き込まれるようになり、(第1の記憶部3
1aの記憶レコード情報が整列されているため)比較動
作指令回路39からの比較動作指令の発せられた時、比
較回路35において(A’>B’)の比較出力を発生し
、フリップフロップ回路37をリセットする。
Then, when all the record information of the "sections" that make up that "department" are written into the third storage section 31c, the record information of the "section" that makes up the next "department" is stored in the buffer storage section 33a. (first storage unit 3)
When the comparison operation command is issued from the comparison operation command circuit 39 (because the storage record information of 1a is aligned), the comparison circuit 35 generates a comparison output of (A'>B'), and the flip-flop circuit 37 Reset.

すなわち、アンド回路43bのゲートを開き、バッファ
記憶部33bに書き込みおよび読み出し指令を与えると
共に、ゲート回路32b 、34bのゲートを開き、そ
れまでバッファ記憶された「部」単位のレコード情報を
第3の記憶部31cに送り、部の併合情報を形成すると
共に、第2の記憶部31bから次の1部」単位のレコー
ド情報をバッファ記憶部33bに書き込む。
That is, the gate of the AND circuit 43b is opened to give write and read commands to the buffer storage section 33b, and the gates of the gate circuits 32b and 34b are opened to transfer the record information in units of "copies" that have been buffered up to that point to the third one. The data is sent to the storage unit 31c to form copy merge information, and record information for the next copy is written from the second storage unit 31b to the buffer storage unit 33b.

そして、コード検出回路45bからのコード検出信号で
、前述したような動作の繰り返しをスタートさせ、次の
部の併合清報を第3の記憶部31cに配列書き込むよう
になる。
Then, in response to a code detection signal from the code detection circuit 45b, repetition of the above-mentioned operation is started, and the merge report of the next part is written in an array in the third storage section 31c.

上記説明では、「課」単位の集計レコード情報を配列し
た後に、その「課」で構成される「部」単位の集計レコ
ード情報を配置1ルで併合情報を形成するようにした。
In the above explanation, after arranging the total record information for each "section", the total record information for each "department" made up of the "section" is arranged to form merged information.

しかし、スイッチ42を図の状態から切換設定すれば上
記同様の動作により、まず「部」の集計レコード情報が
あり、これにつづいてその「部」を構成する「課」単位
の集計レコード情報が配列されるような上記例とは逆配
列の併合情報が形成される。
However, if the switch 42 is switched from the state shown in the figure, the same operation as described above will result in first the total record information for the "department" and then the total record information for each "section" that makes up the "department". Merged information is formed in an inverse arrangement to the above example in which the information is arranged.

尚、上記実施例においては、任意ワードの検出を、ワー
ド区切りコードを計数し、その計数値により検出したが
、これに限らずワード区切りコードを有しない固定長の
レコード情報であれば桁数を計数することにより、また
キーワードを固定長とし、データーワードを、区切りコ
ードを介した可変長ワードであれば、桁数および区切り
コードの計数により任意のワードを指定することが可能
であり、その他、情報形態に応じて、任意のワード指定
の方法が考えられる。
In the above embodiment, an arbitrary word is detected by counting the word delimiter code and using the counted value. By counting, if the keyword is a fixed length and the data word is a variable length word via a delimiter code, it is possible to specify any word by counting the number of digits and the delimiter code, etc. Any method of specifying words can be considered depending on the information format.

また、第1図において集計すべきデータ情報のワード順
位をデコーダ20と選択スイッチ22で指定したが、こ
れはもちろんキーワード指定の場合と同様の構成でも可
能であり、その他事発明の要旨を逸脱しない範囲で種々
の応用、変形が可能な事は勿論である。
Furthermore, in FIG. 1, the word order of the data information to be aggregated is designated by the decoder 20 and the selection switch 22, but this can of course be done with the same configuration as the keyword designation, without departing from the gist of the invention. Of course, various applications and modifications are possible within this range.

以上のようにこの発明によれば、伝票情報等の累計処理
を効果的に実行し得るように表現され、また効果的に併
合情報を構成することができるようになるもので、各種
情報の集計処理作業を非常に効率的に実行し得るように
なる。
As described above, according to the present invention, it is possible to express cumulative total processing of slip information, etc. effectively, and to effectively configure merged information, and to aggregate various information. Processing tasks can be performed very efficiently.

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

第1図はこの発明の一実施例に係る情報処理方式におけ
る情報処理手段を説明するための構成図、第2図は上記
処理手段で得られた集計清報の併合整列手段の例を説明
する図である。 11・・・・・・主記憶装置、12・・・・・・加算回
路、13・・・・・・内部記憶装置、14・・・・・−
アドレスカウンタ、16・・・・・・比較回路、18・
・・・・・カウンタ、19・−・・・・一致検出回路、
21・・・・・・キーワード指定部、30・・・・・・
バッファ記憶装置。
FIG. 1 is a block diagram for explaining an information processing means in an information processing system according to an embodiment of the present invention, and FIG. 2 is an example of a means for merging and sorting aggregated reports obtained by the above processing means. It is a diagram. 11...Main storage device, 12...Addition circuit, 13...Internal storage device, 14...-
Address counter, 16... Comparison circuit, 18.
... Counter, 19 ... Coincidence detection circuit,
21... Keyword specification section, 30...
Buffer storage.

Claims (1)

【特許請求の範囲】[Claims] 1 複数のキーとなるワードをその優先順位にしたがっ
て先頭から順次配置しさらにこのキーワード郡に従属し
てデータ情報を直列的に配置してなる複数のレコード情
報をキーワード順位に対応して整夕]ルで記憶する主記
憶装置と、この主記憶装置からレコード情報単位に記憶
情報を順次読み出す手段と、レコード情報の集計整理す
るための基準となるキーワード順位より上位のキーワー
ドを指定するキーワード指定手段と、上記主記憶装置か
ら読み出されたレコード情報が書き込まれる内部記憶装
置と、この内部記憶装置にすでに記憶されたレコード情
報の上記指定されたキーワード順位より上位のキーワー
ドと上記書き込みのために供給されるレコード情報の対
応キーワードとを比較する比較手段と、この比較手段の
一致状態で上)*記内部記憶装置に供給される主記憶装
置からの読み出しレコード情報のデータ情報を加算集計
する手段とを具備し、上記内部記憶装置は上記キーワー
ド指定手段で指定されたキーワードの書き込み時、およ
び必要データ情報の書き込み時にのみ書き込み動作させ
、上記指定されたキーワード順位より下位のキーワード
を削除した集計レコード情報が形成されるようにしたこ
とを特徴とする情報処理方式。
1 Arrange a plurality of record information in accordance with the keyword ranking by sequentially arranging a plurality of key words from the beginning according to their priority, and then arranging data information in series according to the keyword group] a main storage device for storing information in a record information unit; a means for sequentially reading out stored information in units of record information from the main storage device; and a keyword specification device for specifying a keyword higher than a keyword ranking that is a standard for aggregating and organizing record information. , an internal storage device into which the record information read from the main storage device is written, and a keyword higher than the specified keyword ranking of the record information already stored in this internal storage device and which are supplied for the writing. a comparison means for comparing the corresponding keywords of the record information, and a means for adding and totaling the data information of the record information read from the main storage device supplied to the internal storage device according to the matching state of the comparison means. The internal storage device is operated to write only when the keyword specified by the keyword specifying means and when necessary data information is written, and aggregate record information with keywords lower than the specified keyword ranking is deleted. An information processing method characterized in that the information processing method is configured such that
JP50156870A 1975-12-25 1975-12-25 General information Expired JPS5853384B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP50156870A JPS5853384B2 (en) 1975-12-25 1975-12-25 General information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP50156870A JPS5853384B2 (en) 1975-12-25 1975-12-25 General information

Publications (2)

Publication Number Publication Date
JPS5279642A JPS5279642A (en) 1977-07-04
JPS5853384B2 true JPS5853384B2 (en) 1983-11-29

Family

ID=15637179

Family Applications (1)

Application Number Title Priority Date Filing Date
JP50156870A Expired JPS5853384B2 (en) 1975-12-25 1975-12-25 General information

Country Status (1)

Country Link
JP (1) JPS5853384B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62104472U (en) * 1985-12-21 1987-07-03
JPS63172169U (en) * 1987-04-28 1988-11-09

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62104472U (en) * 1985-12-21 1987-07-03
JPS63172169U (en) * 1987-04-28 1988-11-09

Also Published As

Publication number Publication date
JPS5279642A (en) 1977-07-04

Similar Documents

Publication Publication Date Title
US4221003A (en) Bubble domain relational data base system
US5117495A (en) Method of sorting data records
US5842208A (en) High performance recover/build index system by unloading database files in parallel
JPH0652225A (en) Method and system for retrieving file
US6424970B1 (en) Sorting system and method executed by plural computers for sorting and distributing data to selected output nodes
EP0166577A2 (en) Information sorting and storage apparatus and method
JPS5853384B2 (en) General information
JPS60105039A (en) Collation system of character string
US4332014A (en) Data retrieval system
US3512134A (en) Apparatus for performing file search in a digital computer
JPH01163826A (en) Coupling processing system for relational data base
JPS6244659B2 (en)
CN108335058A (en) A kind of employee&#39;s year Method To Calculate Output Value and its management system
JPH0275018A (en) Merge processing method
JPH03202934A (en) Data processor
JPH0436415B2 (en)
JPH01112364A (en) Data processor
JPH0397027A (en) data classifier
Bowles Sorting—I. Simple Algorithms
JPS6014324A (en) Associative storage device
JPH0365571B2 (en)
US3034104A (en) Data switching apparatus
Islam et al. Computational complexities of the external sorting algorithm with no additional disk space
JP2926803B2 (en) Sorting method
Raju et al. EXTERNAL DATA PREPROCESSING FOR EFFICIENT SORTING