JPH05334362A - Processor controlling message - Google Patents
Processor controlling messageInfo
- Publication number
- JPH05334362A JPH05334362A JP4138496A JP13849692A JPH05334362A JP H05334362 A JPH05334362 A JP H05334362A JP 4138496 A JP4138496 A JP 4138496A JP 13849692 A JP13849692 A JP 13849692A JP H05334362 A JPH05334362 A JP H05334362A
- Authority
- JP
- Japan
- Prior art keywords
- message
- index
- record
- message number
- file
- 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.)
- Withdrawn
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
(57)【要約】
【目的】インデックス部17とデータ部18とからなるメッ
セージファイル16のメッセージを管理する処理装置に関
し, ファイルに対するアクセス回数を削減して,処理を
高速化することを目的とする。
【構成】メモリ上のインデックスバッファ14に, メッセ
ージファイル16から読み出したインデックス部17のレコ
ードを保持しておく。メッセージ検索処理部12は,メッ
セージ番号によるメッセージ文の検索要求に対し,ま
ず, インデックスバッファ14におけるインデックス情報
のメッセージ番号を検索し,該当するメッセージ番号が
ない場合にのみ,メッセージファイル16中のインデック
ス部17に対するアクセスを行う。
(57) [Abstract] [Purpose] A processing device for managing messages in a message file 16 composed of an index part 17 and a data part 18 is intended to reduce the number of times the file is accessed and speed up the process. .. [Structure] The index buffer 14 on the memory holds the record of the index part 17 read from the message file 16. In response to a message text search request by message number, the message search processing unit 12 first searches the message number of the index information in the index buffer 14, and only when there is no corresponding message number, the index unit in the message file 16 is searched. Access to 17.
Description
【0001】[0001]
【産業上の利用分野】本発明は,メッセージ番号による
インデックス部とメッセージ文が格納されたデータ部と
からなるメッセージファイルについて,効率のよい検索
を可能としたメッセージを管理する処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a processing device for managing a message which enables an efficient search for a message file consisting of an index part according to a message number and a data part in which a message sentence is stored.
【0002】計算機システムにおけるソフトウェアの規
模が年々大きくなる傾向にあり,ソフトウェアがユーザ
に対して提示するメッセージの量も多くなってきてい
る。メッセージを出力する場合,必要なメッセージを効
率よく検索して処理を高速化する技術が必要とされてい
る。The scale of software in computer systems tends to increase year by year, and the amount of messages presented by software to users also increases. When outputting a message, there is a need for a technology that efficiently searches for the required message and speeds up the process.
【0003】[0003]
【従来の技術】一般に,オペレーティング・システムや
各種のアプリケーションプログラムでは,システムの状
況やプログラムの実行状況等をユーザに通知するため
に,多くのメッセージを出力する必要がある。そのた
め,メッセージ文はファイルで管理され,必要なメッセ
ージ文の読み込みは,各メッセージを一意に識別するメ
ッセージ番号によって行われる。2. Description of the Related Art Generally, an operating system and various application programs need to output many messages in order to notify the user of the system status and program execution status. Therefore, the message text is managed in a file, and the necessary message text is read by the message number that uniquely identifies each message.
【0004】このようなメッセージを管理するメッセー
ジファイルは,単純な構造で高速にアクセスできる必要
があるため,ファイル中にメッセージ番号によるインデ
ックス部を持ち,そのインデックス部をメッセージ番号
で検索することにより,メッセージ番号に対応するメッ
セージ文の格納場所を得ることができるようになってい
る。Since a message file for managing such a message needs to have a simple structure and can be accessed at high speed, the file has an index portion according to the message number, and the index portion is searched by the message number, The storage location of the message text corresponding to the message number can be obtained.
【0005】この検索処理を高速化する方法として,メ
ッセージファイル中のインデックス部をすべてメモリ上
に展開する方法が考えられるが,メッセージが非常に多
量にある場合,全体のインデックス部のサイズも非常に
大きくなり,これをメモリ上に常駐させるとメモリの使
用効率が悪くなる。As a method for speeding up this search processing, a method of expanding all the index parts in the message file on the memory is conceivable. However, when the number of messages is very large, the size of the entire index part is also very large. It becomes large, and if it is made to reside in memory, the efficiency of memory usage deteriorates.
【0006】したがって,従来技術では,メッセージ番
号によって必要なメッセージ文を得る場合,その都度,
メッセージファイルからインデックス部を読み出し,イ
ンデックス部中のメッセージ番号を検索してメッセージ
文の格納場所を求め,その後にメッセージ文のレコード
を入力するようにしていた。Therefore, in the prior art, whenever a required message text is obtained by the message number,
The index part was read from the message file, the message number in the index part was searched to find the storage location of the message text, and then the record of the message text was input.
【0007】[0007]
【発明が解決しようとする課題】従来技術によると,一
つのメッセージを出力する場合,少なくともインデック
ス部を読むためのファイルアクセスと,メッセージ文を
読むためのファイルアクセスの2回以上の入出力を実行
する必要があった。According to the prior art, when one message is output, at least input / output of file access for reading the index part and file access for reading the message text is executed twice or more. Had to do.
【0008】本発明は上記問題点の解決を図り,あまり
メモリの使用量を増大させることなく,メッセージの出
力する際におけるファイルのアクセス回数を削減し,処
理の高速化を可能とすることを目的としている。An object of the present invention is to solve the above problems, to reduce the number of times a file is accessed when a message is output, and to speed up the processing, without increasing the memory usage so much. I am trying.
【0009】[0009]
【課題を解決するための手段】図1は,本発明の原理説
明図である。図1において,10はCPUおよびメモリ
などからなる処理装置,11はメッセージを要求するプ
ログラムであるメッセージ要求部,12は要求されたメ
ッセージを検索するメッセージ検索処理部,13はイン
デックスレコードの先頭のメッセージ番号をまとめて記
憶する先頭メッセージ番号記憶部,14はインデックス
レコードを読み込むためのインデックスバッファ,15
は磁気ディスク装置などの外部記憶装置,16はメッセ
ージ情報を記憶するメッセージファイル,17はメッセ
ージ番号によるインデックス部,18はメッセージ文を
格納しているデータ部を表す。FIG. 1 is a diagram for explaining the principle of the present invention. In FIG. 1, 10 is a processing device including a CPU and a memory, 11 is a message request unit that is a program for requesting a message, 12 is a message search processing unit that searches for the requested message, and 13 is the first message of the index record. A first message number storage unit for collectively storing numbers, 14 is an index buffer for reading index records, 15
Is an external storage device such as a magnetic disk device, 16 is a message file for storing message information, 17 is an index part according to message numbers, and 18 is a data part storing message texts.
【0010】メッセージファイル16は,インデックス
部17とデータ部18とからなる。データ部18は,各
々メッセージ文が格納されたメッセージレコードR1
0,R11,…からなり,インデックス部17は,各メ
ッセージ文を一意に識別するメッセージ番号M1,M
2,…と,そのメッセージ番号に対応するメッセージ文
の格納されたレコード位置情報の組によって構成される
インデックスレコードR1,R2,…からなる。The message file 16 comprises an index part 17 and a data part 18. The data section 18 includes a message record R1 in which message statements are stored.
0, R11, ..., The index unit 17 includes message numbers M1 and M for uniquely identifying each message text.
, And index records R1, R2, ... Composed of a set of record position information in which a message sentence corresponding to the message number is stored.
【0011】インデックスバッファ14は,インデック
スレコードを読み込むためのバッファである。メッセー
ジ検索処理部12は,メッセージ要求部11からのメッ
セージ番号を指定したメッセージ要求に対し,メッセー
ジ番号をもとにインデックス部17によって該当するメ
ッセージ文の格納されたメッセージレコードの位置を調
べ,メッセージレコードを読み出して,要求元へ通知ま
たは出力先として指定された出力装置(図示省略)に出
力する。The index buffer 14 is a buffer for reading index records. In response to the message request specifying the message number from the message request unit 11, the message search processing unit 12 checks the position of the message record in which the corresponding message text is stored by the index unit 17 based on the message number, and then the message record Is output to an output device (not shown) designated as a notification or output destination to the request source.
【0012】本発明では,メッセージ検索処理部12
は,インデックス部17を検索する際に,まず,メモリ
上のインデックスバッファ14に指定されたメッセージ
番号に関するインデックス情報がないかどうかを調べ
る。インデックス情報があれば,メッセージファイル1
6内のインデックス部17にアクセスすることなく,直
接,インデックスバッファ14中でデータ部18におけ
るメッセージレコードの位置を求め,そのメッセージレ
コードを読み出す。In the present invention, the message search processing unit 12
When searching the index section 17, first, the index buffer 14 on the memory first checks whether or not there is index information relating to the designated message number. If there is index information, message file 1
The position of the message record in the data part 18 is directly obtained in the index buffer 14 without accessing the index part 17 in 6 and the message record is read.
【0013】さらに請求項2記載の発明では,インデッ
クス部17におけるメッセージ番号とメッセージ文の位
置を示す情報との組の情報を,メッセージ番号の昇順ま
たは降順にソーティングして配置しておく。そして,イ
ンデックスレコードの先頭メッセージ番号記憶部13を
メモリ上に設け,この先頭メッセージ番号記憶部13
に,各インデックスレコードにおけるすべての先頭のメ
ッセージ番号をまとめて格納しておく。すなわち,先頭
メッセージ番号記憶部13は,インデックスレコードR
1の先頭のメッセージ番号M1 ,インデックスレコード
R2の先頭のメッセージ番号Mi ,…を順番に持つ。Further, in the second aspect of the present invention, the information of the set of the message number and the information indicating the position of the message sentence in the index section 17 is sorted and arranged in the ascending or descending order of the message number. Then, the head message number storage unit 13 of the index record is provided in the memory, and the head message number storage unit 13 is provided.
All the message numbers at the beginning of each index record are stored together. That is, the top message number storage unit 13 stores the index record R
The first message number M 1 of 1 and the first message number M i of the index record R2 are sequentially held.
【0014】そして,メッセージ検索処理部12は,イ
ンデックスバッファ14におけるインデックスレコード
のメッセージ番号を検索し,該当するメッセージ番号が
あれば,そのインデックス情報によってメッセージ文の
レコードにアクセスする。インデックスバッファ14中
に該当するメッセージ番号がない場合には,インデック
スレコードの先頭メッセージ番号記憶部13を参照する
ことにより,そのメッセージ番号に関するインデックス
情報が格納されたインデックスレコードを特定して,イ
ンデックスバッファ14内に該当するインデックスレコ
ードを読み込む処理を行うように構成される。Then, the message search processing unit 12 searches the message number of the index record in the index buffer 14, and if there is the corresponding message number, accesses the record of the message text by the index information. If the corresponding message number is not found in the index buffer 14, the index message storing the index message related to the message number is identified by referring to the first message number storage unit 13 of the index record, and the index buffer 14 It is configured to perform the process of reading the corresponding index record in.
【0015】[0015]
【作用】インデックス部17をレコード化し,レコード
単位でインデックスバッファ14に読み込む。そして,
メッセージ番号をもとにメモリ上で検索処理を行う。2
回目以降に検索処理を行う場合には,最初にメモリ上に
読み込まれているインデックス情報を検索する。そして
メモリ上のインデックスバッファ14に該当メッセージ
番号がなかった場合に限り,メッセージファイル16上
のインデックスレコードの読み込み処理を行う。Operation: The index section 17 is converted into a record and is read into the index buffer 14 in record units. And
Search processing is performed on the memory based on the message number. Two
When performing the search process after the first time, the index information read in the memory is searched first. Then, only when there is no corresponding message number in the index buffer 14 on the memory, the index record in the message file 16 is read.
【0016】メッセージファイル16のメッセージ検索
では,インデックスレコードのデータを連続して使用す
ることが比較的多いので,メッセージファイル16にお
けるインデックス部17の入出力回数を削減することが
可能になる。In the message search of the message file 16, since the data of the index record is used relatively continuously, it is possible to reduce the number of input / output times of the index section 17 in the message file 16.
【0017】また,インデックス部17のメッセージ番
号を昇順または降順にソーティングしておき,その各イ
ンデックスレコードの先頭メッセージ番号を,事前にメ
モリ上の先頭メッセージ番号記憶部13に用意しておく
ことにより,メッセージ番号から直ちに何番目のインデ
ックスレコード中に該当するメッセージ番号のインデッ
クス情報があるかがわかり,メッセージファイル16中
のインデックス部17へアクセスする必要がある場合に
も,1回のアクセスだけで該当するインデックスレコー
ドを読み出すことができる。Further, by sorting the message numbers of the index section 17 in ascending or descending order and preparing the head message number of each index record in the head message number storage section 13 on the memory in advance, Even if it is necessary to access the index section 17 in the message file 16 from the message number immediately to see in which index record the index information of the corresponding message number is present, the access is performed only once. The index record can be read.
【0018】[0018]
【実施例】図2は本発明の実施例説明図である。メッセ
ージファイル16が,例えば図2に示すように構成され
ていたとする。インデックスレコードR1,R2,…
は,メッセージ番号とそのメッセージ番号のメッセージ
文が格納されたメッセージレコード番号の組の情報を持
つ。FIG. 2 is an explanatory view of an embodiment of the present invention. It is assumed that the message file 16 is configured as shown in FIG. 2, for example. Index records R1, R2, ...
Has information on a set of a message number and a message record number in which the message text of the message number is stored.
【0019】図1に示すメッセージ要求部11から,例
えばメッセージ番号が“#6”のメッセージを要求され
ると,最初にインデックスバッファ14を調べる。メッ
セージ番号#6のインデックス情報がない場合には,イ
ンデックス部17からレコードR1をインデックスバッ
ファ14に読み出す。When the message requesting section 11 shown in FIG. 1 requests a message having a message number "# 6", the index buffer 14 is first checked. If there is no index information for the message number # 6, the record R1 is read from the index section 17 into the index buffer 14.
【0020】インデックスバッファ14を検索すること
により,メッセージ番号が#6のメッセージが,データ
部18の1番目のメッセージレコードにあることがわか
り,データ部18から#6のメッセージ番号を持つメッ
セージ文を読み出す。メッセージファイル16のアクセ
ス回数は,インデックス部17を1回,データ部18を
1回の計2回である。By searching the index buffer 14, it is found that the message with the message number # 6 is in the first message record of the data section 18, and the message statement having the message number of # 6 is retrieved from the data section 18. read out. The number of times the message file 16 is accessed is once for the index part 17 and once for the data part 18 for a total of two times.
【0021】続いて,メッセージ番号が“#4”のメッ
セージを要求されたとする。メモリ上のインデックスバ
ッファ14を検索することにより,メッセージ番号が#
4のメッセージが,データ部18の3番目のメッセージ
レコードにあることが直ちにわかる。したがって,メッ
セージファイル16のインデックス部17をアクセスす
ることなく,データ部18から#4のメッセージ番号を
持つメッセージレコードを直接読み出すことができる。
すなわち,メッセージファイル16のアクセス回数は1
回で済む。Next, it is assumed that the message with the message number "# 4" is requested. By searching the index buffer 14 on the memory, the message number is #
It can be immediately seen that the message No. 4 is in the third message record of the data part 18. Therefore, the message record having the message number # 4 can be directly read from the data section 18 without accessing the index section 17 of the message file 16.
That is, the message file 16 is accessed once
It only needs to be done once.
【0022】なお,インデックスレコード,メッセージ
レコードを固定長レコードとしておくことにより,簡単
な計算によって,レコード番号からレコード位置を求め
ることができる。If the index record and the message record are fixed length records, the record position can be obtained from the record number by a simple calculation.
【0023】図3は,請求項2記載の発明に関する実施
例説明図である。インデックス部17において,インデ
ックス情報はメッセージ番号の昇順に並べられている。
メモリ上にインデックスレコードの先頭メッセージ番号
記憶部13が設けられ,先頭メッセージ番号記憶部13
には,各インデックスレコードR1,R2,,R3…の
先頭にあるメッセージ番号#1,#20,#38,…が
格納されている。FIG. 3 is an explanatory view of an embodiment relating to the invention described in claim 2. In the index section 17, the index information is arranged in ascending order of message numbers.
The head message number storage unit 13 of the index record is provided on the memory, and the head message number storage unit 13 is provided.
... store the message numbers # 1, # 20, # 38, ... At the beginning of each index record R1, R2, R3.
【0024】今,インデックスバッファ14に,インデ
ックスレコードR2が読み出されている状態で,メッセ
ージ要求部11からメッセージ番号が“#42”のメッ
セージを要求されたとする。メッセージ検索処理部12
は,次のように処理する。Now, it is assumed that the message having the message number "# 42" is requested from the message requesting unit 11 in a state where the index record R2 is read out to the index buffer 14. Message search processing unit 12
Is processed as follows.
【0025】インデックスバッファ14において,#4
2のメッセージ番号を検索する。#42のメッセージ番
号がないので,インデックス部17からのインデックス
レコードの読み出しが必要になる。In the index buffer 14, # 4
Search for message number 2. Since there is no # 42 message number, it is necessary to read the index record from the index section 17.
【0026】このとき,先頭メッセージ番号記憶部13
によって,#42のメッセージ番号が存在するインデッ
クスレコードを調べる。インデックスレコードR3の先
頭のメッセージ番号が#38であり,次のインデックス
レコードR4の先頭のメッセージ番号が#64であるこ
とから,#42のメッセージ番号を持つインデックス情
報は,インデックスレコードR3にあることがわかる。
したがって,インデックス部17からインデックスレコ
ードR3を読み出して,インデックスバッファ14に展
開する。これから,#42のメッセージ番号を持つメッ
セージレコードが第13番目のレコードであることがわ
かり,データ部18からそのメッセージ文を読み出すこ
とができる。At this time, the head message number storage unit 13
Check the index record in which the message number of # 42 exists. Since the leading message number of the index record R3 is # 38 and the leading message number of the next index record R4 is # 64, the index information having the message number of # 42 may be present in the index record R3. Recognize.
Therefore, the index record R3 is read from the index section 17 and expanded in the index buffer 14. From this, it can be seen that the message record having the message number of # 42 is the 13th record, and the message text can be read from the data section 18.
【0027】メッセージファイル16のインデックス部
17に何回もアクセスすることなく,多くても1回のア
クセスだけで,必要なインデックス情報を得ることがで
きることになる。It is possible to obtain the necessary index information by accessing the index section 17 of the message file 16 many times at most without accessing the index section 17 many times.
【0028】図4は,本発明の実施例処理フローチャー
トである。図1に示すメッセージ検索処理部12は,以
下の処理を行う。 (a) メッセージ番号Mx のメッセージ要求に対して,イ
ンデックスバッファ14中に要求されたメッセージ番号
Mx があるかどうかを調べる。FIG. 4 is a flowchart of the processing according to the embodiment of the present invention. The message search processing unit 12 shown in FIG. 1 performs the following processing. for the message requests (a) message number M x, investigate whether there is a message number M x requested during index buffer 14.
【0029】(b) 要求されたメッセージ番号Mx があれ
ば,処理(c) へ進み,なければ,処理(e) へ移る。 (c) インデックスバッファ14中のインデックス情報か
ら,メッセージレコードの位置情報を得る。(B) If there is the requested message number M x , the process proceeds to the process (c), and if not, the process proceeds to the process (e). (c) The position information of the message record is obtained from the index information in the index buffer 14.
【0030】(d) メッセージファイル16のデータ部1
8から,メッセージ番号Mx を持つメッセージ文のレコ
ードを読み込み,要求元へ通知する。または,所定の出
力装置にそのメッセージ文を出力する。(D) Data part 1 of message file 16
The record of the message text having the message number M x is read from 8, and the request source is notified. Alternatively, the message text is output to a predetermined output device.
【0031】(e) インデックスバッファ14中に要求さ
れたメッセージ番号Mx がなかった場合,先頭メッセー
ジ番号記憶部13を参照し,必要なインデックスレコー
ドの番号を求める。(E) If the requested message number M x does not exist in the index buffer 14, the head message number storage unit 13 is referred to and the number of the required index record is obtained.
【0032】(f) メッセージファイル16のインデック
ス部17にアクセスし,インデックスバッファ14に該
当インデックスレコードを読み込む。その後,処理(a)
へ戻り,同様に処理を繰り返す。(F) Access the index section 17 of the message file 16 and read the corresponding index record into the index buffer 14. After that, process (a)
Return to and repeat the same process.
【0033】[0033]
【発明の効果】以上説明したように,本発明によれば,
メッセージファイルのインデックス部へのアクセス回数
を削減し,メッセージ出力時における処理を高速化する
ことが可能になる。As described above, according to the present invention,
It is possible to reduce the number of access to the index part of the message file and speed up the process when outputting the message.
【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.
【図2】本発明の実施例説明図である。FIG. 2 is an explanatory diagram of an embodiment of the present invention.
【図3】本発明の実施例説明図である。FIG. 3 is an explanatory view of an embodiment of the present invention.
【図4】本発明の実施例処理フローチャートである。FIG. 4 is a processing flowchart of an embodiment of the present invention.
10 処理装置 11 メッセージ要求部 12 メッセージ検索処理部 13 先頭メッセージ番号記憶部 14 インデックスバッファ 15 外部記憶装置 16 メッセージファイル 17 インデックス部 18 データ部 M1,M2,… メッセージ番号 R1,R2,… メッセージレコード R10,R11,… メッセージレコード 10 processing device 11 message request unit 12 message search processing unit 13 first message number storage unit 14 index buffer 15 external storage device 16 message file 17 index unit 18 data unit M1, M2, ... message number R1, R2, ... message record R10, R11, ... Message record
Claims (2)
タ部(18)と,メッセージ番号とそのメッセージ番号に対
応するメッセージ文の位置を示す情報との組からなるイ
ンデックス情報が格納されたインデックス部(17)とを有
するメッセージファイル(16)を備え,メッセージ番号に
よって前記メッセージファイル(16)中のメッセージ文を
検索する処理装置において,前記メッセージファイル(1
6)中のインデックス部(17)から読み出されたインデック
ス情報をメモリ上で保持する所定の大きさのインデック
スバッファ(14)と,メッセージ番号によるメッセージ文
の検索要求に対し,前記インデックスバッファ(14)にお
けるインデックス情報のメッセージ番号を検索し,イン
デックスバッファ(14)中に該当するメッセージ番号がな
い場合にのみ,前記メッセージファイル(16)におけるイ
ンデックス部(17)に対するアクセスを行うメッセージ検
索処理部(12)とを備えたことを特徴とするメッセージを
管理する処理装置。1. An index section (17) in which a data section (18) consisting of a record group of message statements and index information consisting of a set of a message number and information indicating the position of the message statement corresponding to the message number are stored. ) And a message file (16) having a message number (1), and searching the message text in the message file (16) by the message number,
An index buffer (14) of a predetermined size that holds the index information read from the index section (17) in 6) on the memory, and the index buffer (14) in response to a message text search request by the message number. ), The message number of the index information is searched, and only when there is no corresponding message number in the index buffer (14), the message search processing unit (12) that accesses the index unit (17) in the message file (16) is searched. And a processing device for managing a message.
タ部(18)と,メッセージ番号とそのメッセージ番号に対
応するメッセージ文の位置を示す情報との組の情報を各
レコードごとに複数持つインデックスレコード群からな
るインデックス部(17)とを有するメッセージファイル(1
6)を備え,メッセージ番号によって前記メッセージファ
イル(16)中のメッセージ文を検索する処理装置におい
て,前記メッセージファイル(16)中のインデックス部(1
7)におけるメッセージ番号とメッセージ文の位置を示す
情報との組の情報は,メッセージ番号の昇順または降順
に配置されるように構成され,前記各インデックスレコ
ードにおけるすべての先頭のメッセージ番号をまとめて
メモリ上で保持するインデックスレコードの先頭メッセ
ージ番号記憶部(13)と,前記メッセージファイル(16)中
のインデックス部(17)から読み出されたインデックスレ
コードをメモリ上で保持する所定の大きさのインデック
スバッファ(14)と,メッセージ番号によるメッセージ文
の検索要求に対し,前記インデックスバッファ(14)にお
けるインデックスレコードのメッセージ番号を検索し,
該当するメッセージ番号があれば,そのインデックス情
報によってメッセージ文のレコードにアクセスし,イン
デックスバッファ(14)中に該当するメッセージ番号がな
い場合には,前記インデックスレコードの先頭メッセー
ジ番号記憶部(13)を参照することにより,そのメッセー
ジ番号に関するインデックス情報が格納されたインデッ
クスレコードを特定して,前記インデックスバッファ(1
4)に該当するインデックスレコードを読み込む処理を行
うメッセージ検索処理部(12)とを備えたことを特徴とす
るメッセージを管理する処理装置。2. An index record group having, for each record, a plurality of sets of information including a data section (18) consisting of message statement records and a message number and information indicating the position of the message statement corresponding to the message number. A message file (1 with an index part (17) consisting of
In the processing device which is provided with 6) and retrieves the message text in the message file (16) by the message number, the index unit (1
The information of the combination of the message number and the information indicating the position of the message text in 7) is configured to be arranged in ascending or descending order of the message number, and all the leading message numbers in each index record are collectively stored in the memory. A first message number storage unit (13) of the index record held above, and an index buffer of a predetermined size that holds the index record read from the index unit (17) in the message file (16) on the memory (14) and the message number search request by message number, the message number of the index record in the index buffer (14) is searched,
If there is a corresponding message number, the record of the message sentence is accessed by the index information, and if there is no corresponding message number in the index buffer (14), the head message number storage section (13) of the index record is stored. By referring to the index record storing the index information related to the message number, the index buffer (1
A processing device for managing a message, comprising a message search processing unit (12) for reading an index record corresponding to 4).
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4138496A JPH05334362A (en) | 1992-05-29 | 1992-05-29 | Processor controlling message |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4138496A JPH05334362A (en) | 1992-05-29 | 1992-05-29 | Processor controlling message |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH05334362A true JPH05334362A (en) | 1993-12-17 |
Family
ID=15223480
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4138496A Withdrawn JPH05334362A (en) | 1992-05-29 | 1992-05-29 | Processor controlling message |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH05334362A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009123144A (en) * | 2007-11-19 | 2009-06-04 | Nidec Sankyo Corp | Ic card reader/writer |
| EP2178244A4 (en) * | 2007-08-23 | 2011-02-23 | Huawei Tech Co Ltd | A method and device for merging bill and saving the state of the buffer queue |
-
1992
- 1992-05-29 JP JP4138496A patent/JPH05334362A/en not_active Withdrawn
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2178244A4 (en) * | 2007-08-23 | 2011-02-23 | Huawei Tech Co Ltd | A method and device for merging bill and saving the state of the buffer queue |
| JP2009123144A (en) * | 2007-11-19 | 2009-06-04 | Nidec Sankyo Corp | Ic card reader/writer |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5661104B2 (en) | Method and system for search using search engine indexing and index | |
| JP3554459B2 (en) | Text data registration search method | |
| JP4786945B2 (en) | Indexing forced query | |
| US20050223027A1 (en) | Methods and systems for structuring event data in a database for location and retrieval | |
| US7689574B2 (en) | Index and method for extending and querying index | |
| JP2014099163A (en) | Method, system, and computer program product for hybrid table implementation using buffer pool as permanent in-memory storage for memory-resident data | |
| JPH11120203A (en) | Method for combining data base and device for retrieving document from data base | |
| KR970705795A (en) | PARALLEL PROCESSING SYSTEM FOR TRAVERSING A DATA BASE FOR DATABASE SEARCH | |
| JP2008547106A (en) | Search backoff mechanism | |
| KR19990064246A (en) | A system and method for positioning a page on the World Wide Web and positioning a document from a network computer | |
| US8332595B2 (en) | Techniques for improving parallel scan operations | |
| US20090157621A1 (en) | Search device, search method and search program | |
| KR101744017B1 (en) | Method and apparatus for indexing data for real time search | |
| JPH0652060A (en) | Lru list control system | |
| JP2001067369A (en) | Information retrieval system, information retrieval method and recording medium recording information retrieval probram | |
| JPH0916624A (en) | Hierarchical data search method | |
| JPH05342265A (en) | Controller and presenting method for multi-media | |
| JP3260743B2 (en) | Information search method | |
| JP2912657B2 (en) | File access processor | |
| CN119106030A (en) | A seismic data query method, system, device and medium | |
| CN120653732A (en) | Chinese search optimization method and device | |
| JP4080318B2 (en) | Database management method, apparatus for implementing the same, and processing program therefor | |
| JPS63291145A (en) | Method for managing file | |
| JPH05173742A (en) | Message data managing system | |
| JPH06332799A (en) | Tree information storage system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19990803 |